]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
2015-02-18 Steve Ellcey <sellcey@imgtec.com>
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9ee16d8b
SE
12015-02-18 Steve Ellcey <sellcey@imgtec.com>
2
3 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4 * sysdeps/mips/bits/endian.h: Fix comments.
5
4ffb1771
JM
62015-02-18 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #17996]
9 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
10 (hdestroy_r): Likewise.
11 (hsearch_r): Likewise.
12 (__hcreate_r): Declare and use libc_hidden_proto.
13 (__hdestroy_r): Likewise.
14 (__hsearch_r): Likewise.
15 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16 (hcreate): Call __hcreate_r instead of hcreate_r.
17 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19 as weak alias of __hcreate_r.
20 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21 __hdestroy_r.
22 (hsearch_r): Rename to __hsearch_r and define as weak alias of
23 __hsearch_r.
24 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25 Remove variable.
26 (test-xfail-XPG4/search.h/linknamespace): Likewise.
27 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30
94c5a52a
SP
312015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32
33 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
34 arena_lock into a single arena_get.
35
8a35c3fe
CD
362015-02-17 Carlos O'Donell <carlos@redhat.com>
37
38 * dl-reloc.c: Inlucde libc-internal.h.
39 (_dl_try_allocate_static_tls): Call ALIGN_UP.
40 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
41 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
42 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
43 (grow_heap): Likewise.
44 * malloc/malloc.c: Include libc-internal.h.
45 (do_check_malloc): Call powerof2.
46 (sysmalloc): Use pagesize. Call ALIGN_UP.
47 (systrim): Use pagesize.
48 (mremap_chunk): Use pagesize. Call ALIGN_UP.
49 (__libc_valloc): Use pagesize.
50 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
51
1a2325c0
JM
522015-02-17 Joseph Myers <joseph@codesourcery.com>
53
54 [BZ #17991]
55 * include/sys/resource.h (__getrlimit64): Declare. Use
56 libc_hidden_proto.
57 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
58 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
59 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
60 getrlimit64.
61 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
62 __getrlimit64.
63 [!getrlimit64] (getrlimit64): Define as weak alias of
64 __getrlimit64. Use libc_hidden_weak.
65 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
66 using __getrlimit64 not __new_getrlimit64.
67 (__GI_getrlimit64): Likewise.
68 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
69 Likewise.
70 (__GI_getrlimit64): Likewise.
71 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
72 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
73 (getrlimit): Add __getrlimit64 alias.
74 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
75 Likewise.
76 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
77 Remove variable.
78 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
79 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
80
8ae4bb5a
PP
812015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
82
83 * libio/fileops.c: Add missing sys/mman.h
84 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
85
18a218b7
JM
862015-02-17 Joseph Myers <joseph@codesourcery.com>
87
88 * manual/math.texi (Errors in Math Functions): Clarify goals
89 regarding inexact and underflow exceptions.
90
e72ad0ef
SE
912015-02-17 Steve Ellcey <sellcey@imgtec.com>
92
93 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
94 * sysdeps/mips/memset.S: Ditto.
95
2caa4099
SE
962015-02-17 Steve Ellcey <sellcey@imgtec.com>
97
98 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
99
f20bfc9b
SL
1002015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
101
102 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
103 (__v1longjmp): Remove versioned symbol.
104 (__v1siglongjmp): Remove alias and versioned symbol.
105 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
106 (__v2siglongjmp): Likewise.
107
71c06b69
TR
1082015-02-16 Torvald Riegel <triegel@redhat.com>
109
110 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
111
a9a05adb
MF
1122015-02-16 Mike Frysinger <vapier@gentoo.org>
113
114 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
115
ce8fc784
JM
1162015-02-16 Joseph Myers <joseph@codesourcery.com>
117
118 [BZ #17987]
119 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
120 zero result does not depend on the sign resulting from
121 subtraction.
122 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
123 Likewise.
124 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
125 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
127 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
128 * math/libm-test.inc (remquo_test_data): Add more tests.
129
0d7036bd
PE
1302015-02-16 Paul Eggert <eggert@cs.ucla.edu>
131
132 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
133 Problem reported by J William Piggott.
134
86c56b16
JM
1352015-02-16 Joseph Myers <joseph@codesourcery.com>
136
a820f9b3
JM
137 [BZ #17978]
138 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
139 products 4 * y and 2 * y where those would overflow.
140 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
141 Likewise.
142 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
143 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
144 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
145 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
146 * math/libm-test.inc (remquo_test_data): Add more tests.
147
be802953
JM
148 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
149
e5e72fe9
JM
150 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
151 [defined _COMPILING_NEWLIB].
152 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
153 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
154
86c56b16
JM
155 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
156 [!defined __mips_isa_rev || __mips_isa_rev < 6].
157
35264d14
TR
1582015-02-16 Torvald Riegel <triegel@redhat.com>
159
160 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
161 acquired.
162
6f49e32a
MF
1632015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
164
165 [BZ #17792]
166 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
167 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
168 HOST_STACK_END_ADDR): Likewise.
169
e525154e
SE
1702015-02-13 Steve Ellcey <sellcey@imgtec.com>
171
172 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
173 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
174 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
175
4ab770b7
RM
1762015-02-13 Roland McGrath <roland@hack.frob.com>
177
178 * sysdeps/generic/c++-types.data: New file.
179 * sysdeps/generic/ld.abilist: New file.
180 * sysdeps/generic/libBrokenLocale.abilist: New file.
181 * sysdeps/generic/libanl.abilist: New file.
182 * sysdeps/generic/libc.abilist: New file.
183 * sysdeps/generic/libcrypt.abilist: New file.
184 * sysdeps/generic/libdl.abilist: New file.
185 * sysdeps/generic/libm.abilist: New file.
186 * sysdeps/generic/libpthread.abilist: New file.
187 * sysdeps/generic/libresolv.abilist: New file.
188 * sysdeps/generic/librt.abilist: New file.
189
d9afe48d
JM
1902015-02-13 Joseph Myers <joseph@codesourcery.com>
191
192 [BZ #17569]
193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
194 Compute absolute value of x as modified by fmod, not original
195 value of x.
196 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
197 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
198 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
199 RUN_TEST_ffI_f1_mod8.
200 (remquo_test_data): Add more tests.
201
3846188b
RM
2022015-02-13 Roland McGrath <roland@hack.frob.com>
203
204 * sysdeps/init_array/pt-crti.S: New file.
205
95c26233
JM
2062015-02-13 Joseph Myers <joseph@codesourcery.com>
207
208 [BZ #17967]
209 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
210 __builtin_fmaf instead of relying on contraction of a * b + c.
211
3f293d61
WP
2122015-02-12 J William Piggott <elseifthen@gmx.com>
213
214 [BZ #17969]
215 * manual/time.texi: correct the zoneinfo path in the TZ Variable
216 node.
217
e8bd5286
JM
2182015-02-12 Joseph Myers <joseph@codesourcery.com>
219
220 [BZ #17964]
221 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
222 __builtin_fma instead of relying on contraction of a * b + c.
223
04f5a636
RM
2242015-02-12 Roland McGrath <roland@hack.frob.com>
225
96a15749
RM
226 * Makeconfig (ASFLAGS): Add -Werror=undef.
227 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
228 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
229 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
230
04f5a636
RM
231 * Makeconfig (after-link): New variable.
232 (+link-pie, +link-pie-tests): Use it.
233 (+link-static, +link-static-tests): Likewise.
234 (+link, +link-tests): Likewise.
235 * Makerules (build-module, build-module-asneeded): Likewise.
236 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
237 Likewise.
238 * elf/Makefile ($(objpfx)ld.so): Likewise.
239
87a629c5
RS
2402015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
241
242 [BZ #17965]
243 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
244 both struct timeval and struct timespec.
245
03d95bd4
JM
2462015-02-12 Joseph Myers <joseph@codesourcery.com>
247
248 [BZ #16560]
249 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
250 and redefine.
251 (__ieee754_exp2l): Do not multiply small fractional parts by
252 M_LN2l.
253 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
254 small argument.
255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
256 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
257 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
258 * math/auto-libm-test-in: Add more tests of exp2.
259 * math/auto-libm-test-out: Regenerated.
260
98408b95
RS
2612015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
262
263 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
264 unaligned path.
265
6f741503
AZ
2662015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267
268 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
269 little endian.
270
2868e070
AS
2712015-02-12 Andreas Schwab <schwab@suse.de>
272
273 [BZ #15790]
274 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
275 Filter out elision flags from value returned in kind.
276 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
277 * nptl/tst-pthread-mutexattr.c: New file.
278
ebf27d12
ST
2792015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
280
281 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
282 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
283 into gnu-gnu, and update comment to refer to abi-tags.
284
d435569c
JM
2852015-02-11 Joseph Myers <joseph@codesourcery.com>
286
287 [BZ #15467]
288 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
289 (__sincos): Set errno to EDOM for infinite argument.
290 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
291 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
292 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
293 (__sincosl): Set errno to EDOM for infinite argument.
294 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
295 (__sincosl): Set errno to EDOM for infinite argument.
296 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
297 (__sincosl): Set errno to EDOM for infinite argument.
298 * math/libm-test.inc (sincos_test_data): Test errno setting.
299
d35273f2
LH
3002015-02-11 Leonhard Holz <leonhard.holz@web.de>
301
302 * string/strxfrm_l.c: Remove #define STRCMP.
303 * string/strcoll_l.c: Remove #define STRLEN.
304 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
305 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
306
306bc0d1
JM
3072015-02-10 Joseph Myers <joseph@codesourcery.com>
308
309 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
310 * sysdeps/mips/mips32/sfp-machine.h: ... here.
311 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
312 * sysdeps/mips/mips64/Makefile: ... here.
313 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
314 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
315 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
316 * sysdeps/mips/mips64/sfp-machine.h: ... here.
317 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
318 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
319 * sysdeps/mips/mips64/n64/Implies: Likewise.
320
92b67e8d
RM
3212015-02-10 Roland McGrath <roland@hack.frob.com>
322
323 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
324 <sys/time.h>, <string.h>, and <errno.h>.
325 (dest_offset, dest_address, value, zero): Remove unused variables.
326 (ldouble): Remove typedef.
327 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
328 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
329 1). Fix code style.
330 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
331 (check): Function removed.
332 (CHECK): New macro.
333 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
334 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
335 Don't call set_sigaction_FP and remove_sigaction_FP here.
336 (ldouble_test): Just use 'long double' as macro argument, no need for
337 the 'ldouble' typedef.
338 (do_test): Set up SIGFPE handler at start, using plain signal rather
339 than sigaction. Fix code style.
340
132a1328
EF
3412015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
342
343 [BZ #17949]
344 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
345 jump label.
346
3001e54c
AZ
3472015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
348
bc0cdc49
AZ
349 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
350 * sysdeps/powerpc/powerpc32/configure: Regenerated.
351
83658961
AZ
352 * sysdeps/powerpc/configure.ac: Remove file.
353 * sysdeps/powerpc/configure: Likewise.
354
10169938
AZ
355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
356 [sysdep_routines]: Remove wordcopy-power6 object.
357 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
358 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
359 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
360 (__memmove_ppc32): Likewise.
361 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
362 file.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
364 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
365 Remove preprocessor.
366
8548a53d
AZ
367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
368 [sysdep_routines]: Remove wide chars objects.
369 [wcsmbs]: New rule for wide char objects.
370
b2692114
AZ
371 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
372 Remove wordcopy-power6 obejct.
373 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
374 Use local call for wordcopy and memcpy symbols.
375 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
376 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
377 implementation for loader.
378 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
379
18e270aa
AZ
380 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
381 Remove wordcopy-power7 object.
382 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
383 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
384 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
385 (_wordcopy_fwd_dest_aligned): Likewise.
386 (_wordcopy_bwd_aligned): Likewise.
387 (_wordcopy_bwd_dest_aligned): Likewise.
388
6f0993a6
AZ
389 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
390 Rewrite to call __memmove_ppc instead of include default
391 implementation.
392
3001e54c
AZ
393 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
394 Remove wide chars objects.
395 [wcsmbs]: New rule for wide char objects.
396
59b61c82
AS
3972015-02-09 Andreas Schwab <schwab@suse.de>
398
399 [BZ #17912]
400 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
401 in terms of __O_DIRECTORY.
402
ebd7aede
ST
4032015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
404
405 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
406 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
407 call PTR_MANGLE.
408 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
409 PTR_DEMANGLE.
ebd7aede 410
3999d26e
PE
4112015-02-07 Paul Eggert <eggert@cs.ucla.edu>
412
413 Add ersatz _Static_assert on older C hosts
414 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
415 pre-C11 C platform that is not known to support _Static_assert.
416
e9a5bc1c
ST
4172015-02-07 Richard Braun <rbraun@sceen.net>
418
419 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
420 sigstate.
e86c5b64 421 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 422
e2049d17
ST
4232015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
424
425 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
426 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
427 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
428 instead of int.
429 * misc/fchflags.c (fchflags): Likewise.
430 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
431 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
432 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
433 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
434 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
435 Declare macros.
436 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
437 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
438 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
439 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
440 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
441 45.
a9a002fb
ST
442 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
443 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
444 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
445 MACH_RCV_TIMED_OUT.
f96ec27a
ST
446 * hurd/hurd/signal.h (_hurd_self_sigstate,
447 _hurd_critical_section_lock, _hurd_critical_section_unlock):
448 Explicit casts from void *.
4fc81a77 449 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 450 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 451
f05826f0
ST
452 [BZ #4719]
453 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
454 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
455 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
456 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
457 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
458 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
459
a5eb23de
ST
460 [BZ #17944]
461 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
462 duplicates ADDR->sun_path with sockaddr LEN limitation.
463 * sysdeps/mach/hurd/connect.c: Include <string.h>
464 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
465 * sysdeps/mach/hurd/sendmsg.c: Likewise.
466 * sysdeps/mach/hurd/sendto.c: Likewise.
467 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
468 implementing it by hand.
469
ac9e0e5e
RM
4702015-02-06 Roland McGrath <roland@hack.frob.com>
471
f8d1bb4c
RM
472 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
473 Use sfi_breg on ldr.
474 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
475 Likewise.
476
022f4812
RM
477 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
478 it's defined.
479 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
480 Test SIGSETXID only if it's defined.
481
1ac074e6
RM
482 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
483
f50ad78b
RM
484 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
485 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
486
9e7265f4
RM
487 * nptl/tst-align2.c: Moved ...
488 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
489 * nptl/Makefile (tests): Remove tst-align2.
490 * sysdeps/unix/sysv/linux/Makefile
491 [$(subdir) = nptl] (tests): Add tst-align-clone.
492 * nptl/tst-getpid1.c: Moved ...
493 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
494 * nptl/tst-getpid2.c: Moved ...
495 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
496 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
497 * sysdeps/unix/sysv/linux/Makefile
498 [$(subdir) = nptl] (tests): ... here.
499 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
500 * sysdeps/unix/sysv/linux/Makefile
501 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
502
62ad2abc
RM
503 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
504 Drop trailing \n from perror argument. Use return rather than exit.
505
cfa69b0b
RM
506 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
507 on [SA_SIGINFO].
508 * nptl/tst-cancel21.c (do_test): Likewise.
509 * debug/tst-backtrace6.c: Include <signal.h> first thing.
510 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
511 [!SA_SIGINFO]: Make it a stub test.
512
82727806
RM
513 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
514 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
515
da3a1594
RM
516 * posix/tst-getlogin.c: Move to ...
517 * login/tst-getlogin.c: ... here.
518 * posix/Makefile (tests): Move tst-getlogin to ...
519 * login/Makefile (tests): ... here.
520
b65c0ff9
RM
521 * libio/tst-atime.c (do_test): Move local variables SV and E
522 inside [ST_NOATIME] conditional.
523
56606ab3
RM
524 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
525
ebf7d6ee
RM
526 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
527
ca0e0675
RM
528 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
529 (wait_code): New function replaces macro.
530 Call nanosleep rather than syscall.
531
8c28bbc6
RM
532 * nptl/pt-system.c: Rewritten. Put everything under
533 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
534 Use IFUNC to redirect when possible.
535
ec2a88b3
RM
536 * nptl/pt-longjmp.c: Rewritten. Put everything under
537 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
538 Use IFUNC to redirect when possible.
539
beff1d13
RM
540 * nptl/pt-fork.c: Rewritten. Put everything under
541 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
542 Use IFUNC to redirect when possible.
543 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
544
ea02c6b8
RM
545 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
546 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
547 unconditionally nowadays. This included the only reference to
548 __vdso_clock_gettime that appears outside libc proper.
549 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
550 Remove version set (containing only __vdso_clock_gettime).
551 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
552 Add attribute_hidden.
553 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
554 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
555 libc_hidden_data_def.
556 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
557 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
558
a1309c2b
RM
559 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
560 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
561 setrpcent, and getrpcport to ...
562 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
563 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
564 getrpcbynumber_r, and getrpcent_r to ...
565 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
566 * inet/getrpcbyname.c: Moved ...
567 * sunrpc/getrpcbyname.c: ... here.
568 * inet/getrpcbyname_r.c: Moved ...
569 * sunrpc/getrpcbyname_r.c: ... here.
570 * inet/getrpcbynumber.c: Moved ...
571 * sunrpc/getrpcbynumber.c: ... here.
572 * inet/getrpcbynumber_r.c: Moved ...
573 * sunrpc/getrpcbynumber_r.c: ... here.
574 * inet/getrpcent.c: Moved ...
575 * sunrpc/getrpcent.c: ... here.
576 * inet/getrpcent_r.c: Moved ...
577 * sunrpc/getrpcent_r.c: ... here.
578 * inet/Makefile (routines): Move those to ...
579 * sunrpc/Makefile (routines): ... here.
580 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
581 the $(subdirs) list.
582 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
583 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
584 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
585 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
586
ac9e0e5e
RM
587 * elf/Makefile (routines): Include $(all-dl-routines), not just
588 $(dl-routines).
589 (rtld-routines): Likewise. Use = rather than :=.
590 * sysdeps/aarch64/Makefile [$(subdir) = elf]
591 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
592 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
593 * sysdeps/arm/Makefile: Likewise.
594 * sysdeps/i386/Makefile: Likewise.
595 * sysdeps/x86_64/Makefile: Likewise.
596 * sysdeps/hppa/Makefile [$(subdir) = elf]
597 (sysdep_routines, sysdep-rtld-routines): Don't add
598 $(sysdep-dl-routines) to these.
599 * sysdeps/ia64/Makefile: Likewise.
600 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
601 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
602 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
603 Don't add dl-static to these; sysdep-dl-routines alone is enough.
604 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
605 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
607 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
608 * sysdeps/powerpc/Makefile [$(subdir) = elf]
609 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
610 these; sysdep-dl-routines alone is enough.
611
639e42eb
JM
6122015-02-06 Joseph Myers <joseph@codesourcery.com>
613
1c7a4a51
JM
614 [BZ #17932]
615 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
616 where multiplication results in zero and third argument is finite
617 and nonzero.
618 * math/auto-libm-test-in: Add more tests of fma.
619 * math/auto-libm-test-out: Regenerated.
620
61f006c1
JM
621 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
622 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
623 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
624 (_FP_CMP_EQ): Likewise.
625 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
626
639e42eb
JM
627 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
628 extra argument CHECK_NAN. Redefine as wrapper around
629 _FP_EXTEND_CNAN.
630
3c0c543b
CD
6312015-02-06 Carlos O'Donell <carlos@systemhalted.org>
632
4e42b5b8
CD
633 * version.h (RELEASE): Set to "stable".
634 (VERSION): Set to "2.21"
635 * include/features.h (__GLIBC_MINOR__): Set to 21.
636
3c0c543b
CD
637 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
638
5bd80bfe 6392015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 640 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
641
642 [BZ #16618]
643 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
645 size in bytes. Store needed elements in wpmax. Use needed size
646 in bytes for extend_alloca.
647
3f823f48
CD
6482015-02-05 Carlos O'Donell <carlos@systemhalted.org>
649
04cb913d
CD
650 * manual/install.texi: Latest tested versions are GCC 4.9.2,
651 binutls 2.25, and texinfo 5.2.
652 * INSTALL: Regenerate.
653 * sysdeps/nios2/configure: Regenerate.
654 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
655 * manual/contrib.texi: Update.
656 * po/be.po: Update.
657 * po/bg.po: Update.
658 * po/ca.po: Update.
659 * po/cs.po: Update.
660 * po/da.po: Update.
661 * po/de.po: Update.
662 * po/el.po: Update.
663 * po/eo.po: Update.
664 * po/es.po: Update.
665 * po/fi.po: Update.
666 * po/fr.po: Update.
667 * po/gl.po: Update.
668 * po/hr.po: Update.
669 * po/hu.po: Update.
670 * po/ia.po: Update.
671 * po/id.po: Update.
672 * po/it.po: Update.
673 * po/ja.po: Update.
674 * po/ko.po: Update.
675 * po/lt.po: Update.
676 * po/nb.po: Update.
677 * po/nl.po: Update.
678 * po/pl.po: Update.
679 * po/pt_BR.po: Update.
680 * po/ru.po: Update.
681 * po/rw.po: Update.
682 * po/sk.po: Update.
683 * po/sl.po: Update.
684 * po/sv.po: Update.
685 * po/tr.po: Update.
686 * po/uk.po: Update.
687 * po/vi.po: Update.
688 * po/zh_CN.po: Update.
689 * po/zh_TW.po: Update.
690
3f823f48
CD
691 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
692 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
693 * sysdeps/hppa/dl-irel.h: Remove #warning.
694 * sysdeps/hppa/entry.h: Provide prototype for
695 __canonicalize_funcptr_for_compare and cast argument.
696 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
697 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
698 * sysdeps/hppa/sotruss-lib.c: New file.
699 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
700 (atomic_compare_and_exchange_val_acq): Use __typeof__.
701 (atomic_compare_and_exchange_bool_acq): Likewise.
702 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
703 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
704
705 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
706 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
707 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
708
34c56048
CLT
7092015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
710
711 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
712 called function in non-PIC case.
713
d4abeca5
DM
7142015-01-31 David S. Miller <davem@davemloft.net>
715
edac0a60
DM
716 * sysdeps/sparc/sparc32/bits/atomic.h
717 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
718 unlock not after it.
719 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
720 volatile register usage warnings from the compiler.
721
d4abeca5
DM
722 * sysdeps/sparc/nptl/sem_init.c: Delete.
723 * sysdeps/sparc/nptl/sem_post.c: Delete.
724 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
725 * sysdeps/sparc/nptl/sem_wait.c: Delete.
726 * sysdeps/sparc/sparc32/sem_init.c: New file.
727 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
728 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
729 padding explicitly initialized.
730 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
731 padding for in-semaphore spinlock.
732 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
733 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
734 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
735 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
736 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
737 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
738 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
739 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
740 version.
741 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
742 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
743
5f3d0b78
L
7442015-01-30 H.J. Lu <hongjiu.lu@intel.com>
745
746 [BZ #17801]
747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
748 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
749 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
750 New.
751 (index_AVX_Fast_Unaligned_Load): Likewise.
752 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
753 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
754 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
755 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
756 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
757 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
758 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
759 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
760 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
761
b658fdd8
AS
7622015-01-29 Andreas Schwab <schwab@suse.de>
763
764 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
765
3cb26316
SP
7662015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
767
768 [BZ #17892]
769 * nscd/nscd_stat.c (send_stats): Initialize DATA.
770
527de9e4
MS
7712015-01-28 Martin Sebor <msebor@redhat.com>
772
773 * math/README.libm-test: Clarify. Add "How to read the test output."
774
06991eb8
CM
7752015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
776
777 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
778 Define to 0.
779
df341342
JM
7802015-01-28 Joseph Myers <joseph@codesourcery.com>
781
782 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
783 (__HAVE_64B_ATOMICS): Define to 0.
784
08cee2a4
AZ
7852015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
786
d4d0ecb2
AZ
787 [BZ #17885]
788 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
789 value to set as new flag.
790
08cee2a4
AZ
791 [BZ #16576]
792 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
793 and use _ARCH_PPCSQ instead.
794 (__ieee754_sqrt): Likewise.
795 (__ieee754_sqrtf): Likewise.
796 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
797 _ARCH_PPCSQ is defined.
798 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
799 fsqrt instruction.
800 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
801 _ARCH_PPCSQ is defined.
802 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
803 fsqrts instruction.
804 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
805
5fe8e359
AK
8062015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
807
808 * iconv/loop.c: Suppress array out of bound warning caused by GCC
809 bug (GCC BZ #64739).
810
24bb7432
AS
8112015-01-25 Andreas Schwab <schwab@linux-m68k.org>
812
fa20da31
AS
813 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
814 Mark _retval as used.
815 (lll_futex_wake_unlock): Likewise.
816 (lll_futex_timed_wait_requeue_pi): Likewise.
817
45819cbc
AS
818 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
819 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
820 register variables.
821
403cc231
AS
822 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
823 libm_hidden_def.
824
24bb7432
AS
825 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
826 (__bswap_64): Mark as __always_inline.
827
9317ea65
B
8282015-01-25 Bram <bug_rh@spam.wizbit.be>
829
830 [BZ #15378]
831 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
832 when none of the search directories exist.
833
0e87343e
AZ
8342015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
835
bea58013
AZ
836 [BZ #17869]
837 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
838 power8 in .machine directive.
839
0e87343e
AZ
840 [BZ #17868]
841 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
842 set dependency from opd value.
843
ede0236c
L
8442015-01-23 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
847 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
848 architecture.
ede0236c 849
22971c35
L
8502015-01-23 H.J. Lu <hongjiu.lu@intel.com>
851
852 [BZ #17870]
853 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
854 with uint64_t.
855 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
856 (uint64_t) 1.
e0da28a1 857 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
858 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
859 Replace 1UL with (uint64_t) 1.
860 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
861 int with uint64_t.
862
da5bf245
RM
8632015-01-23 Roland McGrath <roland@hack.frob.com>
864
2ec2d703
RM
865 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
866 (if_freenameindex): Likewise.
867
da5bf245
RM
868 * resource/getrlimit64.c: Add missing libc_hidden_def.
869
d7423856
JM
8702015-01-22 Joseph Myers <joseph@codesourcery.com>
871
872 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
873 __label__.
874 (_FP_FMA): Likewise.
875 (_FP_TO_INT_ROUND): Likewise.
876 (_FP_FROM_INT): Likewise.
877
6b2ba95b
AZ
8782015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879
880 [BZ #16418]
881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
882 Make code racy and cancel safe.
883
ccdb048d
CD
8842015-01-21 Carlos O'Donell <carlos@redhat.com>
885
191220b3
CD
886 * sysdeps/arm/unwind-resume.h: Fix copyright year.
887 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
888 attribution.
889
0897c551
CD
890 * pwd/tst-getpw.c: Rewrite.
891
ccdb048d
CD
892 [BZ #17702]
893 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
894 (modules-names): Add moddummy1 and moddummy2.
895 ($(objpfx)tst-rec-dlopen): Define.
896 * dlfcn/moddummy1.c: New file.
897 * dlfcn/moddummy2.c: New file.
898 * dlfcn/tst-rec-dlopen.c: New file.
899 * elf/dl-cache.c (_dl_load_cache_lookup):
900 Return char*. Copy result with alloca/strcpy/strdup.
901 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
902 returns char*. Free cached. If not saving realname
903 free cached.
904 * elf/dl-open.c (dl_open_worker): Do not assert that
905 _r_debug->r_state is RT_CONSISTENT.
906 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
907 returns char*.
908
042e1521
CD
9092015-01-21 Torvald Riegel <triegel@redhat.com>
910 Carlos O'Donell <carlos@redhat.com>
911
912 [BZ #12674]
913 * nptl/sem_waitcommon.c: New file.
914 * nptl/sem_wait.c: Include sem_waitcommon.c.
915 (__sem_wait_cleanup, do_futex_wait): Remove.
916 (__new_sem_wait): Adapt.
917 (__new_sem_trywait): New function.
918 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
919 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
920 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
921 (sem_timedwait): Adapt.
922 * nptl/sem_post.c (__new_sem_post): Adapt.
923 (futex_wake): New function.
924 (__old_sem_post): Add release MO fence.
925 * nptl/sem_open.c (sem_open): Adapt.
926 * nptl/sem_init.c (__new_sem_init): Adapt.
927 (futex_private_if_supported): New function.
928 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
929 (__old_sem_getvalue): Add using previous code.
930 * sysdeps/nptl/internaltypes.h: Adapt.
931 * nptl/tst-sem13.c (do_test): Adapt.
932 * nptl/tst-sem11.c (main): Adapt.
933 * nptl/sem_trywait.c: Remove.
934 * nptl/DESIGN-sem.txt: Remove.
935 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
936 (gen-as-const-headers): Remove structsem.sym.
937 * nptl/structsem.sym: Remove.
938 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
939 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
940 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
941 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
942 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
943 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
944 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
945 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
946 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
947 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
948 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
949 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
950 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
951 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
952 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
953 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
954 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
955 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
956 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
957 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
958 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
959 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
960
fe0e85af
CD
9612015-01-20 Carlos O'Donell <carlos@redhat.com>
962
a8db092e
CD
963 * INSTALL: Regenerated.
964
fe0e85af
CD
965 * po/libc.pot: Regenerated.
966
522e6ee3
CLT
9672015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
968 Sandra Loosemore <sandra@codesourcery.com>
969 Andrew Jenner <andrew@codesourcery.com>
970 Joseph Myers <joseph@codesourcery.com>
971 Nathan Sidwell <nathan@codesourcery.com>
972
973 * NEWS: Mention new Nios II port.
974 * sysdeps/nios2/Implies: New file.
975 * sysdeps/nios2/Makefile: New file.
976 * sysdeps/nios2/Subdirs: New file.
977 * sysdeps/nios2/Versions: New file.
978 * sysdeps/nios2/__longjmp.S: New file.
979 * sysdeps/nios2/abort-instr.h: New file.
980 * sysdeps/nios2/backtrace.c: New file.
981 * sysdeps/nios2/bits/endian.h: New file.
982 * sysdeps/nios2/bits/fenv.h: New file.
983 * sysdeps/nios2/bits/link.h: New file.
984 * sysdeps/nios2/bits/setjmp.h: New file.
985 * sysdeps/nios2/bsd-_setjmp.S: New file.
986 * sysdeps/nios2/bsd-setjmp.S: New file.
987 * sysdeps/nios2/configure: New generated file.
988 * sysdeps/nios2/configure.ac: New file.
989 * sysdeps/nios2/crti.S: New file.
990 * sysdeps/nios2/crtn.S: New file.
991 * sysdeps/nios2/dl-init.c: New file.
992 * sysdeps/nios2/dl-machine.h: New file.
993 * sysdeps/nios2/dl-sysdep.h: New file.
994 * sysdeps/nios2/dl-tls.h: New file.
995 * sysdeps/nios2/dl-trampoline.S: New file.
996 * sysdeps/nios2/gccframe.h: New file.
997 * sysdeps/nios2/gmp-mparam.h: New file.
998 * sysdeps/nios2/jmpbuf-offsets.h: New file.
999 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1000 * sysdeps/nios2/ldsodefs.h: New file.
1001 * sysdeps/nios2/libc-tls.c: New file.
1002 * sysdeps/nios2/libm-test-ulps: New file.
1003 * sysdeps/nios2/machine-gmon.h: New file.
1004 * sysdeps/nios2/math-tests.h: New file.
1005 * sysdeps/nios2/math_private.h: New file.
1006 * sysdeps/nios2/memusage.h: New file.
1007 * sysdeps/nios2/nptl/Makefile: New file.
1008 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1009 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1010 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1011 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1012 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1013 * sysdeps/nios2/nptl/tls.h: New file.
1014 * sysdeps/nios2/preconfigure: New file.
1015 * sysdeps/nios2/s_fma.c: New file.
1016 * sysdeps/nios2/s_fmaf.c: New file.
1017 * sysdeps/nios2/setjmp.S: New file.
1018 * sysdeps/nios2/sfp-machine.h: New file.
1019 * sysdeps/nios2/sotruss-lib.c: New file.
1020 * sysdeps/nios2/stackguard-macros.h: New file.
1021 * sysdeps/nios2/stackinfo.h: New file.
1022 * sysdeps/nios2/start.S: New file.
1023 * sysdeps/nios2/sysdep.h: New file.
1024 * sysdeps/nios2/tls-macros.h: New file.
1025 * sysdeps/nios2/tst-audit.h: New file.
1026 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1027 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1028 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1029 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1030 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1031 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1032 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1033 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1034 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1035 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1036 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1037 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1038 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1039 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1040 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1041 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1042 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1043 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1044 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1045 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1046 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1047 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1048 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1049 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1050 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1051 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1052 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1053 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1054 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1055 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1056 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1057 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1058 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1059 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1060 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1061 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1062 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1063 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1064 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1065 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1066 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1067 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1068 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1069 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1070
026eb207
SL
10712015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1072
1073 [BZ #17844]
1074 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1075 (getutent): Use weak_alias in non SHARED case
1076 and default_symbol_version in SHARED case.
1077 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1078 (getutent_r, pututline): Likewise.
1079 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1080 (getutid): Likewise.
1081 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1082 (getutid_r): Likewise.
1083 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1084 (getutline): Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1086 (getutline_r): Likewise.
1087 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1088 (updwtmp): Likewise.
1089
1d532483
SL
10902015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1091
1092 [BZ #17848]
1093 * sysdeps/s390/s390-32/memcmp.S
1094 (memcmp_g5): Rename to __memcmp_g5.
1095 * sysdeps/s390/s390-32/memcpy.S
1096 (memcpy_g5): Rename to __memcpy_g5.
1097 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1098 (memcpy_mvcle) Rename to __memcpy_mvcle.
1099 * sysdeps/s390/s390-32/memset.S
1100 (memset_g5): Rename to __memset_g5.
1101 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1102 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1103 and use prefixed functions.
1104 * sysdeps/s390/s390-32/multiarch/memcmp.S
1105 (memcmp_z196): Rename to __memcmp_z196.
1106 (memcmp_z10): Rename to __memcmp_z10.
1107 (memcmp): Set alias to __memcmp_g5.
1108 (bcmp): Set alias to __memcmp_g5.
1109 * sysdeps/s390/s390-32/multiarch/memcpy.S
1110 (memcpy_z196): Rename to __memcpy_z196.
1111 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1112 (memcpy_z10): Rename to __memcpy_z10.
1113 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1114 (memcpy): Set alias to __memcpy_g5.
1115 * sysdeps/s390/s390-32/multiarch/memset.S
1116 (memset_z196): Rename to __memset_z196.
1117 Jump to __memset_mvcle instead of memset_mvcle.
1118 (memset_z10): Rename to __memset_z10.
1119 Jump to __memset_mvcle instead of memset_mvcle.
1120 (memset_mvcle) Rename to __memset_mvcle.
1121 (memset): Set alias to __memset_g5.
1122 * sysdeps/s390/s390-64/memcmp.S
1123 (memcmp_z900): Rename to __memcmp_z900.
1124 * sysdeps/s390/s390-64/memcpy.S
1125 (memcpy_z900): Rename to __memcpy_z900.
1126 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1127 (memcpy_mvcle) Rename to __memcpy_mvcle.
1128 * sysdeps/s390/s390-64/memset.S
1129 (memset_z900): Rename to __memset_z900.
1130 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1131 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1132 and use prefixed functions.
1133 * sysdeps/s390/s390-64/multiarch/memcmp.S
1134 (memcmp_z196): Rename to __memcmp_z196.
1135 (memcmp_z10): Rename to __memcmp_z10.
1136 (memcmp): Set alias to __memcmp_z900.
1137 (bcmp): Set alias to __memcmp_z900.
1138 * sysdeps/s390/s390-64/multiarch/memcpy.S
1139 (memcpy_z196): Rename to __memcpy_z196.
1140 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1141 (memcpy_z10): Rename to __memcpy_z10.
1142 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1143 (memcpy): Set alias to __memcpy_z900.
1144 * sysdeps/s390/s390-64/multiarch/memset.S
1145 (memset_z196): Rename to __memset_z196.
1146 Jump to __memset_mvcle instead of memset_mvcle.
1147 (memset_z10): Rename to __memset_z10.
1148 Jump to __memset_mvcle instead of memset_mvcle.
1149 (memset_mvcle) Rename to __memset_mvcle.
1150 (memset): Set alias to __memset_z900.
1151
53fbd169
JM
11522015-01-14 Joseph Myers <joseph@codesourcery.com>
1153
1154 [BZ #17748]
1155 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1156 __fesetenv instead of fesetenv.
1157
d639a363
SP
11582015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1159
1160 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1161 macro.
1162
d3b00f46
AZ
11632015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1164
ce6615c9
AZ
1165 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1166 regression on LE.
1167
d3b00f46
AZ
1168 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1169 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1170 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1171 strncmp-power8 object.
1172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1173 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1174 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1175 * NEWS: Update.
1176
72607db0
RS
11772015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1178 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1181 trailing byte check.
1182
54dc5461
DM
11832015-01-13 David S. Miller <davem@davemloft.net>
1184
1185 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1186
1c6e6f23
RM
11872015-01-13 Roland McGrath <roland@hack.frob.com>
1188
1189 * login/logout.c (logout): Use memset rather than bzero.
1190 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1191 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1192 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1193 (_gethtbyaddr): Likewise.
1194 * locale/programs/simple-hash.c (bcopy): Macro removed.
1195
96d6fd6c
AZ
11962015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1197
8bedcb5f
AZ
1198 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1199 Add strcmp-power8 object.
1200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1201 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1202 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1203 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1204 __strcmp_power8 implementation.
1205 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1206 * NEWS: Update.
1207
f06a4faf
AZ
1208 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1209 Add strncpy-power8 and stpncpy-power8 objects.
1210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1211 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1212 implementations.
1213 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1214 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1215 __stpncpy_power8 implementation.
1216 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1217 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1218 __strncpy_power8 implementation.
1219 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1220 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1221 * NEWS: Update.
1222
9f2f36e5
AZ
1223 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1224 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1225 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1226
96d6fd6c 1227 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1228 strncat-power8 object.
1229 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1230 __strcat_power8 implementation.
1231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1232 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1233 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1234 optimized strcat for power8.
1235
1236 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1237 strcpy-power8 and stpcpy-power8 objects.
1238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1239 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1240 implementations.
1241 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1242 multiarch stpcpy implementation for POWER8.
1243 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1244 multiarch strcpy implementation for POWER8.
1245 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1246 __strcpy_power8 function.
1247 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1248 stpcpy for POWER8.
1249 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1250 strcpy for POWER8.
1251 * NEWS: Update.
1252
0f9e5854
LH
12532015-01-13 Leonhard Holz <leonhard.holz@web.de>
1254
1255 [BZ #16009]
1256 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1257 weights and rules. Use do_xfrm_cached if data fits in cache,
1258 do_xfrm otherwise. Moved former main loop to...
1259 * (do_xfrm_cached): New function.
1260 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1261 find_idx, find_position and stack_push.
1262 * (find_idx): New function.
1263 * (find_position): Likewise.
1264 * localedata/sort-test.sh: Added test run for do_xfrm.
1265 * localedata/xfrm-test.c (main): Added command line option
1266 -nocache to run the test with strings that are too large for
1267 the STRXFRM cache.
1268
c60ec0e0
TR
12692015-01-13 Torvald Riegel <triegel@redhat.com>
1270
1271 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1272 variable to lll_futex_wake call, not the value itself.
1273
34e93d6c
JM
12742015-01-12 Joseph Myers <joseph@codesourcery.com>
1275
5a9e4c09
JM
1276 [BZ #17803]
1277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1278 twom64. Adjust value to 0x1p-64L.
1279 (__scalblnl): Only return standard underflowing result for K <=
1280 -64 not K <= -63; adjust exponent for underflowing result by 64
1281 not 63.
1282 * math/libm-test.inc (scalbn_test_data): Add more tests.
1283 (scalbln_test_data): Likewise.
1284
34e93d6c
JM
1285 [BZ #17834]
1286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1287 0x1p63L.
1288 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1289 not HX.
1290 * math/libm-test.inc (scalbn_test_data): Add more tests.
1291 (scalbln_test_data): Likewise.
1292
ca677d3c
AZ
12932015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1294 Stefani Seibold <stefani@seibold.net>
1295
1296 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1297 (sysdep_routines): Add dl-vdso here, ...
1298 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1299 (sysdep_routines): ... not here.
1300 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1301 fallback when vDSO is not presented.
1302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1303 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1304 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1305 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1306 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1307 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1308 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1310 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1312 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1313 fallback configurable symbol when vDSO is not available.
1314 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1315 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1316 be able to redefine fallback symbol when vDSO is not available.
1317 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1318 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1319
49a9f6ab 13202015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1321
56cf2763
AZ
1322 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1323 (TLS_INIT_TP): Add tm_capable initialization.
1324 (TLS_DEFINE_INIT_TP): Likewise.
1325 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1326 TCB.
1327 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1328 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1329 calculation.
1330 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1331 transactoion is lock elision is built and TCB tm_capable is set.
1332 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1334 (INTERNAL_SYSCALL_NCS): Likewise.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1336 (INTERNAL_SYSCALL_NCS): Likewise.
1337 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1338
4b45943a
AZ
1339 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1340 for powerpc.
1341 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1342 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1343 and remove it for 32 bits case.
1344 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1346 initialization.
1347 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1348 Disable lock elision with rdlocks if elision is not available.
1349
8d2c0a59
AZ
1350 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1351 (sysdep_routines): Add lock elision objects.
1352 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1353 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1354 [pthread_mutex_t] (__elision): Add field.
1355 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1356 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1357 elision definitions for powerpc.
1358 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1359 implementation of lock elision for powerpc.
1360 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1361 implementation of timed lock elision for powerpc.
1362 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1363 implementation of trylock with lock elision for powerpc.
1364 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1365 implementaion of unlock for lock elision for powerpc.
1366 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1367 automatic enable lock elision for mutexes.
1368 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1369 transaction execution definitions for powerpc.
1370 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1371 definitions.
1372 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1373 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1374 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1375 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1376 * NEWS: Update.
1377
bc0ed9f7
RM
13782015-01-09 Roland McGrath <roland@hack.frob.com>
1379
1380 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1381 for #include of <shm-directory.h>.
1382
585d9c18
CLT
13832015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1384
1385 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1386 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1387
aee6626c
MF
13882015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1389
1390 [BZ #17791]
1391 * NEWS: Mention bug fix.
1392 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1393 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1394 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1395
9e560f48
TR
13962015-01-09 Torvald Riegel <triegel@redhat.com>
1397
1398 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1399
e1cfbd0c
TR
14002015-01-09 Torvald Riegel <triegel@redhat.com>
1401
1402 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1403
cf71e44f
DH
14042015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1405
1406 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1407 pointer and cast to uintptr_t.
1408
b360ee62
DH
14092015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1410
1411 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1412 removed.
1413 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1414
caff764e
DH
14152015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1416
1417 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1418 of 0.
1419
59ff172f
RM
14202015-01-08 Roland McGrath <roland@hack.frob.com>
1421
c97d27f1
RM
1422 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1423 <nptl/pthreadP.h> instead.
1424 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1425
08734ccd
RM
1426 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1427 already defined.
1428 [__SIGRTMIN] (init): Function removed.
1429 [__SIGRTMIN] (initialized): Variable removed.
1430 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1431 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1432 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1433 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1434 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1435 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1436 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1437 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1438 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1439 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1440 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1441 * sysdeps/nptl/allocrtsig.c: New file.
1442 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1443 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1444 * sysdeps/generic/testrtsig.h: File removed.
1445
7b052e33
RM
1446 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1447 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1448
cc40d25e
RM
1449 * nptl/nptl-init.c (pthread_functions): Conditionalize
1450 .ptr__nptl_setxid initialization on [SIGSETXID].
1451
9287adf0
RM
1452 * sysdeps/nptl/sys/procfs.h: New file.
1453 * nptl_db/Makefile (headers): Add it.
1454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1455
59ff172f
RM
1456 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1457 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1458 * nptl/pthread_attr_setaffinity.c: Include it.
1459 * nptl/pthread_setattr_default_np.c: Likewise.
1460 * nptl/check-cpuset.h: New file.
1461
b9205857
RH
14622015-01-08 Richard Henderson <rth@redhat.com>
1463
1464 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1465 (CFLAGS-tst-execstack-prog.c): Likewise.
1466 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1467
1a0a8d15
CLT
14682015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1469 Sandra Loosemore <sandra@codesourcery.com>
1470 Andrew Jenner <andrew@codesourcery.com>
1471 Joseph Myers <joseph@codesourcery.com>
1472 Nathan Sidwell <nathan@codesourcery.com>
1473
1474 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1475 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1476 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1477 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1478 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1479 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1480 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1481 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1482 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1483 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1484 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1485 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1486 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1487 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1488 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1489 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1490 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1491
dd6e8af6
AZ
14922015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493
1494 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1495 timespec struct member in syscall macro.
1496 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1497 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1498 first timeval struct member in syscall macro.
1499 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1500
8116321f
JM
15012015-01-07 Joseph Myers <joseph@codesourcery.com>
1502
1503 [BZ #17748]
1504 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1505 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1506 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1507 __feupdateenv and define as weak alias of __feupdateenv. Use
1508 libm_hidden_weak.
1509 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1510 libm_hidden_def.
1511 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1512 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1513 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1514 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1515 libm_hidden_def.
1516 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1517 __feupdateenv and define as weak alias of __feupdateenv. Use
1518 libm_hidden_weak.
1519 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1520 libm_hidden_def.
1521 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1522 __feupdateenv and define as weak alias of __feupdateenv. Use
1523 libm_hidden_weak.
1524 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1525 libm_hidden_def.
1526 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1527 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1528 (__feupdateenv): Likewise.
1529 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1530 __feupdateenv and define as weak alias of __feupdateenv. Use
1531 libm_hidden_weak.
1532 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1533 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1534 libm_hidden_def.
1535 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1536 function.
1537 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1538 libm_hidden_def.
1539 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1540 __feupdateenv instead of feupdateenv.
1541 (default_libc_feupdateenv_test): Likewise.
1542 (libc_feresetround_ctx): Likewise.
1543
882dfe18
AZ
15442015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1545
1546 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1547 prototype.
1548
39a12f8d
CM
15492015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1550
1551 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1552 COLL_SYM in a couple of places to avoid uninitialized variable
1553 wanings on tilegx gcc 4.8.2.
1554
dc400d7b
RE
15552015-01-07 Richard Earnshaw <rearnsha@arm.com>
1556
1557 * sysdeps/aarch64/strcpy.S: New file.
1558 * sysdeps/aarch64/stpcpy.S: New file.
1559 * NEWS: Updated.
1560
ec582ca0
RE
15612015-01-07 Richard Earnshaw <rearnsha@arm.com>
1562
1563 * sysdeps/aarch64/strrchr.S: New file.
1564 * NEWS: Updated.
1565
d5b1c5ed
EB
15662015-01-07 Eric Biggers <ebiggers3@gmail.com>
1567
1568 [BZ #17658]
1569 * stdlib/setenv.c: Fix memory leak when setting large,
1570 duplicate string.
1571
fb87ee96
VN
15722015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1573
60f046a8 1574 [BZ #17273]
fb87ee96
VN
1575 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1576 and tabs from buffer before parsing fstab entry.
1577 * misc/tst-mntent.c (main): Add test for mount entry with
1578 trailing spaces and tabs.
1579
cd42798a
JM
15802015-01-06 Joseph Myers <joseph@codesourcery.com>
1581
01238691
JM
1582 [BZ #17748]
1583 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1584 * math/fesetround.c (fesetround): Rename to __fesetround and
1585 define as weak alias of __fesetround. Use libm_hidden_weak.
1586 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1587 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1588 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1589 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1590 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1591 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1592 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1593 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1594 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1595 __fesetround_inline.
1596 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1597 __fesetround_inline instead of __fesetround.
1598 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1599 __fesetround and define as weak alias of __fesetround. Use
1600 libm_hidden_weak. Call __fesetround_inline instead of
1601 __fesetround.
1602 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1603 __fesetround and define as weak alias of __fesetround. Use
1604 libm_hidden_weak.
1605 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1606 Likewise.
1607 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1608 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1609 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1610 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1611 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1612 __fesetround and define as weak alias of __fesetround. Use
1613 libm_hidden_weak.
1614 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1615 __fesetround instead of fesetround.
1616 (default_libc_feholdexcept_setround): Likewise.
1617 (libc_feholdsetround_ctx): Likewise.
1618 (libc_feholdsetround_noex_ctx): Likewise.
1619
cd42798a
JM
1620 [BZ #17748]
1621 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1622 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1623 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1624 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1625 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1626 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1627 define as weak alias of __fesetenv. Use libm_hidden_weak.
1628 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1629 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1630 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1631 define as weak alias of __fesetenv. Use libm_hidden_weak.
1632 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1633 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1634 define as weak alias of __fesetenv. Use libm_hidden_weak.
1635 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1636 libm_hidden_def.
1637 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1638 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1639 Likewise.
1640 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1641 define as weak alias of __fesetenv. Use libm_hidden_weak.
1642 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1643 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1644 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1645 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1646 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1647 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1648 __fesetenv instead of fesetenv.
1649 (libc_feresetround_noex_ctx): Likewise.
1650 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1651 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1652 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1653 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1654 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1655 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1656 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1657 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1658 (__feupdateenv): Likewise.
1659 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1660 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1661 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1662 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1663
38949026
AJ
16642015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1665
1cf98e27 1666 [BZ #17806]
38949026
AJ
1667 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1668 addresses have been freed.
1669
5fe55e9c
AJ
16702015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1671
1672 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1673 and nservall.
1674
dc8ab018
OB
16752015-01-06 Ondřej Bílka <neleai@seznam.cz>
1676
1677 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1678 Clean up check_pf allocation pattern. addresses
1679
14bb4e57
AZ
16802015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681
1682 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1683 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1684 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1685 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1686 * nptl/pthread_join.c (pthread_join): Likewise.
1687 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1688 * sysdeps/posix/waitid.c (__waitid): Likewise.
1689 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1690 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1691 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1692 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1693 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1694 Likewise.
1695 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1696 (__libc_pread64): Likewise.
1697 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1698 (__libc_pwrite): Likewise.
1699 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1700 (__libc_pwrite64): Likewsie.
1701 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1702 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1703 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1704 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1705 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1706 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1707 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1711 (__libc_pread64): Likewise.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1713 Likewise.
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1715 (__libc_pwrite64): Likewise.
1716 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1717 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1718 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1719 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1720 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1721 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1722 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1723 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1724 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1725 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1726 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1727 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1728 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1729 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1730 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1731 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1732 Likewise.
1733
10a5e112
AS
17342015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1735
1736 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1737 (CFLAGS-test-double.c): Likewise.
1738 (CFLAGS-test-ldouble.c): Likewise.
1739 (CPPFLAGS-test-ifloat.c): Likewise.
1740 (CPPFLAGS-test-idouble.c): Likewise.
1741 (CPPFLAGS-test-ildoubl.c): Likewise.
1742 (CFLAGS-test-test-fenv.c): Remove variable.
1743 (CFLAGS-test-misc.c): Likewise.
1744
57ada0e7
L
17452015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 [BZ #17797]
1748 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1749 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1750 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1751 CLOCKS_PER_SEC == 1000000.
1752 * time/clocktest.c (main): Replace %ld with %jd and cast to
1753 intmax_t.
1754
46abb64d
RM
17552015-01-05 Roland McGrath <roland@hack.frob.com>
1756
1757 * sysdeps/generic/unwind-resume.h: New file.
1758 * sysdeps/gnu/unwind-resume.c: Include it.
1759 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1760 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1761 argument list.
1762 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1763 global rather than static.
1764 (_Unwind_Resume): Update user.
1765 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1766 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1767 rather than static. Add __attribute__ ((cold)).
1768 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1769 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1770 * sysdeps/arm/arm-unwind-resume.S: New file.
1771 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1772 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1773 * sysdeps/arm/Makefile [$(subdir) = csu]
1774 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1775 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1776 Add rt-arm-unwind-resume.
1777 [$(subdir) = nptl]
1778 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1779 Add pt-arm-unwind-resume.
1780 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1781 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1782
ef9faf13
JM
17832015-01-05 Joseph Myers <joseph@codesourcery.com>
1784
1785 [BZ #17748]
1786 * include/fenv.h (__feholdexcept): Declare. Use
1787 libm_hidden_proto.
1788 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1789 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1790 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1791 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1792 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1793 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1794 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1795 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1796 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1797 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1798 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1799 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1800 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1801 (feholdexcept): Likewise.
1802 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1804 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1805 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1806 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1807 __feholdexcept instead of feholdexcept.
1808 (default_libc_feholdexcept_setround): Likewise.
1809
295a453e
SE
18102015-01-05 Steve Ellcey <sellcey@imgtec.com>
1811
1812 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1813 to avoid using stl/str to align destination.
1814
882c4b9f
SE
18152015-01-05 Steve Ellcey <sellcey@imgtec.com>
1816
1817 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1818
ac4c11f5
JM
18192015-01-05 Joseph Myers <joseph@codesourcery.com>
1820
1821 [BZ #17796]
1822 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1823 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1824 Define as weak alias not strong alias.
1825
03403e30
SE
18262015-01-05 Steve Ellcey <sellcey@imgtec.com>
1827
1828 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1829 bltzal with addiupc.
1830 (RTLD_START): Ditto.
1831
1dca195e
CM
18322015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1833
00b8b9ba
SP
1834 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1835 for __vdso_* functions in declarations.
1836 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1837 definitions.
1838 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1839 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1840
1dca195e
CM
1841 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1842 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1843 function with cast from llround().
1844 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1845 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1846 Define.
1847
a287953a
JM
18482015-01-05 Joseph Myers <joseph@codesourcery.com>
1849
ab70da77
JM
1850 [BZ #17793]
1851 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1852 Define as weak alias not strong alias.
1853
b8986484
JM
1854 [BZ #17635]
1855 * ctype/ctype-c99.c: New file. isblank implementation moved from
1856 ...
1857 * ctype/ctype-extn.c: ... here.
1858 (__isblank_l): Move to ...
1859 * ctype/ctype-c99_l.c: ... here. New file.
1860 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1861 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1862 Remove variable.
1863 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1864 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1865 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1866 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1867 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1868
a287953a
JM
1869 [BZ #17777]
1870 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1871 (posix_fadvise64): Define as weak alias not strong alias.
1872 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1873 (posix_fallocate64): Likewise.
1874 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1875 Remove variable.
1876 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1877 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1878 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1879 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1880 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1881
b1efe3bb
MF
18822015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1883
1884 [BZ #16191]
1885 * NEWS: Mention bug fix.
1886 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1887 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1888 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1889 (HOST_STACK_END_ADDR): Likewise.
1890
9706dc5f
JM
18912015-01-02 Joseph Myers <joseph@codesourcery.com>
1892
b93c2205
JM
1893 [BZ #17748]
1894 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1895 * math/fegetround.c (fegetround): Rename to __fegetround and
1896 define as weak alias of __fegetround. Use libm_hidden_weak.
1897 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1898 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1899 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1900 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1901 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1902 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1903 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1904 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1905 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1906 Undefine after rather than before function definition; use
1907 parentheses around function name in definition.
1908 (__fegetround): Also undefine macro after function definition.
1909 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1910 __fegetround and define as weak alias of __fegetround. Use
1911 libm_hidden_weak. Do not undefine as macro.
1912 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1913 Likewise.
1914 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1915 __fegetround and define as weak alias of __fegetround. Use
1916 libm_hidden_weak.
1917 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1918 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1919 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1920 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1921 __fegetround and define as weak alias of __fegetround. Use
1922 libm_hidden_weak.
1923 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1924 __fegetround instead of fegetround.
1925
253a59cc
JM
1926 [BZ #17782]
1927 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1928 Condition macro definition on [__USE_MISC].
1929
27dae011
JM
1930 [BZ #17781]
1931 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1932 (struct sigaction): Change type of sa_flags field to int.
1933
172019c0
JM
1934 [BZ #17780]
1935 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1936 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1937 __glibc_reserved0.
1938
522ad1d6
JM
1939 * nptl/version.c (banner): Use single year in copyright notice.
1940
9706dc5f
JM
1941 * NEWS: Update copyright dates.
1942 * catgets/gencat.c (print_version): Likewise.
1943 * csu/version.c (banner): Likewise.
1944 * debug/catchsegv.sh: Likewise.
1945 * debug/pcprofiledump.c (print_version): Likewise.
1946 * debug/xtrace.sh (do_version): Likewise.
1947 * elf/ldconfig.c (print_version): Likewise.
1948 * elf/ldd.bash.in: Likewise.
1949 * elf/pldd.c (print_version): Likewise.
1950 * elf/sotruss.sh: Likewise.
1951 * elf/sprof.c (print_version): Likewise.
1952 * iconv/iconv_prog.c (print_version): Likewise.
1953 * iconv/iconvconfig.c (print_version): Likewise.
1954 * locale/programs/locale.c (print_version): Likewise.
1955 * locale/programs/localedef.c (print_version): Likewise.
1956 * login/programs/pt_chown.c (print_version): Likewise.
1957 * malloc/memusage.sh (do_version): Likewise.
1958 * malloc/memusagestat.c (print_version): Likewise.
1959 * malloc/mtrace.pl: Likewise.
1960 * manual/libc.texinfo: Likewise.
1961 * nptl/version.c (banner): Likewise.
1962 * nscd/nscd.c (print_version): Likewise.
1963 * nss/getent.c (print_version): Likewise.
1964 * nss/makedb.c (print_version): Likewise.
1965 * posix/getconf.c (main): Likewise.
1966 * scripts/test-installation.pl: Likewise.
1967 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1968
b8607aac
WN
19692015-01-02 Will Newton <will.newton@linaro.org>
1970
1971 * sysdeps/arm/armv7/configure: Removed.
1972 * sysdeps/arm/armv7/configure.ac: Likewise.
1973
b168057a
JM
19742015-01-02 Joseph Myers <joseph@codesourcery.com>
1975
1976 * All files with FSF copyright notices: Update copyright dates
1977 using scripts/update-copyrights.
1978 * intl/plural.c: Regenerated.
1979 * locale/programs/charmap-kw.h: Likewise.
1980 * locale/programs/locfile-kw.h: Likewise.
1981
b217c15f
SP
19822015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1983
1984 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1985
73a268c7
JM
19862014-12-31 Joseph Myers <joseph@codesourcery.com>
1987
1988 [BZ #17748]
1989 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1990 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1991 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1992 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1993 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1994 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1995 define as weak alias of __fegetenv. Use libm_hidden_weak.
1996 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1997 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1998 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1999 define as weak alias of __fegetenv. Use libm_hidden_weak.
2000 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2001 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2002 define as weak alias of __fegetenv. Use libm_hidden_weak.
2003 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2004 libm_hidden_def.
2005 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2007 Likewise.
2008 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2009 define as weak alias of __fegetenv. Use libm_hidden_weak.
2010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2011 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2012 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2013 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2014 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2015 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2016 __fegetenv instead of fegetenv.
2017 (libc_feholdsetround_noex_ctx): Likewise.
2018
0bd95672
MF
20192014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2020
2021 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2022 (Elf_MIPS_ABIFlags_v0): New structure.
2023 (EF_MIPS_FP64): Define.
2024 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2025 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2026 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2027 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2028 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2029 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2030 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2031 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2032 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2033 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2034 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2035 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2036 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2037 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2038 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2039 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2040 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2041 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2042 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2043 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2044 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2045 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2046 field.
2047 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2048 EF_MIPS_FP64.
2049 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2050 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2051 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2052 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2053 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2054 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2055 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2056 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2057 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2058 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2059 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2060 record the current FP ABI extension.
2061 (mips-mode-switch): Define to show if kernel headers support mode
2062 switching.
2063 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2064 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2065 supported SYSV ABI version to 3.
2066 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2067 feature.
2068
f59ad976
RS
20692014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2070 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071
2072 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2073 path.
2074 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2075
4a3d3999
JM
20762014-12-31 Joseph Myers <joseph@codesourcery.com>
2077
2078 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2079 __fegetround and redefine to call __fegetround. Remove condition
2080 on [!__NO_MATH_INLINES].
2081 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2082 function.
2083 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2084 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2085 Remove macro.
2086 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2087 instead of <fenv_libc.h>.
2088 (__llrintl): Call fegetround instead of __fegetround.
2089 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2090 instead of <fenv_libc.h>.
2091 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2092 (__lrintl): Call fegetround instead of __fegetround.
2093 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2094 instead of <fenv_libc.h>.
2095 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2096 (__rintl): Call fegetround instead of __fegetround.
2097
195f3afc
SP
20982014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2099
2100 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2101 arrays.
2102
7062bd42
L
21032014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2104
2105 [BZ #17775]
2106 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2107 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2108 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2109
07256e18
AS
21102014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2111
2112 * sysdeps/i386/tls-macros.h: Include <features.h>.
2113 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2114 (TLS_IE): Likewise.
2115 (TLS_LD): Likewise.
2116 (TLS_GD): Likewise.
2117 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2118 define for GCC >= 5.0.
2119
1ff950ad
CM
21202014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2121
2122 * math/test-fenv.c (test_single_exception, set_single_exc,
2123 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2124 feexcp_mask_test, feenable_test, fe_single_test): Add
2125 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2126 case where they are not used.
2127 * math/libm-test.inc: Likewise.
2128 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2129 unused in the absence of FP rounding/exception support.
2130 * stdio-common/tst-printf-round.c: Likewise.
2131 * stdlib/tst-strtod-round.c: Likewise.
2132 * stdlib/tst-strtod-underflow.c: Likewise.
2133
0747f818
JM
21342014-12-30 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #17723]
2137 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2138 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2139 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2140 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2141 libm_hidden_weak.
2142 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2143 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2144 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2145 libm_hidden_def.
2146 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2147 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2148 libm_hidden_weak.
2149 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2150 Likewise.
2151 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2152 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2153 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2154 libm_hidden_weak.
2155 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2156 libm_hidden_def.
2157 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2158 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2159 (__feraiseexcept): Likewise.
2160 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2161 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2162 libm_hidden_weak.
2163 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2164 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2165 libm_hidden_def.
2166 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2167 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2168 Use libm_hidden_def.
2169 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2170 libm_hidden_def.
2171 (feraiseexcept): Define as weak not strong alias. Use
2172 libm_hidden_weak.
2173 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2174 New inline function. Factored out of ...
2175 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2176 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2177 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2178 feraiseexcept.
2179 * math/w_acos.c (__acos): Likewise.
2180 * math/w_asin.c (__asin): Likewise.
2181 * math/w_ilogb.c (__ilogb): Likewise.
2182 * math/w_j0.c (y0): Likewise.
2183 * math/w_j1.c (y1): Likewise.
2184 * math/w_jn.c (yn): Likewise.
2185 * math/w_log.c (__log): Likewise.
2186 * math/w_log10.c (__log10): Likewise.
2187 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2188 * sysdeps/aarch64/fpu/math_private.h
2189 (libc_feupdateenv_test_aarch64): Likewise.
2190 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2191 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2192 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2193 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2194 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2195 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2196 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2197 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2198 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2199 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2200
8d2b2763
L
22012014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2202
2203 [BZ #17732]
2204 * io/test-utime.c (main): Replace %ld with %jd and cast to
2205 intmax_t.
41fad830 2206 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2207 * nptl/tst-mutex5.c: Include <stdint.h>.
2208 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2209 * posix/tst-regex.c (run_test): Likewise.
2210 (run_test_backwards): Likewise.
5d619de4
L
2211 * rt/tst-clock.c: Include <stdint.h>.
2212 (clock_test): Replace %ld with %jd and cast to intmax_t.
2213 * rt/tst-cpuclock1.c: Include <stdint.h>.
2214 (do_test): Replace %lu with %ju and cast to uintmax_t.
2215 * rt/tst-cpuclock2.c: Include <stdint.h>.
2216 (do_test): Replace %lu with %ju and cast to uintmax_t.
2217 * rt/tst-mqueue1.c: Include <stdint.h>.
2218 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2219 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2220 intmax_t.
2221 * rt/tst-mqueue4.c (do_test): Likewise.
2222 * rt/tst-timer4.c: Include <stdint.h>.
2223 (check_ts): Replace %ld with %jd and cast to intmax_t.
2224 (do_test): Likewise.
ad86fbc3
L
2225 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2226 and cast to intmax_t.
37f46900 2227 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2228 * time/clocktest.c (main): Likewise.
2229 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2230 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2231
8b4416d8
AS
22322014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2233 H.J. Lu <hongjiu.lu@intel.com>
2234
2235 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2236 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2237 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2240 version if bit_Fast_Unaligned_Load is set.
2241 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2248 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2249 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2250 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2251 to 4.
2252 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2253 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2254 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2255 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2256
e47b8d3b
CM
22572014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2258
6d6d7fde
CM
2259 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2260 instead of #if to avoid a Wundef warning.
2261 * stdlib/tst-limits.c (do_test): Likewise.
2262
cd2c37c9
CM
2263 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2264 parallel other exception macros.
2265 (fegetenv): Convert from macro to extern inline so that it applies
2266 retroactively to inline functions already seen by the compiler.
2267 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2268
e47b8d3b
CM
2269 * posix/Makefile (before-compile): Use $(objpfx) for
2270 posix-conf-vars-def.h.
2271
4a6aca7b
SP
22722014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2273
7910c2ae
SP
2274 * posix/getconf.c (main): Use size_t for type of I.
2275 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2276 NSPEC.
2277
50cbbaa9
SP
2278 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2279 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2280 * posix/posix-envs.def: Likewise.
2281 * sysdeps/posix/sysconf.c: Likewise.
2282 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2283 (specs): Remove array.
2284 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2285 array.
2286
3b566046
SP
2287 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2288 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2289 (__sysconf): Use CONF_IS_* macros.
2290
4a6aca7b
SP
2291 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2292 ($(objpfx)posix-conf-vars-def.h): New target.
2293 * posix/posix-conf-vars.list: New file.
2294 * posix/posix-conf-vars.h: New file.
2295 * posix/confstr.c: Include posix-conf-vars.h.
2296 (confstr): Use CONF_IS_* macros.
2297 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2298 CONF_IS_* macros.
2299 * scripts/gen-posix-conf-vars.awk: New file.
2300
7c1395a7
CM
23012014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2302
0025b4cc
CM
2303 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2304 fegetround): Add no-op macros to avoid linknamespace issues.
2305
d8aaf74b
CM
2306 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2307 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2308
5d24aa60
CM
2309 * sysdeps/unix/sysv/linux/tile/sysdep.h
2310 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2311 assembly-specific section to avoid a redefinition warning.
2312
7c1395a7
CM
2313 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2314 long before casting to pointer to avoid a cast warning.
2315
3c87c616
CM
23162014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2317
2318 * sysdeps/tile/tilegx/Implies: New file.
2319
f559d8cf
RE
23202014-12-23 Richard Earnshaw <rearnsha@arm.com>
2321
2322 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2323
7d81e8d6
FW
23242014-12-23 Florian Weimer <fweimer@redhat.com>
2325
2326 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2327
90aa3d09
JM
23282014-12-22 Joseph Myers <joseph@codesourcery.com>
2329
2330 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2331 not define.
2332 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2333 <kernel-features.h>.
2334 (__utimes) [__NR_utimes]: Make code unconditional.
2335 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2336 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2337 (__ASSUME_UTIMES): Do not undefine.
2338 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2339 (__ASSUME_UTIMES): Likewise.
2340 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2341 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2342 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2343 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2344
4c0c0e2a
SE
23452014-12-22 Steve Ellcey <sellcey@imgtec.com>
2346
2347 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2348
0dacd7a3
CM
23492014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2350
b638f96a
CM
2351 [BZ #17747]
2352 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2353 alias to weak alias for j0l, y0l.
2354 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2355 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2356
0dacd7a3
CM
2357 [BZ #17746]
2358 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2359 conversion.
2360
528479c4
SE
23612014-12-22 Steve Ellcey <sellcey@imgtec.com>
2362
2363 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2364 to zero if not already defined.
2365
f56f9124
JM
23662014-12-22 Joseph Myers <joseph@codesourcery.com>
2367
2368 [BZ #17724]
2369 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2370 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2371 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2372 (char *) casts added.
2373 * sysdeps/ieee754/k_standardf.c: New file.
2374 * sysdeps/ieee754/k_standardl.c: Likewise.
2375 * math/Makefile (libm-support): Remove k_standard.
2376 (libm-calls): Add k_standard.
2377
8622d556
WD
23782014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2379
2380 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2381 Optimize to avoid an unnecessary FPCR read.
2382
f3806bdb
WD
23832014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2384
2385 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2386 Optimize to reduce FPCR/FPSR accesses.
2387
9b47df58
WD
23882014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2389
2390 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2391 Call libc_fetestexcept_aarch64.
2392
97be3cac
WD
23932014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2394
2395 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2396 Call libc_fesetround_aarch64.
2397
935ab817
JM
23982014-12-22 Joseph Myers <joseph@codesourcery.com>
2399
2400 [BZ #17733]
2401 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2402 (__bind): Do not define as weak alias.
2403 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2404 define.
2405 (__getsockname): Do not define as weak alias.
2406
cc8623f1
WN
24072014-12-22 Will Newton <will.newton@linaro.org>
2408
2409 * manual/install.texi: Document that we require bison 2.7
2410 or above.
2411 * INSTALL: Regenerate.
2412 * configure.ac: Use AC_CHECK_PROG_VER instead of
2413 AC_PATH_PROG when checking for bison and check for
2414 version 2.7 or above.
2415 * configure: Regenerate.
2416
a19ca65a
CM
24172014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2418
92901170 2419 [BZ #17745]
e969965a
CM
2420 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2421 * sysdeps/tile/ffsll.c (ffsll): To here.
2422
a19ca65a
CM
2423 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2424
050f7298
L
24252014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2428 if not defined.
2429 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2430 definition.
2431 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2432 hidden ___tls_get_addr.
2433 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2434 hidden __tls_get_addr.
2435 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2436 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2437 Likewise.
2438
6df5547e
AS
24392014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2440
2441 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2442 _dl_init call.
2443
7432d613
L
24442014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2445
2446 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2447 from "call _dl_init@PLT".
2448 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2449
98fe149e
AK
24502014-12-21 Anders Kaseorg <andersk@mit.edu>
2451
2452 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2453 guarantees.
2454
d12455f5
CM
24552014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2456
2457 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2458
95dee05f
CM
24592014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2460
92901170 2461 [BZ #17744]
95dee05f
CM
2462 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2463 strnlen.
2464
2ef4b74a
SE
24652014-12-19 Steve Ellcey <sellcey@imgtec.com>
2466
2467 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2468 of multu on MIPSr6.
2469 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2470 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2471 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2472 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2473 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2474
24752014-12-19 Steve Ellcey <sellcey@imgtec.com>
2476
2477 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2478 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2479 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2480 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2481 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2482 mips32r6/mips64r6.
2483 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2484
3eb38795
OB
24852014-12-19 Ondřej Bílka <neleai@seznam.cz>
2486
2487 * string/strncat.c (STRNCAT): Simplify implementation.
2488
6d4188dd
DM
24892014-12-19 David S. Miller <davem@davemloft.net>
2490
0d4ba8be
DM
2491 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2492 access the quad as both a long double and as a series of 4 words.
2493
6d4188dd
DM
2494 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2495 link_map->l_info array access.
2496
4ef91cdc
CM
24972014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2498
804c54f7
CM
2499 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2500
4ef91cdc
CM
2501 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2502 * math/atest-exp2.c (TIMEOUT): Likewise.
2503 * math/atest-sincos.c (TIMEOUT): Likewise.
2504
afd176d6
L
25052014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2506
2507 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2508 -Wno-error with -fno-builtin-lround.
2509
a4a43a90
TR
25102014-12-19 Torvald Riegel <triegel@redhat.com>
2511
2512 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2513 Contains futex constants and functions moved over from ...
2514 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2515 <lowlevellock-futex.h>.
2516 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2517 (lll_timedwait_tid): Add comments and parentheses around macro
2518 arguments.
2519
76f71081
TR
25202014-12-19 Torvald Riegel <triegel@redhat.com>
2521
2522 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2523 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2524 (__lll_private_flag): Remove.
2525 (lll_futex_wait): Likewise.
2526 (lll_futex_timed_wait): Likewise.
2527 (lll_futex_wake): Likewise.
2528 (lll_futex_requeue): Likewise.
2529 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2530 (__lll_timedwait_tid): Spell out argument names.
2531 (lll_timedwait_tid): Add comments and parentheses around macro
2532 arguments.
2533 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2534 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2535
6b814909
TR
25362014-12-19 Torvald Riegel <triegel@redhat.com>
2537
2538 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2539 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2540 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2541 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2542 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2543 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2544 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2545 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2546 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2547 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2548 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2549 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2551 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2552 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2553 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2554 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2555 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2556 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2557
9cd4d4ab
L
25582014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * sysdeps/x86_64/x32/Makefile: New file.
2561
c9c1a2d0
L
25622014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2563
2564 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2565 1L with (mp_limb_t) 1.
2566
af102d95
RM
25672014-12-17 Roland McGrath <roland@hack.frob.com>
2568
dd690454
RM
2569 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2570 * nptl/libc_pthread_init.c: ... here.
2571 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2572 * nptl/register-atfork.c: ... here.
2573
74eb826c
RM
2574 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2575 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2576 Use assert_perror to check its return value.
2577 (__gai_create_helper_thread): Likewise.
2578
c9ce306b
RM
2579 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2580
af102d95
RM
2581 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2582
8ac5a76a
JM
25832014-12-17 Joseph Myers <joseph@codesourcery.com>
2584
ea41469b
JM
2585 [BZ #17725]
2586 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2587 __profil_counter.
2588 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2589 Likewise.
2590 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2591 Likewise.
2592 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2593 Likewise.
2594 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2595 (profil_counter): Likewise.
2596 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2597 (profil_counter): Likewise.
2598 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2599 Likewise.
2600 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2601 Likewise.
2602 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2603 (profil_counter): Likewise.
2604 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2605 Likewise.
2606 [!__profil_counter] (profil_counter): Define as weak alias of
2607 __profil_counter.
2608 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2609 (profil_counter): Rename to __profil_counter.
2610 [!__profil_counter] (profil_counter): Define as weak alias of
2611 __profil_counter.
2612 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2613 (profil_counter): Rename to __profil_counter.
2614 [!__profil_counter] (profil_counter): Define as weak alias of
2615 __profil_counter.
2616 * sysdeps/posix/profil.c: Update comment referring to
2617 profil_counter.
2618 (__profil): Use __profil_counter instead of profil_counter.
2619 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2620 __profil_counter. Use __profil_counter_ushort and
2621 __profil_counter_uint in definitions.
2622 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2623 instead of profil_counter_uint and profil_counter_ushort.
2624
8ac5a76a
JM
2625 [BZ #17722]
2626 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2627 define as weak alias of __inet_makeaddr.
2628 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2629 as weak alias of __inet_addr.
2630 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2631 as weak alias of __inet_pton. Use libc_hidden_weak.
2632 * include/arpa/inet.h (__inet_pton): Declare. Use
2633 libc_hidden_proto.
2634 (inet_makeaddr): Don't use libc_hidden_proto.
2635 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2636 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2637 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2638 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2639 Remove variable.
2640 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2641 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2642
66ce3cb1
SE
26432014-12-17 Steve Ellcey <sellcey@imgtec.com>
2644
2645 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2646
d22ce01b
SL
26472014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2648
2649 * stdio-common/bug-vfprintf-nargs.c (do_test):
2650 Cast value to intptr_t to avoid format warning
2651 for usage with PRIdPTR printing macro.
2652
eca2772b
SL
26532014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2654
2655 * libio/tst-widetext.c (do_test):
2656 Use format type %td instead of %Zd for ptrdiff_t
2657 in order to avoid format warning.
2658
bdf079da
AS
26592014-12-17 Andreas Schwab <schwab@suse.de>
2660
2661 * nscd/mem.c (gc): Add size_t cast to match printf format.
2662
3eb5d2fc
RM
26632014-12-16 Roland McGrath <roland@hack.frob.com>
2664
2665 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2666 (init): Apply PTR_MANGLE to pointers before storing them.
2667 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2668 before using them.
2669
d003ada2
JM
26702014-12-16 Joseph Myers <joseph@codesourcery.com>
2671
380292ba
JM
2672 [BZ #17719]
2673 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2674 define as weak alias of __memrchr.
2675 (__memrchr): Do not define as strong alias of memrchr.
2676 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2677 Remove variable.
2678 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2679 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2680 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2681
9a44d530
JM
2682 [BZ #17717]
2683 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2684 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2685 (if_indextoname): Rename to __if_indextoname and define as weak
2686 alias of __if_indextoname. Use libc_hidden_weak.
2687 (if_freenameindex): Rename to __if_freenameindex and define as
2688 weak alias of __if_freenameindex.
2689 (if_nameindex): Rename to __if_nameindex and define as weak alias
2690 of __if_nameindex.
2691 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2692 __if_nametoindex and define as weak alias of __if_nametoindex.
2693 Use libc_hidden_weak.
2694 (if_freenameindex): Rename to __if_freenameindex and define as
2695 weak alias of __if_freenameindex.
2696 (if_nameindex): Rename to __if_nameindex and define as weak alias
2697 of __if_nameindex.
2698 (if_indextoname): Rename to __if_indextoname and define as weak
2699 alias of __if_indextoname. Use libc_hidden_weak.
2700 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2701 __if_nametoindex and define as weak alias of __if_nametoindex.
2702 Use libc_hidden_weak.
2703 (if_freenameindex): Rename to __if_freenameindex and define as
2704 weak alias of __if_freenameindex. Use libc_hidden_weak.
2705 (if_nameindex_netlink): Use __if_freenameindex instead of
2706 if_freenameindex.
2707 (if_nameindex): Rename to __if_nameindex and define as weak alias
2708 of __if_nameindex. Use libc_hidden_weak.
2709 (if_indextoname): Rename to __if_indextoname and define as weak
2710 alias of __if_indextoname. Use libc_hidden_weak.
2711 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2712 libc_hidden_proto.
2713 [!_ISOMAC] (__if_freenameindex): Likewise.
2714 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2715 if_nametoindex.
2716 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2717 variable.
2718 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2719 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2720 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2721 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2722 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2723 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2724 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2725
d003ada2
JM
2726 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2727 Remove variable.
2728 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2729 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2730
a0d424ef
SP
27312014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
0cd85520
SP
2733 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2734 subscript above bounds'
2735
a0d424ef
SP
2736 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2737 bounds.
2738
0e426475
AS
27392014-12-16 Arjun Shankar <arjun.is@lostca.se>
2740
8b460906
AS
2741 * libio/tst-fopenloc.c: Use test-skeleton.c.
2742
fa13e15b
AS
2743 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2744 (entry): Rename to ITEM.
2745 (do_test, comp): Adjust.
2746
0e426475
AS
2747 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2748
4f646bce
TR
27492014-12-16 Torvald Riegel <triegel@redhat.com>
2750
2751 * string/tester.c: Include <libc-internal.h>.
2752 (test_memset): Ignore -Wmemset-transposed-args.
2753
a07c4427
TR
27542014-12-16 Torvald Riegel <triegel@redhat.com>
2755
2756 * misc/tst-mntent2.c (do_test): Fix warning.
2757
1469f466
TR
27582014-12-16 Torvald Riegel <triegel@redhat.com>
2759
2760 * elf/tst-unique4lib.cc(a): Mark as used.
2761
11e3417a
FW
27622014-12-16 Florian Weimer <fweimer@redhat.com>
2763
2764 [BZ #17630]
2765 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2766 names.
2767
ae61fc7b
AM
27682014-12-16 Allan McRae <allan@archlinux.org>
2769
2770 * stdio-common/Makefile (tests): Re-add bug26.
2771
363a9899
OB
27722014-12-15 Ondřej Bílka <neleai@seznam.cz>
2773
2774 [BZ #17657]
2775 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2776 static array.
2777
d52c62df
TR
27782014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2779
2780 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2781 (__lll_lock_wait): Likewise.
2782 (__lll_timedlock_wait): Likewise.
2783 (__lll_timedwait_tid): Likewise.
2784 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2785 (__lll_robust_timedlock_wait): Likewise.
2786 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2787 (lll_cond_trylock): Likewise.
2788 (__lll_lock): Likewise.
2789 (__lll_robust_lock): Likewise.
2790 (__lll_cond_lock): Likewise.
2791 (lll_robust_cond_lock): Likewise.
2792 (__lll_timedlock): Likewise.
2793 (__lll_robust_timedlock): Likewise.
2794 (__lll_unlock): Likewise.
2795 (__lll_robust_unlock): Likewise.
2796 (lll_wait_tid): Likewise.
2797 (lll_timedwait_tid): Likewise.
2798
045a6bcd
TR
27992014-12-15 Torvald Riegel <triegel@redhat.com>
2800
2801 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2802
7f786dc1
TR
28032014-12-15 Torvald Riegel <triegel@redhat.com>
2804
2805 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2806
e7e21cba
AZ
28072014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2808
2809 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2810 * stdio-common/tst-sprintf.c: Likewise.
2811
bc89c0fc
TR
28122014-12-15 Torvald Riegel <triegel@redhat.com>
2813
2814 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2815
a5357b7c
JL
28162014-12-15 Jeff Law <law@redhat.com>
2817
2818 [BZ #16617]
2819 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2820 on the heap. (CVE-2012-3406)
2821 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2822 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2823 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2824
3a12c70f
WN
28252014-12-15 Will Newton <will.newton@linaro.org>
2826
2827 * manual/install.texi: Bump required version of texinfo
2828 to 4.7 from 4.5.
2829 * INSTALL: Regenerated.
2830 * configure.ac: Check for makeinfo version 4.7 and above.
2831 * configure: Regenerated.
2832
e4f639e4
RM
28332014-12-12 Roland McGrath <roland@hack.frob.com>
2834
2835 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2836 PREFIX, string constant to insert between directory and name.
2837 * sysdeps/posix/shm_open.c: Update caller.
2838 * sysdeps/posix/shm_unlink.c: Likewise.
2839 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2840 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2841 (SEM_SHM_PREFIX): New macro.
2842 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2843 [$(have-thread-library) = no].
2844 * nptl/Makefile (libpthread-routines): Add shm-directory.
2845 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2846 * sysdeps/nptl/shm-directory.h: New file.
2847 * sysdeps/posix/shm-directory.c
2848 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2849 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2850 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2851 INTERNAL_SYSCALL.
2852 (__where_is_shmfs): Function removed.
2853 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2854 Variables removed.
2855 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2856 Use SHM_GET_NAME.
2857 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2858
2859 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2860 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2861 unconditional for use inside libpthread.
2862 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2863
439c43f6
RM
28642014-12-12 Roland McGrath <roland@hack.frob.com>
2865
c76d1ff5
RM
2866 * nptl/pthread_getaffinity.c: New file.
2867 * nptl/pthread_setaffinity.c: New file.
2868 * nptl/pthread_getname.c: New file.
2869 * nptl/pthread_setname.c: New file.
2870
439c43f6
RM
2871 * nptl/pthread_create.c (START_THREAD_DEFN)
2872 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2873
48e435cd
SL
28742014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2875 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * resolv/res_send.c (send_vc): Disable warning resplen may
2878 be used uninitialized.
2879
9d9c0019
SL
28802014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2881
2882 * nptl/tst-mutex6.c
2883 (ATTR_NULL): New define checks ATTR against NULL.
2884 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2885 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2886
9173840b
JL
28872014-12-11 James Lemke <jwlemke@codesourcery.com>
2888
2889 [BZ #17581]
2890 * malloc/hooks.c
2891 (mem2mem_check): Revert my previous change.
2892 (malloc_check_get_size): Revert my previous change.
2893 (mem2chunk_check): Revert my previous change.
2894
78e21c5d
RM
28952014-12-11 Roland McGrath <roland@hack.frob.com>
2896
2897 * sysdeps/posix/shm-directory.c: New file.
2898 * sysdeps/posix/shm-directory.h: New file.
2899 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2900 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2901 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2902 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2903 Transmute EPERM to EACCES.
2904 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2905 from ...
2906 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2907 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2908
f82c43af
KK
29092014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2910
2911 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2912 pointer and cast to uintptr_t.
2913 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2914 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2915 Add cast to avoid warning.
2916 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2917
fc00cf7b
JM
29182014-12-11 Joseph Myers <joseph@codesourcery.com>
2919
2920 * nptl/semaphore.h: Move to ...
2921 * sysdeps/pthread/semaphore.h: ... here.
2922 * Makefile (installed-headers): Change nptl/semaphore.h to
2923 sysdeps/pthread/semaphore.h.
2924
1c4053db
RM
29252014-12-11 Roland McGrath <roland@hack.frob.com>
2926
73b0c1a1
RM
2927 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2928 generated error format strings.
2929
1c4053db
RM
2930 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2931 -Wformat-extra-args warnings for scanf formats.
2932 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2933 test of zero-length format (duh).
2934 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2935 corner-case scanf format test.
2936 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2937 generated fprintf format string.
2938 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2939 corner-case sprintf format tests.
2940 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2941 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2942 -Wformat-extra-args warnings throughout.
2943 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2944 (CFLAGS-scanf4.c): Likewise.
2945 (CFLAGS-scanf7.c): Likewise.
2946 (CFLAGS-tst-sprintf.c): Likewise.
2947 (CFLAGS-tst-printf.c): Likewise.
2948 (CFLAGS-tst-printfsz.c): Likewise.
2949
47d51f4f
JM
29502014-12-11 Joseph Myers <joseph@codesourcery.com>
2951
a1edbf3c
JM
2952 * include/cpio.h: New file.
2953 * include/fmtmsg.h: Likewise.
2954
47d51f4f
JM
2955 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2956 corresponding format argument to size_t.
2957 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2958 arguments.
2959 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2960 corresponding format argument to size_t.
2961 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2962 arguments.
2963 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2964 corresponding format argument to size_t.
2965 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2966 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2967 (CFLAGS-tst-mbswcs2.c): Likewise.
2968 (CFLAGS-tst-mbswcs3.c): Likewise.
2969 (CFLAGS-tst-mbswcs4.c): Likewise.
2970 (CFLAGS-tst-mbswcs5.c): Likewise.
2971 (CFLAGS-tst-trans.c): Likewise
2972
e9813cfb
RM
29732014-12-11 Roland McGrath <roland@hack.frob.com>
2974
2975 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2976 rather than assuming they won't contain any '%'s.
2977
f627ca82
CM
29782014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2979
2980 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2981 inhibit_loop_to_libcall to avoid recursive calls.
2982 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2983 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2984
7f296942
AZ
29852014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2986
2987 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2988 prototype.
2989
d0276e18
SE
29902014-12-11 Steve Ellcey <sellcey@imgtec.com>
2991
2992 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2993 integer value instead of boolean.
2994
fc56e970
SE
29952014-12-11 Steve Ellcey <sellcey@imgtec.com>
2996
2997 * malloc/malloc.c: Fix powerof2 check.
2998
40e53917
SL
29992014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3000
3001 * locale/programs/locfile.h (maybe_swap_uint32):
3002 Remove inline and add unused attribute.
3003
1ea166df
SL
30042014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3005
9d9c0019 3006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3007 Truncating assembler expression to a .long expression.
3008
acf869f4
AS
30092014-12-11 Andreas Schwab <schwab@suse.de>
3010
3011 * elf/rtld.c (struct map_args): Constify str member.
3012 (do_preload): Constify fname argument.
3013
9d969099
AZ
30142014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3015
3016 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3017 constants definition.
3018
da5bcaa4
AS
30192014-12-11 Andreas Schwab <schwab@suse.de>
3020
b0a3c164
AS
3021 [BZ #16657]
3022 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3023 FORCE_ELISION instead of DO_ELISION.
3024 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3025 Remove.
3026 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3027 Likewise.
3028
da5bcaa4
AS
3029 * iconvdata/gconv-modules: Remove duplicate entry.
3030
6d248857
WN
30312014-12-11 Will Newton <will.newton@linaro.org>
3032
3033 Merge gettext 0.19.3 into intl/.
3034
3035 This involves a number of cosmetic changes to comments
3036 and ANSI function definitions and prototypes throughout
3037 all the files. The gettext copyright header is used but
3038 with the date ranges taken from the glibc copy.
3039
3040 * NEWS: Add gettext merge to 2.21.
3041 * intl/bindtextdom.c: Switch to gettext copyright.
3042 Use ANSI definitions and prototypes.
3043 Use gl_* locking primitives rather than __libc_* ones.
3044 Use __builtin_expect rather than __glibc_likely/unlikely.
3045 * intl/dcgettext.c: Switch to gettext copyright.
3046 Use ANSI definitions and prototypes.
3047 * intl/dcigettext.c: Switch to gettext copyright.
3048 Use ANSI definitions and prototypes.
3049 (INTDIV0_RAISES_SIGFPE): New define.
3050 Use gl_* locking primitives rather than __libc_* ones.
3051 Include eval-plural.h instead of plural-eval.c.
3052 Use __builtin_expect rather than __glibc_likely/unlikely.
3053 * intl/dcngettext.c: Switch to gettext copyright.
3054 Use ANSI definitions and prototypes.
3055 * intl/dgettext.c: Likewise.
3056 * intl/dngettext.c: Likewise.
3057 * intl/plural-eval.c: Renamed to...
3058 * intl/eval-plural.h: ...this.
3059 * intl/explodename.c: Switch to gettext copyright.
3060 Use ANSI definitions and prototypes.
3061 (_nl_explode_name): Use strchr instead of __rawmemchr.
3062 * intl/finddomain.c: Switch to gettext copyright.
3063 Use ANSI definitions and prototypes.
3064 Use gl_* locking primitives rather than __libc_* ones.
3065 (_nl_find_domain): Use malloc rather than alloca for
3066 allocation of temporary locale name.
3067 * intl/gettext.c: Switch to gettext copyright.
3068 Use ANSI definitions and prototypes.
3069 * intl/gettextP.h: Switch to gettext copyright.
3070 Use ANSI definitions and prototypes.
3071 Use gl_* locking primitives rather than __libc_* ones.
3072 * intl/gmo.h: Switch to gettext copyright.
3073 (struct sysdep_string): Move struct segment_pair outside of
3074 struct definition.
3075 * intl/hash-string.c: Use ANSI definitions and prototypes.
3076 * intl/hash-string.h: Switch to gettext copyright.
3077 Use ANSI definitions and prototypes.
3078 * intl/l10nflist.c: Switch to gettext copyright.
3079 Use ANSI definitions and prototypes.
3080 (_nl_normalize_codeset): Avoid integer overflow.
3081 * intl/loadinfo.h: Switch to gettext copyright.
3082 Use ANSI definitions and prototypes.
3083 (LIBINTL_DLL_EXPORTED): New define.
3084 (PATH_SEPARATOR): New define.
3085 * intl/loadmsgcat.c: Switch to gettext copyright.
3086 * intl/localealias.c: Switch to gettext copyright.
3087 Use ANSI definitions and prototypes.
3088 (_nl_expand_alias): Use PATH_SEPARATOR.
3089 * intl/ngettext.c: Switch to gettext copyright.
3090 Use ANSI definitions and prototypes.
3091 * intl/plural-exp.c: Likewise.
3092 * intl/plural-exp.h: Switch to gettext copyright.
3093 Use ANSI definitions and prototypes.
3094 (struct expression): Move definition of enum operator outside
3095 of struct definition.
3096 * intl/plural.c: Regenerate.
3097 * intl/plural.y: Switch to gettext copyright.
3098 Use ANSI definitions and prototypes.
3099 Port to bison 3.0.
3100 * intl/textdomain.c: Switch to gettext copyright.
3101 Use ANSI definitions and prototypes.
3102 Use gl_* locking primitives rather than __libc_* ones.
3103
48c43298
SE
31042014-12-10 Steve Ellcey <sellcey@imgtec.com>
3105
3106 * debug/warning-nop.c: Add used atrribute.
3107
2b89bce9
JM
31082014-12-10 Joseph Myers <joseph@codesourcery.com>
3109
c153ac9f
JM
3110 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3111
2b89bce9
JM
3112 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3113 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3114 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3115
2cfbdb9a
JM
31162014-12-10 Joseph Myers <joseph@codesourcery.com>
3117 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3118
3119 [BZ #17634]
3120 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3121 Undefine after defining function. Define as weak alias of
3122 __wcschr. Use libc_hidden_weak.
3123 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3124 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3125 (libc_hidden_def): Also define __GI___wcschr alias.
3126 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3127 __wcschr and define as weak alias of __wcschr.
3128 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3129 __wcschr.
3130 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3131 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3132 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3133 libc_hidden_weak. Do not use libc_hidden_def.
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3135 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3136 __GI___wcschr alias.
3137 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3138 [IS_IN (libc)] (wcschr): Define as macro expanding to
3139 __redirect_wcschr.
3140 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3141 [IS_IN (libc)] (__wcschr_power6): Likewise.
3142 [IS_IN (libc)] (__wcschr_power7): Likewise.
3143 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3144 instead of wcschr.
3145 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3146 __libc_wcschr.
3147 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3148 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3149 __wcschr and define as weak alias of __wcschr. Use
3150 libc_hidden_builtin_def.
3151 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3152 as weak alias of __wcschr. Use libc_hidden_weak.
3153 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3154 wcschr.
3155 * time/era.c (_nl_init_era_entries): Likewise.
3156 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3157 variable.
3158 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3159 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3160
1b8bf351
JM
31612014-12-10 Joseph Myers <joseph@codesourcery.com>
3162
3163 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3164 format for long int variable.
3165
f5f46d51
AK
31662014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3167
3168 [BZ #10672]
07008f7d 3169 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3170 qsort stable.
3171
217a74a8
AS
31722014-12-10 Andreas Schwab <schwab@suse.de>
3173
3174 [BZ #12847]
3175 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3176 user-controlled locks.
3177
aa76a5c7
RE
31782014-12-10 Richard Earnshaw <rearnsha@arm.com>
3179
3180 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3181 register.
3182
2084e7ca
JM
31832014-12-10 Joseph Myers <joseph@codesourcery.com>
3184
a4ecc9eb
JM
3185 * configure.ac (--disable-werror): New configure option.
3186 (enable_werror): New AC_SUBST.
3187 * configure: Regenerated.
3188 * config.make.in (enable-werror): New variable.
3189 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3190 -Wno-error=undef.
3191 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3192 * manual/install.texi (Configuring and compiling): Document
3193 --disable-werror.
3194 * INSTALL: Regenerated.
3195 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3196 (CFLAGS-tst-chk2.c): Likewise.
3197 (CFLAGS-tst-chk3.c): Likewise.
3198 (CFLAGS-tst-chk4.cc): Likewise.
3199 (CFLAGS-tst-chk5.cc): Likewise.
3200 (CFLAGS-tst-chk6.cc): Likewise.
3201 (CFLAGS-tst-lfschk1.c): Likewise.
3202 (CFLAGS-tst-lfschk2.c): Likewise.
3203 (CFLAGS-tst-lfschk3.c): Likewise.
3204 (CFLAGS-tst-lfschk4.cc): Likewise.
3205 (CFLAGS-tst-lfschk5.cc): Likewise.
3206 (CFLAGS-tst-lfschk6.cc): Likewise.
3207
0f88636c
JM
3208 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3209 (main): Disable -Wdeprecated-declarations around calls to
3210 register_printf_function.
3211
c81e9deb
JM
3212 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3213 (do_test): Disable -Wdiv-by-zero around some calls to
3214 fwrite_unlocked and fread_unlocked.
3215
2084e7ca
JM
3216 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3217 (DIAG_POP_NEEDS_COMMENT): Likewise.
3218 (_DIAG_STR1): Likewise.
3219 (_DIAG_STR): Likewise.
3220 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3221 * stdio-common/bug21.c: Include <libc-internal.h>.
3222 (do_test): Disable -Wformat around call to sscanf.
3223 * stdio-common/scanf14.c: Include <libc-internal.h>.
3224 (main): Disable -Wformat around some calls to scanf functions.
3225
df7ecc6b
TR
32262014-12-09 Torvald Riegel <triegel@redhat.com>
3227
3228 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3229
2aa3862e
AZ
32302014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231
3232 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3233 stack variable alignment.
3234
c5c2b7c3
JM
32352014-12-06 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #17682]
3238 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3239 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3240 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3241 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3242 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3243 __getrlimit instead of getrlimit.
3244 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3245 __gettimeofday instead of gettimeofday.
3246 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3247 Likewise.
3248 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3249 Likewise.
3250 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3251 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3252 Remove variable.
3253 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3254 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3255
9752c3cd
AZ
32562014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3257
3258 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3259 for wide-character tests.
3260
4bee4cd9
RM
32612014-12-04 Roland McGrath <roland@hack.frob.com>
3262
3263 * io/openat64.c: #include <libc-internal.h>
3264 (__openat64): Prototypify. Use ignore_value on MODE.
3265 * io/openat.c: Likewise.
3266 * misc/reboot.c: #include <libc-internal.h>
3267 (reboot): Prototypify. Use ignore_value on HOWTO.
3268 * misc/ptrace.c: #include <libc-internal.h>
3269 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3270
84dbedb6
JM
32712014-12-04 Joseph Myers <joseph@codesourcery.com>
3272
3273 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3274 XPG4, UNIX98 and XOPEN2K.
3275 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3276 Remove variable.
3277 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3278
b7a3e1c4 32792014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3280
af50dfc1 3281 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3282 * libio/iofopen.c: Likewise.
3283 * libio/wfileops.c: Likewise.
3284
fe8b4d98
SP
3285 [BZ #17653]
3286 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3287 offset on EOF.
3288 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3289 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3290 (fgets_func): Function pointer to fgets and fgetws.
3291 (do_ftell_test): Add test to verify ftell value after read
3292 EOF.
3293 (do_test): Set fgets_func.
3294
61b4f792
SP
3295 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3296 O_TRUNC flag for w and w+ modes.
3297 (do_rewind_test): Likewise.
3298 (do_ftell_test): Likewise.
3299 (do_write_test): Likewise.
3300
be349d70
SP
3301 [BZ #17647]
3302 * libio/fileops.c (do_ftell): Seek only when there are
3303 unflushed writes.
3304 * libio/wfileops.c (do_ftell_wide): Likewise.
3305 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3306 test case.
3307 (do_one_test): Call it.
3308
e3d6dba5
JM
33092014-12-03 Joseph Myers <joseph@codesourcery.com>
3310
3311 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3312 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3313 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3314 Remove variable.
3315 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3316 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3317 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3318
7f994279
JM
33192014-12-02 Joseph Myers <joseph@codesourcery.com>
3320
28a91e8f
JM
3321 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3322 Remove variable.
3323 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3324
7f994279
JM
3325 [BZ #17668]
3326 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3327 as weak alias of __getifaddrs. Use libc_hidden_weak.
3328 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3329 __freeifaddrs. Use libc_hidden_weak.
3330 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3331 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3332 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3333 __freeifaddrs. Use libc_hidden_weak.
3334 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3335 __getifaddrs and define as weak alias of __getifaddrs. Use
3336 libc_hidden_weak.
3337 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3338 __freeifaddrs. Use libc_hidden_weak.
3339 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3340 Remove variable.
3341 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3342 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3343
bbe4c142
PJ
33442014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3345
3346 [BZ #17601]
3347 * sysdeps/mips/start.S (__start): Use indirect jump to call
3348 __libc_start_main.
3349
66cadc05
JM
33502014-12-02 Joseph Myers <joseph@codesourcery.com>
3351
909e16d9
JM
3352 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3353
4e0b9016
JM
3354 * nptl/tst-mutex1.c: Include <stdbool.h>.
3355 [!ATTR] (ATTR_NULL): New macro.
3356 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3357 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3358 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3359
b1aff6a4
JM
3360 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3361 to char *.
3362
266865c0
JM
3363 [BZ #17665]
3364 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3365 Change conditional to [__USE_MISC].
3366
84e5e756
JM
3367 [BZ #17664]
3368 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3369 fgets_unlocked.
3370 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3371 __fgets_unlocked.
3372 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3373 fgets_unlocked.
3374 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3375 Remove variable.
3376 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3377 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3378 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3381 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3382 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3384 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3385
66cadc05
JM
3386 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3387
2e8a2de2 33882014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3389
3390 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3391 Remove strpbrk objects.
3392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3393 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3394 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3395 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3396 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3397 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3398
bb2542e0
AZ
3399 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3400 Remove strcspn objects.
3401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3402 (__libc_ifunc_impl_list): Remove strcspn implementation.
3403 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3404 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3405 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3406 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3407
3408 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3409 Remove strspn objetcs.
3410 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3411 (__libc_ifunc_impl_list): Remove strspn implementation.
3412 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3413 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3414 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3415 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3416
08f1e1d2
JL
34172014-12-01 James Lemke <jwlemke@codesourcery.com>
3418
3419 [BZ #17581]
3420 * malloc/hooks.c
3421 (mem2mem_check): Add a terminator to the chain of checking blocks.
3422 (malloc_check_get_size): Use it here.
3423 (mem2chunk_check): Ditto.
3424
a8a7d7d2
RS
34252014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3426
3427 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3428 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3429
97114a38
CD
34302014-11-29 Carlos O'Donell <carlos@redhat.com>
3431
c8dc1727
CD
3432 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3433
6d03458e
CD
3434 * nptl/nptl-init.c: Include libc-internal.h.
3435 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3436
97114a38
CD
3437 * elf/ldconfig.c (search_dir): Expand comment.
3438
0e7e69ba
JM
34392014-11-29 Joseph Myers <joseph@codesourcery.com>
3440
3441 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3442 variable.
3443 (linknamespace-symlist-stdlibs-tests): Likewise.
3444 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3445 instead of $(objpfx)symlist-stdlibs.
3446 (linknamespace-libs-isoc): New variable.
3447 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3448 (linknamespace-libs-ISO): New variable.
3449 (linknamespace-libs-ISO99): Likewise.
3450 (linknamespace-libs-ISO11): Likewise.
3451 (linknamespace-libs-XPG3): Likewise.
3452 (linknamespace-libs-XPG4): Likewise.
3453 (linknamespace-libs-POSIX): Likewise.
3454 (linknamespace-libs-UNIX98): Likewise.
3455 (linknamespace-libs-XOPEN2K): Likewise.
3456 (linknamespace-libs-POSIX2008): Likewise.
3457 (linknamespace-libs-XOPEN2K8): Likewise.
3458 ($(objpfx)symlist-stdlibs): Replace by
3459 $(linknamespace-symlist-stdlibs-tests). Use
3460 $(linknamespace-libs-$*) as set of libraries.
3461 ($(linknamespace-header-tests)): Update dependencies. Use
3462 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3463 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3464 * conform/linknamespace.pl: Remove comment about considering
3465 definitions of symbols from irrelevant libraries.
3466
d8dd0080
L
34672014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3468
3469 [BZ #13862]
3470 * elf/dl-tls.c: Include <atomic.h>.
3471 (oom): Remove #ifdef SHARED/#endif.
3472 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3473 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3474 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3475 big enough.
3476 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3477 * nptl/Makefile (tests): Add tst-stack4.
3478 (modules-names): Add tst-stack4mod.
3479 ($(objpfx)tst-stack4): New.
3480 (tst-stack4mod.sos): Likewise.
3481 ($(objpfx)tst-stack4.out): Likewise.
3482 ($(tst-stack4mod.sos)): Likewise.
3483 (clean): Likewise.
3484 * nptl/tst-stack4.c: New file.
3485 * nptl/tst-stack4mod.c: Likewise.
3486
167da422
B
34872014-11-27 J. Brown <jb999@gmx.de>
3488
3489 * sysdeps/x86/bits/string.h: Add recent CPUs.
3490
9114625b
JM
34912014-11-27 Joseph Myers <joseph@codesourcery.com>
3492
6b5189eb
JM
3493 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3494 sigblock.
3495
49051f8e
JM
3496 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3497 feof.
3498
9114625b
JM
3499 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3500 variable.
3501
e7300fef
SL
35022014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3503
3504 * nscd/connections.c: Include libc-internal.h because of macro
3505 usage ignore_value.
3506
1721f0a4
SP
35072014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3508
3509 * string/bits/string3.h (__warn_memset_zero_len): Don't
3510 declare for gcc newer than 5.0.
3511 (memset): Don't test for zero-length __LEN for gcc newer than
3512 5.0.
3513
be970916
JM
35142014-11-27 Joseph Myers <joseph@codesourcery.com>
3515
d88548f4
JM
3516 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3517 size_t for %zu format.
3518
be970916
JM
3519 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3520 difference, not %ju.
3521
3b20fd5c
JM
35222014-11-26 Joseph Myers <joseph@codesourcery.com>
3523
8915eace
JM
3524 * include/libc-internal.h (ignore_value): New macro.
3525 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3526 with ignore_value.
3527
f1a5a0e3
JM
3528 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3529 definition.
3530
59ef1715
JM
3531 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3532 pthread_cleanup_push to void *.
3533
a6f3079b
JM
3534 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3535 Undefine.
3536
706688aa
JM
3537 [BZ #16619]
3538 [BZ #16740]
3539 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3540 instead of 1L << 52.
3541
12da14a5
JM
3542 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3543 * libio/bug-rewind2.c (do_test): Likewise.
3544
bd5dadac
JM
3545 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3546 * debug/test-strcpy_chk-ifunc.c: Likewise.
3547 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3548 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3549 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3550 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3551 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3552 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3553 * Rules [$(multi-arch) = no] (tests): Do not filter out
3554 $(tests-ifunc).
3555 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3556 * debug/Makefile (tests-ifunc): Remove variable.
3557 (tests): Do not add $(tests-ifunc).
3558 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3559 (tests): Do not add $(tests-ifunc).
3560 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3561 [TEST_IFUNC]: Remove conditionals.
3562 * string/test-string.h (TEST_IFUNC): Remove macro.
3563 [TEST_IFUNC]: Remove conditionals.
3564
3b20fd5c
JM
3565 * string/test-strchr.c [!WIDE] (L): New macro.
3566 [WIDE] (L): Likewise.
3567 (check1): Use CHAR instead of char. Use L on string and character
3568 constants.
3569
704f7947
AZ
35702014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3571
3572 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3573 tests.
3574 * sysdeps/powerpc/bits/atomic.h
3575 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3576 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3577 (atomic_exchange_and_add_acq): Likewise.
3578 (atomic_exchange_and_add_rel): Likewise.
3579 * sysdeps/powerpc/powerpc32/bits/atomic.h
3580 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3581 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3582 * sysdeps/powerpc/powerpc64/bits/atomic.h
3583 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3584 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3585
cdcb42d7
TR
35862014-11-26 Torvald Riegel <triegel@redhat.com>
3587
3588 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3589 Change synchronization of __sched_fifo_min_prio and
3590 __sched_fifo_max_prio.
3591 * nptl/pthread_mutexattr_getprioceiling.c
3592 (pthread_mutexattr_getprioceiling): Likewise.
3593 * nptl/pthread_mutexattr_setprioceiling.c
3594 (pthread_mutexattr_setprioceiling): Likewise.
3595 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3596 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3597 Likewise.
3598
c82f5c0c
JM
35992014-11-26 Joseph Myers <joseph@codesourcery.com>
3600
3601 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3602 void.
3603
439e1ad6
JM
36042014-11-25 Joseph Myers <joseph@codesourcery.com>
3605
3606 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3607 third argument const.
3608
b1eda10e
PE
36092014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3610
3611 fnmatch: work around GCC compiler warning bug with uninit var
3612 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3613 This works around a bug with x86-64 GCC 4.9.2 and earlier
3614 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3615 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3616 used uninitialized in this function [-Wmaybe-uninitialized]".
3617
bde2667a
JM
36182014-11-25 Joseph Myers <joseph@codesourcery.com>
3619
3620 * posix/bug-regex31.c (main): Return RES not 0.
3621
5fbb5691
AB
36222014-11-25 Anton Blanchard <anton@samba.org>
3623
3624 * sysdeps/powerpc/bits/atomic.h
3625 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3626
467fec0b
BM
36272014-11-24 Sterling Augustine <saugustine@google.com>
3628
3629 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3630
e9ff8efb
RC
36312014-11-24 Ryan Cumming <etaoins@gmail.com>
3632
3633 [BZ #17608]
3634 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3635
9744496f
JM
36362014-11-24 Joseph Myers <joseph@codesourcery.com>
3637
3638 [BZ #17633]
3639 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3640 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3641 variable.
3642 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3643 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3644
6423d475
WD
36452014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3646
3647 * string/strncpy.c (strncpy): Improve performance by using memset.
3648
36492014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3650
3651 * string/strcpy.c (strcpy):
3652 Improve performance by using strlen and memcpy.
3653
5d178c37
LH
36542014-11-24 Leonhard Holz <leonhard.holz@web.de>
3655
3656 * string/strcoll_l.c (get_next_seq): __always_inline.
3657 * string/strcoll_l.c (do_compare): __always_inline.
3658
279bc5b3
SP
36592014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
7a9ebfa1
SP
3661 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3662 defined.
3663 * include/mqueue.h: Likewise.
3664 * include/stdlib.h: Likewise.
3665
4f41c682
SP
3666 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3667 (get_null_defines): Adjust.
3668 * sunrpc/Makefile: Adjust comment.
3669 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3670 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3671 (CFLAGS-interp.c): Likewise.
3672 (CFLAGS-ldconfig.c): Likewise.
3673 (CPPFLAGS-.os): Likewise.
3674 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3675 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3676 * extra-modules.mk (extra-modules.mk): Likewise.
3677 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3678 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3679 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3680 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3681 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3682 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3683 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3684 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3685 * iconvdata/Makefile (CPPFLAGS): Likewise.
3686 (cpp-srcs-left): Add libof for all iconvdata routines.
3687 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3688 * include/assert.h: Likewise.
3689 * include/ctype.h: Likewise.
3690 * include/errno.h: Likewise.
3691 * include/libc-symbols.h: Likewise.
3692 * include/math.h: Likewise.
3693 * include/netdb.h: Likewise.
3694 * include/resolv.h: Likewise.
3695 * include/stdio.h: Likewise.
3696 * include/stdlib.h: Likewise.
3697 * include/string.h: Likewise.
3698 * include/sys/stat.h: Likewise.
3699 * include/wctype.h: Likewise.
3700 * intl/l10nflist.c: Likewise.
3701 * libidn/idn-stub.c: Likewise.
3702 * libio/libioP.h: Likewise.
3703 * nptl/libc_multiple_threads.c: Likewise.
3704 * nptl/pthreadP.h: Likewise.
3705 * posix/regex_internal.h: Likewise.
3706 * resolv/res_hconf.c: Likewise.
3707 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3708 * sysdeps/arm/memmove.S: Likewise.
3709 * sysdeps/arm/sysdep.h: Likewise.
3710 * sysdeps/generic/_itoa.h: Likewise.
3711 * sysdeps/generic/symbol-hacks.h: Likewise.
3712 * sysdeps/gnu/errlist.awk: Likewise.
3713 * sysdeps/gnu/errlist.c: Likewise.
3714 * sysdeps/i386/i586/memcpy.S: Likewise.
3715 * sysdeps/i386/i586/memset.S: Likewise.
3716 * sysdeps/i386/i686/memcpy.S: Likewise.
3717 * sysdeps/i386/i686/memmove.S: Likewise.
3718 * sysdeps/i386/i686/mempcpy.S: Likewise.
3719 * sysdeps/i386/i686/memset.S: Likewise.
3720 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3721 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3722 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3723 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3724 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3725 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3726 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3727 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3728 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3729 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3730 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3731 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3732 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3733 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3734 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3735 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3736 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3737 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3738 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3739 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3740 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3741 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3745 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3746 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3747 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3748 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3749 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3750 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3753 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3758 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3759 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3760 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3761 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3762 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3763 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3764 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3765 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3766 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3767 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3772 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3775 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3776 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3777 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3778 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3779 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3780 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3781 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3782 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3783 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3784 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3785 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3786 * sysdeps/posix/closedir.c: Likewise.
3787 * sysdeps/posix/opendir.c: Likewise.
3788 * sysdeps/posix/readdir.c: Likewise.
3789 * sysdeps/posix/rewinddir.c: Likewise.
3790 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3791 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3792 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3793 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3794 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3796 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3800 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3801 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3802 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3803 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3804 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3805 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3806 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3807 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3808 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3810 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3811 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3812 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3813 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3814 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3818 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3826 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3827 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3828 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3829 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3830 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3832 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3833 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3834 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3835 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3836 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3837 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3838 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3839 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3840 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3841 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3842 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3844 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3845 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3846 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3847 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3848 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3849 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3850 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3851 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3852 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3853 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3854 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3855 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3856 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3857 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3858 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3859 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3860 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3861 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3862 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3863 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3864 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3865 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3866 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3867 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3868 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3869 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3870 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3871 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3872 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3873 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3874 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3875 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3876 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3877 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3878 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3880 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3881 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3882 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3883 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3886 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3888 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3889 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3890 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3891 * sysdeps/unix/alpha/sysdep.S: Likewise.
3892 * sysdeps/unix/alpha/sysdep.h: Likewise.
3893 * sysdeps/unix/make-syscalls.sh: Likewise.
3894 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3896 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3897 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3898 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3899 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3900 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3901 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3903 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3905 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3906 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3907 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3908 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3909 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3910 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3911 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3912 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3913 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3914 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3915 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3916 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3917 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3918 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3919 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3920 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3923 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3924 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3925 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3928 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3929 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3930 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3932 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3933 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3934 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3935 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3936 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3937 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3938 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3941 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3944 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3945 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3946 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3947 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3948 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3950 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3952 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3953 * sysdeps/x86_64/memcpy.S: Likewise.
3954 * sysdeps/x86_64/memmove.c: Likewise.
3955 * sysdeps/x86_64/memset.S: Likewise.
3956 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3957 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3958 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3959 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3960 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3963 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3964 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3965 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3966 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3967 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3968 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3969 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3970 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3971 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3972 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3973 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3975 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3976 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3977 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3980 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3981 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3982 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3983 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3984 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3985 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3986 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3987 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3988 * sysdeps/x86_64/strcmp.S: Likewise.
3989
76ca86a5
SP
3990 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3991
a3848485
SP
3992 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3993 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3994 * elf/rtld-Rules: Likewise.
3995 * elf/setup-vdso.h: Likewise.
3996 * include/assert.h: Likewise.
3997 * include/bits/stdlib-float.h: Likewise.
3998 * include/errno.h: Likewise.
3999 * include/sys/stat.h: Likewise.
4000 * include/unistd.h: Likewise.
4001 * sysdeps/aarch64/setjmp.S: Likewise.
4002 * sysdeps/alpha/setjmp.S: Likewise.
4003 * sysdeps/arm/__longjmp.S: Likewise.
4004 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4005 * sysdeps/arm/setjmp.S: Likewise.
4006 * sysdeps/arm/sysdep.h: Likewise.
4007 * sysdeps/generic/_itoa.h: Likewise.
4008 * sysdeps/generic/dl-sysdep.h: Likewise.
4009 * sysdeps/generic/ldsodefs.h: Likewise.
4010 * sysdeps/i386/dl-tls.h: Likewise.
4011 * sysdeps/i386/setjmp.S: Likewise.
4012 * sysdeps/m68k/setjmp.c: Likewise.
4013 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4014 * sysdeps/mach/hurd/opendir.c: Likewise.
4015 * sysdeps/posix/getcwd.c: Likewise.
4016 * sysdeps/posix/opendir.c: Likewise.
4017 * sysdeps/posix/profil.c: Likewise.
4018 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4021 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4022 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4023 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4025 * sysdeps/s390/dl-tls.h: Likewise.
4026 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4027 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4028 * sysdeps/sh/sh3/setjmp.S: Likewise.
4029 * sysdeps/sh/sh4/setjmp.S: Likewise.
4030 * sysdeps/unix/alpha/sysdep.h: Likewise.
4031 * sysdeps/unix/arm/sysdep.S: Likewise.
4032 * sysdeps/unix/i386/sysdep.S: Likewise.
4033 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4034 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4035 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4036 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4038 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4039 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4040 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4041 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4042 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4043 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4044 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4045 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4048 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4051 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4052 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4056 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4057 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4058 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4060 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4061 * sysdeps/x86_64/setjmp.S: Likewise.
4062
a109996e
SP
4063 * include/math.h: Use IS_IN instead of IS_IN_libm.
4064 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4076 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4084 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4085 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4086 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4087 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4088 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4089 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4091 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4092 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4093 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4094 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4095 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4098 Likewise.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4100 Likewise.
4101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4102 Likewise.
4103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4104 Likewise.
4105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4106 Likewise.
4107 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4108 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4109 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4110 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4111 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4112 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4118 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4119 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4120 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4121 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4122 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4125 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4129 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4130 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4131 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4133 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4134
ce9f10f7
SP
4135 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4136 * nptl/pthreadP.h: Likewise.
4137 * nptl_db/structs.def: Likewise.
4138 * sysdeps/arm/sysdep.h: Likewise.
4139 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4140 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4141 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4142 * sysdeps/unix/alpha/sysdep.h: Likewise.
4143 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4145 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4146 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4147 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4148 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4150 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4151 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4152 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4153 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4154 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4155 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4156 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4160 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4161 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4164 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4165 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4166 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4167 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4168 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4169
016afc75
SP
4170 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4171 * nptl/pthreadP.h: Likewise.
4172 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4173 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4174 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4175 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4176 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4177 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4178 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4179 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4180 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4181 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4182 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4183 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4185 Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4187 Likewise.
4188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4190 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4193 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4194 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4196
9b42a0b3
SP
4197 * dlfcn/dladdr.c: Use IS_IN.
4198 * dlfcn/dladdr1.c: Likewise.
4199 * dlfcn/dlclose.c: Likewise.
4200 * dlfcn/dlerror.c: Likewise.
4201 * dlfcn/dlinfo.c: Likewise.
4202 * dlfcn/dlmopen.c: Likewise.
4203 * dlfcn/dlopen.c: Likewise.
4204 * dlfcn/dlsym.c: Likewise.
4205 * dlfcn/dlvsym.c: Likewise.
4206
85f36372
SP
4207 * include/ifaddrs.h: Use IS_IN.
4208 * inet/check_pf.c: Likewise.
4209 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4210 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4211
fb6784e3
SP
4212 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4213 IS_IN_ldconfig.
4214 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4215 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4216
2886d2d1
SP
4217 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4218 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4219 IS_IN (libc).
4220
9a484857
SP
4221 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4222
a10178bd
SP
4223 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4224 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4225 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4226 * include/libc-symbols.h (IS_IN_LIB): New macro.
4227 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4228 * include/netdb.h: Likewise.
4229 * include/stap-probe.h: Remove all uses of IN_LIB.
4230
279bc5b3
SP
4231 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4232 instead of IN_MODULE.
4233 * include/libc-symbols.h (IN_MODULE): Define using
4234 MODULE_NAME.
4235 (PASTE_NAME, PASTE_NAME1): New macros.
4236 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4237 of IN_LIB.
4238 (STAP_PROBE_ASM): Likewise.
4239
e0cfa510
ST
42402014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4241
4242 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4243 __mach_init in dlopened libc.
4244
34d97d87
MF
42452014-11-22 Mike Frysinger <vapier@gentoo.org>
4246
4247 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4248 * sysdeps/arm/preconfigure: Regenerate.
4249
33cd1f74
RM
42502014-11-21 Roland McGrath <roland@hack.frob.com>
4251
4252 * nptl/pthread_create.c (__pthread_create_2_1): Set
4253 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4254 when copying values from IATTR into PD.
4255
8c230039
WN
42562014-11-21 Will Newton <will.newton@linaro.org>
4257 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4258
6d3db89b
AP
4259 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4260 Refactor inline-asm. Also add comment.
4261
01194ba1
WN
4262 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4263 ElfW macro instead of hardcoded Elf64 types.
4264 (la_aarch64_gnu_pltenter): Likewise.
4265 * sysdeps/aarch64/dl-machine.h
4266 (elf_machine_runtime_setup): Use ElfW(Addr).
4267
8c230039
WN
4268 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4269 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4270 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4271 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4272 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4273 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4274 (R_AARCH64_TLS_DTPMOD): This.
4275 (R_AARCH64_TLS_DTPREL64): Rename to ...
4276 (R_AARCH64_TLS_DTPREL): This.
4277 (R_AARCH64_TLS_TPREL64): Rename to ...
4278 (R_AARCH64_TLS_TPREL): This.
4279 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4280 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4281 R_AARCH64_TLS_TPREL64.
4282 (elf_machine_rela): Likewise.
4283
0d79fa53
TR
42842014-11-21 Torvald Riegel <triegel@redhat.com>
4285
4286 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4287 by setting it to 0. 64b atomics are not supported currently.
4288
b59d114b
AO
42892014-11-21 Alexandre Oliva <aoliva@redhat.com>
4290
4291 [BZ #16469]
4292 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4293 search domain names.
4294
f3d945d5
AO
42952014-11-21 Alexandre Oliva <aoliva@redhat.com>
4296
4297 [BZ #16469]
4298 * NEWS: Update.
4299 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4300 trailing dot.
4301 * posix/tst-getaddrinfo5.c: New.
4302 * posix/Makefile (tests): Add it.
4303
49698902
AO
43042014-11-21 Alexandre Oliva <aoliva@redhat.com>
4305
4306 [BZ #14498]
4307 * NEWS: Fixed.
4308 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4309 after parsing line but before break_if_match.
4310 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4311 if there is a protocol mismatch.
4312
81959214
MS
43132014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4314
4315 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4316 because the potential race is on the user-supplied stream.
4317
7729e0e9
AO
43182014-11-21 Alexandre Oliva <aoliva@redhat.com>
4319
4320 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4321 string literal if not passed a buffer.
4322 * manual/job.texi (ctermid): Update reasoning, note deviation
4323 from posix, suggest mtasurace when not passed a buffer, for
4324 future non-preliminary safety notes.
4325
a4ea5e28
AO
43262014-11-21 Alexandre Oliva <aoliva@redhat.com>
4327
4328 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4329 of not passing it a buffer.
4330 Reported by Peng Haitao.
4331
a2b581cb
AO
43322014-11-21 Alexandre Oliva <aoliva@redhat.com>
4333
4334 * manual/Makefile ($(objpfx)stamp-summary): Require
4335 check-safety.sh to pass.
4336 * manual/check-safety.sh: Wish for verification that every
4337 @deftypefn and @deftypefun is followed by a @safety remark.
4338
f214ff74
RM
43392014-11-20 Roland McGrath <roland@hack.frob.com>
4340
7f0dfae0
RM
4341 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4342
2f531bbb
RM
4343 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4344 PTHREAD_CANCEL_ASYNCHRONOUS.
4345 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4346 send SIGCANCEL.
4347
f214ff74
RM
4348 * nptl/default-sched.h: New file.
4349 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4350 * nptl/pthread_create.c: Include it.
4351 (__pthread_create_2_1): Use collect_default_sched instead of making
4352 Linux syscalls here directly.
4353
e37c91d4
TR
43542014-11-20 Torvald Riegel <triegel@redhat.com>
4355
4356 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4357 __pthread_once): Use C11 atomics.
4358
1eccfecd
TR
43592014-11-20 Torvald Riegel <triegel@redhat.com>
4360
4361 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4362
ff871426
TR
43632014-11-20 Torvald Riegel <triegel@redhat.com>
4364
4365 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4366 atomic_thread_fence_acquire, atomic_thread_fence_release,
4367 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4368 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4369 atomic_compare_exchange_weak_relaxed,
4370 atomic_compare_exchange_weak_acquire,
4371 atomic_compare_exchange_weak_release,
4372 atomic_exchange_acquire, atomic_exchange_release,
4373 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4374 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4375 atomic_fetch_and_acquire,
4376 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4377
1ea339b6
TR
43782014-11-20 Torvald Riegel <triegel@redhat.com>
4379
4380 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4381 USE_ATOMIC_COMPILER_BUILTINS): Define.
4382 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4383 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4384 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4385 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4386 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4387 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4388 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4389 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4390 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4391 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4392 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4393 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4394 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4395 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4396 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4397 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4398 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4399 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4400 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4401 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4402 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4403 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4404 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4405 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4406 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4407 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4408 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4409 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4410 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4411 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4412 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4413 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4414 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4415 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4417 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4418 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4419 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4420 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4421 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4422
cbd463e2
RM
44232014-11-19 Roland McGrath <roland@hack.frob.com>
4424
d960211f
RM
4425 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4426 the sched_priority value here. It was already checked when the user
4427 called pthread_attr_setschedparam.
4428
cbd463e2
RM
4429 * nptl/tst-bad-schedattr.c: New file.
4430 * nptl/Makefile (tests): Add it.
4431
a39208bd
CD
44322014-11-19 Carlos O'Donell <carlos@redhat.com>
4433 Florian Weimer <fweimer@redhat.com>
4434 Joseph Myers <joseph@codesourcery.com>
4435 Adam Conrad <adconrad@0c3.net>
4436 Andreas Schwab <schwab@suse.de>
4437 Brooks <bmoses@google.com>
4438
4439 [BZ #17625]
4440 * wordexp-test.c (__dso_handle): Add prototype.
4441 (__register_atfork): Likewise.
4442 (__app_register_atfork): New function.
4443 (registered_forks): New global.
4444 (register_fork): New function.
4445 (test_case): Add 3 new tests for WRDE_CMDSUB.
4446 (main): Call __app_register_atfork.
4447 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4448 fork count is non-zero fail the test.
4449 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4450 is set.
4451 (parse_dollars): Remove check for WRDE_NOCMD.
4452 (parse_dquote): Likewise.
4453
9cd47470
SP
44542014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4455
130ac68c
SP
4456 * Makeconfig (built-modules): List non-library modules to be
4457 built.
4458 (module-cppflags): Include libc-modules.h for
4459 everything except shlib-versions.v.i.
4460 (CPPFLAGS): Use it.
4461 (before-compile): Add libc-modules.h.
4462 ($(common-objpfx)libc-modules.h,
4463 $(common-objpfx)libc-modules.stmp): New targets.
4464 (common-generated): Add libc-modules.h and libc-modules.stmp.
4465 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4466 * include/libc-symbols.h: Don't include libc-modules.h.
4467 * include/libc-modules.h: Remove file.
4468 * scripts/gen-libc-modules.awk: New script to generate
4469 libc-modules.h.
4470 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4471 Depend on libc-modules.stmp.
4472
286663c3
SP
4473 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4474
9cd47470
SP
4475 * Makeconfig (in-module): Get value of libof set for the
4476 translation unit.
4477 (CPPFLAGS): Use $(in-module).
4478 * Makerules: Don't suffix routine names for nonlib.
4479 * include/libc-modules.h: New file.
4480 * include/libc-symbols.h: Include libc-modules.h
4481 (IS_IN): New macro to replace IS_IN_* macros.
4482 * elf/Makefile: Set libof-* for each routine.
4483 * elf/rtld-Rules: Likewise.
4484 * extra-modules.mk: Likewise.
4485 * iconv/Makefile: Likewise.
4486 * iconvdata/Makefile: Likewise.
4487 * locale/Makefile: Likewise.
4488 * malloc/Makefile: Likewise.
4489 * nss/Makefile: Likewise.
4490 * sysdeps/gnu/Makefile: Likewise.
4491 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4492 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4493 * sysdeps/s390/s390-64/Makefile: Likewise.
4494 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4495 CPPFLAGS for nscd instead of nonlib.
4496
32fed10f
RM
44972014-11-18 Roland McGrath <roland@hack.frob.com>
4498
d71035bd
RM
4499 * nptl/createthread.c: New file.
4500
6540b991
RM
4501 * nptl/createthread.c: Moved ...
4502 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4503
32fed10f
RM
4504 * nptl/createthread.c: Add proper top-line comment.
4505 (do_clone): Folded into ...
4506 (create_thread): ... here. Take new arguments STOPPED_START and
4507 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4508 increment __nptl_threads, do event-reporting logic, do
4509 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4510 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4511 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4512 just send SIGCANCEL.
4513 * nptl/pthread_create.c: Forward-declare create_thread before
4514 including createthread.c.
4515 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4516 declaration, and new macro START_THREAD_SELF to replace argument.
4517 Remove return statement.
4518 (report_thread_creation): New function.
4519 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4520 synchronization logic, and __nptl_nthreads increment here, around
4521 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4522 PD->parent_cancelhandling here, before create_thread. When
4523 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4524 __deallocate_stack, and ENOMEM translation here.
4525
107a5bf0
JM
45262014-11-18 Joseph Myers <joseph@codesourcery.com>
4527
4528 [BZ #17616]
4529 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4530 (mptwo): Rename to __mptwo.
4531 (__inv): Use __mptwo instead of mptwo.
4532 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4533 (mptwo): Rename to __mptwo.
4534 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4535 of mpone and __mptwo instead of mptwo.
4536 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4537 instead of mpone.
4538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4539 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4540 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4541 of mpone and __mptwo instead of mptwo.
4542 (__mpranred): Use __mpone instead of mpone.
4543 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4544 variable.
4545 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4546 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4547 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4548 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4549 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4550 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4551 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4552 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4553 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4554 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4555 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4556 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4557 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4558 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4559 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4560 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4561 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4562 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4563 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4564
3b679ab3
TV
45652014-11-18 Tom de Vries <tom@codesoucery.com>
4566
4567 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4568 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4569
45702014-11-17 Richard Henderson <rth@redhat.com>
4571
4572 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4573 (_FP_PACK_RAW_2): Remove.
4574 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4575 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4576 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4577 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4578 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4579 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4580 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4581 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4582 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4583 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4584 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4585 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4586 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4587 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4588 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4589 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4590
0781a777
RM
45912014-11-14 Roland McGrath <roland@hack.frob.com>
4592
4593 * signal/signal.h [__USE_MISC]
4594 (struct sigvec): Remove type.
4595 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4596 (sigvec): Remove declaration.
4597 * sysdeps/posix/sigvec.c: Moved ...
4598 * signal/sigvec.c: ... here, replacing old file.
4599 (struct sigvec): New type, copied from old signal.h definition.
4600 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4601 (__sigvec): Convert definition to prototype.
4602 (sigvec): Replace weak_alias with compat_symbol.
4603 * signal/Versions (libc: GLIBC_2.21): New version set.
4604 * include/signal.h: Remove __sigvec declaration.
4605 * sysdeps/unix/bsd/sigvec.c: Remove file.
4606 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4607 * manual/signal.texi (BSD Handler): Remove subsection.
4608 Move siginterrupt up to ...
4609 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4610 (Blocking in BSD): Fold subsection into its parent.
4611 * NEWS: Mention sigvec removal.
4612
a4733812
JM
46132014-11-14 Joseph Myers <joseph@codesourcery.com>
4614
5ae4fe60
JM
4615 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4616 (DLA_FMS): Make definition conditional only on [__FMA4__].
4617 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4618 definition.
4619
6a0dd472
JM
4620 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4621 Make definition conditional only on [PROF].
4622 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4623 definition.
4624 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4625 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4626
a4733812
JM
4627 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4628 !__GNUC__].
4629 * include/signal.h (__sigpause): Move declaration above call to
4630 libc_hidden_proto.
4631 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4632 variable.
4633 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4634 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4635
cf7246dd
DM
46362014-11-14 David S. Miller <davem@davemloft.net>
4637
4638 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4639 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4640
c1b0aadc
JM
46412014-11-14 Joseph Myers <joseph@codesourcery.com>
4642
4863355a
JM
4643 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4644 * configure: Regenerated.
4645 * manual/install.texi (Tools for Compilation): Document a
4646 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4647 compiler verified to work.
4648 * INSTALL: Regenerated.
4649
c1b0aadc
JM
4650 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4651 redeclare with asm name.
4652 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4653 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4654 including <string.h>.
4655 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4656 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4657 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4658 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4659 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4660 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4661 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4662
2a1cfd94
JM
46632014-11-13 Joseph Myers <joseph@codesourcery.com>
4664
bf438382
JM
4665 * stdlib/strtol.c (__strtol): Use prototype definition.
4666
2a1cfd94
JM
4667 [BZ #17594]
4668 * stdlib/strtol.c (SYM__): New macro.
4669 (SYM__1): Likewise.
4670 (__strtol): Likewise.
4671 (strtol): Rename to __strtol and define as weak alias of
4672 __strtol. Use libc_hidden_weak.
4673
20ed0d26
SL
46742014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4675
4676 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4677 Use numbered labels in inline assembly.
4678
53244a4e
SL
46792014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4680
4681 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4682 Add setjmp LIBC_PROBE.
4683 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4684 Likewise.
4685 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4686 Add longjmp, longjmp_target LIBC_PROBE.
4687 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4688 Likewise.
4689
47df8251
SL
46902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4691
4692 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4693 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4694 to get rid of unused variable warning.
4695
618cebef
SL
46962014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4697
4698 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4699 Check for unwind_backtrace == NULL only in SHARED case.
4700 (__backchain_backtrace): Compile only in SHARED case.
4701 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4702 Likewise.
4703 (__backchain_backtrace): Declare as static.
4704
c6aab2cb
RM
47052014-11-12 Roland McGrath <roland@hack.frob.com>
4706
4707 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4708 (__libc_multiple_threads_ptr): Variable moved ...
4709 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4710
5a6fa4d7
JM
47112014-11-12 Joseph Myers <joseph@codesourcery.com>
4712
24f4f825
JM
4713 * conform/GlibcConform.pm: New file.
4714 * conform/conformtest.pl: Use GlibcConform module.
4715 * conform/linknamespace.pl: New file.
4716 * conform/list-header-symbols.pl: Likewise.
4717 * conform/Makefile (linknamespace-symlists-base): New variable.
4718 (linknamespace-symlists-tests): Likewise.
4719 (linknamespace-header-base): Likewise.
4720 (linknamespace-header-tests): Likewise.
4721 (tests-special): Add new tests.
4722 ($(linknamespace-symlists-tests)): New rule.
4723 (linknamespace-libs): New variable.
4724 ($(objpfx)symlist-stdlibs): New rule.
4725 ($(linknamespace-header-tests)): Likewise.
4726 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4727 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4728 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4729 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4730 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4731 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4732 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4733 (test-xfail-ISO/math.h/linknamespace): Likewise.
4734 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4735 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4736 (test-xfail-ISO/time.h/linknamespace): Likewise.
4737 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4738 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4739 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4740 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4741 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4742 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4743 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4744 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4745 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4746 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4747 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4748 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4749 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4750 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4751 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4752 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4753 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4754 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4755 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4756 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4757 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4758 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4759 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4760 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4761 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4762 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4763 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4764 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4765 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4766 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4767 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4768 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4769 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4770 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4771 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4772 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4773 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4774 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4775 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4776 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4777 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4778 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4779 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4780 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4781 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4782 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4783 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4784 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4785 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4786 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4787 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4788 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4789 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4790 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4791 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4792 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4793 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4794 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4795 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4796 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4797 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4798 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4799 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4800 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4801 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4802 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4803 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4804 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4805 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4806 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4807 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4808 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4809 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4810 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4811 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4812 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4813 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4814 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4815 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4816 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4817 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4818 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4819 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4820 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4821 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4822 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4823 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4824 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4825 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4826 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4827 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4828 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4829 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4830 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4831 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4832 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4833 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4834 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4835 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4836 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4837 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4838 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4839 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4840 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4841 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4842 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4843 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4844 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4845 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4846 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4847 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4848 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4849 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4850 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4851 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4852 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4853 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4854 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4855 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4856 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4857 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4858 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4859 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4860 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4861 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4862 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4863 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4864 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4865 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4866 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4867 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4868 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4869 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4870 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4871 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4872 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4873 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4874 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4875 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4876 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4877 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4878 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4879 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4880 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4881 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4882 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4883 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4884 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4885 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4886 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4887
cc67478e
JM
4888 [BZ #17589]
4889 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4890 of fgets_unlocked.
4891
9975e3d3
JM
4892 [BZ #17585]
4893 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4894 (memmem): Rename to __memmem and define as weak alias of
4895 __memmem. Use libc_hidden_weak.
4896 (__memmem): Use libc_hidden_def.
4897 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4898 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4899 memmem.
4900
c4eae752
JM
4901 [BZ #17582]
4902 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4903 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4904 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4905 and define as weak alias of __fgets_unlocked. Use
4906 libc_hidden_weak.
4907 (__fgets_unlocked): Use libc_hidden_def.
4908 * include/stdio.h (__fgets_unlocked): Declare. Use
4909 libc_hidden_proto.
4910 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4911 __fgets_unlocked instead of fgets_unlocked.
4912 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4913 (GET_NPROCS_CONF_PARSER): Likewise.
4914 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4915 (GET_NPROCS_CONF_PARSER): Likewise.
4916
01cad84e
JM
4917 [BZ #17574]
4918 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4919 weak alias of __wmemset. Use libc_hidden_weak.
4920 (__wmemset): Use libc_hidden_def.
4921 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4922 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4923 of wmemset.
4924
939da411
JM
4925 [BZ #17573]
4926 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4927 with asm name __mempcpy.
4928 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4929
293d9a41
JM
4930 [BZ #17572]
4931 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4932 and define as weak alias of __rawmemchr.
4933 (__rawmemchr): Do not define as strong alias of rawmemchr.
4934
bef8fd60
JM
4935 [BZ #17571]
4936 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4937 alias of __qsort_r.
4938 (qsort): Call __qsort_r instead of qsort_r.
4939 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4940 (__qsort_r): Declare. Call libc_hidden_proto.
4941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4942 instead of qsort_r.
4943 * nscd/gai.c (__qsort_r): Define to qsort_r.
4944 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4945 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4946 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4947
c52ff39e
JM
4948 [BZ #17570]
4949 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4950 define as weak alias of __malloc_info.
4951
2f5c1b00
JM
4952 [BZ #17584]
4953 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4954 as weak alias of __rewinddir. Don't use libc_hidden_def.
4955 (__rewinddir): Use libc_hidden_def.
4956 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4957 as weak alias of __rewinddir. Don't use libc_hidden_def.
4958 (__rewinddir): Use libc_hidden_def.
4959 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4960 weak alias of __rewinddir. Don't use libc_hidden_def.
4961 (__rewinddir): Use libc_hidden_def.
4962 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4963 (__rewinddir): Use libc_hidden_proto.
4964 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4965 rewinddir.
4966 (__getcwd): Use __rewinddir instead of rewinddir.
4967
5a6fa4d7
JM
4968 [BZ #17583]
4969 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4970 alias of __fileno. Use libc_hidden_weak.
4971 (__fileno): Use libc_hidden_def.
4972 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4973 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4974 alias of __ftello.
4975 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4976 __ftello.
4977 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4978 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4979 libc_hidden_def.
4980 (fread_unlocked): Don't use libc_hidden_ver.
4981 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4982 and define as weak alias of __fread_unlocked. Don't use
4983 libc_hidden_def.
4984 (__fread_unlocked): Use libc_hidden_def.
4985 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4986 (ftello): Don't use libc_hidden_proto.
4987 (__ftello): Declare. Use libc_hidden_proto.
4988 (fread_unlocked): Don't use libc_hidden_proto.
4989 (__fread_unlocked): Declare. Use libc_hidden_proto.
4990 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4991 and __ftello instead of fileno, fread_unlocked and ftello.
4992
2581b98e
SP
49932012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4994
4995 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4996 GOT12.
4997 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4998 Likewise.
4999 (_dl_start_user): Likewise.
5000 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5001
533bb7c2
SP
50022014-11-12 Carlos O'Donell <carlos@redhat.com>
5003 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
5005 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5006 Move argv and envp down instead of moving argc up.
5007 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5008
fffa1cf8
LH
50092014-11-12 Leonhard Holz <leonhard.holz@web.de>
5010
5011 [BZ #17506]
5012 * test-skeleton.c (main): Return successful if one of
5013 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5014 * string/tst-strcoll-overflow.c: Define expected status.
5015
fb89b46d
TU
50162014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5017
5018 [BZ #17475]
5019 * locale/iso-639.def: Define Bhili and Tulu language codes.
5020
5c40c3ba
AH
50212014-11-11 Alan Hayward <alan.hayward@arm.com>
5022
5023 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5024
b17fe01b 50252014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5026
5027 [BZ #17555]
5028 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5029
bd805071
AS
50302014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5031
5032 * configure.ac: Updated check of minimal required version to
5033 2.22.
5034 * manual/install.texi (Tools for Compilation): Updated version
5035 number.
5036 * configure: Regenerated.
5037 * INSTALL: Likewise.
5038
1400983e
AS
50392014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5040
5041 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5042 __tls_get_addr.
5043
2c46a66a
JM
50442014-11-07 Joseph Myers <joseph@codesourcery.com>
5045
5046 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5047 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5048 (__waitpid): Don't define as alias. Use libc_hidden_def not
5049 libc_hidden_weak.
5050 (waitpid): Define as alias of __waitpid.
5051 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5052 __waitpid.
5053 (__waitpid): Don't define as alias. Use libc_hidden_def not
5054 libc_hidden_weak.
5055 (waitpid): Define as alias of __waitpid.
5056 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5057 __libc_waitpid alias.
5058 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5060 Likewise.
5061 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5063 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5064 alias.
5065 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5066 __waitpid.
5067 (__waitpid): Don't define as alias. Use libc_hidden_def not
5068 libc_hidden_weak.
5069 (waitpid): Define as alias of __waitpid.
5070
da53d6db
CD
50712014-11-06 Carlos O'Donell <carlos@redhat.com>
5072
a2887bdb
CD
5073 * manual/llio.texi: Add comment that write safety has been
5074 fixed in Linux.
5075
da53d6db
CD
5076 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5077 (localplt-build-dso): Add elf/ld.so.
5078 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5079 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5080 and free for ld.so.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5082 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5084 Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5086 Likewise.
5087 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5088 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5089 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5090 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5091 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5092 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5093 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5094 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5095 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5098
9cf27b8d
JM
50992014-11-05 Joseph Myers <joseph@codesourcery.com>
5100
5101 [BZ #14132]
5102 * include/libc-symbols.h (INTUSE): Remove macro.
5103 (INTDEF): Likewise.
5104 (INTVARDEF): Likewise.
5105 (_INTVARDEF): Likewise.
5106 (INTDEF2): Likewise.
5107 (INTVARDEF2): Likewise.
5108 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5109 rtld_hidden_def instead of INTVARDEF.
5110 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5111 (_dl_starting_up_internal): Remove declaration.
5112 (_dl_starting_up): Use rtld_hidden_proto.
5113 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5114 declaration.
5115 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5116 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5117 _dl_starting_up.
5118 * elf/dl-writev.h (_dl_writev): Likewise.
5119 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5120 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5121 _dl_starting_up_internal.
5122
af83568d
AZ
51232014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5124
5125 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5126 test-skeleton.c.
5127
b01ee67c
WN
51282014-11-05 Will Newton <will.newton@linaro.org>
5129
5130 * benchtests/Makefile: (bench-malloc): Add malloc thread
5131 scalability benchmark.
5132 * benchtests/bench-malloc-threads.c: New file.
5133
be9d4ccc
RE
51342014-11-05 Richard Earnshaw <rearnsha@arm.com>
5135
5136 * sysdeps/aarch64/strchrnul.S: New file.
5137
7110166d
AZ
51382014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5139
5140 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5141 definition.
5142 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5143 Likwise.
5144 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5145 Likewise.
5146 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5147 Likewise.
5148 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5149 Likewise.
5150 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5151 Likewise.
5152
51532014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5154
5155 * catgets/test-gencat.c: Use test-skeleton.c.
5156 * catgets/tst-catgets.c: Likewise.
5157 * csu/tst-empty.c: Likewise.
5158 * elf/tst-audit2.c: Likewise.
5159 * elf/tst-global1.c: Likewise.
5160 * elf/tst-pathopt.c: Likewise.
5161 * elf/tst-piemod1.c: Likewise.
5162 * elf/tst-tls10.c: Likewise.
5163 * elf/tst-tls11.c: Likewise.
5164 * elf/tst-tls12.c: Likewise.
5165 * gnulib/tst-gcc.c: Likewise.
5166 * iconvdata/tst-e2big.c: Likewise.
5167 * iconvdata/tst-loading.c: Likewise.
5168 * iconv/tst-iconv1.c: Likewise.
5169 * iconv/tst-iconv2.c: Likewise.
5170 * inet/test-inet6_opt.c: Likewise.
5171 * inet/tst-gethnm.c: Likewise.
5172 * inet/tst-network.c: Likewise.
5173 * inet/tst-ntoa.c: Likewise.
5174 * intl/tst-codeset.c: Likewise.
5175 * intl/tst-gettext2.c: Likewise.
5176 * intl/tst-gettext3.c: Likewise.
5177 * intl/tst-ngettext.c: Likewise.
5178 * intl/tst-translit.c: Likewise.
5179 * io/test-stat.c: Likewise.
5180 * libio/test-fmemopen.c: Likewise.
5181 * libio/tst-freopen.c: Likewise.
5182 * libio/tst-sscanf.c: Likewise.
5183 * libio/tst-ungetwc1.c: Likewise.
5184 * libio/tst-ungetwc2.c: Likewise.
5185 * libio/tst-widetext.c: Likewise.
5186 * localedata/tst-ctype.c: Likewise.
5187 * localedata/tst-digits.c: Likewise.
5188 * localedata/tst-leaks.c: Likewise.
5189 * localedata/tst-mbswcs1.c: Likewise.
5190 * localedata/tst-mbswcs2.c: Likewise.
5191 * localedata/tst-mbswcs3.c: Likewise.
5192 * localedata/tst-mbswcs4.c: Likewise.
5193 * localedata/tst-mbswcs5.c: Likewise.
5194 * localedata/tst-setlocale.c: Likewise.
5195 * localedata/tst-trans.c: Likewise.
5196 * localedata/tst-wctype.c: Likewise.
5197 * localedata/tst-xlocale1.c: Likewise.
5198 * login/tst-grantpt.c: Likewise.
5199 * malloc/tst-calloc.c: Likewise.
5200 * malloc/tst-malloc.c: Likewise.
5201 * malloc/tst-mallocstate.c: Likewise.
5202 * malloc/tst-mcheck.c: Likewise.
5203 * malloc/tst-mtrace.c: Likewise.
5204 * malloc/tst-obstack.c: Likewise.
5205 * math/atest-exp2.c: Likewise.
5206 * math/atest-exp.c: Likewise.
5207 * math/atest-sincos.c: Likewise.
5208 * math/test-matherr.c: Likewise.
5209 * math/test-misc.c: Likewise.
5210 * math/test-powl.c: Likewise.
5211 * math/tst-definitions.c: Likewise.
5212 * misc/tst-dirname.c: Likewise.
5213 * misc/tst-efgcvt.c: Likewise.
5214 * misc/tst-fdset.c: Likewise.
5215 * misc/tst-hsearch.c: Likewise.
5216 * misc/tst-mntent2.c: Likewise.
5217 * nptl/tst-sem7.c: Likewise.
5218 * nptl/tst-sem8.c: Likewise.
5219 * nptl/tst-sem9.c: Likewise.
5220 * nss/test-netdb.c: Likewise.
5221 * posix/tst-fnmatch.c: Likewise.
5222 * posix/tst-getlogin.c: Likewise.
5223 * posix/tst-gnuglob.c: Likewise.
5224 * posix/tst-mmap.c: Likewise.
5225 * pwd/tst-getpw.c: Likewise.
5226 * resolv/tst-inet_ntop.c: Likewise.
5227 * rt/tst-timer.c: Likewise.
5228 * stdio-common/test-fseek.c: Likewise.
5229 * stdio-common/test-popen.c: Likewise.
5230 * stdio-common/test-vfprintf.c: Likewise.
5231 * stdio-common/tst-cookie.c: Likewise.
5232 * stdio-common/tst-fileno.c: Likewise.
5233 * stdio-common/tst-gets.c: Likewise.
5234 * stdio-common/tst-obprintf.c: Likewise.
5235 * stdio-common/tst-perror.c: Likewise.
5236 * stdio-common/tst-sprintf2.c: Likewise.
5237 * stdio-common/tst-sprintf3.c: Likewise.
5238 * stdio-common/tst-sprintf.c: Likewise.
5239 * stdio-common/tst-swprintf.c: Likewise.
5240 * stdio-common/tst-tmpnam.c: Likewise.
5241 * stdio-common/tst-unbputc.c: Likewise.
5242 * stdio-common/tst-wc-printf.c: Likewise.
5243 * stdlib/tst-environ.c: Likewise.
5244 * stdlib/tst-fmtmsg.c: Likewise.
5245 * stdlib/tst-limits.c: Likewise.
5246 * stdlib/tst-rand48-2.c: Likewise.
5247 * stdlib/tst-rand48.c: Likewise.
5248 * stdlib/tst-random2.c: Likewise.
5249 * stdlib/tst-random.c: Likewise.
5250 * stdlib/tst-strtol.c: Likewise.
5251 * stdlib/tst-strtoll.c: Likewise.
5252 * stdlib/tst-tls-atexit.c: Likewise.
5253 * stdlib/tst-xpg-basename.c: Likewise.
5254 * string/test-ffs.c: Likewise.
5255 * string/tst-bswap.c: Likewise.
5256 * string/tst-inlcall.c: Likewise.
5257 * string/tst-strtok.c: Likewise.
5258 * string/tst-strxfrm.c: Likewise.
5259 * sysdeps/x86_64/tst-audit10.c: Likewise.
5260 * sysdeps/x86_64/tst-audit3.c: Likewise.
5261 * sysdeps/x86_64/tst-audit4.c: Likewise.
5262 * sysdeps/x86_64/tst-audit5.c: Likewise.
5263 * time/tst-ftime_l.c: Likewise.
5264 * time/tst-getdate.c: Likewise.
5265 * time/tst-mktime3.c: Likewise.
5266 * time/tst-mktime.c: Likewise.
5267 * time/tst-posixtz.c: Likewise.
5268 * time/tst-strptime2.c: Likewise.
5269 * time/tst-strptime3.c: Likewise.
5270 * wcsmbs/tst-btowc.c: Likewise.
5271 * wcsmbs/tst-mbrtowc.c: Likewise.
5272 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5273 * wcsmbs/tst-wchar-h.c: Likewise.
5274 * wcsmbs/tst-wcpncpy.c: Likewise.
5275 * wcsmbs/tst-wcrtomb.c: Likewise.
5276 * wcsmbs/tst-wcsnlen.c: Likewise.
5277 * wcsmbs/tst-wcstof.c: Likewise.
5278
2004e7fb
JM
52792014-11-04 Joseph Myers <joseph@codesourcery.com>
5280
ab97ee8f
JM
5281 [BZ #14132]
5282 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5283 INTDEF.
5284 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5285 declaration.
5286 (_dl_mcount): Use rtld_hidden_proto.
5287 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5288 _dl_mcount.
5289 * elf/rtld.c (_rtld_global_ro): Likewise.
5290
c5684fdb
JM
5291 [BZ #14132]
5292 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5293 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5294 of _dl_init_internal.
5295 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5296 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5297 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5298 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5299 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5300 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5301 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5302 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5303 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5304 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5305 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5306 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5307 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5308 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5309 * sysdeps/tile/dl-start.S (_start): Likewise.
5310 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5311 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5312
4243cbea
JM
5313 [BZ #14132]
5314 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5315 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5316 (rtld_progname): Make macro definition unconditional.
5317 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5318 INTDEF.
5319 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5320 (dl_main): Likewise.
5321 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5322 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5323 instead of _dl_argv_internal.
5324 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5325 __GI__dl_argv instead of INTUSE(_dl_argv).
5326 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5327 __GI__dl_argv instead of _dl_argv_internal.
5328
2004e7fb
JM
5329 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5330 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5331 macro.
5332 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5333 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5334 New macro.
5335 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5336 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5337 macro.
5338 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5339 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5340
97827bfc
AS
53412014-11-04 Andreas Schwab <schwab@suse.de>
5342
5343 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5344
5e4df284
AZ
53452014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5346
5347 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5348 mtvsrd instruction in binary form.
5349
04b76b5a
AS
53502014-11-03 Andreas Schwab <schwab@suse.de>
5351
5352 [BZ #17522]
5353 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5354 for less than MB_LEN_MAX use a local buffer of that size.
5355 * libio/tst-fputws.c: New file.
5356 * libio/Makefile (tests): Add tst-fputws.
5357
4c6da7da
JM
53582014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5359
5360 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5361 the size of the fpu_fr.fpu_dregs[] array.
5362
1679ba8e
JM
53632014-11-01 Joseph Myers <joseph@codesourcery.com>
5364
5365 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5366 (__nanosleep): Do not define as alias.
5367 (nanosleep): Define as alias of __nanosleep.
5368 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5369 __libc_nanosleep name.
5370
2626c183
JM
53712014-10-31 Joseph Myers <joseph@codesourcery.com>
5372
5373 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5374 install.texi in comment.
5375
7f981fc2
TR
53762014-10-31 Torvald Riegel <triegel@redhat.com>
5377
5378 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5379 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5380 ... add here and use lwsync or sync ...
5381 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5382 ... and add here using lwsync.
5383
d6f373d2
MF
53842014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5385
5386 * elf/dl-machine-reject-phdr.h: New file.
5387 * elf/dl-load.c: #include that.
5388 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5389 if that returned true.
5390
67c37987
RM
53912014-10-31 Roland McGrath <roland@hack.frob.com>
5392
5393 [BZ #17496]
5394 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5395 gen-as-const-headers chunk. Add a big scare comment after the last
5396 safe place to touch before-compile.
5397
94a42455 53982014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5399
f3f5d895
JM
5400 * manual/install.texi (Tools for Compilation): Update autoconf
5401 version requirements.
5402 * INSTALL: Regenerated.
5403
f62ff286
JM
5404 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5405 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5406 (__libc_pselect): Likewise.
94a42455
JM
5407
5408 [BZ #14138]
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5413
ff9dbdc0
TR
54142014-10-31 Torvald Riegel <triegel@redhat.com>
5415
5416 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5417 correct barrier instruction.
5418 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5419 Likewise.
5420 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5421 Likewise.
5422
b4f66884
RM
54232014-10-30 Roland McGrath <roland@hack.frob.com>
5424
5425 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5426 after defining inlines. Instead, just use parens to defeat macro
5427 expansion of __isctype in its declaration.
5428
e19c95fd
JM
54292014-10-30 Joseph Myers <joseph@codesourcery.com>
5430
5431 * include/sys/uio.h (__libc_readv): Remove declaration.
5432 (__libc_writev): Likewise.
5433 * misc/readv.c (__libc_readv): Rename to __readv.
5434 (__readv): Do not define as alias.
5435 (readv): Define as alias of __readv.
5436 * misc/writev.c (__libc_writev): Rename to __writev.
5437 (__writev): Do not define as alias.
5438 (writev): Define as alias of __writev.
5439 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5440 (__readv): Do not define as alias.
5441 (readv): Define unconditionally as alias of __readv.
5442 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5443 (__writev): Do not define as alias.
5444 (writev): Define unconditionally as alias of __writev.
5445 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5446 name.
5447 (writev): Do not define __libc_writev name.
5448
65b00b6c
RM
54492014-10-30 Roland McGrath <roland@hack.frob.com>
5450
5451 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5452 (convert_charseq): New function, broken out of ...
5453 (use_from_charmap): ... here. Call it.
5454 (use_to_charmap): Use convert_charseq and free instead of duplicating
5455 its code with a variable-length stack struct.
5456
d4e157aa
JM
54572014-10-30 Joseph Myers <joseph@codesourcery.com>
5458
5459 * include/fcntl.h (__libc_creat): Remove declaration.
5460 * io/creat.c (__libc_creat): Rename to creat.
5461 (creat): Do not define as alias.
5462 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5463 of creat instead of __libc_creat.
5464 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5465 to creat.
5466 (creat): Do not define as alias.
5467 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5468 __libc_creat.
5469 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5470 __libc_creat name.
5471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5472 Likewise.
5473
0c6891a0
CD
54742014-10-29 Carlos O'Donell <carlos@redhat.com>
5475
5476 * manual/llio.texi: Add comments discussing why write() may be
5477 considered MT-unsafe on Linux.
5478
cc00cece
CD
54792014-10-28 Carlos O'Donell <carlos@redhat.com>
5480
5481 * dl-load.c (local_strdup): Remove.
5482 (expand_dynamic_string_token): Use __strdup.
5483 (decompose_rpath): Likewise.
5484 (_dl_map_object): Likewise.
5485
51e623f2
JM
54862014-10-28 Joseph Myers <joseph@codesourcery.com>
5487
5488 [BZ #14132]
5489 * sysdeps/generic/unwind-dw2-fde.c
5490 (__register_frame_info_bases_internal): Do not declare.
5491 (__register_frame_info_table_bases_internal): Likewise.
5492 (__deregister_frame_info_bases_internal): Likewise.
5493 (__register_frame_info_bases): Declare and use hidden_proto before
5494 definition. Use hidden_def instead of INTDEF.
5495 (__register_frame_info_table_bases): Likewise.
5496 (__deregister_frame_info_bases): Likewise.
5497 (__register_frame_info): Do not use INTUSE.
5498 (__register_frame): Likewise.
5499 (__register_frame_info_table): Likewise.
5500 (__register_frame_table): Likewise.
5501 (__deregister_frame_info): Likewise.
5502 (__deregister_frame): Likewise.
5503
03d41216
GC
55042014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5505
5506 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5507 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5508 not undefine.
5509 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5510 Likewise.
5511 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5512 Likewise.
5513
a4b3624d
JM
55142014-10-27 Joseph Myers <joseph@codesourcery.com>
5515
5516 [BZ #14138]
5517 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5518 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5519 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5520 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5521 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5522 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5523 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5524 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5525 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5526 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5527 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5528 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5529 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5530 syscall.
5531 (setfsuid): Likewise.
5532 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5533 (setfsuid): Likewise.
5534 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5535 (setfsuid): Likewise.
5536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5537 Likewise.
5538 (setfsuid): Likewise.
5539 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5540 (setfsuid): Likewise.
5541 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5542 Likewise.
5543 (setfsuid): Likewise.
5544
3574f2fd
AS
55452014-10-27 Andreas Schwab <schwab@suse.de>
5546
5547 [BZ #17501]
5548 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5549 check for Slow_SSE4_2 feature bit.
5550 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5551 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5552 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5553 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5554
70996a37
RM
55552014-10-24 Roland McGrath <roland@hack.frob.com>
5556
461a7b1e
RM
5557 * configure.ac: Validate compiler version with a empirical test of
5558 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5559 $CC -v output.
5560 * configure: Regenerated.
5561
70996a37
RM
5562 * inet/htons.c (htons): Prototypify.
5563 * inet/htonl.c (htonl): Likewise.
5564
e80514b5
WD
55652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5566
5567 * string/strncat.c (strncat): Improve performance by using strlen.
5568
6e46de42
WD
55692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5570
5571 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5572
6a9ad2fa
WD
55732014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5574
5575 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5576 Call libc_fetestexcept_aarch64.
5577
1c8810ed
WD
55782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5579
5580 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5581 Call libc_feholdexcept_aarch64.
5582
8b1af712
WD
55832014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5584
5585 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5586 Call get_rounding_mode.
5587
a7b00c11
WD
55882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5589
5590 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5591 Simplify logic.
5592
3a84f1a6
WD
55932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5594
5595 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5596 Simplify logic.
5597
48eb7a94
JM
55982014-10-24 Joseph Myers <joseph@codesourcery.com>
5599
c8bc4038
JM
5600 [BZ #14138]
5601 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5602 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5603 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5604 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5605 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5606 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5607 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5608 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5609 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5610 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5611 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5612 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5613 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5614 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5615 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5616 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5617 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5618 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5619 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5620 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5621 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5622 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5623 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5624 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5625 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5626 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5627 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5628 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5629 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5630 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5631 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5632 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5633 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5634 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5635 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5639 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5640 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5641 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5642 syscall.
5643 (geteuid): Likewise.
5644 (getgid): Likewise.
5645 (getuid): Likewise.
5646 (getresgid): Likewise.
5647 (getresuid): Likewise.
5648 (getgroups): Likewise.
5649 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5650 (geteuid): Likewise.
5651 (getgid): Likewise.
5652 (getuid): Likewise.
5653 (getresgid): Likewise.
5654 (getresuid): Likewise.
5655 (getgroups): Likewise.
5656 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5657 (geteuid): Likewise.
5658 (getgid): Likewise.
5659 (getuid): Likewise.
5660 (getresgid): Likewise.
5661 (getresuid): Likewise.
5662 (getgroups): Likewise.
5663 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5664 Likewise.
5665 (geteuid): Likewise.
5666 (getgid): Likewise.
5667 (getuid): Likewise.
5668 (getresgid): Likewise.
5669 (getresuid): Likewise.
5670 (getgroups): Likewise.
5671 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5672 (geteuid): Likewise.
5673 (getgid): Likewise.
5674 (getuid): Likewise.
5675 (getresgid): Likewise.
5676 (getresuid): Likewise.
5677 (getgroups): Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5679 Likewise.
5680 (geteuid): Likewise.
5681 (getgid): Likewise.
5682 (getuid): Likewise.
5683 (getgroups): Likewise.
5684
48eb7a94
JM
5685 [BZ #14138]
5686 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5687 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5688 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5689 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5690 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5691 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5692 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5693 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5694 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5696 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5697 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5698 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5699 __chown.
5700 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5701 (lchown): Likewise.
5702 (fchown): Likewise.
5703 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5704 Likewise.
5705 (lchown): Likewise.
5706 (fchown): Likewise.
5707 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5708 (lchown): Likewise.
5709 (fchown): Likewise.
5710 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5711 Likewise.
5712 (lchown): Likewise.
5713 (fchown): Likewise.
5714
ea9a7c8b
WD
57152014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5716
5717 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5718 Simplify logic.
5719
e226de33
WD
57202014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5721
5722 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5723 Cleanup logic.
5724
6e3d8ed3
WD
57252014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5726
5727 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5728 Remove unused include.
5729
eb04247d
WD
57302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5731
5732 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5733 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5734 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5735 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5736
13d84554
CD
57372014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5738 Helge Deller <deller@gmx.de>
5739
5740 [BZ #17508]
5741 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5742 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5743 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5744
15f9c5df
JM
57452014-10-23 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #14132]
5748 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5749 Remove macro definition.
5750 (__ashrdi3_v_glibc20): Likewise.
5751 (__lshrdi3_v_glibc20): Likewise.
5752 (__cmpdi2_v_glibc20): Likewise.
5753 (__ucmpdi2_v_glibc20): Likewise.
5754 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5755 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5756 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5757 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5758 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5759 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5760
c6dfed24
RM
57612014-10-22 Roland McGrath <roland@hack.frob.com>
5762
5763 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5764 old GNU extension [0] syntax.
5765 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5766 alloca rather than an array member with variable length.
5767 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5768 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5769 (parse_opt): ... here. Likewise use alloca there.
5770 Validate the -i argument before checking for rootness.
5771 (send_shutdown): New function, broken out of ...
5772 (parse_opt): ... here.
5773
8c2b1ed8
RM
57742014-10-22 Roland McGrath <roland@hack.frob.com>
5775
5776 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5777 macro to get at the _rt_local_ro field.
5778 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5779 ([PIC] case) or _dl_hwcap ([!PIC] case).
5780 * sysdeps/arm/setjmp.S: Likewise.
5781
5782 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5783 * sysdeps/arm/configure.ac: New check to define it.
5784 * sysdeps/arm/configure: Regenerated.
5785 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5786 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5787 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5788 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5789 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5790 Use move/movt pair instead of a load.
5791 (LDST_GLOBAL): Macro removed.
5792 (LDR_GLOBAL): New macro replaces it.
5793 (LDR_HIDDEN): New macro.
5794 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5795 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5796
5797 * setjmp/tst-setjmp-static.c: New file.
5798 * setjmp/Makefile (tests): Add it.
5799 (tests-static): New variable.
5800
b5af9297
MR
58012014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5802
5803 [BZ #17485]
5804 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5805
a13d0d74
JM
58062014-10-21 Joseph Myers <joseph@codesourcery.com>
5807
5808 [BZ #14132]
5809 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5810
f05e73f6
RM
58112014-10-21 Roland McGrath <roland@hack.frob.com>
5812
5813 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5814
6ab1d1ea
RM
58152014-10-20 Roland McGrath <roland@hack.frob.com>
5816
5817 * io/fts.c (dirent_not_directory): New function.
5818 (fts_build): Call it.
5819
ab49e763
RM
58202014-10-20 Roland McGrath <roland@hack.frob.com>
5821
e436eb79
RM
5822 * nptl/version.c (__nptl_main): Use normal __write rather than
5823 INTERNAL_SYSCALL.
5824 (banner): Update copyright years.
5825
6af246cf
RM
5826 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5827 gettimeofday.
5828 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5829 * nptl/pthread_cond_timedwait.c: Likewise.
5830 * nptl/pthread_mutex_timedlock.c: Likewise.
5831 * nptl/sem_timedwait.c: Likewise.
5832
ab49e763
RM
5833 * sysdeps/nptl/bits/libc-lock.h
5834 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5835 (__libc_lock_init_recursive): Return void, not 0.
5836 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5837 (__libc_rwlock_init): Likewise.
5838 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5839
f50277c1
TR
58402014-10-20 Torvald Riegel <triegel@redhat.com>
5841
5842 [BZ #15215]
5843 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5844 (__pthread_once_slow): ... here.
5845 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5846 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5847
63668b70
TR
58482014-10-20 Torvald Riegel <triegel@redhat.com>
5849
5850 [BZ #15215]
5851 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5852 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5853 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5854 * nptl/pthread_once.c (__pthread_once): Likewise.
5855 Update comments.
5856
42b7f5d4
JM
58572014-10-20 Joseph Myers <joseph@codesourcery.com>
5858
5859 [BZ #14138]
5860 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5861 name.
5862 (writev): Use __libc_writev as strong name.
5863 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5864 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5865
b0643088
RM
58662014-10-17 Roland McGrath <roland@hack.frob.com>
5867
114c4e09
RM
5868 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5869
674b8978
RM
5870 * sysdeps/i386/nptl/tls.h
5871 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5872 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5873 New macros.
5874 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5875 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5876 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5877 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5878 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5879 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5880
184ee940
RM
5881 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5882 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5883 on [__NR_futex].
5884 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5885 broken out of ...
5886 (__pthread_mutex_init): ... here. Call it.
5887 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5888 Conditionalize PI cases on [__NR_futex].
5889 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5890 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5891 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5892
327ae257
RM
5893 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5894 conditional on [SIGSETXID].
5895 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5896 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5897 is defined. Likewise for SIGSETXID.
5898 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5899 Conditionalize definitions on [SIGSETXID].
5900 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5901 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5902 unblocking on [SIGCANCEL].
5903
b0643088
RM
5904 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5905 [__NR_set_robust_list].
5906
33cc770b
SP
59072014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5908
5909 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5910 (do_compare): Likewise.
5911
0742aef6
LH
59122014-10-17 Leonhard Holz <leonhard.holz@web.de>
5913
5914 [BZ #15884]
5915 * string/strcoll_l.c: Don't include stdio.h.
5916 (coll_seq): Remove members idxarr and rulearr.
5917 (get_next_seq_cached): Remove function.
5918 (get_next_seq): Likewise.
5919 (get_next_seq_nocache): Rename to get_next_seq.
5920 (do_compare): Remove function.
5921 (do_compare_nocache): Rename to do_compare.
5922 (STRCOLL): Remove weight and rules cache.
5923
ee54ce44
RM
59242014-10-16 Roland McGrath <roland@hack.frob.com>
5925
5926 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5927 * sysdeps/arm/sfp-machine.h: ... to here.
5928 * sysdeps/arm/Implies: Remove arm/soft-fp.
5929
a75d3b02
JM
59302014-10-14 Joseph Myers <joseph@codesourcery.com>
5931
5932 * conform/data/sys/utsname.h-data (*_t): Allow.
5933 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5934 [POSIX] (WEXITED): Do not expect constant.
5935 [POSIX] (WSTOPPED): Likewise.
5936 [POSIX] (WNOHANG): Likewise.
5937 [POSIX] (WNOWAIT): Likewise.
5938 [POSIX] (siginfo_t): Do not expect type or elements.
5939 [POSIX] (pid_t): Do not expect type.
5940 [POSIX] (signal.h): Do not allow header.
5941 [POSIX] (sys/resource.h): Likewise.
5942 [POSIX] (si_*): Do not allow pattern.
5943 [POSIX] (W*): Likewise.
5944 [POSIX] (P_*): Likewise.
5945 [POSIX] (BUS_*): Likewise.
5946 [POSIX] (CLD_*): Likewise.
5947 [POSIX] (FPE_*): Likewise.
5948 [POSIX] (ILL_*): Likewise.
5949 [POSIX] (POLL_*): Likewise.
5950 [POSIX] (SEGV_*): Likewise.
5951 [POSIX] (SI_*): Likewise.
5952 [POSIX] (TRAP_*): Likewise.
5953 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5954 variable.
5955
fda389c8
SP
59562014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5957
5958 [BZ #12926]
5959 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5960 infinite loop when __recvmsg returns 0.
5961
6bc6bd3b
JM
59622014-10-10 Joseph Myers <joseph@codesourcery.com>
5963
fcb32af1
JM
5964 * CANCEL-FCT-WAIVE: Remove file.
5965 * CANCEL-FILE-WAIVE: Likewise.
5966
6bc6bd3b
JM
5967 [BZ #14132]
5968 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5969 instead of INTVARDEF.
5970 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5971 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5972 rtld_hidden_data_def instead of INTVARDEF.
5973 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5974 * elf/dl-deps.c (expand_dst): Likewise.
5975 * elf/dl-load.c (_dl_dst_count): Likewise.
5976 (_dl_dst_substitute): Likewise.
5977 (decompose_rpath): Likewise.
5978 (_dl_init_paths): Likewise.
5979 (open_path): Likewise.
5980 (_dl_map_object): Likewise.
5981 * elf/rtld.c (dl_main): Likewise.
5982 (process_dl_audit): Likewise.
5983 (process_envvars): Likewise.
5984 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5985 Remove declaration.
5986 (__libc_enable_secure): Use rtld_hidden_proto.
5987
b8c80a7e
KS
59882014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5989
5990 * elf/dl-load.c
5991 (add_path): New function broken out of _dl_rtld_di_serinfo.
5992 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5993
ff12c11f
JM
59942014-10-09 Joseph Myers <joseph@codesourcery.com>
5995
5c0508a3
JM
5996 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5997 parentheses around macro arguments.
5998 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5999 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6001 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6003 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6004 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6005 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6006 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6009 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6010 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6011 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6012 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6013 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6014 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6015 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6016 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6017 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6019 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6021 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6022 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6023 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6024 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6027 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6028 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6029 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6030 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6031 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6032 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6033 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6034 Likewise.
6035 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6037 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6038 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6039 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6041 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6042 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6043 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6044 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6045 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6046 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6047 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6051 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6055 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6056 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6058 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6059 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6060 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6061 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6062 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6063 (_FP_FRAC_SRS_1): Likewise.
6064 (_FP_FRAC_CLZ_1): Likewise.
6065 (_FP_MUL_MEAT_1_imm): Likewise.
6066 (_FP_MUL_MEAT_1_wide): Likewise.
6067 (_FP_MUL_MEAT_1_hard): Likewise.
6068 (_FP_SQRT_MEAT_1): Likewise.
6069 (_FP_FRAC_ASSEMBLE_1): Likewise.
6070 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6071 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6072 (__FP_CLZ_2): Likewise.
6073 (_FP_MUL_MEAT_2_wide): Likewise.
6074 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6075 (_FP_MUL_MEAT_2_gmp): Likewise.
6076 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6077 (_FP_SQRT_MEAT_2): Likewise.
6078 (_FP_FRAC_ASSEMBLE_2): Likewise.
6079 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6080 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6081 (_FP_FRAC_CLZ_4): Likewise.
6082 (_FP_MUL_MEAT_4_wide): Likewise.
6083 (_FP_MUL_MEAT_4_gmp): Likewise.
6084 (_FP_SQRT_MEAT_4): Likewise.
6085 (_FP_FRAC_ASSEMBLE_4): Likewise.
6086 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6087 * soft-fp/op-common.h (_FP_CMP): Likewise.
6088 (_FP_CMP_EQ): Likewise.
6089 (_FP_CMP_UNORD): Likewise.
6090 (_FP_TO_INT): Likewise.
6091 (_FP_FROM_INT): Likewise.
6092 [!__FP_CLZ] (__FP_CLZ): Likewise.
6093 (_FP_DIV_HELP_imm): Likewise.
6094 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6095 Likewise.
6096 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6097 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6098 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6099 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6100 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6101 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6102 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6103 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6104 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6107 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6108 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6109 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6110 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6111 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6112 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6113 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6114 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6115 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6116 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6117 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6118 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6120 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6121 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6124 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6125 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6126 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6127 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6128 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6129 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6130 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6131 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6132 (FP_UNPACK_RAW_SP): Likewise.
6133 (FP_PACK_RAW_S): Likewise.
6134 (FP_PACK_RAW_SP): Likewise.
6135 (FP_UNPACK_S): Likewise.
6136 (FP_UNPACK_SP): Likewise.
6137 (FP_UNPACK_SEMIRAW_S): Likewise.
6138 (FP_UNPACK_SEMIRAW_SP): Likewise.
6139 (FP_PACK_S): Likewise.
6140 (FP_PACK_SP): Likewise.
6141 (FP_PACK_SEMIRAW_S): Likewise.
6142 (FP_PACK_SEMIRAW_SP): Likewise.
6143 (_FP_SQRT_MEAT_S): Likewise.
6144 (FP_CMP_S): Likewise.
6145 (FP_CMP_EQ_S): Likewise.
6146 (FP_CMP_UNORD_S): Likewise.
6147 (FP_TO_INT_S): Likewise.
6148 (FP_FROM_INT_S): Likewise.
6149
a736ec37
JM
6150 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6151
ff12c11f
JM
6152 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6153 (FP_EX_INVALID_IMZ): Likewise.
6154 (FP_EX_INVALID_IMZ_FMA): Likewise.
6155 (FP_EX_INVALID_ISI): Likewise.
6156 (FP_EX_INVALID_ZDZ): Likewise.
6157 (FP_EX_INVALID_IDI): Likewise.
6158 (FP_EX_INVALID_SQRT): Likewise.
6159 (FP_EX_INVALID_CVI): Likewise.
6160 (FP_EX_INVALID_VC): Likewise.
6161 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6162 "invalid" exceptions.
6163 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6164 (_FP_ADD_INTERNAL): Likewise.
6165 (_FP_MUL): Likewise.
6166 (_FP_FMA): Likewise.
6167 (_FP_DIV): Likewise.
6168 (_FP_CMP_CHECK_NAN): Likewise.
6169 (_FP_SQRT): Likewise.
6170 (_FP_TO_INT): Likewise.
6171 (FP_EXTEND): Likewise.
6172
b6dcfe8c
AM
61732014-10-09 Allan McRae <allan@archlinux.org>
6174
6175 * po/fr.po: Update French translation from translation project.
6176
2d6a47ba
JM
61772014-10-09 Joseph Myers <joseph@codesourcery.com>
6178
cb831245
JM
6179 [BZ #14132]
6180 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6181 of INTDEF.
6182 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6183 (__cxa_atexit): Use libc_hidden_proto.
6184 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6185
5deeb190
JM
6186 [BZ #14132]
6187 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6188 declaration.
6189 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6190 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6191 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6192 [!_ISOMAC] (__iswctype_internal): Likewise.
6193 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6194 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6195 alias.
6196 (fcntl): Remove __fcntl_internal alias.
6197 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6198 __connect_internal alias.
6199 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6200 Likewise.
6201
454ac701
JM
6202 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6203 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6204 FP_DENORM_ZERO.
6205 (_FP_CHECK_FLUSH_ZERO): New macro.
6206 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6207 (_FP_CMP): Likewise.
6208 (_FP_CMP_EQ): Likewise.
6209 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6210 FP_DENORM_ZERO.
6211 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6212 (FP_TRUNC): Likewise.
6213
0022e688
JM
6214 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6215 treated as invalid conversion, not as normal exponent.
6216
73e28d9c
JM
6217 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6218 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6219 (_FP_CMP_EQ): Likewise.
6220 (_FP_CMP_UNORD): Likewise.
6221 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6222 (FP_CMP_EQ_D): Likewise.
6223 (FP_CMP_UNORD_D): Likewise.
6224 * soft-fp/extended.h (FP_CMP_E): Likewise.
6225 (FP_CMP_EQ_E): Likewise.
6226 (FP_CMP_UNORD_E): Likewise.
6227 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6228 (FP_CMP_EQ_Q): Likewise.
6229 (FP_CMP_UNORD_Q): Likewise.
6230 * soft-fp/single.h (FP_CMP_S): Likewise.
6231 (FP_CMP_EQ_S): Likewise.
6232 (FP_CMP_UNORD_S): Likewise.
6233 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6234 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6235 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6236 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6237 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6238 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6239 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6240 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6241 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6242 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6243 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6244 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6245 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6246 to FP_CMP_Q.
6247 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6248 FP_CMP_Q.
6249 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6250 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6251 FP_CMP_EQ_Q.
6252 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6253 FP_CMP_Q.
6254 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6255 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6256 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6257 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6258 FP_CMP_EQ_Q.
6259 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6260 FP_CMP_Q.
6261 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6262 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6263 FP_CMP_EQ_Q.
6264 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6265 FP_CMP_Q.
6266 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6267 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6268 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6269 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6270 FP_CMP_EQ_Q.
6271
43059f42
JM
6272 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6273 a subnormal result, set the underflow exception if trapping on
6274 underflow is enabled.
6275 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6276 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6277 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6278 redefine to 0.
6279 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6280 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6281 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6282 * soft-fp/extendxftf2.c (__extendxftf2): Use
6283 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6284
2d6a47ba
JM
6285 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6286 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6287 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6288 FP_HANDLE_EXCEPTIONS.
6289 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6290 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6291 FP_HANDLE_EXCEPTIONS.
6292 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6293 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6294 FP_HANDLE_EXCEPTIONS.
6295 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6296 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6297 FP_HANDLE_EXCEPTIONS.
6298
620f462e
JM
62992014-10-08 Joseph Myers <joseph@codesourcery.com>
6300
6301 [BZ #14132]
6302 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6303 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6304 use INTUSE.
6305 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6306 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6307 Remove alias.
6308 (__adjtimex): Define using libc_hidden_ver.
6309 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6310 Remove declaration.
6311 (ntp_gettime): Call __adjtimex directly.
6312 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6313 Remove declaration.
6314 (ntp_gettimex): Call __adjtimex directly.
6315 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6316 __adjtimex_internal alias.
6317
c763c5d2
RM
63182014-10-08 Roland McGrath <roland@hack.frob.com>
6319
6320 [BZ #17460]
6321 * nscd/nscd.c (more_help): Rewrite list of tables collection
6322 using xstrdup and asprintf.
6323
6324 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6325
7b8fb2b8
RM
63262014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6327 Roland McGrath <roland@hack.frob.com>
6328
6329 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6330 (do_lookup_unique): ... local function 'enter' here; update callers.
6331
abb280f7
JM
63322014-10-06 Joseph Myers <joseph@codesourcery.com>
6333
f7b42517
JM
6334 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6335 compat_symbol calls on [SHARED].
6336 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6337 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6338 Remove.
6339 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6340 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6341 (oldsetrlimit): Remove.
6342 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6344 (lchown): New syscall entry.
6345 (oldsetrlimit): Remove.
6346 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6348 (oldsetrlimit): Remove.
6349 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6350
abb280f7
JM
6351 [BZ #14138]
6352 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6353 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6354 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6355 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6356 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6357 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6358 (fchown): Likewise.
6359 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6360 (fchown): Likewise.
6361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6362 Likewise.
6363
47d46237
AZ
63642014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6365
6366 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6367 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6368 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6369 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6370 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6371 Likewise.
6372 (__old_sem_post): Likewise.
6373
63742014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6375
845a7343
CM
6376 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6377 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6378 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6379 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6380 Use INLINE_VSYSCALL macro.
6381 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6382 __vdso_clock_gettime.
6383 * sysdeps/unix/sysv/linux/tile/init-first.c
6384 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6385 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6386 __vdso_clock_gettime.
6387
83d641ef
CM
6388 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6389 to set up frame more cleanly.
6390
d9cd52e6
CM
6391 * sysdeps/tile/memcmp.c: New file.
6392
4b68ea11
CM
6393 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6394
c86f7b80
CM
6395 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6396 * sysdeps/tile/tilegx/strcasestr.c: New file.
6397 * sysdeps/tile/tilegx/strnlen.c: New file.
6398 * sysdeps/tile/tilegx/strstr.c: New file.
6399
1c4c1a6f
CM
6400 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6401
99d86ea3
AS
64022014-10-06 Arjun Shankar <arjun.is@lostca.se>
6403
6404 * nptl/tst-setuid3.c: Write errors to stdout.
6405
06210a44
KS
64062014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6407
6408 * elf/dl-deps.c
6409 (preload): New functions broken out of _dl_map_object_deps.
6410 (_dl_map_object_deps): Remove a nested function. Update call sites.
6411
6268f532
JM
64122014-10-01 Joseph Myers <joseph@codesourcery.com>
6413
6414 [BZ #14138]
6415 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6416 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6417
b925285f
SE
64182014-10-01 Steve Ellcey <sellcey@mips.com>
6419
6420 * sysdeps/mips/strcmp.S: New.
6421
754a15c6
JM
64222014-09-30 Joseph Myers <joseph@codesourcery.com>
6423
6424 [BZ #14138]
6425 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6426 (linkat): Likewise.
6427 (mkdirat): Likewise.
6428 (readlinkat): Likewise.
6429 (renameat): Likewise.
6430 (symlinkat): Likewise.
6431 (unlinkat): Likewise.
6432 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6433 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6434 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6435 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6436 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6437 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6438 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6439
85bb81c9
WN
64402014-09-30 Will Newton <will.newton@linaro.org>
6441
dc6fe23b
WN
6442 * math/math.h: Define long double math functions if
6443 _LIBC_TEST is defined.
6444 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6445
85bb81c9
WN
6446 * localedata/Makefile: Move assignment to tests-special
6447 into an ifdef testing run-built-tests.
6448 * timezone/Makefile: Likewise.
6449
b7e02da4
JM
64502014-09-29 Joseph Myers <joseph@codesourcery.com>
6451
6452 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6453 with $(BASH) not $(SHELL).
6454
62058ce6
CD
64552014-09-29 Carlos O'Donell <carlos@redhat.com>
6456 Matthew LeGendre <legendre1@llnl.gov>
6457
6458 [BZ #17411]
6459 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6460 l_reloc_result.
6461
8e257a29
KS
64622014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6463
6464 * stdio-common/printf_fp.c
6465 (hack_digit): New function, broken out of ...
6466 (__printf_fp): ... local function here. Update call sites.
6467 hack_digit now takes an additional parameter that is a pointer
6468 to a struct of the referenced locals. Those locals moved inside
6469 the struct and references updated.
6470
f4a58f0d
L
64712014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 * aclocal.m4: Require autoconf 2.69.
6474 * configure: Regenerated.
6475 * sysdeps/aarch64/configure: Likewise.
6476 * sysdeps/alpha/configure: Likewise.
6477 * sysdeps/arm/armv7/configure: Likewise.
6478 * sysdeps/arm/configure: Likewise.
6479 * sysdeps/ia64/configure: Likewise.
6480 * sysdeps/mach/configure: Likewise.
6481 * sysdeps/mips/configure: Likewise.
6482 * sysdeps/s390/configure: Likewise.
6483 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6485
6486 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6487 file.
6488 * sysdeps/ia64/configure.ac: Likewise.
6489
93ae1eba
JM
64902014-09-26 Joseph Myers <joseph@codesourcery.com>
6491
1810d3ab
JM
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6493 specify symbol version for ld.so. Do not include entry for
6494 libpthread.
6495 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6496 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6497 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6498
93ae1eba
JM
6499 [BZ #14171]
6500 * Makeconfig [$(build-shared) = yes]
6501 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6502 makefiles.
6503 [$(build-shared) = yes && $(soversions.mk-done) = t]
6504 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6505 [$(build-shared) = yes && $(soversions.mk-done) = t]
6506 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6507 to Makerules.
6508 [$(build-shared) = yes && $(soversions.mk-done) = t]
6509 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6510 here.
6511 [$(build-shared) = yes && $(soversions.mk-done) = t]
6512 (common-generated): Don't append gnu/lib-names.h and
6513 gnu/lib-names.stmp here.
6514 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6515 (lib-names-h-abi): New variable.
6516 [$(build-shared) = yes && $(soversions.mk-done) = t]
6517 (lib-names-stmp-abi): Likewise.
6518 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6519 abi-variants] (before-compile): Append
6520 $(common-objpfx)$(lib-names-h-abi).
6521 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6522 abi-variants] (common-generated): Append gnu/lib-names.h.
6523 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6524 abi-variants] (install-others-nosubdir): Depend on
6525 $(inst_includedir)/$(lib-names-h-abi).
6526 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6527 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6528 [$(build-shared) = yes && $(soversions.mk-done) = t]
6529 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6530 [$(build-shared) = yes && $(soversions.mk-done) = t]
6531 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6532 [$(build-shared) = yes && $(soversions.mk-done) = t]
6533 (common-generated): Append $(lib-names-h-abi) and
6534 $(lib-names-stmp-abi).
6535 * scripts/lib-names.awk: Do not handle multi being set.
6536 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6537 Remove variable.
6538 (abi-lp64_be-ld-soname): Likewise.
6539 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6540 Likewise.
6541 (abi-hard-ld-soname): Likewise.
6542 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6543 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6544 Remove variable.
6545 (abi-o32_hard-ld-soname): Likewise.
6546 (abi-o32_soft_2008-ld-soname): Likewise.
6547 (abi-o32_hard_2008-ld-soname): Likewise.
6548 (abi-n32_soft-ld-soname): Likewise.
6549 (abi-n32_hard-ld-soname): Likewise.
6550 (abi-n32_soft_2008-ld-soname): Likewise.
6551 (abi-n32_hard_2008-ld-soname): Likewise.
6552 (abi-n64_soft-ld-soname): Likewise.
6553 (abi-n64_hard-ld-soname): Likewise.
6554 (abi-n64_soft_2008-ld-soname): Likewise.
6555 (abi-n64_hard_2008-ld-soname): Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6557 Likewise.
6558 (abi-64-v2-ld-soname): Likewise.
6559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6560 ld.so entries.
6561 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6562 variable.
6563 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6564 entry.
6565 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6566 variable.
6567 (abi-64-ld-soname): Likewise.
6568 (abi-x32-ld-soname): Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6570 entry.
6571 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6572
68870f12
JM
65732014-09-23 Joseph Myers <joseph@codesourcery.com>
6574
6575 [BZ #14138]
6576 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6577 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6578 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6579 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6580 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6581 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6582 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6583 syscall entry for GLIBC_2.2 symbol version.
6584 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6585 Likewise.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6587 (setrlimit): Likewise.
6588 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6589 Likewise.
6590
ea58f202
WN
65912014-09-23 Will Newton <will.newton@linaro.org>
6592
6593 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6594 _LINUX_ARM_SYSDEP_H include guard too.
6595 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6596 define.
6597
69eb9a18
RV
65982014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6599
6600 * sysdeps/unix/sysv/linux/eventfd.c:
6601 Make first argument unsigned.
6602 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6603 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6604
20e5a5f7
OB
66052014-09-20 Ondřej Bílka <neleai@seznam.cz>
6606
6607 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6608 * socket/sys/socket.h: Likewise
6609 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6610
d3c827e7
AK
66112014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612
6613 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6614
fe1cc35a
AS
66152014-09-17 Arjun Shankar <arjun.is@lostca.se>
6616
6617 * time/tst-ftime.c: New test.
6618 * time/Makefile (tests): Add tst-ftime.
6619
4e8afe69
JM
66202014-09-17 Joseph Myers <joseph@codesourcery.com>
6621
c4fe3ea7
JM
6622 * soft-fp/extended.h: Fix comment formatting.
6623 * soft-fp/op-1.h: Likewise.
6624 * soft-fp/op-2.h: Likewise.
6625 * soft-fp/op-4.h: Likewise.
6626 * soft-fp/op-8.h: Likewise.
6627 * soft-fp/op-common.h: Likewise.
6628 * soft-fp/soft-fp.h: Likewise.
6629
4e8afe69
JM
6630 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6631
af296fcd
JM
66322014-09-16 Joseph Myers <joseph@codesourcery.com>
6633
6634 [BZ #6652]
6635 * Makeconfig (soversions-default-setname): Remove variable.
6636 ($(common-objpfx)soversions.i): Don't pass default_setname to
6637 soversions.awk.
6638 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6639 oldest_abi to abi-versions.awk.
6640 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6641 * config.make.in (oldest-abi): Remove variable.
6642 * configure.ac (--enable-oldest-abi): Remove configure option.
6643 * configure: Regenerated.
6644 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6645 text.
6646 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6647 * scripts/soversions.awk: Do not handle default_setname variable.
6648 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6649 variable.
6650 * sysdeps/mach/hurd/configure: Regenerated.
6651 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6652 variable.
6653 * sysdeps/unix/sysv/linux/configure: Regenerated.
6654
545583d6
SP
66552014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6656
d330b980
SP
6657 * elf/Makefile (CFLAGS-interp.c): Remove.
6658 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6659 path string.
6660 * elf/interp.c: Include generated runtime-linker.h
6661
02657da2
SP
6662 * Makerules (lib%.so): Don't include $(+interp) in
6663 prerequisites.
6664 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6665 * dlfcn/eval.c: Remove file.
6666
653b1080
SP
6667 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6668 macros.
6669
602f80ec
SP
6670 [BZ #17266]
6671 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6672 4.2 and newer.
6673
545583d6
SP
6674 [BZ #17370]
6675 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6676
884ddc50
SP
66772014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 Jakub Jelinek <jakub@redhat.com>
6679
6680 [BZ #17266]
6681 * libio/stdio.h: Check definition of __fortify_function
6682 instead of __extern_always_inline to include bits/stdio2.h.
6683 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6684 check if __extern_always_inline is defined.
6685 [__USE_MISC || __USE_XOPEN]: Likewise.
6686 [__USE_ISOC99] Likewise.
6687 * misc/sys/cdefs.h (__fortify_function): Define only if
6688 __extern_always_inline is defined.
6689 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6690 __extern_always_inline and __extern_inline only for g++-4.3
6691 and newer or a compatible gcc.
6692
a7b87268
AS
66932014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6694
6695 [BZ #17371]
6696 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6697 last change to handle zero prefix length.
6698
3f41521d
SP
66992014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6700
61fe374a
SP
6701 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6702 _SC_REGEX_VERSION.
6703
3f41521d
SP
6704 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6705 _POSIX_RAW_SOCKETS.
6706
d8f879ee
AM
67072014-09-13 Allan McRae <allan@archlinux.org>
6708
6709 * po/ru.po: Update Russian translation from translation project.
6710
c079afb7
RM
67112014-09-12 Roland McGrath <roland@hack.frob.com>
6712
a62b3c15
RM
6713 * locale/programs/locale.c (show_locale_vars): Inline local function
6714 into its sole call site. Clean up some style nits.
6715 (print_item): New function, broken out of ...
6716 (show_info): ... local function here. Clean up style nits.
6717
d7e49b19
RM
6718 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6719 out of ...
6720 (set_class_defaults): ... local function set_default here.
6721 Define set_default as a macro locally to pass constant parameters.
6722 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6723 rather than a shared local.
6724
c079afb7
RM
6725 * stdlib/rpmatch.c (try): New function, broken out of ...
6726 (rpmatch): ... local function here. Also, prototypify definition.
6727
0bd72468
JM
67282014-09-12 Joseph Myers <joseph@codesourcery.com>
6729
ba90e050
JM
6730 * scripts/soversions.awk: Do not handle configuration names.
6731 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6732 vendor and os variables to soversions.awk.
6733 * configure.ac: Do not modify gnu-* host_os.
6734 * configure: Regenerated
6735 * shlib-versions: Remove first column with configuration names.
6736 * nptl/shlib-versions: Likewise.
6737 * nptl_db/shlib-versions: Likewise.
6738 * sysdeps/hppa/shlib-versions: Likewise.
6739 * sysdeps/m68k/shlib-versions: Likewise.
6740 * sysdeps/mach/hurd/shlib-versions: Likewise.
6741 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6742 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6743 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6744 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6745 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6746 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6747 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6748 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6750 Likewise.
6751 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6752 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6753 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6754 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6755 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6756 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6757 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6758 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6759
73a39112
JM
6760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6761 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6763 Regenerated.
6764 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6766 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6767
c729e7c1
JM
6768 * shlib-versions: Remove OS-specific entries. Moved to files in
6769 sysdeps.
6770 * sysdeps/mach/hurd/shlib-versions: New file.
6771 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6772
dc932a24
JM
6773 * nptl/shlib-versions: Remove architecture-specific entries.
6774 Moved to files in sysdeps.
6775 * shlib-versions: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6777 file.
6778 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6779 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6780 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6781 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6782
0bd72468
JM
6783 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6784 (UDP_NO_CHECK6_RX): Likewise.
6785
920238e0
SP
67862014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6787
6788 * sysdeps/posix/sysconf.c (__sysconf): Spell
6789 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6790
ba7b4d29
FW
67912014-08-12 Florian Weimer <fweimer@redhat.com>
6792
6793 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6794 loading.
6795 * iconv/Versions (__gconv_transliterate): Export for use from
6796 gconv modules.
6797 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6798 (struct __gconv_trans_data, __gconv_trans_fct,
6799 __gconv_trans_context_fct, __gconv_trans_query_fct,
6800 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6801 definitions.
6802 (struct __gconv_step_data): Remove __trans member.
6803 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6804 longer hidden. Remove unused trans_data argument.
6805 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6806 (__gconv_translit_find): Remove declaration.
6807 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6808 prototype.
6809 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6810 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6811 trans_data argument. Add hidden definition.
6812 (__gconv_translit_find): Remove.
6813 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6814 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6815 * iconv/skeleton.c: Remove transliteration initialization.
6816 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6817 __gconv_step_data initialization.
6818 * libio/iofwide.c (__libio_translit_): Remove.
6819 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6820 * wcsmbs/btowc.c (__btowc): Likewise.
6821 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6822 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6823 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6824 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6825 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6826 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6827 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6828 * wcsmbs/wctob.c (wctob): Likewise.
6829
5379aebd
SP
68302014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6831
6832 [BZ #16194]
6833 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6834 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6835 register usage.
6836 * sysdeps/x86/Makefile: Adjust.
6837
8c0ab919
RM
68382014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6839 Roland McGrath <roland@hack.frob.com>
6840
6841 * locale/weight.h: Add include guard.
6842 (findidx): Make static rather than auto; take new parameters
6843 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6844 * locale/weightwc.h: Likewise.
6845 * posix/fnmatch_loop.c
6846 (FCT): Change type of EXTRA from int32_t to wint_t.
6847 Don't include either header inside the function.
6848 Call FINDIDX rather than findidx, and pass new arguments.
6849 #undef FINDIDX at the end of the file.
6850 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6851 FINDIDX before including fnmatch_loop.c for the non-wide version.
6852 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6853 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6854 for the wide version.
6855 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6856 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6857 Pass new arguments to findidx.
6858 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6859 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6860 Don't #include it inside the function. Pass new arguments to findidx.
6861 * posix/regex_internal.h
6862 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6863 (re_string_elem_size_at): Don't #include it inside the function.
6864 Pass new arguments to findidx.
6865 * string/strcoll_l.c: #include WEIGHT_H at top level.
6866 (get_next_seq): Don't #include it inside the function.
6867 Pass new arguments to findidx.
6868 (get_next_seq_nocache): Likewise.
6869 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6870 (STRXFRM): Don't #include it inside the function.
6871 Pass new arguments to findidx.
6872
52ffbdf2
FW
68732014-09-11 Florian Weimer <fweimer@redhat.com>
6874
6875 [BZ #17344]
6876 * malloc/malloc.c (unlink): Turn asserts into a call to
6877 malloc_printerr.
6878
984c0ea9
TL
68792014-09-11 Tim Lammens <tim.lammens@gmail.com>
6880
6881 [BZ #17370]
6882 * libio/wfileops (do_ftell_wide): Free OUT.
6883
3daee107
CM
68842014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6885
6886 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6887
58b930ae
SP
68882014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6889
6890 [BZ #17363]
6891 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6892 group if the current group is empty.
6893
3b473fec
AZ
68942014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
71ae8647
AZ
6896 * benchtests/bench-memset.c (test_main): Add more test from size
6897 from 32 to 512 bytes.
6898 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6899 Add POWER8 memset object.
6900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6901 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6902 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6903 implementation.
6904 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6905 Likewise.
6906 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6907 multiarch POWER8 memset optimization.
6908 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6909 POWER8 memset optimization.
6910
3b473fec
AZ
6911 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6912 Remove bzero multiarch objects.
6913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6914 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6915 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6916 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6917 Remove define.
6918 [__bzero]: Redefine to specific name.
6919 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6920 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6921 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6922 define.
6923 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6924 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6925
e6fb9587
FW
69262014-09-10 Florian Weimer <fweimer@redhat.com>
6927
6928 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6929 warnings into errors.
6930
6931 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6932 __cxa_thread_atexit_impl prototype.
6933
9d3a350b
SE
69342014-09-09 Steve Ellcey <sellcey@mips.com>
6935
6936 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6937 Fix capitalization of error message.
6938
0febba23
SE
69392014-09-09 Steve Ellcey <sellcey@mips.com>
6940
6941 * sysdeps/mips/preconfigure: Modify ABI tests.
6942
645a0e9c
CD
69432014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6944
6945 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6946
d83f0734
CD
69472014-09-07 Roland McGrath <roland@hack.frob.com>
6948 Carlos O'Donell <carlos@systemhalted.org>
6949
6950 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6951 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6952 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6953 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6954 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6955 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6956 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6957 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6958 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6959 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6960 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6961 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6962 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6963 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6964 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6965 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6966 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6967 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6968 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6969 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6970 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6971 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6972 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6973 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6974 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6975 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6976 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6977 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6978 Deconditionalize the code that was previously under [RESET_PID].
6979 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6980 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6981 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6982 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6983 include sysdep.h.
6984
21c83793
AM
69852014-09-08 Allan McRae <allan@archlinux.org>
6986
6987 * version.h (RELEASE): Set to "development".
6988 (VERSION): Set to "2.20.90"
6989
1cd9b65c
AM
69902014-09-07 Allan McRae <allan@archlinux.org
6991
b8079dd0
AM
6992 * version.h (RELEASE): Set to "stable".
6993 (VERSION): Set to "2.20"
6994 * include/features.h (__GLIBC_MINOR__): Set to 20.
6995
c46303ef
AM
6996 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6997 Liebler.
6998
1cd9b65c
AM
6999 * po/ko.po: Update Korean translation from translation project.
7000
8622092d
CM
70012014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7002
7003 [BZ #17354]
7004 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7005 macro for handling signed relocations.
7006
41488498
FW
70072014-09-03 Florian Weimer <fweimer@redhat.com>
7008
7009 [BZ #17325]
7010 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7011 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7012 assert.
7013 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7014 * iconvdata/ibm935.c (BODY): Likewise.
7015 * iconvdata/ibm937.c (BODY): Likewise.
7016 * iconvdata/ibm939.c (BODY): Likewise.
7017 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7018 assert.
7019 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7020 script.
7021 * iconvdata/run-iconv-test.sh: New test loop for checking for
7022 decoder crashers.
7023
a78b712d
KR
70242014-09-02 Khem Raj <raj.khem@gmail.com>
7025
7026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7027 libm_hidden_ver.
7028
cb08abc6
AM
70292014-09-01 Allan McRae <allan@archlinux.org>
7030
2c31e102
AM
7031 * po/eo.po: Update Esperanto translation from translation project.
7032
cb08abc6
AM
7033 * po/ca.po: Update Catalan translation from translation project.
7034
17a62de1
ST
70352014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7036
7037 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7038 __proc_dostop call.
7039
9570bc53
MW
70402014-08-27 Mark Wielaard <mjw@redhat.com>
7041
7042 [BZ #17319]
7043 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7044 to call set_thread_area instead of hand written asm.
7045 (__NR_set_thread_area): Removed define.
7046 (TLS_FLAG_WRITABLE): Likewise.
7047 (__ASSUME_SET_THREAD_AREA): Remove check.
7048 (TLS_EBX_ARG): Remove define.
7049 (TLS_LOAD_EBX): Likewise.
7050
b0f955c9
ST
70512014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7052
7053 Simplify atomicity of socket creation in bind.
7054
7055 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7056 looking up the name after linking the file.
7057
529bf515
AM
70582014-08-27 Allan McRae <allan@archlinux.org>
7059
7060 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7061
a1a6a401
FW
70622014-08-26 Florian Weimer <fweimer@redhat.com>
7063
7064 [BZ #17187]
7065 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7066 trans_compare, open_translit, __gconv_translit_find):
7067 Remove module loading code.
7068
686ab290
AM
70692014-08-26 Allan McRae <allan@archlinux.org>
7070
e4e7cfd2
AM
7071 * po/vi.po: Update Vietnamese translation from translation project.
7072
6aa09f71
AM
7073 * po/uk.po: Update Ukrainian translation from translation project.
7074
edc0660e
AM
7075 * po/fr.po: Update French translation from translation project.
7076
7eea72ac
AM
7077 * po/ru.po: Update Russian translation from translation project.
7078
93c49eff
AM
7079 * po/pl.po: Update Polish translation from translation project.
7080
46acaf63
AM
7081 * po/cs.po: Update Czech translation from translation project.
7082
a9f5ce98
AM
7083 * po/de.po: Update German translation from translation project.
7084
373f2b78
AM
7085 * po/bg.po: Update Bulgarian translation from translation project.
7086
e7548bd8
AM
7087 * po/sv.po: Update Sweedish translation from translation project.
7088
c526bf4d
AM
7089 * po/nl.po: Update Dutch translation from translation project.
7090
686ab290
AM
7091 * po/es.po: Update Spanish translation from translation project.
7092
eb72478a
SP
70932014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7094
dd763fdb
SP
7095 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7096
318c7a58
SP
7097 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7098 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7099 (CPPFLAGS-iconvconfig): Likewise.
7100 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7101
eb72478a
SP
7102 * include/libc-symbols.h: Remove unnecessary check for
7103 NOT_IN_libc.
7104 * nptl/pthreadP.h: Likewise.
7105 * sysdeps/aarch64/setjmp.S: Likewise.
7106 * sysdeps/alpha/setjmp.S: Likewise.
7107 * sysdeps/arm/sysdep.h: Likewise.
7108 * sysdeps/i386/setjmp.S: Likewise.
7109 * sysdeps/m68k/setjmp.c: Likewise.
7110 * sysdeps/posix/getcwd.c: Likewise.
7111 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7113 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7114 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7115 * sysdeps/sh/sh3/setjmp.S: Likewise.
7116 * sysdeps/sh/sh4/setjmp.S: Likewise.
7117 * sysdeps/unix/alpha/sysdep.h: Likewise.
7118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7120 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7121 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7126 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7129 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7131 * sysdeps/x86_64/setjmp.S: Likewise.
7132
d44a052c
JM
71332014-08-13 Joseph Myers <joseph@codesourcery.com>
7134
7135 [BZ #17263]
7136 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7137 <stdint.h>.
7138 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7139 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7140
508ce3ac
SP
71412014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7142
e44c8b0e
SP
7143 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7144
508ce3ac
SP
7145 [BZ #17262]
7146 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7147 and __x86_64__ when disabling x87 inline functions.
7148
b4acef1f
L
71492014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7150
7151 [BZ #17259]
7152 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7153 asm statement with __cpuid_count.
7154
61b1ef6e
MF
71552014-08-12 Mike Frysinger <vapier@gentoo.org>
7156
7157 * configure.ac: Change __ehdr_start code to dereference the struct.
7158 Run readelf on the output to look for relocations.
7159 * configure: Regenerated.
7160
898c62f4
JM
71612014-08-12 Joseph Myers <joseph@codesourcery.com>
7162
7163 [BZ #17261]
7164 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7165 value to 0.
7166 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7167
9a8a5720
RM
71682014-08-12 Roland McGrath <roland@hack.frob.com>
7169
7170 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7171
4e75751c
BO
71722014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7173
7174 [BZ #16892]
7175 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7176 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7177
bb2ce416
SA
71782014-08-12 Sean Anderson <seanga2@gmail.com>
7179
7180 * malloc/malloc.c: Fix typo in comment.
7181
7950a4ee
AM
71822014-08-09 Allan McRae <allan@archlinux.org>
7183
7184 * Regenerate libc.po.
7185
f469c49f
MF
71862014-08-08 Mike Frysinger <vapier@gentoo.org>
7187
7188 * intl/tst-gettext2.sh: Check every lang file for creation.
7189
656b84c2
WD
71902014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7191
7192 * sysdeps/aarch64/fpu/math_private.h
7193 (libc_feholdsetround_noex_aarch64_ctx): New function.
7194
538e9e45
W
71952014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7196
7197 * sysdeps/arm/armv6/strcpy.S (strcpy):
7198 Fix performance issue in misaligned cases.
7199
d4795e4a
AZ
72002014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7201
7202 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7203 Move definition from termios.h.
7204 (struct termio): Likewise.
7205 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7206 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7207 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7208 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7209 Likewise.
7210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7211 Move definition to ioctl-types.h
7212 (struct termio): Likewise.
7213 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7214 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7215 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7216 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7217 Likewise.
7218
64accb62
RH
72192014-08-05 Richard Henderson <rth@redhat.com>
7220
27bb6dc0
RH
7221 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7222 exceptions.
7223 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7224 Add fraiseexcpt.
7225 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7226 Use __feraiseexcept.
7227 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7228 Protect libm symbols with IS_IN_libm.
7229
64accb62
RH
7230 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7231
e5292691
BO
72322014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7233
7234 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7235
5b4bd2d4
WN
72362014-08-04 Will Newton <will.newton@linaro.org>
7237
7238 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7239 file.
7240
fcadaeef
MF
72412014-08-04 Mike Frysinger <vapier@gentoo.org>
7242
7243 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7244 variants for each function.
7245
43a94c64
RM
72462014-08-04 Roland McGrath <roland@hack.frob.com>
7247
7248 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7249 appended ...
7250 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7251 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7252 appended ...
7253 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7254 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7255 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7256 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7257 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7258 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7259 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7260 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7261 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7262 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7265 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7266 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7267 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7268 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7269 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7270 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7271 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7272 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7273 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7275 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7276 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7277 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7279 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7281 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7283 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7284 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7285 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7286 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7287 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7288 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7289 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7290 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7292 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7293 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7294 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7295 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7296 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7297 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7298 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7299 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7300 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7301 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7302 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7303 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7304 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7305 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7306 Update #include.
7307 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7308 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7309
8f3c1fa4
RM
73102014-08-04 Roland McGrath <roland@hack.frob.com>
7311
7312 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7313 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7314 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7315 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7316 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7317 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7318
ca08746f
RM
73192014-08-04 Roland McGrath <roland@hack.frob.com>
7320
7321 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7322 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7323 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7324 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7325
9c925ff9
RM
73262014-08-04 Roland McGrath <roland@hack.frob.com>
7327
7328 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7329 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7330 (__libc_vfork): Define function under this name.
7331 (__vfork): Define as an alias.
7332 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7333 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7334
e641054c
RM
73352014-08-04 Roland McGrath <roland@hack.frob.com>
7336
7337 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7338 that was previously under [RESET_PID].
7339 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7340
dacdc867
AS
73412014-08-04 Andreas Schwab <schwab@suse.de>
7342
7343 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7344
41f725ff
MF
73452014-08-03 Mike Frysinger <vapier@gentoo.org>
7346
7347 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7348 (main): Likewise.
7349
277cfb31
RM
73502014-08-01 Roland McGrath <roland@hack.frob.com>
7351
7352 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7353
4896f049
RH
73542014-08-01 Richard Henderon <rth@redhat.com>
7355
7356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7357 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7358 typo in exact zero test.
7359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7360 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7362
6f64e7d7
RM
73632014-08-01 Roland McGrath <roland@hack.frob.com>
7364
7365 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7366 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7367 * sysdeps/arm/sysdep.h: ... here.
7368 [!__ASSEMBLER__]: Include <stdint.h>.
7369
3f3dd810
SP
73702014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7371
a476ac4b
SP
7372 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7373 (HAVE_WCTYPE_H): Likewise.
7374 (HAVE_ISWCTYPE): Likewise.
7375 (ENABLE_NLS): Likewise.
7376 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7377 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7378
78dd658a
SP
7379 * posix/regex_internal.c: Check if DEBUG is defined and is
7380 set.
7381
3f3dd810
SP
7382 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7383 (HAVE_MBSRTOWCS): Likewise.
7384 * posix/fnmatch.c: Include string.h unconditionally.
7385
95ee7fb1
SL
73862014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7387
7388 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7389 reversal.
7390
23fe486b
RM
73912014-07-31 Roland McGrath <roland@hack.frob.com>
7392
f61a113f
RM
7393 * sysdeps/generic/safe-fatal.h: New file.
7394 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7395 * nptl/forward.c: Include it.
7396 (__pthread_unwind): Use __safe_fatal as default action, rather
7397 than a bogus use of INTERNAL_SYSCALL that could never work.
7398
9fe7e787
RM
7399 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7400 * configure.ac (libc_cv_builtin_trap): New test.
7401 * configure: Regenerated.
7402 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7403 (ABORT_INSTRUCTION): Define using __builtin_trap.
7404
23fe486b
RM
7405 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7406 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7407 * sysdeps/nptl/nptl-signals.h: New file.
7408 * nptl/pthreadP.h: Include <nptl-signals.h>.
7409
f349489e
SL
74102014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7411
7412 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7413 (ONE_DIRECTION): Define.
7414 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7415 (ONE_DIRECTION): Define.
7416 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7417 (ONE_DIRECTION): Define.
7418
2f438e20
SL
74192014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7420
7421 * sysdeps/s390/Makefile: Delete file.
7422 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7423 * sysdeps/s390/__longjmp.c: Delete file.
7424 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7425 Remove fields __flags and __reserved.
7426 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7427 and add versioning.
7428 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7429 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7430 * sysdeps/s390/rtld-setjmp.S: Likewise.
7431 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7432 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7433 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7434 * sysdeps/s390/s390-32/setjmp.S: ... here.
7435 Add versioning.
7436 (__sigsetjmp): Remove setting __flags field.
7437 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7438 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7439 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7440 * sysdeps/s390/s390-64/setjmp.S: ... here.
7441 Add versioning.
7442 (__sigsetjmp): Remove setting __flags field.
7443 * sysdeps/s390/setjmp.S: Delete file.
7444 * sysdeps/s390/sigjmp.c: Likewise.
7445 * sysdeps/s390/v1-longjmp.c: Likewise.
7446 * sysdeps/s390/v1-setjmp.h: Likewise.
7447 * sysdeps/s390/v1-sigjmp.c: Likewise.
7448 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7449 Remove v1-longjmp_chk.
7450 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7451 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7452 Include debug/longjmp_chk.c and add versioning.
7453 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7454 Include nptl/pt-longjmp.c and add versioning.
7455 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7456 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7457 Include __longjmp.c.
7458 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7459 Move to ...
7460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7461 (__getcontext): Remove setting __flags field.
7462 Add versioning.
7463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7464 Don't restore upper high grps.
7465 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7466 Likewise.
7467 (__swapcontext): Remove setting uc_flags field.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7469 Delete file.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7471 Include __longjmp.c.
7472 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7473 Move to ...
7474 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7475 (__getcontext): Remove setting __flags field.
7476 Add versioning.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7478 (__swapcontext): Remove setting uc_flags field.
7479 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7480 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7481 Remove fields uc_high_gprs and __reserved.
7482 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7483 New file with reverted content.
7484 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7485 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7486 Regenerated.
7487 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7488 Regenerated.
7489
6c9578a2
AS
74902014-07-31 Andreas Schwab <schwab@suse.de>
7491
7492 * config.h.in (HAVE_IFUNC): Define to 0.
7493 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7494 definedness.
7495
05f3633d
LM
74962014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7497
7498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7499 memmove-avx-unaligned, memcpy-avx-unaligned and
7500 mempcpy-avx-unaligned.
7501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7502 Add tests for AVX memcpy functions.
7503 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7504 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7505 memcpy_chk.
7506 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7507 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7508 memmove_chk.
7509 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7510 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7511 mempcpy_chk.
7512 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7513 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7514 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7515
a53fbd8e
AZ
75162013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
7518 [BZ #17213]
7519 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7520 powerpc64le.
7521
0961f7e1
JL
75222014-07-29 Jeff Layton <jlayton@poochiereds.net>
7523
7524 [BZ #16839]
7525 * manual/llio.texi: Add section about open file description locks.
7526 * manual/examples/ofdlocks.c: Example of open file description
7527 lock usage.
7528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7529 F_OFD_SETLK, and F_OFD_SETLKW.
7530
cc5fb300
AM
75312014-07-23 Allan McRae <allan@archlinux.org>
7532
7533 * po/es.po: Update Spanish translation from translation project.
7534
23329dca
AS
75352014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7536
7537 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7538
9c82da17
MR
75392014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7540
7541 [BZ #17078]
7542 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7543 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7544 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7545
29c4f53e
JM
75462014-07-17 Joseph Myers <joseph@codesourcery.com>
7547
831b9896
JM
7548 [BZ #17088]
7549 * math/fesetenv.c (__fesetenv)
7550 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7551 * math/feupdateenv.c (__feupdateenv)
7552 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7553
b21c2d50
JM
7554 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7555 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7556 (__ASSUME_SOCKETCALL): Do not define.
7557
067764ef
JM
7558 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7559 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7560 (__ASSUME_SOCKETCALL): Do not define.
7561 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7562 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7563 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7564 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7565 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7566 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7567 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7568 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7569
642530c1
JM
7570 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7571 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7572 (__ASSUME_SOCKETCALL): Do not define.
7573 (__ASSUME_IPC64): Define unconditionally.
7574 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7575 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7576 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7577 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7578 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7579 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7580 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7581 Likewise.
7582
03f77315
JM
7583 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7584 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7585 (__ASSUME_SOCKETCALL): Do not define.
7586 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7587 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7588 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7589 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7590 (__ASSUME_REQUEUE_PI): Define unconditionally.
7591 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7592 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7593 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7594 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7595 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7596 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7597
083b1f7c
JM
7598 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7599 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7600 (__ASSUME_SOCKETCALL): Do not define.
7601 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7602 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7603 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7604 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7605 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7606 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7607
5be44ea6
JM
7608 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7609 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7610 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7611 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7612 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7613 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7614 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7615 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7616 (__ASSUME_GETCPU_SYSCALL): Likewise.
7617
d95ffd4c
JM
7618 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7619 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7620 cases for individual architectures.
7621 * sysdeps/gnu/configure: Regenerated.
7622 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7623 LIBC_SLIBDIR_RTLDDIR.
7624 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7625 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7626 LIBC_SLIBDIR_RTLDDIR.
7627 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7629 LIBC_SLIBDIR_RTLDDIR.
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7631 Regenerated.
7632 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7633 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7634 file.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7637 file.
7638 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7639 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7640 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7641 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7642
29c4f53e
JM
7643 * sysdeps/aarch64/shlib-versions: Move to ...
7644 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7645 * sysdeps/alpha/shlib-versions: Move to ...
7646 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7647 * sysdeps/arm/shlib-versions: Move to ...
7648 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7649 * sysdeps/hppa/shlib-versions: Move all contents except for
7650 libgcc_s entry to ...
7651 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7652 entry from ...
7653 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7654 * sysdeps/ia64/shlib-versions: Move to ...
7655 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7656 entry from ...
7657 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7658 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7659 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7660 * sysdeps/microblaze/shlib-versions: Move to ...
7661 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7662 * sysdeps/mips/shlib-versions: Move to ...
7663 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7664 entry from ...
7665 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7666 * sysdeps/tile/shlib-versions: Move to ...
7667 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7668 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7669 from ...
7670 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7672 entry from ...
7673 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7674
32bead5b
WN
76752014-07-17 Will Newton <will.newton@linaro.org>
7676
57977c4b
WN
7677 * sysdeps/arm/bits/atomic.h
7678 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7679 (__arch_compare_and_exchange_bool_16_int): Likewise.
7680 (__arch_compare_and_exchange_bool_64_int): Likewise.
7681
32bead5b
WN
7682 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7683 into an #else block.
7684
37fccd41
RM
76852014-07-16 Roland McGrath <roland@hack.frob.com>
7686
7687 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7688 just Linux configurations. Test empirically that the compiler sets
7689 __ARM_EABI__, rather than using the tuple to decide.
7690 * sysdeps/arm/preconfigure: Regenerated.
7691 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7692 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7693 contents appended ...
7694 * sysdeps/arm/configure.ac: ... here.
7695 * sysdeps/arm/configure: Regenerated.
7696
b365f3ec
RM
76972014-07-15 Roland McGrath <roland@hack.frob.com>
7698
8badf496
RM
7699 * nptl/pthread_kill.c: New file.
7700 * nptl/pthread_sigmask.c: New file.
7701 * nptl/pthread_sigqueue.c: New file.
7702
3df6f22e
RM
7703 * sysdeps/nptl/lowlevellock.h: New file.
7704 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7705 * sysdeps/nptl/lowlevellock-futex.h: New file.
7706
b365f3ec
RM
7707 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7708 Remove dead declarations.
7709
f2fef657
L
77102014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7711
7712 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7713 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7714 config-cflags-avx2.
7715 * sysdeps/x86_64/configure.ac: Likewise.
7716 * sysdeps/i386/configure: Regenerated.
7717 * sysdeps/x86_64/configure: Likewise.
7718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7719 memset-avx2 only if config-cflags-avx2 is yes.
7720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7721 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7722 defined.
7723 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7724 only if HAVE_AVX2_SUPPORT is defined.
7725 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7726
f6c44d47
AM
77272014-07-14 Alan Modra <amodra@gmail.com>
7728
7729 [BZ #17153]
7730 * elf/elf.h (DT_PPC64_NUM): Correct value.
7731 * NEWS: Add to fixed bug list.
7732
7ee03f00
JM
77332014-07-13 Jim Meyering <meyering@fb.com>
7734
7735 [BZ 17150]
7736 regex: don't deref NULL upon heap allocation failure
7737 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7738 failure in one more place.
7739 To trigger the segfault, configure grep -with-included-regex,
7740 build it, and run these commands:
7741 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7742
9d39d517
AS
77432014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7744
7745 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7746
a75b89b7
RH
77472014-07-11 Richard Henderson <rth@redhat.com>
7748
7749 * sysdeps/aarch64/libm-test-ulps: Update.
7750
771eb141
FW
77512014-07-10 Florian Weimer <fweimer@redhat.com>
7752
7753 [BZ #17135]
7754 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7755 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7756 (__nptl_setxid): Initialize error member. Call
7757 __nptl_setxid_error.
7758 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7759 * nptl/descr.h (struct xid_command): Add error member.
7760 * nptl/tst-setuid3.c: New file.
7761 * nptl/Makefile (tests): Add it.
7762
bc1da176
AZ
77632014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7764
7765 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7766 New define.
7767 (__lll_trylock): Use __lll_base_trylock.
7768 (__lll_cond_trylock): Likewise.
7769
887865fc
RM
77702014-07-10 Roland McGrath <roland@hack.frob.com>
7771
c0c6bac9
RM
7772 * nptl/pthread_create.c (start_thread): Use atomic_or and
7773 lll_futex_wake directly rather than lll_robust_dead.
7774 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7775 (lll_robust_dead): Macro removed.
6a42be57 7776 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7777 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7778 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7779 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7781 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7782 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7783 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7784 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7786 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7787 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7789 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7790 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7791
887865fc
RM
7792 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7793 Use atomic_compare_and_exchange_val_acq directly rather than
7794 lll_robust_trylock.
7795 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7796 (__lll_robust_trylock, lll_robust_trylock): Removed.
7797 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7798 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7799 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7800 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7801 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7802 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7803 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7804 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7809 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7810 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7811
58536726
FW
78122014-07-02 Florian Weimer <fweimer@redhat.com>
7813
7814 * manual/locale.texi (Locale Names): New section documenting
7815 locale name syntax. Adjust menu and node chaining accordingly.
7816 (Choosing Locale): Reference Locale Names, Locale Categories.
7817 Mention setting LC_ALL=C. Reflect that name syntax is now
7818 documented.
7819 (Locale Categories): New section title. Reference Locale Names.
7820 LC_ALL is an environment variable, but not a category.
7821 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7822 description, now in Locale Name. Reference that section. Locale
7823 name syntax is now documented.
7824
4e8f95a0
FW
78252014-07-02 Florian Weimer <fweimer@redhat.com>
7826
7827 [BZ #17137]
7828 * locale/findlocale.c (name_present, valid_locale_name): New
7829 functions.
7830 (_nl_find_locale): Use the loc_name variable to store name
7831 candidates. Call name_present and valid_locale_name to check and
7832 validate locale names. Return an error if the locale is invalid.
7833
d1836456
FW
78342014-07-02 Florian Weimer <fweimer@redhat.com>
7835
7836 * locale/setlocale.c (setlocale): Use strdup for allocating
7837 composite name copy.
7838
d69b7f5a
SP
78392014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7840
888c679b
SP
7841 Sync up with gnulib.
7842 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7843 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7844 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7845 and _GL_ARG_NONNULL.
7846 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7847 [!_LIBC]: Include code for Windows and Cygwin.
7848 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7849 Include prototype for int strerror_r.
7850 [!_LIBC] (is_open): New function.
7851 (flush_stdout): New function.
7852 (print_errno_message): Use it.
7853 (error): Likewise.
7854 (error_at_line): Likewise.
7855 (error_tail) Add function attribute macros. Use
7856 __builtin_expect.
7857
180e0e4b
SP
7858 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7859
d22f1fe2
SP
7860 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7861
12f2254b
SP
7862 * io/ftw.c: Include sys/param.h unconditionally.
7863
c3c7c360
SP
7864 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7865
d62aa75a
SP
7866 [BZ #17125]
7867 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7868 libc_freeres_ptr.
7869 (freecache): New function to free CACHE on exit.
7870
d69b7f5a
SP
7871 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7872 initialization.
7873
5efe06a1
DM
78742014-07-09 David S. Miller <davem@davemloft.net>
7875
7876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7877
7000d82e
DM
7878 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7879 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7880 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7881 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7882 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7883 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7884 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7885 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7886 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7887 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7888 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7889 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7890 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7891
c213442d
AS
78922014-07-09 Andreas Schwab <schwab@suse.de>
7893
4a2552c3
AS
7894 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7895 output.
7896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7897 (do_test): Likewise.
7898
c213442d
AS
7899 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7900
82374e65
WN
79012014-07-09 Will Newton <will.newton@linaro.org>
7902
7903 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7904 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7905 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7906 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7907 * sysdeps/hppa/start.S (_start): Likewise.
7908
6680738a
SP
79092014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7910
6ee3eab4
SP
7911 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7912
6680738a
SP
7913 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7914 defined.
7915
80b5c505
SP
79162014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7917
e35c53e3
SP
7918 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7919 after checking that it is non-NULL.
7920
80b5c505
SP
7921 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7922
91f4b564
AZ
79232014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7924
27b75f56
AZ
7925 * sysdeps/powerpc/memmove.c: Remove file.
7926 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7927 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7928 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7929 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7930 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7931 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7932 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7933 string memmove instead of removed powerpc one.
7934
e7f95bb5
AZ
7935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7936 [weak_alias]: Fix compiler warning due trailing data.
7937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7938 [weak_alias]: Likewise.
7939 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7940 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7941
91f4b564
AZ
7942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7943 (__libc_ifunc_impl_list): Add memmove functions.
7944
7c33f1e5
SP
79452014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7946
7947 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7948 Remove code.
7949 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7950 Likewise
7951 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7952 Likewise
7953 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7954 Likewise
7955 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7956 Likewise
7957 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7958 Likewise
7959 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7960 Likewise
7961 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7962 Likewise
7963 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7964 Likewise
7965 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7966 Likewise
7967 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7968 Likewise
7969 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7970 Likewise
7971 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7972 Likewise
7973 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7974 Likewise
7975 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7976 Likewise
7977 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7978 Likewise
7979 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7980 Likewise
7981
3f17b03b
AZ
79822014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
87868c24
AZ
7984 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7985 to avoid alignment traps in non-cacheable memory.
7986 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7987
07aedd78
AZ
7988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7989 multiarch objects.
7990 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7991 file: multiarch power7 memmove.
7992 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7993 multiarch default memmove.
7994 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7995 multiarch memove for powerpc32/power4.
7996
17762f66
AZ
7997 * string/bcopy.c: Use full path to include memmove.c.
7998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7999 multiarch objects.
8000 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8001 bcopy for powerpc64.
8002 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8003 bcopy for powerpc64.
8004 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8005 and memmove implementations.
8006 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8007 optimized multiarch memmove for POWER7/powerpc64.
8008 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8009 default multiarch memmove for powerpc64.
8010 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8011 multiarch for powerpc64.
8012 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8013 for POWER7/powerpc64.
8014 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8015 memmove for POWER7/powerpc64.
8016
d6f68bbe
AZ
8017 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8018 glibc default one.
8019
3f17b03b
AZ
8020 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8021 __ELF_NATIVE_CLASS equal to 64.
8022
08192659
RM
80232014-07-07 Roland McGrath <roland@hack.frob.com>
8024
f4c4021b
RM
8025 * sysdeps/nptl/lowlevellock.h: File removed.
8026
f083450f
RM
8027 * NEWS: NPTL is no longer an add-on!
8028 * nptl/internaltypes.h: Moved ...
8029 * sysdeps/nptl/internaltypes.h: ... here.
8030 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8031 * sysdeps/nptl/fork.c: Likewise.
8032 * sysdeps/nptl/gai_misc.h: Likewise.
8033 * sysdeps/nptl/librt-cancellation.c: Likewise.
8034 * sysdeps/nptl/jmp-unwind.c: Likewise.
8035 * sysdeps/nptl/setxid.h: Likewise.
8036 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8037 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8038 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8039 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8040 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8041 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8042 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8043 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8044 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8045 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8046 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8047 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8048 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8049 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8050 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8051 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8052 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8053 * nptl/Makeconfig: Moved ...
8054 * sysdeps/nptl/Makeconfig: ... here.
8055 * nptl/configure: File removed.
8056 * nptl/ANNOUNCE: File removed.
8057 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8058 * sysdeps/unix/sysv/linux/configure: Regenerated.
8059
08192659
RM
8060 * nptl/Makefile (routines): Add libc_pthread_init,
8061 libc_multiple_threads, register-atfork and unregister-atfork.
8062 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8063 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8064 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8065 pthread-pi-defines.sym, structsem.sym.
8066 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8067 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8068 [$(subdir) = nptl] (tests): Add tst-setgetname.
8069 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8070 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8071 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8072 [!LIBC_SIGACTION]: Remove aliases.
8073 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8074 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8075 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8076 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8077 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8078 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8082 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8083 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8084 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8085 __libc_allocate_rtsig_private.
8086 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8087 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8088 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8089 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8090 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8091 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8092 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8093 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8094 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8095 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8096 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8097 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8098 * nptl/internaltypes.h: ... here.
8099 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8100 * sysdeps/nptl/jmp-unwind.c: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8102 * nptl/libc-lowlevellock.c: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8104 * nptl/libc_multiple_threads.c: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8106 * nptl/libc_pthread_init.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8108 * nptl/lowlevelbarrier.sym: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8110 * nptl/lowlevelcond.sym: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8112 * nptl/lowlevellock.c: ... here.
8113 * nptl/lowlevellock.h: Moved ...
8114 * sysdeps/nptl/lowlevellock.h: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8116 * nptl/lowlevelrobustlock.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8118 * nptl/lowlevelrobustlock.sym: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8120 * nptl/lowlevelrwlock.sym: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8122 * nptl/pt-fork.c: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8124 * nptl/pthread-pi-defines.sym: ... here.
8125 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8126 * nptl/pthread_attr_getaffinity.c: ... here.
8127 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8128 * nptl/pthread_attr_setaffinity.c: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8130 * nptl/pthread_mutex_cond_lock.c: ... here.
8131 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8132 Update #include.
8133 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8134 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8135 * nptl/pthread_once.c: ... here, replacing old file.
8136 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8137 * nptl/pthread_yield.c: ... here.
8138 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8139 * nptl/register-atfork.c: ... here.
8140 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8141 * nptl/sem_post.c: ... here.
8142 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8143 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8144 * nptl/sem_timedwait.c: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8146 * nptl/sem_trywait.c: ... here.
8147 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8148 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8149 * nptl/sem_wait.c: ... here.
8150 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8151 * nptl/structsem.sym: ... here.
8152 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8153 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8154 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8155 * nptl/unregister-atfork.c: ... here.
8156 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8157 * nptl/unwindbuf.sym: ... here.
8158 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8159 * sysdeps/nptl/fork.c: ... here.
8160 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8161 * sysdeps/nptl/fork.h: ... here.
8162 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8163 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8164 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8166 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8168 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8170 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8172 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8174 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8176 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8178 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8180 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8182 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8184 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8186 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8188 * sysdeps/unix/sysv/linux/raise.c: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8190 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8192 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8194 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8196 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8198 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8200 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8202 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8203 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8204
96baf6ff
SP
82052014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8206
8207 * sysdeps/generic/memcopy.h: Add comment for
8208 MEMCPY_OK_FOR_FWD_MEMMOVE.
8209
6b7b14b2
WN
82102014-07-04 Will Newton <will.newton@linaro.org>
8211
1570a72b
WN
8212 * string/memchr.c: Merge from gnulib.
8213 [_LIBC]: Remove conditionals.
8214 (__ptr_t): Remove define.
8215 (LONG_MAX_32_BITS): Likewise.
8216 (LONG_MAX): Likewise.
8217 (MEMCHR): Use ANSI prototype and optimize algorithm.
8218
6b7b14b2
WN
8219 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8220
38851324
SP
82212014-07-03 Roland McGrath <roland@hack.frob.com>
8222
3d9eb57c
RM
8223 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8224 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8225
78b984ae
RM
8226 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8227 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8228 in a bare environment with no <stdlib.h> installed.
8229 * sysdeps/nptl/configure: Regenerated.
8230
2d5976a5
RM
8231 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8232
c1f5acd4
RM
8233 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8234 AC_EGREP_CPP for kernel header checks, so they only succeed if
8235 including <linux/version.h> actually works right.
8236 * sysdeps/unix/sysv/linux/configure: Regenerated.
8237
4d614fe5
RM
8238 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8239 value so it's not diagnosed as unused.
8240
38851324
SP
8241 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8242 thing) with "ifeq ($(subdir),rt)".
8243
b3ec00e5
RH
82442014-07-03 Richard Henderson <rth@redhat.com>
8245
69862e25
RH
8246 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8247 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8248 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8249
d5e16ade
RH
8250 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8251 (math_force_eval): New.
8252
ca7b945c
RH
8253 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8254 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8255
cd1175a3
RH
8256 * sysdeps/alpha/fpu/s_round.c: Remove file.
8257 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8258
b3ec00e5
RH
8259 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8260 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8261 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8262 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8263 (_dl_start, print_statistics): Likewise.
8264 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8265 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8266
8267 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8268 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8269 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8270 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8272 (HP_SMALL_TIMING_AVAIL): Define.
8273 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8274 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8275 (HP_SMALL_TIMING_AVAIL): Define.
8276 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8277 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8278
8279 * sysdeps/aarch64/hp-timing.h: New file.
8280
8281 * sysdeps/generic/hp-timing.h: Remove dead comment.
8282 * sysdeps/generic/hp-timing-common.h: New file.
8283 * sysdeps/alpha/hp-timing.h: Include it.
8284 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8285 * sysdeps/i386/i686/hp-timing.h: Likewise.
8286 * sysdeps/ia64/hp-timing.h: Likewise.
8287 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8289 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8290 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8291 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8292 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8293 (hp_timing_t): New.
8294
8295 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8296 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8297 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8298 * elf/rtld.c (_dl_start_final): Likewise.
8299 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8300 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8301 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8302 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8303 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8305 (HP_TIMING_DIFF_INIT): Remove.
8306 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8307 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8308 (HP_TIMING_DIFF_INIT): Remove.
8309 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8310 * sysdeps/i386/i686/hp-timing.c: Remove file.
8311 * sysdeps/x86_64/hp-timing.c: Remove file.
8312 * sysdeps/ia64/hp-timing.c: Remove file.
8313 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8314 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8316 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8317
8318 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8319 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8320 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8321 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8322 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8323 (HP_TIMING_ACCUM): Remove.
8324 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8325 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8326 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8327
8328 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8329 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8330 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8331 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8332 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8333 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8335 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8336
8337 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8338
225f410f
MR
83392014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8340
8341 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8342
3247f285
SP
83432014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8344
8345 Sync up with gettext.
8346 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8347 [_MSC_VER]: Include malloc.h
8348 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8349 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8350 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8351 TEMP_FAILURE_RETRY. Cast return of alloca.
8352 [!_LIBC] Call gl_rwlock_init.
8353 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8354
d12704c7
SP
83552014-07-02 Roland McGrath <roland@hack.frob.com>
8356
8357 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8358 before checking its value.
8359
99f8dc92
SP
83602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8361
05fdac77
SP
8362 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8363
99f8dc92
SP
8364 * debug/memcpy_chk.c: Don't include pagecopy.h.
8365 * debug/mempcpy_chk.c: Likewise.
8366 * string/memcpy.c: Likewise.
8367 * string/memmove.c: Likewise.
8368 * sysdeps/powerpc/memmove.c: Likewise.
8369 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8370 definition of PAGE_COPY_FWD_MAYBE here...
8371 * sysdeps/generic/pagecopy.h: ... from here.
8372 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8373
bc8ea385
VR
83742014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8375 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8376
8377 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8379 optimizations.
8380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8381 (__libc_ifunc_impl_list): Likewise.
8382 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8383 multiarch strcat for PPC64.
8384 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8385 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8386
fe5f34e4
RM
83872014-07-02 Roland McGrath <roland@hack.frob.com>
8388
8389 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8390
256aa665
SP
83912014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8392
d4eb8195
SP
8393 * intl/loadmsgcat.c: Remove declaration of
8394 get_sysdep_segment_value.
8395 (get_sysdep_segment_value): Use ISO C style.
8396 (_nl_load_domain): Use ISO C style. Get rid of redundant
8397 semicolon. Fix typo and formatting in comment.
8398 (_nl_unload_domain): Use ISO C style.
8399
256aa665
SP
8400 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8401
b100f9aa
WN
84022014-07-02 Will Newton <will.newton@linaro.org>
8403
8404 * malloc/obstack.c: Merge from gnulib master.
8405 [HAVE_CONFIG_H]: Remove conditional code.
8406 [!_LIBC]: Include config.h.
8407 [!ELIDE_CODE]: Don't include inttypes.h, include
8408 stdint.h unconditionally.
8409 (print_and_abort): Mark as _Noreturn.
8410 (_obstack_allocated_p): Mark as __attribute_pure__.
8411 (obstack_free): Rename to __obstack_free.
8412 [!__attribute__]: Remove conditional code.
8413 * malloc/obstack.h: Merge from gnulib master.
8414 [__cplusplus]: Move conditional down.
8415 [!__attribute_pure__]: Define __attribute_pure__ here
8416 if it is not already defined.
8417 (_obstack_memory_used): Mark as __attribute_pure__.
8418 [!__obstack_free]: Define as obstack_free.
8419 [__GNUC__]: Remove check for ancient NeXT gcc.
8420
c4c41244
PE
84212014-07-02 Will Newton <will.newton@linaro.org>
8422 Paul Eggert <eggert@cs.ucla.edu>
8423
8424 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8425
e1e041c4
SP
84262014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8427
8428 * resolv/gethnamaddr.c: Add comment warning that the file is
8429 not maintained.
8430
ccf431ff
CD
84312014-07-01 Carlos O'Donell <carlos@redhat.com>
8432
d34570a6
CD
8433 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8434 entries.
8435
ccf431ff
CD
8436 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8437 entry for aio_cancel and aio_cancel64.
8438 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8439 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8440 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8441 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8442 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8443 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8444 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8445 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8446 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8447 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8448 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8449 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8450 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8451
ca06321d
RM
84522014-07-01 Roland McGrath <roland@hack.frob.com>
8453
8454 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8455 * nptl/pthread_mutex_lock.c: Likewise.
8456 * nptl/pthread_mutex_timedlock.c: Likewise.
8457 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8458
a1ac3184
RH
84592014-07-01 Richard henderson <rth@redhat.com>
8460
631021e0
RH
8461 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8462 (__isnan, __isnanl): Remove.
8463 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8464
a1ac3184
RH
8465 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8466
0c1d731f
SL
84672014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8468
8469 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8470
76985d3e
SP
84712014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8472
8473 * resolv/nss_dns/dns-host.c (getanswer_r)
8474 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8475
b0cb3096
JM
84762014-07-01 Joseph Myers <joseph@codesourcery.com>
8477
8478 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8479 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8480 undefine.
8481 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8482 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8483
4d76cb39
RM
84842014-07-01 Roland McGrath <roland@hack.frob.com>
8485
8486 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8487 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8488
8489 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8490 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8491
8492 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8493 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8494 ... here.
8495 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8496 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8497
8498 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8499 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8500 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8501 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8502
8503 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8504 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8505 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8506 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8508 Moved ...
8509 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8510 ... here.
8511 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8514 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8515 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8516 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8522 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8523 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8524 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8525 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8526 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8530 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8531 ... here.
8532 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8533 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8534 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8535 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8536 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8537 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8538 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8539 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8540
0cdcad17
DH
85412014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8542
8543 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8544 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8545 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8546 Add sysdep.
8547
9b71d0e3
AZ
85482014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8549
8550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8551
665390c2
JM
85522014-06-30 Joseph Myers <joseph@codesourcery.com>
8553
ae05a9d7
JM
8554 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8555 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8556
a7672a2f
JM
8557 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8558
665390c2
JM
8559 * sysdeps/arm/libm-test-ulps: Regenerated.
8560
d7a05d07
MR
85612014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8562 Roland McGrath <roland@hack.frob.com>
8563
8564 * test-skeleton.c (signal_handler): Kill the whole process group
8565 before killing the child individually.
8566 (main): Report any failure on `setpgid'.
8567
46f1d8a6
RM
85682014-06-30 Roland McGrath <roland@hack.frob.com>
8569
8570 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8571 from _TLS_H to _ARM_NPTL_TLS_H.
8572 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8573 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8574
9c37ec0b
JM
85752014-06-30 Joseph Myers <joseph@codesourcery.com>
8576
ce9c5b3e
JM
8577 [BZ #16539]
8578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8579 (__expm1l): Return argument unchanged when small but not
8580 subnormal.
8581
3a6e9887
JM
8582 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8583 include macro name.
8584 (_FP_UNPACK_RAW_1_P): Likewise.
8585 (_FP_PACK_RAW_1): Likewise.
8586 (_FP_PACK_RAW_1_P): Likewise.
8587 (_FP_MUL_MEAT_1_wide): Likewise.
8588 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8589 (_FP_MUL_MEAT_1_hard): Likewise.
8590 (_FP_DIV_MEAT_1_imm): Likewise.
8591 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8592 (_FP_DIV_MEAT_1_udiv): Likewise.
8593 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8594 (_FP_UNPACK_RAW_2): Likewise.
8595 (_FP_UNPACK_RAW_2_P): Likewise.
8596 (_FP_PACK_RAW_2): Likewise.
8597 (_FP_PACK_RAW_2_P): Likewise.
8598 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8599 (_FP_MUL_MEAT_2_wide): Likewise.
8600 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8601 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8602 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8603 (_FP_MUL_MEAT_2_gmp): Likewise.
8604 (_FP_DIV_MEAT_2_udiv): Likewise.
8605 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8606 (_FP_FRAC_SRL_4): Likewise.
8607 (_FP_FRAC_SRST_4): Likewise.
8608 (_FP_FRAC_SRS_4): Likewise.
8609 (_FP_UNPACK_RAW_4): Likewise.
8610 (_FP_UNPACK_RAW_4_P): Likewise.
8611 (_FP_PACK_RAW_4): Likewise.
8612 (_FP_PACK_RAW_4_P): Likewise.
8613 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8614 (_FP_MUL_MEAT_4_wide): Likewise.
8615 (_FP_MUL_MEAT_4_gmp): Likewise.
8616 (umul_ppppmnnn): Likewise.
8617 (_FP_DIV_MEAT_4_udiv): Likewise.
8618 (__FP_FRAC_ADD_4): Likewise.
8619 (__FP_FRAC_SUB_3): Likewise.
8620 (__FP_FRAC_SUB_4): Likewise.
8621 (__FP_FRAC_DEC_3): Likewise.
8622 (__FP_FRAC_DEC_4): Likewise.
8623 (__FP_FRAC_ADDI_4): Likewise.
8624 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8625 (_FP_FRAC_SRL_8): Likewise.
8626 (_FP_FRAC_SRS_8): Likewise.
8627
9c37ec0b
JM
8628 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8629 include macro name.
8630 (FP_UNPACK_RAW_EP): Likewise.
8631 (FP_PACK_RAW_E): Likewise.
8632 (FP_PACK_RAW_EP): Likewise.
8633 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8634 (_FP_ISSIGNAN): Likewise.
8635 (_FP_ADD_INTERNAL): Likewise.
8636 (_FP_FMA): Likewise.
8637 (_FP_CMP): Likewise.
8638 (_FP_SQRT): Likewise.
8639 (_FP_TO_INT): Likewise.
8640 (_FP_FROM_INT): Likewise.
8641 (FP_EXTEND): Likewise.
8642 (_FP_DIV_MEAT_N_loop): Likewise.
8643
2125f674
MR
86442014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8645
8646 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8647 throughout.
8648
edea4028
JM
86492014-06-29 Joseph Myers <joseph@codesourcery.com>
8650
8651 [BZ #17097]
8652 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8653 result with correct sign in case of exponents that produce
8654 overflow except for X very close to 1.
8655
dd0ba018
PE
86562014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8657
8658 mktime: merge #if/#ifdef usage from glibc
8659 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8660 as that works with both Glibc's and Gnulib's style.
8661 See thread starting at Siddhesh Poyarekar's bug report at:
8662 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8663
64df73c2
SP
86642014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
8666 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8667 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8668 * sysdeps/tile/tilegx/memmove.c: Remove file.
8669
f1eafb41
JM
86702014-06-27 Joseph Myers <joseph@codesourcery.com>
8671
8672 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8673 abi-name definition.
8674 * scripts/soversions.awk: Do not handle or generate ABI lines.
8675 * shlib-versions: Remove ABI entries.
8676 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8677 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8678
58eb0862
RM
86792014-06-27 Roland McGrath <roland@hack.frob.com>
8680
37caf178
RM
8681 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8682 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8683 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8684 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8685 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8686 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8687 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8688 Moved ...
8689 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8690 ... here.
8691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8694 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8696 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8702 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8704 Moved ...
8705 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8707 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8711 Moved ...
8712 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8713 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8714 Moved ...
8715 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8719 Moved ...
8720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8722 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8724 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8725 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8726 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8728 Moved ...
8729 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8733 Moved ...
8734 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8735 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8736 Moved ...
8737 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8739 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8741 Moved ...
8742 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8743 ... here.
8744 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8745 Identical file removed.
8746 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8747 Moved ...
8748 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8750 Identical file removed.
8751 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8752 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8753 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8754 Moved ...
8755 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8757 Identical file removed.
8758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8759 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8760 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8761 Identical file removed.
8762 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8765 Identical file removed.
8766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8769 Identical file removed.
8770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8771 Moved ...
8772 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8774 Identical file removed.
8775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8776 Moved ...
8777 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8781 Identical file removed.
8782 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8783 Moved ...
8784 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8785 ... here.
8786 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8787 Identical file removed.
8788 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8789 Moved ...
8790 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8792 Identical file removed.
8793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8794 Moved ...
8795 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8796 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8801 Moved ...
8802 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8804 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8805
58eb0862
RM
8806 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8807 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8808 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8809 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8810 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8811
6f12d062
AS
88122014-06-27 Arjun Shankar <arjun.is@lostca.se>
8813
8814 [BZ #17092]
8815 * nscd/nscd.c (monitor_child): Return exit status of child
8816 instead of return value from wait syscall.
8817
be254932
JM
88182014-06-27 Joseph Myers <joseph@codesourcery.com>
8819
cb403c34
JM
8820 * configure.ac (libc_commonpagesize): Remove variable.
8821 (libc_relro_required): Likewise.
8822 (libc_cv_z_relro): Remove configure test.
8823 * configure: Regenerated.
8824 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8825 variable.
8826 (libc_relro_required): Likewise.
8827 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8828 (libc_relro_required): Likewise.
8829 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8830 (libc_relro_required): Likewise.
8831 * sysdeps/arm/preconfigure: Regenerated.
8832 * sysdeps/ia64/preconfigure: Remove file.
8833 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8834 variable.
8835 (libc_relro_required): Likewise.
8836
be254932
JM
8837 [BZ #16561]
8838 [BZ #16562]
8839 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8840 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8841 recompute overflowing results in original rounding mode.
8842 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8843 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8844 recompute overflowing results in original rounding mode.
8845 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8846 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8847 recompute overflowing results in original rounding mode.
8848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8849 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8850 recompute overflowing results in original rounding mode.
8851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8852 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8853 recompute overflowing results in original rounding mode.
8854 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8855 (libc_feholdsetround_ctx): New macro.
8856 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8857 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8859
b351d85a
JM
88602014-06-26 Joseph Myers <joseph@codesourcery.com>
8861
8862 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8863 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8864 corresponding .cpsetup call.
8865
3cb4de47
RM
88662014-06-26 Roland McGrath <roland@hack.frob.com>
8867
8868 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8869 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8870 * sysdeps/arm/Makefile [$(subdir) = csu]
8871 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8872 (static-only-routines): Add aeabi_read_tp here.
8873 (shared-only-routines): Add libc-aeabi_read_tp here.
8874 (CFLAGS-libc-start.c): Add -fexceptions here.
8875 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8876 (sysdep_routines, static-only-routines, shared-only-routines):
8877 Don't add to these here.
8878 (CFLAGS-libc-start.c): Likewise.
8879
8880 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8881 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8882 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8883 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8884 * sysdeps/arm/Makefile [$(subdir) = rt]
8885 (librt-sysdep_routines, librt-shared-only-routines):
8886 Append rt-aeabi_unwind_cpp_pr1 here.
8887 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8888 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8889 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8890 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8891 Append nptl-aeabi_unwind_cpp_pr1 here.
8892 (tests): Filter out tst-cleanupx4 here.
8893 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8894 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8895 Don't do those here.
8896
354426bb
JM
88972014-06-26 Joseph Myers <joseph@codesourcery.com>
8898
8899 * scripts/list-sources.sh: Do not handle ports specially.
8900
28b0a8c9
RM
89012014-06-26 Roland McGrath <roland@hack.frob.com>
8902
a3dd035d
RM
8903 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8904 * sysdeps/arm/feupdateenv.c: Likewise.
8905
28b0a8c9
RM
8906 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8907
e66a8203
JM
89082014-06-26 Joseph Myers <joseph@codesourcery.com>
8909
8910 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8911 trailing whitespace removed.
8912 * scripts/config.guess: Update to version 2014-03-23.
8913 * scripts/config.sub: Update to version 2014-05-01
8914 * scripts/install-sh: Update to version 2013-12-25.23.
8915 * scripts/move-if-change: Update from gnulib.
8916
74171115
SP
89172014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8918
b97c9ce5
SP
8919 * debug/memmove_chk.c: Remove pagecopy.h include.
8920
4000f892
SP
89212014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8922
74171115
SP
8923 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8924 identical to gnulib mktime.
8925
a8779c28
JM
89262014-06-26 Joseph Myers <joseph@codesourcery.com>
8927
e64708de
JM
8928 * configure.ac: Do not test for machine being rs6000. Do not test
8929 for powerpc*-*soft.
8930 * configure: Regenerated.
8931
a8779c28
JM
8932 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8933 test.
8934 * configure: Regenerated.
8935 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8936 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8937 Remove configure test.
8938 * sysdeps/arm/configure: Regenerated.
8939 * sysdeps/nptl/configure.ac: Do not check
8940 libc_cv_asm_cfi_directives.
8941 * sysdeps/nptl/configure: Regenerated.
8942 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8943 * sysdeps/x86_64/nptl/configure: Remove generated file.
8944 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8945 unconditional.
8946 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8947
2aac0a86
SP
89482014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8949
059bf913
SP
8950 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8951 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8952 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8953 it is defined.
8954
4cf5b6d0
SP
8955 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8956 instead of whether it is defined.
8957 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8958 * sysdeps/hppa/dl-machine.h: Likewise.
8959 * sysdeps/ia64/dl-machine.h: Likewise.
8960 * sysdeps/m68k/dl-machine.h: Likewise.
8961 * sysdeps/microblaze/dl-machine.h: Likewise.
8962 * sysdeps/mips/dl-machine.: Likewise.
8963 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8964 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8965 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8966 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8967 * sysdeps/sh/dl-machine.h: Likewise.
8968 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8969 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8970 * sysdeps/tile/dl-machine.h: Likewise.
8971 * sysdeps/x86_64/dl-machine.h: Likewise.
8972
2aac0a86
SP
8973 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8974 code.
8975 (verify_persistent_db): Likewise.
8976
6ad2df0b
RM
89772014-06-26 Roland McGrath <roland@hack.frob.com>
8978
d8a483f3
RM
8979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8980 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8984 Moved ...
8985 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8986 ... here.
8987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8990 Identical file removed.
8991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9005 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9007 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9014 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9016 Identical file removed.
9017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9018 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9022 Moved ...
9023 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9024 ... here.
9025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9028 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9030 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9032 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9034 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9036 Moved ...
9037 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9042 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9044 Moved ...
9045 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9047 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9048
52ae23b4
RM
9049 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9050 folded into ...
9051 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9052 * sysdeps/unix/sysv/linux/s390/Versions
9053 (libpthread: GLIBC_2.19): New version set.
9054 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9055 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9056 (librt: GLIBC_2.3.3): New version set.
9057 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9058 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9059 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9061 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9062 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9063 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9065 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9067 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9069 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9070 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9071 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9072 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9073 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9074 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9075 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9076 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9077 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9078 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9079 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9080 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9081 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9082 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9083 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9084 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9085 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9086 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9087 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9088 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9090 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9091 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9092 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9093 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9094 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9095 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9097 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9099 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9101 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9102
39507e4a
RM
9103 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9104 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9105 (__libc_vfork): Define the function under this name.
9106 [!NOT_IN_libc] (__vfork): Make this an alias.
9107 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9109 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9110 (__libc_vfork): Define the function under this name.
9111 [!NOT_IN_libc] (__vfork): Make this an alias.
9112 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9113 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9114 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9116 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9118
e549ee56
RM
9119 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9120 code that was previously under [RESET_PID].
9121 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9124
6ad2df0b
RM
9125 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9126 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9127 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9128 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9129 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9130 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9131 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9132 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9133 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9136 Moved ...
9137 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9143 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9145 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9149 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9151 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9161 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9162 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9163 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9164 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9165 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9166
7c1c1d8e
RM
91672014-06-25 Roland McGrath <roland@hack.frob.com>
9168
9169 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9170 that was previously under [RESET_PID].
9171 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9172
3e239be6
JM
91732014-06-25 Joseph Myers <joseph@codesourcery.com>
9174
74385da5
JM
9175 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9176 not undefine and redefine.
9177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9178 [O_CLOEXEC]: Make code unconditional.
9179 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9180 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9181 <kernel-features.h>.
9182 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9183 conditional variable definition.
9184 (shm_open) [O_CLOEXEC]: Make code unconditional.
9185 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9186 code.
9187
c2570a0b
JM
9188 * configure.ac (USE_REGPARMS): Don't define here.
9189 * configure: Regenerated.
9190 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9191 * sysdeps/i386/configure: Regenerated.
9192
11b076bb
JM
9193 * nptl/createthread.c: Don't include kernel-features.h.
9194 * nptl/pthread_cancel.c: Likewise.
9195 * nptl/pthread_condattr_setclock.c: Likewise.
9196 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9197 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9198 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9199 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9200 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9201 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9202 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9205 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9206 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9207 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9208 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9209 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9210 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9211 * nscd/gai.c: Likewise.
9212 * nss/nss_db/db-open.c: Likewise.
9213 * sysdeps/generic/ldsodefs.h: Likewise.
9214 * sysdeps/sh/nptl/tls.h: Likewise.
9215 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9216 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9217 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9218 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9219 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9220 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9221 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9222 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9224 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9225 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9226 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9227 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9228 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9229 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9230 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9231 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9232 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9233 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9234 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9235 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9236 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9237 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9238 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9239 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9240 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9242 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9243 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9244 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9245 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9246 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9247 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9248 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9249 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9250 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9251 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9252 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9253 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9254 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9255 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9256 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9257 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9258 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9259 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9260 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9261 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9262 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9263 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9264 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9265 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9266 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9267 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9268 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9269 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9270 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9271 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9272 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9295 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9296 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9297 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9298 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9299 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9300 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9301 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9302 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9303 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9304 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9305 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9306 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9307 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9308 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9309 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9310 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9312 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9313 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9314 * sysdeps/unix/sysv/linux/system.c: Likewise.
9315 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9316 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9317 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9318 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9319 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9321 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9322
92072d57
JM
9323 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9324 * configure: Regenerated.
9325 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9326
3e239be6
JM
9327 * configure.ac (base_machine): Do not set specially for particular
9328 machines here.
9329 * configure: Regenerated.
9330 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9331 settings from configure.ac.
9332 * sysdeps/i386/preconfigure: New file.
9333 * sysdeps/s390/preconfigure: Likewise.
9334 * sysdeps/sh/preconfigure: Likewise.
9335 * sysdeps/sparc/preconfigure: Likewise.
9336
06d50baa
RM
93372014-06-25 Roland McGrath <roland@hack.frob.com>
9338
74836003
RM
9339 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9340 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9341 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9342 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9343 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9344 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9345 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9346 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9347 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9348 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9349 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9350 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9351 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9353 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9354 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9356 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9357 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9358
9359 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9360 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9361 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9362 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9363 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9364 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9365 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9366 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9367 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9368 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9369 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9370 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9371 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9372 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9373 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9374 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9375 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9376 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9377 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9378 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9379 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9380 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9381 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9382 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9383 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9384 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9385 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9386 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9388 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9389 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9390 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9392 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9393 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9394 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9395 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9396 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9397
06d50baa
RM
9398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9399 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9401 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9405 ... here.
9406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9407 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9409 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9411 Moved ...
9412 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9414 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9416 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9418 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9420 Moved ...
9421 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9423 Moved ...
9424 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9426 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9428 Moved ...
9429 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9431 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9433 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9435 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9439 Moved ...
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9441 ... here.
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9447 Moved ...
9448 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9450 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9454 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9456 Moved ...
9457 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9459 Moved ...
9460 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9464 Moved ...
9465 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9467 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9469 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9470
a4ccbc9b
JM
94712014-06-25 Joseph Myers <joseph@codesourcery.com>
9472
0828edbf
JM
9473 * timezone/checktab.awk: Update from tzcode 2014e.
9474 * timezone/private.h: Likewise.
9475 * timezone/tzfile.h: Likewise.
9476 * timezone/zdump.c: Likewise.
9477 * timezone/zic.c: Likewise.
9478
a4ccbc9b
JM
9479 * sysdeps/unix/sysv/linux/kernel-features.h
9480 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9481 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9482 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9483 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9484 Remove conditional code.
9485
9aea0cb8
WN
94862014-06-25 Will Newton <will.newton@linaro.org>
9487
9488 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9489 (_dl_arm_cap_flags): Add HWCAP2 values.
9490 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9491 (_DL_HWCAP_COUNT): Increase to 37.
9492 (_DL_HWCAP_LAST): New define.
9493 (_DL_HWCAP2_LAST): New define.
9494 (_dl_procinfo): Add support for printing
9495 AT_HWCAP2 entries.
9496 (_dl_string_hwcap): Use _dl_hwcap_string.
9497
6eaa65ce
AZ
94982014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9499
9500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9501
0f5b7185
JM
95022014-06-25 Joseph Myers <joseph@codesourcery.com>
9503
cfd2ea50
JM
9504 * README: Do not mention ports directory.
9505
cecf2ed4
JM
9506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9507 Remove macro.
9508 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9509 <kernel-features.h>.
9510 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9511 conditional variable definition.
9512 (__futimes): Update comment.
9513 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9514 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9515
a638de82
JM
9516 [BZ #16560]
9517 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9518 arguments close to 0.
9519 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9520 Likewise.
9521 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9522 Likewise.
9523 * math/auto-libm-test-in: Add more tests of exp10.
9524 * math/auto-libm-test-out: Regenerated.
9525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9526
0f5b7185
JM
9527 * sysdeps/unix/sysv/linux/kernel-features.h
9528 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9529 * sysdeps/unix/sysv/linux/readv.c: Do not include
9530 <kernel-features.h>.
9531 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9532 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9533 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9534 unconditional.
9535 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9536 conditional code.
9537 * sysdeps/unix/sysv/linux/writev.c: Do not include
9538 <kernel-features.h>.
9539 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9540 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9541 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9542 unconditional.
9543 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9544 conditional code.
9545
c7aec4be
WN
95462014-06-25 Will Newton <will.newton@linaro.org>
9547
9548 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9549 comment changes throughout the file. Remove checks
9550 for HAVE_*_H definitions that are not required.
9551 (__gen_tempname): Call abort if an unknown kind value is
9552 passed.
9553
c5241f95
AS
95542014-06-25 Andreas Schwab <schwab@suse.de>
9555
9556 [BZ #17086]
9557 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9558 scalbln, scalblnf, scalblnl in libc.
9559
911422da
SP
95602014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9561
9562 [BZ #17086]
9563 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9564 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9565 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9566
0d749bbe
RM
95672014-06-24 Roland McGrath <roland@hack.frob.com>
9568
9569 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9570 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9571 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9572 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9573 Update #include.
9574 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9575 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9576 Update #include.
9577 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9578 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9579 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9580 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9581 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9582 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9583 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9584 * sysdeps/x86/bits/semaphore.h: ... here.
9585 * sysdeps/x86/nptl/elide.h: Moved ...
9586 * sysdeps/x86/elide.h: ... here.
9587 * sysdeps/x86_64/nptl/Implies: File removed.
9588 * sysdeps/i386/nptl/Implies: File removed.
9589
0ea5d373
JM
95902014-06-24 Joseph Myers <joseph@codesourcery.com>
9591
4060283d
JM
9592 [BZ #16539]
9593 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9594 return the argument for normal arguments with exponent below -64.
9595 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9596 Likewise.
9597 * math/auto-libm-test-in: Add another test of expm1.
9598 * math/auto-libm-test-out: Regenerated.
9599
e7dd3c8c
JM
9600 [BZ #16287]
9601 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9602 calling __erfcl for arguments at least 16.
9603 * math/auto-libm-test-in: Add more tests of erf.
9604 * math/auto-libm-test-out: Regenerated.
9605
0ea5d373
JM
9606 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9607 individual architectures.
9608 * sysdeps/unix/sysv/linux/configure: Regenerated.
9609 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9610 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9611 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9612 (ldd_rewrite_script): Define variable.
9613 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9615 file.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9617 generated file.
9618 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9619 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9620 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9621 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9622 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9623 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9624 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9625 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9626
2307e126
SP
96272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9628
9629 [BZ #17084]
9630 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9631 Rename member __data.d to __data.__elision_data.
9632
c0a4ed77
W
96332014-06-24 Wilco <wdijkstr@arm.com>
9634
9635 * NEWS: Add 16918 to fixed bug list.
9636
b8c00573
W
96372014-06-24 Wilco <wdijkstr@arm.com>
9638
9639 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9640
b5570d92
W
96412014-06-24 Wilco <wdijkstr@arm.com>
9642
9643 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9644 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9645 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9646 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9647 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9648 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9649 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9650 Use _FPU_MASK_RM.
9651
947bdca2
W
96522014-06-24 Wilco <wdijkstr@arm.com>
9653
9654 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9655
00f669ed
W
96562014-06-24 Wilco <wdijkstr@arm.com>
9657
9658 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9659 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9660 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9661 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9662
db59bad3
W
96632014-06-24 Wilco <wdijkstr@arm.com>
9664
9665 [BZ #16918]
9666 * sysdeps/arm/feupdateenv.c (feupdateenv):
9667 Rewrite to reduce FPSCR accesses and fix return value.
9668
001f7b77
W
96692014-06-24 Wilco <wdijkstr@arm.com>
9670
9671 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9672 Optimize to avoid unnecessary FPSCR writes.
9673 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9674 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9675 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9676 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9677
4841e6a6
W
96782014-06-24 Wilco <wdijkstr@arm.com>
9679
9680 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9681 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9682 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9683 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9684 Call libc_fetestexcept_vfp.
9685 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9686 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9687 __SOFTFP__ ifdef so that they can be built for softfp.
9688
0813022c
SP
96892014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9690
08e5862f
SP
9691 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9692 argument type signed char.
9693
0813022c
SP
9694 * Makerules (check-abi): Dump diff of symlist if the test
9695 fails.
9696
3fc7236a
RM
96972014-06-23 Roland McGrath <roland@hack.frob.com>
9698
aba8ef95
RM
9699 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9700 using abort.
9701
3fc7236a
RM
9702 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9703 Remove unused variable ST.
9704
4da6db51
JM
97052014-06-23 Joseph Myers <joseph@codesourcery.com>
9706
4648909d
JM
9707 [BZ #16354]
9708 [BZ #17061]
9709 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9710 small arguments before calling __expm1.
9711 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9712 small arguments before calling __expm1f.
9713 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9714 small arguments before calling __expm1l.
9715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9716 Likewise.
9717 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9718 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9719 spurious underflow for some cosh tests.
9720 * math/auto-libm-test-out: Regenerated.
9721 * sysdeps/i386/fpu/libm-test-ulps: Update.
9722
46a3d3c7
JM
9723 [BZ #17050]
9724 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9725 (__ieee754_y1): Set errno if return value overflows.
9726 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9727 (__ieee754_y1f): Set errno if return value overflows.
9728 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9729 (__ieee754_y1l): Set errno if return value overflows.
9730 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9731 (__ieee754_y1l): Set errno if return value overflows.
9732 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9733 * math/auto-libm-test-out: Regenerated.
9734
863893ec
JM
9735 * math/gen-auto-libm-tests.c: Document use of
9736 ignore-zero-inf-sign.
9737 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9738 (input_flags): Add ignore-zero-inf-sign.
9739 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9740 * math/gen-libm-test.pl (generate_testfile): Handle
9741 ignore-zero-inf-sign.
9742 * math/auto-libm-test-in: Mark some cpow tests with
9743 ignore-zero-inf-sign and some with xfail-rounding.
9744 * math/auto-libm-test-out: Regenerated.
9745 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9746 * sysdeps/i386/fpu/libm-test-ulps: Update.
9747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9748
4da6db51
JM
9749 [BZ #16315]
9750 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9751 overflowing or underflowing operations take place with sign of
9752 result.
9753 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9754 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9755 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9756 (__ieee754_pow): Recompute overflowing and underflowing results in
9757 original rounding mode.
9758 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9759 (__powl_helper): Allow negative argument X and scale negated value
9760 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9761 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9762 overflowing or underflowing operations take place with sign of
9763 result.
9764 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9765 Include <math.h>.
9766 * math/auto-libm-test-in: Add more tests of pow.
9767 * math/auto-libm-test-out: Regenerated.
9768 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9769 (pow_tonearest_test_data): Remove.
9770 (pow_test_tonearest): Likewise.
9771 (pow_towardzero_test_data): Likewise.
9772 (pow_test_towardzero): Likewise.
9773 (pow_downward_test_data): Likewise.
9774 (pow_test_downward): Likewise.
9775 (pow_upward_test_data): Likewise.
9776 (pow_test_upward): Likewise.
9777 (main): Don't call removed functions.
9778 * sysdeps/i386/fpu/libm-test-ulps: Update.
9779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9780
5686b236
RM
97812014-06-23 Roland McGrath <roland@hack.frob.com>
9782
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9784 Moved ...
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9787 Moved ...
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9790 Moved ...
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9796 File removed.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9798 File removed.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9800 File removed.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9802 File removed.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9804 File removed.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9806 File removed.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9808 File removed.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9810 File removed.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9812 File removed.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9814 File removed.
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9816 File removed.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9818 File removed.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9823 Moved ...
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9825 ... here.
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9827 Moved ...
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9830 Moved ...
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9833 Moved ...
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9836 Moved ...
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9839 Moved ...
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9842 Moved ...
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9849 ... here.
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9851 Moved ...
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9854 Moved ...
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9856 ... here.
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9858 Moved ...
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9860 ... here.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9862 Moved ...
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9864 ... here.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9866 Moved ...
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9869 Moved ...
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9874 Moved ...
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9876 ... here.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9878 Moved ...
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9880 ... here.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9882 Moved ...
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9885 Moved ...
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9888 Moved ...
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9891 Moved ...
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9894 Moved ...
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9896 ... here.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9898 Moved ...
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9901 Moved ...
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9904 Moved ...
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9907 Moved ...
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9912 Moved ...
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9915 Moved ...
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9918 Moved ...
9919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9920 ... here.
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9922 Moved ...
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9924 ... here.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9926 Moved ...
9927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9928 ... here.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9930 Moved ...
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9933 Moved ...
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9936 Moved ...
9937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9939 Moved ...
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9941 ... here.
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9943 Moved ...
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9945 ... here.
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9947 Moved ...
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9949 ... here.
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9951 Moved ...
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9954 Moved ...
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9956
e6d90d67
WD
99572014-06-23 Will Newton <will.newton@linaro.org>
9958 Wilco <wdijkstr@arm.com>
9959
9960 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9961 implementation. Include get-rounding-mode.h.
9962 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9963 [!libc_feholdsetround_noex_ctx]: Define
9964 libc_feholdsetround_noex_ctx.
9965 [!libc_feholdsetround_noexf_ctx]: Define
9966 libc_feholdsetround_noexf_ctx.
9967 [!libc_feholdsetround_noexl_ctx]: Define
9968 libc_feholdsetround_noexl_ctx.
9969 (libc_feholdsetround_ctx): New function.
9970 (libc_feresetround_ctx): New function.
9971 (libc_feholdsetround_noex_ctx): New function.
9972 (libc_feresetround_noex_ctx): New function.
9973
d42df555
RM
99742014-06-23 Roland McGrath <roland@hack.frob.com>
9975
88a46474
RM
9976 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9977 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9978 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9979 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9980 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9981 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9982
15bed472
RM
9983 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9984 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9985 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9986 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9987 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9988 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9989 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9990 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9994 Moved ...
9995 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9996 ... here.
9997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10000 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10002 Moved ...
10003 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10005 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10009 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10011 Moved ...
10012 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10014 Moved ...
10015 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10017 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10019 Moved ...
10020 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10022 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10023 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10024 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10025 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10026 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10027 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10028 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10029 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10030 Moved ...
10031 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10032 ... here.
10033 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10034 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10035 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10036 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10038 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10039 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10040 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10042 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10044 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10045 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10046 Moved ...
10047 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10049 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10051 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10053 Moved ...
10054 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10058 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10059
d42df555
RM
10060 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10061 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10067 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10069 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10070 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10071 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10075 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10076 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10077 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10079 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10080 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10081 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10082 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10083 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10084 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10085 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10086 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10087 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10088
76e5216e
JM
100892014-06-23 Joseph Myers <joseph@codesourcery.com>
10090
10091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10092 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10093 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10094 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10095 (IPV6_PMTUDISC_INTERFACE): Likewise.
10096 (IPV6_PMTUDISC_OMIT): Likewise.
10097
7a81cbcc
AS
100982014-06-23 Andreas Schwab <schwab@suse.de>
10099
10100 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10101 Remove unused errout label.
10102
db224009
AZ
101032014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10104
10105 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10106 macro: hardware supports Vector Crypto instructions.
10107
f393b4aa
WN
101082014-06-23 Will Newton <will.newton@linaro.org>
10109
cc7d0447
WN
10110 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10111 rather than __builtin_expect.
10112
d6d06225
WN
10113 * elf/dl-lookup.c (undefined_msg): Remove variable.
10114 (_dl_lookup_symbol_x): Replace undefined_msg with string
10115 literal.
10116
f393b4aa
WN
10117 * elf/dl-lookup.c (do_lookup_unique): New function.
10118 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10119 to a separate function.
10120
ac60763e
AS
101212014-06-23 Andreas Schwab <schwab@suse.de>
10122
10123 [BZ #17079]
10124 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10125 before reading the next line.
10126
c5c13355
WN
101272014-06-23 Will Newton <will.newton@linaro.org>
10128
10129 * test-skeleton.c (signal_handler): Use printf and %m
10130 rather than perror. Use printf rather than fprintf to
10131 stderr. Use puts rather than fputs to stderr.
10132 (main): Likewise.
10133
bd3675f9
LC
101342014-06-22 Ludovic Courtès <ludo@gnu.org>
10135
10136 * nscd/nscd.c (thread_info_t): Remove typedef.
10137 (thread_info): Remove variable.
10138
d03efb2f
AM
101392014-06-21 Allan McRae <allan@archlinux.org>
10140
10141 * NEWS: Mention CVE-2014-4043.
10142
bc4a86fa
RM
101432014-06-20 Roland McGrath <roland@hack.frob.com>
10144
dc9a54f8
RM
10145 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10146 * nptl/smp.h: ... here.
10147
bd7022c4
RM
10148 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10149
26ffd5e6
RM
10150 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10151 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10152 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10153 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10154
93a6d082
RM
10155 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10156 * nptl/stack-aliasing.h: New file.
10157 * sysdeps/i386/i686/stack-aliasing.h: New file.
10158 * sysdeps/i386/i686/nptl/Makefile: File removed.
10159 * sysdeps/x86_64/stack-aliasing.h: New file.
10160 * sysdeps/x86_64/nptl/Makefile
10161 (CFLAGS-pthread_create.c): Variable removed.
10162
bc4a86fa
RM
10163 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10164 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10165 old file.
10166 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10167 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10168 old file.
10169
2272ffc1
JM
101702014-06-21 Joseph Myers <joseph@codesourcery.com>
10171
10172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10173 (__ASSUME_SIGFRAME_V2): Remove macro.
10174 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10175 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10176 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10177 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10178 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10179 Declare as function. Remove conditional macro definitions.
10180 (__default_rt_sa_restorer): Likewise.
10181 (__default_sa_restorer_v1): Remove declaration.
10182 (__default_sa_restorer_v2): Likewise.
10183 (__default_rt_sa_restorer_v1): Likewise.
10184 (__default_rt_sa_restorer_v2): Likewise.
10185 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10186 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10187 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10188
4b88139b
RM
101892014-06-20 Roland McGrath <roland@hack.frob.com>
10190
10191 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10192 (libpthread-routines): Add sysdep.
10193 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10194 * sysdeps/unix/sysv/linux/sparc/Versions
10195 (libpthread: GLIBC_2.3.3): New version set.
10196 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10197 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10198 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10200 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10201 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10202 Moved ...
10203 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10204 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10205 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10206 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10207 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10208 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10209 * sysdeps/sparc/nptl/sem_init.c: ... here.
10210 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10211 * sysdeps/sparc/nptl/sem_post.c: ... here.
10212 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10213 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10214 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10215 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10216 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10217 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10218 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10219 (libpthread-routines): Add cpu_relax.
10220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10221 File removed.
10222 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10223 (librt: GLIBC_2.3.3): New version set.
10224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10225 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10226 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10227 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10229 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10230 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10232 Moved ...
10233 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10235 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10237 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10239 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10241 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10243 Moved ...
10244 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10245 Update #include.
10246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10247 Moved ...
10248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10249 Update #include.
10250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10251 Moved ...
10252 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10253 Update #include.
10254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10255 Moved ...
10256 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10257 Update #include.
10258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10259 Moved ...
10260 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10261 Update #include.
10262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10263 Moved ...
10264 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10265 Update #include.
10266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10267 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10268 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10273 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10275 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10277 Moved ...
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10283
d7109027
JM
102842014-06-20 Joseph Myers <joseph@codesourcery.com>
10285
9bc6103d
JM
10286 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10287 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10288 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10289 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10290 * nscd/nscd.c: Likewise.
10291 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10292 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10293 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10294 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10295
d7109027
JM
10296 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10297 <kernel-features.h>.
10298 (init_mq_netlink): Remove conditional have_sock_cloexec
10299 definitions. Remove code conditional on have_sock_cloexec < 0.
10300 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10301 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10302 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10303 <kernel-features.h>.
10304 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10305 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10306
d92d8f8a
L
103072014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10310 Add tests for memset_chk and memset.
10311
10312 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10313 with AVX2_Usable.
10314
4e6d2347
MR
103152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10316
257ce712
MR
10317 [BZ #16046]
10318 * elf/tst-dl-iter-static.c: New file.
10319 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10320
4e6d2347
MR
10321 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10322 error.
10323
a2a76afe
JM
103242014-06-20 Joseph Myers <joseph@codesourcery.com>
10325
7fd00f99
JM
10326 * sysdeps/unix/sysv/linux/kernel-features.h
10327 (__ASSUME_F_GETOWN_EX): Remove macro.
10328 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10329 <kernel-features.h>.
10330 (miss_F_GETOWN_EX): Remove variable or macro.
10331 (do_fcntl): Do not check miss_F_GETOWN_EX.
10332 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10333
4a103975
JM
10334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10335 Remove macro.
10336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10337 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10338 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10339
a2a76afe
JM
10340 * sysdeps/unix/sysv/linux/kernel-features.h
10341 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10342 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10343 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10344 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10345
90e5dd48
MR
103462014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10347
10348 [BZ #17075]
10349 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10350 Fix calculation of the symbol's value.
10351 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10352 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10353 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10354 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10355 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10356 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10357 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10358 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10359 (modules-names): Add `tst-armtlsdescmod',
10360 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10361 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10362 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10363 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10364 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10365 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10366 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10367 ($(objpfx)tst-armtlsdescloc): New dependency.
10368 ($(objpfx)tst-armtlsdescextnow): Likewise.
10369 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10370 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10371 TLS scheme support.
10372 * sysdeps/arm/configure: Regenerate.
10373
809fdf0d
JM
103742014-06-20 Joseph Myers <joseph@codesourcery.com>
10375
10376 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10377 (__atfct_seterrno_2): Likewise.
10378 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10379 <kernel-features.h>.
10380 (__ASSUME_ATFCTS): Do not undefine and redefine.
10381 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10382 (__have_atfcts): Remove conditional definition.
10383 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10384 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10385 unreachable if [__ASSUME_ATFCTS].
10386 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10387 not undefine and redefine.
10388 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10389 <kernel-features.h>.
10390 (faccessat) [__NR_faccessat]: Make code unconditional.
10391 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10392 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10393 <kernel-features.h>.
10394 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10395 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10396 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10397 <kernel-features.h>.
10398 (fchownat) [__NR_fchownat]: Make code unconditional.
10399 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10400 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10401 <kernel-features.h>.
10402 (futimesat) [__NR_futimesat]: Make code unconditional.
10403 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10404 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10405 <kernel-features.h>.
10406 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10407 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10408 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10409 <kernel-features.h>.
10410 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10411 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10412 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10413 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10414 <kernel-features.h>.
10415 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10416 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10417 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10418 <kernel-features.h>.
10419 (linkat) [__NR_linkat]: Make code unconditional.
10420 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10421 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10422 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10423 <kernel-features.h>.
10424 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10425 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10426 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10427 <kernel-features.h>.
10428 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10429 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10430 * sysdeps/unix/sysv/linux/openat.c: Do not include
10431 <kernel-features.h>.
10432 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10433 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10434 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10435 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10436 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10437 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10438 <kernel-features.h>.
10439 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10440 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10441 result of INLINE_SYSCALL directly, not via int variable.
10442 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10443 <kernel-features.h>.
10444 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10445 (renameat) [__NR_renameat]: Make code unconditional.
10446 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10447 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10448 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10449 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10450 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10451 (__ASSUME_ATFCTS): Do not undefine and redefine.
10452 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10453 <kernel-features.h>.
10454 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10455 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10456 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10457 <kernel-features.h>.
10458 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10459 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10460 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10461 (__ASSUME_ATFCTS): Do not undefine and redefine.
10462 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10463 <kernel-features.h>.
10464 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10465 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10466 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10467 <kernel-features.h>.
10468 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10469 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10470
224c6c51
L
104712014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10474
aa6ec754
AS
104752014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10476
10477 [BZ #17069]
10478 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10479 constructed tree before returning error.
10480 * posix/bug-regexp36.c: Expand test case.
10481
d8c2869d
SL
104822014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10483
3ef6b850
SL
10484 [BZ #6803]
10485 * math/libm-test.inc (scalbln_test_date):
10486 Add errno expectations.
10487 * math/w_scalblnf.c: New File.
10488 Add wrapper which checks for setting errno to ERANGE.
10489 Add weak_alias for corresponding scalbln function.
10490 * math/w_scalbln.c: Likewise.
10491 * math/w_scalblnl.c: Likewise.
10492 * math/Makefile (libm-calls): Add w_scalbln.
10493 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10494 Remove weak_alias for corresponding scalbln function.
10495 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10497 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10499 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10500 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10501 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10502 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10503 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10504 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10505 Remove long_double_symbol for scalblnl function in libm, libc.
10506 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10507 Add wrapper which checks for setting errno to ERANGE.
10508 Add long_double_symbol for scalblnl function in libm, libc.
10509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10510 Remove long_double_symbol for scalblnl in libm.
10511 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10512 Add wrapper which checks for setting errno to ERANGE.
10513 Add long_double_symbol for scalblnl function in libm.
10514 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10515 Do not use wrapper because of own implementation.
10516
c8daec5c
L
105172014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10518
10519 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10520 3 bytes for __pad1 for x32.
10521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10522
5c74e47c
LM
105232014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10524 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10527 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10528 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10529 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10530 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10531
4d43ef1e
AS
105322014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10533
10534 [BZ #17069]
10535 * posix/regcomp.c (parse_expression): Deallocate partially
10536 constructed tree before returning error.
10537 * posix/Makefile.c (tests): Add bug-regex36.
10538 (generated): Add bug-regex36.mtrace.
10539 (tests-special): Add $(objpfx)bug-regex36-mem.out
10540 (bug-regex36-ENV): New variable.
10541 ($(objpfx)bug-regex36-mem.out): New rule.
10542 * posix/bug-regex36.c: New file.
10543
51a7380b
WN
105442014-06-19 Will Newton <will.newton@linaro.org>
10545
10546 * malloc/malloc.c (systrim): If extra is zero then return
10547 early.
10548
91b84fe5
SP
105492014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10550
10551 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10552
f940b965
RE
105532014-06-19 Richard Earnshaw <rearnsha@arm.com>
10554
10555 * sysdeps/aarch64/strchr.S: New file.
10556
4ba7a00f
JM
105572014-06-18 Joseph Myers <joseph@codesourcery.com>
10558
10559 [BZ #17022]
10560 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10561 from arguments -2 or below.
10562 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10563 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10564
b3a9f56b
AS
105652014-06-18 Andreas Schwab <schwab@suse.de>
10566
10567 [BZ #17062]
10568 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10569 of a bracket expr not to run off the end of the string.
10570 * posix/Makefile (tests): Add tst-fnmatch3.
10571 * posix/tst-fnmatch3.c: New file.
10572
85d89278
JM
105732014-06-18 Joseph Myers <joseph@codesourcery.com>
10574
10575 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10576 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10577 [$(cross-compiling) = no]: Likewise.
10578 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10579 [$(cross-compiling) = no]: Likewise.
10580
754c5a08
RS
105812014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10582
10583 [BZ #17031]
10584 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10585 double, adjusted for any remainder from the high double.
10586 * math/libm-test.inc (nearbyint): Add tests.
10587 (rint): Likewise.
10588
556f529d
AZ
105892014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10590
10591 * nptl/sysdeps/powerpc/Makefile: Moved ...
10592 * sysdeps/powerpc/nptl/Makefile: ... here.
10593 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10594 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10595 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10596 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10597 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10598 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10599 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10600 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10601 * nptl/sysdeps/powerpc/tls.h: Moved ...
10602 * sysdeps/powerpc/nptl/tls.h: ... here.
10603
91c03c53
JM
106042014-06-16 Joseph Myers <joseph@codesourcery.com>
10605
10606 [BZ #16681]
10607 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10608 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10609 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10610 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10611 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10612 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10613 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10614 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10615 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10616
a76e63c5
AS
106172014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10618
10619 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10620
f2f6d82f
AS
106212014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10622
ea8a15f6
AS
10623 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10624 defined operator.
10625
f2f6d82f
AS
10626 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10627 $TIMEOUTFACTOR.
10628
a7291117
FW
106292014-06-16 Florian Weimer <fweimer@redhat.com>
10630
10631 [BZ #17058]
10632 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10633 non-executed part of the test.
10634
3d7c00e3
AS
106352014-06-16 Andreas Schwab <schwab@suse.de>
10636
10637 * string/bits/string2.h (strdup, strndup): Update feature guard.
10638
6957fb31
DM
106392014-06-14 David S. Miller <davem@davemloft.net>
10640
10641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10642
11b9e55b
AS
106432014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10644
1d2a0492
AS
10645 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10646 that was previously under [RESET_PID].
10647 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10648
11b9e55b
AS
10649 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10650 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10651 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10652 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10653 (__libc_vfork): New strong alias.
10654 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10655
0f6901d0
AK
106562014-06-14 Andi Kleen <ak@linux.intel.com>
10657
10658 * sysdeps/generic/elide.h: New file.
10659
38bbbb9f
SL
106602014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10661
10662 * Makefile (installed-headers): Adjust path of pthread.h header.
10663
45193bb8
RM
106642014-06-13 Roland McGrath <roland@hack.frob.com>
10665
9a25fd1e
RM
10666 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10667 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10668 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10669 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10670
4004f7e4
RM
10671 * nptl/sysdeps/s390/Makefile: Moved ...
10672 * sysdeps/s390/nptl/Makefile: ... here.
10673 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10674 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10675 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10676 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10677 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10678 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10679 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10680 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10681 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10682 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10683 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10684 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10685 * nptl/sysdeps/s390/tls.h: Moved ...
10686 * sysdeps/s390/nptl/tls.h: ... here.
10687
45193bb8
RM
10688 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10689 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10690
f6fdf533
DM
106912014-06-13 David S. Miller <davem@davemloft.net>
10692
10693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10696 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10699 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10701 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10702 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10704 Remove RESET_PID cpp guards.
10705 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10706 Remove RESET_PID cpp guards.
10707 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10708
f5d71e14
AS
107092014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10710
10711 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10712 __sp to uintptr_t.
10713
b7aa8caa
AK
107142014-06-13 Andi Kleen <ak@linux.intel.com>
10715
4b266200
AZ
10716 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10717 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10718 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10719 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10723 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10724 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10726 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10727 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10728 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10729 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10730 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10731 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10733 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10734 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10735 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10736
10737 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10738 (pthread_rwlock_rdlock): Add elision.
10739 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10740 (pthread_rwlock_wrlock): Add elision.
10741 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10742 (pthread_rwlock_trywrlock): Add elision.
10743 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10744 (pthread_rwlock_tryrdlock): Add elision.
10745 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10746 (pthread_rwlock_tryrdlock): Add elision unlock.
10747 * nptl/sysdeps/pthread/pthread.h:
10748 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10749 (PTHREAD_RWLOCK_INITIALIZER,
10750 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10751 Handle new elision field.
10752 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10753 * sysdeps/arm/nptl/bits/pthreadtypes.h
10754 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10755 * sysdeps/sh/nptl/bits/pthreadtypes.h
10756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10757 * sysdeps/tile/nptl/bits/pthreadtypes.h
10758 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10759 * sysdeps/a/nptl/bits/pthreadtypes.h
10760 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10761 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10763 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10765 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10767 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10769 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10771 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10773 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10775 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10777 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10778 (elision_init): Set try_xbegin to zero when no RTM.
10779 * sysdeps/x86/nptl/bits/pthreadtypes.h
10780 (pthread_rwlock_t): Change __pad1 to __rwelision.
10781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10782
a832bdd3
AK
107832014-06-13 Andi Kleen <ak@linux.intel.com>
10784
10785 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10786 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10787 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10788 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10789
995a46bb
MI
107902014-06-13 Meador Inge <meadori@codesourcery.com>
10791
10792 [BZ #16996]
03ed7738 10793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10794 that the cached result has been set before returning it.
10795
45262aee
RM
107962014-06-12 Roland McGrath <roland@hack.frob.com>
10797
febf6cc5
RM
10798 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10799 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10800 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10801 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10802 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10803 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10804
e2682246
RM
10805 * nptl/sysdeps/sparc/Makefile: Moved ...
10806 * sysdeps/sparc/nptl/Makefile: ... here.
10807 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10808 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10809 * nptl/sysdeps/sparc/tls.h: Moved ...
10810 * sysdeps/sparc/nptl/tls.h: ... here.
10811 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10812 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10813 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10814 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10815 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10816 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10817 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10818 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10819 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10820 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10821 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10822 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10823 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10824 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10825 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10826 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10827 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10828 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10829 Update #include.
10830 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10831 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10832 Update #include.
10833 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10834 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10835 Update #include.
10836 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10837 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10838 Update #include.
10839
b0725f43
RM
10840 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10841
b14368b8
RM
10842 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10843 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10844
c5620eb3
RM
10845 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10846 (struct list_links): Type removed.
10847 (struct thread_node, struct timer_node): Replace struct list_links
10848 with struct list_head.
10849 (list_unlink_ip): Likewise.
10850 * sysdeps/pthread/timer_routines.c
10851 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10852 (list_append, list_insbefore): Likewise.
10853 (list_init): Function removed.
10854 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10855 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10856 * sysdeps/pthread/Makefile: ... here, new file.
10857
10858 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10859 * sysdeps/nptl/Implies: ... here.
10860 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10861 * nptl/sysdeps/pthread/list.h: Moved ...
10862 * include/list.h: ... here.
10863 * nptl/sysdeps/pthread/createthread.c: Moved ...
10864 * nptl/createthread.c: ... here.
10865 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10866 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10867 * nptl/pt-longjmp.c: ... here.
10868 * nptl/sysdeps/pthread/Makefile: Moved ...
10869 * sysdeps/nptl/Makefile: ... here.
10870 * nptl/sysdeps/pthread/Subdirs: Moved ...
10871 * sysdeps/nptl/Subdirs: ... here.
10872 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10873 * sysdeps/nptl/aio_misc.h: ... here.
10874 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10875 * sysdeps/nptl/bits/libc-lock.h: ... here.
10876 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10877 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10878 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10879 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10880 * nptl/sysdeps/pthread/configure: Moved ...
10881 * sysdeps/nptl/configure: ... here.
10882 * nptl/sysdeps/pthread/configure.ac: Moved ...
10883 * sysdeps/nptl/configure.ac: ... here.
10884 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10885 * sysdeps/nptl/gai_misc.h: ... here.
10886 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10887 * sysdeps/nptl/librt-cancellation.c: ... here.
10888 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10889 * sysdeps/nptl/malloc-machine.h: ... here.
10890 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10891 * sysdeps/nptl/pthread-functions.h: ... here.
10892 * nptl/sysdeps/pthread/pthread.h: Moved ...
10893 * sysdeps/nptl/pthread.h: ... here.
10894 * nptl/sysdeps/pthread/setxid.h: Moved ...
10895 * sysdeps/nptl/setxid.h: ... here.
10896 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10897 * sysdeps/nptl/sigfillset.c: ... here.
10898 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10899 * sysdeps/nptl/tcb-offsets.h: ... here.
10900 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10901 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10902 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10903 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10904 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10905 * sysdeps/pthread/allocalim.h: ... here.
10906 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10907 * sysdeps/pthread/bits/sigthread.h: ... here.
10908 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10909 * sysdeps/pthread/flockfile.c: ... here.
10910 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10911 * sysdeps/pthread/ftrylockfile.c: ... here.
10912 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10913 * sysdeps/pthread/funlockfile.c: ... here.
10914 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10915 * sysdeps/pthread/posix-timer.h: ... here.
10916 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10917 * sysdeps/pthread/timer_create.c: ... here.
10918 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10919 * sysdeps/pthread/timer_delete.c: ... here.
10920 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10921 * sysdeps/pthread/timer_getoverr.c: ... here.
10922 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10923 * sysdeps/pthread/timer_gettime.c: ... here.
10924 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10925 * sysdeps/pthread/timer_routines.c: ... here.
10926 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10927 * sysdeps/pthread/timer_settime.c: ... here.
10928 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10929 * sysdeps/pthread/tst-timer.c: ... here.
10930 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10931 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10932
e876b090
RM
10933 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10934 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10935
f6b07b3d
RM
10936 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10937 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10938 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10939 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10940 Update #include target.
10941 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10942 * sysdeps/i386/i686/nptl/Makefile: ... here.
10943 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10944 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10945 Update #include target.
10946 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10947 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10948 * nptl/sysdeps/i386/Makefile: Moved ...
10949 * sysdeps/i386/nptl/Makefile: ... here.
10950 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10951 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10952 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10953 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10954 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10955 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10956 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10957 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10958 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10959 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10960 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10961 * nptl/sysdeps/i386/tls.h: Moved ...
10962 * sysdeps/i386/nptl/tls.h: ... here.
10963
45262aee
RM
10964 * sysdeps/sh/Makefile [$(subdir) = csu]
10965 (gen-as-const-headers): Add tcb-offsets.sym.
10966 * nptl/sysdeps/sh/Makefile: File removed.
10967 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10968 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10969 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10970 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10971 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10972 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10973 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10974 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10975 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10976 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10977 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10978 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10979 * nptl/sysdeps/sh/tls.h: Moved ...
10980 * sysdeps/sh/nptl/tls.h: ... here.
10981 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10982 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10984 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10986 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10988 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10990 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10992 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10994 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10996 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10997 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10998 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10999 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11000 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11001 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11002 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11003 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11004 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11005 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11006 Moved ...
11007 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11008 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11009 Moved ...
11010 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11012 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11014 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11016 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11017 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11018 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11019 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11020 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11021 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11022 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11023 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11024 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11026 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11029
35a5e3e3
SL
110302014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11031
11032 * posix/spawn_faction_addopen.c: Include string.h.
11033
14642b85
RM
110342014-06-11 Roland McGrath <roland@hack.frob.com>
11035
11036 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11037 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11038 * nptl/sysdeps/x86_64/Makefile: Moved ...
11039 * sysdeps/x86_64/nptl/Makefile: ... here.
11040 * nptl/sysdeps/x86_64/configure: Moved ...
11041 * sysdeps/x86_64/nptl/configure: ... here.
11042 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11043 * sysdeps/x86_64/nptl/configure.ac: ... here.
11044 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11045 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11046 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11047 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11048 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11049 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11050 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11051 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11052 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11053 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11054 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11055 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11056 * nptl/sysdeps/x86_64/tls.h: Moved ...
11057 * sysdeps/x86_64/nptl/tls.h: ... here.
11058 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11059 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11060 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11061 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11062
11063 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11064
31c44fea
AZ
110652014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11066
11067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11068
e81a4f9a
JM
110692014-06-11 Joseph Myers <joseph@codesourcery.com>
11070
11071 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11072 type.
11073 [POSIX] (off_t): Likewise.
11074 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11075 [POSIX] (S_ISBLK): Require macro.
11076 [POSIX] (S_ISCHR): Likewise.
11077 [POSIX] (S_ISDIR): Likewise.
11078 [POSIX] (S_ISFIFO): Likewise.
11079 [POSIX] (S_ISREG): Likewise.
11080 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11081 optional-macro.
11082 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11083 type.
11084 [POSIX] (time_t): Likewise.
11085 [POSIX] (timer_t): Likewise.
11086
89e435f3
FW
110872014-06-11 Florian Weimer <fweimer@redhat.com>
11088
11089 [BZ #17048]
11090 * posix/spawn_int.h (struct __spawn_action): Make the path string
11091 non-const to support deallocation.
11092 * posix/spawn_faction_addopen.c
11093 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11094 * posix/spawn_faction_destroy.c
11095 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11096 path in all spawn_do_open actions.
11097 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11098 posix_spawn_file_actions_addopen.
11099
c3a2ebe1
CM
111002014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11101
11102 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11103 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11104 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11105 conditional code always true.
11106 (__libc_vfork): New alias.
11107
9503784a
RM
111082014-06-11 Roland McGrath <roland@hack.frob.com>
11109
c9cab3d2
RM
11110 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11111 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11112
d3996c79
RM
11113 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11114
ba5ec611
RM
11115 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11116 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11117
f12b4814
RM
11118 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11119 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11120
9503784a
RM
11121 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11122 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11123
e23d3d26
VR
111242014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11125
11126 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11127 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11128 multiarch strcmp for PPC64.
11129 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11130 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11132 multiarch optimizations.
11133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11134 (__libc_ifunc_impl_list): Likewise.
11135
42b1161e
SP
111362014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11137
11138 * benchtests/scripts/validate_benchout.py: New script.
11139 * benchtests/Makefile (bench-func): Call it.
11140 * benchtests/scripts/benchout.schema.json: New file.
11141
2d0fc4dc
CM
111422014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11143
4a594c34
AZ
11144 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11145 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11146 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11147 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11148 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11149 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11150 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11151 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11152 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11153 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11154 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11155 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11156 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11157 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11158 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11159 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11161 Moved ...
4a594c34 11162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11163 ... here.
4a594c34 11164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11165 Moved ...
4a594c34
AZ
11166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11168 Moved ...
4a594c34 11169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11170 ... here.
4a594c34 11171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11172 Moved ...
4a594c34 11173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11174 ... here.
4a594c34 11175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11176 Moved ...
4a594c34
AZ
11177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11179 Moved ...
4a594c34 11180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11181 ... here.
4a594c34 11182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11183 Moved ...
4a594c34 11184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11185 ... here.
4a594c34 11186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11187 Moved ...
4a594c34
AZ
11188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11190 Moved ...
4a594c34 11191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11192 ... here.
4a594c34 11193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11194 Moved ...
4a594c34 11195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11196 ... here.
4a594c34 11197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11198 Moved ...
4a594c34 11199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11200 ... here.
4a594c34 11201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11202 Moved ...
4a594c34
AZ
11203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11205 Moved ...
4a594c34 11206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11207 ... here.
4a594c34 11208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11209 Moved ...
4a594c34 11210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11211 ... here.
4a594c34 11212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11213 Moved ...
4a594c34 11214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11215 ... here.
4a594c34 11216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11217 Moved ...
4a594c34
AZ
11218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11220 Moved ...
4a594c34 11221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11222 ... here.
4a594c34 11223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11224 Moved ...
4a594c34 11225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11226 ... here.
4a594c34 11227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11228 Moved ...
4a594c34
AZ
11229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11231 Moved ...
4a594c34 11232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11233 ... here.
4a594c34 11234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11235 Moved ...
4a594c34
AZ
11236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11238 Moved ...
4a594c34
AZ
11239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11241 Moved ...
4a594c34 11242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11243 ... here.
4a594c34 11244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11245 Moved ...
4a594c34 11246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11247 ... here.
4a594c34 11248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11249 Moved ...
4a594c34 11250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11251 ... here.
4a594c34 11252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11253 Moved ...
4a594c34
AZ
11254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11256 Moved ...
4a594c34 11257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11258 ... here.
4a594c34 11259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11260 Moved ...
4a594c34 11261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11262 ... here.
4a594c34
AZ
11263 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11264 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11265 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11268 Moved ...
4a594c34 11269 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11270 ... here.
4a594c34
AZ
11271 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11272 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11273 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11274 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11276 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11278 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11282 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11284 Moved ...
4a594c34
AZ
11285 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11287 Moved ...
4a594c34
AZ
11288 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11289 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11290 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11292 Moved ...
4a594c34
AZ
11293 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11295 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11296 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11297 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11298 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11299 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11300
0570cfed
W
113012014-06-10 Wilco <wdijkstr@arm.com>
11302
11303 * math/test-fenv-return.c: New file.
11304 * math/Makefile: Add new test test-fenv-return.
11305
f8ba1b56
JM
113062014-06-10 Joseph Myers <joseph@codesourcery.com>
11307
11308 [BZ #17042]
11309 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11310 when x - 1 is zero.
11311 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11312 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11313 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11314 0.0L for an argument of 1.0L.
11315 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11316 Likewise.
11317 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11318 value when x - 1 is zero.
11319 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11320 * sysdeps/i386/fpu/libm-test-ulps: Update.
11321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11322
2c3520d9
BO
113232014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11324
11325 [BZ #15119]
11326 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11327
acaa4d24
RM
113282014-06-09 Roland McGrath <roland@hack.frob.com>
11329
11330 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11331 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11332
962b744d
RM
113332014-06-09 Roland McGrath <roland@hack.frob.com>
11334
d752f0cc
RM
11335 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11336 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11337
34eda6d1
RM
11338 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11339 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11340
50f0a637
RM
11341 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11342 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11343
08f41f04
RM
11344 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11345 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11346
962b744d
RM
11347 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11348 if not already defined.
11349 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11350 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11351 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11352 (TLS_INIT_TP): Use it.
11353 (TLS_DEFINE_INIT_TP): New macro.
11354 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11355
09f19b05
JM
113562014-06-09 Joseph Myers <joseph@codesourcery.com>
11357
11358 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11359 constant.
11360 [POSIX] (IXANY): Likewise.
11361 [POSIX] (OLCUC): Likewise.
11362 [POSIX || POSIX2008] (CBAUD): Do not allow.
11363 [POSIX || POSIX2008] (DEFECHO): Likewise.
11364 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11365 [POSIX || POSIX2008] (ECHOKE): Likewise.
11366 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11367 [POSIX || POSIX2008] (EXTA): Likewise.
11368 [POSIX || POSIX2008] (EXTB): Likewise.
11369 [POSIX || POSIX2008] (FLUSHO): Likewise.
11370 [POSIX || POSIX2008] (LOBLK): Likewise.
11371 [POSIX || POSIX2008] (PENDIN): Likewise.
11372 [POSIX || POSIX2008] (SWTCH): Likewise.
11373 [POSIX || POSIX2008] (VDISCARD): Likewise.
11374 [POSIX || POSIX2008] (VDSUSP): Likewise.
11375 [POSIX || POSIX2008] (VLNEXT): Likewise.
11376 [POSIX || POSIX2008] (VREPRINT): Likewise.
11377 [POSIX || POSIX2008] (VSTATUS): Likewise.
11378 [POSIX || POSIX2008] (VWERASE): Likewise.
11379 (B*): Change to B[0123456789]*.
11380 * conform/data/time.h-data [POSIX || UNIX98]
11381 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11382 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11383 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11384 [POSIX] (tm_*): Do not allow.
11385
686554bf
JM
113862014-06-07 Joseph Myers <joseph@codesourcery.com>
11387
11388 * Makefile (install): Don't set LANGUAGE.
11389 * Makefile.in (install): Likewise.
11390 * assert/Makefile (test-assert-ENV): Remove variable.
11391 (test-assert-perr-ENV): Likewise.
11392 * elf/Makefile (neededtest4-ENV): Likewise.
11393 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11394 [$(cross-compiling) = no]: Don't set LANGUAGE.
11395 * io/ftwtest-sh (LANG): Remove variable.
11396 * libio/Makefile (tst-widetext-ENV): Likewise.
11397 * manual/install.texi (Running make install): Don't refer to
11398 environment settings for make install.
11399 * INSTALL: Regenerated.
11400 * nptl/tst-tls6.sh: Don't set LANG.
11401 * posix/globtest.sh (LANG): Remove variable.
11402 * string/Makefile (tester-ENV): Likewise.
11403 (inl-tester-ENV): Likewise.
11404 (noinl-tester-ENV): Likewise.
11405 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11406 [$(cross-compiling) = no]: Don't set LANGUAGE.
11407 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11408 without explicit environment settings.
11409
68e6b6b1
RM
114102014-06-06 Roland McGrath <roland@hack.frob.com>
11411
11412 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11413 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11415 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11416
4d3ae034
CM
114172014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11418
11419 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11420 other files in the crypt directory.
11421 * crypt/crypt.c: Remove duplicate includes.
11422 * crypt/crypt-entry.c: Likewise.
11423 * crypt/crypt_util.c: Likewise.
11424
8540f6d2
JM
114252014-06-06 Joseph Myers <joseph@codesourcery.com>
11426
11427 * Makeconfig (run-program-env): New variable.
11428 (run-program-prefix-before-env): Likewise.
11429 (run-program-prefix-after-env): Likewise.
11430 (run-program-prefix): Define in terms of new variables.
11431 (built-program-cmd-before-env): New variable.
11432 (built-program-cmd-after-env): Likewise.
11433 (built-program-cmd): Define in terms of new variables.
11434 (test-program-prefix-before-env): New variable.
11435 (test-program-prefix-after-env): Likewise.
11436 (test-program-prefix): Define in terms of new variables.
11437 (test-program-cmd-before-env): New variable.
11438 (test-program-cmd-after-env): Likewise.
11439 (test-program-cmd): Define in terms of new variables.
11440 * Rules (make-test-out): Use $(run-program-env).
11441 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11442 (help): Do not mention environment variables. Mention
11443 --timeoutfactor option.
11444 (timeoutfactor): New variable.
11445 (blacklist_exports): Remove function.
11446 (exports): Remove variable.
11447 (command): Do not include ${exports}.
11448 * manual/install.texi (Configuring and compiling): Do not mention
11449 test wrappers preserving environment variables. Mention that last
11450 assignment to a variable must take precedence.
11451 * INSTALL: Regenerated.
11452 * benchtests/Makefile (run-bench): Use $(run-program-env).
11453 * catgets/Makefile ($(objpfx)test1.cat): Use
11454 $(built-program-cmd-before-env), $(run-program-env) and
11455 $(built-program-cmd-after-env).
11456 ($(objpfx)test2.cat): Do not specify environment variables
11457 explicitly.
11458 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11459 $(run-program-env) and $(built-program-cmd-after-env).
11460 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11461 $(run-program-env) and $(test-program-cmd-after-env).
11462 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11463 explicitly.
11464 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11465 run_program_env and test_program_cmd_after_env arguments.
11466 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11467 * elf/tst-pathopt.sh: Use run_program_env argument.
11468 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11469 $(test-wrapper-env) and $(run-program-env).
11470 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11471 run_program_env arguments.
11472 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11473 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11474 $(test-program-prefix-before-env), $(run-program-env) and
11475 $(test-program-prefix-after-env).
11476 ($(objpfx)tst-gettext2.out): Likewise.
11477 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11478 run_program_env and test_program_prefix_after_env arguments.
11479 * intl/tst-gettext2.sh: Likewise.
11480 * intl/tst-gettext4.sh: Do not set environment variables
11481 explicitly.
11482 * intl/tst-gettext6.sh: Likewise.
11483 * intl/tst-translit.sh: Likewise.
11484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11485 $(test-program-prefix-before-env), $(run-program-env) and
11486 $(test-program-prefix-after-env).
11487 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11488 run_program_env and test_program_prefix_after_env arguments.
11489 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11490 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11491 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11492 explicitly with each use of ${test_wrapper_env}.
11493 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11494 $(test-program-prefix-before-env), $(run-program-env) and
11495 $(test-program-prefix-after-env).
11496 * posix/tst-getconf.sh: Do not set environment variables
11497 explicitly.
11498 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11499 run_program_env and test_program_prefix_after_env arguments.
11500 * stdio-common/tst-printf.sh: Do not set environment variables
11501 explicitly.
11502 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11503 $(test-program-prefix-before-env), $(run-program-env) and
11504 $(test-program-prefix-after-env).
11505 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11506 run_program_env and test_program_prefix_after_env arguments.
11507 Split $test calls into $test_pre and $test.
11508 * timezone/Makefile (build-testdata): Use
11509 $(built-program-cmd-before-env), $(run-program-env) and
11510 $(built-program-cmd-after-env).
11511
ed36bfa1
AZ
115122014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11513
11514 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11515 strlen for non SHARED builds.
11516
fc75bf46
SP
115172014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11518
11519 * nptl/allocatestack.c (check_list): Inlined function...
11520 (__reclaim_stacks): ... here.
11521
d89b3d80
OB
115222014-06-05 Ondřej Bílka <neleai@seznam.cz>
11523
11524 [BZ #15698]
11525 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11526 memory overrun.
11527
2bf18041
JM
115282014-06-05 Joseph Myers <joseph@codesourcery.com>
11529
11530 * Rules (make-test-out): Include
11531 LOCPATH=$(common-objpfx)localedata in default environment.
11532 * debug/Makefile (tst-chk1-ENV): Remove variable.
11533 (tst-chk2-ENV): Likewise.
11534 (tst-chk3-ENV): Likewise.
11535 (tst-chk4-ENV): Likewise.
11536 (tst-chk5-ENV): Likewise.
11537 (tst-chk6-ENV): Likewise.
11538 (tst-lfschk1-ENV): Likewise.
11539 (tst-lfschk2-ENV): Likewise.
11540 (tst-lfschk3-ENV): Likewise.
11541 (tst-lfschk4-ENV): Likewise.
11542 (tst-lfschk5-ENV): Likewise.
11543 (tst-lfschk6-ENV): Likewise.
11544 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11545 (tst-iconv7-ENV): Likewise.
11546 * intl/Makefile (LOCPATH-ENV): Likewise.
11547 (tst-codeset-ENV): Likewise.
11548 (tst-gettext3-ENV): Likewise.
11549 (tst-gettext5-ENV): Likewise.
11550 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11551 (tst-fopenloc-ENV): Likewise.
11552 (tst-fgetws-ENV): Remove variable.
11553 (tst-ungetwc1-ENV): Likewise.
11554 (tst-ungetwc2-ENV): Likewise.
11555 (bug-ungetwc2-ENV): Likewise.
11556 (tst-swscanf-ENV): Likewise.
11557 (bug-ftell-ENV): Likewise.
11558 (tst-fgetwc-ENV): Likewise.
11559 (tst-fseek-ENV): Likewise.
11560 (tst-ftell-partial-wide-ENV): Likewise.
11561 (tst-ftell-active-handler-ENV): Likewise.
11562 (tst-ftell-append-ENV): Likewise.
11563 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11564 (tst-regexloc-ENV): Likewise.
11565 (bug-regex1-ENV): Likewise.
11566 (tst-regex-ENV): Likewise.
11567 (tst-regex2-ENV): Likewise.
11568 (bug-regex5-ENV): Likewise.
11569 (bug-regex6-ENV): Likewise.
11570 (bug-regex17-ENV): Likewise.
11571 (bug-regex18-ENV): Likewise.
11572 (bug-regex19-ENV): Likewise.
11573 (bug-regex20-ENV): Likewise.
11574 (bug-regex22-ENV): Likewise.
11575 (bug-regex23-ENV): Likewise.
11576 (bug-regex25-ENV): Likewise.
11577 (bug-regex26-ENV): Likewise.
11578 (bug-regex30-ENV): Likewise.
11579 (bug-regex32-ENV): Likewise.
11580 (bug-regex33-ENV): Likewise.
11581 (bug-regex34-ENV): Likewise.
11582 (bug-regex35-ENV): Likewise.
11583 (tst-rxspencer-ENV): Likewise.
11584 (tst-rxspencer-no-utf8-ENV): Likewise.
11585 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11586 (tst-sscanf-ENV): Likewise.
11587 (tst-swprintf-ENV): Likewise.
11588 (tst-swscanf-ENV): Likewise.
11589 (test-vfprintf-ENV): Likewise.
11590 (scanf13-ENV): Likewise.
11591 (bug14-ENV): Likewise.
11592 (tst-grouping-ENV): Likewise.
11593 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11594 (tst-strtod3-ENV): Likewise.
11595 (tst-strtod4-ENV): Likewise.
11596 (tst-strtod5-ENV): Likewise.
11597 (testmb2-ENV): Likewise./
11598 * string/Makefile (tst-strxfrm-ENV): Likewise.
11599 (tst-strxfrm2-ENV): Likewise.
11600 (bug-strcoll1-ENV): Likewise.
11601 (test-strcasecmp-ENV): Likewise.
11602 (test-strncasecmp-ENV): Likewise.
11603 * time/Makefile (tst-strptime-ENV): Likewise.
11604 (tst-ftime_l-ENV): Likewise.
11605 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11606 (tst-mbrtowc-ENV): Likewise.
11607 (tst-wcrtomb-ENV): Likewise.
11608 (tst-mbrtowc2-ENV): Likewise.
11609 (tst-c16c32-1-ENV): Likewise.
11610 (tst-mbsnrtowcs-ENV): Likewise.
11611
cd1fb604
OB
116122014-06-05 Ondřej Bílka <neleai@seznam.cz>
11613
11614 * manual/resource.texi (How to get information about the memory
11615 subsystem?): Fix typo.
11616 Reported by Peon de la Parra Ivan <peon@keba.com>
11617
b42eca7d
GY
116182014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11619
11620 [BZ #16882]
11621 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11622 (pthread_spin_lock): Branch out of spin loop to proper location.
11623 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11624 (pthread_spin_lock): Likewise.
11625
902b71f9
DM
11626 * nptl/tst-spin4.c: New test.
11627 * nptl/Makefile (tests): Add tst-spin4.
11628
f9d2d032
AS
116292014-06-03 Andreas Schwab <schwab@suse.de>
11630
11631 [BZ #15946]
11632 * resolv/res_send.c (send_dg): Reload file descriptor after
11633 calling reopen.
11634
cf7bfd28
SL
116352014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11636
11637 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11638
111cc714
RH
116392014-06-03 Richard Henderson <rth@redhat.com>
11640
89b4bd6b
RH
11641 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11642 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11643 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11644 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11645 in the SAVE_PID block.
11646 (__libc_vfork): New alias.
71840409 11647 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11648
111cc714
RH
11649 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11650 child in registers, not on the stack. Remove RESET_PID conditionals.
11651 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11652
ccc39911
MS
116532014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11654
11655 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11656
693096cc
W
116572014-06-03 Wilco <wdijkstr@arm.com>
11658
11659 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11660 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11661 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11662 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11663 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11664 Likewise.
11665
0b4366bc
W
116662014-06-03 Wilco <wdijkstr@arm.com>
11667
11668 * sysdeps/aarch64/fpu/math_private.h
11669 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11670 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11671 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11672 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11673 Fix declarations.
11674
8747cd03
KS
116752014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11676
11677 * crypt/crypt-private.h: Include ufc-crypt.h.
11678 (__b64_from_24bit): Declare extern.
11679 * crypt/crypt_util.c(__b64_from_24bit): New function.
11680 (b64t): New static const variable.
11681 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11682 (b64t): Remove variable.
11683 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11684 * crypt/sha256-crypt.c: Include crypt-private.h.
11685 (b64t): Remove variable.
11686 (__sha256_crypt_r): Remove b64_from_24bit and replace
11687 with __b64_from_24bit.
11688 * crypt/sha512-crypt.c: Likewise.
11689
d936d379
RM
116902014-06-02 Roland McGrath <roland@hack.frob.com>
11691
11692 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11693 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11694 Label the code __libc_vfork rather than __vfork.
11695 [!NOT_IN_libc] (vfork): Define as weak alias.
11696 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11697 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11698 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11699
9fa76613
SP
117002014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11701
11702 * malloc/malloc.c (malloc_info): Fix format specifier for
11703 n_mmaps.
11704
a88dadbe
W
117052014-06-02 Wilco <wdijkstr@arm.com>
11706
11707 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11708 FPCR write.
11709
c95b3011
W
117102014-06-02 Wilco <wdijkstr@arm.com>
11711
11712 [BZ #17009]
11713 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11714 Rewrite to reduce FPCR/FPSR accesses.
11715
6b4d7a90
DM
117162014-06-01 David S. Miller <davem@davemloft.net>
11717
11718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11719
30f3d07c
DM
117202014-05-31 David S. Miller <davem@davemloft.net>
11721
11722 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11723 to occur in round to nearest mode when |x| >= 2.0
11724
74f31c18
RH
117252014-05-30 Richard Henderson <rth@twiddle.net>
11726
f0712b54
RH
11727 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11728 (PSEUDO_RET_NOERRNO): Remove.
11729 (ret): Don't redefine.
11730 (ret_NOERRNO): Define in terms of ret.
11731 (ret_ERRVAL): Likewise.
11732
74f31c18
RH
11733 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11734 use of PSEUDO_RET; perform the error check directly.
11735
30477995
MM
117362014-05-30 Marko Myllynen <myllynen@redhat.com>
11737
11738 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11739 with __int128_t.
11740
62a58816
SP
117412014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11742
11743 * malloc/malloc (malloc_info): Fix formatting.
11744
4d653a59
SP
117452014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11746 Roland McGrath <roland@hack.frob.com>
11747
11748 * malloc/malloc (malloc_info): Also print mmapped statistics.
11749
5190c17f
RM
117502014-05-30 Roland McGrath <roland@hack.frob.com>
11751
11752 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11753 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11754
987c0269
OB
117552014-05-30 Ondřej Bílka <neleai@seznam.cz>
11756
11757 * malloc/malloc.c (malloc_info): Inline mi_arena.
11758
af4e8ef9
RH
117592014-05-29 Richard Henderson <rth@twiddle.net>
11760
1670e207
RH
11761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11762 Remove comma before expanding ASM_ARGS_##nr.
11763 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11764 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11765 of ASM_ARGS_##nr.
11766 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11767 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11768 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11769 (ASM_ARGS_1): Add leading comma.
11770
11a28aee
RH
11771 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11772 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11773 to __errno_location.
11774 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11775 Remove the expected plt for __errno_location.
11776
a17e5ffb 11777 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11778 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11779 call to __read_tp.
11780
b5be4597
RH
11781 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11782 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11783 it and break it down.
11784 (DOCARGS_0, DOCARGS_1): Do nothing.
11785 (DOCARGS_2): Update to store into the new stack frame.
11786 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11787 (UNDOCARGS_1): Update to restore from the new stack frame.
11788 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11789 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11790
645d44ab
RH
11791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11792 (SINGLE_THREAD_P): New parameter for result regno.
11793 (PSEUDO): Update to match; use cbz instead of beq.
11794
a8b4f04a
RH
11795 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11796 Use ENTRY to define the _nocancel entry point. Share the syscall
11797 and syscall error check paths with the cancel path.
11798 (PSEUDO_END): New.
11799
af4e8ef9
RH
11800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11801 whitespace; tabs before and after asm mnemonics.
11802
26b0d2e1
EW
118032014-05-29 Eric Wong <normalperson@yhbt.net>
11804
11805 [BZ #15132]
11806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11807 Call fstat64 or stat64 internally, depending on arguments passed.
11808 Replace stat buffer argument with file descriptor argument.
11809 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11810 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11811 Pass fd to __internal_statvfs instead of calling fstat64.
11812 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11813 Pass fd to __internal_statvfs64 instead of calling fstat64.
11814 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11815 Pass -1 to __internal_statvfs instead of calling stat64.
11816 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11817 Pass -1 to __internal_statvfs64 instead of calling stat64.
11818
1efe2bd9
RM
118192014-05-28 Roland McGrath <roland@hack.frob.com>
11820
0d3b7a19
RM
11821 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11822 that was previously under [RESET_PID].
11823 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11824
1efe2bd9
RM
11825 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11826 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11827
a6bea3ca
RM
118282014-05-27 Roland McGrath <roland@hack.frob.com>
11829
30b6629e
RM
11830 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11831
a6bea3ca
RM
11832 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11833 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11834
3dfb9a5c
OB
118352014-05-27 Ondřej Bílka <neleai@seznam.cz>
11836
11837 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11838
774f9285
AS
118392014-05-27 Andreas Schwab <schwab@suse.de>
11840
11841 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11842 TLS_INIT_TP macro.
11843 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11844 * elf/rtld.c (init_tls, dl_main): Likewise.
11845 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11846 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11847 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11848 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11849 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11850 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11851 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11852 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11853 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11854 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11855 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11856 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11857 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11858 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11859 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11860 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11861 * sysdeps/generic/tls.h: Update description.
11862
36ffe739
WN
118632014-05-27 Will Newton <will.newton@linaro.org>
11864
11865 [BZ #16990]
11866 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11867 and restore r2 rather than just restoring.
11868
2482ae43
SP
118692014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11870
11871 [BZ #16724]
11872 * libio/tst-ftell-append.c: New test case.
11873 * libio/Makefile (tests): Add test case.
11874 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11875 append mode.
11876 * libio/wfileops.c (do_ftell_wide): Likewise.
11877
3d1024e8
AZ
118782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11879
bab90016
AZ
11880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11881
c7a8d667
AZ
11882 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11883 ...
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11886 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11887 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11889 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11891 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11892 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11893 Moved ...
11894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11896 Moved ...
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11898 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11899 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11901 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11903 ...
11904 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11908 here.
11909 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11910 ...
11911 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11912 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11913 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11914
daee7851
AZ
11915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11916 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11918 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11919
50a40819
AZ
11920 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11921 merge into ...
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11924 ...
11925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11927 ...
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11929 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11930 Moved ...
11931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11932 here.
11933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11934 Moved ...
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11936 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11937 Moved ...
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11939
8464c2a1
AZ
11940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11941 conditional [RESET_PID].
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11943 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11944 removed.
11945 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11946 removed.
11947
3d1024e8
AZ
11948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11949 <tcb-offsets.h>.
11950 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11951 (__libc_vfork): New strong alias.
11952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11953 removed.
11954 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11955 Removed.
11956
11957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11958 <tcb-offsets.h>.
11959 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11960 (__libc_vfork): New strong alias.
11961 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11962 removed.
11963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11964 removed.
11965
fdfd175d
CD
119662014-05-26 Carlos O'Donell <carlos@redhat.com>
11967
11968 * malloc/malloc.c (mi_arena): New function.
11969 (malloc_info): Remove nested function mi_arena. Call non-nosted
11970 function mi_arena.
11971
d298c416
AZ
119722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11973
11974 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11975 by insrwi.
11976 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11977 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11978 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11979 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11980 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11981 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11982 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11983
b60ea6ff
AS
119842014-05-26 Andreas Schwab <schwab@suse.de>
11985
11986 [BZ #16984]
11987 * locale/programs/repertoire.c (repertoire_read): Add slash
11988 between I18NPATH element and file name.
11989 * locale/programs/locfile.c (locfile_read): Likewise.
11990
67365926
SL
119912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11992
11993 * nptl/pthread_mutexattr_settype.c
11994 (__pthread_mutexattr_settype):
11995 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11996
f8bdf1f0
SL
119972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11998
11999 * nptl/tst-mutex5 (do_test):
12000 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12001
15eaf6ff
SP
120022014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12003
12004 * benchtests/README: Document 'init' directive.
12005 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12006 BENCH_INIT.
12007 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12008 (parse_file): Recognize 'init' directive.
12009
75f11331
KM
120102014-05-26 Kyle McMartin <kyle@redhat.com>
12011
12012 [BZ #16796]
12013 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12014 alignment of struct pthread.
12015
c3ec475c
SP
120162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12017
12018 [BZ #16878]
12019 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12020 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12021 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12022 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12023
82aab97c
RH
120242014-05-25 Richard Henderson <rth@twiddle.net>
12025
aa2f176d
RH
12026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12027 (SINGLE_THREAD_P_PIC): Remove.
12028 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12029 (SINGLE_THREAD_P_PIC): Remove.
12030
ca3cfa40
RH
12031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12032 branch to syscall error ...
12033 (PSEUDO): ... here.
12034 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12035 from __local_syscall_error to .Lsyscall_error.
12036 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12037 (SYSCALL_ERROR): Update label name.
12038
6e6c2d01
RH
12039 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12040 Do not use DOARGS/UNDOARGS.
12041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12042 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12043 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12044 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12045 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12046
c69abcee
RH
12047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12048 block comment.
12049
82aab97c
RH
12050 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12051 define if !NOT_IN_libc.
12052 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12053 define with non-default symbol versions.
12054
8820e3ac
RH
120552014-05-23 Richard Henderson <rth@twiddle.net>
12056
900e445f
RH
12057 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12058 (vfork, __vfork): Define via compat_symbol.
12059
8820e3ac
RH
12060 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12061 [!HAVE_IFUNC] (vfork_compat): Remove.
12062 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12063
e59252a5
JM
120642014-05-23 Joseph Myers <joseph@codesourcery.com>
12065
12066 [BZ #16978]
12067 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12068 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12069 variable.
12070
132c7f5f
RH
120712014-05-23 Richard Henderson <rth@twiddle.net>
12072
bc89e962
RH
12073 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12074 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12075 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12076 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12077
12078 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12079 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12080 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12081 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12082 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12083 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12084 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12085 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12086 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12087 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12088 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12089 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12090 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12091 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12093 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12094 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12095 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12096 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12097 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12098 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12099 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12100 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12103 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12105 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12106 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12107 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12108 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12109 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12110 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12111 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12112 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12113 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12114 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12115 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12116 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12117 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12118 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12119 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12120 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12121 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12122 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12123 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12125 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12127 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12128 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12129 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12130 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12131 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12133 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12134
e2fa4bc2
RH
12135 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12136 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12137 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12138 before exiting on error.
12139 (__libc_vfork): New strong alias.
12140 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12141 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12142
279b24e2
RH
12143 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12144 that was previously under [RESET_PID].
12145 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12146
132c7f5f
RH
12147 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12148
b72592e7
JM
121492014-05-23 Joseph Myers <joseph@codesourcery.com>
12150
12151 [BZ #16977]
12152 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12153 value when x - 1 is zero.
12154 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12155 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12156 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12157 0.0L for an argument of 1.0L.
12158 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12159 Likewise.
12160 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12161 value when x - 1 is zero.
12162 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12163 * sysdeps/i386/fpu/libm-test-ulps: Update.
12164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12165
2302d679
RV
121662014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12167
12168 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12169 alphasort and versionsort.
12170
32999d63
AZ
121712014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12172
12173 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12174 macro.
12175 [copysignf]: Likewise.
12176
019324d0
SP
121772014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12178
12179 * crypt/md5-crypt.c: Fix formatting.
12180
34fff5c2
KS
121812014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12182
12183 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12184 (b64_from_24bit): New function.
12185
3d2badac
AZ
121862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12187
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12189 libc_hidden_builtin_def to ifunc.
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12191 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12192
f7bb179f 121932014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12194
12195 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12196 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12197
4134b50d
JM
121982014-05-21 Joseph Myers <joseph@codesourcery.com>
12199
bb7d0337
JM
12200 * nscd/Depend (linuxthreads): Remove.
12201 (nptl): Add.
12202 * resolv/Depend (linuxthreads): Remove.
12203 * rt/Depend (linuxthreads): Remove.
12204
4134b50d
JM
12205 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12206 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12207 $(common-objpfx)elf/.
12208 (link-libc-before-gnulib): Likewise.
12209 (elfobjdir): Remove variable.
12210 * Makefile (install): Use $(elf-objpfx) instead of
12211 $(common-objpfx)elf/.
12212 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12213 $(elfobjdir)/.
12214 (link-libc-deps): Likewise.
12215 ($(common-objpfx)libc.so): Likewise.
12216 ($(common-objpfx)linkobj/libc.so): Likewise.
12217 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12218 instead of $(common-objpfx)elf/.
12219 (symbolic-link-list): Likewise.
12220 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12221 [$(cross-compiling) = no]: Likewise.
12222 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12223 $(elfobjdir)/.
12224 (static-gnulib-arch): Likewise.
12225 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12226 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12227 $(common-objpfx)elf/.
12228
3612eb8f
RH
122292014-05-21 Richard Henderson <rth@redhat.com>
12230
a6b3657b
RH
12231 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12232 (SINGLE_THREAD_P): Use the correct width load. Fold
12233 into the ldr offset.
12234
3612eb8f
RH
12235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12236 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12237
175cef41
JM
122382014-05-20 Joseph Myers <joseph@codesourcery.com>
12239
12240 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12241 (libgcc_s_resume): Use __attribute_used__.
12242 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12243 Likewise.
12244
e13bccd3
AZ
122452014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12246
12247 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12248 optimization when used with float constants.
12249
7c112a38
AZ
12250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12251
ae75a883
AJ
122522014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12253
12254 [BZ #16915]
12255 * locale/nl_langinfo_l.c: Make direct reference to every
12256 _nl_current_CATEGORY symbol.
12257 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12258 (tests-static): Add tst-langinfo-static.
12259 (tests-special): Add tst-langinfo-static.out.
12260 ($(objpfx)tst-langinfo.out): Redirect output.
12261 ($(objpfx)tst-langinfo-static.out): New.
12262 * localedata/tst-langinfo.sh: Send output to stdout.
12263 * localedata/tst-langinfo-static.c: New file.
12264
4406c41c
AJ
12265 [BZ #16965]
12266 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12267 when the shift amount is modulo the limb size.
12268
4c0a1e63
RH
122692014-05-20 Richard Henderson <rth@redhat.com>
12270
de9d8f20
RH
12271 [BZ #16967]
12272 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12273 Change type of sa_flags from unsigned int to int.
12274
4c0a1e63
RH
12275 [BZ #16966]
12276 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12277
12278 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12279
a60339aa
WN
122802014-05-20 Will Newton <will.newton@linaro.org>
12281
12282 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12283 Test the return value of the system call in the nocancel case.
12284
7d05a816
YR
122852014-05-20 Will Newton <will.newton@linaro.org>
12286 Yvan Roux <yvan.roux@linaro.org>
12287
12288 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12289 #include of asm/ptrace.h.
12290 (PTRACE_GET_THREAD_AREA): Remove #undef.
12291 (PTRACE_GETHBPREGS): Likewise.
12292 (PTRACE_SETHBPREGS): Likewise.
12293 (struct user_regs_struct): New structure.
12294 (struct user_fpsimd_struct): New structure.
12295 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12296 #include of asm/ptrace.h and second #include of sys/user.h.
12297 (PTRACE_GET_THREAD_AREA): Remove #undef.
12298 (PTRACE_GETHBPREGS): Likewise.
12299 (PTRACE_SETHBPREGS): Likewise.
12300 (ELF_NGREG): Use new struct user_regs_struct.
12301 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12302
af121e37
AZ
123032014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12304
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12306 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12307
834caf06
JM
123082014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12309
12310 [BZ #16958]
12311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12312 membar to avoid block loads/stores to overlap previous stores.
12313
e184a918
RH
123142014-05-17 Richard Henderson <rth@redhat.com>
12315
12316 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12317 Create the __##syscall_name##_nocancel entry point.
12318 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12319 Remove; let the sysdep-cancel.h code create it.
12320
f56c7a6a
DM
123212014-05-17 David S. Miller <davem@davemloft.net>
12322
12323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12324 Protect with __USE_GNU.
12325 (TIOCSET_TEMPT): Likewise.
12326 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12327 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12328 these are already provided in bits/ioctl-types.h
12329
f75616b2
RM
123302014-05-16 Roland McGrath <roland@hack.frob.com>
12331
3edeca86
RM
12332 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12333 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12334
f75616b2
RM
12335 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12336 Use wait4 regardless of [__NR_waitpid].
12337
deb0f7f6
MR
123382014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12339
12340 PR libgcc/60166
12341 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12342 (_FP_NANSIGN_Q): Set the quiet bit.
12343
79520f4b
JM
123442014-05-16 Joseph Myers <joseph@codesourcery.com>
12345
12346 * benchtests/Makefile
12347 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12348 not $(common-objpfx)math/libm.so.
12349 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12350 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12351 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12352 $(common-objpfx)dlfcn/libdl.so.
12353 ($(objpfx)tst-audit8): Depend on $(libm), not
12354 $(common-objpfx)math/libm.so.
12355 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12356 not $(common-objpfx)dlfcn/libdl.so.
12357 * math/Makefile
12358 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12359 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12360 [$(build-shared) = yes].
12361 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12362 $(common-objpfx)nptl/libpthread.so.
12363 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12364 $(common-objpfx)math/libm.so$(libm.so-version) or
12365 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12366 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12367 $(common-objpfx)dlfcn/libdl.so.
12368 * setjmp/Makefile (link-libm): Remove variable.
12369 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12370 * stdio-common/Makefile (link-libm): Remove variable.
12371 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12372 * stdlib/Makefile (link-libm): Remove variable.
12373 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12374 ($(objpfx)tst-strtod-round): Likewise.
12375 ($(objpfx)tst-tininess): Likewise.
12376 ($(objpfx)tst-strtod-underflow): Likewise.
12377 ($(objpfx)tst-strtod6): Likewise.
12378 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12379 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12380 $(common-objpfx)dlfcn/libdl.so.
12381
026b0fe4
AZ
123822014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12383
12384 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12385 BSD terminal modes definitions.
12386
def4bcb2
RM
123872014-05-16 Roland McGrath <roland@hack.frob.com>
12388
fe39b021
RM
12389 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12390 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12391
1d1fc46e 12392 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12393 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12394 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12395 Don't do #include_next.
12396 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12397 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12398 Don't do #include_next.
12399 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12400 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12401 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12402 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12403
c72399fb
AM
124042014-05-16 Allan McRae <allan@archlinux.org>
12405
d51d659d
AM
12406 * po/sv.po: Update Swedish translation from translation project.
12407
c72399fb
AM
12408 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12409 in sed expression.
12410
d0583c40
AJ
124112014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12412
12413 [BZ #16917]
12414 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12415 errno if the TIOCGPTN ioctl fails with an error different than
12416 EINVAL.
12417 * login/tst-ptsname.c: New file.
12418 * login/Makefile (tests): Add tst-ptsname.
12419
d16e6ec7
AJ
12420 [BZ #16943]
12421 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12422 and prlimit64.
12423
cf26a0cb
SP
124242014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
12426 [BZ #16849]
12427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12428 herrno to return EAI_AGAIN.
12429
5675da1e
RM
124302014-05-14 Roland McGrath <roland@hack.frob.com>
12431
a5d87b3d
RM
12432 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12433 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12434 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12437 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12438 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12439 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12441 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12442 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12443 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12444 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12445 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12446 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12447 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12448 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12449 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12450 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12451 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12452 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12453 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12454 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12455 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12456 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12457 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12458 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12459 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12460 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12461 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12463 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12465 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12467 Moved ...
12468 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12470 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12472 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12474 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12476 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12480 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12482 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12484 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12486 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12488 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12490 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12492 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12494 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12496 Moved ...
12497 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12499 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12501 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12503 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12505 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12507 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12509 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12511 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12513 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12515 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12517 Moved ...
12518 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12520 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12521
039890a6
RM
12522 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12523 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12524 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12525 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12526 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12528 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12529 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12530 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12532 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12534 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12536 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12538 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12540 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12542 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12543 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12544 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12545 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12546 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12548 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12550 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12551 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12552 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12553
65c89320
RM
12554 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12555 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12556
348f8e8c
RM
12557 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12558 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12559 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12560 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12561 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12562 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12563 Moved ...
12564 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12565 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12566 Moved ...
12567 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12569 Moved ...
12570 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12571 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12572 Moved ...
12573 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12575 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12577 Moved ...
12578 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12579 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12580 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12581 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12582 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12583 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12584 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12585 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12586 Moved ...
12587 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12589 Moved ...
12590 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12591 ... here.
12592 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12593 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12594 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12595 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12597 Moved ...
12598 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12599 ... here.
12600 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12601 Moved ...
12602 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12603 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12604 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12606 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12607 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12608 Moved ...
12609 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12610 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12611 Moved ...
12612 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12613 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12614 Moved ...
12615 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12616 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12617 Moved ...
12618 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12620 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12622 Moved ...
12623 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12624 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12625 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12626 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12627 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12628 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12629 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12630 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12631 Moved ...
12632 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12634 Moved ...
12635 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12636 ... here.
12637 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12638 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12639 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12640 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12642 Moved ...
12643 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12644 ... here.
12645 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12646 Moved ...
12647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12649 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12650 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12651 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12652 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12653 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12654 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12655 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12656 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12657 Moved ...
12658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12659 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12660 Moved ...
12661 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12662 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12663 Moved ...
12664 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12665 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12666 Moved ...
12667 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12668 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12669 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12670 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12671 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12672 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12673 Moved ...
12674 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12675 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12676 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12677 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12678 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12679 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12680 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12681 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12682 Moved ...
12683 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12684 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12685 Moved ...
12686 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12687 ... here.
12688 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12689 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12690 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12691 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12693 Moved ...
12694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12695 ... here.
12696 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12697 Moved ...
12698 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12699 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12700 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12701 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12702 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12703 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12704 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12705 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12706 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12707 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12708 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12709
5085af05
RM
12710 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12711 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12712
708f0813
RM
12713 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12714 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12715
c96067bc
RM
12716 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12717 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12718 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12719 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12720 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12721 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12722 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12723 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12724 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12725 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12727 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12728 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12729 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12730 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12731 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12732 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12733 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12734 Moved ...
12735 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12736 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12737 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12738 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12739 Moved ...
12740 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12741 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12742 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12743 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12744 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12745 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12746 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12748 Moved ...
12749 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12750 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12751 Moved ...
12752 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12756 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12758 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12759 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12760 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12761 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12762 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12763 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12764 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12765 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12766 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12767 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12768 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12769
ec136444
RM
12770 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12771 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12772 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12773 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12774 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12775
2fbdf533
RM
12776 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12777 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12778 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12779 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12780 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12781 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12782 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12783 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12784 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12785 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12786
4c68138b
RM
12787 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12788 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12789
4eaae765
RM
12790 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12791 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12792 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12793 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12794 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12795 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12796 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12797 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12798 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12799 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12800 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12801 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12802 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12803 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12804 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12805 Update #include.
12806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12807 Likewise.
12808 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12809 Likewise.
12810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12811 Likewise.
12812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12813 Likewise.
12814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12815 Likewise.
12816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12817 Likewise.
12818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12819 Likewise.
12820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12821 Likewise.
12822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12823 Likewise.
4ef6befa
RM
12824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12828 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12829 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12830 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12831 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12833 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12834 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12836 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12837 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12838 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12839
941d7dfd
RM
12840 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12841 that was previously under [RESET_PID].
12842 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12843 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12844 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12845
1b731c35
RM
12846 * sysdeps/i386/nptl/Implies: New file.
12847 * sysdeps/x86_64/nptl/Implies: New file.
12848 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12849 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12851 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12852
e2787137
RM
12853 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12854 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12855 (__libc_vfork): New strong alias.
12856 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12857 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12858
12859 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12860 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12861 (__libc_vfork): New strong alias.
12862 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12863 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12864
5675da1e
RM
12865 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12866 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12867 (__libc_vfork): New strong alias.
12868 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12869 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12870 * nptl/pt-vfork.c: New file.
12871 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12872 (libpthread: GLIBC_2.20): New version set (empty).
12873
4f02e2b8
WN
128742014-05-14 Will Newton <will.newton@linaro.org>
12875
12876 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12877 rather than #if.
12878
0bf061d3
JM
128792014-05-14 Joseph Myers <joseph@codesourcery.com>
12880
1a84c3d6
JM
12881 [BZ #16564]
12882 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12883 arguments with exponent 65 or above.
12884 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12885 arguments 0x1p113L or above.
12886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12887 to arguments 0x1p107L or above.
12888 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12889 positive arguments with exponent 65 or above.
12890 * math/auto-libm-test-in: Add more tests of log1p.
12891 * math/auto-libm-test-out: Regenerated.
12892
01dbacd2
JM
12893 [BZ #16928]
12894 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12895 non-finite arguments is +0.
12896 * math/s_cacosf.c (__cacosf): Likewise.
12897 * math/s_cacosl.c (__cacosl): Likewise.
12898 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12899 * sysdeps/i386/fpu/libm-test-ulps: Update.
12900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12901
913d03c8
JM
12902 [BZ #16927]
12903 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12904 value.
12905 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12906 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12907 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12908 for explicit high bit of mantissa when testing for argument equal
12909 to 1.
12910 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12911 * sysdeps/i386/fpu/libm-test-ulps: Update.
12912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12913
0bf061d3
JM
12914 [BZ #16516]
12915 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12916 (__erf): Scale by 16 instead of 8 in potentially underflowing
12917 case. Ensure exception if result actually underflows.
12918 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12919 (__erff): Scale by 16 instead of 8 in potentially underflowing
12920 case. Ensure exception if result actually underflows.
12921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12922 (efx8): Remove variable.
12923 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12924 case. Ensure exception if result actually underflows.
12925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12926 (efx8): Remove variable.
12927 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12928 case. Ensure exception if result actually underflows.
12929 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12930 (efx8): Remove variable.
12931 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12932 case. Ensure exception if result actually underflows.
12933 * math/auto-libm-test-in: Add more tests of erf.
12934 * math/auto-libm-test-out: Regenerated.
12935
73ba67cb
AS
129362014-05-14 Andreas Schwab <schwab@suse.de>
12937
3d8c8bff
AS
12938 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12939 Remove code conditionalized on USE___THREAD.
12940
73ba67cb
AS
12941 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12942 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12943 not definedness.
12944
5c521ecd
JM
129452014-05-14 Joseph Myers <joseph@codesourcery.com>
12946
5e7698c6
JM
12947 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12948 Define unconditionally.
12949 (__ASSUME_O_CLOEXEC): Likewise.
12950 (__ASSUME_SOCK_CLOEXEC): Likewise.
12951 (__ASSUME_IN_NONBLOCK): Likewise.
12952 (__ASSUME_PIPE2): Likewise.
12953 (__ASSUME_EVENTFD2): Likewise.
12954 (__ASSUME_SIGNALFD4): Likewise.
12955 (__ASSUME_DUP3): Likewise.
12956 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12957 (__ASSUME_DUP3): Do not define.
12958 (__ASSUME_EVENTFD2): Likewise.
12959 (__ASSUME_IN_NONBLOCK): Likewise.
12960 (__ASSUME_O_CLOEXEC): Likewise.
12961 (__ASSUME_PIPE2): Likewise.
12962 (__ASSUME_SIGNALFD4): Likewise.
12963 (__ASSUME_SOCK_CLOEXEC): Likewise.
12964 (__ASSUME_UTIMES): Undefine.
12965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12966 (__ASSUME_UTIMES): Do not define.
12967 (__ASSUME_O_CLOEXEC): Likewise.
12968 (__ASSUME_SOCK_CLOEXEC): Likewise.
12969 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12970 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12971 0x020621].
12972 (__ASSUME_PIPE2): Likewise.
12973 (__ASSUME_EVENTFD2): Likewise.
12974 (__ASSUME_SIGNALFD4): Likewise.
12975 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12976 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12977 Do not define.
12978 (__ASSUME_EVENTFD2): Likewise.
12979 (__ASSUME_SIGNALFD4): Likewise.
12980 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12981 (__ASSUME_32BITUIDS): Likewise.
12982 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12983 (__ASSUME_IPC64): Likewise.
12984 (__ASSUME_ST_INO_64_BIT): Likewise.
12985 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12986 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12987 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12988 (__ASSUME_UTIMES): Do not define.
12989 (__ASSUME_PSELECT): Likewise.
12990 (__ASSUME_PPOLL): Likewise.
12991 (__ASSUME_O_CLOEXEC): Likewise.
12992 (__ASSUME_SOCK_CLOEXEC): Likewise.
12993 (__ASSUME_IN_NONBLOCK): Likewise.
12994 (__ASSUME_PIPE2): Likewise.
12995 (__ASSUME_EVENTFD2): Likewise.
12996 (__ASSUME_SIGNALFD4): Likewise.
12997 (__ASSUME_DUP3): Likewise.
12998 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12999 (__ASSUME_UTIMES): Likewise.
13000 (__ASSUME_O_CLOEXEC): Likewise.
13001 (__ASSUME_SOCK_CLOEXEC): Likewise.
13002 (__ASSUME_IN_NONBLOCK): Likewise.
13003 (__ASSUME_PIPE2): Likewise.
13004 (__ASSUME_EVENTFD2): Likewise.
13005 (__ASSUME_SIGNALFD4): Likewise.
13006 (__ASSUME_DUP3): Likewise.
13007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13008 (__ASSUME_UTIMES): Likewise.
13009 (__ASSUME_O_CLOEXEC): Likewise.
13010 (__ASSUME_SOCK_CLOEXEC): Likewise.
13011 (__ASSUME_IN_NONBLOCK): Likewise.
13012 (__ASSUME_PIPE2): Likewise.
13013 (__ASSUME_EVENTFD2): Likewise.
13014 (__ASSUME_SIGNALFD4): Likewise.
13015 (__ASSUME_DUP3): Likewise.
13016 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13017 Likewise.
13018 (__ASSUME_UTIMES): Likewise.
13019 (__ASSUME_EVENTFD2): Likewise.
13020 (__ASSUME_SIGNALFD4): Likewise.
13021 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13022 (__ASSUME_O_CLOEXEC): Likewise.
13023 (__ASSUME_SOCK_CLOEXEC): Likewise.
13024 (__ASSUME_IN_NONBLOCK): Likewise.
13025 (__ASSUME_PIPE2): Likewise.
13026 (__ASSUME_EVENTFD2): Likewise.
13027 (__ASSUME_SIGNALFD4): Likewise.
13028 (__ASSUME_DUP3): Likewise.
13029 (__ASSUME_UTIMES): Undefine.
13030
5c521ecd
JM
13031 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13032 feclearexcept. Remove symbol versioning code.
13033 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13034 symbol versioning code.
13035 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13036 symbol versioning code.
13037 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13038 feupdateenv. Remove symbol versioning code.
13039 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13040 fegetexceptflag. Remove symbol versioning code.
13041 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13042 fesetexceptflag. Remove symbol versioning code.
13043 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13044 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13045 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13046 (__posix_fadvise64_l32): Remove prototype.
13047 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13048 code.
13049
5da9dfad
RM
130502014-05-13 Roland McGrath <roland@hack.frob.com>
13051
13052 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13053 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13054 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13055 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13056
893b4f37
SK
130572014-05-13 Sami Kerola <kerolasa@iki.fi>
13058
13059 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13060 current working directory
13061
e0db6517
RM
130622014-05-13 Roland McGrath <roland@hack.frob.com>
13063
58aa195d
RM
13064 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13065 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13066 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13067 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13068 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13069 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13070 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13071 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13072 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13073 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13074 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13075 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13076 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13077 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13078 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13079 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13080 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13081 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13082 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13083 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13085 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13087 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13088 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13089 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13091 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13092 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13093 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13094 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13095 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13096 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13097 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13098 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13099 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13100 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13101 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13102 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13103 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13104 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13105 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13106
8c6d01f0
RM
13107 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13108 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13109
13110 * sysdeps/unix/sysv/linux/arm/Makefile
13111 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13112 Add rt-aeabi_unwind_cpp_pr1.
13113 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13114 Add nptl-aeabi_unwind_cpp_pr1.
13115 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13116 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13117 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13118 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13119 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13120 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13121
13122 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13123 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13124 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13125 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13126
bba6da4e
RM
13127 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13128 Deconditionalize the code that was previously under [RESET_PID].
13129 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13130
e0db6517
RM
13131 * sysdeps/generic/exit-thread.h: New file.
13132 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13133 * include/unistd.h (__exit_thread): Remove declaration.
13134 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13135 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13136 * csu/libc-start.c: Include <exit-thread.h>.
13137 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13138 * nptl/pthread_create.c: Include <exit-thread.h>.
13139 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13140 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13141 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13142 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13143 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13144 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13145 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13146 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13147 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13148 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13149 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13150 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13151 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13152 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13153 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13154 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13155 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13156
01eb16fd
AS
131572014-05-13 Andreas Schwab <schwab@suse.de>
13158
13159 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13160
637461d9
JM
131612014-05-12 Joseph Myers <joseph@codesourcery.com>
13162
13163 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13164 (__ASSUME_UTIMES): Do not condition on kernel version.
13165 (__ASSUME_PSELECT): Define unconditionally.
13166 (__ASSUME_PPOLL): Likewise.
13167 (__ASSUME_ATFCTS): Likewise.
13168 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13169 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13170 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13171 (__ASSUME_UTIMENSAT): Define unconditionally.
13172 (__ASSUME_PRIVATE_FUTEX): Likewise.
13173 (__ASSUME_FALLOCATE): Likewise.
13174 (__ASSUME_O_CLOEXEC): Likewise.
13175 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13176 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13177 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13178 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13179 (__ASSUME_IN_NONBLOCK): Likewise.
13180 (__ASSUME_PIPE2): Likewise.
13181 (__ASSUME_EVENTFD2): Likewise.
13182 (__ASSUME_SIGNALFD4): Likewise.
13183 (__ASSUME_DUP3): Likewise.
13184 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13185 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13186 (__ASSUME_AT_RANDOM): Likewise.
13187 (__ASSUME_PREADV): Likewise.
13188 (__ASSUME_PWRITEV): Likewise.
13189 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13190 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13191 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13192 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13193 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13194 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13195 (__ASSUME_O_CLOEXEC): Define unconditionally.
13196 (__ASSUME_PSELECT): Do not undefine conditionally.
13197 (__ASSUME_PPOLL): Likewise.
13198 (__ASSUME_ATFCTS): Likewise.
13199 (__ASSUME_SET_ROBUST_LIST): Likewise.
13200 (__ASSUME_UTIMENSAT): Likewise.
13201 (__ASSUME_FDATASYNC): Define unconditionally.
13202 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13203 (__ASSUME_SIGFRAME_V2): Likewise.
13204 )__ASSUME_EVENTFD2): Likewise.
13205 (__ASSUME_SIGNALFD4): Likewise.
13206 (__ASSUME_PSELECT): Do not undefine conditionally.
13207 (__ASSUME_PPOLL): Likewise.
13208 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13209 (__ASSUME_PSELECT): Define unconditionally.
13210 (__ASSUME_PPOLL): Likewise.
13211 (__ASSUME_O_CLOEXEC): Likewise.
13212 (__ASSUME_SOCK_CLOEXEC): Likewise.
13213 (__ASSUME_IN_NONBLOCK): Likewise.
13214 (__ASSUME_PIPE2): Likewise.
13215 (__ASSUME_EVENTFD2): Likewise.
13216 (__ASSUME_SIGNALFD4): Likewise.
13217 (__ASSUME_DUP3): Likewise.
13218 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13219 (__ASSUME_O_CLOEXEC): Likewise.
13220 (__ASSUME_SOCK_CLOEXEC): Likewise.
13221 (__ASSUME_IN_NONBLOCK): Likewise.
13222 (__ASSUME_PIPE2): Likewise.
13223 (__ASSUME_EVENTFD2): Likewise.
13224 (__ASSUME_SIGNALFD4): Likewise.
13225 (__ASSUME_DUP3): Likewise.
13226 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13227 (__ASSUME_EVENTFD2): Likewise.
13228 (__ASSUME_SIGNALFD4): Likewise.
13229 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13230
315eb1d8
AS
132312014-05-12 Andreas Schwab <schwab@suse.de>
13232
13233 [BZ #16932]
13234 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13235 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13236 than maximum RPC packet size.
13237 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13238 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13239 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13240 (_nss_nis_getservbyport_r): Likewise.
13241
91df99f7
WN
132422014-05-12 Will Newton <will.newton@linaro.org>
13243
13244 * malloc/Makefile (tests): Add tst-mallopt.
13245 * malloc/tst-mallopt.c: New file.
13246
0a982a29
RM
132472014-05-09 Roland McGrath <roland@hack.frob.com>
13248
13249 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13250 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13251
0ded08a5
AZ
132522014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13253
13254 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13255 (tst-tlsmod6.so): Likewise.
13256
55d4d550
RM
132572014-05-09 Roland McGrath <roland@hack.frob.com>
13258
13259 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13260
77d08aca
JM
132612014-05-09 Joseph Myers <joseph@codesourcery.com>
13262
13263 [BZ #16064]
13264 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13265 and <dl-procinfo.h>.
13266 (__fegetenv): Save SSE state in envp->__eip if supported.
13267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13268 envp->__eip if supported.
13269 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13270 and <dl-procinfo.h>.
13271 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13272 __data_offset and __data_selector in environment to 0. Set SSE
13273 state if supported.
13274 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13275 test-fenv-sse.
13276 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13277 -mfpmath=sse.
13278 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13279
28162f4d
WN
132802014-05-09 Will Newton <will.newton@linaro.org>
13281
13282 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13283 and libc_relro_required for ARM.
13284 * sysdeps/arm/preconfigure: Regenerate.
13285
5a414ff7
DV
132862014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13287 Stefan Liebler <stli@linux.vnet.ibm.com>
13288
13289 * config.make.in (enable-lock-elision): New Makefile variable.
13290 * configure.ac: Likewise.
13291 * configure: Regenerate.
13292 * sysdeps/s390/configure.ac:
13293 Add check for gcc transactions support.
13294 * sysdeps/s390/configure: Regenerate.
13295 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13296 Build elision files if enabled.
13297 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13298 Add lock elision support for s390.
13299 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13300 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13301 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13302 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13303 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13304 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13305 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13306 Likewise.
13307 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13308 Likewise.
13309 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13310 Likewise.
13311 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13312 Likewise.
13313 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13314 (__lll_timedlock_elision, __lll_lock_elision)
13315 (__lll_unlock_elision, __lll_trylock_elision)
13316 (lll_timedlock_elision, lll_lock_elision)
13317 (lll_unlock_elision, lll_trylock_elision): Add.
13318 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13319 (pthread_mutex_t): Add lock elision support for s390.
13320
1a2f40e5
W
133212014-05-14 Wilco <wdijkstr@arm.com>
13322
13323 * sysdeps/arm/fclrexcpt.c: Cleanup.
13324 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13325 * sysdeps/arm/feenablxcpt.c: Cleanup.
13326 * sysdeps/arm/fegetenv.c: Cleanup.
13327 * sysdeps/arm/fegetexcept.c: Cleanup.
13328 * sysdeps/arm/fegetround.c: Cleanup.
13329 * sysdeps/arm/feholdexcpt.c: Cleanup.
13330 * sysdeps/arm/fesetenv.c: Cleanup.
13331 * sysdeps/arm/fesetround.c: Cleanup.
13332 * sysdeps/arm/feupdateenv.c: Cleanup.
13333 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13334 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13335 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13336 * sysdeps/arm/ftestexcept.c: Cleanup.
13337 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13338 * sysdeps/arm/setfpucw.c: Cleanup.
13339
f63c86fe
WN
133402014-05-09 Will Newton <will.newton@linaro.org>
13341
13342 * sysdeps/arm/armv7/strcmp.S: New file.
13343 * NEWS: Mention addition of ARMv7 optimized strcmp.
13344
7a1a51b5
RM
133452014-05-08 Roland McGrath <roland@hack.frob.com>
13346
95afbbe5
RM
13347 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13348 look for %.ac rather than %.in.
13349
13350 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13351 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13352 * sysdeps/mach/hurd/configure: Regenerated.
13353 * sysdeps/unix/sysv/linux/configure: Regenerated.
13354
7a1a51b5
RM
13355 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13356
5057ad3b
SE
133572014-05-07 Steve Ellcey <sellcey@mips.com>
13358
13359 [BZ# 16922]
13360 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13361 (LONG_SUB): Ditto.
13362 (PTR_SUB): Ditto.
13363
8dc97517
AS
133642014-05-07 Andreas Schwab <schwab@suse.de>
13365
13366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13367 when skipping over non-matching result from nscd.
13368
ce0c5b8f
OB
133692014-05-07 Ondřej Bílka <neleai@seznam.cz>
13370
13371 [BZ #16876]
13372 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13373
a1189263
OB
13374 [BZ #16877]
13375 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13376 nscd security class.
ce0c5b8f 13377
0f58d252
RM
133782014-05-06 Roland McGrath <roland@hack.frob.com>
13379
13380 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13381 * sysdeps/arm/unwind.h: ... here.
13382
83df9ad0
AJ
133832014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13384
ce0c5b8f
OB
13385 [BZ# 16916]
13386 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13387 Define.
83df9ad0 13388
f360f94a
VR
133892014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13390
13391 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13392 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13393 multiarch strncpy for PPC64.
13394 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13395 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13397 multiarch optimizations.
13398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13399 (__libc_ifunc_impl_list): Likewise.
13400 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13401 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13402 multiarch stpncpy for PPC64.
13403 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13404 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13405
978a41c3
AS
134062014-05-06 Andreas Schwab <schwab@suse.de>
13407
13408 [BZ #16912]
13409 * gmon/mcount.c (_MCOUNT_DECL): Use
13410 atomic_compare_and_exchange_bool_acq instead of
13411 catomic_compare_and_exchange_bool_acq.
13412
eb1ed03d
RM
134132014-05-05 Roland McGrath <roland@hack.frob.com>
13414
fe658845
RM
13415 * elf/Makefile (others, install-bin): Remove pldd.
13416 (pldd-modules): Variable removed.
13417 ($(objpfx)pldd): Target removed.
13418 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13419 (others, install-bin): Append pldd here.
13420 ($(objpfx)pldd): New target.
13421
eb1ed03d
RM
13422 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13423 to 0, so the first #if test emitted later doesn't see it undefined.
13424 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13425 * sysdeps/gnu/errlist.c: Regenerated.
13426
19c4bec0
AZ
134272014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13428
13429 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13430 [libc_hidden_builtin_def]: Define to empty value.
13431 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13432 [libc_hidden_builtin_def]: Likewise.
13433 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13434 [libc_hidden_builtin_def]: Likewise.
13435 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13436 [libc_hidden_builtin_def]: Likewise.
13437 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13438 __redirect_memcpy and define ifunc as default hidden symbol.
13439 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13440 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13441
7776e669
AC
134422014-05-04 Adam Conrad <adconrad@0c3.net>
13443
13444 * locale/iso-4217.def: Reintroduce XDR currency.
13445
d69aeb12
AM
134462014-05-04 Allan McRae <allan@archlinux.org>
13447
13448 * po/eo.po: Update Esperanto translation from translation project.
13449
8f1df5cf
CD
134502014-05-02 Carlos O'Donell <carlos@redhat.com>
13451
13452 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13453 and FEATURE_INDEX_MAX to 1.
13454 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13455
13e402e7
SE
134562014-05-01 Steve Ellcey <sellcey@mips.com>
13457
13458 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13459 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13460 * iconvdata/big5.c (ONE_DIRECTION): Define.
13461 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13462 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13463 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13464 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13465 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13466 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13467 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13468 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13469 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13470 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13471 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13472 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13473 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13474 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13475 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13476 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13477 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13478 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13479 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13480 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13481 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13482 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13483 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13484 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13485 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13486 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13487 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13488 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13489 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13490 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13491 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13492 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13493 * iconvdata/johab.c (ONE_DIRECTION): Define.
13494 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13495 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13496 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13497 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13498 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13499 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13500 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13501 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13502 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13503 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13504
c727f032
RM
135052014-05-01 Roland McGrath <roland@hack.frob.com>
13506
8f2f08d0
RM
13507 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13508 (_IO_JUMPS_OFFSET): Define to 0.
13509
c727f032
RM
13510 * nptl/sysdeps/pthread/bits/libc-lock.h
13511 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13512 (__libc_lock_define_initialized_recursive): Always define using
13513 initializer. Modern compilers treat uninitialized (implicit zero) and
13514 explicit zero initializers the same (i.e. put the datum in bss).
13515
a849e800
AS
135162014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13517
13518 * nscd/nscd-client.h: Include <string.h>.
13519
5331255b
DM
135202014-05-01 David S. Miller <davem@davemloft.net>
13521
13522 [BZ #16885]
13523 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13524 multiple zero bytes exist at the end of a string.
13525 Reported by Aurelien Jarno <aurelien@aurel32.net>
13526
13527 * string/test-strcmp.c (check): Add explicit test for situations where
13528 there are multiple zero bytes after the first.
13529
4fdfe821
AS
135302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13531
13532 [BZ #16890]
13533 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13534 when compiling wprintf.
13535 * stdio-common/tstdiomisc.c (t3): New function.
13536 (main): Call it.
13537
0cdddc25
SE
135382014-05-01 Steve Ellcey <sellcey@mips.com>
13539
13540 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13541 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13542 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13543 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13544
6426d77e
SE
135452014-05-01 Steve Ellcey <sellcey@mips.com>
13546
13547 * stdlib/longlong.h: Updated from GCC.
13548
6d96f5e4
WN
135492014-05-01 Will Newton <will.newton@linaro.org>
13550 Bernard Ogden <bernie.ogden@linaro.org>
13551
7470db0c
WN
13552 * NEWS: Update fixed bug list.
13553
6d96f5e4
WN
13554 [BZ #15119]
13555 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13556
211d653c
DM
135572014-04-30 David S. Miller <davem@davemloft.net>
13558
4fa262fa
DM
13559 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13560 (libc_feholdexcept_setround_sparc_ctx): New function.
13561 (libc_fesetenv_sparc_ctx): Likewise.
13562 (libc_feupdateenv_sparc_ctx): Likewise.
13563 (libc_feholdsetround_sparc_ctx): Likewise.
13564 (libc_feholdexcept_setround_ctx): Define.
13565 (libc_feholdexcept_setroundf_ctx): Likewise.
13566 (libc_feholdexcept_setroundl_ctx): Likewise.
13567 (libc_fesetenv_ctx): Likewise.
13568 (libc_fesetenvf_ctx): Likewise.
13569 (libc_fesetenvl_ctx): Likewise.
13570 (libc_feupdateenv_ctx): Likewise.
13571 (libc_feupdateenvf_ctx): Likewise.
13572 (libc_feupdateenvl_ctx): Likewise.
13573 (libc_feresetround_ctx): Likewise.
13574 (libc_feresetroundf_ctx): Likewise.
13575 (libc_feresetroundl_ctx): Likewise.
13576 (libc_feholdsetround_ctx): Likewise.
13577 (libc_feholdsetroundf_ctx): Likewise.
13578 (libc_feholdsetroundl_ctx): Likewise.
13579
1d3d93ef
DM
13580 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13581 with __USE_GNU instead of XOPEN cpp guards.
13582
8aa583c3
DM
13583 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13584 0.
13585
211d653c
DM
13586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13587 with XOPEN cpp guards.
13588
60c8f1f6
JB
135892014-04-30 Julian Brown <julian@codesourcery.com>
13590
13591 [BZ #16888]
13592 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13593 handling.
13594
9a461d46
JM
135952014-04-30 Joseph Myers <joseph@codesourcery.com>
13596
d0f5b3f8
JM
13597 [BZ #9894]
13598 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13599 Change to 2.6.32.
13600 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13601 * sysdeps/unix/sysv/linux/configure: Regenerated.
13602 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13603 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13604 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13605 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13606 * README: Update reference to required Linux kernel version.
13607 * manual/install.texi (Linux): Update reference to required Linux
13608 kernel headers version.
13609 * INSTALL: Regenerated.
13610
9a461d46
JM
13611 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13612 header inclusion.
13613 [POSIX] (limits.h): Likewise.
13614 [POSIX] (math.h): Likewise.
13615 [POSIX] (sys/wait.h): Likewise.
13616 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13617 function.
13618 [POSIX] (stddef.h): Do not allow header inclusion.
13619
1775babf
AZ
136202014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13621
57f41c40 13622 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13623
8f630cca
YY
136242014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13625
13626 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13627 Return immediately after lll_futex_wake.
13628
1cdeb237
SP
136292014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13630
bc8f194c
SP
13631 [BZ #16791]
13632 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13633 structure.
13634 (datahead_init_pos): Call datahead_init_common early.
13635 (datahead_init_neg): Likewise.
13636
1cdeb237
SP
13637 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13638 datahead_init_neg): New functions.
13639 * nscd/aicache.c (addhstaiX): Use them.
13640 * nscd/grpcache.c (cache_addgr): Likewise.
13641 * nscd/hstcache.c (cache_addhst): Likewise.
13642 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13643 * nscd/netgroupcache.c (do_notfound): Likewise.
13644 (addgetnetgrentX): Likewise.
13645 (addinnetgrX): Likewise.
13646 * nscd/pwdcache.c (cache_addpw): Likewise.
13647 * nscd/servicescache.c (cache_addserv): Likewise.
13648
16b293a7
SP
136492014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13650 Atsushi Onoe <atsushi@onoe.org>
13651
13652 [BZ #14308]
13653 [BZ #12994]
13654 [BZ #13651]
13655 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13656 one response is valid.
13657 * resolv/res_send.c (send_dg): Check for validity of other
13658 response if the current response is a referral.
13659
a28a9b94
SE
136602014-04-29 Steve Ellcey <sellcey@mips.com>
13661
13662 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13663
2ca180e9
SL
136642014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13665
13666 [BZ #16823]
13667 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13668 Always divide by positive zero when computing -Inf result.
13669 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13670 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13671
18f2945a
AZ
136722014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13673
13674 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13675 FPSCR if value do not change.
13676 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13677 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13678 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13679 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13680 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13681 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13682 function.
13683
5abebba4
CD
136842014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13685
13686 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13687 * sysdeps/unix/sysv/linux/hppa: Move directory from
13688 ports/systeps/unix/sysv/linux/hppa.
13689 * README: Update listing for hppa-*-linux-gnu.
13690
f7ed60c2
OB
136912014-04-28 Ondřej Bílka <neleai@seznam.cz>
13692
fff763a5
OB
13693 [BZ #16754]
13694 * manual/stdio.texi (Hook functions): Fix types of stream hook
13695 functions.
f7ed60c2
OB
13696 [BZ #16854]
13697 * socket/sys/socket.h: Fix typo in comment.
13698
df639d73
WD
136992014-04-28 Wilco <wdijkstr@arm.com>
13700
f7ed60c2 13701 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13702 * sysdeps/arm/math_private.h: New file.
13703 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13704
48332d82
L
137052014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13708 with __int128_t.
13709 (La_x86_64_retval): Likewise.
13710
e5e0d9a4
IB
137112014-04-24 Ian Bolton <ian.bolton@arm.com>
13712
13713 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13714 fpsr if value didn't change.
13715 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13716 to fpcr if value didn't change.
13717 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13718 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13719 fpsr or fpcr if value didn't change.
13720 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13721 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13722 fpcr if value didn't change.
13723 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13724 to fpsr if value didn't change.
13725
bacc75f7
SP
137262014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13727
13728 * nptl/tst-sem3.c: Use test-skeleton.c
13729 (main): Rename to do_test. Use return instead of
13730 exit.
13731 * nptl/tst-sem4.c: Use test-skeleton.c
13732 (main): Rename to do_test.
13733
a059d359
DM
137342014-04-22 David S. Miller <davem@davemloft.net>
13735
13736 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13737 (struct sigaction): New struct member __glibc_reserved0, change
13738 type of sa_flags to int.
13739
ea6c92f3
YZ
137402014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13741
13742 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13743 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13744
766c4a36
SP
137452014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13746
13747 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13748 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13749
140cc7ab
VK
137502014-04-22 Will Newton <will.newton@linaro.org>
13751 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13752
13753 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13754 (__longjmp): Add longjmp and longjmp_target SystemTap
13755 probes.
13756 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13757 (__sigsetjmp): Add setjmp SystemTap probe.
13758
c54e5cf7
CD
137592014-04-17 Carlos O'Donell <carlos@redhat.com>
13760
13761 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13762 match manual order.
13763
75ffb047
AZ
137642014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13765
13766 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13767
2cd925f7
AZ
13768 * sysdeps/powerpc/fpu/fenv_private.h
13769 (libc_feholdexcept_setroundl_ctx): Define to
13770 libc_feholdexcept_setround_ppc_ctx.
13771 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13772 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13773 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13774 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13775
39e6cd8d
IB
137762014-04-17 Ian Bolton <ian.bolton@arm.com>
13777
13778 * sysdeps/aarch64/math-tests.h: New file.
13779
f9281df9
SY
137802014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13781
13782 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13783 New.
13784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13785 Check and set bit_AVX2_Usable.
13786 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13787 macro.
13788 (bit_AVX2): Likewise.
13789 (index_AVX2_Usable): Likewise.
13790 (CPUID_AVX2): Likewise.
13791 (HAS_AVX2): Likewise.
13792
37d35007
WN
137932014-04-17 Will Newton <will.newton@linaro.org>
13794
7c677662
WN
13795 * manual/setjmp.texi (System V contexts): Add note that
13796 calling setcontext on a context created by a call to a
13797 signal handler is undefined. Update text to note that
13798 setcontext from a signal handler is possible but not
13799 recommended.
13800
37d35007 13801 [BZ #16629]
e04a4e9d
WN
13802 * stdlib/tst-setcontext.c: Include signal.h.
13803 (main): Check that the signal stack before and
13804 after swapcontext is the same.
13805
37d35007
WN
13806 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13807 Re-implement to restore registers in user code and avoid
13808 rt_sigreturn system call.
13809
423a7160
W
138102014-04-17 Wilco <wdijkstr@arm.com>
13811
13812 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13813 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13814 * math/test-fenv.c: Skip exception trap tests on targets which only
13815 support non-stop mode.
13816
bc93ab29
IB
138172014-04-17 Ian Bolton <ian.bolton@arm.com>
13818 Wilco Dijkstra <wilco.dijkstra@arm.com>
13819
13820 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13821 (libc_feholdsetround_aarch64_ctx)
13822 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13823 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13824 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13825 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13826 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13827 (libc_feresetround_noexl_ctx): Define.
13828
95fc5fa3
RH
138292014-04-16 Richard Henderson <rth@redhat.com>
13830
ddb04724
RH
13831 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13832
d77c0899
RH
13833 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13834 unwind tables.
13835
a3df56fc
RH
13836 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13837 const from the non-libc, non-ldso copy.
13838
95fc5fa3
RH
13839 * sysdeps/alpha/libm-test-ulps: Regenerate.
13840
7e0b6763
IB
138412014-04-16 Ian Bolton <ian.bolton@arm.com>
13842 Wilco Dijkstra <wilco.dijkstra@arm.com>
13843
13844 * sysdeps/aarch64/fpu/math_private.h: New file.
13845
a9ea2e0c
MS
138462014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13847
13848 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13849
ea8ba7cd
IZ
138502014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13851
7e54fd04 13852 [BZ #16275]
ea8ba7cd
IZ
13853 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13854 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13856 Intel MPX bound registers before _dl_profile_fixup.
13857 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13858 registers after _dl_profile_fixup. Save and restore bound
13859 registers bnd0/bnd1 when calling _dl_call_pltexit.
13860 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13861 (LR_BND_OFFSET): Likewise.
13862 (LRV_BND0_OFFSET): Likewise.
13863 (LRV_BND1_OFFSET): Likewise.
13864
9f2a4fbc
ST
138652014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13866
13867 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13868 to...
13869 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13870 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13871 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13872 fields.
9f2a4fbc 13873
fd15a59b
ST
138742014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13875
13876 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13877
f19dfa0a
SL
138782014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13879
13880 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13881
4fa8bc3b
SL
138822014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13883
13884 [BZ #14770]
13885 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13886 * sysdeps/s390/configure: Regenerate.
13887
8ea587db
SL
13888 [BZ #16824]
13889 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13890 Set round-to-nearest internally to reduce error accumulation.
13891
aa5f0ff1
AM
138922014-04-16 Alan Modra <amodra@gmail.com>
13893
13894 [BZ #16740]
13895 [BZ #16619]
13896 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13897 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13898 * NEWS: Update fixed bug list.
aa5f0ff1 13899
bb9c256f
SP
139002014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13901
13902 * benchtests/Makefile: Depend on libraries in build directory.
13903 (bench-math): Separate out math tests.
13904 (bench-pthread): Separate out pthread tests.
13905 (bench): Include math and pthread tests.
13906
f737dfd0
CD
139072014-04-14 Carlos O'Donell <carlos@redhat.com>
13908
13909 [BZ #16831]
13910 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13911 _dl_debug_initialize.
13912
0699f766
CD
13913 * configure.ac: Remove SELinux header check.
13914 * configure: Regenerate.
13915 * nscd/selinux.c (perms): Array of const char* to permission names.
13916 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13917 default policy. Call string_to_security_class and string_to_av_perm to
13918 translate strings. Enforce default policy and call avs_has_perm with
13919 results of translated strings.
13920
809bd45f
DM
139212014-04-13 David S. Miller <davem@davemloft.net>
13922
13923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13924
89e691f2
AM
139252014-04-12 Allan McRae <allan@archlinux.org>
13926
13927 [BZ #16838]
13928 * manual/string.texi (Collation Functions): Fix qsort argument
13929 order in example.
13930 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13931
9c9daaeb
CM
139322014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13933
13934 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13935 Make the test a no-op if there are no exceptions defined.
13936
95561fb9
PP
139372014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13938
fe8d072c 13939 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13940 enable-hardcoded-path-in-tests
13941
970c602a
WN
139422014-04-11 Will Newton <will.newton@linaro.org>
13943
13944 * benchtests/Makefile (extra-objs): Add json-lib.o.
13945 (bench-func): Tidy up JSON output.
13946 * benchtests/bench-skeleton.c: Include json-lib.h.
13947 (main): Use JSON library functions to do output of
13948 benchmark results.
13949 * benchtests/bench-timing-type.c (main): Output the
13950 timing type simply, leaving formatting to the user.
13951 * benchtests/json-lib.c: New file.
13952 * benchtests/json-lib.h: Likewise.
13953
36875b06
TR
139542014-04-11 Torvald Riegel <triegel@redhat.com>
13955
13956 [BZ #15215]
13957 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13958 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13959 memory barriers. Add comments.
13960 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13961 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13962 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13963 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13964 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13965 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13966
579db35a
SL
139672014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13968
13969 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13970 * sysdeps/s390/s390-64/configure.ac: ... this ...
13971 * sysdeps/s390/configure.ac: ... to here.
13972 * sysdeps/s390/s390-32/configure: Delete file.
13973 * sysdeps/s390/s390-64/configure: Delete file.
13974 * sysdeps/s390/configure: Regenerate.
13975
c12e9f37
JAPH
139762014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13977
13978 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13979
439bda32
WN
139802014-04-11 Will Newton <will.newton@linaro.org>
13981
13982 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13983 to zero if it is not defined elsewhere. (mtrim): Test
13984 the value of MALLOC_DEBUG with #if rather than #ifdef.
13985
6a5d6ea1
TR
139862014-04-10 Torvald Riegel <triegel@redhat.com>
13987
13988 * benchtests/pthread_once-inputs: New file.
13989 * benchtests/pthread_once-source.c: New file.
13990 * benchtests/README: Update documentation.
13991
a4c75cfd
IZ
139922014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13993 H.J. Lu <hongjiu.lu@intel.com>
13994
7e54fd04 13995 [BZ #16275]
a4c75cfd
IZ
13996 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13997 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13998 * sysdeps/x86_64/configure: Regenerated.
13999 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14000 macro.
14001 (REGISTER_SAVE_RAX): Likewise.
14002 (REGISTER_SAVE_RCX): Likewise.
14003 (REGISTER_SAVE_RDX): Likewise.
14004 (REGISTER_SAVE_RSI): Likewise.
14005 (REGISTER_SAVE_RDI): Likewise.
14006 (REGISTER_SAVE_R8): Likewise.
14007 (REGISTER_SAVE_R9): Likewise.
14008 (REGISTER_SAVE_BND0): Likewise.
14009 (REGISTER_SAVE_BND1): Likewise.
14010 (REGISTER_SAVE_BND2): Likewise.
14011 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14012 bound registers when calling _dl_fixup.
14013
27822ce6
AZ
140142014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015
14016 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14017 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14018 of its definition.
27822ce6
AZ
14019 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14020 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14021 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14022 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14023 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14024 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14025 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14026
a88ddc90
PTB
140272014-04-09 Peter Brett <peter@peter-b.co.uk>
14028
14029 [BZ #15514]
14030 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14031 pathconf(_PC_NAME_MAX).
14032
01f8eac2
AZ
140332014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14034
14035 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14036 Remove macro usage.
14037 (__PTHREAD_SPINS): Move definition to ...
14038 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14039 (__PTHREAD_SPINS): ... here.
14040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14041 (__PTHREAD_SPIN): Likewise.
14042 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14043 (__PTHREAD_SPIN): Likewise.
14044 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14045 (__PTHREAD_SPIN): Likewise.
14046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14047 (__PTHREAD_SPIN): Likewise.
14048 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14049 (__PTHREAD_SPIN): Likewise.
14050 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14051 (__PTHREAD_SPIN): Likewise.
14052 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14053 (__PTHREAD_SPIN): Likewise.
14054 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14055 (__PTHREAD_SPIN): Likewise.
14056 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14057 (__PTHREAD_SPIN): Likewise.
14058 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14059 (__PTHREAD_SPIN): Likewise.
14060 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14061 (__PTHREAD_SPIN): Likewise.
14062 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14063 (__PTHREAD_SPIN): Likewise.
14064
de21c33c
AZ
14065 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14066 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14067 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14069 imply folder.
14070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14071 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14072 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14073 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14074 correct imply path.
14075 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14076 strlen symbol for non multi-arch builds.
14077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14078 missing hidden_def and weak_alias.
14079
862c472e
CD
140802014-04-08 Carlos O'Donell <carlos@redhat.com>
14081
14082 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14083
8667f90e
WN
140842014-04-07 Will Newton <will.newton@linaro.org>
14085
14086 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14087 and contents. [!_LIBC] Remove #ifndef and contents.
14088 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14089 * string/memccpy.c (__memccpy): Use ANSI prototype.
14090 * string/memfrob.c (memfrob): Likewise.
14091 * string/strcoll.c (STRCOLL): Likewise.
14092 * string/strlen.c (strlen): Likewise.
14093 * string/strtok.c (STRTOK): Likewise.
14094 * string/strcat.c: Remove unused #include of memcopy.h.
14095 (strcat): Use ANSI prototype.
14096 * string/strchr.c: Remove unused #include of memcopy.h.
14097 (strchr): Use ANSI prototype.
14098 * string/strcmp.c: Remove unused #include of memcopy.h.
14099 (strcmp): Use ANSI prototype.
14100 * string/strcpy.c: Remove unused #include of memcopy.h.
14101 (strcpy): Use ANSI prototype.
14102
7ffa9423
AZ
141032014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
14105 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14106 * config.make.in (config-extra-cppflags): Set it from
14107 libc_extra_cppflags.
14108 * configure.ac (libc_extra_cflags): Make it accumulate over
14109 configure fragments.
14110 (libc_extra_cppflags): New flag.
14111 * configure. Regenerate.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14113 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14114 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14116
8bd70862
AZ
14117 [BZ #16815]
14118 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14119 result for FE_DOWNWARD rounding mode.
14120 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14121 Likewise.
14122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14123
d42f3448
CM
141242014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14125
14126 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14127 in function argument name.
14128
1c21d115
DS
141292014-04-03 David Svoboda <svoboda@cert.org>
14130
14131 [BZ #5666]
14132 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14133 explicitly.
14134
fcccd512
RM
141352014-04-03 Roland McGrath <roland@hack.frob.com>
14136
14137 * elf/dl-unmap-segments.h: New file.
14138 * sysdeps/generic/ldsodefs.h
14139 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14140 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14141 * elf/dl-fptr.c: Likewise.
14142 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14143 * sysdeps/aarch64/tlsdesc.c: Likewise.
14144 * sysdeps/arm/tlsdesc.c: Likewise.
14145 * sysdeps/i386/tlsdesc.c: Likewise.
14146 * sysdeps/tile/dl-runtime.c: Likewise.
14147 * sysdeps/x86_64/tlsdesc.c: Likewise.
14148 * elf/dl-load.h: New file.
14149 * elf/dl-load.c: Include it.
14150 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14151 Macros moved to dl-load.h.
14152 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14153 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14154 Use _dl_unmap_segments in place of __munmap.
14155 Break out segment-mapping loop into ...
14156 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14157
f6488e2b
WN
141582014-04-03 Will Newton <will.newton@linaro.org>
14159
14160 * elf/dl-lookup.c (do_lookup_x): Remove comment
14161 referring to nested function and move variable
14162 declarations down to before first use.
14163
6f05bafe
JM
141642014-04-02 Joseph Myers <joseph@codesourcery.com>
14165
a84e78c8
JM
14166 [BZ #16799]
14167 [BZ #16800]
14168 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14169 with 0 numerator.
14170 * math/s_catanf.c (__catanf): Likewise.
14171 * math/s_catanh.c (__catanh): Likewise.
14172 * math/s_catanhf.c (__catanhf): Likewise.
14173 * math/s_catanhl.c (__catanhl): Likewise.
14174 * math/s_catanl.c (__catanl): Likewise.
14175 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14176 by positive zero when computing -Inf result.
14177 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14178 (catanh_test): Likewise.
14179 * sysdeps/i386/fpu/libm-test-ulps: Update.
14180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14181
6f05bafe
JM
14182 [BZ #16789]
14183 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14184 instead of using underflowing value in computing result.
14185 * math/s_clog10.c (__clog10): Likewise.
14186 * math/s_clog10f.c (__clog10f): Likewise.
14187 * math/s_clog10l.c (__clog10l): Likewise.
14188 * math/s_clogf.c (__clogf): Likewise.
14189 * math/s_clogl.c (__clogl): Likewise.
14190 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14191 (clog10_test): Likewise.
14192 * sysdeps/i386/fpu/libm-test-ulps: Update.
14193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14194
b0abbc21
AM
141952014-04-02 Alan Modra <amodra@gmail.com>
14196
14197 [BZ #16739]
14198 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14199 output when value is near a power of two. Use int64_t for lx and
14200 remove casts. Use decimal rather than hex exponent constants.
14201 Don't use long double multiplication when double will suffice.
14202 * math/libm-test.inc (nextafter_test_data): Add tests.
14203 * NEWS: Add 16739 and 16786 to bug list.
14204
af6b1797
AM
14205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14206
483818d7
AM
14207 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14208
f6c55796
WN
142092014-04-01 Will Newton <will.newton@linaro.org>
14210
14211 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14212 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14213
13f7fe35
FW
142142014-04-01 Florian Weimer <fweimer@redhat.com>
14215
14216 [BZ #13347]
14217 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14218 * nptl/tst-setuid2.c: New file.
14219 * nptl/Makefile (xtests): Add tst-setuid2.
14220
c859b32e
AM
142212014-04-01 Alan Modra <amodra@gmail.com>
14222
14223 [BZ #16786]
14224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14225
54fa2475
JM
142262014-03-31 Joseph Myers <joseph@codesourcery.com>
14227
8795b4a4
JM
14228 [BZ #6803]
14229 [BZ #6804]
14230 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14231 set errno as appropriate.
14232 * math/w_scalbf.c (__scalbf): Likewise.
14233 * math/w_scalbl.c (__scalbl): Likewise.
14234 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14235 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14236 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14237 Add more NaN tests.
14238
54fa2475
JM
14239 [BZ #16349]
14240 * math/w_atan2.c: Include <errno.h>.
14241 (__atan2): Set errno for result underflowing to zero.
14242 * math/w_atan2f.c: Include <errno.h>.
14243 (__atan2f): Set errno for result underflowing to zero.
14244 * math/w_atan2l.c: Include <errno.h>.
14245 (__atan2l): Set errno for result underflowing to zero.
14246 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14247 tests.
14248 * math/auto-libm-test-out: Regenerated.
14249
757d9dd5
AZ
142502014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14251
14252 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14253 Encode instruction correctly in little endian.
14254 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14255 Likewise.
14256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14257 Likewise.
14258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14259 Likewise.
14260 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14261 Likewise.
14262
d7a68734
JM
142632014-03-31 Joseph Myers <joseph@codesourcery.com>
14264
47c5adeb
JM
14265 [BZ #9894]
14266 * sysdeps/unix/sysv/linux/kernel-features.h
14267 [__sparc__ && !__arch64__ && !__sparc_v9__]
14268 (__ASSUME_SET_ROBUST_LIST): Do not define.
14269 [__sparc__ && !__arch64__ && !__sparc_v9__]
14270 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14271 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14272 Likewise.
14273 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14274 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14275 (__ASSUME_REQUEUE_PI): Likewise.
14276 (__ASSUME_SET_ROBUST_LIST): Likewise.
14277 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14278 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14279 Undefine.
14280 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14281 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14282 Likewise.
14283 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14284 Likewise.
14285 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14286 Likewise.
14287 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14288 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14289 Undefine.
14290 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14291 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14292 Likewise.
14293
d7a68734
JM
14294 [BZ #16648]
14295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14296 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14297 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14298
c760f5c2
WN
142992014-03-31 Will Newton <will.newton@linaro.org>
14300
14301 * benchtests/Makefile (bench): Add ffs and ffsll to list
14302 of tests.
14303 * benchtests/ffs-inputs: New file.
14304 * benchtests/ffsll-inputs: Likewise.
14305
ea6029b1
JM
143062014-03-29 Joseph Myers <joseph@codesourcery.com>
14307
14308 [BZ #16770]
14309 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14310 too large before casting to int.
14311 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14312 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14313 * math/libm-test.inc (scalb_test_data): Add more tests.
14314
cf806aff
SP
143152014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14316
56737508
SP
14317 * benchtests/Makefile (DETAILED_OPT): New make option.
14318 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14319 set.
14320 * benchtests/bench-skeleton.c: Include stdbool.h.
14321 (main): Store and print timings per input.
14322 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14323 member to each argument value.
14324 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14325 (_print_arg_data): Initialize per-input timing to 0.
14326
cb5e4aad
SP
14327 * benchtests/Makefile (timing-type): New binary.
14328 (bench-clean): Also remove bench-timing-type.
14329 (bench): New target for timing-type.
14330 (bench-func): Print output in JSON format.
14331 * benchtests/bench-skeleton.c (main): Print output in JSON
14332 format.
14333 * benchtests/bench-timing-type.c: New file.
14334 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14335 (TIMING_PRINT_STATS): Remove.
14336 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14337 name separately.
14338
cf806aff
SP
14339 * benchtests/bench-modf.c: Remove.
14340 * benchtests/modf-inputs: New inputs file.
14341
289e0779
JM
143422014-03-28 Joseph Myers <joseph@codesourcery.com>
14343
14344 [BZ #16362]
14345 * math/s_clog10.c (M_PI_LOG10E): New macro.
14346 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14347 imaginary parts are 0.
14348 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14349 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14350 imaginary parts are 0.
14351 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14352 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14353 imaginary parts are 0.
14354 * math/libm-test.inc (clog10_test_data): Update expected results
14355 for when real and imaginary parts are 0.
14356
277ae3f1
PP
143572014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14358
14359 * elf/dl-load.c: Finish conversion of __builtin_expect into
14360 __glibc_{un}likely.
14361
03a7091f
JM
143622014-03-27 Joseph Myers <joseph@codesourcery.com>
14363
14364 [BZ #16348]
14365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14366 1+x for argument with exponent below -67.
14367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14368 Likewise.
14369 * math/auto-libm-test-in: Add more tests of exp.
14370 * math/auto-libm-test-out: Regenerated.
14371
ea7d8b95
SP
143722014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14373
dd3022d7
SP
14374 [BZ #16759]
14375 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14376 (nscd_getnetgrent): Use it.
14377
ea7d8b95
SP
14378 [BZ #16760]
14379 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14380 of stpcpy.
14381
df5b85da
AK
143822014-03-27 Andi Kleen <ak@linux.intel.com>
14383
57f41c40
AS
14384 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14385 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14386 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14387 (lll_robust_unlock): Remove out of line section. Use cfi
14388 intrinsics.
df5b85da 14389 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14390 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14391 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14392 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14393 (lll_robust_unlock): Remove out of line section. Use cfi
14394 intrinsics.
df5b85da
AK
14395 (LLL_STUB_UNWIND_INFO*): Remove.
14396
fbd6b5a4
SP
143972014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
14399 [BZ #16758]
14400 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14401 blank values.
14402
1b26b855
PP
144032014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14404
14405 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14406
9be36fb8
JM
144072014-03-26 Joseph Myers <joseph@codesourcery.com>
14408
14409 [BZ #16198]
14410 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14411 fnstenv.
14412 * math/test-fenv-preserve.c: New file.
14413 * math/Makefile (tests): Add test-fenv-preserve.
14414
60a2f3c1
WN
144152014-03-26 Will Newton <will.newton@linaro.org>
14416
14417 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14418
a5e5f1e2
RM
144192014-03-25 Roland McGrath <roland@hack.frob.com>
14420
14421 * scripts/versionlist.awk: Partition the version sets and emit all
14422 GLIBC_* (sorted) before all others (sorted).
14423
00f4012a
JM
144242014-03-25 Joseph Myers <joseph@codesourcery.com>
14425
14426 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14427 GLIBC_2.2.5 version.
14428
7bc5a741
AZ
144292014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14430
14431 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14432 calls.
14433
7578473b
AZ
14434 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14435 previous change.
14436
f3f1dab3
AZ
14437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14438
6da36183
AS
144392014-03-25 Andreas Schwab <schwab@suse.de>
14440
14441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14442 label to be used after in6ailist is initialized.
14443
f3f1dab3 144442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14445
7578473b 14446 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14447 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14448
046651c1
JM
144492014-03-25 Joseph Myers <joseph@codesourcery.com>
14450
14451 [BZ #16357]
14452 [BZ #16599]
14453 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14454 min_plus_half.
14455 (fp_formats): Update initializers.
14456 (init_fp_formats): Initialize new field.
14457 (output_for_one_input_case): Allow underflow for results up to
14458 min_plus_half.
14459 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14460 * math/auto-libm-test-in: Don't mark some underflows from asin and
14461 atanh as spurious.
14462 * math/auto-libm-test-out: Regenerated.
14463 * sysdeps/i386/fpu/libm-test-ulps: Update.
14464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14465
003e49ed
AS
144662014-03-25 Andreas Schwab <schwab@suse.de>
14467
14468 * libio/Makefile (tst-ftell-partial-wide-ENV)
14469 (tst-ftell-active-handler-ENV): Define.
14470
de031874
SL
144712014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14472
14473 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14474
55a81e3b
PP
144752014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14476
14477 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14478
f3426898
JM
144792014-03-24 Joseph Myers <joseph@codesourcery.com>
14480
14481 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14482 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14483 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14484
a42faf59
PP
144852014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14486
14487 [BZ #16634]
a42faf59 14488 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14489 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14490 (open_path): Change from boolean 'secure' to complete flag 'mode'
14491 (_dl_map_object): Adjust.
a42faf59
PP
14492 * elf/Makefile (tests): Add tst-dlopen-aout.
14493 * elf/tst-dlopen-aout.c: New test.
14494
50936127
SL
144952014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14496
14497 [BZ #16714]
14498 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14499 (struct stat): Rename member pad0 to __glibc_reserved0.
14500
26011b5c
SL
14501 [BZ #16712]
14502 * sysdeps/s390/s390-32/bits/wordsize.h
14503 (__WORDSIZE32_SIZE_ULONG): New define.
14504 * sysdeps/s390/s390-64/bits/wordsize.h
14505 (__WORDSIZE32_SIZE_ULONG): Likewise.
14506 * sysdeps/generic/stdint.h (SIZE_MAX):
14507 Define as UL if __WORDSIZE32_SIZE_ULONG.
14508
a2d86bf1
SL
14509 [BZ #16713]
14510 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14511 (__glibc_reserved0): New variable.
14512 (sa_flags): Change type to int.
14513
78b6eebc
SL
14514 * posix/Makefile (before-compile): Use += before-compile instead
14515 of a :=.
14516
f1399b5a
SL
14517 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14518 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14519
a071766e
AS
145202014-03-20 Andreas Schwab <schwab@suse.de>
14521
14522 [BZ #16743]
14523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14524 non-matching result from nscd.
14525
27c673b8
SP
145262014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14527
14528 * scripts/bench.py: Moved to ...
14529 * benchtests/scripts/bench.py: ... here.
14530 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14531
44152e4b
AS
145322014-03-24 Andreas Schwab <schwab@suse.de>
14533
14534 [BZ #16002]
14535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14536 alloca_account and account alloca use for struct in6ailist.
14537
b376a11a
JM
145382014-03-24 Joseph Myers <joseph@codesourcery.com>
14539
14540 [BZ #16284]
14541 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14542 rounding mode to recompute results that overflow to infinity or
14543 underflow to zero.
14544 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14545 bug 16284.
14546 * math/auto-libm-test-out: Regenerated.
14547 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14548 (ccosh_test): Likewise.
14549 (csin_test_data): Use plus_oflow.
14550 (csin_test): Use ALL_RM_TEST.
14551 (csinh_test_data): Use plus_oflow.
14552 (csinh_test): Use ALL_RM_TEST.
14553 * sysdeps/i386/fpu/libm-test-ulps: Update.
14554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14555
f7be7376
JM
145562014-03-21 Joseph Myers <joseph@codesourcery.com>
14557
1ca2d03e
JM
14558 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14559 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14560 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14561
f7be7376
JM
14562 [BZ #16731]
14563 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14564 when x - 1 is zero.
14565 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14566 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14567 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14569 argument is 1.
14570 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14571 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14572 zero.
14573 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14574 * sysdeps/i386/fpu/libm-test-ulps: Update.
14575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14576
fdf4534d
SP
145772014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14578
df26ea53
SP
14579 * scripts/bench.pl: Remove file.
14580 * scripts/bench.py: New benchmark script.
14581 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14582 * benchtests/README: Mention python dependency.
14583 * scripts/pylintrc: New file.
14584 * scripts/pylint: New file.
14585
fdf4534d
SP
14586 * bits/mathdef.h: Use #ifdef instead of #if.
14587 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14588 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14589 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14590 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14591 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14592 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14593
6f23d093
AZ
145942014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14595 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14596
14597 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14599 and strpbrk-ppc64 objects.
14600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14601 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14602 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14603 multiarch strpbrk for POWER7.
14604 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14605 multiarch strpbrk for PPC64.
14606 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14607 ifunc selector.
14608 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14609 strpbrk for POWER7.
14610
8c92dfff
JM
146112014-03-20 Joseph Myers <joseph@codesourcery.com>
14612
14613 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14614 (atan_test): Likewise.
14615 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14616 (atanh_test): Use ALL_RM_TEST.
14617 (atan2_test_data): Likewise.
14618 (cabs_test): Likewise.
14619 (cacosh_test): Likewise.
14620 (carg_test): Likewise.
14621 (casin_test): Likewise.
14622 (casinh_test): Likewise.
14623 (cbrt_test): Likewise.
14624 (csqrt_test): Likewise.
14625 (erf_test): Likewise.
14626 (erfc_test): Likewise.
14627 (pow10_test): Likewise.
14628 (exp2_test): Likewise.
14629 (hypot_test): Likewise.
14630 (j0_test): Likewise.
14631 (j1_test): Likewise.
14632 (lgamma_test): Likewise.
14633 (gamma_test): Likewise.
14634 (sincos_test): Likewise.
14635 (tanh_test): Likewise.
14636 (y0_test): Likewise.
14637 (y1_test): Likewise.
14638 * sysdeps/i386/fpu/libm-test-ulps: Update.
14639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14640
6eaf95cb
AZ
146412014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14642
a387428c
SP
14643 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14645 and strcspn-ppc64 objects.
14646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14647 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14648 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14649 multiarch strcspn for POWER7.
14650 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14651 multiarch strcspn for PPC64.
14652 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14653 ifunc selector.
14654 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14655 strcspn for POWER7.
14656
ae3a5dff
JM
146572014-03-20 Joseph Myers <joseph@codesourcery.com>
14658
14659 * math/gen-libm-test.pl (generate_testfile): Expect only function
14660 name as argument to AUTO_TESTS_* and pass results for all rounding
14661 modes to parse_args.
14662 (parse_auto_input): Separate inputs of automatic tests from
14663 outputs before storing in %auto_tests.
14664 * math/libm-test.inc (acos_test_data): Update call to
14665 AUTO_TESTS_f_f.
14666 (acos_test): Use ALL_RM_TEST.
14667 (acos_tonearest_test_data): Remove.
14668 (acos_test_tonearest): Likewise.
14669 (acos_towardzero_test_data): Likewise.
14670 (acos_test_towardzero): Likewise.
14671 (acos_downward_test_data): Likewise.
14672 (acos_test_downward): Likewise.
14673 (acos_upward_test_data): Likewise.
14674 (acos_test_upward): Likewise.
14675 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14676 (asin_test_data): Likewise.
14677 (asin_test): Use ALL_RM_TEST.
14678 (asin_tonearest_test_data): Remove.
14679 (asin_test_tonearest): Likewise.
14680 (asin_towardzero_test_data): Likewise.
14681 (asin_test_towardzero): Likewise.
14682 (asin_downward_test_data): Likewise.
14683 (asin_test_downward): Likewise.
14684 (asin_upward_test_data): Likewise.
14685 (asin_test_upward): Likewise.
14686 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14687 (atan_test_data): Likewise.
14688 (atanh_test_data): Likewise.
14689 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14690 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14691 (carg_test_data): Likewise.
14692 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14693 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14694 (ccosh_test_data): Likewise.
14695 (cexp_test_data): Likewise.
14696 (clog_test_data): Likewise.
14697 (clog10_test_data): Likewise.
14698 (cos_test_data): Update call to AUTO_TESTS_f_f.
14699 (cos_test): Use ALL_RM_TEST.
14700 (cos_tonearest_test_data): Remove.
14701 (cos_test_tonearest): Likewise.
14702 (cos_towardzero_test_data): Likewise.
14703 (cos_test_towardzero): Likewise.
14704 (cos_downward_test_data): Likewise.
14705 (cos_test_downward): Likewise.
14706 (cos_upward_test_data): Likewise.
14707 (cos_test_upward): Likewise.
14708 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14709 (cosh_test): Use ALL_RM_TEST.
14710 (cosh_tonearest_test_data): Remove.
14711 (cosh_test_tonearest): Likewise.
14712 (cosh_towardzero_test_data): Likewise.
14713 (cosh_test_towardzero): Likewise.
14714 (cosh_downward_test_data): Likewise.
14715 (cosh_test_downward): Likewise.
14716 (cosh_upward_test_data): Likewise.
14717 (cosh_test_upward): Likewise.
14718 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14719 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14720 (ctan_test_data): Likewise.
14721 (ctan_test): Use ALL_RM_TEST.
14722 (ctan_tonearest_test_data): Remove.
14723 (ctan_test_tonearest): Likewise.
14724 (ctan_towardzero_test_data): Likewise.
14725 (ctan_test_towardzero): Likewise.
14726 (ctan_downward_test_data): Likewise.
14727 (ctan_test_downward): Likewise.
14728 (ctan_upward_test_data): Likewise.
14729 (ctan_test_upward): Likewise.
14730 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14731 (ctanh_test): Use ALL_RM_TEST.
14732 (ctanh_tonearest_test_data): Remove.
14733 (ctanh_test_tonearest): Likewise.
14734 (ctanh_towardzero_test_data): Likewise.
14735 (ctanh_test_towardzero): Likewise.
14736 (ctanh_downward_test_data): Likewise.
14737 (ctanh_test_downward): Likewise.
14738 (ctanh_upward_test_data): Likewise.
14739 (ctanh_test_upward): Likewise.
14740 (erf_test_data): Update call to AUTO_TESTS_f_f.
14741 (erfc_test_data): Likewise.
14742 (exp_test_data): Likewise.
14743 (exp_test): Use ALL_RM_TEST.
14744 (exp_tonearest_test_data): Remove.
14745 (exp_test_tonearest): Likewise.
14746 (exp_towardzero_test_data): Likewise.
14747 (exp_test_towardzero): Likewise.
14748 (exp_downward_test_data): Likewise.
14749 (exp_test_downward): Likewise.
14750 (exp_upward_test_data): Likewise.
14751 (exp_test_upward): Likewise.
14752 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14753 (exp10_test): Use ALL_RM_TEST.
14754 (exp10_tonearest_test_data): Remove.
14755 (exp10_test_tonearest): Likewise.
14756 (exp10_towardzero_test_data): Likewise.
14757 (exp10_test_towardzero): Likewise.
14758 (exp10_downward_test_data): Likewise.
14759 (exp10_test_downward): Likewise.
14760 (exp10_upward_test_data): Likewise.
14761 (exp10_test_upward): Likewise.
14762 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14763 (expm1_test_data): Likewise.
14764 (expm1_test): Use ALL_RM_TEST.
14765 (expm1_tonearest_test_data): Remove.
14766 (expm1_test_tonearest): Likewise.
14767 (expm1_towardzero_test_data): Likewise.
14768 (expm1_test_towardzero): Likewise.
14769 (expm1_downward_test_data): Likewise.
14770 (expm1_test_downward): Likewise.
14771 (expm1_upward_test_data): Likewise.
14772 (expm1_test_upward): Likewise.
14773 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14774 (fma_test): Use ALL_RM_TEST.
14775 (fma_towardzero_test_data): Remove.
14776 (fma_test_towardzero): Likewise.
14777 (fma_downward_test_data): Likewise.
14778 (fma_test_downward): Likewise.
14779 (fma_upward_test_data): Likewise.
14780 (fma_test_upward): Likewise.
14781 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14782 (j0_test_data): Update call to AUTO_TESTS_f_f.
14783 (j1_test_data): Likewise.
14784 (jn_test_data): Update call to AUTO_TESTS_if_f.
14785 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14786 (log_test_data): Update call to AUTO_TESTS_f_f.
14787 (log10_test_data): Likewise.
14788 (log1p_test_data): Likewise.
14789 (log2_test_data): Likewise.
14790 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14791 (pow_tonearest_test_data): Likewise.
14792 (sin_test_data): Update call to AUTO_TESTS_f_f.
14793 (sin_test): Use ALL_RM_TEST.
14794 (sin_tonearest_test_data): Remove.
14795 (sin_test_tonearest): Likewise.
14796 (sin_towardzero_test_data): Likewise.
14797 (sin_test_towardzero): Likewise.
14798 (sin_downward_test_data): Likewise.
14799 (sin_test_downward): Likewise.
14800 (sin_upward_test_data): Likewise.
14801 (sin_test_upward): Likewise.
14802 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14803 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14804 (sinh_test): Use ALL_RM_TEST.
14805 (sinh_tonearest_test_data): Remove.
14806 (sinh_test_tonearest): Likewise.
14807 (sinh_towardzero_test_data): Likewise.
14808 (sinh_test_towardzero): Likewise.
14809 (sinh_downward_test_data): Likewise.
14810 (sinh_test_downward): Likewise.
14811 (sinh_upward_test_data): Likewise.
14812 (sinh_test_upward): Likewise.
14813 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14814 (sqrt_test): Use ALL_RM_TEST.
14815 (sqrt_tonearest_test_data): Remove.
14816 (sqrt_test_tonearest): Likewise.
14817 (sqrt_towardzero_test_data): Likewise.
14818 (sqrt_test_towardzero): Likewise.
14819 (sqrt_downward_test_data): Likewise.
14820 (sqrt_test_downward): Likewise.
14821 (sqrt_upward_test_data): Likewise.
14822 (sqrt_test_upward): Likewise.
14823 (tan_test_data): Update call to AUTO_TESTS_f_f.
14824 (tan_test): Use ALL_RM_TEST.
14825 (tan_tonearest_test_data): Remove.
14826 (tan_test_tonearest): Likewise.
14827 (tan_towardzero_test_data): Likewise.
14828 (tan_test_towardzero): Likewise.
14829 (tan_downward_test_data): Likewise.
14830 (tan_test_downward): Likewise.
14831 (tan_upward_test_data): Likewise.
14832 (tan_test_upward): Likewise.
14833 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14834 (tgamma_test_data): Likewise.
14835 (y0_test_data): Likewise.
14836 (y1_test_data): Likewise.
14837 (yn_test_data): Update call to AUTO_TESTS_if_f.
14838 (main): Do not call removed functions.
14839
d71aeee8
JM
148402014-03-19 Joseph Myers <joseph@codesourcery.com>
14841
14842 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14843 (ldexp_test_data): Remove.
14844 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14845 scalbn_test_data.
14846 (scalb_test): Use ALL_RM_TEST.
14847
baaf1ded
AS
148482014-03-19 Andreas Schwab <schwab@suse.de>
14849
14850 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14851
b1115e91
JM
148522014-03-19 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #16649]
14855 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14856 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14857 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14858 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14859 (__ASSUME_PREADV): Undefine.
14860 (__ASSUME_PWRITEV): Likewise.
14861
0283ecca
RM
148622014-03-18 Roland McGrath <roland@hack.frob.com>
14863
7d375303
RM
14864 * bits/mman-linux.h: Add comment about non-Linux use.
14865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14866 bits/mman-linux.h resting place.
14867
0283ecca
RM
14868 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14869 * bits/mman-linux.h: ... here.
14870
aebe1003
AZ
148712014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14872
14873 * conform/conformtest.pl: Add standard definition when calling C
14874 preprocessor on data files.
14875 (checknamespace): Remove unused variable.
14876
b29b6bb8
JM
148772014-03-18 Joseph Myers <joseph@codesourcery.com>
14878
14879 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14880 minus_oflow, plus_uflow and minus_uflow in expected results.
14881 * math/libm-test.inc (scalbn_test_data): Add more tests of
14882 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14883 minus_uflow.
14884 (scalbn_test): Use ALL_RM_TEST.
14885 (scalbln_test_data): Add more tests of negative arguments. Use
14886 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14887 (scalbln_test): Use ALL_RM_TEST.
14888
c8f8fa15
RM
148892014-03-18 Roland McGrath <roland@hack.frob.com>
14890
14891 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14892
fede7a5f
WN
148932014-03-18 Will Newton <will.newton@linaro.org>
14894
14895 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14896 inaccurate comment.
14897
80cf0a58
JM
148982014-03-18 Joseph Myers <joseph@codesourcery.com>
14899
14900 * Makerules [!subdir] (check-abi): Exit with error status if a
14901 test failed.
14902
b3620862
JM
149032014-03-17 Joseph Myers <joseph@codesourcery.com>
14904
14905 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14906 for rint. Include results for all rounding modes.
14907 (nearbyint_test): Use ALL_RM_TEST.
14908 (rint_test_data): Include all tests used for nearbyint.
14909
788bba36
WN
149102014-03-17 Will Newton <will.newton@linaro.org>
14911
04ec140a
WN
14912 * nptl/sysdeps/pthread/pthread.h: Revert previous
14913 change.
14914
7579d8d5
WN
14915 * sysdeps/generic/ldsodefs.h: Revert previous
14916 change.
14917
c15cf13a
WN
14918 * libio/genops.c: Revert previous change.
14919 * libio/libioP.h: Likewise.
14920 * stdio-common/vfprintf.c: Likewise.
14921
d0ac1324
WN
14922 * sysdeps/generic/math_private.h: Revert previous
14923 change.
14924
9290130a
WN
14925 * sysdeps/generic/math_private.h: Check whether
14926 HAVE_RM_CTX is defined with #ifdef rather
14927 than #if.
14928
afb466fc
WN
14929 * argp/argp-fmtstream.h: Check whether
14930 __STRICT_ANSI__ is defined with #ifdef rather
14931 than #if.
14932 * argp/argp.h: Likewise.
14933
f7efd7c3
WN
14934 * libio/genops.c: Check whether
14935 _IO_JUMPS_OFFSET is defined with #ifdef rather
14936 than #if.
14937 * libio/libioP.h: Likewise.
14938 * stdio-common/vfprintf.c: Likewise.
14939
53f1bed3
WN
14940 * sysdeps/generic/ldsodefs.h: Check whether
14941 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14942 than #if.
14943
788bba36
WN
14944 * nptl/sysdeps/pthread/pthread.h: Check
14945 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14946 its value.
14947
fcd89ebe
SP
149482014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14949
ae42bbc5
SP
14950 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14951 setting O_APPEND.
14952 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14953 test case.
14954
ea33158c
SP
14955 [BZ #16680]
14956 * libio/fileops.c (_IO_file_open): Seek to end of file but
14957 don't cache the offset.
14958 (get_file_offset): Remove function.
14959 (do_ftell): Use cached offset when available.
14960 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14961 don't cache the offset.
14962 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14963 case.
14964 (do_one_test): Call it.
14965 (do_ftell_test): Fix up expected old offset for a+ mode.
14966 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14967 available.
14968
b1dbb426
SP
14969 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14970 up test status with function return status.
14971 (do_write_test): Likewise.
14972 (do_append_test): Likewise.
14973
fcd89ebe
SP
14974 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14975 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14976 Remove.
14977
9962a2d3
JM
149782014-03-17 Joseph Myers <joseph@codesourcery.com>
14979
14980 * math/gen-libm-test.pl (parse_args): Handle results specified for
14981 each rounding mode separately.
14982 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14983 tests and results from lrint_tonearest_test_data,
14984 lrint_towardzero_test_data, lrint_downward_test_data and
14985 lrint_upward_test_data.
14986 (lrint_test): Use ALL_RM_TEST.
14987 (lrint_tonearest_test_data): Remove.
14988 (lrint_test_tonearest): Likewise.
14989 (lrint_towardzero_test_data): Likewise.
14990 (lrint_test_towardzero): Likewise.
14991 (lrint_downward_test_data): Likewise.
14992 (lrint_test_downward): Likewise.
14993 (lrint_upward_test_data): Likewise.
14994 (lrint_test_upward): Likewise.
14995 (llrint_test_data): Merge in per-rounding-mode tests and results
14996 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14997 llrint_downward_test_data and llrint_upward_test_data.
14998 (llrint_test): Use ALL_RM_TEST.
14999 (llrint_tonearest_test_data): Remove.
15000 (llrint_test_tonearest): Likewise.
15001 (llrint_towardzero_test_data): Likewise.
15002 (llrint_test_towardzero): Likewise.
15003 (llrint_downward_test_data): Likewise.
15004 (llrint_test_downward): Likewise.
15005 (llrint_upward_test_data): Likewise.
15006 (llrint_test_upward): Likewise.
15007 (rint_test_data): Merge in per-rounding-mode tests and results
15008 from rint_tonearest_test_data, rint_towardzero_test_data,
15009 rint_downward_test_data and rint_upward_test_data. Add
15010 per-rounding-mode results for tests not in those arrays.
15011 (rint_test): Use ALL_RM_TEST.
15012 (rint_tonearest_test_data): Remove.
15013 (rint_test_tonearest): Likewise.
15014 (rint_towardzero_test_data): Likewise.
15015 (rint_test_towardzero): Likewise.
15016 (rint_downward_test_data): Likewise.
15017 (rint_test_downward): Likewise.
15018 (rint_upward_test_data): Likewise.
15019 (rint_test_upward): Likewise.
15020 (main): Don't call removed functions.
15021
5006148e
RM
150222014-03-14 Roland McGrath <roland@hack.frob.com>
15023
15024 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15025 "Compiled on ..." crapola. It is anti-useful.
15026
d6fe5e58
JM
150272014-03-14 Joseph Myers <joseph@codesourcery.com>
15028
15029 * scripts/evaluate-test.sh: Handle fourth argument to determine
15030 whether test run should stop on failure.
15031 * Makeconfig (stop-on-test-failure): New variable.
15032 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15033 $(stop-on-test-failure).
15034 * Makefile (tests): Give a summary of results from testing and
15035 exit with failure status if they include an ERROR or FAIL.
15036 (xtests): Likewise.
15037 * manual/install.texi (Configuring and compiling): Mention
15038 stop-on-test-failure=y.
15039 * INSTALL: Regenerated.
15040
498a2233
RM
150412014-03-14 Roland McGrath <roland@hack.frob.com>
15042
22dbc19d
RM
15043 * scripts/versionlist.awk: New file.
15044 * Makerules [$(build-shared) = yes]
15045 (postclean-generated): Add Versions.def, not Versions.def.v and
15046 Versions.def.v.i.
15047 ($(common-objpfx)Versions.def.v.i): Target removed.
15048 ($(common-objpfx)Versions.def): New target.
15049 ($(common-objpfx)Versions.all): Depend on that rather that
15050 $(common-objpfx)Versions.def.v.
15051 * Versions.def: File removed.
15052
498a2233
RM
15053 * Makeconfig (+gccwarn): Add -Wundef.
15054 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15055 a dl-sysdep.h breaking its contract.
15056 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15057 * include/stackinfo.h: New file.
15058 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15059 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15060 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15061 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15062 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15063 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15064 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15065 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15066 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15067 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15068 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15069 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15070 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15071 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15072 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15073
c7de5025
AZ
150742014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15075
15076 [BZ #16707]
15077 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15078 implementation.
15079 * math/libm-test.inc (round_test_data): Add more tests.
15080
98fb27a3
AZ
15081 [BZ #16706]
15082 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15083 implementation.
15084 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15085
374f7f61
AZ
15086 [BZ #16701]
15087 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15088 implementation.
15089 * math/libm-test.inc (ceil_test_data): Add more tests.
15090
4655c291
AZ
15091 * math/libm-test.inc (trunc_test_data): Add more tests related to
15092 BZ#16414.
15093
d7329d4b
RM
150942014-03-14 Roland McGrath <roland@hack.frob.com>
15095
15096 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15097 with #if rather than #ifdef.
15098 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15099
aa4de9ce
L
151002014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15101
15102 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15103 first. Disable AVX-512 GCC support if assembler doesn't support
15104 it.
15105 * sysdeps/x86_64/configure: Regenerated.
15106
2e03fae7
CD
151072014-03-13 Carlos O'Donell <carlos@redhat.com>
15108
15109 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15110 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15111 (__old_pthread_attr_setstack): Likewise.
15112 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15113 [!_STACK_GROWS_DOWN]: Likewise.
15114
43ca83ec
MF
151152014-03-13 Mike Frysinger <vapier@gentoo.org>
15116
15117 * config.make.in (have-bash2): Delete.
15118 * configure.ac (libc_cv_have_bash2): Delete.
15119 * configure: Regenerate.
15120 * elf/Makefile (common-ldd-rewrite): Rename to ...
15121 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15122 (sh-ldd-rewrite): Delete.
15123 (bash-ldd-rewrite): Delete.
15124 (have-bash2): Delete checks.
57f41c40
AS
15125 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15126 ldd-rewrite.
c66e48b4
MF
15127
15128 * config.make.in (have-ksh): Delete.
15129 (KSH): Delete.
15130 * configure.ac (libc_cv_have_ksh): Delete.
15131 * configure: Regenerate.
15132
b93834ef
MF
15133 * elf/Makefile: Delete $(have-ksh) check.
15134 ($(objpfx)sotruss): Change KSH to BASH.
15135 * elf/sotruss.ksh: Rename to ...
15136 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15137 function style to match POSIX. Drop ksh vim mode setting.
15138
f3a4632a
MF
15139 * manual/time.texi (Specifying the Time Zone with TZ): Change
15140 Tuesday to Thursday.
15141
5896c8bd
MF
15142 * debug/tst-longjmp_chk2.c: Update header comment.
15143 (stackoverflow_handler): Add comment. Call assert on pass value.
15144
2d63a517
IZ
151452014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15146
7e54fd04 15147 [BZ #16194]
2d63a517
IZ
15148 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15149 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15150 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15151 (La_x86_64_vector): Add zmm.
15152 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15153 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15154 ($(objpfx)tst-audit10): New target.
15155 ($(objpfx)tst-audit10.out): Likewise.
15156 (tst-audit10-ENV): New.
15157 (AVX512-CFLAGS): Likewise.
15158 (CFLAGS-tst-audit10.c): Likewise.
15159 (CFLAGS-tst-auditmod10a.c): Likewise.
15160 (CFLAGS-tst-auditmod10b.c): Likewise.
15161 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15162 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15163 * sysdeps/x86_64/configure: Regenerated.
15164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15165 AVX-512 zmm register support.
15166 (_dl_x86_64_save_sse): Likewise.
15167 (_dl_x86_64_restore_sse): Likewise.
15168 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15169 size vector registers.
15170 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15171 (ZMM_SIZE): Likewise.
15172 * sysdeps/x86_64/tst-audit10.c: New file.
15173 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15174 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15175
44c4e5d5
RM
151762014-03-13 Roland McGrath <roland@hack.frob.com>
15177
15178 * configure.ac (HAVE_EHDR_START): New check.
15179 * configure: Regenerated.
15180 * config.h.in (HAVE_EHDR_START): New #undef.
15181 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15182 assuming the lowest-addressed segment maps the start of the file.
15183
acd6e389
JM
151842014-03-13 Joseph Myers <joseph@codesourcery.com>
15185
15186 * INSTALL: Regenerated.
15187
6f918f36
WN
151882014-03-13 Will Newton <will.newton@linaro.org>
15189
15190 * manual/setjmp.texi (System V contexts): Improve
15191 clarity and grammar of documentation.
15192
798212a0
PP
151932014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15194
15195 [BZ #16381]
798212a0 15196 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15197 (tests-pie): Add tst-pie2.
798212a0
PP
15198 * elf/tst-pie2.c: New file.
15199 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15200 for ET_EXEC.
15201 * elf/rtld.c (map_doit): Load executable as lt_executable.
15202 (dl_main): Likewise.
15203
abe6d90c
JM
152042014-03-12 Joseph Myers <joseph@codesourcery.com>
15205
15206 [BZ #16642]
15207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15208 (__ASSUME_PSELECT): Undefine.
15209
dd3946c6
AZ
152102014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211
15212 [BZ #16689]
15213 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15214 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15215 static build.
15216 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15217 selector for static builds.
15218
c44496df
SP
152192014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15220
15221 [BZ #16695]
15222 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15223 key in the buffer.
15224
27c7220a
AZ
152252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15226
57f41c40
AS
15227 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15228 IFUNC selector for static builds.
27c7220a 15229
600fa361
JM
152302014-03-11 Joseph Myers <joseph@codesourcery.com>
15231
76c96cf7
JM
15232 * sysdeps/mips/math_private.h [__mips_hard_float]
15233 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15234 libc_feresetround_mips_ctx.
15235 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15236 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15237 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15238
600fa361
JM
15239 [BZ #16677]
15240 * math/s_nextafter.c (__nextafter): Do not return value from
15241 overflowing computation.
15242 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15243 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15245 Likewise.
15246 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15247 Likewise.
15248 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15249 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15250
d7706c32
RM
152512014-03-11 Roland McGrath <roland@hack.frob.com>
15252
15253 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15254 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15255 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15256 the new mov targetting sp.
15257
4facea47
AZ
152582014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15259
15260 [BZ #16683]
15261 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15262 Define it for static builds as well.
15263 (NO_BZERO_IMPL): Likewise.
15264
e65caf1f
VR
152652014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15266
15267 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15268 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15269 multiarch strspn for PPC64.
15270 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15271 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15273 (__libc_ifunc_impl_list): Likewise.
15274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15275 multiarch optimizations
15276 * string/strspn.c (strspn): Using macro to redefine symbol name.
15277
ba9cc071
AZ
152782014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15279 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15280
15281 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15282 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15283 multiarch strncat for PPC64.
15284 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15285 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15287 (__libc_ifunc_impl_list): Likewise.
15288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15289 multiarch optimizations
15290
8b4ff974
SP
152912014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15292
15293 [BZ #16639]
15294 * nscd/nscd.service: Make service type forking.
15295
54b46a4b
AZ
152962014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15297
15298 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15299 sign in non default rounding modes.
15300 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15301
e9996ef7
JM
153022014-03-08 Joseph Myers <joseph@codesourcery.com>
15303
15304 * math/libm-test.inc (ALL_RM_TEST): New macro.
15305 (ceil_test): Use ALL_RM_TEST.
15306 (cimag_test): Likewise.
15307 (conj_test): Likewise.
15308 (copysign_test): Likewise.
15309 (cproj_test): Likewise.
15310 (creal_test): Likewise.
15311 (fabs_test): Likewise.
15312 (floor_test): Likewise.
15313 (fmax_test): Likewise.
15314 (fmin_test): Likewise.
15315 (fmod_test): Likewise.
15316 (fpclassify_test): Likewise.
15317 (frexp_test): Likewise.
15318 (ilogb_test): Likewise.
15319 (isfinite_test): Likewise.
15320 (finite_test): Likewise.
15321 (isgreater_test): Likewise.
15322 (isgreaterequal_test): Likewise.
15323 (isinf_test): Likewise.
15324 (isless_test): Likewise.
15325 (islessequal_test): Likewise.
15326 (islessgreater_test): Likewise.
15327 (isnan_test): Likewise.
15328 (isnormal_test): Likewise.
15329 (issignaling_test): Likewise.
15330 (isunordered_test): Likewise.
15331 (logb_test): Likewise.
15332 (logb_downward_test_data): Remove.
15333 (logb_test_downward): Likewise.
15334 (lround_test): Use ALL_RM_TEST.
15335 (llround_test): Likewise.
15336 (modf_test): Likewise.
15337 (nexttoward_test): Likewise.
15338 (remainder_test): Likewise.
15339 (drem_test): Likewise.
15340 (remainder_tonearest_test_data): Likewise.
15341 (remainder_test_tonearest): Likewise.
15342 (drem_test_tonearest): Likewise.
15343 (remainder_towardzero_test_data): Likewise.
15344 (remainder_test_towardzero): Likewise.
15345 (drem_test_towardzero): Likewise.
15346 (remainder_downward_test_data): Likewise.
15347 (remainder_test_downward): Likewise.
15348 (drem_test_downward): Likewise.
15349 (remainder_upward_test_data): Likewise.
15350 (remainder_test_upward): Likewise.
15351 (drem_test_upward): Likewise.
15352 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15353 (round_test): Use ALL_RM_TEST.
15354 (signbit_test): Likewise.
15355 (trunc_test): Likewise.
15356 (significand_test): Likewise.
15357 (main): Don't call removed functions.
15358
bc61d27c
JM
153592014-03-07 Joseph Myers <joseph@codesourcery.com>
15360
5c780849
JM
15361 [BZ #16674]
15362 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15363 || __USE_XOPEN2K8].
15364 (ILL_ILLOPN): Likewise.
15365 (ILL_ILLADR): Likewise.
15366 (ILL_ILLTRP): Likewise.
15367 (ILL_PRVOPC): Likewise.
15368 (ILL_PRVREG): Likewise.
15369 (ILL_COPROC): Likewise.
15370 (ILL_BADSTK): Likewise.
15371 (FPE_INTDIV): Likewise.
15372 (FPE_INTOVF): Likewise.
15373 (FPE_FLTDIV): Likewise.
15374 (FPE_FLTOVF): Likewise.
15375 (FPE_FLTUND): Likewise.
15376 (FPE_FLTRES): Likewise.
15377 (FPE_FLTINV): Likewise.
15378 (FPE_FLTSUB): Likewise.
15379 (SEGV_MAPERR): Likewise.
15380 (SEGV_ACCERR): Likewise.
15381 (BUS_ADRALN): Likewise.
15382 (BUS_ADRERR): Likewise.
15383 (BUS_OBJERR): Likewise.
15384 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15385 (TRAP_TRACE): Likewise.
15386 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15387 __USE_XOPEN2K8].
15388 (CLD_KILLED): Likewise.
15389 (CLD_DUMPED): Likewise.
15390 (CLD_TRAPPED): Likewise.
15391 (CLD_STOPPED): Likewise.
15392 (CLD_CONTINUED): Likewise.
15393 (POLL_IN): Likewise.
15394 (POLL_OUT): Likewise.
15395 (POLL_MSG): Likewise.
15396 (POLL_ERR): Likewise.
15397 (POLL_PRI): Likewise.
15398 (POLL_HUP): Likewise.
15399 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15400 Likewise.
15401 (ILL_ILLOPN): Likewise.
15402 (ILL_ILLADR): Likewise.
15403 (ILL_ILLTRP): Likewise.
15404 (ILL_PRVOPC): Likewise.
15405 (ILL_PRVREG): Likewise.
15406 (ILL_COPROC): Likewise.
15407 (ILL_BADSTK): Likewise.
15408 (FPE_INTDIV): Likewise.
15409 (FPE_INTOVF): Likewise.
15410 (FPE_FLTDIV): Likewise.
15411 (FPE_FLTOVF): Likewise.
15412 (FPE_FLTUND): Likewise.
15413 (FPE_FLTRES): Likewise.
15414 (FPE_FLTINV): Likewise.
15415 (FPE_FLTSUB): Likewise.
15416 (SEGV_MAPERR): Likewise.
15417 (SEGV_ACCERR): Likewise.
15418 (BUS_ADRALN): Likewise.
15419 (BUS_ADRERR): Likewise.
15420 (BUS_OBJERR): Likewise.
15421 (BUS_MCEERR_AR): Likewise.
15422 (BUS_MCEERR_AO): Likewise.
15423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15424 (TRAP_TRACE): Likewise.
15425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15426 __USE_XOPEN2K8].
15427 (CLD_KILLED): Likewise.
15428 (CLD_DUMPED): Likewise.
15429 (CLD_TRAPPED): Likewise.
15430 (CLD_STOPPED): Likewise.
15431 (CLD_CONTINUED): Likewise.
15432 (POLL_IN): Likewise.
15433 (POLL_OUT): Likewise.
15434 (POLL_MSG): Likewise.
15435 (POLL_ERR): Likewise.
15436 (POLL_PRI): Likewise.
15437 (POLL_HUP): Likewise.
15438 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15439 (ILL_ILLOPN): Likewise.
15440 (ILL_ILLADR): Likewise.
15441 (ILL_ILLTRP): Likewise.
15442 (ILL_PRVOPC): Likewise.
15443 (ILL_PRVREG): Likewise.
15444 (ILL_COPROC): Likewise.
15445 (ILL_BADSTK): Likewise.
15446 (FPE_INTDIV): Likewise.
15447 (FPE_INTOVF): Likewise.
15448 (FPE_FLTDIV): Likewise.
15449 (FPE_FLTOVF): Likewise.
15450 (FPE_FLTUND): Likewise.
15451 (FPE_FLTRES): Likewise.
15452 (FPE_FLTINV): Likewise.
15453 (FPE_FLTSUB): Likewise.
15454 (SEGV_MAPERR): Likewise.
15455 (SEGV_ACCERR): Likewise.
15456 (BUS_ADRALN): Likewise.
15457 (BUS_ADRERR): Likewise.
15458 (BUS_OBJERR): Likewise.
15459 (BUS_MCEERR_AR): Likewise.
15460 (BUS_MCEERR_AO): Likewise.
15461 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15462 (TRAP_TRACE): Likewise.
15463 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15464 __USE_XOPEN2K8].
15465 (CLD_KILLED): Likewise.
15466 (CLD_DUMPED): Likewise.
15467 (CLD_TRAPPED): Likewise.
15468 (CLD_STOPPED): Likewise.
15469 (CLD_CONTINUED): Likewise.
15470 (POLL_IN): Likewise.
15471 (POLL_OUT): Likewise.
15472 (POLL_MSG): Likewise.
15473 (POLL_ERR): Likewise.
15474 (POLL_PRI): Likewise.
15475 (POLL_HUP): Likewise.
15476 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15477 Likewise.
15478 (ILL_ILLOPN): Likewise.
15479 (ILL_ILLADR): Likewise.
15480 (ILL_ILLTRP): Likewise.
15481 (ILL_PRVOPC): Likewise.
15482 (ILL_PRVREG): Likewise.
15483 (ILL_COPROC): Likewise.
15484 (ILL_BADSTK): Likewise.
15485 (ILL_BADIADDR): Likewise.
15486 (ILL_BREAK): Likewise.
15487 (FPE_INTDIV): Likewise.
15488 (FPE_INTOVF): Likewise.
15489 (FPE_FLTDIV): Likewise.
15490 (FPE_FLTOVF): Likewise.
15491 (FPE_FLTUND): Likewise.
15492 (FPE_FLTRES): Likewise.
15493 (FPE_FLTINV): Likewise.
15494 (FPE_FLTSUB): Likewise.
15495 (FPE_DECOVF): Likewise.
15496 (FPE_DECDIV): Likewise.
15497 (FPE_DECERR): Likewise.
15498 (FPE_INVASC): Likewise.
15499 (FPE_INVDEC): Likewise.
15500 (SEGV_MAPERR): Likewise.
15501 (SEGV_ACCERR): Likewise.
15502 (SEGV_PSTKOVF): Likewise.
15503 (BUS_ADRALN): Likewise.
15504 (BUS_ADRERR): Likewise.
15505 (BUS_OBJERR): Likewise.
15506 (BUS_MCEERR_AR): Likewise.
15507 (BUS_MCEERR_AO): Likewise.
15508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15509 (TRAP_TRACE): Likewise.
15510 (TRAP_BRANCH): Likewise.
15511 (TRAP_HWBKPT): Likewise.
15512 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15513 __USE_XOPEN2K8].
15514 (CLD_KILLED): Likewise.
15515 (CLD_DUMPED): Likewise.
15516 (CLD_TRAPPED): Likewise.
15517 (CLD_STOPPED): Likewise.
15518 (CLD_CONTINUED): Likewise.
15519 (POLL_IN): Likewise.
15520 (POLL_OUT): Likewise.
15521 (POLL_MSG): Likewise.
15522 (POLL_ERR): Likewise.
15523 (POLL_PRI): Likewise.
15524 (POLL_HUP): Likewise.
15525 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15526 (ILL_ILLOPN): Likewise.
15527 (ILL_ILLADR): Likewise.
15528 (ILL_ILLTRP): Likewise.
15529 (ILL_PRVOPC): Likewise.
15530 (ILL_PRVREG): Likewise.
15531 (ILL_COPROC): Likewise.
15532 (ILL_BADSTK): Likewise.
15533 (FPE_INTDIV): Likewise.
15534 (FPE_INTOVF): Likewise.
15535 (FPE_FLTDIV): Likewise.
15536 (FPE_FLTOVF): Likewise.
15537 (FPE_FLTUND): Likewise.
15538 (FPE_FLTRES): Likewise.
15539 (FPE_FLTINV): Likewise.
15540 (FPE_FLTSUB): Likewise.
15541 (SEGV_MAPERR): Likewise.
15542 (SEGV_ACCERR): Likewise.
15543 (BUS_ADRALN): Likewise.
15544 (BUS_ADRERR): Likewise.
15545 (BUS_OBJERR): Likewise.
15546 (BUS_MCEERR_AR): Likewise.
15547 (BUS_MCEERR_AO): Likewise.
15548 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15549 (TRAP_TRACE): Likewise.
15550 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15551 __USE_XOPEN2K8].
15552 (CLD_KILLED): Likewise.
15553 (CLD_DUMPED): Likewise.
15554 (CLD_TRAPPED): Likewise.
15555 (CLD_STOPPED): Likewise.
15556 (CLD_CONTINUED): Likewise.
15557 (POLL_IN): Likewise.
15558 (POLL_OUT): Likewise.
15559 (POLL_MSG): Likewise.
15560 (POLL_ERR): Likewise.
15561 (POLL_PRI): Likewise.
15562 (POLL_HUP): Likewise.
15563 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15564 (ILL_ILLOPN): Likewise.
15565 (ILL_ILLADR): Likewise.
15566 (ILL_ILLTRP): Likewise.
15567 (ILL_PRVOPC): Likewise.
15568 (ILL_PRVREG): Likewise.
15569 (ILL_COPROC): Likewise.
15570 (ILL_BADSTK): Likewise.
15571 (FPE_INTDIV): Likewise.
15572 (FPE_INTOVF): Likewise.
15573 (FPE_FLTDIV): Likewise.
15574 (FPE_FLTOVF): Likewise.
15575 (FPE_FLTUND): Likewise.
15576 (FPE_FLTRES): Likewise.
15577 (FPE_FLTINV): Likewise.
15578 (FPE_FLTSUB): Likewise.
15579 (SEGV_MAPERR): Likewise.
15580 (SEGV_ACCERR): Likewise.
15581 (BUS_ADRALN): Likewise.
15582 (BUS_ADRERR): Likewise.
15583 (BUS_OBJERR): Likewise.
15584 (BUS_MCEERR_AR): Likewise.
15585 (BUS_MCEERR_AO): Likewise.
15586 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15587 (TRAP_TRACE): Likewise.
15588 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15589 __USE_XOPEN2K8].
15590 (CLD_KILLED): Likewise.
15591 (CLD_DUMPED): Likewise.
15592 (CLD_TRAPPED): Likewise.
15593 (CLD_STOPPED): Likewise.
15594 (CLD_CONTINUED): Likewise.
15595 (POLL_IN): Likewise.
15596 (POLL_OUT): Likewise.
15597 (POLL_MSG): Likewise.
15598 (POLL_ERR): Likewise.
15599 (POLL_PRI): Likewise.
15600 (POLL_HUP): Likewise.
15601 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15602 (ILL_ILLOPN): Likewise.
15603 (ILL_ILLADR): Likewise.
15604 (ILL_ILLTRP): Likewise.
15605 (ILL_PRVOPC): Likewise.
15606 (ILL_PRVREG): Likewise.
15607 (ILL_COPROC): Likewise.
15608 (ILL_BADSTK): Likewise.
15609 (FPE_INTDIV): Likewise.
15610 (FPE_INTOVF): Likewise.
15611 (FPE_FLTDIV): Likewise.
15612 (FPE_FLTOVF): Likewise.
15613 (FPE_FLTUND): Likewise.
15614 (FPE_FLTRES): Likewise.
15615 (FPE_FLTINV): Likewise.
15616 (FPE_FLTSUB): Likewise.
15617 (SEGV_MAPERR): Likewise.
15618 (SEGV_ACCERR): Likewise.
15619 (BUS_ADRALN): Likewise.
15620 (BUS_ADRERR): Likewise.
15621 (BUS_OBJERR): Likewise.
15622 (BUS_MCEERR_AR): Likewise.
15623 (BUS_MCEERR_AO): Likewise.
15624 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15625 (TRAP_TRACE): Likewise.
15626 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15627 __USE_XOPEN2K8].
15628 (CLD_KILLED): Likewise.
15629 (CLD_DUMPED): Likewise.
15630 (CLD_TRAPPED): Likewise.
15631 (CLD_STOPPED): Likewise.
15632 (CLD_CONTINUED): Likewise.
15633 (POLL_IN): Likewise.
15634 (POLL_OUT): Likewise.
15635 (POLL_MSG): Likewise.
15636 (POLL_ERR): Likewise.
15637 (POLL_PRI): Likewise.
15638 (POLL_HUP): Likewise.
15639 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15640 (ILL_ILLOPN): Likewise.
15641 (ILL_ILLADR): Likewise.
15642 (ILL_ILLTRP): Likewise.
15643 (ILL_PRVOPC): Likewise.
15644 (ILL_PRVREG): Likewise.
15645 (ILL_COPROC): Likewise.
15646 (ILL_BADSTK): Likewise.
15647 (ILL_DBLFLT): Likewise.
15648 (ILL_HARDWALL): Likewise.
15649 (FPE_INTDIV): Likewise.
15650 (FPE_INTOVF): Likewise.
15651 (FPE_FLTDIV): Likewise.
15652 (FPE_FLTOVF): Likewise.
15653 (FPE_FLTUND): Likewise.
15654 (FPE_FLTRES): Likewise.
15655 (FPE_FLTINV): Likewise.
15656 (FPE_FLTSUB): Likewise.
15657 (SEGV_MAPERR): Likewise.
15658 (SEGV_ACCERR): Likewise.
15659 (BUS_ADRALN): Likewise.
15660 (BUS_ADRERR): Likewise.
15661 (BUS_OBJERR): Likewise.
15662 (BUS_MCEERR_AR): Likewise.
15663 (BUS_MCEERR_AO): Likewise.
15664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15665 (TRAP_TRACE): Likewise.
15666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15667 __USE_XOPEN2K8].
15668 (CLD_KILLED): Likewise.
15669 (CLD_DUMPED): Likewise.
15670 (CLD_TRAPPED): Likewise.
15671 (CLD_STOPPED): Likewise.
15672 (CLD_CONTINUED): Likewise.
15673 (POLL_IN): Likewise.
15674 (POLL_OUT): Likewise.
15675 (POLL_MSG): Likewise.
15676 (POLL_ERR): Likewise.
15677 (POLL_PRI): Likewise.
15678 (POLL_HUP): Likewise.
15679 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15680 (ILL_ILLOPN): Likewise.
15681 (ILL_ILLADR): Likewise.
15682 (ILL_ILLTRP): Likewise.
15683 (ILL_PRVOPC): Likewise.
15684 (ILL_PRVREG): Likewise.
15685 (ILL_COPROC): Likewise.
15686 (ILL_BADSTK): Likewise.
15687 (FPE_INTDIV): Likewise.
15688 (FPE_INTOVF): Likewise.
15689 (FPE_FLTDIV): Likewise.
15690 (FPE_FLTOVF): Likewise.
15691 (FPE_FLTUND): Likewise.
15692 (FPE_FLTRES): Likewise.
15693 (FPE_FLTINV): Likewise.
15694 (FPE_FLTSUB): Likewise.
15695 (SEGV_MAPERR): Likewise.
15696 (SEGV_ACCERR): Likewise.
15697 (BUS_ADRALN): Likewise.
15698 (BUS_ADRERR): Likewise.
15699 (BUS_OBJERR): Likewise.
15700 (BUS_MCEERR_AR): Likewise.
15701 (BUS_MCEERR_AO): Likewise.
15702 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15703 (TRAP_TRACE): Likewise.
15704 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15705 __USE_XOPEN2K8].
15706 (CLD_KILLED): Likewise.
15707 (CLD_DUMPED): Likewise.
15708 (CLD_TRAPPED): Likewise.
15709 (CLD_STOPPED): Likewise.
15710 (CLD_CONTINUED): Likewise.
15711 (POLL_IN): Likewise.
15712 (POLL_OUT): Likewise.
15713 (POLL_MSG): Likewise.
15714 (POLL_ERR): Likewise.
15715 (POLL_PRI): Likewise.
15716 (POLL_HUP): Likewise.
15717 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15718 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15719
bc61d27c
JM
15720 [BZ #16670]
15721 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15722 before #include of <time.h>.
15723 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15724 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15725 (test-xfail-UNIX98/sched.h/conform): Likewise.
15726
302949e2
MS
157272014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15728
15729 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15730 error absence of trapping exception support.
15731 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15732
a00f522a
JM
157332014-03-07 Joseph Myers <joseph@codesourcery.com>
15734
6f99f280
JM
15735 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15736 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15737 * timezone/Makefile (testdata): Move definition above include of
15738 Rules.
15739 (test-zones): New variable.
15740 (tests-special): Add zone files.
15741 (build-testdata): Use $(evaluate-test).
15742
0b20a9e8
JM
15743 * elf/Makefile (tests-special): Rename tests to end with .out.
15744 ($(objpfx)noload-mem): Likewise.
15745 ($(objpfx)tst-leaks1-mem): Likewise.
15746 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15747 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15748 $(objpfx)test-iconvconfig.out.
15749 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15750 set -e inside subshell and redirect output to file.
15751 * iconvdata/Makefile (generated): Rename tests to end with .out.
15752 Correct type.
15753 (tests-special): Rename tests to end with .out.
15754 ($(objpfx)mtrace-tst-loading): Likewise.
15755 * intl/Makefile (generated): Likewise.
15756 (tests-special): Likewise.
15757 ($(objpfx)mtrace-tst-gettext): Likewise.
15758 * misc/Makefile (generated): Likewise.
15759 (tests-special): Likewise.
15760 ($(objpfx)tst-error1-mem): Likewise.
15761 * nptl/Makefile (tests-special): Likewise.
15762 ($(objpfx)tst-stack3-mem): Likewise.
15763 (generated): Likewise.
15764 * posix/Makefile (generated): Likewise.
15765 (tests-special): Likewise.
15766 (xtests-special): Likewise.
15767 ($(objpfx)tst-fnmatch-mem): Likewise.
15768 ($(objpfx)bug-regex2-mem): Likewise.
15769 ($(objpfx)bug-regex14-mem): Likewise.
15770 ($(objpfx)bug-regex21-mem): Likewise.
15771 ($(objpfx)bug-regex31-mem): Likewise.
15772 ($(objpfx)tst-vfork3-mem): Likewise.
15773 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15774 ($(objpfx)tst-pcre-mem): Likewise.
15775 ($(objpfx)tst-boost-mem): Likewise.
15776 ($(objpfx)bug-ga2-mem): Likewise.
15777 ($(objpfx)bug-glob2-mem): Likewise.
15778 * resolv/Makefile (generate): Likewise.
15779 (tests-special): Likewise.
15780 (xtests-special): Likewise.
15781 (generated): Likewise.
15782 ($(objpfx)mtrace-tst-leaks): Likewise.
15783 ($(objpfx)mtrace-tst-leaks2): Likewise.
15784
265d52ab
JM
15785 * scripts/merge-test-results.sh: New file.
15786 * Makefile (tests-special-notdir): New variable.
15787 (tests): Run merge-test-results.sh.
15788 (xtests): Likewise.
15789 * Rules (tests-special-notdir): New variable.
15790 (xtests-special-notdir): Likewise.
15791 (tests): Run merge-test-results.sh
15792 (xtests): Likewise.
15793
54ee292d
JM
15794 * Makeconfig (test-xfail-name): New variable.
15795 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15796 compute variable name for expected failures.
15797 * conform/Makefile (conformtest-headers-data): New variable.
15798 (conformtest-standards): Likewise.
15799 (conformtest-headers-ISO): Likewise.
15800 (conformtest-headers-ISO99): Likewise.
15801 (conformtest-headers-ISO11): Likewise.
15802 (conformtest-headers-POSIX): Likewise.
15803 (conformtest-headers-XPG3): Likewise.
15804 (conformtest-headers-XPG4): Likewise.
15805 (conformtest-headers-UNIX98): Likewise.
15806 (conformtest-headers-XOPEN2K): Likewise.
15807 (conformtest-headers-POSIX2008): Likewise.
15808 (conformtest-headers-XOPEN2K8): Likewise.
15809 (conformtest-header-list-base): Likewise.
15810 (conformtest-header-list-tests): Likewise.
15811 (conformtest-header-base): Likewise.
15812 (conformtest-header-tests): Likewise.
15813 (tests-special): Add $(conformtest-header-list-tests). If
15814 [$(fast-check) && !$(cross-compiling)], add
15815 $(conformtest-header-tests) instead of
15816 $(objpfx)run-conformtest.out.
15817 (generated): Add $(conformtest-header-list-base). If
15818 [$(fast-check) && !$(cross-compiling)], add
15819 $(conformtest-header-base). Remove previous setting.
15820 ($(conformtest-header-list-tests)): New target.
15821 (test-xfail-run-conformtest): Remove variable.
15822 ($(objpfx)run-conformtest.out): Remove target.
15823 (test-xfail-ISO11/complex.h/conform): New variable.
15824 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15825 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15826 (test-xfail-XPG3/varargs.h/conform): Likewise.
15827 (test-xfail-XPG4/varargs.h/conform): Likewise.
15828 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15829 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15830 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15831 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15832 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15833 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15834 (test-xfail-XPG3/ftw.h/conform): Likewise.
15835 (test-xfail-XPG3/grp.h/conform): Likewise.
15836 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15837 (test-xfail-XPG3/limits.h/conform): Likewise.
15838 (test-xfail-XPG3/pwd.h/conform): Likewise.
15839 (test-xfail-XPG3/search.h/conform): Likewise.
15840 (test-xfail-XPG3/signal.h/conform): Likewise.
15841 (test-xfail-XPG3/stdio.h/conform): Likewise.
15842 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15843 (test-xfail-XPG3/string.h/conform): Likewise.
15844 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15845 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15846 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15847 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15848 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15849 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15850 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15851 (test-xfail-XPG3/termios.h/conform): Likewise.
15852 (test-xfail-XPG3/time.h/conform): Likewise.
15853 (test-xfail-XPG3/unistd.h/conform): Likewise.
15854 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15855 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15856 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15857 (test-xfail-XPG4/netdb.h/conform): Likewise.
15858 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15859 (test-xfail-XPG4/signal.h/conform): Likewise.
15860 (test-xfail-XPG4/stdio.h/conform): Likewise.
15861 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15862 (test-xfail-XPG4/stropts.h/conform): Likewise.
15863 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15864 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15865 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15866 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15867 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15868 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15869 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15870 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15871 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15872 (test-xfail-XPG4/termios.h/conform): Likewise.
15873 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15874 (test-xfail-XPG4/unistd.h/conform): Likewise.
15875 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15876 (test-xfail-POSIX/sched.h/conform): Likewise.
15877 (test-xfail-POSIX/signal.h/conform): Likewise.
15878 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15879 (test-xfail-POSIX/tar.h/conform): Likewise.
15880 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15881 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15882 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15883 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15884 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15885 (test-xfail-UNIX98/sched.h/conform): Likewise.
15886 (test-xfail-UNIX98/signal.h/conform): Likewise.
15887 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15888 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15889 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15890 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15891 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15892 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15893 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15894 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15895 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15896 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15897 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15898 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15899 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15900 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15901 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15902 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15903 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15904 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15905 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15906 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15907 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15908 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15909 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15910 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15911 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15912 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15913 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15914 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15915 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15916 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15917 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15918 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15919 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15920 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15921 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15922 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15923 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15924 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15925 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15926 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15927 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15928 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15929 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15930 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15931 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15932 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15933 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15934 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15935 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15936 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15937 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15938 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15939 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15940 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15941 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15942 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15943 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15944 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15945 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15946 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15947 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15948 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15949 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15950 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15951 (conformtest-cc-flags): Likewise.
15952 ($(conformtest-header-tests): New target.
15953 * conform/check-header-lists.sh: New file.
15954 * conform/run-conformtest.sh: Remove.
15955
a00f522a
JM
15956 * conform/conformtest.pl: Allow ' and \ in values given for
15957 constants.
15958 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15959 inclusion.
15960 [POSIX] (sys/types.h): Likewise.
15961 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15962 inclusion.
15963 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15964 inclusion.
15965 * conform/data/signal.h-data (SIGIO): Remove expectation.
15966 [XPG3] (SIGBUS): Do not expect.
15967 [POSIX || XPG3] (SIGPOLL): Likewise.
15968 [POSIX || XPG3] (SIGPROF): Likewise.
15969 [POSIX || XPG3] (SIGSYS): Likewise.
15970 [XPG3] (SIGTRAP): Likewise.
15971 [POSIX || XPG3] (SIGURG): Likewise.
15972 [POSIX || XPG3] (SIGVTALRM): Likewise.
15973 [POSIX || XPG3] (SIGXCPU): Likewise.
15974 [POSIX || XPG3] (SIGXFSZ): Likewise.
15975 [POSIX] (SA_SIGINFO): Expect.
15976 [XPG3] (siginfo_t): Do not expect type or contents.
15977 [POSIX] (si_pid): Do not expect element.
15978 [POSIX] (si_uid): Likewise.
15979 [POSIX] (si_addr): Likewise.
15980 [POSIX] (si_status): Likewise.
15981 [POSIX] (si_band): Likewise.
15982 [XPG4] (si_value): Likewise.
15983 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15984 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15985 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15986 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15987 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15988 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15989 [POSIX || XPG3] (ILL_COPROC): Likewise.
15990 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15991 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15992 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15993 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15994 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15995 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15996 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15997 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15998 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15999 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16000 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16001 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16002 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16003 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16004 [POSIX || XPG3] (CLD_EXITED): Likewise.
16005 [POSIX || XPG3] (CLD_KILLED): Likewise.
16006 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16007 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16008 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16009 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16010 [POSIX || XPG3] (POLL_IN): Likewise.
16011 [POSIX || XPG3] (POLL_OUT): Likewise.
16012 [POSIX || XPG3] (POLL_MSG): Likewise.
16013 [POSIX || XPG3] (POLL_ERR): Likewise.
16014 [POSIX || XPG3] (POLL_PRI): Likewise.
16015 [POSIX || XPG3] (POLL_HUP): Likewise.
16016 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16017 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16018 (SIG*): Do not allow.
16019 [XPG3] (si_*): Likewise.
16020 [XPG3] (SI_*): Likewise.
16021 [XPG3 || XPG4] (sigev_*): Likewise.
16022 [XPG3 || XPG4] (SIGEV_*): Likewise.
16023 [XPG3 || XPG4] (sival_*): Likewise.
16024 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16025 [POSIX || XPG3] (BUS_*): Likewise.
16026 [POSIX || XPG3] (CLD_*): Likewise.
16027 [POSIX || XPG3] (FPE_*): Likewise.
16028 [POSIX || XPG3] (ILL_*): Likewise.
16029 [POSIX || XPG3] (POLL_*): Likewise.
16030 [POSIX || XPG3] (SEGV_*): Likewise.
16031 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16032 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16033 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16034 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16035 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16036 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16037 Specify type and value.
16038 (TVERSLEN): Likewise.
16039 (REGTYPE): Likewise.
16040 (AREGTYPE): Likewise.
16041 (LNKTYPE): Likewise.
16042 (SYMTYPE): Likewise.
16043 (CHRTYPE): Likewise.
16044 (BLKTYPE): Likewise.
16045 (DIRTYPE): Likewise.
16046 (FIFOTYPE): Likewise.
16047 (CONTTYPE): Likewise.
16048 (TSUID): Likewise.
16049 (TSGID): Likewise.
16050 (TSVTX): Likewise.
16051 (TUREAD): Likewise.
16052 (TUWRITE): Likewise.
16053 (TUEXEC): Likewise.
16054 (TGREAD): Likewise.
16055 (TGWRITE): Likewise.
16056 (TGEXEC): Likewise.
16057 (TOREAD): Likewise.
16058 (TOWRITE): Likewise.
16059 (TOEXEC): Likewise.
16060 [POSIX] (TSVTX): Expect constant.
16061
aa97dee1
JM
160622014-03-06 Joseph Myers <joseph@codesourcery.com>
16063
f214606a
JM
16064 * Makefile (tests): Change dependencies to ....
16065 (tests-special): ... additions to this variable.
16066 (tests): Depend on $(tests-special).
16067 * Makerules (check-abi-list): New variable.
16068 (check-abi): Depend on $(check-abi-list).
16069 [$(subdir) = elf] (tests-special): Add
16070 $(objpfx)check-abi-libc.out.
16071 [$(build-shared) = yes && subdir] (tests-special): Add
16072 $(check-abi-list).
16073 [$(build-shared) = yes && subdir] (tests): Do not depend on
16074 check-abi.
16075 * Rules (tests): Depend on $(tests-special).
16076 (xtests): Depend on $(xtests-special).
16077 * catgets/Makefile (tests): Change dependencies to ....
16078 (tests-special): ... additions to this variable.
16079 * conform/Makefile (tests): Change dependencies to ....
16080 (tests-special): ... additions to this variable.
16081 * elf/Makefile (tests): Change dependencies to ....
16082 (tests-special): ... additions to this variable.
16083 * grp/Makefile (tests): Change dependencies to ....
16084 (tests-special): ... additions to this variable.
16085 * iconv/Makefile (xtests): Change dependencies to ....
16086 (xtests-special): ... additions to this variable.
16087 * iconvdata/Makefile (tests): Change dependencies to ....
16088 (tests-special): ... additions to this variable.
16089 * intl/Makefile (tests): Change dependencies to ....
16090 (tests-special): ... additions to this variable. Also add
16091 $(objpfx)tst-gettext.out.
16092 * io/Makefile (tests): Change dependencies to ....
16093 (tests-special): ... additions to this variable.
16094 * libio/Makefile (tests): Change dependencies to ....
16095 (tests-special): ... additions to this variable.
16096 * malloc/Makefile (tests): Change dependencies to ....
16097 (tests-special): ... additions to this variable.
16098 * misc/Makefile (tests): Change dependencies to ....
16099 (tests-special): ... additions to this variable.
16100 * nptl/Makefile (tests): Change dependencies to ....
16101 (tests-special): ... additions to this variable.
16102 * nptl_db/Makefile (tests): Change dependencies to ....
16103 (tests-special): ... additions to this variable.
16104 * posix/Makefile (tests): Change dependencies to ....
16105 (tests-special): ... additions to this variable.
16106 (xtests): Change dependencies to ....
16107 (xtests-special): ... additions to this variable.
16108 * resolv/Makefile (tests): Change dependencies to ....
16109 (tests-special): ... additions to this variable.
16110 (xtests): Change dependencies to ....
16111 (xtests-special): ... additions to this variable.
16112 * stdio-common/Makefile (tests): Change dependencies to ....
16113 (tests-special): ... additions to this variable.
16114 (do-tst-unbputc): Remove target.
16115 (do-tst-printf): Likewise.
16116 * stdlib/Makefile (tests): Change dependencies to ....
16117 (tests-special): ... additions to this variable.
16118 * string/Makefile (tests): Change dependencies to ....
16119 (tests-special): ... additions to this variable.
16120 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16121 (tests-special): ... additions to this variable.
16122
81700b53
JM
16123 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16124 whole file.
16125 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16126 whole file.
16127 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16128 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16129
2ea18461
JM
16130 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16131 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16132 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16133 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16134 * conform/data/libgen.h-data [XPG3]: Likewise.
16135 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16136 * conform/data/ndbm.h-data [XPG3]: Likewise.
16137 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16138 * conform/data/netdb.h-data [XPG3]: Likewise.
16139 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16140 * conform/data/poll.h-data [XPG3]: Likewise.
16141 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16142 * conform/data/strings.h-data [XPG3]: Likewise.
16143 * conform/data/stropts.h-data [XPG3]: Likewise.
16144 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16145 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16146 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16147 Likewise.
16148 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16149 * conform/data/sys/time.h-data [XPG3]: Likewise.
16150 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16151 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16152 * conform/data/sys/un.h-data [XPG3]: Likewise.
16153 * conform/data/syslog.h-data [XPG3]: Likewise.
16154 * conform/data/ucontext.h-data [XPG3]: Likewise.
16155 * conform/data/utmpx.h-data [XPG3]: Likewise.
16156 * conform/data/varargs.h-data [UNIX98]: Enable file.
16157
355bc986
JM
16158 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16159
215db402
JM
16160 * math/libm-test.inc (struct test_f_f_data): Move expected results
16161 into structure for each rounding mode.
16162 (struct test_ff_f_data): Likewise.
16163 (struct test_ff_f_data_nexttoward): Likewise.
16164 (struct test_fi_f_data): Likewise.
16165 (struct test_fl_f_data): Likewise.
16166 (struct test_if_f_data): Likewise.
16167 (struct test_fff_f_data): Likewise.
16168 (struct test_c_f_data): Likewise.
16169 (struct test_f_f1_data): Likewise.
16170 (struct test_fF_f1_data): Likewise.
16171 (struct test_ffI_f1_data): Likewise.
16172 (struct test_c_c_data): Likewise.
16173 (struct test_cc_c_data): Likewise.
16174 (struct test_f_i_data): Likewise.
16175 (struct test_ff_i_data): Likewise.
16176 (struct test_f_l_data): Likewise.
16177 (struct test_f_L_data): Likewise.
16178 (struct test_fFF_11_data): Likewise.
16179 (RM_): New macro.
16180 (RM_FE_DOWNWARD): Likewise.
16181 (RM_FE_TONEAREST): Likewise.
16182 (RM_FE_TOWARDZERO): Likewise.
16183 (RM_FE_UPWARD): Likewise.
16184 (RUN_TEST_LOOP_f_f): Update references to expected results.
16185 (RUN_TEST_LOOP_2_f): Likewise.
16186 (RUN_TEST_LOOP_fff_f): Likewise.
16187 (RUN_TEST_LOOP_c_f): Likewise.
16188 (RUN_TEST_LOOP_f_f1): Likewise.
16189 (RUN_TEST_LOOP_fF_f1): Likewise.
16190 (RUN_TEST_LOOP_fI_f1): Likewise.
16191 (RUN_TEST_LOOP_ffI_f1): Likewise.
16192 (RUN_TEST_LOOP_c_c): Likewise.
16193 (RUN_TEST_LOOP_cc_c): Likewise.
16194 (RUN_TEST_LOOP_f_i): Likewise.
16195 (RUN_TEST_LOOP_f_i_tg): Likewise.
16196 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16197 (RUN_TEST_LOOP_f_b): Likewise.
16198 (RUN_TEST_LOOP_f_b_tg): Likewise.
16199 (RUN_TEST_LOOP_f_l): Likewise.
16200 (RUN_TEST_LOOP_f_L): Likewise.
16201 (RUN_TEST_LOOP_fFF_11): Likewise.
16202 * math/gen-libm-test.pl (parse_args): Output four copies of
16203 expected results for each test.
16204
67737b8f
JM
16205 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16206 (__ASSUME_UTIMES): Remove.
16207 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16208 (__ASSUME_UTIMES): Likewise.
16209
aa97dee1
JM
16210 * math/gen-auto-libm-tests.c: Update comment on output format.
16211 (output_for_one_input_case): Generate before-rounding and
16212 after-rounding information as conditions on output flags not
16213 floating-point format.
16214 * math/auto-libm-test-out: Regenerated.
16215 * math/gen-libm-test.pl (cond_value): New function.
16216 (or_cond_value): Use cond_value.
16217 (generate_testfile): Handle conditional exceptions.
16218
e6b6a857
JM
162192014-03-05 Joseph Myers <joseph@codesourcery.com>
16220
2f0a0f44
JM
16221 * math/libm-test.inc (max_valid_error): New variable.
16222 (init_max_error): Take new argument specifying whether function
16223 results are exactly determined. Set max_valid_error and bound
16224 other variables for errors based on this argument.
16225 (set_max_error): Do not record results above max_valid_error.
16226 (check_float_internal): Only accept errors of up to 0.5ulps if
16227 also at most max_valid_error.
16228 (START): Take new argument EXACT and pass it to init_max_error.
16229 (acos_test): Update call to START.
16230 (acos_test_tonearest): Likewise.
16231 (acos_test_towardzero): Likewise.
16232 (acos_test_downward): Likewise.
16233 (acos_test_upward): Likewise.
16234 (acosh_test): Likewise.
16235 (asin_test): Likewise.
16236 (asin_test_tonearest): Likewise.
16237 (asin_test_towardzero): Likewise.
16238 (asin_test_downward): Likewise.
16239 (asin_test_upward): Likewise.
16240 (asinh_test): Likewise.
16241 (atan_test): Likewise.
16242 (atanh_test): Likewise.
16243 (atan2_test): Likewise.
16244 (cabs_test): Likewise.
16245 (cacos_test): Likewise.
16246 (cacosh_test): Likewise.
16247 (carg_test): Likewise.
16248 (casin_test): Likewise.
16249 (casinh_test): Likewise.
16250 (catan_test): Likewise.
16251 (catanh_test): Likewise.
16252 (cbrt_test): Likewise.
16253 (ccos_test): Likewise.
16254 (ccosh_test): Likewise.
16255 (ceil_test): Likewise.
16256 (cexp_test): Likewise.
16257 (cimag_test): Likewise.
16258 (clog_test): Likewise.
16259 (clog10_test): Likewise.
16260 (conj_test): Likewise.
16261 (copysign_test): Likewise.
16262 (cos_test): Likewise.
16263 (cos_test_tonearest): Likewise.
16264 (cos_test_towardzero): Likewise.
16265 (cos_test_downward): Likewise.
16266 (cos_test_upward): Likewise.
16267 (cosh_test): Likewise.
16268 (cosh_test_tonearest): Likewise.
16269 (cosh_test_towardzero): Likewise.
16270 (cosh_test_downward): Likewise.
16271 (cosh_test_upward): Likewise.
16272 (cpow_test): Likewise.
16273 (cproj_test): Likewise.
16274 (creal_test): Likewise.
16275 (csin_test): Likewise.
16276 (csinh_test): Likewise.
16277 (csqrt_test): Likewise.
16278 (ctan_test): Likewise.
16279 (ctan_test_tonearest): Likewise.
16280 (ctan_test_towardzero): Likewise.
16281 (ctan_test_downward): Likewise.
16282 (ctan_test_upward): Likewise.
16283 (ctanh_test): Likewise.
16284 (ctanh_test_tonearest): Likewise.
16285 (ctanh_test_towardzero): Likewise.
16286 (ctanh_test_downward): Likewise.
16287 (ctanh_test_upward): Likewise.
16288 (erf_test): Likewise.
16289 (erfc_test): Likewise.
16290 (exp_test): Likewise.
16291 (exp_test_tonearest): Likewise.
16292 (exp_test_towardzero): Likewise.
16293 (exp_test_downward): Likewise.
16294 (exp_test_upward): Likewise.
16295 (exp10_test): Likewise.
16296 (exp10_test_tonearest): Likewise.
16297 (exp10_test_towardzero): Likewise.
16298 (exp10_test_downward): Likewise.
16299 (exp10_test_upward): Likewise.
16300 (pow10_test): Likewise.
16301 (exp2_test): Likewise.
16302 (expm1_test): Likewise.
16303 (expm1_test_tonearest): Likewise.
16304 (expm1_test_towardzero): Likewise.
16305 (expm1_test_downward): Likewise.
16306 (expm1_test_upward): Likewise.
16307 (fabs_test): Likewise.
16308 (fdim_test): Likewise.
16309 (floor_test): Likewise.
16310 (fma_test): Likewise.
16311 (fma_test_towardzero): Likewise.
16312 (fma_test_downward): Likewise.
16313 (fma_test_upward): Likewise.
16314 (fmax_test): Likewise.
16315 (fmin_test): Likewise.
16316 (fmod_test): Likewise.
16317 (fpclassify_test): Likewise.
16318 (frexp_test): Likewise.
16319 (hypot_test): Likewise.
16320 (ilogb_test): Likewise.
16321 (isfinite_test): Likewise.
16322 (finite_test): Likewise.
16323 (isgreater_test): Likewise.
16324 (isgreaterequal_test): Likewise.
16325 (isinf_test): Likewise.
16326 (isless_test): Likewise.
16327 (islessequal_test): Likewise.
16328 (islessgreater_test): Likewise.
16329 (isnan_test): Likewise.
16330 (isnormal_test): Likewise.
16331 (issignaling_test): Likewise.
16332 (isunordered_test): Likewise.
16333 (j0_test): Likewise.
16334 (j1_test): Likewise.
16335 (jn_test): Likewise.
16336 (ldexp_test): Likewise.
16337 (lgamma_test): Likewise.
16338 (gamma_test): Likewise.
16339 (lrint_test): Likewise.
16340 (lrint_test_tonearest): Likewise.
16341 (lrint_test_towardzero): Likewise.
16342 (lrint_test_downward): Likewise.
16343 (lrint_test_upward): Likewise.
16344 (llrint_test): Likewise.
16345 (llrint_test_tonearest): Likewise.
16346 (llrint_test_towardzero): Likewise.
16347 (llrint_test_downward): Likewise.
16348 (llrint_test_upward): Likewise.
16349 (log_test): Likewise.
16350 (log10_test): Likewise.
16351 (log1p_test): Likewise.
16352 (log2_test): Likewise.
16353 (logb_test): Likewise.
16354 (logb_test_downward): Likewise.
16355 (lround_test): Likewise.
16356 (llround_test): Likewise.
16357 (modf_test): Likewise.
16358 (nearbyint_test): Likewise.
16359 (nextafter_test): Likewise.
16360 (nexttoward_test): Likewise.
16361 (pow_test): Likewise.
16362 (pow_test_tonearest): Likewise.
16363 (pow_test_towardzero): Likewise.
16364 (pow_test_downward): Likewise.
16365 (pow_test_upward): Likewise.
16366 (remainder_test): Likewise.
16367 (drem_test): Likewise.
16368 (remainder_test_tonearest): Likewise.
16369 (drem_test_tonearest): Likewise.
16370 (remainder_test_towardzero): Likewise.
16371 (drem_test_towardzero): Likewise.
16372 (remainder_test_downward): Likewise.
16373 (drem_test_downward): Likewise.
16374 (remainder_test_upward): Likewise.
16375 (drem_test_upward): Likewise.
16376 (remquo_test): Likewise.
16377 (rint_test): Likewise.
16378 (rint_test_tonearest): Likewise.
16379 (rint_test_towardzero): Likewise.
16380 (rint_test_downward): Likewise.
16381 (rint_test_upward): Likewise.
16382 (round_test): Likewise.
16383 (scalb_test): Likewise.
16384 (scalbn_test): Likewise.
16385 (scalbln_test): Likewise.
16386 (signbit_test): Likewise.
16387 (sin_test): Likewise.
16388 (sin_test_tonearest): Likewise.
16389 (sin_test_towardzero): Likewise.
16390 (sin_test_downward): Likewise.
16391 (sin_test_upward): Likewise.
16392 (sincos_test): Likewise.
16393 (sinh_test): Likewise.
16394 (sinh_test_tonearest): Likewise.
16395 (sinh_test_towardzero): Likewise.
16396 (sinh_test_downward): Likewise.
16397 (sinh_test_upward): Likewise.
16398 (sqrt_test): Likewise.
16399 (sqrt_test_tonearest): Likewise.
16400 (sqrt_test_towardzero): Likewise.
16401 (sqrt_test_downward): Likewise.
16402 (sqrt_test_upward): Likewise.
16403 (tan_test): Likewise.
16404 (tan_test_tonearest): Likewise.
16405 (tan_test_towardzero): Likewise.
16406 (tan_test_downward): Likewise.
16407 (tan_test_upward): Likewise.
16408 (tanh_test): Likewise.
16409 (tgamma_test): Likewise.
16410 (trunc_test): Likewise.
16411 (y0_test): Likewise.
16412 (y1_test): Likewise.
16413 (yn_test): Likewise.
16414 (significand_test): Likewise.
16415
e6b6a857
JM
16416 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16417 individual tests in comment.
16418 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16419 (prev_max_error): New variable.
16420 (prev_real_max_error): Likewise.
16421 (prev_imag_max_error): Likewise.
16422 (compare_ulp_data): Don't refer to test names in comment.
16423 (find_test_ulps): Remove function.
16424 (find_function_ulps): Likewise.
16425 (find_complex_function_ulps): Likewise.
16426 (init_max_error): Take function name as argument. Look up ulps
16427 for that function.
16428 (print_ulps): Remove function.
16429 (print_max_error): Use prev_max_error instead of calling
16430 find_function_ulps.
16431 (print_complex_max_error): Use prev_real_max_error and
16432 prev_imag_max_error instead of calling find_complex_function_ulps.
16433 (check_float_internal): Take max_ulp parameter instead of calling
16434 find_test_ulps. Don't call print_ulps.
16435 (check_float): Update call to check_float_internal.
16436 (check_complex): Update calls to check_float_internal.
16437 (START): Pass argument to init_max_error.
16438 * math/gen-libm-test.pl (%results): Don't include "kind"
16439 information.
16440 (parse_ulps): Don't handle ulps of individual tests.
16441 (print_ulps_file): Likewise.
16442 (output_ulps): Likewise.
16443 * math/README.libm-test: Update.
16444 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16445 individual tests.
16446 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16447 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16448 * sysdeps/arm/libm-test-ulps: Likewise.
16449 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16450 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16451 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16452 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16453 * sysdeps/microblaze/libm-test-ulps: Likewise.
16454 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16455 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16457 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16458 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16459 * sysdeps/sh/libm-test-ulps: Likewise.
16460 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16461 * sysdeps/tile/libm-test-ulps: Likewise.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16463
45adef3c
JM
164642014-03-04 Joseph Myers <joseph@codesourcery.com>
16465
16466 * math/libm-test.inc (print_complex_max_error): Check separately
16467 whether real and imaginary errors are within allowed range and
16468 pass 0 to print_complex_function_ulps instead of value within
16469 allowed range.
16470
000232b9
SP
164712014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16472
d4b17258
SP
16473 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16474 formatting.
16475 (get_handles_fopen): Likewise.
16476 (do_write_test): Likewise.
16477
091eff71
SP
16478 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16479
fa3cd248
SP
16480 * libio/fileops.c (do_ftell): Use cached offset when
16481 available.
16482 * libio/iofwide.c (do_ftell_wide): Likewise.
16483 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16484 _IO_file_attach.
16485 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16486
000232b9
SP
16487 [BZ #16532]
16488 * libio/libioP.h (get_file_offset): New function.
16489 * libio/fileops.c (get_file_offset): Likewise.
16490 (do_ftell): Likewise.
16491 (_IO_new_file_seekoff): Split out ftell logic.
16492 * libio/wfileops.c (do_ftell_wide): Likewise.
16493 (_IO_wfile_seekoff): Split out ftell logic.
16494 * libio/tst-ftell-active-handler.c: New test case.
16495 * libio/Makefile (tests): Add it.
16496
116f4d1a
RM
164972014-03-03 Roland McGrath <roland@hack.frob.com>
16498
16499 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16500 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16501
532a6035
SP
165022014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16503
16504 [BZ #16639]
16505 * nscd/connections.c (nscd_init): Call do_exit.
16506 (start_threads): Call do_exit and notify_parent.
16507 (begin_drop_privileges): Call do_exit.
16508 (finish_drop_privileges): Likewise.
16509 * nscd/selinux.c (preserve_capabilities): Likewise.
16510 (install_real_capabilities): Likewise.
16511 (nscd_selinux_enabled): Likewise.
16512 (avc_create_thread): Likewise.
16513 (avc_alloc_lock): Likewise.
16514 (nscd_avc_init): Likewise.
16515 * nscd/nscd.c (parent_fd): New static variable.
16516 (main): Create a pipe between parent and child processes.
16517 Skip closing parent_fd.
16518 (monitor_child): New function.
16519 (do_exit): Likewise.
16520 (notify_parent): Likewise.
16521 * nscd/nscd.h (notify_parent): Likewise.
16522 (do_exit): Likewise.
16523
d6285c9f
CD
165242014-03-03 Carlos O'Donell <carlos@redhat.com>
16525
16526 * malloc/malloc.c (__libc_calloc): Revert last change.
16527
2b85d2a0
AZ
165282014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16529
16530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16531
c7debbdf
RS
165322014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16533
16534 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16536 implementation.
16537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16538 (__libc_ifunc_impl_list): Likewise.
16539 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16540 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16541 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16542 * string/strrchr.c: Define STRRCHR.
16543
235eed86
OB
165442014-02-28 Ondřej Bílka <neleai@seznam.cz>
16545
16546 * benchtest/bench-strtok.c (simple_strtok): Delete.
16547 (strtok_string): Use as benchmark.
16548 * string/strtok (STRTOK): New macro.
16549
8e25d1e7
CD
165502014-02-28 Carlos O'Donell <carlos@redhat.com>
16551
ef563f92
CD
16552 * manual/threads.texi: Add header and standard comments to all
16553 functions.
16554
8e25d1e7
CD
16555 * elf/dl-lookup.c (check_match): New function.
16556 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16557 (do_lookup_x): Remove nested function check_match. Use non-nested
16558 function check_match.
16559
ff71cc37
RM
165602014-02-28 Roland McGrath <roland@hack.frob.com>
16561
f08e9a26
RM
16562 * csu/Makefile (generated, before-compile): Use += rather than =.
16563 * catgets/Makefile (generated, generated-dirs): Likewise.
16564 * debug/Makefile (generated): Likewise.
16565 * dlfcn/Makefile (generated): Likewise.
16566 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16567 * iconvdata/Makefile (before-compile, generated): Likewise.
16568 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16569 * libio/Makefile (generated): Likewise.
16570 * malloc/Makefile (generated): Likewise.
16571 * manual/Makefile (generated, generated-dirs): Likewise.
16572 * misc/Makefile (generated): Likewise.
16573 * posix/Makefile (generated): Likewise.
16574 * resolv/Makefile (generated): Likewise.
16575 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16576 * timezone/Makefile (generated, generated-dirs): Likewise.
16577
ff71cc37
RM
16578 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16579
fe13a20c
AZ
165802014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16581
57f41c40
AS
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16583 power8 implementation.
16584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16585 file: POWER8 llround ifunc implementation.
16586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16587 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16588 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16589 POWER8 llround implementation.
16590
57f41c40
AS
16591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16592 power8 implementation.
16593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16594 file: POWER8 llrint ifunc implementation.
16595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16596 Add POWER8 implementation.
1ad8950a
AZ
16597 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16598 POWER8 llrint implementation.
16599
57f41c40
AS
16600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16601 power8 implementation.
16602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16603 file: POWER8 finite ifunc implementation.
16604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16605 Add POWER8 implementation.
cac626d6
AZ
16606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16607 Likewise.
16608 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16609 POWER8 finite implementation.
16610 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16611
57f41c40
AS
16612 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16613 power8 implementation.
16614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16615 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16617 POWER8 implementation.
16618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16619 Likewise.
57f41c40
AS
16620 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16621 isinf implementation.
4393fc11
AZ
16622 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16623
57f41c40
AS
16624 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16625 (INIT_ARCH): Add hwcap2 initialization.
16626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16627 power8 implementation.
16628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16629 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16631 POWER8 implementation.
16632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16633 Likewise.
57f41c40
AS
16634 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16635 isnan implementation.
487972ae
AZ
16636 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16637
7d92b787
JY
166382014-02-27 Joey Ye <joey.ye@arm.com>
16639
16640 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16641 (_FP_NANFRAC_Q): Set to zero.
16642
1cadc858
SP
166432014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
16645 [BZ #16623]
16646 * math/auto-libm-test-in: New test inputs.
16647 * math/auto-libm-test-out: Regenerate.
16648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16649 and DA.
16650 (__cos): Likewise.
16651 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16652
f8c17e79
JM
166532014-02-27 Joseph Myers <joseph@codesourcery.com>
16654
16655 * scripts/evaluate-test.sh: Take new argument indicating whether
16656 failure is expected.
16657 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16658 indicating whether failure is expected.
16659 * conform/Makefile (test-xfail-run-conformtest): New variable.
16660 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16661 level.
16662 * posix/Makefile (test-xfail-annexc): New variable.
16663 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16664
a5f891ac
JM
166652014-02-26 Joseph Myers <joseph@codesourcery.com>
16666
16667 * argp/Makefile: Include Makeconfig immediately after defining
16668 subdir.
16669 * assert/Makefile: Likewise.
16670 * benchtests/Makefile: Likewise.
16671 * catgets/Makefile: Likewise.
16672 * conform/Makefile: Likewise.
16673 * crypt/Makefile: Likewise.
16674 * csu/Makefile: Likewise.
16675 (all): Remove target.
16676 * ctype/Makefile: Include Makeconfig immediately after defining
16677 subdir.
16678 * debug/Makefile: Likewise.
16679 * dirent/Makefile: Likewise.
16680 * dlfcn/Makefile: Likewise.
16681 * gmon/Makefile: Likewise.
16682 * gnulib/Makefile: Likewise.
16683 * grp/Makefile: Likewise.
16684 * gshadow/Makefile: Likewise.
16685 * hesiod/Makefile: Likewise.
16686 * hurd/Makefile: Likewise.
16687 (all): Remove target.
16688 * iconvdata/Makefile: Include Makeconfig immediately after
16689 defining subdir.
16690 * inet/Makefile: Likewise.
16691 * intl/Makefile: Likewise.
16692 * io/Makefile: Likewise.
16693 * libio/Makefile: Likewise.
16694 (all): Remove target.
16695 * locale/Makefile: Include Makeconfig immediately after defining
16696 subdir.
16697 * login/Makefile: Likewise.
16698 * mach/Makefile: Likewise.
16699 (all): Remove target.
16700 * malloc/Makefile: Include Makeconfig immediately after defining
16701 subdir.
16702 (all): Remove target.
16703 * manual/Makefile: Include Makeconfig immediately after defining
16704 subdir.
16705 * math/Makefile: Likewise.
16706 * misc/Makefile: Likewise.
16707 * nis/Makefile: Likewise.
16708 * nss/Makefile: Likewise.
16709 * po/Makefile: Likewise.
16710 (all): Remove target.
16711 * posix/Makefile: Include Makeconfig immediately after defining
16712 subdir.
16713 * pwd/Makefile: Likewise.
16714 * resolv/Makefile: Likewise.
16715 * resource/Makefile: Likewise.
16716 * rt/Makefile: Likewise.
16717 * setjmp/Makefile: Likewise.
16718 * shadow/Makefile: Likewise.
16719 * signal/Makefile: Likewise.
16720 * socket/Makefile: Likewise.
16721 * soft-fp/Makefile: Likewise.
16722 * stdio-common/Makefile: Likewise.
16723 * stdlib/Makefile: Likewise.
16724 * streams/Makefile: Likewise.
16725 * string/Makefile: Likewise.
16726 * sunrpc/Makefile: Likewise.
16727 (all): Remove target.
16728 * sysvipc/Makefile: Include Makeconfig immediately after defining
16729 subdir.
16730 * termios/Makefile: Likewise.
16731 * time/Makefile: Likewise.
16732 * timezone/Makefile: Likewise.
16733 (all): Remove target.
16734 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16735 subdir.
16736 * wctype/Makefile: Likewise.
16737
5b456e9d
SE
167382014-02-26 Steve Ellcey <sellcey@mips.com>
16739
16740 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16741 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16742 (libc_feholdexcept_setround_mips): Ditto.
16743 (libc_feholdsetround): New.
16744 (libc_feholdsetroundf): New.
16745 (libc_feholdsetroundl): New.
16746 (libc_feupdateenv_test_mips): New.
16747 (libc_feupdateenv_test): New.
16748 (libc_feupdateenv_testf): New.
16749 (libc_feupdateenv_testl): New.
16750 (libc_feresetround): New.
16751 (libc_feresetroundf): New.
16752 (libc_feresetroundl): New.
16753 (libc_fetestexcept_mips): New.
16754 (libc_fetestexcept): New.
16755 (libc_fetestexceptf): New.
16756 (libc_fetestexceptl): New.
16757 (HAVE_RM_CTX): New.
16758 (libc_feholdexcept_setround_mips_ctx): New.
16759 (libc_feholdexcept_setround_ctx): New.
16760 (libc_feholdexcept_setroundf_ctx): New.
16761 (libc_feholdexcept_setroundl_ctx): New.
16762 (libc_fesetenv_mips_ctx): New.
16763 (libc_fesetenv_ctx): New.
16764 (libc_fesetenv_ctxf): New.
16765 (libc_fesetenv_ctxl): New.
16766 (libc_feupdateenv_mips_ctx): New.
16767 (libc_feupdateenv_ctx): New.
16768 (libc_feupdateenvf_ctx): New.
16769 (libc_feupdateenvl_ctx): New.
16770 (libc_feholdsetround_mips_ctx): New.
16771 (libc_feholdsetround_ctx): New.
16772 (libc_feholdsetroundf_ctx): New.
16773 (libc_feholdsetroundl_ctx): New.
16774 (libc_feresetround_mips_ctx): New.
16775 (libc_feresetround_ctx): New.
16776 (libc_feresetroundf_ctx): New.
16777 (libc_feresetroundl_ctx): New.
16778
085d0e35
CD
167792014-02-26 Carlos O'Donell <carlos@redhat.com>
16780
f067bf1f
CD
16781 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16782
085d0e35
CD
16783 * manual/ipc.texi: New file.
16784 * manual/Makefile (chapters): Add ipc.
16785 * manual/job.texi: Add "Inter-Process Communication" to next.
16786 * manual/process.texi: Add "Inter-Process Communication" to prev.
16787
86e58c08
AZ
167882014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16789
16790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16791
4248f0da
OB
167922014-02-26 Ondřej Bílka <neleai@seznam.cz>
16793
16794 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16795
cf822e3c
OB
16796 * manual/arith.texi: Fix spaces after sentences.
16797 * manual/charset.texi: Likewise.
16798 * manual/errno.texi: Likewise.
16799 * manual/install.texi: Likewise.
16800 * manual/llio.texi: Likewise.
16801 * manual/locale.texi: Likewise.
16802 * manual/maint.texi: Likewise.
16803 * manual/math.texi: Likewise.
16804 * manual/memory.texi: Likewise.
16805 * manual/message.texi: Likewise.
16806 * manual/probes.texi: Likewise.
16807 * manual/resource.texi: Likewise.
16808 * manual/signal.texi: Likewise.
16809 * manual/socket.texi: Likewise.
16810 * manual/stdio.texi: Likewise.
16811 * manual/string.texi: Likewise.
16812 * manual/time.texi: Likewise.
16813 * manual/users.texi: Likewise.
16814
ade40b10
CD
168152014-02-25 Carlos O'Donell <carlos@redhat.com>
16816
16817 [BZ #16632]
16818 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16819 _DEFAULT_SOURCE is defined.
16820
d0503676
CD
168212014-02-25 Ulrich Drepper <drepper@gmail.com>
16822 Carlos O'Donell <carlos@redhat.com>
16823
16824 [BZ #16613]
16825 * elf/dl-tls.c (_dl_count_modids): New function.
16826 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16827 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16828 audit library and increment generation counter.
16829 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16830 * elf/tst-audit9.c: New file.
16831 * elf/tst-auditmod9a.c: New file.
16832 * elf/tst-auditmod9b.c: New file.
16833 * elf/Makefile: Add rules to build and run tst-audit9.
16834
4cbf380c
FW
168352014-02-25 Florian Weimer <fweimer@redhat.com>
16836
16837 [BZ #15347]
16838 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16839
80a56cc3
WN
168402014-02-25 Will Newton <will.newton@linaro.org>
16841
16842 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16843 (__longjmp): Restore sp and lr before restoring callee
16844 saved registers. Add longjmp and longjmp_target
16845 SystemTap probe point.
16846 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16847 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16848 Define to zero to match jmpbuf layout.
16849 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16850 (__sigsetjmp): Save sp and lr before saving callee
16851 saved registers. Add setjmp SystemTap probe point.
16852
3ea0f74e
SL
168532014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16854
16855 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16856
b04acb26
AS
168572014-02-24 Andreas Schwab <schwab@suse.de>
16858
16859 [BZ #15804]
16860 * elf/pldd.c (wait_for_ptrace_stop): New function.
16861 (main): Call it after attaching.
16862
098ad55c
RM
168632014-02-22 Roland McGrath <roland@hack.frob.com>
16864
d4ec6ae1
RM
16865 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16866 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16867 Versions files is now verboten.
16868 * hurd/Versions (libc: GLIBC_2.0):
16869 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16870 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16871 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16872 * mach/Versions: Likewise.
16873
098ad55c
RM
16874 * csu/Versions: Remove unused %include.
16875 * resolv/Versions: Likewise.
16876
acd7f096
JM
168772014-02-21 Joseph Myers <joseph@codesourcery.com>
16878
f0881698
JM
16879 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16880 ($(objpfx)check-local-headers.out): Likewise.
16881 ($(objpfx)begin-end-check.out): Likewise.
16882 * Makerules (check-abi-%.out): Likewise.
16883 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16884 ($(objpfx)test2.cat): Likewise.
16885 ($(objpfx)de/libc.cat): Likewise.
16886 ($(objpfx)test-gencat.out): Likewise.
16887 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16888 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16889 ($(objpfx)noload-mem): Likewise.
16890 ($(objpfx)tst-pathopt.out): Likewise.
16891 ($(objpfx)tst-rtld-load-self.out): Likewise.
16892 ($(objpfx)tst-array1-cmp.out): Likewise.
16893 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16894 ($(objpfx)tst-array2-cmp.out): Likewise.
16895 ($(objpfx)tst-array3-cmp.out): Likewise.
16896 ($(objpfx)tst-array4-cmp.out): Likewise.
16897 ($(objpfx)tst-array5-cmp.out): Likewise.
16898 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16899 ($(objpfx)check-textrel.out): Likewise.
16900 ($(objpfx)check-execstack.out): Likewise.
16901 ($(objpfx)check-localplt.out): Likewise.
16902 ($(objpfx)order2-cmp.out): Likewise.
16903 ($(objpfx)tst-leaks1-mem): Likewise.
16904 ($(objpfx)tst-leaks1-static-mem): Likewise.
16905 ($(objpfx)tst-initorder-cmp.out): Likewise.
16906 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16907 ($(objpfx)tst-unused-dep.out): Likewise.
16908 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16909 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16910 * iconv/Makefile (test-iconvconfig): Likewise.
16911 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16912 ($(objpfx)iconv-test.out): Likewise.
16913 ($(objpfx)tst-tables.out): Likewise.
16914 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16915 ($(objpfx)tst-gettext.out): Likewise.
16916 ($(objpfx)tst-translit.out): Likewise.
16917 ($(objpfx)tst-gettext2.out): Likewise.
16918 ($(objpfx)tst-gettext4.out): Likewise.
16919 ($(objpfx)tst-gettext6.out): Likewise.
16920 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16921 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16922 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16923 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16924 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16925 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16926 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16927 ($(objpfx)wordexp-tst.out): Likewise.
16928 ($(objpfx)annexc.out): Likewise.
16929 ($(objpfx)tst-fnmatch-mem): Likewise.
16930 ($(objpfx)bug-regex2-mem): Likewise.
16931 ($(objpfx)bug-regex14-mem): Likewise.
16932 ($(objpfx)bug-regex21-mem): Likewise.
16933 ($(objpfx)bug-regex31-mem): Likewise.
16934 ($(objpfx)tst-vfork3-mem): Likewise.
16935 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16936 ($(objpfx)tst-pcre-mem): Likewise.
16937 ($(objpfx)tst-boost-mem): Likewise.
16938 ($(objpfx)tst-getconf.out): Likewise.
16939 ($(objpfx)bug-ga2-mem): Likewise.
16940 ($(objpfx)bug-glob2-mem): Likewise.
16941 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16942 ($(objpfx)mtrace-tst-leaks2): Likewise.
16943 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16944 ($(objpfx)tst-printf.out): Likewise.
16945 ($(objpfx)tst-setvbuf1.out): Likewise.
16946 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16947 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16948 ($(objpfx)tst-fmtmsg.out): Likewise.
16949 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16951
acd7f096
JM
16952 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16953 * bits/sigaction.h [__USE_MISC]: Likewise.
16954 * bits/waitstatus.h: Update #endif comments.
16955 * ctype/ctype.h: Likewise.
16956 * dirent/dirent.h: Likewise.
16957 [__USE_MISC]: Remove redundant conditionals.
16958 * grp/grp.h: Update #endif comments.
16959 [__USE_GNU]: Remove redundant conditionals.
16960 [__USE_MISC]: Likewise.
16961 * inet/netinet/in.h [__USE_GNU]: Likewise.
16962 * io/sys/stat.h [__USE_MISC]: Likewise.
16963 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16964 * libio/bits/stdio.h: Update #endif comments.
16965 [__USE_MISC]: Remove redundant conditionals.
16966 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16967 * libio/stdio.h: Update #endif comments.
16968 [__USE_MISC]: Remove redundant conditionals.
16969 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16970 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16971 * math/math.h: Update #else and #endif comments.
16972 [__USE_MISC]: Remove redundant conditionals.
16973 * misc/sys/uio.h: Update #endif comments.
16974 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16975 * posix/glob.h [__USE_MISC]: Likewise.
16976 * posix/sys/types.h: Update #endif comments.
16977 [__USE_MISC]: Remove redundant conditionals.
16978 * posix/sys/wait.h: Update #endif comments.
16979 [__USE_MISC]: Remove redundant conditionals.
16980 * posix/unistd.h: Update #endif comments.
16981 [__USE_MISC]: Remove redundant conditionals.
16982 * pwd/pwd.h [__USE_GNU]: Likewise.
16983 [__USE_MISC]: Likewise.
16984 * resolv/netdb.h [__USE_GNU]: Likewise.
16985 * signal/signal.h: Update #endif comments.
16986 [__USE_MISC]: Remove redundant conditionals.
16987 * stdlib/stdlib.h: Update #else and #endif comments.
16988 [__USE_MISC]: Remove redundant conditionals.
16989 [__USE_GNU]: Likewise.
16990 * string/bits/string2.h [__USE_MISC]: Likewise.
16991 * string/string.h: Update #endif comments.
16992 [__USE_MISC]: Remove redundant conditionals.
16993 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16994 Likewise.
16995 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16996 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16997 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17000 Likewise.
17001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17002 comments.
17003 [__USE_MISC]: Remove redundant conditionals.
17004 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17005 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17006 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17007 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17008 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17009 Likewise.
17010 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17011 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17012 Likewise.
17013 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17014 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17015 Likewise.
17016 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17019 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17020 Likewise.
17021 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17022 Likewise.
17023 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17024 * sysdeps/x86/bits/string.h: Update #endif comments.
17025 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17026 conditionals.
17027 * time/sys/time.h: Update #endif comments.
17028 * time/time.h: Likewise.
17029 [__USE_MISC]: Remove redundant conditionals.
17030
a5d82e4e
YG
170312014-02-21 Yury Gribov <y.gribov@samsung.com>
17032
17033 [BZ #16600]
17034 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17035
9a80491d
AS
170362014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17037
17038 * Versions.def (librt): Add GLIBC_2.17.
17039
105fa381
AC
170402014-02-21 Adam Conrad <adconrad@0c3.net>
17041
17042 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17043 synonym for _SYS_AUXV_H to allow direct inclusion.
17044 * sysdeps/sparc/bits/hwcap.h: Likewise.
17045 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17046 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17047 * sysdeps/sparc/sysdep.h: Likewise.
17048
b8cd1c4e
SP
170492014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17050
17051 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17052
bd939d23
RS
170532014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17054
17055 * benchtests/bench-strrchr.c: Print length instead of position.
17056
5d7b57ca
JM
170572014-02-20 Joseph Myers <joseph@codesourcery.com>
17058
bc688c10
JM
17059 [BZ #16611]
17060 * sysdeps/unix/sysv/linux/kernel-features.h
17061 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17062 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17063 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17064 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17065 Likewise.
17066 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17067 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17068 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17069 (__ASSUME_SENDMMSG): Define instead of using previous
17070 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17071 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17072 (__ASSUME_SENDMMSG_SYSCALL): Define.
17073 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17074 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17075 Likewise.
17076 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17077 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17078 Likewise.
17079 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17080 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17081 Likewise.
17082 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17083 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17084 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17085 [__ASSUME_SENDMMSG]: Change conditionals to
17086 [__ASSUME_SENDMMSG_SOCKETCALL].
17087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17088 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17089 Define.
17090 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17091 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17092 Likewise.
17093 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17094 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17095 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17096 [!__ASSUME_SENDMMSG]: Change conditional to
17097 [!__ASSUME_SENDMMSG_SOCKETCALL].
17098 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17099 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17100 Define.
17101
0e31b18c
JM
17102 [BZ #16610]
17103 * sysdeps/unix/sysv/linux/kernel-features.h
17104 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17105 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17106 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17107 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17108 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17109 [__i386__ || __sparc__]
17110 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17111 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17112 (__ASSUME_RECVMMSG): Define instead of using previous
17113 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17114 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17115 (__ASSUME_RECVMMSG_SYSCALL): Define.
17116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17117 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17118 Likewise.
17119 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17120 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17121 Likewise.
17122 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17123 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17124 Likewise.
17125 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17126 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17127 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17128 [__ASSUME_RECVMMSG]: Change condition to
17129 [__ASSUME_RECVMMSG_SOCKETCALL].
17130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17132 Define.
17133 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17134 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17135 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17136 Likewise.
17137 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17138 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17139 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17140 [!__ASSUME_RECVMMSG]: Change condition to
17141 [!__ASSUME_RECVMMSG_SOCKETCALL].
17142 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17143 (__ASSUME_RECVMMSG_SYSCALL): Define.
17144
dd481ccf
JM
17145 [BZ #16609]
17146 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17147 __powerpc__ || __s390__ || __sh__ || __sparc__]
17148 (__ASSUME_SOCKETCALL): Define.
17149 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17150 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17151 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17152 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17153 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17154 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17155 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17156 (__ASSUME_ACCEPT4): Define instead of using previous
17157 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17158 __powerpc__ || __sparc__ || __s390__)] condition.
17159 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17160 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17161 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17162 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17163 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17164 [!__ASSUME_ACCEPT4]: Change condition to
17165 [!__ASSUME_ACCEPT4_SOCKETCALL].
17166 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17167 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17168 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17169 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17170 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17171 __ASSUME_ACCEPT4_SYSCALL.
17172 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17173 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17174 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17175 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17176 __ASSUME_ACCEPT4_SYSCALL.
17177 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17178 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17179 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17180 [__ASSUME_ACCEPT4]: Change condition to
17181 [__ASSUME_ACCEPT4_SOCKETCALL].
17182 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17183 (__ASSUME_SOCKETCALL): Define.
17184 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17185 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17186 (__ASSUME_SOCKETCALL): Define.
17187 (__ASSUME_ACCEPT4): Remove.
17188 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17189 Define.
17190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17191 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17194 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17195
5d7b57ca
JM
17196 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17197 macro.
17198 (HWCAP_ARM_LPAE): Likewise.
17199 (HWCAP_ARM_EVTSTRM): Likewise.
17200 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17201 Add vpfd32, lpae and evtstrm.
17202 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17203 Increase to 22.
17204
63689d61
JM
172052014-02-19 Joseph Myers <joseph@codesourcery.com>
17206
17207 * math/auto-libm-test-in: Add tests of clog10.
17208 * math/auto-libm-test-out: Regenerated.
17209 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17210 * sysdeps/i386/fpu/libm-test-ulps: Update.
17211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212
ab09bf61
AS
172132014-02-18 Andreas Schwab <schwab@suse.de>
17214
17215 [BZ #16574]
17216 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17217 Store non-zero if the second buffer was newly allocated.
17218 (send_dg): Likewise.
17219 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17220 to send_vc and send_dg.
17221 (res_nsend): Pass NULL for ansp2_malloced.
17222 * resolv/res_query.c (__libc_res_nquery): Add parameter
17223 answerp2_malloced and pass it down to __libc_res_nsend.
17224 (res_nquery): Pass additional NULL to __libc_res_nquery.
17225 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17226 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17227 second answer buffer if answerp2_malloced was set.
17228 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17229 (__libc_res_nquerydomain): Add parameter
17230 answerp2_malloced and pass it down to __libc_res_nquery.
17231 (res_nquerydomain): Pass additional NULL to
17232 __libc_res_nquerydomain.
17233 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17234 additional NULL to __libc_res_nsend and __libc_res_nquery.
17235 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17236 additional NULL to __libc_res_nsearch.
17237 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17238 parameter of __libc_res_nsearch to check for separately allocated
17239 second buffer.
17240 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17241 __libc_res_nquery.
17242 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17243 additional NULL to __libc_res_nquery.
17244 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17245 __libc_res_nsearch.
17246 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17247 * include/resolv.h: Update prototypes of __libc_res_nquery,
17248 __libc_res_nsearch, __libc_res_nsend.
17249
a4fb7861
JM
172502014-02-18 Joseph Myers <joseph@codesourcery.com>
17251
c6af2d89
JM
17252 * math/auto-libm-test-in: Add tests of fma.
17253 * math/auto-libm-test-out: Regenerated.
17254 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17255 (fma_towardzero_test_data): Likewise.
17256 (fma_downward_test_data): Likewise.
17257 (fma_upward_test_data): Likewise.
17258 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17259 mpc_mode.
17260 (rounding_modes): Add values for new field.
17261 (func_calc_method): Add value mpfr_fff_f.
17262 (func_calc_desc): Add mpfr_fff_f union field.
17263 (test_function): Add field exact_args.
17264 (FUNC): Add macro argument EXACT_ARGS.
17265 (FUNC_mpfr_f_f): Update call to FUNC.
17266 (FUNC_mpfr_f_f): Likewise.
17267 (FUNC_mpfr_ff_f): Likewise.
17268 (FUNC_mpfr_if_f): Likewise.
17269 (FUNC_mpc_c_f): Likewise.
17270 (FUNC_mpc_c_c): Likewise.
17271 (test_functions): Add fma. Update calls to FUNC.
17272 (handle_input_arg): Add argument exact_args.
17273 (add_test): Update call to handle_input_arg.
17274 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17275 (output_for_one_input_case): Update call to calc_generic_results.
17276 Recalculate exact zero results in each rounding mode.
17277
a4fb7861
JM
17278 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17279 non-negative before setting low bit.
17280 * math/auto-libm-test-in: Mark one asin test possibly having
17281 spurious underflow.
17282 * math/auto-libm-test-out: Regenerated.
17283 * sysdeps/i386/fpu/libm-test-ulps: Update.
17284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17285
ef114eaf
DH
172862014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17287
2b7f4f2c
SP
17288 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17289 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17290 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17291 * README: Add missing listing for microblaze*-*-linux-gnu.
17292
8125aedc
AM
172932014-02-16 Ondřej Bílka <neleai@seznam.cz>
17294
17295 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17296 duplicate code
17297
c70a4b1d
MF
172982014-02-16 Mike Frysinger <vapier@gentoo.org>
17299
17300 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17301 * sysdeps/unix/sysv/linux/ia64: Move directory from
17302 ports/sysdeps/unix/sysv/linux/ia64.
17303 * README: Update listing for ia64-*-linux-gnu.
17304
591aeaf7
TD
173052014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17306 Joseph Myers <joseph@codesourcery.com>
17307
17308 * Makeconfig (test-name): New variable.
17309 (evaluate-test): Likewise.
17310 * Makerules (do-test-clean): Remove .test-result files.
17311 (common-mostlyclean): Likewise.
17312 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17313 * scripts/evaluate-test.sh: New file.
17314
6e89caf1
JM
173152014-02-14 Joseph Myers <joseph@codesourcery.com>
17316
7f98f180
JM
17317 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17318 separate $(objpfx)tst-fopenloc-cmp.out and
17319 $(objpfx)tst-fopenloc-mem.out targets.
17320 (tests): Update dependencies.
17321 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17322 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17323 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17324 (tst-rxspencer-no-utf8-ARGS): New variable.
17325 (tst-rxspencer-no-utf8-ENV): Likewise.
17326 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17327 instead of $(objpfx)tst-rxspencer-mem.
17328 ($(objpfx)tst-rxspencer-mem): Change target to
17329 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17330 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17331 * posix/tst-rxspencer-no-utf8.c: New file.
17332
6e89caf1
JM
17333 * elf/Makefile ($(objpfx)order.out): Remove rule.
17334 [$(run-built-tests) = yes] (tests): Depend on
17335 $(objpfx)order-cmp.out.
17336 ($(objpfx)order-cmp.out): New rule.
17337 [$(run-built-tests) = yes] (tests): Depend on
17338 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17339 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17340 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17341 $(objpfx)tst-array5-static-cmp.out.
17342 ($(objpfx)tst-array1.out): Remove rule.
17343 ($(objpfx)tst-array1-cmp.out): New rule.
17344 ($(objpfx)tst-array1-static.out): Remove rule.
17345 ($(objpfx)tst-array1-static-cmp.out): New rule.
17346 ($(objpfx)tst-array2.out): Remove rule.
17347 ($(objpfx)tst-array2-cmp.out): New rule.
17348 ($(objpfx)tst-array3.out): Remove rule.
17349 ($(objpfx)tst-array3-cmp.out): New rule.
17350 ($(objpfx)tst-array4.out): Remove rule.
17351 ($(objpfx)tst-array4-cmp.out): New rule.
17352 ($(objpfx)tst-array5.out): Remove rule.
17353 ($(objpfx)tst-array5-cmp.out): New rule.
17354 ($(objpfx)tst-array5-static.out): Remove rule.
17355 ($(objpfx)tst-array5-static-cmp.out): New rule.
17356 [$(run-built-tests) = yes] (tests): Depend on
17357 $(objpfx)order2-cmp.out.
17358 ($(objpfx)order2.out): Remove rule.
17359 ($(objpfx)order2-cmp.out): New rule.
17360 ($(objpfx)tst-initorder.out): Remove rule.
17361 [$(run-built-tests) = yes] (tests): Depend on
17362 $(objpfx)tst-initorder-cmp.out.
17363 ($(objpfx)tst-initorder-cmp.out): New rule.
17364 ($(objpfx)tst-initorder2.out): Remove rule.
17365 [$(run-built-tests) = yes] (tests): Depend on
17366 $(objpfx)tst-initorder2-cmp.out.
17367 ($(objpfx)tst-initorder2-cmp.out): New rule.
17368 [$(run-built-tests) = yes] (tests): Depend on
17369 $(objpfx)tst-unused-dep-cmp.out.
17370 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17371 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17372 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17373 on $(objpfx)tst-setvbuf1-cmp.out.
17374 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17375 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17376 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17377 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17378 ($(objpfx)tst-svc.out): Remove rule.
17379 ($(objpfx)tst-svc-cmp.out): New rule.
17380
ed9a38e2
JM
173812014-02-13 Joseph Myers <joseph@codesourcery.com>
17382
17383 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17384 * ctype/ctype.h [__USE_MISC]: Likewise.
17385 * dirent/dirent.h [__USE_MISC]: Likewise.
17386 * grp/grp.h [__USE_MISC]: Likewise.
17387 * io/fcntl.h [__USE_MISC]: Likewise.
17388 * io/sys/stat.h [__USE_MISC]: Likewise.
17389 * libio/stdio.h [__USE_MISC]: Likewise.
17390 * posix/unistd.h [__USE_MISC]: Likewise.
17391 * pwd/pwd.h [__USE_MISC]: Likewise.
17392 * stdlib.h [__USE_MISC]: Likewise.
17393 * string/bits/string2.h [__USE_MISC]: Likewise.
17394 * string/string.h [__USE_MISC]: Likewise.
17395 * time/time.h [__USE_MISC]: Likewise.
17396
d6680619
AS
173972014-02-13 Andreas Schwab <schwab@suse.de>
17398
17399 [BZ #16574]
17400 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17401 second answer buffer if it was separately allocated.
17402
ace614b8
JM
174032014-02-12 Joseph Myers <joseph@codesourcery.com>
17404
743151ae
JM
17405 * sysdeps/mips/math-tests.h: Include <features.h>.
17406 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17407 (ROUNDING_TESTS_long_double): Do not define.
17408 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17409 (EXCEPTION_TESTS_long_double): Likewise.
17410 * sysdeps/mips/mips64/libm-test-ulps: Update.
17411
498afc54
JM
17412 * include/features.h (__USE_BSD): Remove macro definitions.
17413 (__USE_SVID): Likewise.
17414 (_BSD_SOURCE): Likewise.
17415 (_SVID_SOURCE): Likewise.
17416 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17417 from definition of _DEFAULT_SOURCE.
17418 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17419 [_DEFAULT_SOURCE].
17420 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17421 * bits/mman.h [__USE_BSD]: Likewise.
17422 * bits/termios.h [__USE_BSD]: Likewise.
17423 * bits/waitstatus.h [__USE_BSD]: Likewise.
17424 * ctype/ctype.h [__USE_SVID]: Likewise.
17425 * dirent/dirent.h [__USE_BSD]: Likewise.
17426 * grp/grp.h [__USE_SVID]: Likewise.
17427 [__USE_BSD]: Likewise.
17428 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17429 * io/fcntl.h [__USE_BSD]: Likewise.
17430 * io/ftw.h [__USE_BSD]: Likewise.
17431 * io/sys/stat.h [__USE_BSD]: Likewise.
17432 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17433 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17434 * libio/stdio.h [__USE_SVID]: Likewise.
17435 [__USE_BSD]: Likewise.
17436 * math/math.h [__USE_SVID]: Likewise.
17437 [__USE_BSD]: Likewise.
17438 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17439 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17440 * misc/search.h [__USE_SVID]: Likewise.
17441 * misc/sys/mman.h [__USE_BSD]: Likewise.
17442 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17443 * misc/sys/uio.h [__USE_BSD]: Likewise.
17444 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17445 * posix/glob.h [__USE_BSD]: Likewise.
17446 * posix/regex.h [__USE_BSD]: Likewise.
17447 * posix/sys/types.h [__USE_BSD]: Likewise.
17448 [__USE_SVID]: Likewise.
17449 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17450 * posix/sys/wait.h [__USE_BSD]: Likewise.
17451 [__USE_SVID]: Likewise.
17452 * posix/unistd.h [__USE_BSD]: Likewise.
17453 [__USE_SVID]: Likewise.
17454 * pwd/pwd.h [__USE_SVID]: Likewise.
17455 * resolv/netdb.h [__USE_BSD]: Likewise.
17456 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17457 * signal/signal.h [__USE_BSD]: Likewise.
17458 [__USE_SVID]: Likewise.
17459 * socket/sys/socket.h [__USE_BSD]: Likewise.
17460 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17461 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17462 [__USE_SVID]: Likewise.
17463 * string/bits/string2.h [__USE_BSD]: Likewise.
17464 [__USE_SVID]: Likewise.
17465 * string/bits/string3.h [__USE_BSD]: Likewise.
17466 * string/endian.h [__USE_BSD]: Likewise.
17467 * string/string.h [__USE_SVID]: Likewise.
17468 [__USE_BSD]: Likewise.
17469 * string/strings.h [__USE_BSD]: Likewise.
17470 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17471 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17472 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17473 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17474 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17475 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17476 Likewise.
17477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17478 Likewise.
17479 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17480 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17481 Likewise.
17482 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17483 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17484 Likewise.
17485 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17486 Likewise.
17487 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17488 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17490 Likewise.
17491 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17492 Likewise.
17493 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17494 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17495 * termios/termios.h [__USE_BSD]: Likewise.
17496 * time/sys/time.h [__USE_BSD]: Likewise.
17497 * time/time.h [__USE_BSD]: Likewise.
17498 [__USE_SVID]: Likewise.
17499
dd7b064c
JM
17500 * Makefile (subdir_targets): Remove subdir_lint.out.
17501
a2c4c199
JM
17502 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17503 (do-tst-printf): Likewise.
17504 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17505 $(objpfx)tst-printf.out.
17506
8756f740
JM
17507 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17508
1b6dd3f1
JM
17509 * Makerules (check-abi-%): Change target to
17510 $(objpfx)check-abi-%.out.
17511 (check-abi target): Update dependencies.
17512 (check-abi-pattern variable): Redirect output of diff to $@.
17513 (check-abi variable): Likewise.
17514 * elf/Makefile (check-abi): Update dependencies.
17515
ace614b8
JM
17516 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17517 unused.
17518 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17519 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17520 subnormal range.
17521 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17522 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17523 value has largest subnormal exponent.
17524 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17525 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17526 * sysdeps/aarch64/soft-fp/sfp-machine.h
17527 (_FP_TININESS_AFTER_ROUNDING): New macro.
17528 * sysdeps/alpha/soft-fp/sfp-machine.h
17529 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17530 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17531 Likewise.
17532 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17533 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17534 * sysdeps/mips/soft-fp/sfp-machine.h
17535 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17536 * sysdeps/powerpc/soft-fp/sfp-machine.h
17537 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17538 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17539 Likewise.
17540 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17541 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17542 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17543 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17544 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17545 Likewise.
17546
fbfdf9cb
DAS
175472014-02-12 Dylan Alex Simon <dylan@dylex.net>
17548
17549 [BZ #16545]
17550 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17551 model 1.
17552
68b7efaa
RH
175532014-02-12 Richard Henderson <rth@redhat.com>
17554
c70a4b1d 17555 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17556 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17557 * sysdeps/unix/sysv/linux/alpha: Move directory from
17558 ports/sysdeps/unix/sysv/linux/alpha.
17559 * README: Update listing for alpha-*-linux-gnu.
17560
cb4a2928
JM
175612014-02-11 Joseph Myers <joseph@codesourcery.com>
17562
c941736c
JM
17563 * include/features.h: Update comment documenting feature test
17564 macros.
17565 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17566 _DEFAULT_SOURCE.
17567 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17568 (_SVID_SOURCE): Likewise.
17569 (_DEFAULT_SOURCE): Update description of default features.
17570 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17571 with _GNU_SOURCE.
17572 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17573 (S_ISVTX): Likewise.
17574 * manual/math.texi (Mathematical Constants): Likewise.
17575 * manual/signal.texi (Interrupted Primitives): Likewise.
17576 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17577 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17578 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17579 Don't refer to _SVID_SOURCE in warning text.
17580
e8d8d7ec
JM
17581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17582
cb4a2928
JM
17583 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17584 already defined.
17585 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17586 * sysdeps/mips/dl-lookup.c: Remove.
17587 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17588
7e6424e3
AK
175892014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17590
17591 [BZ #16447]
17592 * math/auto-libm-test-in: Add testcase for expl.
17593 * math/auto-libm-test-out: Regenerate.
17594 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17595 calculation of unsafe.
17596 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17597
75eff3fe
MS
175982014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17599
17600 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17601 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17602 ports/sysdeps/unix/sysv/linux/aarch64.
17603 * README: Update listing for aarch64*-*-linux-gnu.
17604
d35f1e80
WN
176052014-02-11 Will Newton <will.newton@linaro.org>
17606
17607 * manual/probes.texi (Mathematical Function Probes): Use
17608 "triggered" instead of "hit".
17609
7b3436d4
WN
17610 * manual/probes.texi (Internal Probes): Add documentation
17611 of setjmp, longjmp and longjmp_target probes.
17612
b4f12ca3
WN
17613 * include/stap-probe.h: Add comment about probe argument
17614 format.
17615
c13a72b7
WN
17616 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17617 definition. (tr_where, tr_freehook, tr_mallochook,
17618 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17619
195b8165
DM
176202014-02-11 David S. Miller <davem@davemloft.net>
17621
17622 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17623 processing int_tests.
17624
2ad7600b
JM
176252014-02-10 Joseph Myers <joseph@codesourcery.com>
17626
17627 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17628 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17629 * sysdeps/unix/sysv/linux/mips: Move directory from
17630 ports/sysdeps/unix/sysv/linux/mips.
17631 * README: Update listing for mips-*-linux-gnu and
17632 mips64-*-linux-gnu.
17633
73588a72
AS
176342014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17635
17636 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17637 * sysdeps/unix/sysv/linux/m68k: Move directory from
17638 ports/sysdeps/unix/sysv/linux/m68k.
17639 * README: Update listing for m68k-*-linux-gnu.
17640
4372980f
CM
176412014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17642
17643 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17644 * sysdeps/unix/sysv/linux/generic: Move directory from
17645 ports/sysdeps/unix/sysv/linux/generic.
17646 * sysdeps/unix/sysv/linux/tile: Move directory from
17647 ports/sysdeps/unix/sysv/linux/tile.
17648 * README: Update listing for tile*-*-linux-gnu.
17649
a1ffb40e
OB
176502014-02-10 Ondřej Bílka <neleai@seznam.cz>
17651
57f41c40
AS
17652 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17653 __builtin_expect.
a1ffb40e
OB
17654 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17655 * catgets/open_catalog.c (__open_catalog): Likewise.
17656 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17657 * debug/confstr_chk.c: Likewise.
17658 * debug/fread_chk.c (__fread_chk): Likewise.
17659 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17660 * debug/getgroups_chk.c: Likewise.
17661 * debug/mbsnrtowcs_chk.c: Likewise.
17662 * debug/mbsrtowcs_chk.c: Likewise.
17663 * debug/mbstowcs_chk.c: Likewise.
17664 * debug/memcpy_chk.c: Likewise.
17665 * debug/memmove_chk.c: Likewise.
17666 * debug/mempcpy_chk.c: Likewise.
17667 * debug/memset_chk.c: Likewise.
17668 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17669 * debug/strcat_chk.c (__strcat_chk): Likewise.
17670 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17671 * debug/strncat_chk.c (__strncat_chk): Likewise.
17672 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17673 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17674 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17675 * debug/wcpncpy_chk.c: Likewise.
17676 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17677 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17678 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17679 * debug/wcsncpy_chk.c: Likewise.
17680 * debug/wcsnrtombs_chk.c: Likewise.
17681 * debug/wcsrtombs_chk.c: Likewise.
17682 * debug/wcstombs_chk.c: Likewise.
17683 * debug/wmemcpy_chk.c: Likewise.
17684 * debug/wmemmove_chk.c: Likewise.
17685 * debug/wmempcpy_chk.c: Likewise.
17686 * debug/wmemset_chk.c: Likewise.
17687 * dirent/scandirat.c (SCANDIRAT): Likewise.
17688 * dlfcn/dladdr1.c (dladdr1): Likewise.
17689 * dlfcn/dladdr.c (dladdr): Likewise.
17690 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17691 * dlfcn/dlerror.c (__dlerror): Likewise.
17692 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17693 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17694 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17695 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17696 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17697 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17698 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17699 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17700 Likewise.
17701 * elf/dl-conflict.c: Likewise.
17702 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17703 * elf/dl-dst.h: Likewise.
17704 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17705 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17706 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17707 * elf/dl-init.c (call_init, _dl_init): Likewise.
17708 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17709 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17710 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17711 Likewise.
a1ffb40e
OB
17712 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17713 Likewise.
17714 * elf/dl-minimal.c (__libc_memalign): Likewise.
17715 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17716 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17717 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17718 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17719 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17720 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17721 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17722 * elf/dl-writev.h (_dl_writev): Likewise.
17723 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17724 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17725 (dl_main): Likewise.
a1ffb40e
OB
17726 * elf/setup-vdso.h (setup_vdso): Likewise.
17727 * grp/compat-initgroups.c (compat_call): Likewise.
17728 * grp/fgetgrent.c (fgetgrent): Likewise.
17729 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17730 * grp/putgrent.c (putgrent): Likewise.
17731 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17732 Likewise.
17733 * hurd/hurdinit.c: Likewise.
17734 * iconvdata/8bit-gap.c (struct): Likewise.
17735 * iconvdata/ansi_x3.110.c : Likewise.
17736 * iconvdata/big5.c : Likewise.
17737 * iconvdata/big5hkscs.c : Likewise.
17738 * iconvdata/cp1255.c: Likewise.
17739 * iconvdata/cp1258.c : Likewise.
17740 * iconvdata/cp932.c : Likewise.
17741 * iconvdata/euc-cn.c: Likewise.
17742 * iconvdata/euc-jisx0213.c : Likewise.
17743 * iconvdata/euc-jp.c: Likewise.
17744 * iconvdata/euc-jp-ms.c : Likewise.
17745 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17746 * iconvdata/gb18030.c : Likewise.
17747 * iconvdata/gbbig5.c (const): Likewise.
17748 * iconvdata/gbgbk.c: Likewise.
17749 * iconvdata/gbk.c : Likewise.
17750 * iconvdata/ibm1364.c : Likewise.
17751 * iconvdata/ibm930.c : Likewise.
17752 * iconvdata/ibm932.c: Likewise.
17753 * iconvdata/ibm933.c : Likewise.
17754 * iconvdata/ibm935.c : Likewise.
17755 * iconvdata/ibm937.c : Likewise.
17756 * iconvdata/ibm939.c : Likewise.
17757 * iconvdata/ibm943.c: Likewise.
17758 * iconvdata/iso_11548-1.c: Likewise.
17759 * iconvdata/iso-2022-cn.c : Likewise.
17760 * iconvdata/iso-2022-cn-ext.c : Likewise.
17761 * iconvdata/iso-2022-jp-3.c: Likewise.
17762 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17763 * iconvdata/iso-2022-kr.c : Likewise.
17764 * iconvdata/iso646.c (gconv_end): Likewise.
17765 * iconvdata/iso_6937-2.c : Likewise.
17766 * iconvdata/iso_6937.c : Likewise.
17767 * iconvdata/iso8859-1.c: Likewise.
17768 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17769 * iconvdata/shift_jisx0213.c : Likewise.
17770 * iconvdata/sjis.c : Likewise.
17771 * iconvdata/t.61.c : Likewise.
17772 * iconvdata/tcvn5712-1.c : Likewise.
17773 * iconvdata/tscii.c: Likewise.
17774 * iconvdata/uhc.c : Likewise.
17775 * iconvdata/unicode.c (gconv_end): Likewise.
17776 * iconvdata/utf-16.c (gconv_end): Likewise.
17777 * iconvdata/utf-32.c (gconv_end): Likewise.
17778 * iconvdata/utf-7.c (base64): Likewise.
17779 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17780 * iconv/gconv_close.c (__gconv_close): Likewise.
17781 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17782 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17783 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17784 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17785 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17786 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17787 * iconv/iconv.c (iconv): Likewise.
17788 * iconv/iconv_close.c: Likewise.
17789 * iconv/loop.c (SINGLE): Likewise.
17790 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17791 * include/atomic.h: Likewise.
17792 * inet/inet6_option.c (option_alloc): Likewise.
17793 * intl/bindtextdom.c (set_binding_values): Likewise.
17794 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17795 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17796 * intl/localealias.c (read_alias_file): Likewise.
17797 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17798 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17799 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17800 * libio/fmemopen.c (fmemopen): Likewise.
17801 * libio/iofgets.c (_IO_fgets): Likewise.
17802 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17803 * libio/iofgetws.c (fgetws): Likewise.
17804 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17805 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17806 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17807 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17808 * locale/findlocale.c (_nl_find_locale): Likewise.
17809 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17810 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17811 Likewise.
17812 * locale/setlocale.c (setlocale): Likewise.
17813 * login/programs/pt_chown.c (main): Likewise.
17814 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17815 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17816 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17817 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17818 * math/e_exp2l.c: Likewise.
17819 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17820 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17821 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17822 * math/s_catan.c (__catan): Likewise.
17823 * math/s_catanf.c (__catanf): Likewise.
17824 * math/s_catanh.c (__catanh): Likewise.
17825 * math/s_catanhf.c (__catanhf): Likewise.
17826 * math/s_catanhl.c (__catanhl): Likewise.
17827 * math/s_catanl.c (__catanl): Likewise.
17828 * math/s_ccosh.c (__ccosh): Likewise.
17829 * math/s_ccoshf.c (__ccoshf): Likewise.
17830 * math/s_ccoshl.c (__ccoshl): Likewise.
17831 * math/s_cexp.c (__cexp): Likewise.
17832 * math/s_cexpf.c (__cexpf): Likewise.
17833 * math/s_cexpl.c (__cexpl): Likewise.
17834 * math/s_clog10.c (__clog10): Likewise.
17835 * math/s_clog10f.c (__clog10f): Likewise.
17836 * math/s_clog10l.c (__clog10l): Likewise.
17837 * math/s_clog.c (__clog): Likewise.
17838 * math/s_clogf.c (__clogf): Likewise.
17839 * math/s_clogl.c (__clogl): Likewise.
17840 * math/s_csin.c (__csin): Likewise.
17841 * math/s_csinf.c (__csinf): Likewise.
17842 * math/s_csinh.c (__csinh): Likewise.
17843 * math/s_csinhf.c (__csinhf): Likewise.
17844 * math/s_csinhl.c (__csinhl): Likewise.
17845 * math/s_csinl.c (__csinl): Likewise.
17846 * math/s_csqrt.c (__csqrt): Likewise.
17847 * math/s_csqrtf.c (__csqrtf): Likewise.
17848 * math/s_csqrtl.c (__csqrtl): Likewise.
17849 * math/s_ctan.c (__ctan): Likewise.
17850 * math/s_ctanf.c (__ctanf): Likewise.
17851 * math/s_ctanh.c (__ctanh): Likewise.
17852 * math/s_ctanhf.c (__ctanhf): Likewise.
17853 * math/s_ctanhl.c (__ctanhl): Likewise.
17854 * math/s_ctanl.c (__ctanl): Likewise.
17855 * math/w_pow.c: Likewise.
17856 * math/w_powf.c: Likewise.
17857 * math/w_powl.c: Likewise.
17858 * math/w_scalb.c (sysv_scalb): Likewise.
17859 * math/w_scalbf.c (sysv_scalbf): Likewise.
17860 * math/w_scalbl.c (sysv_scalbl): Likewise.
17861 * misc/error.c (error_tail): Likewise.
17862 * misc/pselect.c (__pselect): Likewise.
17863 * nis/nis_callback.c (__nis_create_callback): Likewise.
17864 * nis/nis_call.c (__nisfind_server): Likewise.
17865 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17866 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17867 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17868 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17869 * nis/nis_lookup.c (nis_lookup): Likewise.
17870 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17871 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17872 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17873 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17874 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17875 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17876 * nis/nss_compat/compat-initgroups.c (add_group)
17877 (internal_getgrent_r): Likewise.
17878 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17879 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17880 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17881 (internal_getspnam_r): Likewise.
17882 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17883 (_nss_nis_getaliasbyname_r): Likewise.
17884 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17885 (_nss_nis_getntohost_r): Likewise.
17886 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17887 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17888 (_nss_nis_getgrgid_r): Likewise.
17889 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17890 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17891 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17892 (_nss_nis_gethostbyname4_r): Likewise.
17893 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17894 (initgroups_netid): Likewise.
a1ffb40e 17895 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17896 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17897 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17898 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17899 (_nss_nis_getprotobynumber_r): Likewise.
17900 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17901 (_nss_nis_getsecretkey): Likewise.
17902 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17903 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17904 (_nss_nis_getpwuid_r): Likewise.
17905 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17906 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17907 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17908 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17909 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17910 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17911 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17912 Likewise.
57f41c40
AS
17913 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17914 (_nss_nisplus_getntohost_r): Likewise.
17915 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17916 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17917 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17918 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17919 Likewise.
57f41c40
AS
17920 * nis/nss_nisplus/nisplus-initgroups.c
17921 (_nss_nisplus_initgroups_dyn): Likewise.
17922 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17923 (_nss_nisplus_getnetbyaddr_r): Likewise.
17924 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17925 (_nss_nisplus_getprotobynumber_r): Likewise.
17926 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17927 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17928 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17929 Likewise.
57f41c40
AS
17930 * nis/nss_nisplus/nisplus-service.c
17931 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17932 (_nss_nisplus_getservbyport_r): Likewise.
17933 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17934 (_nss_nisplus_getspnam_r): Likewise.
17935 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17936 Likewise.
a1ffb40e
OB
17937 * nscd/aicache.c (addhstaiX): Likewise.
17938 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17939 * nscd/connections.c (register_traced_file, send_ro_fd)
17940 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17941 (main_loop_epoll): Likewise.
a1ffb40e
OB
17942 * nscd/grpcache.c (addgrbyX): Likewise.
17943 * nscd/hstcache.c (addhstbyX): Likewise.
17944 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17945 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17946 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17947 (addinnetgrX): Likewise.
17948 * nscd/nscd-client.h (__nscd_acquire_maplock)
17949 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17950 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17951 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17952 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17953 Likewise.
17954 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17955 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17956 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17957 (__nscd_get_map_ref): Likewise.
a1ffb40e 17958 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17959 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17960 Likewise.
a1ffb40e
OB
17961 * nscd/pwdcache.c (addpwbyX): Likewise.
17962 * nscd/selinux.c (preserve_capabilities): Likewise.
17963 * nscd/servicescache.c (addservbyX): Likewise.
17964 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17965 * posix/fnmatch.c (fnmatch): Likewise.
17966 * posix/getopt.c (_getopt_internal_r): Likewise.
17967 * posix/glob.c (glob, glob_in_dir): Likewise.
17968 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17969 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17970 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17971 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17972 * resolv/res_init.c: Likewise.
17973 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17974 * resolv/res_query.c (__libc_res_nquery): Likewise.
17975 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17976 Likewise.
17977 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17978 * stdio-common/perror.c (perror): Likewise.
17979 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17980 * stdio-common/tmpnam.c (tmpnam): Likewise.
17981 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17982 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17983 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17984 Likewise.
a1ffb40e
OB
17985 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17986 * stdlib/putenv.c (putenv): Likewise.
17987 * stdlib/setenv.c (__add_to_environ): Likewise.
17988 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17989 * stdlib/strtol_l.c (INTERNAL): Likewise.
17990 * string/memmem.c (memmem): Likewise.
17991 * string/strerror.c (strerror): Likewise.
17992 * string/strnlen.c (__strnlen): Likewise.
17993 * string/test-memmem.c (simple_memmem): Likewise.
17994 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17995 * sunrpc/pm_getport.c (__get_socket): Likewise.
17996 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17997 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17998 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17999 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18000 Likewise.
18001 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18002 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18003 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18004 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18005 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18006 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18007 Likewise.
18008 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18009 Likewise.
a1ffb40e
OB
18010 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18011 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18012 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18013 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18014 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18017 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18018 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18019 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18020 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18021 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18022 Likewise.
18023 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18024 Likewise.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18026 Likewise.
18027 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18030 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18031 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18032 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18033 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18037 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18039 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18043 Likewise.
a1ffb40e
OB
18044 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18045 Likewise.
18046 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18047 Likewise.
18048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18049 Likewise.
18050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18052 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18053 Likewise.
18054 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18055 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18056 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18057 * sysdeps/posix/sleep.c: Likewise.
18058 * sysdeps/posix/tempname.c: Likewise.
18059 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18060 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18061 Likewise.
57f41c40
AS
18062 * sysdeps/powerpc/powerpc32/dl-machine.h
18063 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18064 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18066 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18067 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18068 Likewise.
18069 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18071 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18073 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18074 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18075 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18076 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18077 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18078 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18080 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18081 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18083 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18084 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18085 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18086 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18087 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18088 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18089 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18090 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18092 Likewise.
18093 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18094 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18095 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18096 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18097 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18098 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18099 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18100 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18101 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18102 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18103 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18104 Likewise.
18105 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18106 (__posix_fallocate64_l64): Likewise.
18107 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18108 (posix_fallocate): Likewise.
57f41c40
AS
18109 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18110 Likewise.
a1ffb40e 18111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18112 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18113 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18114 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18115 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18116 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18117 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18118 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18119 (__posix_fallocate64_l64): Likewise.
18120 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18121 Likewise.
18122 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18123 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18124 (__get_clockfreq): Likewise.
a1ffb40e
OB
18125 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18126 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18127 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18128 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18130 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18131 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18132 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18133 Likewise.
18134 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18135 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18136 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18138 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18139 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18140 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18141 Likewise.
18142 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18143 (posix_fallocate): Likewise.
18144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18145 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18146 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18147 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18148 (elf_machine_rela, elf_machine_rela_relative)
18149 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18150 * time/asctime.c (asctime_internal): Likewise.
18151 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18152 * time/tzset.c (__tzset_parse_tz): Likewise.
18153 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18154 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18155 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18156 * wcsmbs/wcsmbsload.h: Likewise.
18157
f3d338c9
OB
18158 [BZ #15894]
18159 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18160
57f41c40
AS
18161 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18162 (arena_get2): Remove THREAD_STATS conditionals.
18163 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18164 (__malloc_stats, int): Likewise.
bdfe308a 18165
d674667c
MF
181662014-02-08 Mike Frysinger <vapier@gentoo.org>
18167
18168 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18169 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18170
6349768c
MF
18171 * manual/setjmp.texi: Fix typos/grammar errors.
18172
0b7c7473
MF
18173 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18174 Only return early when n is <= 0. Delete unused return statement.
18175
ac8cc9e3
MF
18176 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18177 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18178 * debug/tst-longjmp_chk3.c: New file.
18179
c5bb8e23
MF
18180 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18181 (test_main): Replace code with set_fortify_handler call.
18182 * debug/test-strcpy_chk.c: Likewise.
18183 * debug/tst-chk1.c: Likewise.
18184 * debug/tst-longjmp_chk.c: Likewise.
18185 * test-skeleton.c: Include fcntl.h & paths.h
18186 (set_fortify_handler): Define.
18187
10444e42
MF
18188 * debug/tst-longjmp_chk.c: Add header comment and include
18189 ../test-skeleton.c.
18190 (do_test): Mark static.
18191 (TEST_FUNCTION): Define.
18192
1e805e8d
MF
18193 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18194 (IP_PMTUDISC_INTERFACE): Likewise.
18195 (IP_MULTICAST_IF): Likewise.
18196 (IP_MULTICAST_TTL): Likewise.
18197 (IP_MULTICAST_LOOP): Likewise.
18198 (IP_ADD_MEMBERSHIP): Likewise.
18199 (IP_DROP_MEMBERSHIP): Likewise.
18200 (IP_UNBLOCK_SOURCE): Likewise.
18201 (IP_BLOCK_SOURCE): Likewise.
18202 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18203 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18204 (IP_MSFILTER): Likewise.
18205 (MCAST_JOIN_GROUP): Likewise.
18206 (MCAST_BLOCK_SOURCE): Likewise.
18207 (MCAST_UNBLOCK_SOURCE): Likewise.
18208 (MCAST_LEAVE_GROUP): Likewise.
18209 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18210 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18211 (MCAST_MSFILTER): Likewise.
18212 (IP_MULTICAST_ALL): Likewise.
18213 (IP_UNICAST_IF): Likewise.
18214
73f79bb7
MF
18215 * timezone/Makefile: Delete $(have-ksh) check.
18216 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18217 * timezone/tzselect.ksh: Add +x mode bits.
18218
8da79b60
MF
18219 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18220 (ANON_INODE_FS_MAGIC): Likewise.
18221 (BDEVFS_MAGIC): Likewise.
18222 (BINFMTFS_MAGIC): Likewise.
18223 (BTRFS_TEST_MAGIC): Likewise.
18224 (CRAMFS_MAGIC_WEND): Likewise.
18225 (DEBUGFS_MAGIC): Likewise.
18226 (ECRYPTFS_SUPER_MAGIC): Likewise.
18227 (EXT3_SUPER_MAGIC): Likewise.
18228 (EXT4_SUPER_MAGIC): Likewise.
18229 (FUTEXFS_SUPER_MAGIC): Likewise.
18230 (HOSTFS_SUPER_MAGIC): Likewise.
18231 (HUGETLBFS_MAGIC): Likewise.
18232 (MINIX3_SUPER_MAGIC): Likewise.
18233 (MTD_INODE_FS_MAGIC): Likewise.
18234 (NILFS_SUPER_MAGIC): Likewise.
18235 (OPENPROM_SUPER_MAGIC): Likewise.
18236 (PIPEFS_MAGIC): Likewise.
18237 (PSTOREFS_MAGIC): Likewise.
18238 (QNX6_SUPER_MAGIC): Likewise.
18239 (RAMFS_MAGIC): Likewise.
18240 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18241 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18242 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18243 (SECURITYFS_MAGIC): Likewise.
18244 (SELINUX_MAGIC): Likewise.
18245 (SMACK_MAGIC): Likewise.
18246 (SOCKFS_MAGIC): Likewise.
18247 (SQUASHFS_MAGIC): Likewise.
18248 (STACK_END_MAGIC): Likewise.
18249 (TMPFS_MAGIC): Likewise.
18250 (USBDEVICE_SUPER_MAGIC): Likewise.
18251 (V9FS_MAGIC): Likewise.
18252 (XENFS_SUPER_MAGIC): Likewise.
18253 (CRAMFS_MAGIC): Fix typo in comment.
18254 (EXT2_SUPER_MAGIC): Update comment.
18255 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18256
464263cc
JM
182572014-02-08 Joseph Myers <joseph@codesourcery.com>
18258
c6bfe5c4
JM
18259 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18260 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18261 * sysdeps/unix/sysv/linux/arm: Move directory from
18262 ports/sysdeps/unix/sysv/linux/arm.
18263 * README: Update listing for arm-*-linux-gnueabi.
18264
464263cc
JM
18265 * README: Remove mention of am33.
18266
32749f6c
RM
182672014-02-07 Roland McGrath <roland@hack.frob.com>
18268
18269 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18270 than the comma operator, to avoid "rhs of comma has no effect"
18271 compiler warnings.
18272 (__sigfillset, __sigandset, __sigorset): Likewise.
18273 * include/signal.h (__sigemptyset): Likewise.
18274 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18275
d5b396c1
AM
182762014-02-07 Allan McRae <allan@archlinux.org>
18277
18278 * version.h (RELEASE): Set to "development".
18279 (VERSION): Set to "2.19.90"
18280 * NEWS: Add 2.20 section.
18281
3bfff2ed
CD
182822014-02-06 Carlos O'Donell <carlos@redhat.com>
18283
18284 [BZ #16529]
18285 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18286
ee7cc385
SP
182872014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18288
18289 * manual/contrib.texi: Update entry for Carlos O'Donell,
18290 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18291
f877c4f2
CD
182922014-02-05 Carlos O'Donell <carlos@rehdat.com>
18293
27e839f6
CD
18294 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18295
f877c4f2
CD
18296 * sysdeps/unix/sysv/linux/kernel-features.h
18297 [__LINUX_KERNEL_VERSION >= 0x020621]
18298 (__ASSUME_PROC_PID_TASK_COMM): Define.
18299
68159946
SP
183002014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18301
ba17cdbd
SP
18302 [BZ #16398]
18303 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18304 conversion when destination buffer does not have enough space.
18305 * libio/tst-ftell-partial-wide.c: New test case.
18306 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18307
68159946
SP
18308 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18309 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18310 Leonard and Allan McRae.
18311
2b528732
DM
183122014-02-04 David S. Miller <davem@davemloft.net>
18313
18314 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18315 32-bit.
18316
0ff82463
AZ
183172014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18318
57f41c40
AS
18319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18320 New file
c01603f7
AZ
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18322 New file
57f41c40
AS
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18324 New file.
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18326 New file.
c01603f7
AZ
18327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18328 New file.
57f41c40
AS
18329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18330 New file.
18331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18332 New file.
c01603f7
AZ
18333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18334 New file.
18335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18336 New file.
18337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18338 New file.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18340 New file.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18342 New file.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18344 New file.
18345
183462014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18347
0ff82463
AZ
18348 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18349 * shlib-versions: Likewise.
18350
1695c773
AZ
183512014-02-04 Roland McGrath <roland@hack.frob.com>
18352 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353
18354 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18355 (abilist-pattern): New variable, set to %-le.abilist.
18356
18357 * Makerules (abilist-pattern): New variable.
18358 (vpath): Use $(abilist-pattern) in place of %.abilist.
18359 (check-abi-% pattern rule): Likewise.
18360 (check-abi, update-abi): Likewise.
18361
6c0ce4b4
EW
183622014-02-04 Eric Wong <normalperson@yhbt.net>
18363
18364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18365
481e3524
CD
183662014-02-03 Carlos O'Donell <carlos@redhat.com>
18367
18368 * manual/startup.texi: Add next, previous, and top entries for
18369 the `Program Arguments' and `Environment Variables' nodes.
18370
375592d3
AO
183712014-02-03 Alexandre Oliva <aoliva@redhat.com>
18372
18373 * manual/macros.texi: Add comments before MTASC-safety macros.
18374
f54838ba
AO
18375 * manual/users.texi: Document MTASC-safety properties.
18376
57f41c40
AS
18377 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18378 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18379 @deftypefun, and add @safety note.
18380 * manual/signal.texi: Move comments that analyze the above
18381 functions to their home place.
18382
fd3daba4
AM
183832014-02-03 Allan McRae <allan@archlinux.org>
18384
18385 * po/sl.po: Update Slovenian translation from translation project.
18386
597636d7
AO
183872014-02-02 Alexandre Oliva <aoliva@redhat.com>
18388
18389 * manual/time.texi (timegm): Add missing blank after @c.
18390 Reported by Joseph Myers <joseph@codesourcery.com>.
18391
ee196e3c
AO
183922014-02-01 Alexandre Oliva <aoliva@redhat.com>
18393
18394 * manual/check-safety.sh: New.
18395 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18396
f8d529d5
AO
18397 * manual/terminal.texi: Document MTASC-safety properties.
18398
de55fdf4
AO
18399 * manual/filesys.texi: Document MTASC-safety properties.
18400
c3299c08
AO
18401 * manual/errno.texi: Document MTASC-safety properties.
18402
06e90b14
AO
18403 * manual/intro.texi: Document safety identifiers and
18404 conditionals.
18405
1acd4371
AO
18406 * manual/string.texi (wcstok): Fix prototype.
18407 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18408
23e5b8cb
AO
18409 * manual/time.texi: Document MTASC-safety properties.
18410
11087373
AO
18411 * manual/string.texi: Document MTASC-safety properties.
18412
5da2c93d
AO
18413 * manual/threads.texi: Document MTASC-safety properties.
18414
171e9210
AO
18415 * manual/stdio.texi: Document MTASC-safety properties.
18416
d9e02532
AO
18417 * manual/syslog.texi: Document MTASC-safety properties.
18418
6af8bab7
AO
18419 * manual/sysinfo.texi: Document MTASC-safety properties.
18420
663b02d7
AO
18421 * manual/startup.texi: Document MTASC-safety properties.
18422
973f180b
AO
18423 * manual/socket.texi: Document MTASC-safety properties.
18424
8f3c25c8
AO
18425 * manual/signal.texi: Document MTASC-safety properties.
18426
542210fb
AO
184272014-01-31 Alexandre Oliva <aoliva@redhat.com>
18428
18429 * manual/setjmp.texi: Document MTASC-safety properties.
18430
433c45a2
AO
18431 * manual/search.texi: Document MTASC-safety properties.
18432
c8ce789c
AO
18433 * manual/resource.texi: Document MTASC-safety properties.
18434
19f5d29c
AO
18435 * manual/process.texi: Document MTASC-safety properties.
18436
e2dfb7f4
AO
18437 * manual/platform.texi: Document MTASC-safety properties.
18438
8c1413f5
AO
18439 * manual/pipe.texi: Document MTASC-safety properties.
18440
03483ada
AO
18441 * manual/pattern.texi: Document MTASC-safety properties.
18442
29e7e2df
AO
18443 * manual/message.texi: Document MTASC-safety properties.
18444
9f529d7c
AO
18445 [BZ #12751]
18446 * manual/memory.texi: Document MTASC-safety properties.
18447
27aaa791
AO
18448 * manual/math.texi: Document MTASC-safety properties.
18449
f2d58726
AO
18450 * manual/locale.texi: Document MTASC-safety properties.
18451
2cc3615c
AO
18452 * manual/llio.texi: Document MTASC-safety properties.
18453
d9f0ec97
AO
18454 * manual/libdl.texi: New.
18455
e7c4409a
AO
18456 * manual/lang.texi: Document MTASC-safety properties.
18457
27bdc63c
AO
18458 * manual/job.texi: Document MTASC-safety properties.
18459
a7b90ea9
AO
18460 * manual/getopt.texi: Document MTASC-safety properties.
18461
c49130e3
AO
18462 * manual/ctype.texi: Document MTASC-safety properties.
18463
0d23a5c1
MR
184642014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18465
18466 [BZ #16046]
18467 * csu/libc-tls.c (static_map): Remove variable.
18468 (__libc_setup_tls): Use main executable's link map for TLS data.
18469 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18470 casing for LM_ID_BASE and GL(dl_nns).
18471 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18472 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18473 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18474 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18475 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18476 member.
18477 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18478 l_phnum members.
18479
0037bb60
AO
184802014-01-30 Alexandre Oliva <aoliva@redhat.com>
18481
18482 * manual/debug.texi: Document MTASC-safety properties.
18483
409e00bd
L
184842014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18485
18486 [BZ #16510]
18487 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18488 of __x86_64__ when disabling x87 inline functions.
18489
86e60666
AO
184902014-01-29 Alexandre Oliva <aoliva@redhat.com>
18491
18492 * manual/charset.texi: Document MTASC-safety properties.
18493
76167637
AO
18494 * manual/crypt.texi: Document MTASC-safety properties.
18495
e567f2a0
AO
18496 * manual/conf.texi: Document MTASC-safety properties.
18497
b719dafd
AO
18498 * manual/arith.texi: Document MTASC-safety properties.
18499
4a16c662
AO
18500 * manual/argp.texi: Document MTASC-safety properties.
18501
0a57b83e
AO
18502 * manual/macros.texi: Introduce macros to document multi
18503 thread, asynchronous signal and asynchronous cancellation
18504 safety properties.
18505 * manual/intro.texi: Introduce the properties themselves.
18506
feab2397
KK
185072014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18508
18509 * sysdeps/sh/sh4/Makefile: New file.
18510
1c0d11bc
AS
185112014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18512
18513 * math/gen-libm-test.pl ($srcdir): New variable.
18514 ($auto_input): Use it.
18515
af37a8a3
SP
185162014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18517
d7b00f98
SP
18518 [BZ #16506]
18519 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18520 access beyond array bounds when parsing netgroups file.
18521
af37a8a3
SP
18522 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18523 the old buffer before realloc.
18524
0c00f062
AM
185252014-01-27 Allan McRae <allan@archlinux.org>
18526
18527 * po/fr.po: Update French translation from translation project.
18528
7d69a1b0
KK
185292014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18530
18531 * sysdeps/sh/libm-test-ulps: Regenerate.
18532
6e697ff7
DM
185332014-01-24 David S. Miller <davem@davemloft.net>
18534
18535 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18536
9cadb35c
KK
185372014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18538
18539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18540 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18541
5d41dadf
SP
185422013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18543
18544 [BZ #16474]
18545 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18546 string pointers after reallocation.
18547
0bad441c
KK
185482014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18549
18550 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18551 __SH4A__ instead of __SH_FPU_ANY__.
18552
7007c661
KK
185532014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18554
18555 * sysdeps/sh/fpu_control.h: New file.
18556 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18557 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18558 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18559 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18560 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18561 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18562 * sysdeps/sh/sys/ucontext.h: Remove.
18563 * sysdeps/sh/sys: Remove directory.
18564
0f0c35e4
AK
185652014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18566
18567 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18568 s390/sys/ucontext.h.
18569 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18571
4959e284
L
185722014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 [BZ #15605]
18575 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18576
d98720e0
AZ
185772014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18578
18579 [BZ#16431]
18580 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18581 Adjust the vDSO correctly for internal calls.
18582 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18583
91cbd0bc
AM
185842014-01-20 Allan McRae <allan@archlinux.org>
18585
18586 * po/ca.po: Update Catalan translation from translation project.
18587
7a02cfad
MF
185882014-01-16 Mike Frysinger <vapier@gentoo.org>
18589
18590 * sysdeps/s390/sotruss-lib.c: New file.
18591
736c304a
AZ
185922014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18593
18594 [BZ#16430]
6e077ee5 18595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18596 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18597 local calls issues by not having a PLT stub required for IFUNC calls.
18598 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18599
94d0cea0
JM
186002014-01-16 Joseph Myers <joseph@codesourcery.com>
18601
18602 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18603 * math/test-fpucw-static.c: Likewise.
18604
980cb518
SP
186052013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18606
18607 [BZ #16453]
18608 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18609
2393fc01
AZ
186102014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18611
18612 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18613 implementation for powerpc.
18614
d359bcc2
OB
186152014-01-15 Ondřej Bílka <neleai@seznam.cz>
18616
18617 [BZ #14782]
18618 * sysdeps/posix/system.c (__libc_system): Do not enable
18619 asynchronous cancellation.
18620
7beb48cb
AK
186212014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18622
18623 [BZ #16427]
18624 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18625 handling only for numbers special also in the IEEE case.
18626
c20d5bf5
AK
186272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18628
18629 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18630
e83bd4ee
AM
186312014-01-11 Allan McRae <allan@archlinux.org>
18632
76d0ea69
AM
18633 * po/bg.po: Update Bulgarian translation from translation project.
18634
e83bd4ee
AM
18635 * po/de.po: Update German translation from translation project.
18636
bc2ba20a
RM
186372014-01-10 Roland McGrath <roland@hack.frob.com>
18638
18639 * sysdeps/generic/gcc-compat.h: New file.
18640
649ecea2
SP
186412014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18642
18643 * benchtests/asin-inputs: Correct slow inputs.
18644 * benchtests/acos-inputs: Likewise.
18645
1b19c006
AM
186462014-01-10 Allan McRae <allan@archlinux.org>
18647
a46dab08
AM
18648 * po:sv.po: Update Swedish translation from translation project.
18649
421df74a
AM
18650 * po/vi.po: Update Vietnamese translation from translation project.
18651
d61c51a7
AM
18652 * po/eo.po: Update Esperanto translation from translation project.
18653
0339a319
AM
18654 * po/cs.po: Update Czech translation from translation project.
18655
94ad3e99
AM
18656 * po/nl.po: Update Dutch translation from translation project.
18657
e349ca71
AM
18658 * po/pl.po: Update Polish translation from translation project.
18659
ddf930c1
AM
18660 * po/ru.po: Update Russian translation from translation project.
18661
1b19c006
AM
18662 * po/uk.po: Update Ukrainian translation from translation project.
18663
9f236c49
BM
186642014-01-08 Brooks Moses <bmoses@google.com>
18665
18666 * elf/dl-load.c: Fix comment typo.
18667
cd6701cf
CD
186682014-01-08 Carlos O'Donell <carlos@redhat.com>
18669
18670 * po/header.pot: Rename to...
18671 * po/pot.header: ... this.
18672 * po/Makefile: Use pot.header.
18673
66671c84
YK
186742014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18675 Maxim Kuvyrkov <maxim@kugelworks.com>
18676
18677 [BZ #16394]
cd6701cf
CD
18678 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18679 SRC and DEST against LEN.
66671c84 18680
38f34581
AZ
186812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682
18683 [BZ #16414]
18684 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18685 implementation.
18686 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18687
186882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18689
18690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18691
4c327f2a
JM
186922014-01-08 Joseph Myers <joseph@codesourcery.com>
18693
18694 [BZ #16408]
18695 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18696 for large positive arguments.
18697
b821f414
JM
186982014-01-07 Joseph Myers <joseph@codesourcery.com>
18699
1f0f2067
JM
18700 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18701
a5a326f6
JM
18702 * math/auto-libm-test-in: Mark various tests with
18703 xfail-rounding:ldbl-128ibm.
18704 * math/auto-libm-test-out: Regenerated.
18705
b821f414
JM
18706 [BZ #16407]
18707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18708 Increase overflow threshold.
18709
94c8a4bc
OB
187102014-01-07 Ondřej Bílka <neleai@seznam.cz>
18711
18712 [BZ #14286]
18713 * stdio-common/vfprintf.c: Check for integer overflow.
18714
87ded0c3
AK
187152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18716
18717 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18718 the first argument and return value of __tls_get_addr_internal.
18719
c5eebdd0
AK
187202014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18721
18722 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18723 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18724
05d138ef
AK
187252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18726
18727 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18728 * sysdeps/s390/rtld-global-offsets.sym: New file.
18729 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18730 GLIBC_2.19 symbol.
18731 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18732 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18733 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18734 ... this.
18735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18736 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18737 ... this.
18738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18739 Regenerate.
18740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18741 Regenerate.
18742 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18743 halfs of GPRs for high_gprs contexts.
18744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18745 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18746 field.
18747 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18748 uc_flags field.
18749 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18750 64 bit versions:
18751 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18752 for high GPRs (uc_high_gprs) and for future extensions
18753 (__reserved).
18754 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18755 for future extensions (__reserved).
18756 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18757 64 bit versions:
18758 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18759 SC_HIGHGPRS offset definition.
18760 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18761 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18762
93a45ff1
AK
18763 * Versions.def: Add GLIBC_2.19 for libpthread.
18764 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18765 siglongjmp for libpthread with GLIBC_2.19 symver.
18766 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18767 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18768 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18769 * sysdeps/s390/__longjmp.c: New file.
18770 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18771 * sysdeps/s390/longjmp.c: New file.
18772 * sysdeps/s390/setjmp.S: New file.
18773 * sysdeps/s390/sigjmp.S: New file.
18774 * sysdeps/s390/v1-longjmp.c: New file.
18775 * sysdeps/s390/v1-setjmp.h: New file.
18776 * sysdeps/s390/v1-sigjmp.c: New file.
18777 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18778 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18779 GLIBC_2.19 version.
18780 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18781 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18782 versioned symbols for ____longjmp_chk.
18783 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18784 Likewise.
18785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18786 Regenerate.
18787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18788 Regenerate.
18789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18790 Regenerate.
18791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18792 Regenerate.
18793 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18794 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18795 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18796 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18797 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18798 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18799 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18800 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18801 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18802 * sysdeps/s390/rtld-__longjmp.c: New file.
18803 * sysdeps/s390/rtld-setjmp.S: New file.
18804
eb3fc44b
JM
188052014-01-06 Joseph Myers <joseph@codesourcery.com>
18806
18807 [BZ #16400]
18808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18809 Return -__logl (x) for small positive arguments without evaluating
18810 a polynomial.
18811
9341dde4
MF
188122014-01-06 Mike Frysinger <vapier@gentoo.org>
18813
18814 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18815 Rename to ...
18816 (__ptrace_peeksiginfo_args): ... this.
18817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18819 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18820
4cff0293
AM
188212014-01-06 Allan McRae <allan@archlinux.org>
18822
18823 * inet/netinet/in.h: Fix typo in comment.
18824
75595dcf
AJ
188252014-01-05 Andreas Jaeger <aj@suse.de>
18826
18827 * sysdeps/i386/fpu/libm-test-ulps: Update.
18828
79c1e109
AM
188292014-01-05 Allan McRae <allan@archlinux.org>
18830
dd804818
AM
18831 * po/libc.pot: Regenerated.
18832
79c1e109
AM
18833 * malloc/memusagestat.c: Fix gettext call formatting.
18834
0c813d1f
SK
188352014-01-04 Sami Kerola <kerolasa@iki.fi>
18836
18837 * nscd/nscd.c: Improve usage() output.
18838
20f4a8d9
MF
188392014-01-04 Mike Frysinger <vapier@gentoo.org>
18840
18841 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18842 * sysdeps/unix/sysv/linux/configure: Regenerated.
18843 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18844 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18845
22562bb2
JM
188462014-01-03 Joseph Myers <joseph@codesourcery.com>
18847
18848 [BZ #16390]
18849 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18850 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18851
d7ad2d9b
AZ
188522014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18853
18854 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18855 extra tokens at end of #undef directive.
18856 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18857 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18858 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18859
7dd009d8
JM
188602014-01-03 Joseph Myers <joseph@codesourcery.com>
18861
24db925a
JM
18862 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18863
7dd009d8
JM
18864 * math/auto-libm-test-in: Mark various tests with
18865 xfail-rounding:ldbl-128ibm.
18866 * math/auto-libm-test-out: Regenerated.
18867
396e3ecf
JM
188682014-01-02 Joseph Myers <joseph@codesourcery.com>
18869
819e5d50
JM
18870 [BZ #16386]
18871 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18872 numbers with subnormal high part when calculating exponent.
18873
90b6a1e5
JM
18874 [BZ #16385]
18875 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18876 fabs.
18877
396e3ecf
JM
18878 [BZ #16384]
18879 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18880 M_LN2l.
18881 (__ieee754_acoshl): Use __log1pl not __log1p.
18882
6c8dbf00
OB
188832013-01-02 Ondřej Bílka <neleai@seznam.cz>
18884
57f41c40
AS
18885 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18886 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18887 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18888 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18889 (reused_arena, arena_get2): Convert to GNU style.
18890 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18891 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18892 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18893 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18894 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18895 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18896 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18897 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18898 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18899 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18900 * malloc/malloc.h: Likewise.
57f41c40
AS
18901 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18902 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18903 * malloc/mcheck.h: Likewise.
57f41c40
AS
18904 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18905 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18906 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18907 * malloc/morecore.c (__default_morecore): Likewise.
18908 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18909 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18910 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18911 (print_and_abort): Likewise.
6c8dbf00
OB
18912 * malloc/obstack.h: Likewise.
18913 * malloc/set-freeres.c (__libc_freeres): Likewise.
18914 * malloc/tst-mallocstate.c (main): Likewise.
18915 * malloc/tst-mtrace.c (main): Likewise.
18916 * malloc/tst-realloc.c (do_test): Likewise.
18917
d4124212
SP
189182013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18919
9a3c6a6f
SP
18920 [BZ #16366]
18921 * nscd/netgroupcache.c (do_notfound): New function.
18922 (addgetnetgrentX): Use it.
18923
d4124212
SP
18924 [BZ # 16365]
18925 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18926 NSS_STATUS_NOTFOUND.
18927
97b9a009
JM
189282014-01-01 Joseph Myers <joseph@codesourcery.com>
18929
18930 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18932
d4697bc9
AM
189332014-01-01 Allan McRae <allan@archlinux.org>
18934
ddb3687f
AM
18935 * scripts/update-copyrights: Update configure input file suffix.
18936
88726d48
AM
18937 * NEWS: Update copyright year.
18938 * catgets/gencat.c: Likewise.
18939 * csu/version.c: Likewise.
18940 * debug/catchsegv.sh: Likewise.
18941 * debug/pcprofiledump.c: Likewise.
18942 * debug/xtrace.sh: Likewise.
18943 * elf/ldconfig.c: Likewise.
18944 * elf/ldd.bash.in: Likewise.
18945 * elf/pldd.c: Likewise.
18946 * elf/sotruss.ksh: Likewise.
18947 * elf/sprof.c: Likewise.
18948 * iconv/iconv_prog.c: Likewise.
18949 * iconv/iconvconfig.c: Likewise.
18950 * locale/programs/locale.c: Likewise.
18951 * locale/programs/localedef.c: Likewise.
18952 * login/programs/pt_chown.c: Likewise.
18953 * malloc/memusage.sh: Likewise.
18954 * malloc/memusagestat.c: Likewise.
18955 * malloc/mtrace.pl: Likewise.
18956 * manual/libc.texinfo: Likewise.
18957 * nscd/nscd.c: Likewise.
18958 * nss/getent.c: Likewise.
18959 * nss/makedb.c: Likewise.
18960 * posix/getconf.c: Likewise.
18961 * scripts/test-installation.pl: Likewise.
18962
d4697bc9
AM
18963 * All files with FSF copyright notices: Update copyright dates
18964 using scripts/update-copyrights.
18965 * intl/plural.c: Regenerated.
18966 * locale/programs/charmap-kw.h: Likewise.
18967 * locale/programs/locfile-kw.h: Likewise.
18968
c8590f9d
MF
189692013-12-31 Mike Frysinger <vapier@gentoo.org>
18970
18971 * sysdeps/unix/sysv/linux/configure: Regenerated.
18972 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18973 the linux/fanotify.h header.
18974 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18975 HAVE_LINUX_FANOTIFY_H is defined.
18976
b19221b9
SP
189772013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18978
dd1d85e5
SP
18979 * benchtests/cos-inputs: New inputs.
18980 * benchtests/sin-inputs: Likewise.
18981
1acbb90f
SP
18982 * benchtests/atan-inputs: New inputs. Fix name of multiple
18983 precision fallback inputs.
18984
4c012ed3
SP
18985 * benchtests/atanh-inputs: New inputs.
18986 * benchtests/tanh-inputs: Likewise.
18987
eff98324
SP
18988 * benchtests/acosh-inputs: New inputs.
18989 * benchtests/asinh-inputs: Likewise.
18990
ce641152
SP
18991 * benchtests/cosh-inputs: New inputs.
18992 * benchtests/sinh-inputs: Likewise.
18993
b19221b9
SP
18994 * benchtests/acos-inputs: Add more inputs.
18995 * benchtests/asin-inputs: Likewise.
18996
030a4976 189972013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18998
030a4976 18999 [BZ #16375]
9dcc8f11
VS
19000 * manual/arith.texi: Fix spelling.
19001 * manual/charset.texi: Likewise.
19002 * manual/errno.texi: Likewise.
19003 * manual/filesys.texi: Likewise.
19004 * manual/lang.texi: Likewise.
19005 * manual/llio.texi: Likewise.
19006 * manual/locale.texi: Likewise.
19007 * manual/message.texi: Likewise.
19008 * manual/resource.texi: Likewise.
19009 * manual/search.texi: Likewise.
19010 * manual/setjmp.texi: Likewise.
19011 * manual/stdio.texi: Likewise.
19012 * manual/string.texi: Likewise.
19013 * manual/sysinfo.texi: Likewise.
19014 * manual/time.texi: Likewise.
19015
11520a57
CD
190162013-12-27 Carlos O'Donell <carlos@redhat.com>
19017
19018 * po/sl.po: New file.
19019
471103ae
MF
190202013-12-27 Mike Frysinger <vapier@gentoo.org>
19021
19022 * .gitignore: Add core/.gdbinit/.gdb_history.
19023
6c9642ed
AM
190242013-12-27 Allan McRae <allan@archlinux.org>
19025
19026 [BZ #16369]
19027 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19028 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19029
3f637079
BM
190302013-12-24 Brooks Moses <bmoses@google.com>
19031
19032 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19033 all compilers that claim C++98 compliance, not just GCC.
19034 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19035 Likewise.
19036
abc26e99
MK
190372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19038
19039 * NEWS: Restore accidentally deleted bug-fix entries.
19040
362b47fe
MK
190412013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19042 Ondřej Bílka <neleai@seznam.cz>
19043
19044 [BZ #15073]
19045 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19046 have_lock.
362b47fe 19047
b9bcbbcb
OB
190482013-12-23 Ondřej Bílka <neleai@seznam.cz>
19049
19050 [BZ #12986]
19051 * manual/stdio.texi (String Input Conversions): Clarify that character
19052 classes are not supported.
19053
fb55fcd2
AZ
190542013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19055
19056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19057
ef7344f0
JM
190582013-12-22 Joseph Myers <joseph@codesourcery.com>
19059
4f40e4b3
JM
19060 [BZ #16337]
19061 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19062 Calculate results for small negative arguments directly rather
19063 than using reflection formula with special underflow handling.
19064
ef7344f0
JM
19065 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19066 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19067 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19068 (fchflags): Likewise.
19069 (revoke): Likewise.
19070 (setlogin): Likewise.
19071 (sigaltstack): Likewise.
19072 (wait4): Likewise.
19073 (sigblock): Remove.
19074 (sigsetmask): Likewise.
19075 (wait3): Likewise.
19076 (waitpid): Likewise.
19077 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19078 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19079 file.
19080 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19081 * sysdeps/unix/bsd/Makefile: ... here.
19082 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19083 * sysdeps/unix/bsd/Versions: ... here.
19084 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19085 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19086 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19087 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19088 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19089 * sysdeps/unix/bsd/sigblock.c: ... here.
19090 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19091 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19092 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19093 * sysdeps/unix/bsd/sigvec.c: ... here.
19094 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19095 * sysdeps/unix/bsd/tcdrain.c: ... here.
19096 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19097 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19098 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19099 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19100 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19101 * sysdeps/unix/bsd/wait.c: ... here.
19102 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19103 * sysdeps/unix/bsd/wait3.c: ... here.
19104 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19105 * sysdeps/unix/bsd/waitpid.c: ... here.
19106
5b0626b9
JM
191072013-12-21 Joseph Myers <joseph@codesourcery.com>
19108
19109 [BZ #16356]
19110 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19111 round-to-nearest for [!USE_AS_EXPM1L].
19112 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19113 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19114 more tests of exp and exp10. Expect some exp10 tests to miss
19115 exceptions or fail in directed rounding modes.
19116 * math/auto-libm-test-out: Regenerated.
19117 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19118 (exp10_test_tonearest): New function.
19119 (exp10_towardzero_test_data): New array.
19120 (exp10_test_towardzero): New function.
19121 (exp10_downward_test_data): New array.
19122 (exp10_test_downward): New function.
19123 (exp10_upward_test_data): New array.
19124 (exp10_test_upward): New function.
19125 (main): Call the new functions.
19126 * sysdeps/i386/fpu/libm-test-ulps: Update.
19127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19128
7fda5682
JM
191292013-12-20 Joseph Myers <joseph@codesourcery.com>
19130
31e3a405
JM
19131 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19132 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19133 * math/auto-libm-test-out: Regenerated.
19134 * math/libm-test.inc (acosh_test_data): Add more tests.
19135 (atanh_test_data): Likewise.
19136 (ceil_test_data): Likewise.
19137 (copysign_test_data): Likewise.
19138 * sysdeps/i386/fpu/libm-test-ulps: Update.
19139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19140
85bff96a
JM
19141 * timezone/checktab.awk: Update from tzcode 2013i.
19142 * timezone/private.h: Likewise.
19143 * timezone/scheck.c: Likewise.
19144 * timezone/tzfile.h: Likewise.
19145 * timezone/tzselect.ksh: Likewise.
19146 * timezone/zdump.c: Likewise.
19147 * timezone/zic.c: Likewise.
19148
b7867a3b
JM
19149 * math/auto-libm-test-in: Add tests of cpow.
19150 * math/auto-libm-test-out: Regenerated.
19151 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19153 mpc_cc_c.
19154 (func_calc_desc): Add mpc_cc_c union field.
19155 (test_functions): Add cpow.
19156 (special_fill_2pi): New function.
19157 (special_real_inputs): Add 2pi.
19158 (calc_generic_results): Handle mpc_cc_c.
19159 * sysdeps/i386/fpu/libm-test-ulps: Update.
19160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19161
7fda5682
JM
19162 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19163 csqrt, ctan and ctanh.
19164 * math/auto-libm-test-out: Regenerated.
19165 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19166 (TEST_COND_x86): Likewise.
19167 (ccos_test_data): Use AUTO_TESTS_c_c.
19168 (ccosh_test_data): Likewise.
19169 (cexp_test_data): Likewise.
19170 (clog_test_data): Likewise.
19171 (csqrt_test_data): Likewise.
19172 (ctan_test_data): Likewise.
19173 (ctan_tonearest_test_data): Likewise.
19174 (ctan_towardzero_test_data): Likewise.
19175 (ctan_downward_test_data): Likewise.
19176 (ctan_upward_test_data): Likewise.
19177 (ctanh_test_data): Likewise.
19178 (ctanh_tonearest_test_data): Likewise.
19179 (ctanh_towardzero_test_data): Likewise.
19180 (ctanh_downward_test_data): Likewise.
19181 (ctanh_upward_test_data): Likewise.
19182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19183 mpc_c_c.
19184 (func_calc_desc): Add mpc_c_c union field.
19185 (FUNC_mpc_c_c): New macro.
19186 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19187 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19188 ctanh.
19189 (special_fill_min_subnorm_p120): New function.
19190 (special_real_inputs): Add min_subnorm_p120.
19191 (calc_generic_results): Handle mpc_c_c.
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19194
5ff8d60e
SP
191952013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19196
57f41c40
AS
19197 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19198 (do_sin_slow): New functions.
19199 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19200 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19201
84ba214c
SP
19202 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19203 Use M to change sign of result instead of X. Assume X is
19204 positive.
19205 (csloww1): Likewise.
19206 (__sin): Adjust.
19207 (__cos): Adjust.
19208
975195e4
SP
19209 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19210 arguments A and DA.
19211 (__sin): Adjust.
19212 (__cos): Likewise.
19213
5ff8d60e
SP
19214 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19215 (__cos): Likewise.
19216 (sloww1): Don't adjust sign of DX.
19217 (csloww1): Likewise.
19218 (sloww2): Use X directly and don't adjust sign of DX.
19219 (csloww2): Likewise.
19220
eb983568
JM
192212013-12-19 Joseph Myers <joseph@codesourcery.com>
19222
64a17f1a
JM
19223 * math/auto-libm-test-in: Add tests of cabs and carg.
19224 * math/auto-libm-test-out: Regenerated.
19225 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19226 (carg_test_data): Likewise.
19227 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19228 mpc_c_f.
19229 (func_calc_desc): Add mpc_c_f union field.
19230 (test_functions): Add cabs and carg.
19231 (calc_generic_results): Handle mpc_c_f.
19232
eb983568
JM
19233 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19234 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19235 as a macro and a compat symbol.
19236 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19237 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19238 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19239 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19240 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19241 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19242 not use .hidden.
19243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19244 Likewise.
19245 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19246 Likewise.
19247 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19248 Likewise.
19249 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19250 Likewise.
19251 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19252 Likewise.
19253 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19254 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19255 from GLIBC_2.3.2.
19256
6eeb678a
AZ
192572013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19258
19259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19260
6f6fc482
JM
192612013-12-19 Joseph Myers <joseph@codesourcery.com>
19262
21fea2e2
JM
19263 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19264 trailing whitespace removed.
19265 * scripts/config.guess: Update to version 2013-11-29.
19266 * scripts/config.sub: Update to version 2013-10-01.
19267
6f6fc482
JM
19268 * math/auto-libm-test-in: Add tests of sincos.
19269 * math/auto-libm-test-out: Regenerated.
19270 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19271 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19272 mpfr_f_11.
19273 (func_calc_desc): Add mpfr_f_11 union field.
19274 (test_functions): Add sincos.
19275 (calc_generic_results): Handle mpfr_f_11.
19276 * sysdeps/i386/fpu/libm-test-ulps: Update.
19277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19278
83f5c32d
AS
192792013-12-19 Andreas Schwab <schwab@suse.de>
19280
19281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19282 CALL_MCOUNT.
19283 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19284 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19285 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19286
c688b419
JM
192872013-12-19 Joseph Myers <joseph@codesourcery.com>
19288
335ee092
JM
19289 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19290 * sysdeps/i386/fpu/libm-test-ulps: Update.
19291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19292
f88acd39
JM
19293 [BZ #16293]
19294 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19295 round-to-nearest mode when using frndint.
19296 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19297 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19299 Likewise.
19300 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19301 sinh test to fail.
19302 * math/auto-libm-test-out: Regenerated.
19303 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19304 (TEST_COND_x86): Likewise.
19305 (expm1_tonearest_test_data): New array.
19306 (expm1_test_tonearest): New function.
19307 (expm1_towardzero_test_data): New array.
19308 (expm1_test_towardzero): New function.
19309 (expm1_downward_test_data): New array.
19310 (expm1_test_downward): New function.
19311 (expm1_upward_test_data): New array.
19312 (expm1_test_upward): New function.
19313 (main): Run the new test functions.
19314 * sysdeps/i386/fpu/libm-test-ulps: Update.
19315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19316
c688b419
JM
19317 * include/features.h: Update comment documenting feature test
19318 macros. Mention _DEFAULT_SOURCE in comment.
19319 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19320 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19321 _BSD_SOURCE and _SVID_SOURCE.
19322 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19323 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19324 !_SVID_SOURCE]: Likewise.
19325 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19326 (__USE_POSIX_IMPLICITLY): Define.
19327 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19328 (_POSIX_SOURCE): Undefine and redefine.
19329 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19330 (_POSIX_C_SOURCE): Likewise.
19331 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19332 (Feature Test Macros): Update documentation of default features.
19333
9f6e964c
RS
193342013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19335
19336 * benchtests/Makefile: Add bench-strtok.
19337 * benchtests/bench-strtok.c: New file: strtok benchtest.
19338
ee0a148a
AM
193392013-12-19 Allan McRae <allan@archlinux.org>
19340
19341 * manual/install.texi: Suppress menu for plain text output.
19342 * INSTALL: Regenerated.
19343
b9ab448f
BM
193442013-12-18 Brooks Moses <bmoses@google.com>
19345
19346 [BZ #15846]
19347 * misc/getauxval.c: Include errno.h.
19348 (__getauxval): Set errno to ENOENT if the requested type is not
19349 found.
19350 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19351 don't declare with __attribute_const__.
19352 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19353 * manual/startup.texi: Document that getauxval sets errno.
19354
23776487
JM
193552013-12-18 Joseph Myers <joseph@codesourcery.com>
19356
f889953b
JM
19357 * math/auto-libm-test-in: Add tests of jn and yn.
19358 * math/auto-libm-test-out: Regenerated.
19359 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19360 (yn_test_data): Likewise.
19361 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19362 mpfr_if_f.
19363 (func_calc_desc): Add mpfr_if_f union field.
19364 (FUNC_mpfr_if_f): New macro.
19365 (test_functions): Add jn and yn.
19366 (calc_generic_results): Assert type of second input for
19367 mpfr_ff_f. Handle mpfr_if_f.
19368 (output_for_one_input_case): Disable all checking for arguments
19369 fitting floating-point types in case of an integer argument.
19370 * sysdeps/i386/fpu/libm-test-ulps: Update.
19371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19372
23776487
JM
19373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19374 Don't expect fegetround reference in libm.so.
19375
cb756c6d
MS
193762013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19377
19378 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19379 $(config-cflags-nofma).
19380
2dec468f
JM
193812013-12-18 Joseph Myers <joseph@codesourcery.com>
19382
5953eb3a
JM
19383 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19384 * math/auto-libm-test-out: Regenerated.
19385
2dec468f
JM
19386 [BZ #16338]
19387 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19388 to determine exponent and adjust argument to have exponent of -1.
19389 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19390 log2.
19391 * math/auto-libm-test-out: Regenerated.
19392 * sysdeps/i386/fpu/libm-test-ulps: Update.
19393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19394
4d84e6ad
OB
193952013-12-18 Ondřej Bílka <neleai@seznam.cz>
19396
19397 * manual/probes.texi: Remove cases when per-thread arenas are
19398 disabled.
19399
1818483b
AS
194002013-12-18 Andreas Schwab <schwab@suse.de>
19401
19402 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19403 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19404 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19405 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19406 * sysdeps/i386/i686/multiarch/Makefile: Update.
19407 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19408
25de95bf
JM
194092013-12-17 Joseph Myers <joseph@codesourcery.com>
19410
19411 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19412 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19413
674762d9
PE
194142013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19415
ed27ed83 19416 [BZ #15968]
0748546f
PE
19417 Support TZ transition times < 00:00:00.
19418 This is needed for version-3 tz-format files; it supports time
19419 stamps past 2037 for America/Godthab (the only entry in the tz
19420 database for which this change is relevant).
19421 * manual/time.texi (TZ Variable): Document transition times
19422 from -167:59:59 through -00:00:01.
19423 * time/tzset.c (tz_rule): Time of day is now signed.
19424 (__tzset_parse_tz): Parse negative time of day.
19425
4480e934
PE
19426 Document TZ transition times >= 25:00:00.
19427 * manual/time.texi (TZ Variable): Document transition times from
19428 25:00:00 through 167:59:59. These are already supported, and this
19429 support will help with version-3 tz-format files.
19430
69947401
PE
19431 * manual/time.texi (TZ Variable): Modernize North America example
19432 to reflect current (i.e., 2007-and-later) daylight saving rules.
19433
674762d9
PE
19434 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19435
7011c262
JM
194362013-12-17 Joseph Myers <joseph@codesourcery.com>
19437
2fc6557e
JM
19438 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19439 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19442 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19443 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19444 * sysdeps/unix/bsd/clock.c: Likewise.
19445 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19446 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19447 * sysdeps/unix/bsd/init-posix.c: Likewise.
19448 * sysdeps/unix/bsd/poll.c: Likewise.
19449 * sysdeps/unix/bsd/ptsname.c: Likewise.
19450 * sysdeps/unix/bsd/seekdir.c: Likewise.
19451 * sysdeps/unix/bsd/setegid.c: Likewise.
19452 * sysdeps/unix/bsd/seteuid.c: Likewise.
19453 * sysdeps/unix/bsd/setgid.c: Likewise.
19454 * sysdeps/unix/bsd/setrgid.c: Likewise.
19455 * sysdeps/unix/bsd/setruid.c: Likewise.
19456 * sysdeps/unix/bsd/setsid.c: Likewise.
19457 * sysdeps/unix/bsd/setuid.c: Likewise.
19458 * sysdeps/unix/bsd/sigaction.c: Likewise.
19459 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19460 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19461 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19462 * sysdeps/unix/bsd/telldir.c: Likewise.
19463 * sysdeps/unix/bsd/times.c: Likewise.
19464 * sysdeps/unix/bsd/usleep.c: Likewise.
19465
029c7b25
JM
19466 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19467 ($(objpfx)libbsd-compat.a): Remove rule.
19468
7011c262
JM
19469 * include/features.h (__FAVOR_BSD): Do not define.
19470 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19471 features conflicting with POSIX.
19472 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19473 (_BSD_SOURCE): Remove description of not being a subset of other
19474 feature test macros.
19475 * manual/job.texi (getpgrp): Do not document BSD version.
19476 (getpgid): Do not document by reference to BSD getpgrp.
19477 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19478 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19479 * signal/signal.h [__FAVOR_BSD]: Likewise.
19480 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19481 instead of making contents conditional on [__FAVOR_BSD].
19482 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19483
affb6f78
AZ
194842013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19485
19486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19487
c88769dd
JM
194882013-12-17 Joseph Myers <joseph@codesourcery.com>
19489
6432a540
JM
19490 [BZ #16314]
19491 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19492 values below 2**-450, not 2**-500.
19493 * math/auto-libm-test-in: Don't allow spurious underflow from
19494 hypot.
19495 * math/auto-libm-test-out: Regenerated.
19496
c88769dd
JM
19497 [BZ #16316]
19498 [BZ #16330]
19499 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19500 values of ha and hb and sort them after adjusting subnormal
19501 arguments.
19502 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19503 Likewise.
19504 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19505 values of ea and eb and sort them after adjusting subnormal
19506 arguments.
19507 * math/auto-libm-test-in: Do not expect some hypot tests of
19508 subnormals to fail. Add more hypot tests.
19509 * math/auto-libm-test-out: Regenerated.
19510
29618f6b
KK
195112013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19512
19513 [BZ #13304]
19514 * sysdeps/sh/s_fma.c: New file.
19515 * sysdeps/sh/s_fmaf.c: New file.
19516 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19517 version.
19518 * sysdeps/sh/Implies: Add sh/soft-fp.
19519
eacfdfbf
RM
195202013-12-16 Roland McGrath <roland@hack.frob.com>
19521
19522 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19523 level of indirection to members `objname', `errstring', `malloced'.
19524 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19525 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19526 it as the __longjmp argument (just pass 1 instead).
19527 (_dl_catch_error): Initialize C with argument pointers and address of
19528 volatile local ERRCODE rather than copying values out of C at return.
19529
ff362e5b
JM
195302013-12-16 Joseph Myers <joseph@codesourcery.com>
19531
19532 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19533 * math/auto-libm-test-out: Regenerated.
19534 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19535 (hypot_test_data): Likewise.
19536 (pow_test_data): Likewise.
19537 (pow_tonearest_test_data): Likewise.
19538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19539 mpfr_ff_f.
19540 (func_calc_desc): Add mpfr_ff_f union field.
19541 (FUNC_mpfr_ff_f): New macro.
19542 (test_functions): Add atan2, hypot and pow.
19543 (special_fill_min): New function.
19544 (special_fill_minus_min): Likewise.
19545 (special_fill_min_subnorm): Likewise.
19546 (special_fill_minus_min_subnorm): Likewise.
19547 (special_real_inputs): Add min, -min, min_subnorm and
19548 -min_subnorm.
19549 (calc_generic_results): Handle mpfr_ff_f.
19550 * sysdeps/i386/fpu/libm-test-ulps: Update.
19551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19552
5764c27f
WN
195532013-12-16 Will Newton <will.newton@linaro.org>
19554
19555 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19556 (Aligned Memory Blocks): Add documentation for aligned_alloc
19557 and suggest it as an alternative to posix_memalign.
19558 (Hooks for Malloc): Document __memalign_hook is also called
19559 for aligned_alloc. (Summary of Malloc): Add summary for
19560 aligned alloc. Document __memalign_hook is also called
19561 for aligned_alloc.
19562
0a096e44
WN
195632013-12-16 Will Newton <will.newton@linaro.org>
19564
19565 * manual/memory.texi (Malloc Examples): Clarify default
19566 alignment documentation. Suggest posix_memalign rather
19567 than memalign or valloc.
19568 (Aligned Memory Blocks): Remove suggestion to use memalign
19569 or valloc. Remove obsolete comment about BSD.
19570 Document memalign errno values and mark the function obsolete.
19571 Document posix_memalign returned error codes. Mark valloc
19572 as obsolete. (Hooks for Malloc): __memalign_hook is also
19573 called for posix_memalign and valloc.
19574 (Summary of Malloc): Add posix_memalign to function summary.
19575 __memalign_hook is also called for posix_memalign and valloc.
19576
8d561986
SP
195772013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19578
19579 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19580 TAYLOR_SIN.
19581 (__sin): Adjust.
19582 (__cos): Likewise.
19583 (sloww): Use mynumber union. Expand ternary operator into
19584 if-else statements.
19585 (cslow): use mynumber union.
19586
73616a74
AM
195872013-12-16 Allan McRae <allan@archlinux.org>
19588
9e8ac24b
AM
19589 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19590 * configure: Regenerated.
19591
6f8e37eb
AM
19592 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19593
8894bad3
AM
19594 [BZ #14120]
19595 * configure.ac: Added --enable-maintainer-mode. Check for
19596 autoconf when enabled.
19597 * configure: Regenerated.
19598
73616a74
AM
19599 * nscd/nscd.service: New file.
19600 * nscd/nscd.tmpfiles: New file.
19601
584b18eb
OB
196022013-12-14 Ondřej Bílka <neleai@seznam.cz>
19603
19604 [BZ #12100]
19605 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19606 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19607 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19608 (strstr): Add __strstr_sse2_unaligned ifunc.
19609 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19610 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19611 (strcasestr): Remove __strcasestr_sse42 ifunc.
19612 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19613 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19615
8a5c7897
KK
196162013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19617
19618 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19619 * sysdeps/sh/bits/fenv.h: ... here.
19620 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19621
fd712ef3
AZ
196222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19623
19624 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19625
42fcb46c
AZ
19626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19627 hypotf multiarch implementations.
19628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19631 multiarch hypot for PPC64.
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19634 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19635 multiarch hypotf for PPC64.
19636
83efded4
AZ
19637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19638 modff multiarch implementations.
19639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19642 multiarch modf for PPC64.
19643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19646 multiarch modff for PPC64.
19647
43e246d2
AZ
19648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19649 and logl multiarch implementations.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19653 multiarch logb for PPC64.
19654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19657 multiarch logb for PPC64.
19658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19661 multiarch logb for PPC64.
19662
8fdad123
AZ
19663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19664 isinff multiarch implementation.
19665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19666 file.
19667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19669 multiarch isinf for PPC64.
19670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19671 file.
19672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19673 multiarch isinff for PPC64.
19674
1481d706
AZ
19675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19676 finitef multiarch implementation.
19677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19678 file.
19679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19681 multiarch finite for PPC64.
19682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19683 file.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19685 multiarch finitef for PPC64.
19686
5ccd5fc8
AZ
19687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19688 lrint multiarch implementation.
19689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19690 file.
19691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19693 multiarch llrint for PPC64.
19694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19695 multiarch lrint for PPC64.
19696
2568f3fa
AZ
19697 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19698 copysignf multiarch implementation.
19699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19700 file.
19701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19702 file.
19703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19704 multiarch copysign for PPC64.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19706 multiarch copysignf for PPC64.
19707
1cb341fd
AZ
19708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19709 multiarch implementation.
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19711 file.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19713 file.
19714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19715 file.
19716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19717 file.
19718 multiarch llround for PPC64.
19719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19720 multiarch trunc for PPC64.
19721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19722 multiarch truncf for PPC64.
19723
59a3e194
AZ
19724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19725 multiarch implementation.
19726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19727 file.
19728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19729 file.
19730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19731 file.
19732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19733 file.
19734 multiarch llround for PPC64.
19735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19736 multiarch round for PPC64.
19737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19738 multiarch roundf for PPC64.
19739
357fd3b4
AZ
19740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19741 multiarch implementation.
19742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19743 file.
19744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19745 file.
19746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19747 file.
19748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19749 file.
19750 multiarch llround for PPC64.
19751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19752 multiarch floor for PPC64.
19753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19754 multiarch floorf for PPC64.
19755
96770f12
AZ
19756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19757 multiarch implementation.
19758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19759 file.
19760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19761 file.
19762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19763 file.
19764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19765 file.
19766 multiarch llround for PPC64.
19767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19768 multiarch ceil for PPC64.
19769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19770 multiarch ceilf for PPC64.
19771
c3627f6e
AZ
19772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19773 multiarch implementation.
19774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19775 file.
19776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19777 file.
19778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19779 file.
19780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19781 multiarch llround for PPC64.
19782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19783 multiarch lround for PPC64.
19784
b2284ad7
AZ
19785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19786 multiarch implementation.
19787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19790 file.
19791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19794 multiarch isnan for PPC64.
19795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19796 multiarch isnanf for PPC64.
19797
69bbc63d
AZ
19798 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19799 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19800 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19801 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19802 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19804
c24517c9
AZ
19805 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19806 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19809
a52374e8
AZ
19810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19811 multiarch implementations.
19812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19813 (__libc_ifunc_impl_list): Likewise.
19814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19815 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19816 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19817 multiarch stpcpy for PPC64.
19818
7f5ec113
AZ
19819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19820 multiarch implementations.
19821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19822 (__libc_ifunc_impl_list): Likewise.
19823 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19824 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19825 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19826 multiarch strcpy for PPC64.
19827
e28bcd42
AZ
19828 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19829 redefine function name.
19830 (_wordcopy_fwd_dest_aligned): Likewise.
19831 (_wordcopy_bwd_aligned): Likewise.
19832 (_wordcopy_bwd_dest_aligned): Likewise.
19833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19834 multiarch implementations.
19835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19836 (__libc_ifunc_impl_list): Likewise.
19837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19838 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19839 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19840 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19841 multiarch wcscpy for PPC64.
19842
92cacfce
AZ
19843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19844 multiarch implementations.
19845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19846 (__libc_ifunc_impl_list): Likewise.
19847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19850 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19851 multiarch wcscpy for PPC64.
19852
7b714620
AZ
19853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19854 multiarch implementations.
19855 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19856 (__libc_ifunc_impl_list): Likewise.
19857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19860 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19861 multiarch wcsrchr for PPC64.
19862
16fd2ae3
AZ
19863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19864 multiarch implementations.
19865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19866 (__libc_ifunc_impl_list): Likewise.
19867 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19868 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19869 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19870 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19871 multiarch wcschr for PPC64.
19872
9ee2969b
AZ
19873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19874 multiarch implementations.
19875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19876 (__libc_ifunc_impl_list): Likewise.
19877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19878 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19879 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19880 multiarch strchrnul for PPC64.
19881
372dc060
AZ
19882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19883 implementations.
19884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19885 (__libc_ifunc_impl_list): Likewise.
19886 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19887 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19888 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19889 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19890 strchr for PPC64.
19891
24c2c3b9
AZ
19892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19893 implementations.
19894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19895 (__libc_ifunc_impl_list): Likewise.
19896 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19897 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19898 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19899 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19900 strncmp for PPC64.
19901
1c92d9a0
AZ
19902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19903 multiarch implementations.
19904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19905 (__libc_ifunc_impl_list): Likewise.
19906 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19907 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19908 strncasecmp for PPC64.
19909 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19910 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19911 multiarch strncasecmp_l for PPC64.
19912
17de3ee3
AZ
19913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19914 multiarch implementations.
19915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19916 (__libc_ifunc_impl_list): Likewise.
19917 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19918 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19919 multiarch strcasecmp for PPC64.
19920 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19921 file.
19922 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19923 multiarch strcasecmp_l for PPC64.
19924
62982bf9
AZ
19925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19926 implementations.
19927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19928 (__libc_ifunc_impl_list): Likewise.
19929 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19930 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19931 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19932 strnlen for PPC64.
19933
a65f4904
AZ
19934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19935 implementations.
19936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19937 (__libc_ifunc_impl_list): Likewise.
19938 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19939 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19940 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19941 strlen for PPC64.
19942
1fd005ad
AZ
19943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19944 implementations.
19945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19946 (__libc_ifunc_impl_list): Likewise.
19947 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19948 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19949 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19950 rawmemrchr for PPC64.
19951
cd05ba91
AZ
19952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19953 implementation.
19954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19955 (__libc_ifunc_impl_list): Likewise.
19956 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19957 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19958 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19959 memrchr for PPC64.
19960
870f8676
AZ
19961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19962 implementation.
19963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19964 (__libc_ifunc_impl_list): Likewise.
19965 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19966 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19967 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19968 memchr for PPC64.
19969
f00be62b
AZ
19970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19971 implementation.
19972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19973 (__libc_ifunc_impl_list): Likewise.
19974 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19975 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19976 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19977 mempcpy for PPC64.
19978
8a29a3d0
AZ
19979 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19980 avoid cretion of __bzero symbol.
19981 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19982 Likewise.
19983 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19984 Likewise.
19985 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19986 Likewise.
19987 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19988 multiarch implementations.
19989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19990 (__libc_ifunc_impl_list): Likewise.
19991 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19992 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19993 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19994 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19995 bzero for PPC32.
19996 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19997 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19998 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19999 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20000 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20001 memset for PPC64.
20002 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20003
07253fcf
AZ
20004 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20006 implementations.
20007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20008 (__libc_ifunc_impl_list): Likewise.
20009 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20010 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20011 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20012 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20013 memcmp for PPC64.
20014
b5beafbc
AZ
20015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20016 multiarch for POWER/PPC64.
20017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20018 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20020 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20021 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20022 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20024 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20025 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20026 memcpy for PPC64.
20027
5e6a4d4b
AZ
20028 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20029 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20030 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20031 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20032 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20033 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20034 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20035 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20036 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20037 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20038 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20039 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20040 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20041 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20042 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20050
ddfab6dc
KK
200512013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20052
20053 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20054
19b5525e
SP
200552013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20056
20057 * benchtests/Makefile (bench): Add exp2 and log2.
20058 (LDLIBS-bench-exp2): Add -lm.
20059 (LDLIBS-bench-log2): Likewise.
20060 * benchtests/exp2-inputs: New inputs file.
20061 * benchtests/log2-inputs: New inputs file.
20062 * benchtests/log-inputs: Add new inputs.
20063 * benchtests/tan-inputs: Likewise.
20064
196f7f5d
SP
200652013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20066
7a74607f
SP
20067 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20068 definition...
57f41c40
AS
20069 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20070 (csloww2): ... from here.
7a74607f 20071
196f7f5d
SP
20072 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20073 instead of structures.
20074 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20075 (POLYNOMIAL): Likewise.
20076 (TAYLOR_SLOW): Likewise.
20077 (__sin): Likewise.
20078 (__cos): Likewise.
20079 (slow1): Likewise.
20080 (slow2): Likewise.
20081 (sloww): Likewise.
20082 (sloww1); Likewise.
20083 (sloww2): Likewise.
20084 (bsloww1): Likewise.
20085 (bsloww2): Likewise.
20086 (cslow2): Likewise.
20087 (csloww): Likewise.
20088 (csloww1): Likewise.
20089 (csloww2): Likewise.
20090
0dfa665c
OB
200912013-12-10 Ondřej Bílka <neleai@seznam.cz>
20092
20093 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20094 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20095 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20096 * malloc/hooks.c (realloc_check): Likewise.
20097
5782a80f
OB
20098 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20099 * malloc/arena.c: Remove PER_THREAD conditional.
20100 [!PER_THREAD]: Remove code.
20101 (ptmalloc_unlock_all2): Likewise.
20102 (ptmalloc_init): Likewise.
20103 (_int_new_arena): Likewise.
20104 (arena_get2): Likewise.
20105 * malloc/hooks.c (__malloc_get_state): Likewise.
20106 (__malloc_set_state): Likewise.
20107 * malloc/malloc.c: Likewise.
20108 (struct malloc_state): Likewise.
20109 (struct malloc_par): Likewise.
20110 (__libc_realloc): Likewise.
20111 (__libc_mallopt): Likewise.
20112
aeb95445
AZ
201132013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20114
20115 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20116
e8349efd
OB
201172013-12-09 Ondřej Bílka <neleai@seznam.cz>
20118
20119 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20120 macro to a function. Check for zero perturb_byte.
20121 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20122
f3eeb3fc 20123 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20124 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20125 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20126 force_reg by atomic_forced_read.
20127 * malloc/arena.c (ptmalloc_init): Likewise.
20128 * malloc/hooks.c (top_check): Likewise.
20129
be2f9009
AZ
201302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20131
20132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20133
e7b914bd
MT
201342013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20135
20136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20137
9f0be4f8
JM
201382013-12-08 Joseph Myers <joseph@codesourcery.com>
20139
20140 * math/auto-libm-test-in: Add tests of lgamma.
20141 * math/auto-libm-test-out: Regenerated.
20142 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20143 (M_LOG_2_SQRT_PIl): Likewise.
20144 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20145 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20146 mpfr_f_f1.
20147 (func_calc_desc): Add mpfr_f_f1 union field.
20148 (ARGS1): New macro.
20149 (ARGS2): Likewise.
20150 (ARGS3): Likewise.
20151 (ARGS4): Likewise.
20152 (RET1): Likewise.
20153 (RET2): Likewise.
20154 (CALC): Likewise.
20155 (FUNC): Likewise.
20156 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20157 (test_functions): Add lgamma.
20158 (calc_generic_results): Handle mpfr_f_f1.
20159 * sysdeps/i386/fpu/libm-test-ulps: Update.
20160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20161
24eeafdb
AZ
201622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20163
20164 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20165 __mpn_add_n for PowerPC64/POWER7.
20166 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20167 __mpn_sub_n for PowerPC64/POWER7.
20168
4a2c0fd4
AZ
20169 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20170 __mpn_addmul_1 for PowerPC64.
20171 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20172 __mpn_submul_1 for PowerPC64.
20173 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20174 for PowerPC64.
20175 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20176 for PowerPC64.
20177
4b5b548c
FS
201782013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20179
20180 [BZ #15089]
20181 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20182
0a3ac0aa
AZ
201832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20184
20185 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20186
ccdc8438
AZ
20187 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20188 add multiarch folders.
20189 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20190 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20191 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20192 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20193 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20194 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20195 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20196 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20197 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20198 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20199 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20206
2e973d99
AZ
20207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20208 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20210 New file.
20211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20212 New file.
20213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20214 multiarch __ieee754_hypot for PowerPC32.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20216 New file.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20218 New file.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20220 multiarch __ieee754_hypotf for PowerPC32.
20221
2d9470b2
AZ
20222 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20223 long_double_symbol only if __logbl is defined.
20224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20225 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20226 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20227 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20229 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20230 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20231 path for implementation.
20232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20235 logb, and logbl multiarch implementations for PowerPC32.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20237 file.
20238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20239 file.
20240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20241 multiarch logb for PowerPC32.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20243 file.
20244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20245 file.
20246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20247 multiarch logbf for PowerPC32.
20248 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20250 file.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20252 multiarch logbl implementation for PowerPC32.
20253
5212ffce
AZ
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20255 and modff multiarch implementations.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20257 New file.
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20259 New file.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20261 multiarch modf for PowerPC32.
20262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20263 New file.
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20265 New file.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20267 multiarch modff for PowerPC32.
20268
79dccf31
AZ
20269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20270 and lrintf multiarch implementations.
20271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20272 New file.
20273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20274 New file.
20275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20276 multiarch lrint for PowerPC32.
20277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20278 file: multiarch lrintf for PowerPC32.
20279
deb66480
AZ
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20281 and lroundf multiarch implementations.
20282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20283 New file.
20284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20285 New file.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20287 New file.
20288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20289 multiarch lround for PowerPC32.
20290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20291 file: multiarch lroundf for PowerPC32.
20292
264b036b
AZ
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20294 copysign and copysignf multiarch implementations.
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20296 New file.
20297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20298 New file.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20300 file: multiarch copysign for PowerPC32.
20301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20302 file: multiarch copysignf for PowerPC32.
20303
d47db6c9
AZ
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20305 and truncf multiarch implementations.
20306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20307 New file.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20309 file.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20311 multiarch trunc for PowerPC32.
20312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20313 New file.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20315 New file.
20316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20317 multiarch truncf for PowerPC32.
20318
ddb60b5a
AZ
20319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20320 and roundf multiarch implementations.
20321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20322 New file.
20323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20324 file.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20326 multiarch round for PowerPC32.
20327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20328 New file.
20329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20330 New file.
20331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20332 multiarch roundf for PowerPC32.
20333
bedcf49b
AZ
20334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20335 and floorf multiarch implementations.
20336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20337 New file.
20338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20339 file.
20340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20341 multiarch floor for PowerPC32.
20342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20343 New file.
20344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20345 New file.
20346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20347 multiarch floorf for PowerPC32.
20348
35ae5b40
AZ
20349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20350 and ceilf multiarch implementations.
20351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20352 New file.
20353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20354 file.
20355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20356 multiarch ceil for PowerPC32.
20357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20358 New file.
20359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20360 file.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20362 multiarch ceilf for PowerPC32.
20363
ae1a4cd9
AZ
20364 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20365 is defined.
20366 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20367 FINITEF is defined.
20368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20369 and finitef multiarch implementations.
20370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20371 New file.
20372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20373 file.
20374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20375 multiarch finite for PowerPC32.
20376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20377 New file.
20378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20379 file: multiarch finitef for PowerPC32.
20380
64fffd65
AZ
20381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20382 and isinff multiarch implementations.
20383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20384 file.
20385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20386 file.
20387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20388 multiarch isinf for PowerPC32.
20389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20390 New file.
20391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20392 multiarch isinff for PowerPC32.
20393
8e4e7ba2
AZ
20394 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20395 alias when __isnan is defined.
20396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20397 and isnanf multiarch implementations.
20398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20399 file.
20400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20401 file.
20402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20403 file.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20405 file.
20406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20407 multiarch isnan for PowerPC32.
20408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20409 New file.
20410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20411 New file.
20412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20413 multiarch isnanf for PowerPC32.
20414
ddba588e
AZ
20415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20416 and sqrtf multiarch implementations.
20417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20418 file.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20420 file.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20422 multiarch sqrt for PowerPC32.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20424 file.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20426 file.
20427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20428 multiarch sqrtf for PowerPC32.
20429
0f96a2f0
AZ
20430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20431 and llroundf multiarch implementations.
20432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20433 New file.
20434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20435 New file.
20436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20437 New file.
20438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20439 file: multiarch llround for PowerPC32.
20440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20441 file: multiarch llroundf for PowerPC32.
20442
c9b5d79e
AZ
20443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20444 multiarch PowerPC32 fpu implementations.
20445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20446 New file.
20447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20448 New file.
20449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20450 multiarch llrint for PowerPC32.
20451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20452 New file.
20453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20454 New file.
20455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20456 file.
20457
9cbb3aab
AZ
20458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20459
ea5a72f8
AZ
20460 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20461 file.
20462 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20463 file.
20464 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20465 file.
20466 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20467 multiarch wordcopy for PPC32.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20469 wordcopy objects.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20471 (__libc_ifunc_impl_list): Likewise.
20472 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20473 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20474 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20475 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20477 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20478
93be09e7
AZ
20479 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20481 file.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20483 file.
20484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20485 file.
20486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20487 multiarch wcscpy for PPC32.
20488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20489 multiarch objects.
20490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20491 (__libc_ifunc_impl_list): Likewise.
20492 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20493 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20494 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20495 sysdeps/powerpc/power6/wcscpy.c.
20496
bb04e529
AZ
20497 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20499 file.
20500 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20501 file.
20502 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20503 file.
20504 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20505 multiarch wcsrchr for PPC32.
20506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20507 multiarch objects.
20508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20509 (__libc_ifunc_impl_list): Likewise.
20510 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20511 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20512 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20513 sysdeps/powerpc/power6/wcsrchr.c.
20514
05b5cd1c
AZ
20515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20516 file.
20517 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20518 file.
20519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20521 multiarch wcschr for PPc32.
20522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20523 multiarch objects.
20524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20525 (__libc_ifunc_impl_list): Likewise.
20526 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20527 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20528 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20529 sysdeps/powerpc/power6/wcschr.c.
20530
ba964147
AZ
20531 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20532 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20533 file.
20534 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20535 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20536 file: multiarch strchr for PPC32.
20537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20538 multiarch objects.
20539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20540 (__libc_ifunc_impl_list): Likewise.
20541
31c81aaa
AZ
20542 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20543 name.
20544 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20545 file.
20546 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20547 file.
20548 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20549 multiarch strchrnul for PPC32.
20550 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20551 multiarch objects.
20552 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20553 (__libc_ifunc_impl_list): Likewise.
20554
0d0607d9
AZ
20555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20556 file.
20557 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20558 multiarch strncasecmp for PPC32.
20559 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20560 file.
20561 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20562 multiarch strncasecmp_l for PPC32.
20563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20564 strncasecmp multiarch objects.
20565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20566 (__libc_ifunc_impl_list): Likewise.
20567
4dfd5c86
AZ
20568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20569 file.
20570 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20571 multiarch strncasecmp for PPC32.
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20573 New file.
20574 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20575 multiarch strcasecmp_l for PPC32.
20576 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20577 multiarch objects.
20578 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20579 (__libc_ifunc_impl_list): Likewise.
20580
a19e01a3
AZ
20581 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20582 file.
20583 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20584 file.
20585 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20586 multiarch strncmp for PPC32.
20587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20588 multiarch objects.
20589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20590 (__libc_ifunc_impl_list): Likewise.
20591
ae9cf7a2
AZ
20592 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20593 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20594 file.
20595 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20596 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20598 multiarch objects.
20599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20600 (__libc_ifunc_impl_list): Likewise.
20601
3148bb7d
AZ
20602 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20603 file.
20604 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20605 file.
20606 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20608 multiarch objects.
20609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20610 (__libc_ifunc_impl_list): Likewise.
20611
7af8b946
AZ
20612 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20613 file.
20614 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20615 file.
20616 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20617 multiarch rawmemchr for PPC32.
20618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20619 multiarch objects.
20620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20621 (__libc_ifunc_impl_list): Likewise.
20622
03a6aa6a
AZ
20623 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20624 file.
20625 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20626 file.
20627 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20628 file: memrchr multiarch for PPC32.
20629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20630 multiarch objects.
20631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20632 (__libc_ifunc_impl_list): Likewise.
20633
1c62e6d9
AZ
20634 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20636 file.
20637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20638 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20639 multiarch memchr for PPC32.
20640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20641 multiarch objects.
20642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20643 (__libc_ifunc_impl_list): Likewise.
20644
87da8bdb
AZ
20645 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20646 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20647 file.
20648 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20649 file.
20650 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20651 file: multiarch mempcpy for PPC32.
20652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20653 multiarch objects.
20654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20655 (__libc_ifunc_impl_list): Likewise.
20656
20ed4714
AZ
20657 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20660 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20661 multiarch bzero for PPC32.
20662 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20663 file.
20664 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20665 file.
20666 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20667 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20668 file: multiarch memset for PPC32.
20669 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20671 memset multiarch objects.
20672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20673 (__libc_ifunc_impl_list): Likewise.
20674
ab3e3a46
AZ
20675 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20676 file.
20677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20678 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20679 memcmp for PPC32.
20680 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20682 multiarch objects.
20683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20684 (__libc_ifunc_impl_list): Likewise.
20685
930de6f0
AZ
20686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20687 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20689 file.
20690 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20691 file.
20692 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20693 file.
20694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20695 multiarch memcpy for PPC32.
20696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20697 multiarch objects.
20698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20699 (__libc_ifunc_impl_list): Likewise.
20700
4c628e00
AZ
20701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20702 support multiarch for POWER/PPC32.
20703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20704 Likewise.
20705 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20707 Implies file to make multiarch folder appers before the fpu and
20708 default folder for power4 configuration.
20709
f4479220
SP
207102013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20711
20712 * scripts/bench.pl: Append volatile keyword to type.
20713
8517800f
KK
207142013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20715
20716 * sysdeps/sh/sotruss-lib.c: New file.
20717 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20718
180138f1
AZ
207192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20720
20721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20722
bbf37bdc
JM
207232013-12-05 Joseph Myers <joseph@codesourcery.com>
20724
e47cc4e0
JM
20725 [BZ #6810]
20726 * math/w_tgamma.c: Include <errno.h>.
20727 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20728 * math/w_tgammaf.c: Include <errno.h>.
20729 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20730 * math/w_tgammal.c: Include <errno.h>.
20731 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20732 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20733 underflow. Add more tgamma tests.
20734 * math/auto-libm-test-out: Regenerated.
20735 * sysdeps/i386/fpu/libm-test-ulps: Update.
20736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20737
bbf37bdc
JM
20738 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20739 sin, sinh, tan, tanh, tgamma, y0 and y1.
20740 * math/auto-libm-test-out: Regenerated.
20741 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20742 (TEST_COND_x86): Likewise.
20743 (M_E2l): Remove macro.
20744 (M_E3l): Likewise.
20745 (M_2_SQRT_PIl): Likewise.
20746 (M_SQRT_PIl): Likewise.
20747 (M_1_DIV_El): Likewise.
20748 (log_test_data): Use AUTO_TESTS_f_f.
20749 (log10_test_data): Likewise.
20750 (log1p_test_data): Likewise.
20751 (log2_test_data): Likewise.
20752 (sin_test_data): Likewise.
20753 (sin_tonearest_test_data): Likewise.
20754 (sin_towardzero_test_data): Likewise.
20755 (sin_downward_test_data): Likewise.
20756 (sin_upward_test_data): Likewise.
20757 (sinh_test_data): Likewise.
20758 (sinh_tonearest_test_data): Likewise.
20759 (sinh_towardzero_test_data): Likewise.
20760 (sinh_downward_test_data): Likewise.
20761 (sinh_upward_test_data): Likewise.
20762 (tan_test_data): Likewise.
20763 (tan_tonearest_test_data): Likewise.
20764 (tan_towardzero_test_data): Likewise.
20765 (tan_downward_test_data): Likewise.
20766 (tan_upward_test_data): Likewise.
20767 (tanh_test_data): Likewise.
20768 (tgamma_test_data): Likewise.
20769 (y0_test_data): Likewise.
20770 (y1_test_data): Likewise.
20771 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20772 (special_real_inputs): Add pi/4.
20773 * sysdeps/i386/fpu/libm-test-ulps: Update.
20774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20775
eb5ad6b9
AZ
207762013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20777
20778 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20779 "longjmp_target" static probes.
20780 (__longjmp): Rename to __longjmp_symbol.
20781 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20782 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20783 on which longjmp to generate.
20784 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20785 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20786 probe.
20787 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20788 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20789 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20790 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20791 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20792 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20794 __longjmp_symbol based on which __longjmp to generate.
20795 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20796 probe.
20797 (setjmp): Rename to setjmp_symbol.
20798 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20799 (_setjmp): Rename to _setjmp_symbol.
20800 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20801 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20802 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20803 which setjmp to generate.
20804 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20805 "longjmp_target" static probes.
20806
d136c6dc
SP
208072013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20808
9298ecba
SP
20809 * benchtests/README: Add note about output arguments.
20810 * benchtests/bench-sincos.c: Remove file.
20811 * benchtests/sincos-inputs: New file.
20812 * scripts/bench.pl: Identify output arguments and define
20813 static variables for them.
20814
232983e9
SP
20815 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20816
d136c6dc
SP
20817 [BZ #15941]
20818 * Makefile (INSTALL): Add install-plain.texi as the primary
20819 dependency.
20820 * manual/install-plain.texi: New file.
20821 * manual/install.texi: Include node directive only for
20822 non-plaintext output.
20823
699ff837
JM
208242013-12-04 Joseph Myers <joseph@codesourcery.com>
20825
ab07cea8
JM
20826 * stdlib/longlong.h: Update from GCC.
20827
699ff837
JM
20828 [BZ #6807]
20829 [BZ #15901]
20830 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20831 * math/w_j0f.c (y0f): Likewise.
20832 * math/w_j0l.c (__y0l): Likewise.
20833 * math/w_j1.c (y1): Likewise.
20834 * math/w_j1f.c (y1f): Likewise.
20835 * math/w_j1l.c (__y1l): Likewise
20836 * math/w_jn.c (yn): Likewise.
20837 * math/w_jnf.c (ynf): Likewise.
20838 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20839 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20840 value for Bessel function domain errors outside _SVID_ mode.
20841 Adjust sign of return value for yn (negative integer, 0).
20842 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20843 by zero in return for negative x and set sign appropriately for
20844 negative n.
20845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20846 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20847 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20848 expectations in error cases.
20849 (y1_test_data): Likewise.
20850 (yn_test_data): Likewise.
20851 * sysdeps/i386/fpu/libm-test-ulps: Update.
20852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20853
5b118558
UW
208542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20855
20856 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20857 "64" to "64-v1". Add "64-v2".
20858 (abi-64-options): Rename to ...
20859 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20860 (abi-64-condition): Rename to ...
20861 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20862 (abi-64-ld-soname): Rename to ...
20863 (abi-64-v1-ld-soname): ... this.
20864 (abi-64-v2-options): Define.
20865 (abi-64-v2-condition): Likewise.
20866 (abi-64-v2-ld-soname): Likewise.
20867 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20868 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20872
61cd8fe4
UW
208732013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20874 Alan Modra <amodra@gmail.com>
20875
20876 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20877 New versions for use with the ELFv2 ABI.
20878 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20879 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20880 declaration.
20881 (struct La_ppc64v2_retval): Likewise.
20882 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20883 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20884 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20885 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20886 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20888 Do not save or restore CR.
20889 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20890 (_dl_profile_resolve): Do no save or restore CR. Support extended
20891 return values for ELFv2 ABI. Fix location of FPR return registers.
20892 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20893 updated values for _CALL_ELF == 2.
20894 (La_regs, La_retval, int_retval): Likewise.
20895
8b8a692c
UW
208962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20897
20898 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20899 (FRAME_MIN_SIZE_PARM): Likewise.
20900 (FRAME_BACKCHAIN): Likewise.
20901 (FRAME_CR_SAVE): Likewise.
20902 (FRAME_LR_SAVE): Likewise.
20903 (FRAME_TOC_SAVE): Likewise.
20904 (FRAME_PARM_SAVE): Likewise.
20905 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20906 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20907 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20908 (call_mcount_parm_offset): New macro.
20909 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20910 (PROF): Use symbolic stack frame offsets.
20911 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20912 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20913 Redefine in terms of FRAME_MIN_SIZE.
20914 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20915 (_dl_profile_resolve): Likewise. Update comment.
20916 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20917 symbols stack frame offsets.
20918 (__sigsetjmp): Likewise.
20919 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20920 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20921 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20922 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20923
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20925 (FRAME_BACKCHAIN): Remove.
20926 (FRAME_CR_SAVE): Likewise.
20927 (FRAME_LR_SAVE): Likewise.
20928 (FRAME_COMPILER_DW): Likewise.
20929 (FRAME_LINKER_DW): Likewise.
20930 (FRAME_TOC_SAVE): Likewise.
20931 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20933 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20934 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20936 (CHECK_SP): Use symbolic stack frame offsets.
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20938 zone" instead of caller's parameter save area for temp storage.
20939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20940 Likewise. Also, use symbolic stack frame offsets.
20941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20942 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20943 our own stack frame instead of the caller's.
20944 (__socket): Use symbolic stack frame offsets.
20945
122b66de
UW
209462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20947 Alan Modra <amodra@gmail.com>
20948
20949 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20950 Define.
57f41c40
AS
20951 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20952 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20953 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20954 New function.
20955 (elf_machine_fixup_plt): Call it.
20956 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20957 reloc arguments.
20958 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20959 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20960 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20961 r2 before calling target.
20962
696caf1d
UW
209632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20964 Alan Modra <amodra@gmail.com>
20965
20966 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20967 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20968 versions of macros to support ELFv2 ABI.
20969 (LOCALENTRY): New macro.
20970 (ENTRY, EALIGN): Use it.
20971 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20972 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20973 fall through into ENTRY entry point.
20974 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20975 Only define if _CALL_ELF != 2.
20976
20977 (elf_machine_matches_host): Verify ABI version matches.
20978 (RTLD_START): Use LOCALENTRY.
20979 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20980 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20981 (PLT_ENTRY_WORDS): New macro.
20982 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20983 (elf_machine_runtime_setup): Support ELFv2 ABI.
20984 (elf_machine_fixup_plt): Likewise.
20985 (elf_machine_plt_conflict): Likewise.
20986 (resolve_ifunc): Likewise.
20987 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20988 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20989 Likewise.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20991 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20993 (makecontext): Support ELFv2 ABI.
20994 * elf/elf.h (EF_PPC64_ABI): Define.
20995
d31beafa
UW
209962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20997
57f41c40
AS
20998 * sysdeps/powerpc/powerpc64/sysdep.h
20999 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21000 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21001 (ENTRY) [ASSEMBLER]: ... but instead here ...
21002 (EALIGN) [ASSEMBLER]: ... and here.
21003 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21004 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21005 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21006 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21007 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21009 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21010 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21012 Use PPC64_LOAD_FUNCPTR.
21013
b525166b
UW
21014 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21015
7ec07d9a
AM
210162013-12-04 Alan Modra <amodra@gmail.com>
21017
21018 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21019 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21020 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21021 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21022
21023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21024 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21025 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21026 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21027 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21028 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21029
5162e7dd
UW
210302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21031
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21033 (__makecontext): Fix incorrect CFI when backtracing out of
21034 context created via makecontext.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21036 (__setcontext): Fix incorrect CFI during switch to new context.
21037 (__novec_setcontext): Likewise.
21038
19e3372b
OB
210392013-12-04 Ondřej Bílka <neleai@seznam.cz>
21040
21041 [BZ #4772]
21042 * time/strptime_l.c (__strptime_internal): Allow modifiers
21043 in strptime.
21044 * time/tst-strptime.c (day_tests): Add testcase.
21045
ecaf142d
SP
210462013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21047
21048 * scripts/bench.pl: Skip over blank lines.
21049
fbf964ae
PE
210502013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21051
21052 [BZ #926]
21053 * manual/time.texi (Calendar Time): Clarify what timezone functions
21054 use.
21055
fa60a674
AZ
210562013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21057
21058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21059
d674f0ef
OB
210602013-12-04 Ondřej Bílka <neleai@seznam.cz>
21061
21062 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21063 implementation.
21064 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21065 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21066 * debug/memset_chk.c (__memset_chk): Likewise.
21067 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21068 * debug/strncpy_chk.c: Likewise.
21069
17dea188
JM
210702013-12-03 Joseph Myers <joseph@codesourcery.com>
21071
749008ff
JM
21072 [BZ #15268]
21073 [BZ #15425]
21074 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21075 (__ieee754_exp): For possibly underflowing results, check size of
21076 result and force underflow exception if required.
21077 * math/auto-libm-test-in: Add more tests of exp.
21078 * math/auto-libm-test-out: Regenerated.
21079 * sysdeps/i386/fpu/libm-test-ulps: Update.
21080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21081
17dea188
JM
21082 [BZ #16283]
21083 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21084 * math/w_exp2f.c (__exp2f): Likewise.
21085 * math/w_exp2l.c (__exp2l): Likewise.
21086 * math/auto-libm-test-in: Do not allow missing errno on exp2
21087 underflow.
21088 * math/auto-libm-test-out: Regenerated.
21089
b20de2c3
OB
210902013-12-03 Ondřej Bílka <neleai@seznam.cz>
21091
21092 [BZ #16274]
21093 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21094 handle filename validation.
21095 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21096 (do_open): Delete.
21097
d8e2dbe3
JM
210982013-12-03 Joseph Myers <joseph@codesourcery.com>
21099
34e16df5
JM
21100 [BZ #6786]
21101 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21102 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21103 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21104 <float.h>.
21105 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21106 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21107 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21109 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21110 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21111 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21112 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21113 Add more erfc tests.
21114 * math/auto-libm-test-out: Regenerated.
21115 * sysdeps/i386/fpu/libm-test-ulps: Update.
21116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21117
d8e2dbe3
JM
21118 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21119 exp2, expm1, j0 and j1.
21120 * math/auto-libm-test-out: Regenerated.
21121 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21122 (erfc_test_data): Likewise.
21123 (exp_test_data): Likewise.
21124 (exp_tonearest_test_data): Likewise.
21125 (exp_towardzero_test_data): Likewise.
21126 (exp_downward_test_data): Likewise.
21127 (exp_upward_test_data): Likewise.
21128 (exp10_test_data): Likewise.
21129 (exp2_test_data): Likewise.
21130 (expm1_test_data): Likewise.
21131 (j0_test_data): Likewise.
21132 (j1_test_data): Likewise.
21133 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21134 (input_flag_type): Add flag_xfail_rounding.
21135 (input_flags): Add xfail-rounding.
21136 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21137 (output_for_one_input_case): Handle flag_xfail_rounding.
21138 * sysdeps/i386/fpu/libm-test-ulps: Update.
21139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140
18d14251
AJ
211412013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21142
3d2e6075 21143 [BZ #16289]
18d14251
AJ
21144 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21145 division by 0.
21146
520d437b
SP
211472013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21148
21149 [BZ #16195]
21150 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21151 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21152 (STAP_PROBE0): New macro.
21153 (STAP_PROBE1): Likewise.
21154 (STAP_PROBE2): Likewise.
21155 (STAP_PROBE3): Likewise.
21156 (STAP_PROBE4): Likewise.
21157
416e0145
OB
211582013-12-02 Ondřej Bílka <neleai@seznam.cz>
21159
21160 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21161
9d17796a
SE
211622013-12-02 Steve Ellcey <sellcey@mips.com>
21163
21164 * benchtests/Makefile (bench): Add sqrt.
21165 (LDLIBS-bench-sqrt): New.
21166 * benchtests/sqrt-input: New.
21167
f524d6a8
PS
211682013-12-02 Pavel Simerda <psimerda@redhat.com>
21169
639a0ef8
PS
21170 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21171 (GAIH_EAI): Likewise.
21172 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21173 (gaih_inet): Likewise.
21174 (getaddrinfo): Don't use GAIH_EAI.
21175
f524d6a8
PS
21176 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21177 (struct gaih): Remove definition.
21178
df3aedaf
SP
211792013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21180
21181 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21182 Use HERRNOP directly.
21183
1ab19dec
AZ
211842013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21185
b42ad38d 21186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21187
176b0c79
JM
211882013-11-30 Joseph Myers <joseph@codesourcery.com>
21189
21190 * math/gen-auto-libm-tests.c (test_functions): Add more
21191 single-argument functions.
21192 (special_fill_pi_2): New function.
21193 (special_fill_minus_pi_2): Likewise.
21194 (special_fill_pi_6): Likewise.
21195 (special_fill_minus_pi_6): Likewise.
21196 (special_fill_pi_3): Likewise.
21197 (special_fill_2pi_3): Likewise.
21198 (special_fill_e): Likewise.
21199 (special_fill_1_e): Likewise.
21200 (special_fill_e_minus_1): Likewise.
21201 (special_real_inputs): Add more special inputs.
21202 (output_for_one_input_case): Do not require ERANGE on underflow to
21203 zero if round-to-nearest result does not underflow to zero, unless
21204 exact results required.
21205 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21206 atan, atanh, cbrt, cos and cosh.
21207 * math/auto-libm-test-out: Regenerated.
21208 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21209 (acos_tonearest_test_data): Likewise.
21210 (acos_towardzero_test_data): Likewise.
21211 (acos_downward_test_data): Likewise.
21212 (acos_upward_test_data): Likewise.
21213 (acosh_test_data): Likewise.
21214 (asin_test_data): Likewise.
21215 (asin_tonearest_test_data): Likewise.
21216 (asin_towardzero_test_data): Likewise.
21217 (asin_upward_test_data): Likewise.
21218 (asinh_test_data): Likewise.
21219 (atan_test_data): Likewise.
21220 (atanh_test_data): Likewise.
21221 (cbrt_test_data): Likewise.
21222 (cos_test_data): Likewise.
21223 (cos_tonearest_test_data): Likewise.
21224 (cos_towardzero_test_data): Likewise.
21225 (cos_downward_test_data): Likewise.
21226 (cos_upward_test_data): Likewise.
21227 (cosh_test_data): Likewise.
21228 (cosh_tonearest_test_data): Likewise.
21229 (cosh_towardzero_test_data): Likewise.
21230 (cosh_downward_test_data): Likewise.
21231 (cosh_upward_test_data): Likewise.
21232 * sysdeps/i386/fpu/libm-test-ulps: Update.
21233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234
ffb536d0
JM
212352013-11-29 Joseph Myers <joseph@codesourcery.com>
21236
2a77a467
JM
21237 [BZ #6787]
21238 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21239 * math/w_exp10f.c (__exp10f): Likewise.
21240 * math/w_exp10l.c (__exp10l): Likewise.
21241 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21242 errno settings in existing tests.
21243
ea3bc4e8
JM
21244 [BZ #14032]
21245 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21246 precision control set to double precision.
21247 * sysdeps/i386/fpu/w_sqrt.c: New file.
21248 * math/auto-libm-test-in: Add more tests.
21249 * math/auto-libm-test-out: Update.
21250
0712c9d8
JM
21251 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21252 (sqrt_test_tonearest): New function.
21253 (sqrt_towardzero_test_data): New variable.
21254 (sqrt_test_towardzero): New function.
21255 (sqrt_downward_test_data): New variable.
21256 (sqrt_test_downward): New function.
21257 (sqrt_upward_test_data): New variable.
21258 (sqrt_test_upward): New function.
21259 (main): Call the new functions.
21260
ffb536d0
JM
21261 * math/gen-auto-libm-tests.c: New file.
21262 * math/auto-libm-test-in: Likewise.
21263 * math/auto-libm-test-out: New generated file.
21264 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21265 variables.
21266 (%beautify): Add generated representations of zero.
21267 (top level): Set $auto_input and call parse_auto_input.
21268 (beautify): Remove trailing "f" from hex float constants.
21269 (parse_args): Handle XFAIL_TEST.
21270 (convert_condition): New function.
21271 (or_value): Likewise.
21272 (or_cond_value): Likewise.
21273 (generate_testfile): Handle AUTO_TESTS_* lines.
21274 (parse_auto_input): New function.
21275 * math/libm-test.inc (XFAIL_TEST): New macro.
21276 (ERRNO_UNCHANGED): Update value.
21277 (ERRNO_EDOM): Likewise.
21278 (ERRNO_ERANGE): Likewise.
21279 (IGNORE_RESULT): Likewise.
21280 (TEST_COND_flt_32): New macro.
21281 (TEST_COND_dbl_64): Likewise.
21282 (TEST_COND_ldbl_96_intel): Likewise.
21283 (TEST_COND_ldbl_96_m68k): Likewise.
21284 (TEST_COND_ldbl_128): Likewise.
21285 (TEST_COND_ldbl_128ibm): Likewise.
21286 (TEST_COND_long32): Likewise.
21287 (TEST_COND_long64): Likewise.
21288 (TEST_COND_before_rounding): Likewise.
21289 (TEST_COND_after_rounding): Likewise.
21290 (enable_test): Handle XFAIL_TEST flag.
21291 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21292 with finite results.
21293 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21294 auto-libm-test-out.
21295
acd98a8e
AK
212962013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21297 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21298
21299 [BZ #16214]
21300 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21301 __tls_get_addr_internal instead of __tls_get_offset in order to
21302 avoid GOT pointer dependency. Make rtld export
21303 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21304 __tls_get_addr since we are a __tls_get_offset platform.
21305 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21306 GOT pointer being set up before.
21307 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21308
3c1c46a6
JM
213092013-11-28 Joseph Myers <joseph@codesourcery.com>
21310
7475aef5
JM
21311 * manual/math.texi (Errors in Math Functions): Document accuracy
21312 goals.
21313
8bca7cd8
JM
21314 [BZ #15004]
21315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21316 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21317 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21318 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21319 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21320 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21321 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21322 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21323 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21324 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21325 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21328 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21329 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21330 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21331
91a1f3fe
JM
21332 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21333 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21334 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21335 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21336 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21337 Likewise.
21338 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21339 Likewise.
21340 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21341 Likewise.
21342 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21343 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21344 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21345 atomic-feupdateenv and flt-rounds.
21346 * sysdeps/powerpc/nofpu/Versions (libc): Add
21347 __atomic_feholdexcept, __atomic_feclearexcept,
21348 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21349 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21350 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21351 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21352 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21353 here.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21355 Update.
21356
c5df7609
JM
21357 * manual/arith.texi (FP Exceptions): Document that exceptions may
21358 not be raised when matherr is used.
21359 (Math Error Reporting): Document overflow in directed rounding
21360 modes. Document that errno may not be set when finite values are
21361 returned on overflow. Document intent to set errno on underflow
21362 only for underflow to zero.
21363
3c1c46a6
JM
21364 [BZ #16271]
21365 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21366 round-to-nearest then adjust result for other rounding modes.
21367 * include/fenv.h (fegetround): Use libm_hidden_proto.
21368 * math/fegetround.c (fegetround): Use libm_hidden_def.
21369 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21370 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21371 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21372 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21373 Likewise.
21374 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21376 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21377 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21378
5a4c6d53
SP
213792013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21380
21381 [BZ #16077]
21382 * nss/Versions (libnss_files): Add
21383 _nss_files_gethostbyname3_r.
21384 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21385 New function.
21386 (HOST_DB_LOOKUP): Remove macro.
21387 (_nss_files_gethostbyname_r): Implement function without the
21388 HOST_DB_LOOKUP macro.
21389 (_nss_files_gethostbyname2_r): Likewise.
21390
897b98ba
OB
213912013-11-28 Ondřej Bílka <neleai@seznam.cz>
21392
21393 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21394
6f476861
UB
213952013-11-26 Uros Bizjak <ubizjak@gmail.com>
21396
21397 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21398 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21399 warning.
21400
bd12ab55
AZ
214012013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21402
21403 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21404 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21405 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21406 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21407 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21408 __fe_nomask_env_priv and attribute_hidden.
21409 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21410 (libc_feupdateenv_test_ppc): Likewise.
21411 (libc_feresetround_ppc): Likewise.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21413 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21414 compat_symbol macro.
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21416 (__fe_nomask_env): Likewise.
21417 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21418
52bb6543
OB
214192013-11-26 Ondřej Bílka <neleai@seznam.cz>
21420
21421 * string/Makefile: Remove ifunc tests.
21422 * string/test-string.h: Define TEST_IFUNC.
21423 * string/test-bcopy-ifunc.c: Remove.
21424 * string/test-bzero-ifunc.c: Likewise.
21425 * string/test-memccpy-ifunc.c: Likewise.
21426 * string/test-memchr-ifunc.c: Likewise.
21427 * string/test-memcmp-ifunc.c: Likewise.
21428 * string/test-memcpy-ifunc.c: Likewise.
21429 * string/test-memmem-ifunc.c: Likewise.
21430 * string/test-memmove-ifunc.c: Likewise.
21431 * string/test-mempcpy-ifunc.c: Likewise.
21432 * string/test-memrchr-ifunc.c: Likewise.
21433 * string/test-memset-ifunc.c: Likewise.
21434 * string/test-rawmemchr-ifunc.c: Likewise.
21435 * string/test-stpcpy-ifunc.c: Likewise.
21436 * string/test-stpncpy-ifunc.c: Likewise.
21437 * string/test-strcasecmp-ifunc.c: Likewise.
21438 * string/test-strcasestr-ifunc.c: Likewise.
21439 * string/test-strcat-ifunc.c: Likewise.
21440 * string/test-strchr-ifunc.c: Likewise.
21441 * string/test-strchrnul-ifunc.c: Likewise.
21442 * string/test-strcmp-ifunc.c: Likewise.
21443 * string/test-strcpy-ifunc.c: Likewise.
21444 * string/test-strcspn-ifunc.c: Likewise.
21445 * string/test-strlen-ifunc.c: Likewise.
21446 * string/test-strncasecmp-ifunc.c: Likewise.
21447 * string/test-strncat-ifunc.c: Likewise.
21448 * string/test-strncmp-ifunc.c: Likewise.
21449 * string/test-strncpy-ifunc.c: Likewise.
21450 * string/test-strnlen-ifunc.c: Likewise.
21451 * string/test-strpbrk-ifunc.c: Likewise.
21452 * string/test-strrchr-ifunc.c: Likewise.
21453 * string/test-strspn-ifunc.c: Likewise.
21454 * string/test-strstr-ifunc.c: Likewise.
21455
ab260039 214562013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21457
21458 * benchtests/Makefile: Remove ifunc tests.
21459 * benchtests/bench-string.h: Define TEST_IFUNC.
21460 * benchtests/bench-bcopy-ifunc.c: Remove.
21461 * benchtests/bench-bzero-ifunc.c: Likewise.
21462 * benchtests/bench-memccpy-ifunc.c: Likewise.
21463 * benchtests/bench-memchr-ifunc.c: Likewise.
21464 * benchtests/bench-memcmp-ifunc.c: Likewise.
21465 * benchtests/bench-memcpy-ifunc.c: Likewise.
21466 * benchtests/bench-memmem-ifunc.c: Likewise.
21467 * benchtests/bench-memmove-ifunc.c: Likewise.
21468 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21469 * benchtests/bench-memrchr-ifunc.c: Likewise.
21470 * benchtests/bench-memset-ifunc.c: Likewise.
21471 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21472 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21473 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21474 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21475 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21476 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21477 * benchtests/bench-strcat-ifunc.c: Likewise.
21478 * benchtests/bench-strchr-ifunc.c: Likewise.
21479 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21480 * benchtests/bench-strcmp-ifunc.c: Likewise.
21481 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21482 * benchtests/bench-strcpy-ifunc.c: Likewise.
21483 * benchtests/bench-strcspn-ifunc.c: Likewise.
21484 * benchtests/bench-strlen-ifunc.c: Likewise.
21485 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21486 * benchtests/bench-strncat-ifunc.c: Likewise.
21487 * benchtests/bench-strncmp-ifunc.c: Likewise.
21488 * benchtests/bench-strncpy-ifunc.c: Likewise.
21489 * benchtests/bench-strnlen-ifunc.c: Likewise.
21490 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21491 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21492 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21493 * benchtests/bench-strspn-ifunc.c: Likewise.
21494 * benchtests/bench-strstr-ifunc.c: Likewise.
21495
214962013-11-26 Ondřej Bílka <neleai@seznam.cz>
21497
ab260039
OB
21498 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21499
d1d9eaf4 215002013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21501
d1d9eaf4
OB
21502 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21503 * rt/aio.h: Likewise.
21504 * sysdeps/gnu/bits/utmp.h: Likewise.
21505 * sysdeps/gnu/bits/utmpx.h: Likewise.
21506 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21507 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21508 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21509 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21510 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21511 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21512 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21513 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21514 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21516 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21517 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21518 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21521 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21522 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21523 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21524 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21525 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21526 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21527 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21528 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21529 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21530 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21532 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21533 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21534 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21535 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21536 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21537 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21538 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21539 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21540 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21541 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21543 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21544 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21545 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21546 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21547 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21548
a7624ed9
CD
215492013-11-25 Carlos O'Donell <carlos@redhat.com>
21550
21551 [BZ #16245]
21552 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21553 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21554
63cfe52b
JM
215552013-11-25 Joseph Myers <joseph@codesourcery.com>
21556
21557 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21558 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21559 Likewise.
21560
41e8926a
AZ
215612013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21562
21563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21564 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21565 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21566 (__fesetround): Remove define.
21567 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21568 rounding and exceptions handling.
21569 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21570 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21571 (__fe_nomask_env): Likewise.
21572 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21573 __fegetround instead of fegetround.
21574 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21575 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21576
6851bd4d
RM
215772013-11-21 Roland McGrath <roland@hack.frob.com>
21578
070906ff
RM
21579 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21580 it's there.
21581
6851bd4d
RM
21582 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21583
84ae135d
MI
215842013-11-21 Meador Inge <meadori@codesourcery.com>
21585
21586 [BZ #11157]
21587 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21588 (encrypt_r): Likewise.
21589 * malloc/obstack.h (obstack_free): Likewise.
21590 * posix/unistd.h (encrypt): Likewise.
21591
daf75146
GM
215922013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21593
21594 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21595 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21596 DL_CALL_DT_FINI() that call the functions directly.
21597 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21598 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21599 * elf/dl-fini.c: Likewise.
21600
10ad46bc
OB
216012013-11-20 Ondřej Bílka <neleai@seznam.cz>
21602
21603 * malloc/hooks.c (memalign_check): Add alignment rounding.
21604 * malloc/malloc.c (_mid_memalign): New function.
21605 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21606 Implement by calling _mid_memalign.
21607 * manual/probes.texi (Memory Allocation Probes): Remove
21608 memory_valloc_retry and memory_pvalloc_retry.
21609
f3fd2628
SP
216102013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21611
4712799f
SP
21612 * locale/programs/locarchive.c (open_archive): Add const
21613 qualifier to ARCHIVEFNAME and copy default fname to
21614 DEFAULT_FNAME.
21615
0417b20f
SP
21616 [BZ #15601]
21617 * libio/tst-widetext.input: Rename Oriya to Odia.
21618 * locale/iso-639.def: Likewise.
21619
f3fd2628
SP
21620 * manual/probes.texi (Mathematical Function Probes): Add
21621 documentation for sin, cos, asin and acos probes.
21622 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21623 (__sin32): Add slowasin probe.
21624 (__cos32): Add slowacos probe.
21625 (__mpsin): Add slowsin probe.
21626 (__mpcos): Add slowcos probe.
21627
73c1ce4f
JM
216282013-11-19 Joseph Myers <joseph@codesourcery.com>
21629
21630 [BZ #15483]
21631 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21632 thread-local __sim_exceptions_thread and global
21633 __sim_exceptions_global.
21634 (__sim_disabled_exceptions): Change to thread-local
21635 __sim_disabled_exceptions_thread and global
21636 __sim_disabled_exceptions_global.
21637 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21638 and global __sim_round_mode_global.
21639 (__simulate_exceptions): Use thread-local floating-point state and
21640 set global state from it as needed.
21641 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21642 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21643 __sim_round_mode_thread.
21644 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21645 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21646 and global __sim_exceptions_global.
21647 (__sim_disabled_exceptions): Change to thread-local
21648 __sim_disabled_exceptions_thread and global
21649 __sim_disabled_exceptions_global.
21650 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21651 and global __sim_round_mode_global.
21652 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21653 (SIM_SET_GLOBAL): Likewise.
21654 * sysdeps/powerpc/soft-fp/sfp-machine.h
21655 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21656 __sim_round_mode_thread.
21657 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21658 __sim_disabled_exceptions_thread.
21659 (__sim_exceptions): Change to __sim_exceptions_thread.
21660 (__sim_disabled_exceptions): Change to
21661 __sim_disabled_exceptions_thread.
21662 (__sim_round_mode): Change to __sim_round_mode_thread.
21663 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21664 thread-local floating-point state and set global state from it as
21665 needed.
21666 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21667 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21668 (__sim_disabled_exceptions): Remove extern declaration.
21669 (feenableexcept): Use thread-local floating-point state and set
21670 global state from it as needed.
21671 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21672 extern declaration.
21673 (__sim_disabled_exceptions): Likewise.
21674 (__sim_round_mode): Likewise.
21675 (__fegetenv): Use thread-local floating-point state.
21676 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21677 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21678 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21679 floating-point state and set global state from it as needed.
21680 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21681 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21682 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21683 Likewise.
21684 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21685 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21686 Likewise.
21687 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21688 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21689 Use __sim_round_mode_thread.
21690 * math/test-fenv-tls.c: New file.
21691 * math/Makefile (tests): Add test-fenv-tls.
21692 ($(objpfx)test-fenv-tls): Depend on
21693 $(common-objpfx)nptl/libpthread.so.
21694
b5449b12
AS
216952013-11-19 Andreas Schwab <schwab@suse.de>
21696
21697 * locale/programs/locale.c (show_info): Decode wordarray elements.
21698 * locale/categories.def (LC_MONETARY): Add element for
21699 _NL_MONETARY_CRNCYSTR.
21700 * locale/C-monetary.c (conversion_rate): New variable.
21701 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21702 element.
21703
e186536b
CM
217042013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21705
21706 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21707 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21708
5c349950
PP
217092013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21710
21711 * elf/Makefile (tst-auxv): New test.
21712 * elf/tst-auxv.c: New
21713 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21714
699df45b
JM
217152013-11-18 Joseph Myers <joseph@codesourcery.com>
21716
21717 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21718 (hidden_proto): Caller changed.
21719 (hidden_tls_proto): New macro.
21720 (libc_hidden_tls_proto): Likewise.
21721 (rtld_hidden_tls_proto): Likewise.
21722 (libm_hidden_tls_proto): Likewise.
21723 (libresolv_hidden_tls_proto): Likewise.
21724 (librt_hidden_tls_proto): Likewise.
21725 (libdl_hidden_tls_proto): Likewise.
21726 (libnss_files_hidden_tls_proto): Likewise.
21727 (libnsl_hidden_tls_proto): Likewise.
21728 (libnss_nisplus_hidden_tls_proto): Likewise.
21729 (libutil_hidden_tls_proto): Likewise.
21730
b7589107
OB
217312013-11-18 Ondřej Bílka <neleai@seznam.cz>
21732
21733 [BZ #10253]
21734 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21735 (decompose_rpath): Defer expansion to fillin_rpath.
21736 (_dl_init_paths): Pass linkmap to fillin_rpath.
21737
250c23bd
RS
217382013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21739
21740 * benchtests/Makefile: Add strsep.
21741 * benchtests/bench-strsep.c: New file: strsep benchtest.
21742 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21743
a7931fcf
AS
217442013-11-18 Andreas Schwab <schwab@suse.de>
21745
21746 * locale/programs/locale.c (show_info) [case byte]: Check for
21747 '\377' instead of '\177'.
21748 * locale/C-monetary.c (not_available): Always use "\377".
21749 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21750 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21751 detect unavailable sign_posn locale elements.
21752 * locale/localeconv.c (__localeconv): For grouping and
21753 mon_grouping handle "\177" and "\377" like no grouping.
21754 (INT_ELEM): New macro. Use it to set all numeric members.
21755 * locale/programs/ld-monetary.c (monetary_read)
21756 <tok_mon_grouping>: Normalize single -1 to the empty string.
21757 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21758 Likewise.
21759
728dab0e
OB
217602013-11-07 Ondřej Bílka <neleai@seznam.cz>
21761
21762 [BZ #16055]
21763 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21764 when we match (nil).
21765 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21766
66294491
JM
217672013-11-16 Joseph Myers <joseph@codesourcery.com>
21768
ce665817
JM
21769 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21770 (NO_TEST_INLINE): Update value.
21771 (ERRNO_UNCHANGED): Likewise.
21772 (ERRNO_EDOM): Likewise.
21773 (ERRNO_ERANGE): Likewise.
21774 (IGNORE_RESULT): Likewise.
21775 (check_float_internal): Check signs of NaN results if
21776 TEST_NAN_SIGN used.
21777 (check_complex): Pass TEST_NAN_SIGN flag through to second
21778 check_float_internal call.
21779 (copysign_test_data): Add tests with quiet NaNs as second
21780 argument. Use TEST_NAN_SIGN.
21781 (fabs_test_data): Add test of negative quiet NaN argument. Use
21782 TEST_NAN_SIGN.
21783 (signbit_test_data): Add tests of quiet NaN argument.
21784 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21785
ee1466a9
JM
21786 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21787 $ignore_result.
21788 (parse_args): Handle function results specified as IGNORE.
21789 * math/libm-test.inc (IGNORE_RESULT): New macro.
21790 (check_float_internal): Do not check numerical result if flag
21791 IGNORE_RESULT set.
21792 (check_complex): Pass through IGNORE_RESULT to second
21793 check_float_internal call.
21794 (check_int): Do not check numerical result if flag IGNORE_RESULT
21795 set.
21796 (check_long): Likewise.
21797 (check_bool): Likewise.
21798 (check_longlong): Likewise.
21799 (lrint_test_data): Add tests of infinite and NaN arguments.
21800 (lrint_tonearest_test_data): Likewise.
21801 (lrint_towardzero_test_data): Likewise.
21802 (lrint_downward_test_data): Likewise.
21803 (lrint_upward_test_data): Likewise.
21804 (llrint_test_data): Likewise.
21805 (llrint_tonearest_test_data): Likewise.
21806 (llrint_towardzero_test_data): Likewise.
21807 (llrint_downward_test_data): Likewise.
21808 (llrint_upward_test_data): Likewise.
21809 (lround_test_data): Likewise.
21810 (llround_test_data): Likewise.
21811
14407b7e
JM
21812 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21813 (ERRNO_UNCHANGED): Update value.
21814 (ERRNO_EDOM): Likewise.
21815 (ERRNO_ERANGE): Likewise.
21816 (NO_TEST_INLINE_FLOAT): New macro.
21817 (NO_TEST_INLINE_DOUBLE): Likewise.
21818 (enable_test): New function.
21819 (RUN_TEST_f_f): Check enable_test before running test.
21820 (RUN_TEST_2_f): Likewise.
21821 (RUN_TEST_fff_f): Likewise.
21822 (RUN_TEST_c_f): Likewise.
21823 (RUN_TEST_f_f1): Likewise.
21824 (RUN_TEST_fF_f1): Likewise.
21825 (RUN_TEST_fI_f1): Likewise.
21826 (RUN_TEST_ffI_f1): Likewise.
21827 (RUN_TEST_c_c): Likewise.
21828 (RUN_TEST_cc_c): Likewise.
21829 (RUN_TEST_f_i): Likewise.
21830 (RUN_TEST_f_i_tg): Likewise.
21831 (RUN_TEST_ff_i_tg): Likewise.
21832 (RUN_TEST_f_b): Likewise.
21833 (RUN_TEST_f_b_tg): Likewise.
21834 (RUN_TEST_f_l): Likewise.
21835 (RUN_TEST_f_L): Likewise.
21836 (RUN_TEST_fFF_11): Likewise.
21837 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21838 conditionals.
21839 (cosh_test_data): Likewise.
21840 (exp_test_data): Likewise.
21841 (expm1_test_data): Likewise.
21842 (hypot_test_data): Likewise.
21843 (pow_test_data): Likewise.
21844 (sinh_test_data): Likewise.
21845 (tanh_test_data): Likewise.
21846 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21847 flags argument.
21848
ca07f197
JM
21849 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21850 tests with quiet NaN input and output.
21851 (acosh_test_data): Likewise.
21852 (asin_test_data): Likewise.
21853 (asinh_test_data): Likewise.
21854 (atan_test_data): Likewise.
21855 (atanh_test_data): Likewise.
21856 (atan2_test_data): Likewise.
21857 (cbrt_test_data): Likewise.
21858 (cos_test_data): Likewise.
21859 (cosh_test_data): Likewise.
21860 (erf_test_data): Likewise.
21861 (erfc_test_data): Likewise.
21862 (exp_test_data): Likewise.
21863 (exp10_test_data): Likewise.
21864 (exp2_test_data): Likewise.
21865 (expm1_test_data): Likewise.
21866 (hypot_test_data): Likewise.
21867 (j0_test_data): Likewise.
21868 (j1_test_data): Likewise.
21869 (jn_test_data): Likewise.
21870 (lgamma_test_data): Likewise.
21871 (log_test_data): Likewise.
21872 (log10_test_data): Likewise.
21873 (log1p_test_data): Likewise.
21874 (log2_test_data): Likewise.
21875 (pow_test_data): Likewise.
21876 (scalb_test_data): Likewise.
21877 (sin_test_data): Likewise.
21878 (sincos_test_data): Likewise.
21879 (sinh_test_data): Likewise.
21880 (tan_test_data): Likewise.
21881 (tanh_test_data): Likewise.
21882 (tgamma_test_data): Likewise.
21883 (y0_test_data): Likewise.
21884 (y1_test_data): Likewise.
21885 (yn_test_data): Likewise.
21886
66294491
JM
21887 [BZ #16167]
21888 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21889 argument being NaN and avoid computations with second argument in
21890 that case.
21891 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21892 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21893 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21894
1820b143
CL
218952013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21896
21897 * locale/iso-639.def: Add Chitwani Tharu (the).
21898
714bd261
AS
218992013-11-14 Andreas Schwab <schwab@suse.de>
21900
21901 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21902 word instead of empty string.
21903
7ab44563
AZ
219042013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21905
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21907 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21909 (__fe_nomask_env): Likewise.
21910
e8470ea2
SE
219112013-11-13 Steve Ellcey <sellcey@mips.com>
21912
21913 * benchtests/bench-timing.h: Include time.h.
21914
17c1d9f0
L
219152013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21916
21917 [BZ #15997]
21918 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21919 to 3.4.0 for x32.
21920 * sysdeps/unix/sysv/linux/configure: Regenerated.
21921
9310c284
JM
219222013-11-13 Joseph Myers <joseph@codesourcery.com>
21923
21924 [BZ #16151]
21925 * stdlib/strtod_l.c (round_and_return): Do not consider
21926 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21927 exponent one less than half the least subnormal exponent.
21928 * stdlib/test-strtod-round-data: Add more tests.
21929 * stdlib/tst-strtod-round.c (tests): Regenerated.
21930
7a2ad8cf
AZ
219312013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21932
21933 [BZ #14143]
21934 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21935 (__fe_mask_env): Likewise.
21936 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21937 libm_hidden_proto and add function prototype.
21938 (__fe_mask_env): Add function prototype.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21940 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21942 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21944 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21945
50727aa7
MS
219462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21947
b2f386c1 21948 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21949 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21950
a615be46
MS
219512013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21952
21953 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21954 of htab_find_slot().
21955
7ddace62
DM
219562013-11-11 David S. Miller <davem@davemloft.net>
21957
21958 [BZ #16150]
21959 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21960 symbol in the non-vis3 case in static builds.
21961 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21962 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21963 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21964 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21965
9182aa67
JK
219662013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21967
21968 [BZ #387]
21969 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21970 it is empty.
21971
450a2e2d
AZ
219722013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21973
b2f386c1
SP
21974 * benchtests/Makefile: Add bench-strtod.
21975 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21976
8ec3f656
AS
219772013-11-11 Andreas Schwab <schwab@suse.de>
21978
21979 [BZ #16153]
21980 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21981 terminating NUL in key length.
21982
76a9b998
AZ
219832013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21984
21985 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21986 Add artificial ODP entry for vDSO symbol for PPC64.
21987 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21988 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21989
e4368156
OB
219902013-11-07 Ondřej Bílka <neleai@seznam.cz>
21991
21992 [BZ #15374]
21993 * nss/getent.c (services_keys): Recognize services starting with digit.
21994
8d6bb57c
DM
219952013-11-06 David S. Miller <davem@davemloft.net>
21996
21997 [BZ #15985]
21998 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21999 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22000
e256c421
WN
220012013-11-06 Will Newton <will.newton@linaro.org>
22002
22003 * manual/memory.texi (Malloc Examples): Remove register
22004 keyword from examples.
22005
f6e12daa 220062013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22007
f6e12daa 22008 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22009
9d880655
AS
220102013-11-04 Joseph Myers <joseph@codesourcery.com>
22011
fd2f9486 22012 [BZ #6981]
9d880655
AS
22013 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22014 depending on [__GCC_IEC_559 > 0].
22015 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22016 depending on [__GCC_IEC_559_COMPLEX > 0].
22017
ae129d3c
CL
220182013-11-03 Chris Leonard <cjl@sugarlabs.org>
22019
22020 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22021 to iso-639.def.
22022
4a15c2a4 220232013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22024
22025 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22026
8b35e35d
OB
220272013-11-01 Ondřej Bílka <neleai@seznam.cz>
22028
22029 [BZ #16112]
22030 * malloc/malloc (malloc_info): Do not handle first bin as
22031 special case.
22032
1d70fd6c
CL
220332013-11-01 Chris Leonard <cjl@sugarlabs.org>
22034
22035 * locale/iso-639.def: Add Central Nahuatl (nhn).
22036
8c5c2600
BH
220372013-11-01 Bruno Haible <bruno@clisp.org>
22038
22039 [BZ #7003]
22040 * manual/math.texi (BSD Random): Specify range upper bound as
22041 in POSIX.
22042
da5579c2
CL
220432013-10-31 Chris Leonard <cjl@sugarlabs.org>
22044
22045 * locale/iso-639.def: Add Meadow Mari (mhr).
22046
5d30d853
OB
220472013-10-31 Ondřej Bílka <neleai@seznam.cz>
22048
22049 [BZ #14752], [BZ #15763]
22050 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22051 Validate name.
22052 * rt/tst_shm.c: Add test for escaping directory.
22053
a4966c61
AS
220542013-10-31 Andreas Schwab <schwab@suse.de>
22055
8a43e768 22056 [BZ #15917]
a4966c61
AS
22057 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22058 followed by 'x' as part of digit sequence.
22059 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22060
28d708c4
MAP
220612013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22062
22063 [BZ #16037]
22064 * configure.ac: allow GNU Make 4.0 and greater.
22065 * configure: Regenerated.
22066
a56ee40b
WN
220672013-10-30 Will Newton <will.newton@linaro.org>
22068
22069 [BZ #16038]
22070 * malloc/hooks.c (memalign_check): Limit alignment to the
22071 maximum representable power of two.
22072 * malloc/malloc.c (__libc_memalign): Likewise.
22073 * malloc/tst-memalign.c (do_test): Add test for very
22074 large alignment values.
22075 * malloc/tst-posix_memalign.c (do_test): Likewise.
22076
c6e4925d
OB
220772013-10-30 Ondřej Bílka <neleai@seznam.cz>
22078
22079 [BZ #11087]
22080 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22081 (munmap_chunk): Likewise.
22082 (mremap_chunk): Likewise.
22083
220842013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22085
8a43e768 22086 [BZ #15799]
bbea82f7
OB
22087 * stdlib/div.c (div): Remove obsolete code.
22088 * stdlib/ldiv.c (ldiv): Likewise.
22089 * stdlib/lldiv.c (lldiv): Likewise.
22090
977f4b31
SP
220912013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22092
22093 [BZ #16071]
22094 * nss/nss_files/files-XXX.c (get_contents_ret): New
22095 enumerator.
22096 (get_contents): New function.
22097 (internal_getent): Use it. Expand size of LINEBUFLEN.
22098
cb8a6dbd
MF
220992013-10-30 Mike Frysinger <vapier@gentoo.org>
22100
22101 * configure.in: Moved to ...
22102 * configure.ac: ... here. Change reference to configure.in
22103 to configure.ac.
22104 * sysdeps/arm/preconfigure.ac: ... here.
22105 configure.in to configure.ac.
22106 * sysdeps/gnu/configure.in: Moved to ...
22107 * sysdeps/gnu/configure.ac: ... here.
22108 * sysdeps/i386/configure.in: Moved to ...
22109 * sysdeps/i386/configure.ac: ... here.
22110 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22111 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22112 * sysdeps/mach/configure.in: Moved to ...
22113 * sysdeps/mach/configure.ac: ... here.
22114 * sysdeps/mach/hurd/configure.in: Moved to ...
22115 * sysdeps/mach/hurd/configure.ac: ... here.
22116 * sysdeps/powerpc/configure.in: Moved to ...
22117 * sysdeps/powerpc/configure.ac: ... here.
22118 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22119 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22120 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22121 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22122 * sysdeps/s390/s390-32/configure.in: Moved to ...
22123 * sysdeps/s390/s390-32/configure.ac: ... here.
22124 * sysdeps/s390/s390-64/configure.in: Moved to ...
22125 * sysdeps/s390/s390-64/configure.ac: ... here.
22126 * sysdeps/sh/configure.in: Moved to ...
22127 * sysdeps/sh/configure.ac: ... here.
22128 * sysdeps/sparc/configure.in: Moved to ...
22129 * sysdeps/sparc/configure.ac: ... here.
22130 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22131 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22132 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22133 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22134 * sysdeps/x86_64/configure.in: Moved to ...
22135 * sysdeps/x86_64/configure.ac: ... here.
22136 * sysdeps/x86_64/preconfigure.in: Moved to ...
22137 * sysdeps/x86_64/preconfigure.ac: ... here.
22138 * aclocal.m4: Change reference to configure.in to configure.ac.
22139 * config.h.in: Likewise.
22140 * manual/install.texi: Likewise.
22141 * manual/maint.texi: Likewise.
22142 * Makefile: Likewise.
22143 * malloc/Makefile: Likewise.
22144 * nscd/Makefile: Likewise.
22145 * Makeconfig: Change reference to configure.in and
22146 preconfigure.in to configure.ac and preconfigure.ac
22147 respectively.
22148 * INSTALL: Regenerated.
22149 * configure: Likewise.
22150 * sysdeps/gnu/configure: Likewise.
22151 * sysdeps/i386/configure: Likewise.
22152 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22153 * sysdeps/mach/configure: Likewise.
22154 * sysdeps/mach/hurd/configure: Likewise.
22155 * sysdeps/powerpc/configure: Likewise.
22156 * sysdeps/powerpc/powerpc32/configure: Likewise.
22157 * sysdeps/powerpc/powerpc64/configure: Likewise.
22158 * sysdeps/s390/s390-32/configure: Likewise.
22159 * sysdeps/s390/s390-64/configure: Likewise.
22160 * sysdeps/sh/configure: Likewise.
22161 * sysdeps/sparc/configure: Likewise.
22162 * sysdeps/unix/sysv/linux/configure: Likewise.
22163 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22164 * sysdeps/x86_64/configure: Likewise.
22165 * sysdeps/x86_64/preconfigure: Likewise.
22166
36a4953a
AS
221672013-10-29 Andreas Schwab <schwab@suse.de>
22168
22169 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22170
c79a1204
SP
221712013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22172
dfa1b402
SP
22173 * benchtests/pow-inputs: Add new inputs.
22174
54f73d9c
SP
22175 * benchtests/exp-inputs: Add new inputs.
22176
c79a1204
SP
22177 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22178 conditional check for return value.
22179 (__cos32): Likewise.
22180
67beb545 221812013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22182
22183 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22184 to provide a boost for large inputs with word alignment.
22185 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22186 implementation based on optimized PPC64 strcpy.
22187 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22188 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22189 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22190 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22191
151659f6
OB
221922013-10-25 Ondřej Bílka <neleai@seznam.cz>
22193
482a077e 22194 [BZ #2801]
151659f6
OB
22195 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22196
10b0f26b
OB
221972013-10-25 Ondřej Bílka <neleai@seznam.cz>
22198
22199 [BZ #14876]
22200 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22201 * time/tst-strptime.c (day_tests): Add testcase.
22202
ca42d35e
OB
222032013-10-25 Ondřej Bílka <neleai@seznam.cz>
22204
482a077e 22205 [BZ #14029]
ca42d35e
OB
22206 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22207
52e6d801
FB
222082013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22209
22210 [BZ #16074]
22211 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22212 MAP_FAILED on error.
22213
7cbcdb36
SP
222142013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22215
22216 [BZ #16072]
22217 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22218 heap for large requests.
22219
894f3f10
AM
222202013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22221
22222 [BZ #9954]
22223 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22224 result if the result has no associated interface.
22225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22226 interface for all 127.X.Y.Z addresses.
22227
b85545a6
CL
222282013-10-24 Chris Leonard <cjl@sugarlabs.org>
22229
22230 * locale/iso-639.def: Add Ligurian (lij)
22231
d1f23d46
OB
222322013-10-21 Ondřej Bílka <neleai@seznam.cz>
22233
22234 [BZ #15825]
22235 * sunrpc/rpc_main.c: Document rpcgen -5.
22236
4db5b08f
MS
222372013-10-19 Michael Stahl <mstahl@redhat.com>
22238
22239 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22240
a471e96a
OB
222412013-10-19 Ondřej Bílka <neleai@seznam.cz>
22242
d1f23d46 22243 [BZ #10278]
a471e96a
OB
22244 * posix/glob.c: Match only directories when trailing slash is present.
22245 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22246 (main): Add testcase.
22247
45c30c61
OB
222482013-10-19 Ondřej Bílka <neleai@seznam.cz>
22249
22250 [BZ #15670]
22251 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22252
484c12fb
CD
222532013-10-18 Carlos O'Donell <carlos@redhat.com>
22254
3d7dc513
CD
22255 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22256 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22257 AUTH_DES and cindex for FIPS 140-2.
22258 (DES Encryption): Add cindex FIPS 46-3.
22259
484c12fb
CD
22260 * locale/locarchive.h (struct locarhandle): Add fname.
22261 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22262 if an optional argument was specified to --list-archive,
22263 otherwise NULL.
22264 * locale/programs/locarchive.c (show_archive_content): Take new
22265 argument fname and pass it via ah.fname to open_archive.
22266 * locale/programs/localedef.h: Update decl.
22267 (open_archive): If AH->fname is non-null, open that file
22268 rather than the default file name, and don't ignore ENOENT.
22269 (create_archive): Set AH.fname to NULL.
22270 (delete_locales_from_archive): Likewise.
22271 (add_locales_to_archive): Likewise.
22272 * locale/programs/locfile.c (write_all_categories): Likewise.
22273
3c8325fb
JM
222742013-10-18 Joseph Myers <joseph@codesourcery.com>
22275 Aldy Hernandez <aldyh@redhat.com>
22276
22277 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22278 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22279 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22280 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22281 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22282 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22284 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22285 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22287 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22288 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22289 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22290 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22291 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22292 Likewise.
22293 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22294 Likewise.
22295 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22296 Likewise.
22297 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22298 Likewise.
22299 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22300 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22301 Likewise.
22302 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22303 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22304 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22305 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22306 Likewise.
22307 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22308 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22309 * sysdeps/powerpc/preconfigure: Likewise.
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22311 Likewise.
22312 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22313 Replace contents of file by #include of <fenv_libc.h>.
22314 * sysdeps/powerpc/soft-fp/sfp-machine.h
22315 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22316 and <sys/prctl.h>.
22317 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22322 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22330 Allow copysignl PLT reference to be missing.
22331
5abe0682
RS
223322013-10-18 Richard Sandiford <richard@codesourcery.com>
22333 Joseph Myers <joseph@codesourcery.com
22334
22335 [BZ #15948]
22336 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22337 single character.
22338 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22339
c7738d08
SP
223402013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22341
22342 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22343 * elf/tst-tls1.c: Likewise.
22344 * elf/tst-tls10.h: Likewise.
22345 * elf/tst-tls14.c: Likewise.
22346 * elf/tst-tls2.c: Likewise.
22347 * elf/tst-tls3.c: Likewise.
22348 * elf/tst-tls4.c: Likewise.
22349 * elf/tst-tls5.c: Likewise.
22350 * elf/tst-tls6.c: Likewise.
22351 * elf/tst-tls7.c: Likewise.
22352 * elf/tst-tls8.c: Likewise.
22353 * elf/tst-tls9.c: Likewise.
22354 * elf/tst-tlsmod1.c: Likewise.
22355 * elf/tst-tlsmod13.c: Likewise.
22356 * elf/tst-tlsmod13a.c: Likewise.
22357 * elf/tst-tlsmod14a.c: Likewise.
22358 * elf/tst-tlsmod16a.c: Likewise.
22359 * elf/tst-tlsmod16b.c: Likewise.
22360 * elf/tst-tlsmod2.c: Likewise.
22361 * elf/tst-tlsmod3.c: Likewise.
22362 * elf/tst-tlsmod4.c: Likewise.
22363 * elf/tst-tlsmod5.c: Likewise.
22364 * elf/tst-tlsmod6.c: Likewise.
22365
0bfcf2c7
OB
223662013-10-18 Ondřej Bílka <neleai@seznam.cz>
22367
22368 [BZ #12486]
22369 * malloc/malloc.c: remove checks for statistics.
22370
264aad1e
OB
223712013-10-17 Ondřej Bílka <neleai@seznam.cz>
22372
22373 [BZ #15277]
22374 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22375 * inet/tst-network.c: Add testcase.
22376
b957ced8
AS
223772013-10-17 Andreas Schwab <schwab@suse.de>
22378
22379 [BZ #15218]
22380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22381 to determine canonical name.
22382
c5d5d574
OB
223832013-10-17 Ondřej Bílka <neleai@seznam.cz>
22384
22385 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22386 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22409 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22410 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22415 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22443
e5c2c2d0
JM
224442013-10-17 Joseph Myers <joseph@codesourcery.com>
22445
22446 [BZ #16041]
22447 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22448 make result into a quiet NaN.
22449
51ca9e29
JM
224502013-10-16 Joseph Myers <joseph@codesourcery.com>
22451
22452 * soft-fp/adddf3.c: Fix horizontal whitespace.
22453 * soft-fp/addsf3.c: Likewise.
22454 * soft-fp/addtf3.c: Likewise.
22455 * soft-fp/divdf3.c: Likewise.
22456 * soft-fp/divsf3.c: Likewise.
22457 * soft-fp/divtf3.c: Likewise.
22458 * soft-fp/double.h: Likewise.
22459 * soft-fp/eqdf2.c: Likewise.
22460 * soft-fp/eqsf2.c: Likewise.
22461 * soft-fp/eqtf2.c: Likewise.
22462 * soft-fp/extenddftf2.c: Likewise.
22463 * soft-fp/extended.h: Likewise.
22464 * soft-fp/extendsfdf2.c: Likewise.
22465 * soft-fp/extendsftf2.c: Likewise.
22466 * soft-fp/extendxftf2.c: Likewise.
22467 * soft-fp/fixdfdi.c: Likewise.
22468 * soft-fp/fixdfsi.c: Likewise.
22469 * soft-fp/fixdfti.c: Likewise.
22470 * soft-fp/fixsfdi.c: Likewise.
22471 * soft-fp/fixsfsi.c: Likewise.
22472 * soft-fp/fixsfti.c: Likewise.
22473 * soft-fp/fixtfdi.c: Likewise.
22474 * soft-fp/fixtfsi.c: Likewise.
22475 * soft-fp/fixtfti.c: Likewise.
22476 * soft-fp/fixunsdfdi.c: Likewise.
22477 * soft-fp/fixunsdfsi.c: Likewise.
22478 * soft-fp/fixunsdfti.c: Likewise.
22479 * soft-fp/fixunssfdi.c: Likewise.
22480 * soft-fp/fixunssfsi.c: Likewise.
22481 * soft-fp/fixunssfti.c: Likewise.
22482 * soft-fp/fixunstfdi.c: Likewise.
22483 * soft-fp/fixunstfsi.c: Likewise.
22484 * soft-fp/fixunstfti.c: Likewise.
22485 * soft-fp/floatdidf.c: Likewise.
22486 * soft-fp/floatdisf.c: Likewise.
22487 * soft-fp/floatditf.c: Likewise.
22488 * soft-fp/floatsidf.c: Likewise.
22489 * soft-fp/floatsisf.c: Likewise.
22490 * soft-fp/floatsitf.c: Likewise.
22491 * soft-fp/floattidf.c: Likewise.
22492 * soft-fp/floattisf.c: Likewise.
22493 * soft-fp/floattitf.c: Likewise.
22494 * soft-fp/floatundidf.c: Likewise.
22495 * soft-fp/floatundisf.c: Likewise.
22496 * soft-fp/floatunditf.c: Likewise.
22497 * soft-fp/floatunsidf.c: Likewise.
22498 * soft-fp/floatunsisf.c: Likewise.
22499 * soft-fp/floatunsitf.c: Likewise.
22500 * soft-fp/floatuntidf.c: Likewise.
22501 * soft-fp/floatuntisf.c: Likewise.
22502 * soft-fp/floatuntitf.c: Likewise.
22503 * soft-fp/fmadf4.c: Likewise.
22504 * soft-fp/fmasf4.c: Likewise.
22505 * soft-fp/fmatf4.c: Likewise.
22506 * soft-fp/gedf2.c: Likewise.
22507 * soft-fp/gesf2.c: Likewise.
22508 * soft-fp/getf2.c: Likewise.
22509 * soft-fp/ledf2.c: Likewise.
22510 * soft-fp/lesf2.c: Likewise.
22511 * soft-fp/letf2.c: Likewise.
22512 * soft-fp/muldf3.c: Likewise.
22513 * soft-fp/mulsf3.c: Likewise.
22514 * soft-fp/multf3.c: Likewise.
22515 * soft-fp/negdf2.c: Likewise.
22516 * soft-fp/negsf2.c: Likewise.
22517 * soft-fp/negtf2.c: Likewise.
22518 * soft-fp/op-1.h: Likewise.
22519 * soft-fp/op-2.h: Likewise.
22520 * soft-fp/op-4.h: Likewise.
22521 * soft-fp/op-8.h: Likewise.
22522 * soft-fp/op-common.h: Likewise.
22523 * soft-fp/quad.h: Likewise.
22524 * soft-fp/single.h: Likewise.
22525 * soft-fp/soft-fp.h: Likewise.
22526 * soft-fp/sqrtdf2.c: Likewise.
22527 * soft-fp/sqrtsf2.c: Likewise.
22528 * soft-fp/sqrttf2.c: Likewise.
22529 * soft-fp/subdf3.c: Likewise.
22530 * soft-fp/subsf3.c: Likewise.
22531 * soft-fp/subtf3.c: Likewise.
22532 * soft-fp/truncdfsf2.c: Likewise.
22533 * soft-fp/trunctfdf2.c: Likewise.
22534 * soft-fp/trunctfsf2.c: Likewise.
22535 * soft-fp/trunctfxf2.c: Likewise.
22536 * soft-fp/unorddf2.c: Likewise.
22537 * soft-fp/unordsf2.c: Likewise.
22538 * soft-fp/unordtf2.c: Likewise.
22539
9ebb0332
JM
225402013-10-15 Joseph Myers <joseph@codesourcery.com>
22541
22542 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22543 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22544
4b1a6d8b
OB
225452013-10-15 Ondřej Bílka <neleai@seznam.cz>
22546
22547 * elf/dl-libc.c: Clear initfini list after freeing.
22548
1e145589
JM
225492013-10-14 Joseph Myers <joseph@codesourcery.com>
22550
22551 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22552 * soft-fp/addsf3.c: Likewise.
22553 * soft-fp/addtf3.c: Likewise.
22554 * soft-fp/divdf3.c: Likewise.
22555 * soft-fp/divsf3.c: Likewise.
22556 * soft-fp/divtf3.c: Likewise.
22557 * soft-fp/double.h: Likewise.
22558 * soft-fp/eqdf2.c: Likewise.
22559 * soft-fp/eqsf2.c: Likewise.
22560 * soft-fp/eqtf2.c: Likewise.
22561 * soft-fp/extenddftf2.c: Likewise.
22562 * soft-fp/extended.h: Likewise.
22563 * soft-fp/extendsfdf2.c: Likewise.
22564 * soft-fp/extendsftf2.c: Likewise.
22565 * soft-fp/extendxftf2.c: Likewise.
22566 * soft-fp/fixdfdi.c: Likewise.
22567 * soft-fp/fixdfsi.c: Likewise.
22568 * soft-fp/fixdfti.c: Likewise.
22569 * soft-fp/fixsfdi.c: Likewise.
22570 * soft-fp/fixsfsi.c: Likewise.
22571 * soft-fp/fixsfti.c: Likewise.
22572 * soft-fp/fixtfdi.c: Likewise.
22573 * soft-fp/fixtfsi.c: Likewise.
22574 * soft-fp/fixtfti.c: Likewise.
22575 * soft-fp/fixunsdfdi.c: Likewise.
22576 * soft-fp/fixunsdfsi.c: Likewise.
22577 * soft-fp/fixunsdfti.c: Likewise.
22578 * soft-fp/fixunssfdi.c: Likewise.
22579 * soft-fp/fixunssfsi.c: Likewise.
22580 * soft-fp/fixunssfti.c: Likewise.
22581 * soft-fp/fixunstfdi.c: Likewise.
22582 * soft-fp/fixunstfsi.c: Likewise.
22583 * soft-fp/fixunstfti.c: Likewise.
22584 * soft-fp/floatdidf.c: Likewise.
22585 * soft-fp/floatdisf.c: Likewise.
22586 * soft-fp/floatditf.c: Likewise.
22587 * soft-fp/floatsidf.c: Likewise.
22588 * soft-fp/floatsisf.c: Likewise.
22589 * soft-fp/floatsitf.c: Likewise.
22590 * soft-fp/floattidf.c: Likewise.
22591 * soft-fp/floattisf.c: Likewise.
22592 * soft-fp/floattitf.c: Likewise.
22593 * soft-fp/floatundidf.c: Likewise.
22594 * soft-fp/floatundisf.c: Likewise.
22595 * soft-fp/floatunsidf.c: Likewise.
22596 * soft-fp/floatunsisf.c: Likewise.
22597 * soft-fp/floatuntidf.c: Likewise.
22598 * soft-fp/floatuntisf.c: Likewise.
22599 * soft-fp/floatuntitf.c: Likewise.
22600 * soft-fp/fmadf4.c: Likewise.
22601 * soft-fp/fmasf4.c: Likewise.
22602 * soft-fp/fmatf4.c: Likewise.
22603 * soft-fp/gedf2.c: Likewise.
22604 * soft-fp/gesf2.c: Likewise.
22605 * soft-fp/getf2.c: Likewise.
22606 * soft-fp/ledf2.c: Likewise.
22607 * soft-fp/lesf2.c: Likewise.
22608 * soft-fp/letf2.c: Likewise.
22609 * soft-fp/muldf3.c: Likewise.
22610 * soft-fp/mulsf3.c: Likewise.
22611 * soft-fp/multf3.c: Likewise.
22612 * soft-fp/negdf2.c: Likewise.
22613 * soft-fp/negsf2.c: Likewise.
22614 * soft-fp/negtf2.c: Likewise.
22615 * soft-fp/op-1.h: Likewise.
22616 * soft-fp/op-2.h: Likewise.
22617 * soft-fp/op-4.h: Likewise.
22618 * soft-fp/op-8.h: Likewise.
22619 * soft-fp/op-common.h: Likewise.
22620 * soft-fp/quad.h: Likewise.
22621 * soft-fp/single.h: Likewise.
22622 * soft-fp/soft-fp.h: Likewise.
22623 * soft-fp/sqrtdf2.c: Likewise.
22624 * soft-fp/sqrtsf2.c: Likewise.
22625 * soft-fp/sqrttf2.c: Likewise.
22626 * soft-fp/subdf3.c: Likewise.
22627 * soft-fp/subsf3.c: Likewise.
22628 * soft-fp/subtf3.c: Likewise.
22629 * soft-fp/truncdfsf2.c: Likewise.
22630 * soft-fp/trunctfdf2.c: Likewise.
22631 * soft-fp/trunctfsf2.c: Likewise.
22632 * soft-fp/trunctfxf2.c: Likewise.
22633 * soft-fp/unorddf2.c: Likewise.
22634 * soft-fp/unordsf2.c: Likewise.
22635 * soft-fp/unordtf2.c: Likewise.
22636
17c48a60
OB
226372013-10-14 Ondřej Bílka <neleai@seznam.cz>
22638
22639 [BZ #15672]
22640 * misc/error.c (error_tail): Fix possible buffer overflow.
22641
cabba934
OB
226422013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22643
22644 [BZ #13028]
22645 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22646 address.
22647
94bf958a
PM
226482013-10-14 P. J. McDermott <pj@pehjota.net>
22649
22650 [BZ #832]
22651 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22652 testing pipefail option.
22653
71b4dea7
JM
226542013-10-12 Joseph Myers <joseph@codesourcery.com>
22655
22656 * soft-fp/double.h: Indent preprocessor directives inside #if.
22657 * soft-fp/extended.h: Likewise.
22658 * soft-fp/op-2.h: Likewise.
22659 * soft-fp/op-4.h: Likewise.
22660 * soft-fp/op-common.h: Likewise.
22661 * soft-fp/quad.h: Likewise.
22662 * soft-fp/single.h: Likewise.
22663 * soft-fp/soft-fp.h: Likewise.
22664
55602758
YC
226652013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22666
22667 * iconv/iconv_prog.c: Fix typos.
22668 * stdio-common/psiginfo-data.h: Likewise.
22669
9cd83302
RT
226702013-10-12 Reuben Thomas <rrt@sc3d.org>
22671
22672 [BZ #15764]
22673 * locale/setlocale.c: Fix typo.
22674
99fd9f47
JM
226752013-10-12 Joseph Myers <joseph@codesourcery.com>
22676
b7ea74f0
JM
22677 [BZ #16036]
22678 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22679 signaling NaN arguments.
22680 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22681 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22682
8a509447
JM
22683 [BZ #14910]
22684 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22685 unordered operands.
22686 * soft-fp/gesf2.c (__gesf2): Likewise.
22687 * soft-fp/getf2.c (__getf2): Likewise.
22688 * soft-fp/ledf2.c (__ledf2): Likewise.
22689 * soft-fp/lesf2.c (__lesf2): Likewise.
22690 * soft-fp/letf2.c (__letf2): Likewise.
22691
98998e9f
JM
22692 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22693 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22694 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22695 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22696 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22697 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22698 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22699 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22700 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22701 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22702 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22703 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22704 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22705 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22706 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22707 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22708 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22709 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22710 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22711 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22712 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22713 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22714 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22715 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22716 * soft-fp/floattidf.c (__floattidf): Likewise.
22717 * soft-fp/floattisf.c (__floattisf): Likewise.
22718 * soft-fp/floattitf.c (__floattitf): Likewise.
22719 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22720 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22721 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22722 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22723 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22724 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22725 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22726 * soft-fp/gesf2.c (__gesf2): Likewise.
22727 * soft-fp/getf2.c (__getf2): Likewise.
22728 * soft-fp/ledf2.c (__ledf2): Likewise.
22729 * soft-fp/lesf2.c (__lesf2): Likewise.
22730 * soft-fp/letf2.c (__letf2): Likewise.
22731
8edc4a11
JM
22732 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22733 Undefine and redefine.
22734 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22735 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22736 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22737 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22738 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22739 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22740 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22741 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22742 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22743 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22744 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22745 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22746 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22747 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22748 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22749
8399acaf
JM
22750 [BZ #16032]
22751 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22752 without decrementing exponent if mantissa >= that for the
22753 denominator, not >.
22754 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22755 denominator, not >. Decrement exponent in < case instead of
22756 incrementing in >= case.
22757 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22758 without decrementing exponent if mantissa >= that for the
22759 denominator, not >.
22760
99fd9f47
JM
22761 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22762 computing saturated result for unsigned overflow.
22763
10e1cf6b
SP
227642013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22765 Jeff Law <law@redhat.com>
22766
22767 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22768 (atan2Mp): Add systemtap probe marker.
22769 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22770 (__ieee754_log): Add systemtap probe marker.
22771 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22772 (atanMp): Add systemtap probe marker.
22773 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22774 (tanMp): Add systemtap probe marker.
22775 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22776 (__slowexp): Add systemtap probe marker.
22777 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22778 (__slowpow): Add systemtap probe marker.
22779 * manual/probes.texi: Document probes.
22780
3d110c7c
EB
227812013-10-11 Eric Biggers <ebiggers3@gmail.com>
22782
22783 [BZ #15362]
22784 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22785 written.
22786 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22787 written.
22788 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22789 written to buffer but not flushed.
22790 * libio/iofwrite_u.c: Likewise.
22791 * libio/iopadn.c: Return bytes returned even if EOF was
22792 encountered.
22793 * libio/iowpadn.c: Likewise.
22794 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22795 if _IO_padn does not write the whole buffer.
22796 [!COMPILE_WPRINTF] (PAD): Likewise.
22797
75b4202a
DM
227982013-10-10 David S. Miller <davem@davemloft.net>
22799
22800 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22801 directory block.
22802
6c6352e6
JM
228032013-10-10 Joseph Myers <joseph@codesourcery.com>
22804
33b853c3
JM
22805 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22806 instead of FSF address.
22807 * soft-fp/fixdfti.c: Likewise.
22808 * soft-fp/fixsfti.c: Likewise.
22809 * soft-fp/fixtfti.c: Likewise.
22810 * soft-fp/fixunsdfti.c: Likewise.
22811 * soft-fp/fixunssfti.c: Likewise.
22812 * soft-fp/fixunstfti.c: Likewise.
22813 * soft-fp/floattidf.c: Likewise.
22814 * soft-fp/floattisf.c: Likewise.
22815 * soft-fp/floattitf.c: Likewise.
22816 * soft-fp/floatuntidf.c: Likewise.
22817 * soft-fp/floatuntisf.c: Likewise.
22818 * soft-fp/floatuntitf.c: Likewise.
22819 * soft-fp/trunctfxf2.c: Likewise.
22820
6c6352e6
JM
22821 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22822 * soft-fp/fixdfti.c: Likewise.
22823 * soft-fp/fixsfti.c: Likewise.
22824 * soft-fp/fixtfti.c: Likewise.
22825 * soft-fp/fixunsdfti.c: Likewise.
22826 * soft-fp/fixunssfti.c: Likewise.
22827 * soft-fp/fixunstfti.c: Likewise.
22828 * soft-fp/floattidf.c: Likewise.
22829 * soft-fp/floattisf.c: Likewise.
22830 * soft-fp/floattitf.c: Likewise.
22831 * soft-fp/floatuntidf.c: Likewise.
22832 * soft-fp/floatuntisf.c: Likewise.
22833 * soft-fp/floatuntitf.c: Likewise.
22834 * soft-fp/trunctfxf2.c: Likewise.
22835
3bf78b71
DM
228362013-10-10 David S. Miller <davem@davemloft.net>
22837
22838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22839
6f10289e
JM
228402013-10-10 Joseph Myers <joseph@codsourcery.com>
22841
bd878fc0
JM
22842 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22843 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22844 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22845 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22846 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22847 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22848 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22849
6f10289e
JM
22850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22851 for NaNs before doing comparisons on argument.
22852 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22853 Likewise.
22854
321e2684
WN
228552013-10-10 Will Newton <will.newton@linaro.org>
22856
22857 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22858 passed to _int_memalign does not overflow.
22859
40fefba1
TR
228602013-10-10 Torvald Riegel <triegel@redhat.com>
22861
22862 * scripts/bench.pl: Add include-sources directive.
22863 * benchtests/README: Update documentation.
22864
2ae21ed2
JM
228652013-10-10 Joseph Myers <joseph@codesourcery.com>
22866
dcc2dd3f
JM
22867 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22868 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22869 instead of FP_INIT_ROUNDMODE.
22870 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22871 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22872
2ae21ed2
JM
22873 [BZ #16034]
22874 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22875 copy class of input value.
22876 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22877 not handle exceptions.
22878 * soft-fp/negsf2.c (__negsf2): Likewise.
22879 * soft-fp/negtf2.c (__negtf2): Likewise.
22880 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22881
cb8f9562
JM
228822013-10-09 Joseph Myers <joseph@codesourcery.com>
22883
22884 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22885 semicolon. From Linux kernel.
22886
5b60c59d
AB
228872013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22888
22889 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22890
b86835ca
YC
228912013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22892
22893 [BZ #156]
22894 * manual/socket.texi: Added statement about buffer
22895 for gethostbyname2_r.
22896
e7044ea7
OB
228972013-10-08 Ondřej Bílka <neleai@seznam.cz>
22898
22899 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22900 Use .p2align directive instead, throughout.
22901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22902 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22903 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22904 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22906 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22907 * sysdeps/x86_64/strchr.S: Likewise.
22908 * sysdeps/x86_64/strrchr.S: Likewise.
22909
09544cbc
SP
229102013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22911
88576635
SP
22912 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22913
e7b2d1dd
SP
22914 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22915
09544cbc
SP
22916 * sysdeps/generic/math_private.h (__mpsin1): Remove
22917 declaration.
22918 (__mpcos1): Likewise.
22919 (__mpsin): New argument __range_reduce.
22920 (__mpcos): Likewise.
22921 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22922 (slow): Use __mpsin and __mpcos.
22923 (slow1): Likewise.
22924 (slow2): Likewise.
22925 (sloww): Likewise.
22926 (sloww1): Likewise.
22927 (sloww2): Likewise.
22928 (bsloww): Likewise.
22929 (bsloww1): Likewise.
22930 (bsloww2): Likewise.
22931 (cslow2): Likewise.
22932 (csloww): Likewise.
22933 (csloww1): Likewise.
22934 (csloww2): Likewise.
22935 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22936 range_reduce. Merge in __mpsin1.
22937 (__mpcos): Likewise.
22938 (__mpsin1): Remove.
22939 (__mpcos1): Likewise.
22940
7602d070
JM
229412013-10-07 Joseph Myers <joseph@codesourcery.com>
22942
22943 * locale/loadlocale.c (_nl_intern_locale_data): Use
22944 LOCFILE_ALIGNED_P.
22945 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22946 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22947 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22948 obstack data is appropriately aligned.
22949 (obstack_int32_grow_fast): Likewise.
22950 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22951 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22952 (add_locale_uint32_array): Likewise.
22953
a357259b
SP
229542013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22955
22956 * benchtests/Makefile: Remove ARGLIST and RET variables.
22957 ($(objpfx)bench-%.c): Pass only function name to the script.
22958 * benchtests/README: Update documentation.
22959 * benchtests/acos-inputs: Add new directives.
22960 * benchtests/acosh-inputs: Likewise.
22961 * benchtests/asin-inputs: Likewise.
22962 * benchtests/asinh-inputs: Likewise.
22963 * benchtests/atan-inputs: Likewise.
22964 * benchtests/atanh-inputs: Likewise.
22965 * benchtests/cos-inputs: Likewise.
22966 * benchtests/cosh-inputs: Likewise.
22967 * benchtests/exp-inputs: Likewise.
22968 * benchtests/log-inputs: Likewise.
22969 * benchtests/pow-inputs: Likewise.
22970 * benchtests/rint-inputs: Likewise.
22971 * benchtests/sin-inputs: Likewise.
22972 * benchtests/sinh-inputs: Likewise.
22973 * benchtests/tan-inputs: Likewise.
22974 * benchtests/tanh-inputs: Likewise.
22975 * scripts/bench.pl: Add support for new directives.
22976
9ec1b13d
AM
229772013-10-07 Alan Modra <amodra@gmail.com>
22978
22979 * README: Fix careless merge.
22980
8b7d57cd
AM
229812013-10-05 Alan Modra <amodra@gmail.com>
22982
22983 * NEWS: Mention powerpc64le support and bugs fixed.
22984 * README: Both big-endian and little-endian powerpc64 supported.
22985
7b7bab13
ST
229862013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22987
57f41c40
AS
22988 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22989 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22990 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22991 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22992
d39baad1
RA
229932013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22994
22995 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22996 match prototype.
22997
cd78f7e7
JM
229982013-10-04 Joseph Myers <joseph@codesourcery.com>
22999
29d73d86
JM
23000 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23001 Move -mhard-float appending from
23002 ports/sysdeps/powerpc/powerpc32/Makefile.
23003 [$(with-fp) = yes] (ASFLAGS): Likewise.
23004 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23005 * sysdeps/powerpc/nofpu: Move directory from
23006 ports/sysdeps/powerpc/nofpu.
23007 * sysdeps/powerpc/soft-fp: Move directory from
23008 ports/sysdeps/powerpc/soft-fp.
23009 * sysdeps/powerpc/powerpc32/405: Move directory from
23010 ports/sysdeps/powerpc/powerpc32/405.
23011 * sysdeps/powerpc/powerpc32/440: Move directory from
23012 ports/sysdeps/powerpc/powerpc32/440.
23013 * sysdeps/powerpc/powerpc32/464: Move directory from
23014 ports/sysdeps/powerpc/powerpc32/464.
23015 * sysdeps/powerpc/powerpc32/476: Move directory from
23016 ports/sysdeps/powerpc/powerpc32/476.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23018 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23020 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23022 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23024 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23026 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23027 * README: Update for powerpc-*-linux-gnu software floating point
23028 support in libc.
23029
e246b347
JM
23030 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23031 case to powerpc/powerpc32*.
23032 * sysdeps/unix/sysv/linux/configure: Regenerated.
23033
89c2003e
JM
23034 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23035 (_FPU_MASK_OM): Define as 0x04.
23036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23037 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23038 0x00c10080.
23039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23040 0x0000003c.
23041 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23042
cd78f7e7
JM
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23044 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23045 getcontext_e500.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23047 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23048 setcontext_e500.
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23050 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23051 and setcontext_e500.
23052
c755294d
CL
230532013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23054
23055 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23056
e16d221c
SP
230572013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23058
23059 * manual/threads.texi (Default Thread Attributes): Fix typo.
23060
215c7d43
WN
230612013-10-04 Will Newton <will.newton@linaro.org>
23062
23063 * malloc/Makefile: Add tst-memalign.
23064 * malloc/tst-memalign.c: New file.
23065
27d0461b
WN
23066 * malloc/tst-posix_memalign.c: Add comments.
23067 (do_test): Add comments and call free on all potentially
23068 allocated pointers. Add space after cast.
23069
1bc92709
WN
23070 * malloc/tst-pvalloc.c: Add comments.
23071 (do_test): Add comments and call free on all potentially
23072 allocated pointers. Remove duplicate check for NULL pointer.
23073 Add space after cast.
23074
66a9be9d
WN
23075 * malloc/tst-valloc.c: Add comments.
23076 (do_test): Add comments and call free on all potentially
23077 allocated pointers. Remove duplicate check for NULL pointer.
23078 Add space after cast.
23079
4cb81307
AM
230802013-10-04 Alan Modra <amodra@gmail.com>
23081
23082 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23083 Use stdint types in rather than __attribute__((mode())).
23084 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23085
f8e3e9f3
AM
230862013-10-04 Alan Modra <amodra@gmail.com>
23087
23088 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23089 Correct handling of unaligned relocs for little-endian.
23090 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23091
8f9ebb08
AM
230922013-10-04 Alan Modra <amodra@gmail.com>
23093
23094 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23095 * configure: Regenerate.
23096 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23097 * shlib-versions: Likewise.
23098
0edf96c2
AM
230992013-10-04 Alan Modra <amodra@gmail.com>
23100
23101 * string/tester.c (test_memrchr): Increment reported test cycle.
23102
e0f7a380
AM
231032013-10-04 Alan Modra <amodra@gmail.com>
23104
23105 * string/test-memcpy.c (do_one_test): When reporting errors, print
23106 string address and don't overrun end of string.
23107
466b0393
AM
231082013-10-04 Alan Modra <amodra@gmail.com>
23109
23110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23111 insrdi. Make better use of reg selection to speed exit slightly.
23112 Schedule entry path a little better. Remove useless "are we done"
23113 checks on entry to main loop. Handle wrapping around zero address.
23114 Correct main loop count. Handle single left-over word from main
23115 loop inline rather than by using loop_small. Remove extra word
23116 case in loop_small caused by wrong loop count. Add little-endian
23117 support.
23118 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23120 cache hint.
23121 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23123 support. Avoid rlwimi.
23124 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23125
3be87c77
AM
231262013-10-04 Alan Modra <amodra@gmail.com>
23127
23128 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23129 insrdi. Formatting.
3be87c77
AM
23130 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23131 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23132 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23133 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23134 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23135 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23136
759cfef3
AM
231372013-10-04 Alan Modra <amodra@gmail.com>
23138
23139 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23140 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23142 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23143 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23144 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23145 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23146 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23148 use of regs. Use power7 mtocrf. Tidy function tails.
23149
fe6e95d7
AM
231502013-10-04 Alan Modra <amodra@gmail.com>
23151
23152 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23153 Formatting. Consistently use rXXX register defines or rN defines.
23154 Use early exit labels that avoid restoring unused non-volatile regs.
23155 Make cr field use more consistent with rWORDn compares. Rename
23156 regs used as shift registers for unaligned loop, using rN defines
23157 for short lifetime/multiple use regs.
23158 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23159 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23160 addi 1,1,64 to pop stack frame. Simplify return value code.
23161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23162
664318c3
AM
231632013-10-04 Alan Modra <amodra@gmail.com>
23164
23165 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23166 support. Correct typos, formatting. Optimize tail. Use insrdi
23167 rather than rlwimi.
23168 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23170 little-endian support. Correct typos.
23171 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23172 rather than rlwimi.
23173 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23174 in loop and entry code to keep "and." results.
23175 (strchr): Add little-endian support. Comment. Move cntlzd
23176 earlier in tail.
23177 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23178
43b84013
AM
231792013-10-04 Alan Modra <amodra@gmail.com>
23180
23181 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23182 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23183 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23184 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23185
8a7413f9
AM
231862013-10-04 Alan Modra <amodra@gmail.com>
23187
23188 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23189 (rTMP): Define as r11.
23190 (strcmp): Add little-endian support. Optimise tail.
23191 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23192 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23193 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23195 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23197 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23198
33ee81de
AM
231992013-10-04 Alan Modra <amodra@gmail.com>
23200
23201 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23202 little-endian support. Remove unnecessary "are we done" tests.
23203 Handle "s" wrapping around zero and extremely large "size".
23204 Correct main loop count. Handle single left-over word from main
23205 loop inline rather than by using small_loop. Correct comments.
23206 Delete "zero" tail, use "end_max" instead.
23207 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23208
db9b4570
AM
232092013-10-04 Alan Modra <amodra@gmail.com>
23210
23211 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23212 support. Don't branch over align.
23213 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23214 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23215 support. Rearrange tmp reg use to suit. Comment.
23216 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23217
f7c399cf
AM
232182013-10-04 Alan Modra <amodra@gmail.com>
23219
23220 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23221
0b2c2ace
AM
232222013-10-04 Alan Modra <amodra@gmail.com>
23223
23224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23225 conditional form of branch and link when obtaining pc.
23226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23227
02f04a6c
AM
232282013-10-04 Alan Modra <amodra@gmail.com>
23229
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23231 HIWORD/LOWORD.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23234
9b874b2f
AM
232352013-10-04 Alan Modra <amodra@gmail.com>
23236
23237 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23238 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23239 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23240 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23241 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23242 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23243 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23244 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23245 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23246 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23247
be1e5d31
AB
232482013-10-04 Anton Blanchard <anton@au1.ibm.com>
23249 Alistair Popple <alistair@ozlabs.au.ibm.com>
23250 Alan Modra <amodra@gmail.com>
23251
23252 [BZ #15723]
23253 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23254 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23255 _dl_hwcap access for little-endian.
23256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23257 destroy vmx regs when saving unaligned.
23258 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23259 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23260 destroy vmx regs when saving unaligned.
23261
fef13a78
AM
232622013-10-04 Alan Modra <amodra@gmail.com>
23263
23264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23265 Don't use a union to pack hi/low value.
23266
76a66d51
AB
232672013-10-04 Anton Blanchard <anton@au1.ibm.com>
23268
23269 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23270 for little-endian.
23271 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23272 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23273 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23274 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23275 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23276
6a31fe7f
AM
232772013-10-04 Alan Modra <amodra@gmail.com>
23278
23279 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23280 constants to usual value for .cst8 section, and remove redundant
23281 high address load.
23282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23283 constant for 0x1p52. Load little-endian words of double from
23284 correct stack offsets.
23285
7b88401f
AM
232862013-10-04 Alan Modra <amodra@gmail.com>
23287
23288 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23289 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23290 words of double from correct stack offsets.
23291 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23292 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23293 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23295 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23297 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23298 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23299 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23300 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23301 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23302 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23303 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23304 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23305 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23306 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23307 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23308
9c008155
AM
233092013-10-04 Alan Modra <amodra@gmail.com>
23310
23311 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23312 64-bit int/double union.
23313 (_FPU_SETCW): Likewise.
23314 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23315 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23316
da13146d
AM
233172013-10-04 Alan Modra <amodra@gmail.com>
23318
23319 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23320 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23321
603e8410
AM
233222013-10-04 Alan Modra <amodra@gmail.com>
23323
23324 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23325 use vector int constants.
23326 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23327
4a28b3ca
AB
233282013-10-04 Anton Blanchard <anton@au1.ibm.com>
23329
23330 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23331 array with long long.
23332 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23333 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23334 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23335 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23336 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23337 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23338 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23339 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23340 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23341 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23342 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23343 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23344 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23345
2ca85d2b
AB
233462013-10-04 Anton Blanchard <anton@au1.ibm.com>
23347
23348 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23349 (__signbit): Likewise. Correct for little-endian.
23350 (__signbitl): Call __signbit.
23351 (lrint): Correct for little-endian.
23352 (lrintf): Call lrint.
23353
62a728ae
AM
233542013-10-04 Alan Modra <amodra@gmail.com>
23355
23356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23357 union 32-bit int array member with 64-bit int array.
23358 (t515, tm256): Double rather than long double.
23359 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23360
32c301df
AM
233612013-10-04 Alan Modra <amodra@gmail.com>
23362
23363 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23364 Delete.
23365 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23367 version of math_ldbl.h.
23368
650ef4bd
AM
233692013-10-04 Alan Modra <amodra@gmail.com>
23370
23371 [BZ #15734], [BZ #15735]
23372 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23373 all uses of ieee875 long double macros and unions. Simplify test
23374 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23375 ldbl_extract_mantissa value for ix,iy exponents. Properly
23376 normalize after ldbl_extract_mantissa, and don't add hidden bit
23377 already handled. Don't treat low word of ieee854 mantissa like
23378 low word of IBM long double and mask off bit when testing for
23379 zero.
23380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23381 all uses of ieee875 long double macros and unions. Simplify tests
23382 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23383 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23384 two1022, instead use their values. Recognise that tests for large
23385 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23386 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23387 Rewrite all uses of ieee875 long double macros and unions. Simplify
23388 test for 0.0L and nan. Correct negation.
23389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23390 ieee875 long double macros and unions. Correct output for large
23391 magnitude x. Correct absolute value calculation.
23392 (__erfcl): Likewise.
23393 * math/libm-test.inc: Add tests for errors discovered in IBM long
23394 double versions of fmodl, remainderl, erfl and erfcl.
23395
765714ca
AM
233962013-10-04 Alan Modra <amodra@gmail.com>
23397
23398 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23399 all uses of ieee854 long double macros and unions. Simplify tests
23400 for long doubles that are fully specified by the high double.
23401 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23402 Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23404 Remove dead code too.
23405 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23406 (__ieee754_ynl): Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23410 Remove dead code too.
23411 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23415 Simplify.
23416 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23417 Simplify.
23418 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23421 Comment on variable precision.
23422 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23424 Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23429 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23430
4ebd120c
AM
234312013-10-04 Alan Modra <amodra@gmail.com>
23432
23433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23434 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23435 all uses of ieee854 long double macros and unions.
23436 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23438 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23440 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23442 Likewise.
23443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23447 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23448 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23449 Simplify sign and nan test too.
23450 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23451 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23452 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23453 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23454 Likewise.
23455 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23456 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23457 Likewise.
23458 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23459 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23460 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23461 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23462 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23464
1b6adf88
AM
234652013-10-04 Alan Modra <amodra@gmail.com>
23466
23467 * stdio-common/printf_size.c (__printf_size): Don't use
23468 union ieee854_long_double in fpnum union.
23469 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23470 signbit macro to retrieve sign from long double.
23471 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23472 retrieve sign from long double.
23473 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23474 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23475 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23476 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23477 * math/test-misc.c (main): Don't use union ieee854_long_double.
23478
4cf69995
AM
234792013-10-04 Alan Modra <amodra@gmail.com>
23480
23481 [BZ #15680]
23482 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23483 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23484 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23485 calculation. Remove unnecessary test for denormal exponent.
23486 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23487 Correct handling of denormals. Avoid undefined shift behaviour.
23488 Correct normalisation of low mantissa when low double is denormal.
23489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23490 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23491 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23492 Correct normalisation of low mantissa. Test for overflow of high
23493 mantissa and normalise.
23494 (ldbl_nearbyint): Use more readable constant for two52.
23495 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23496 (__mpn_construct_long_double): Fix test for overflow of high
23497 mantissa and correct normalisation. Avoid undefined shift.
23498
9605ca6c
AM
234992013-10-04 Alan Modra <amodra@gmail.com>
23500
23501 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23502 (union ibm_extended_long_double): Define as an array of ieee754_double.
23503 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23504 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23505 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23514
975569d0
JM
235152013-10-03 Joseph Myers <joseph@codesourcery.com>
23516
d3d23756
JM
23517 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23518 page size instead of calling getpagesize.
23519
975569d0
JM
23520 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23521 (LOCFILE_ALIGN_MASK): Likewise.
23522 (LOCFILE_ALIGN_UP): Likewise.
23523 (LOCFILE_ALIGNED_P): Likewise.
23524 * locale/programs/ld-collate.c (collate_output): Use the new
23525 macros instead of __alignof__ (int32_t).
23526 * locale/weight.h (findidx): Likewise.
23527
b1fe1f2b
OB
235282013-10-03 Ondřej Bílka <neleai@seznam.cz>
23529
23530 [BZ #431]
23531 * manual/string.texi: Fix strncat and wcsncat.
23532
5f855e35
BM
235332013-10-03 Brooks Moses <bmoses@google.com>
23534
23535 [BZ #15915]
23536 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23537 * Makerules: ...here, and adjust associated comments.
23538
3cef6009
WN
235392013-10-02 Will Newton <will.newton@linaro.org>
23540
23541 * malloc/Makefile: Add tst-pvalloc.
23542 * malloc/tst-pvalloc.c: New file.
23543
7815420b
WN
235442013-10-02 Will Newton <will.newton@linaro.org>
23545
23546 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23547 improve test coverage.
23548
4868b204
WN
235492013-10-02 Will Newton <will.newton@linaro.org>
23550
23551 * malloc/Makefile: Add tst-posix_memalign.
23552 * malloc/tst-posix_memalign.c: New file.
23553
29c793b3
EB
235542013-10-01 Eric Blake <eblake@redhat.com>
23555
23556 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23557 Use __THROWNL rather than __THROW on static functions.
23558
fd967522
PM
235592013-09-30 Petr Machata <pmachata@redhat.com>
23560
23561 * elf/elf.h (R_AARCH64_ABS16): New macro.
23562 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23563 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23564 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23565 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23566 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23567 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23568 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23569 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23570 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23571 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23572 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23573 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23574 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23575 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23576 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23577 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23578 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23579 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23580 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23581 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23582 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23583 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23584 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23585 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23586 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23587 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23588 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23589 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23590 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23591 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23592 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23593 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23594 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23595 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23596 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23597 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23598 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23599 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23600 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23601 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23602 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23603 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23604 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23605 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23606 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23607 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23608 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23609 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23610 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23611 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23612 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23613 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23614 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23615 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23616 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23617 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23618 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23619 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23620 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23621 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23622 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23623 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23624 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23625 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23626 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23627 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23628 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23629 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23630 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23631 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23632 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23633 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23634 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23635 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23636 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23637 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23638 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23639 (R_AARCH64_TLSDESC_LDR): Likewise.
23640 (R_AARCH64_TLSDESC_ADD): Likewise.
23641 (R_AARCH64_TLSDESC_CALL): Likewise.
23642
b2179107
AS
236432013-09-30 Andreas Schwab <schwab@suse.de>
23644
23645 [BZ #15048]
23646 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23647 the nss database lookup.
23648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23650
47f28d0a
MF
236512013-09-28 Mike Frysinger <vapier@gentoo.org>
23652
23653 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23654
236552013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23656
23657 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23658 ${Bash-specific parameter/pattern/string} parameter expansion.
23659 * sysdeps/unix/make-syscalls.sh: Likewise.
23660
f4518a17
KK
236612013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23662
23663 * sysdeps/sh/stackguard-macros.h: New file.
23664
dc1a95c7
OB
236652013-09-26 Ondřej Bílka <neleai@seznam.cz>
23666
23667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23669 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23670 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23672 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23673
5ebbff8f
AZ
236742013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23675
23676 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23677 Fix thread ID register.
23678
4fd2cf9f
JM
236792013-09-25 Joseph Myers <joseph@codesourcery.com>
23680
23681 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23682 [POSIX || UNIX98]: Require rather than permitting all symbols from
23683 <time.h>.
23684 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23685 element of struct sched_param.
23686 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23687 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23688 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23689 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23690 constant.
23691
12c22bc4
OL
236922013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23693
23694 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23695 argument calculation.
23696
a03d8ea7
JM
236972013-09-24 Joseph Myers <joseph@codesourcery.com>
23698
23699 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23700 Expect macro.
23701 [POSIX] (pthread_attr_t): Do not require type.
23702 [POSIX] (pthread_cond_t): Likewise.
23703 [POSIX] (pthread_condattr_t): Likewise.
23704 [POSIX] (pthread_key_t): Likewise.
23705 [POSIX] (pthread_mutex_t): Likewise.
23706 [POSIX] (pthread_mutexattr_t): Likewise.
23707 [POSIX] (pthread_once_t): Likewise.
23708 [POSIX] (pthread_t): Likewise.
23709 [POSIX-based standards] (pthread_atfork): Expect function.
23710
6055173a
JM
237112013-09-24 Joseph Myers <joseph@codesourcery.com>
23712 Richard Sandiford <richard@codesourcery.com>
23713
23714 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23715 (swap_endianness_p): New extern variable.
23716 (set_big_endian): New inline function.
23717 (maybe_swap_uint32): Likewise.
23718 (maybe_swap_uint32_array): Likewise.
23719 (maybe_swap_uint32_obstack): Likewise.
23720 * locale/programs/locfile.c: Include <stdbool.h>.
23721 (swap_endianness_p): New variable.
23722 (add_locale_uint32): Call maybe_swap_uint32.
23723 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23724 (write_locale_data): Call maybe_swap_uint32_array.
23725 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23726 maybe_swap_uint32.
23727 (obstack_int32_grow_fast): Likewise.
23728 (output_weightwc): Call maybe_swap_uint32_obstack.
23729 (collate_output): Likewise.
23730 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23731 (OPT_LITTLE_ENDIAN): Likewise.
23732 (options): Add --little-endian and --big-endian options.
23733 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23734 * locale/programs/locarchive.c: Include "locfile.h".
23735 (GET): New macro.
23736 (SET): Likewise.
23737 (INC): Likewise.
23738 (create_archive): Use the new macros to access fields of
23739 structures directly mapped from or written to locale archives.
23740 (oldlocrecentcmp): Likewise.
23741 (enlarge_archive): Likewise.
23742 (insert_name): Likewise.
23743 (add_alias): Likewise.
23744 (add_locale): Likewise.
23745 (delete_locales_from_archive): Likewise.
23746 (show_archive_content): Likewise.
23747 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23748 locale data.
23749
39bf0bb4
RM
237502013-09-24 Roland McGrath <roland@hack.frob.com>
23751
23752 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23753 http://www.gnu.org/doc/freemanuals.texi.
23754 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23755
f02eed10
WN
237562013-09-24 Will Newton <will.newton@linaro.org>
23757
23758 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23759 macro.
23760
a3a6c312
JM
237612013-09-23 Joseph Myers <joseph@codesourcery.com>
23762
23763 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23764 unsigned char.
23765
107375ac
MR
237662013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23767
23768 * manual/threads.texi (POSIX Threads): Fix a typo.
23769
141f3a77
SP
237702013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23771
303e567a
SP
23772 [BZ #14547]
23773 * string/tst-strcoll-overflow.c: New test case.
23774 * string/Makefile (xtests): Add tst-strcoll-overflow.
23775 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23776 cache if string sizes may cause integer overflow.
23777
141f3a77
SP
23778 [BZ #14547]
23779 * string/strcoll_l.c (coll_seq): New members rule, idx,
23780 save_idx and back_us.
23781 (get_next_seq_nocache): New function.
23782 (do_compare_nocache): New function.
23783 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23784 when malloc fails.
23785
c61b4d41
CD
237862013-09-23 Carlos O'Donell <carlos@redhat.com>
23787
0b1f8e35
CD
23788 [BZ #15754]
23789 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23790 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23791 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23792
c61b4d41
CD
23793 [BZ #15754]
23794 * elf/Makefile (tests): Add tst-ptrguard1.
23795 (tests-static): Add tst-ptrguard1-static.
23796 (tst-ptrguard1-ARGS): Define.
23797 (tst-ptrguard1-static-ARGS): Define.
23798 * elf/tst-ptrguard1.c: New file.
23799 * elf/tst-ptrguard1-static.c: New file.
23800 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23801 * sysdeps/i386/stackguard-macros.h: Likewise.
23802 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23803 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23804 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23805 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23806 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23807 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23808
238092013-09-23 Hector Marco <hecmargi@upv.es>
23810 Ismael Ripoll <iripoll@disca.upv.es>
23811 Carlos O'Donell <carlos@redhat.com>
23812
23813 [BZ #15754]
23814 * sysdeps/generic/stackguard-macros.h: Define
23815 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23816 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23817 Define __pointer_chk_guard_local.
23818 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23819 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23820
f5f4e7b4
VV
238212013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23822
23823 [BZ #15859]
23824 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23825
5bb43a43
AS
238262013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23827
23828 * include/string.h (__ffs): Declare as hidden.
23829 * string/ffs.c (__ffs): Define as hidden.
23830 * sysdeps/i386/ffs.c (__ffs): Likewise.
23831 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23832 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23833 * sysdeps/s390/ffs.c (__ffs): Likewise.
23834 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23835
3ea5be54
AO
238362013-09-20 Alexandre Oliva <aoliva@redhat.com>
23837
ffb89e53
AO
23838 * NEWS: Mention malloc probes.
23839
322dea08
AO
23840 * malloc/arena.c (new_heap): New memory_heap_new probe.
23841 (grow_heap): New memory_heap_more probe.
23842 (shrink_heap): New memory_heap_less probe.
23843 (heap_trim): New memory_heap_free probe.
23844 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23845 (systrim): New memory_sbrk_less probe.
23846 * manual/probes.texi: Document them.
23847
655673f3
AO
23848 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23849 * manual/probes.texi: Document it.
23850
35fed6f1
AO
23851 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23852 (__libc_realloc): Add memory_realloc_retry probe.
23853 (__libc_memalign): Add memory_memalign_retry probe.
23854 (__libc_valloc): Add memory_valloc_retry probe.
23855 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23856 (__libc_calloc): Add memory_calloc_retry probe.
23857 * manual/probes.texi: Document them.
23858
6999d38c
AO
23859 * malloc/arena.c (get_free_list): Add probe
23860 memory_arena_reuse_free_list.
23861 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23862 and memory_arena_reuse.
23863 (arena_get2) [!PER_THREAD]: Likewise.
23864 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23865 memory_arena_reuse_realloc.
23866 * manual/probes.texi: Document them.
23867
0653427f
AO
23868 * malloc/malloc.c (__libc_free): Add
23869 memory_mallopt_free_dyn_thresholds probe.
23870 (__libc_mallopt): Add multiple memory_mallopt probes.
23871 * manual/probes.texi: Document them.
23872
3ea5be54
AO
23873 * malloc/malloc.c: Include stap-probe.h.
23874 (__libc_mallopt): Add memory_mallopt probe.
23875 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23876 * manual/probes.texi: New.
23877 * manual/Makefile (chapters): Add probes.
23878 * manual/threads.texi: Set next node.
23879
e35696c3 238802013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23881
e35696c3
CL
23882 [BZ #15963, #13985]
23883 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23884 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23885 Add `Chinese' to `nan' entry name.
23886
4aafb73c
SP
238872013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23888
23889 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23890 (POLYNOMIAL): Likewise.
23891 (TAYLOR_SINCOS): Likewise.
23892 (TAYLOR_SLOW): Likewise.
23893 (__sin): Use TAYLOR_SINCOS.
23894 (__cos): Likewise.
23895 (slow): Use TAYLOR_SLOW.
23896 (sloww): Likewise.
23897 (bsloww): Likewise.
23898 (csloww): Likewise.
23899
d84f25c7
LD
239002013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23901
23902 * stdlib/strtod_l.c: Fix buffer overrun.
23903
5eea0404
SP
239042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23905
7849ff93
SP
23906 * benchtests/Makefile (bench): Add sincos.
23907 * benchtests/bench-sincos.c: New file.
23908
cfa3c886
SP
23909 * math/libm-test.inc (cos_test_data): New test inputs.
23910 (sin_test_data): Likewise.
23911
b348e1e3
SP
23912 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23913 macro.
23914 (__sin): Use it.
23915 (__cos): Likewise.
23916 (slow1): Likewise.
23917 (slow2): Likewise.
23918 (sloww1): Likewise.
23919 (sloww2): Likewise.
23920 (bsloww1): Likewise.
23921 (bsloww2): Likewise.
23922 (cslow2): Likewise.
23923 (csloww1): Likewise.
23924 (csloww2): Likewise.
23925
6cce25f8
SP
23926 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23927 function.
23928 (__sin): Use it.
23929 (__cos): Likewise.
23930
5eea0404
SP
23931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23932 gotos.
23933 (__cos): Likewise.
23934
9c21573c
MR
239352013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23936
23937 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23938 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23939 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23940 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23941 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23942 * elf/cache.c (print_entry): Handle the new cache flags.
23943
24d22e65
JM
239442013-09-18 Joseph Myers <joseph@codesourcery.com>
23945 Aldy Hernandez <aldyh@redhat.com>
23946
23947 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23948 Change condition to [_SOFT_FLOAT].
23949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23961 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23964 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23965 declaration.
23966
d13ef066
JM
239672013-09-18 Joseph Myers <joseph@codesourcery.com>
23968
2e071de0
JM
23969 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23970 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23971 (__longjmp): Use LOAD_GP to load saved GPRs.
23972 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23973 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23974 (__sigsetjmp): Use SAVE_GP to save GPRs.
23975
d13ef066
JM
23976 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23977 Do not append -msoft-float.
23978 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23979
97a0650b
SP
239802013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23981
23982 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23983
11ca09e9
JM
239842013-09-17 Joseph Myers <joseph@codesourcery.com>
23985
23986 [BZ #15966]
23987 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23988 (_FPU_GETCW): Use initial "__" on variable and field names but not
23989 on macro parameter name.
23990 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23991 parentheses around reference to macro parameter.
23992
08ffcf34
RS
239932013-09-13 Richard Sandiford <richard@codesourcery.com>
23994
23995 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23996 prototype.
23997 (ctype_startup): Use uint32_t in cast and sizeof for
23998 ctype->charnames.
23999
ae7080d3
JL
240002013-09-11 Jia Liu <proljc@gmail.com>
24001
24002 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24003 __daddr_t_defined.
24004 [__FreeBSD__]: Likewise.
24005
5905e7b3
OB
240062013-09-11 Ondřej Bílka <neleai@seznam.cz>
24007
24008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24009 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24010 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24011 (strchr): Remove __strchr_sse42 ifunc selection.
24012 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24013 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24014
b987c776
WN
240152013-09-11 Will Newton <will.newton@linaro.org>
24016
24017 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24018 parameter to RES. Remove hardcoded 1000 value.
24019 * benchtests/bench-skeleton.c (main): Pass RES parameter
24020 to TIMING_INIT and multiply result by 1000.
24021
ddf985af
AZ
240222013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24023
24024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24025
ffdd3181
AS
240262013-09-11 Andreas Schwab <schwab@suse.de>
24027
24028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24029 if not defined.
24030 (O_TMPFILE) [__USE_GNU]: Define.
24031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24032 Define.
24033
b73ed247
WN
240342013-09-11 Will Newton <will.newton@linaro.org>
24035
24036 [BZ #15857]
24037 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24038 does not overflow.
24039
55e17aad
WN
240402013-09-11 Will Newton <will.newton@linaro.org>
24041
24042 [BZ #15856]
24043 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24044 does not overflow.
24045
1159a193
WN
240462013-09-11 Will Newton <will.newton@linaro.org>
24047
24048 [BZ #15855]
24049 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24050 does not overflow.
24051
5905e7b3 240522013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24053
24054 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24055 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24059
cdfc721b
AM
240602013-09-10 Allan McRae <allan@archlinux.org>
24061
aa04af00
AM
24062 [BZ #15748]
24063 * manual/arith.texi (Parsing of Floats): Clarify
24064 cross-reference.
24065
cdfc721b
AM
24066 [BZ #15849]
24067 * manual/install.texi (Running make install): Mention
24068 --enable-pt-chown.
24069 * INSTALL: Regenerated.
24070
95e7cf29
MR
240712013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24072
24073 * csu/init-first.c (_init): Remove the !SHARED condition around
24074 FPU control word initialization.
24075 * elf/dl-support.c (_dl_fpu_control): New variable.
24076 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24077 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24078 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24079 * math/test-fpucw-static.c: New file.
24080 * math/test-fpucw-ieee.c: New file.
24081 * math/test-fpucw-ieee-static.c: New file.
24082 * math/Makefile (tests): Add `test-fpucw-ieee' and
24083 `$(tests-static)'.
24084 (tests-static): New variable.
24085 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24086 dependency to...
24087 [($(build-shared),yes)]
24088 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24089 ... this.
24090 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24091 New dependency.
24092
83e43bf0
AM
240932013-09-09 Allan McRae <allan@archlinux.org>
24094
a9f5ce09
AM
24095 [BZ #15939]
24096 * manual/string.texi (Collation Functions): Fix typo in
24097 strcoll example.
24098 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24099
34829bc2
AM
24100 [BZ #15893]
24101 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24102
3932737d
AM
24103 [BZ #15892]
24104 * libio/memstream.c (open_memstream): Fix memory leak.
24105 * libio/wmemstream.c (open_wmemstream): Likewise.
24106
83e43bf0
AM
24107 [BZ #15895]
24108 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24109
0c66b8e9
WN
241102013-09-09 Will Newton <will.newton@linaro.org>
24111
24112 * malloc/Makefile: Add tst-realloc to tests.
24113 * malloc/tst-realloc.c: New file.
24114
f6b00fd1
AM
241152013-09-09 Allan McRae <allan@archlinux.org>
24116
24117 [BZ #15844]
24118 * COPYING: Update from GNU website to fix FSF address.
24119 * COPYING.LIB: Likewise.
24120
eec55e16
DM
241212013-09-06 David S. Miller <davem@davemloft.net>
24122
24123 * po/zh_TW.po: Update Chinese (traditional) translation from
24124 translation project.
24125
1ecbb381
RS
241262013-09-06 Richard Sandiford <richard@codesourcery.com>
24127 Joseph Myers <joseph@codesourcery.com>
24128
24129 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24130 "localeinfo.h".
24131 (obstack_chunk_alloc): New macro.
24132 (obstack_chunk_free): Likewise.
24133 (record_offset): New function.
24134 (init_locale_data): Likewise.
24135 (align_locale_data): Likewise.
24136 (add_locale_empty): Likewise.
24137 (add_locale_raw_data): Likewise.
24138 (add_locale_raw_obstack): Likewise.
24139 (add_locale_string): Likewise.
24140 (add_locale_wstring): Likewise.
24141 (add_locale_uint32): Likewise.
24142 (add_locale_uint32_array): Likewise.
24143 (add_locale_char): Likewise.
24144 (start_locale_structure): Likewise.
24145 (end_locale_structure): Likewise.
24146 (start_locale_prelude): Likewise.
24147 (end_locale_prelude): Likewise.
24148 (write_locale_data): Take locale_file structure rather than an
24149 iovec.
24150 * locale/programs/locfile.h: Include "obstack.h".
24151 (struct locale_file): Change to store locale file contents instead
24152 of header.
24153 (init_locale_data): New prototype.
24154 (align_locale_data): Likewise.
24155 (add_locale_empty): Likewise.
24156 (add_locale_raw_data): Likewise.
24157 (add_locale_raw_obstack): Likewise.
24158 (add_locale_string): Likewise.
24159 (add_locale_wstring): Likewise.
24160 (add_locale_uint32): Likewise.
24161 (add_locale_uint32_array): Likewise.
24162 (add_locale_char): Likewise.
24163 (start_locale_structure): Likewise.
24164 (end_locale_structure): Likewise.
24165 (start_locale_prelude): Likewise.
24166 (end_locale_prelude): Likewise.
24167 (write_locale_data): Update prototype.
24168 * locale/programs/3level.h (struct TABLE): Remove result field.
24169 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24170 Use new locale_file interface.
24171 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24172 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24173 * locale/programs/ld-address.c (address_output): Use new
24174 locale_file interface.
24175 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24176 NO_ADD_LOCALE.
24177 (collate_finish): Don't call collseq_table_finalize.
24178 (collate_output): Use new locale_file interface.
24179 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24180 in file.
24181 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24182 (TABLE): Move defines earlier in file.
24183 (ELEMENT): Likewise.
24184 (DEFAULT): Likewise.
24185 (wctrans_table_add): Move macro and inline function earlier in
24186 file.
24187 (struct wctype_table): Move type earlier in file.
24188 (add_locale_wctype_table): New static prototype.
24189 (struct locale_ctype_t): Use logical types instead of struct iovec
24190 pointers for members.
24191 (ctype_output): Use new locale_file interface.
24192 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24193 new locale_file interface.
24194 (allocate_arrays): Update for use of new locale_file interface.
24195 * locale/programs/ld-identification.c (identification_output): Use
24196 new locale_file interface.
24197 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24198 * locale/programs/ld-messages.c (messages_output): Likewise.
24199 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24200 * locale/programs/ld-name.c (name_output): Likewise.
24201 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24202 * locale/programs/ld-paper.c (paper_output): Likewise.
24203 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24204 * locale/programs/ld-time.c (time_output): Likewise.
24205
e029e2e5
AZ
242062013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24207
24208 * benchtests/Makefile: Add memrchr benchmark.
24209 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24210 benchmark as memrchr.
24211 * benchtests/bench-memrchr-ifunc.c: New file.
24212 * benchtests/bench-memrchr.c: New file.
24213
bbf6e8e4
WN
242142013-09-06 Will Newton <will.newton@linaro.org>
24215
24216 * benchtests/Makefile (string-bench): Add memcpy.
24217
6c82a2f8
CD
242182013-09-05 Carlos O'Donell <carlos@redhat.com>
24219 Cong Wang <amwang@redhat.com>
24220
e732c5f0 24221 [BZ #15850]
6c82a2f8
CD
24222 * sysdeps/unix/sysv/linux/bits/in.h
24223 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24224 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24225 before __USE_KERNEL_IPV6_DEFS uses.
24226 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24227 IPPROTO_BEETPH.
24228 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24229 sockaddr_in6, or ipv6_mreq.
24230
5430fc65
AZ
242312013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24232
24233 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24234 memory access for final bytes in some large inputs.
24235 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24236
4660856c
AZ
242372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24238
24239 * string/test-memrchr.c: New file.
24240 * string/test-memrchr-ifunc.c: New file.
24241 * string/Makefile: Add new memrchr testcase.
24242
bb8ea713
MF
242432013-09-05 Mike Frysinger <vapier@gentoo.org>
24244
24245 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24246 fanotify_init returns EPERM.
24247
b92a20b5
JM
242482013-09-04 Joseph Myers <joseph@codesourcery.com>
24249
24250 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24251 errors.
24252 (top level): Treat second token from macro or constant entries for
24253 allowed headers as allowed.
24254 * include/complex.h: Condition internal declarations on
24255 [!_ISOMAC].
24256 * include/fenv.h: Condition include of <stdbool.h> and internal
24257 declarations on [!_ISOMAC].
7447ccd9
CL
24258
242592013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24260
3e181dda 24261 [BZ #15923]
7447ccd9
CL
24262 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24263
3f2e46a4
JM
242642013-09-04 Joseph Myers <joseph@codesourcery.com>
24265
24266 * configure.in (--enable-versioning): Remove configure option.
24267 (libc_cv_asm_symver_directive): Remove configure test.
24268 (libc_cv_ld_version_script_option): Likewise.
24269 (VERSIONING): Remove variable and AC_SUBST.
24270 (DO_VERSIONING): Remove AC_DEFINE.
24271 * configure: Regenerated.
24272 * config.h.in (DO_VERSIONING): Remove macro.
24273 * Makerules [$(versioning) = yes]: Change conditionals to
24274 [$(build-shared) = yes].
24275 * config.make.in (versioning): Remove variable.
24276 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24277 [$(build-shared) = yes].
24278 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24279 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24280 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24281 [$(build-shared) = yes].
24282 * extra-lib.mk [$(versioning) = yes]: Likewise.
24283 * hurd/Makefile [$(versioning) = yes]: Likewise.
24284 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24285 [SHARED].
24286 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24287 [SHARED].
24288 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24289 [SHARED && !NO_HIDDEN].
24290 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24291 [SHARED].
24292 [SHARED && DO_VERSIONING]: Likewise..
24293 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24294 [$(build-shared) = yes].
24295 * manual/install.texi (--disable-versioning): Remove
24296 documentation.
24297 * INSTALL: Regenerated.
24298 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24299 to [SHARED].
24300 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24301 [$(build-shared) = yes].
24302 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24303 * sysdeps/i386/i686/multiarch/strstr-c.c
24304 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24305 [SHARED && !NO_HIDDEN].
24306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24307 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24308 * sysdeps/powerpc/powerpc32/dl-machine.c
24309 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24310 * sysdeps/powerpc/powerpc32/sysdep.h
24311 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24312 to [SHARED && PIC && !NO_HIDDEN].
24313 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24314 conditional to [SHARED].
24315
44558701
WN
243162013-09-04 Will Newton <will.newton@linaro.org>
24317
24318 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24319 * benchtests/bench-string.h: Include bench-timing.h instead
24320 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24321 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24322 call to HP_TIMING_DIFF_INIT.
24323 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24324 instead of hp-timing.h macros.
24325 * benchtests/bench-memchr.c: Likewise.
24326 * benchtests/bench-memcmp.c: Likewise.
24327 * benchtests/bench-memcpy.c: Likewise.
24328 * benchtests/bench-memmem.c: Likewise.
24329 * benchtests/bench-memmove.c: Likewise.
24330 * benchtests/bench-memset.c: Likewise.
24331 * benchtests/bench-rawmemchr.c: Likewise.
24332 * benchtests/bench-strcasecmp.c: Likewise.
24333 * benchtests/bench-strcasestr.c: Likewise.
24334 * benchtests/bench-strcat.c: Likewise.
24335 * benchtests/bench-strchr.c: Likewise.
24336 * benchtests/bench-strcmp.c: Likewise.
24337 * benchtests/bench-strcpy.c: Likewise.
24338 * benchtests/bench-strcpy_chk.c: Likewise.
24339 * benchtests/bench-strlen.c: Likewise.
24340 * benchtests/bench-strncasecmp.c: Likewise.
24341 * benchtests/bench-strncat.c: Likewise.
24342 * benchtests/bench-strncmp.c: Likewise.
24343 * benchtests/bench-strncpy.c: Likewise.
24344 * benchtests/bench-strnlen.c: Likewise.
24345 * benchtests/bench-strpbrk.c: Likewise.
24346 * benchtests/bench-strrchr.c: Likewise.
24347 * benchtests/bench-strspn.c: Likewise.
24348 * benchtests/bench-strstr.c: Likewise.
24349
cae16d66
WN
243502013-09-04 Will Newton <will.newton@linaro.org>
24351
24352 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24353
ffa3cd7f
JM
243542013-09-03 Joseph Myers <joseph@codesourcery.com>
24355
24356 [BZ #15427]
24357 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24358 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24359 * math/libm-test.inc (lgamma_test_data): Add more tests.
24360 * sysdeps/i386/fpu/libm-test-ulps: Update.
24361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24362
8f02859f
OB
243632013-09-03 Ondřej Bílka <neleai@seznam.cz>
24364
24365 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24367 Add ifunc.
24368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24369 Add strcmp-sse2-unaligned
24370 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24371
18d43716
MF
243722013-09-02 Mike Frysinger <vapier@gentoo.org>
24373
24374 * Versions.def (libc): Add GLIBC_2.19.
24375
ac444012
MF
243762013-09-02 Mike Frysinger <vapier@gentoo.org>
24377
24378 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24379 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24380
b7835e32
JM
243812013-09-02 Joseph Myers <joseph@codesourcery.com>
24382
24383 [BZ #14155]
24384 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24385 intermediate calculations in recurrence.
24386 (__ieee754_ynf): Likewise.
24387 * math/libm-test.inc (jn_test_data): Do not allow spurious
24388 underflow exception. Add more tests.
24389 (yn_test_data): Add more tests.
24390 * sysdeps/i386/fpu/libm-test-ulps: Update.
24391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24392
8220f4f0
OB
243932013-09-02 Ondřej Bílka <neleai@seznam.cz>
24394
24395 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24396
f24a6d08
OB
243972013-08-30 Ondřej Bílka <neleai@seznam.cz>
24398
24399 * csu/init-first.c: Fix then/than typos.
24400 * locale/programs/ld-collate.c: Likewise.
24401 * locale/programs/linereader.h: Likewise.
24402 * manual/charset.texi: Likewise.
24403 * manual/filesys.texi: Likewise.
24404 * manual/stdio.texi: Likewise.
24405 * manual/string.texi: Likewise.
24406 * stdlib/fmtmsg.c: Likewise.
24407 * sysdeps/i386/stpncpy.S: Likewise.
24408 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24409 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24411 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24412
382466e0
OB
244132013-08-30 Ondřej Bílka <neleai@seznam.cz>
24414
24415 * elf/dl-open.c: Fix typos.
24416 * iconvdata/gbbig5.c: Likewise.
24417 * iconvdata/iso-2022-jp.c: Likewise.
24418 * iconv/gconv_int.h: Likewise.
24419 * iconv/loop.c: Likewise.
24420 * nis/rpcsvc/nis.h: Likewise.
24421 * resolv/ns_name.c: Likewise.
24422 * stdio-common/vfscanf.c: Likewise.
24423 * streams/stropts.h: Likewise.
24424 * sunrpc/rpc_thread.c: Likewise.
24425 * sysdeps/i386/strpbrk.S: Likewise.
24426 * sysdeps/ieee754/k_standard.c: Likewise.
24427 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24429 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24430 * sysdeps/mach/hurd/profil.c: Likewise.
24431 * sysdeps/s390/dl-procinfo.h: Likewise.
24432 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24433 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24434 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24435 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24437
0186c6e9
OB
244382013-08-30 Ondřej Bílka <neleai@seznam.cz>
24439
24440 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24441 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24442
d4e16af1
OB
244432013-08-29 Ondřej Bílka <neleai@seznam.cz>
24444
24445 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24446 aix specific files.
24447 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24448 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24449 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24450 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24451 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24452 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24453 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24454 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24455
88335980
TS
244562013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24457 Roland McGrath <roland@hack.frob.com>
24458
24459 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24460 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24461
ed479b02
ST
244622013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24463
24464 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24465 __executable_start symbol instead of _start.
24466
f1cc4c86
TS
244672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24468
d821f07c
TS
24469 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24470 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24471 Move macros to...
24472 * sysdeps/gnu/ldsodefs.h: ... this new file.
24473
c54290cf
TS
24474 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24475 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24476 instead of ELFOSABI_LINUX.
24477
0007fc9b 24478 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24479 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24480 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24481 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24482 Likewise.
24483 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24484 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24485 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24486 Likewise.
24487 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24488 (ibm_extended_long_double): Add ieee_nan member.
24489 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24490 (do_test): New function.
24491
f1cc4c86
TS
24492 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24493 TEST_TRUNC.
24494 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24495 functions, renamed from truncdfsf_test, trunctfsf_test,
24496 trunctfdf_test.
24497 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24498 functions.
24499 (do_test): Run all these.
24500
6f65e668
OB
245012013-08-29 Ondřej Bílka <neleai@seznam.cz>
24502
24503 * argp/argp-help.c: Fix typos.
24504 * argp/argp-parse.c: Likewise.
24505 * debug/backtracesyms.c: Likewise.
24506 * elf/elf.h: Likewise.
24507 * malloc/malloc.c: Likewise.
24508 * nis/nis_print.c: Likewise.
24509 * resolv/res_comp.c: Likewise.
24510 * stdlib/stdlib.h: Likewise.
24511 * sunrpc/clnt_tcp.c: Likewise.
24512 * sunrpc/clnt_udp.c: Likewise.
24513 * sunrpc/clnt_unix.c: Likewise.
24514 * sysdeps/unix/bsd/ptsname.c: Likewise.
24515 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24516 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24518 Likewise.
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24520 Likewise.
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24522 Likewise.
6f65e668
OB
24523 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24524
3a309239
SP
245252013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24526
24527 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24529
3b813b29
MF
245302013-08-27 Mike Frysinger <vapier@gentoo.org>
24531
24532 [BZ #15897]
24533 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24534 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24535 ($(objpfx)bug-dl-leaf): New rule.
24536 ($(objpfx)bug-dl-leaf.so): Likewise.
24537 ($(objpfx)bug-dl-leaf.out): Likewise.
24538 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24539 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24540 * dlfcn/bug-dl-leaf.c: New test.
24541 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24542 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24543 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24544 (dlclose): Likewise.
24545 (dlmopen): Likewise.
24546
8cc3269f
RM
245472013-08-27 Roland McGrath <roland@hack.frob.com>
24548
7f9d0034
RM
24549 * include/netdb.h [!_ISOMAC]:
24550 Don't include <tls.h>.
24551 (h_errno, __libc_h_errno): Move declaration and macros out of
24552 [_LIBC_REENTRANT].
24553
fb431262
RM
24554 * include/resolv.h [_RESOLV_H_]:
24555 Don't include <tls.h>.
24556 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24557 * resolv/res_libc.c: Don't include <tls.h>.
24558 (_res): Use __attribute__ ((nocommon)) in place of
24559 __attribute__ ((section (".bss"))).
24560
bd81123a
RM
24561 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24562 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24563
c4e42566
RM
24564 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24565
f890a59b
RM
24566 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24567 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24568
24569 * resolv/res_mkquery.c: Include <sys/time.h>.
24570
5d1f0a09
RM
24571 * inet/ifreq.c: Moved to ...
24572 * sysdeps/unix/ifreq.c: ... here.
24573 * inet/ifreq.c: New file, true stub version.
24574
6fcf28b3
RM
24575 * socket/sa_len.c: New file.
24576 * socket/Makefile (aux): Add it.
24577 * sysdeps/unix/sysv/linux/Makefile
24578 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24579 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24580 and #include <socket/sa_len.c>.
24581 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24582 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24583
e041fb8b
RM
24584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24585 * bits/socket.h: ... here.
24586
8cc3269f
RM
24587 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24588 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24589 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24590
5d228a43
AS
245912013-08-27 Andreas Schwab <schwab@suse.de>
24592
45b8accc
AS
24593 [BZ #15736]
24594 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24595 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24596 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24597 * string/test-strcasecmp.c (test_main): Run tests in several
24598 locales.
24599 * string/test-strncasecmp.c (test_main): Likewise.
24600
5d228a43
AS
24601 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24602 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24603 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24605 (__strncasecmp_ssse3) [PIC]: Likewise.
24606
59d112a4
RM
246072013-08-26 Roland McGrath <roland@hack.frob.com>
24608
53234cc3
RM
24609 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24610
59d112a4
RM
24611 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24612 instead of explicitly declaring xdecrypt.
24613 * nis/nss_nis/nis-publickey.c: Likewise.
24614
595aba70
SP
246152013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24616
24617 [BZ #15890]
24618 * nscd/aicache.c: Include res_hconf.h.
24619 (addhstaiX): Initialize res_hconf.
24620
ffabd393
AS
246212013-08-26 Andreas Schwab <schwab@suse.de>
24622
24623 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24624 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24625
e0a69f5c
SP
246262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24627
24628 * nscd/aicache.c (addhstaiX): Fix indentation.
24629
8c12f01d
MF
246302013-08-25 Mike Frysinger <vapier@gentoo.org>
24631
24632 * configure.ac: Quote $build_pt_chown test.
24633 * configure: Regenerated.
24634
8fe89494
JM
246352013-08-23 Joseph Myers <joseph@codesourcery.com>
24636
24637 [BZ #15532]
24638 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24639 * math/s_cexpf.c (__cexpf): Likewise.
24640 * math/s_cexpl.c (__cexpl): Likewise.
24641 * math/libm-test.inc (cexp_test_data): Correct expected return
24642 value for NaN + i0. Add another test.
24643
75b181d6
DM
246442013-08-22 David S. Miller <davem@davemloft.net>
24645
24646 * po/ca.po: Update Catalan translation from translation project.
936241e4 24647 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24648
acd06bb1
JM
246492013-08-21 Joseph Myers <joseph@codesourcery.com>
24650
24651 [BZ #15797]
24652 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24653 is infinite, not alongside NaN test.
24654 * math/s_fdimf.c (__fdimf): Likewise.
24655 * math/s_fdiml.c (__fdiml): Likewise.
24656 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24657 errno is unchanged.
24658
c0c3f78a
OB
246592013-08-21 Ondřej Bílka <neleai@seznam.cz>
24660
24661 * argp/argp-help.c: Fix typos.
24662 * crypt/speeds.c: Likewise.
24663 * csu/check_fds.c: Likewise.
24664 * elf/dl-load.c: Likewise.
24665 * elf/dl-open.c: Likewise.
24666 * elf/reldep3.c: Likewise.
24667 * elf/reldep.c: Likewise.
24668 * elf/sprof.c: Likewise.
24669 * iconv/iconv_charmap.c: Likewise.
24670 * iconv/skeleton.c: Likewise.
24671 * iconv/strtab.c: Likewise.
24672 * io/lockf64.c: Likewise.
24673 * libio/libioP.h: Likewise.
24674 * resolv/gai_notify.c: Likewise.
24675 * resolv/ns_name.c: Likewise.
24676 * resolv/ns_samedomain.c: Likewise.
24677 * resolv/res_send.c: Likewise.
24678 * stdlib/random.c: Likewise.
24679 * sunrpc/rpc/xdr.h: Likewise.
24680 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24681 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24682 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24683 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24687 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24688 * sysdeps/mach/hurd/check_fds.c: Likewise.
24689 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24690 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24692 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24693 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24695 * sysdeps/pthread/aio_notify.c: Likewise.
24696 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24697 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24698 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24699 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24700 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24701
46ed1038
LD
247022013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24703
24704 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24705 version if bit_Slow_SSE4_2 is set.
24706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24707 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24708
d400dcac
AZ
247092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24710
24711 [BZ #15867]
24712 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24713 trampoline stack frame information.
24714 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24716 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24717 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24718 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24719 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24720 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24721 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24722 sa_flags value.
24723 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24724 interrupting a syscall and set with option SA_SIGINFO.
24725
42c8fdd8
JM
247262013-08-20 Joseph Myers <joseph@codesourcery.com>
24727
c980f2f4
JM
24728 [BZ #15531]
24729 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24730 argument is infinite.
24731 * math/s_cprojf.c (__cprojf): Likewise.
24732 * math/s_cprojl.c (__cprojl): Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24734 * math/libm-test.inc (cproj_test_data): Add more tests.
24735
0716c4fc
JM
24736 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24737
42c8fdd8
JM
24738 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24739 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24740 size. Use __ffs to determine corresponding shift.
24741
b31469d0
JM
247422013-08-20 Joseph Myers <joseph@codesourcery.com>
24743 Roland McGrath <roland@hack.frob.com>
24744
24745 * Makefile (INSTALL): Remove trailing blank lines from output of
24746 makeinfo.
24747
4e39af6e
AK
247482013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24749
24750 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24751 Align 32 bit compat elf_greg to 8 bytes.
24752
f315524e
AA
247532013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24754
24755 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24756
1326ba1a
SP
247572013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24758
24759 * string/strcoll_l.c (coll_seq): New structure.
24760 (get_next_seq_cached): New function.
24761 (get_next_seq): New function.
24762 (do_compare): New function.
24763 (STRCOLL): Use GNU style definition. Simplify implementation
24764 by using get_next_seq, get_next_seq_cached and do_compare.
24765
91ce4085
FW
247662013-08-16 Florian Weimer <fweimer@redhat.com>
24767
24768 [BZ #14699]
24769 CVE-2013-4237
24770 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24771 member.
24772 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24773 member.
24774 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24775 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24776 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24777 conditional.
24778 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24779 GETDENTS_64BIT_ALIGNED.
24780 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24781 * manual/filesys.texi (Reading/Closing Directory): Document
24782 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24783 strongly.
24784 * manual/conf.texi (Limits for Files): Add portability note to
24785 NAME_MAX, PATH_MAX.
24786 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24787
ca0a6bc4
AS
247882013-08-13 Andreas Schwab <schwab@suse.de>
24789
24790 [BZ #15749]
24791 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24792 of fabs.
24793 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24794 LDBL_MAX_EXP >= 16384]: Add tests for it.
24795
6c1fd795
DM
247962013-08-12 David S. Miller <davem@davemloft.net>
24797
24798 * version.h (RELEASE): Set to "development".
24799 (VERSION): Set to "2.18.90".
24800 * NEWS: Add 2.19 section.
24801
31ad488d
DM
248022013-08-03 David S. Miller <davem@davemloft.net>
24803
24804 * po/ko.po: Update Korean translation from translation project.
24805
db24e684
DM
248062013-08-01 David S. Miller <davem@davemloft.net>
24807
24808 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24809 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24810 Bilka.
24811
f723285b
DM
248122013-07-30 David S. Miller <davem@davemloft.net>
24813
24814 * po/fr.po: Update French translation from translation project.
24815
3cbc52db
DM
248162013-07-28 David S. Miller <davem@davemloft.net>
24817
30bbc0cc
DM
24818 * po/cs.po: Update Czech translation from translation project.
24819
3cbc52db
DM
24820 * po/sv.po: Update Swedish translation from translation project.
24821
d492e6d0
DM
248222013-07-27 David S. Miller <davem@davemloft.net>
24823
f1a7f492
DM
24824 * po/eo.po: Update Esperanto translation from translation project.
24825
90e62a4a
DM
24826 * po/vi.po: Update Vietnamese translation from translation project.
24827
d492e6d0
DM
24828 * po/de.po: Update German translation from translation project.
24829
d4baa62d
DM
248302013-07-26 David S. Miller <davem@davemloft.net>
24831
641aa7b4
DM
24832 * po/bg.po: Update Bulgarian translation from translation project.
24833
d4baa62d
DM
24834 * po/nl.po: Update Dutch translation from translation project.
24835 * po/pl.po: Update Polish translation from translation project.
24836 * po/ru.po: Update Russian translation from translation project.
24837
61a9dcb9
DM
248382013-07-24 David S. Miller <davem@davemloft.net>
24839
24840 * po/libc.pot: Update.
24841
7b1f8b58
AZ
248422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24843
24844 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24845 variable page size.
24846 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24847 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24849
a8fc7a03
AK
248502013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24851
24852 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24853
e4608715
CD
248542013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24855 Andreas Schwab <schwab@suse.de>
24856 Roland McGrath <roland@hack.frob.com>
24857 Joseph Myers <joseph@codesourcery.com>
24858 Carlos O'Donell <carlos@redhat.com>
24859
24860 [BZ #15755]
24861 * config.h.in: Define HAVE_PT_CHOWN.
24862 * config.make.in (build-pt-chown): New variable.
24863 * configure.in (--enable-pt_chown): New configure option.
24864 * configure: Regenerate.
24865 * login/Makefile: Include Makeconfig. Build pt_chown only if
24866 build-pt-chown is enabled.
24867 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24868 pt_chown to fix pty ownership.
24869 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24870 CLOSE_ALL_FDS.
24871 * manual/install.texi (Configuring and compiling): Mention
24872 --enable-pt_chown. Add @findex for grantpt.
24873 * INSTALL: Regenerate.
24874
da2d62df
DM
248752013-07-20 David S. Miller <davem@davemloft.net>
24876
24877 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24878 difference between 32-bit and 64-bit.
24879
d7e06450
CD
248802013-07-15 Carlos O'Donell <carlos@redhat.com>
24881
24882 [BZ #15711]
24883 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24884 Avoid system header dependency with -ffreestanding.
24885 ($(objpfx)bits/syscall%d): Likewise.
24886
f959cfd7
DM
248872013-07-13 David S. Miller <davem@davemloft.net>
24888
24889 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24890 underflows from atanl/atan2l due to bug 15319.
24891 (casinh_test_data): Likewise.
24892
c61f8513
DM
248932013-07-07 David S. Miller <davem@davemloft.net>
24894
24895 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24896
72c90ed0
JA
248972013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24898
24899 * sysdeps/i386/fpu/libm-test-ulps: Update.
24900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24901
52dfbe13
SP
249022013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24903
24904 * configure.in (--enable-lock-elision): Fix message text.
24905 * INSTALL: Regenerate.
24906 * configure: Regenerate.
24907
3f169543
AZ
249082013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24909
24910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24911
521c6785
AJ
249122013-07-03 Andreas Jaeger <aj@suse.de>
24913
24914 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24915 define.
24916 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24917 (ptrace_peeksiginfo_args): Add.
24918 (__ptrace_peeksiginfo_flags): Add.
24919 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24921 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24922
d2cc15cb
AM
249232013-07-03 Allan McRae <allan@archlinux.org>
24924
24925 * sysdeps/i386/fpu/libm-test-ulps: Update.
24926
3aaeeca7
DM
249272013-07-02 David S. Miller <davem@davemloft.net>
24928
24929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24930
5314ed1a
MT
249312013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24932
24933 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24934
67338156
JM
249352013-07-02 Joseph Myers <joseph@codesourcery.com>
24936
24937 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24939
1717da59
AK
249402013-07-02 Andi Kleen <ak@linux.intel.com>
24941
24942 * config.h.in (ENABLE_LOCK_ELISION): Add.
24943 * configure.in (--enable-lock-elision): Add option.
24944 * manual/install.texi: Document --enable lock elision.
24945 * configure: Regenerate
24946 * INSTALL: Regenerate.
24947
1c81621c
L
249482013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24949
24950 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24951 SSE4.2 strcasecmp for libc.a.
24952 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24953
77f01ab5
JM
249542013-07-02 Joseph Myers <joseph@codesourcery.com>
24955
24956 [BZ #13304]
24957 * soft-fp/op-common.h (_FP_FMA): New macro.
24958 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24959 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24960 (_FP_MUL_MEAT_1_imm): ... here.
24961 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24962 (_FP_MUL_MEAT_1_wide): ... here.
24963 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24964 (_FP_MUL_MEAT_1_hard): ... here.
24965 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24966 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24967 (_FP_MUL_MEAT_2_wide): ... here.
24968 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24969 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24970 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24971 (_FP_MUL_MEAT_2_gmp): ... here.
24972 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24973 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24974 (_FP_MUL_MEAT_4_wide): ... here.
24975 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24976 (_FP_MUL_MEAT_4_gmp): ... here.
24977 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24978 (_FP_WFRACBITS_DW_S): Likewise.
24979 (_FP_WFRACXBITS_DW_S): Likewise.
24980 (_FP_HIGHBIT_DW_S): Likewise.
24981 (FP_FMA_S): Likewise.
24982 (_FP_FRAC_HIGH_DW_S): Likewise.
24983 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24984 (_FP_WFRACBITS_DW_D): Likewise.
24985 (_FP_WFRACXBITS_DW_D): Likewise.
24986 (_FP_HIGHBIT_DW_D): Likewise.
24987 (FP_FMA_D): Likewise.
24988 (_FP_FRAC_HIGH_DW_D): Likewise.
24989 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24990 (_FP_WFRACBITS_DW_E): Likewise.
24991 (_FP_WFRACXBITS_DW_E): Likewise.
24992 (_FP_HIGHBIT_DW_E): Likewise.
24993 (FP_FMA_E): Likewise.
24994 (_FP_FRAC_HIGH_DW_E): Likewise.
24995 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24996 (_FP_WFRACBITS_DW_Q): Likewise.
24997 (_FP_WFRACXBITS_DW_Q): Likewise.
24998 (_FP_HIGHBIT_DW_Q): Likewise.
24999 (FP_FMA_Q): Likewise.
25000 (_FP_FRAC_HIGH_DW_Q): Likewise.
25001 * soft-fp/fmasf4.c: New file.
25002 * soft-fp/fmadf4.c: Likewise.
25003 * soft-fp/fmatf4.c: Likewise.
25004
6308fd9a
LD
250052013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25006
25007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25008 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25009 Silvermont.
25010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25011 macro.
25012 (index_Slow_SSE4_2): Likewise.
25013 (index_Prefer_PMINUB_for_stringop): Likewise.
25014 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25015 bit_Slow_SSE4_2 is set.
25016 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25017 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25018
89cd9569
RA
250192013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25020
25021 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25022 rtld_global._dl_hwcap2.
25023 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25024 POWER8.
25025 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25026 POWER8 feature descriptions defined in _dl_hwcap2.
25027 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25028 string handling for POWER8 feature bits.
25029 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25030 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25031 _dl_powerpc_cap_flags.
25032 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25033 * sysdeps/powerpc/rtld-global-offsets.sym
25034 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25035 _dl_hwcap2 in the rtld_global_ro structure.
25036
1ae8bfe0
RA
250372013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25038
25039 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25040 hardware capabilities in support of AT_HWCAP2.
25041 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25042 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25043 GLRO(dl_hwcap2).
25044 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25045 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25046 explicitly the unknown a_type display mechanism is used.
25047 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25048 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25049 struct member.
25050 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25051 to macro prototype for AT_HWCAP2 support.
25052 * sysdeps/i386/dl-procinfo.h: Likewise.
25053 * sysdeps/s390/dl-procinfo.h: Likewise.
25054 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25055 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25056 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25057 return -1 for unknown a_type display fallback.
25058 * sysdeps/sparc/dl-procinfo.h: Likewise.
25059 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25060 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25061
8fbec010
JM
250622013-06-28 Joseph Myers <joseph@codesourcery.com>
25063
25064 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25065 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25066
0432680e
PY
250672013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25068
25069 [BZ #12492]
25070 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25071 mprotect making __stack_prot writable.
25072
ce61a2ad
NF
250732013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25074 Joseph Myers <joseph@codesourcery.com>
25075
25076 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25077 as being properly aligned.
25078
f91f1c0f
MR
250792013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25080
3d0f5d0c
MR
25081 * dlfcn/modstatic5.c: New file.
25082 * dlfcn/tststatic5.c: New file.
25083 * dlfcn/Makefile (tests): Add tststatic5.
25084 (tests-static): Likewise.
25085 (modules-names): Add modstatic5.
25086 (tststatic5-ENV): New variable.
25087 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25088
f91f1c0f
MR
25089 [BZ #15022]
25090 * elf/dl-support.c (_dl_main_map): New variable.
25091 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25092 (_dl_nns, _dl_load_adds): Set to 1.
25093 (_dl_initial_searchlist): Refer to _dl_main_map.
25094 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25095 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25096 call to _dl_get_origin.
25097 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25098 around call_map.
25099 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25100 * dlfcn/modstatic3.c: New file.
25101 * dlfcn/tststatic3.c: New file.
25102 * dlfcn/tststatic4.c: New file.
25103 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25104 (tests-static): Likewise.
25105 (modules-names): Add modstatic3.
25106 (tststatic3-ENV, tststatic4-ENV): New variables.
25107 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25108 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25109
cbe7d24b
JM
251102013-06-26 Joseph Myers <joseph@codesourcery.com>
25111
25112 * configure.in (CC): Require GCC version 4.4 or later.
25113 * configure: Regenerated.
25114 * manual/install.texi (Tools for Compilation): Update GCC version
25115 requirement.
25116 * INSTALL: Regenerated.
25117
11b8a0e1
LD
251182013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25119
25120 [BZ #15674]
bb5bb87c
L
25121 * string/test-memcmp.c (check2): New.
25122 (main): Call check2.
25123
11b8a0e1
LD
25124 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25125
b0037103
MR
251262013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25127
25128 [BZ #15022]
25129 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25130 over to...
25131 (dl_open_worker) [!SHARED]: ... here.
25132
c18c701d
RA
251332013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25134
25135 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25136
1d17fa5f
RH
251372013-06-25 Richard Henderson <rth@redhat.com>
25138
25139 * locale/programs/locarchive.c: Include <libc-internal.h>
25140
8fcb833a
JM
251412013-06-25 Joseph Myers <joseph@codesourcery.com>
25142
25143 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25144 trailing whitespace removed.
25145
17db6e8d
MF
251462013-06-24 Mike Frysinger <vapier@gentoo.org>
25147
25148 [BZ #10283]
17db6e8d
MF
25149 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25150 * locale/programs/locarchive.c: Include libc-mmap.h.
25151 (prepare_address_space): Take two new outputs (the mmap base and len).
25152 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25153 values.
25154 (create_archive): Declare new mmap base and len values for
25155 prepare_address_space, and store the result in ah.
25156 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25157 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25158 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25159 Declare new mmap base and len values for
25160 prepare_address_space, and store the result in new_ah.
25161 (open_archive): Declare new mmap base and len values for
25162 prepare_address_space, and store the result in ah.
25163 (close_archive): If ah->mmap_base is not NULL, use that and
25164 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25165 * sysdeps/generic/libc-mmap.h: New file.
25166
d605071e
MF
251672013-06-24 Mike Frysinger <vapier@gentoo.org>
25168
25169 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25170 (ALIGN_UP): Likewise.
25171 (PTR_ALIGN_DOWN): Likewise.
25172 (PTR_ALIGN_UP): Likewise.
25173
2f063a6e
RA
251742013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25175
25176 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25177 entry mapped to PPC_PLATFORM_POWER8.
25178 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25179 POWER8.
25180 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25181 (_dl_string_platform): Add case for exporting platform position for
25182 POWER8.
25183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25184 search path to sysdeps/powerpc/powerpc32/power8 directory.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25186 search path to sysdeps/powerpc/powerpc64/power8 directory.
25187 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25188 power7 directories.
25189 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25190 power7 directories.
25191
a31ee4b3
SP
251922013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25193
a74ca98f
SP
25194 * INSTALL: Regenerate.
25195
a31ee4b3
SP
25196 * nscd/connections.c (nscd_init): Fix comment.
25197
695c378f
JM
251982013-06-22 Joseph Myers <joseph@codesourcery.com>
25199
d8412221
JM
25200 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25201
695c378f
JM
25202 [BZ #15667]
25203 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25204 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25205
d1d54715
MR
252062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25207
25208 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25209 DL_DST_REQ_STATIC.
25210 (DL_DST_REQ_STATIC): Remove macro.
25211
8fdda7af
JM
252122013-06-21 Joseph Myers <joseph@codesourcery.com>
25213
25214 [BZ #7006]
25215 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25216 with a shift of 0 bits.
25217
f3bc5e5a
MR
252182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25219
25220 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25221 $(tststatic-ENV).
25222
be09e8c9
KK
252232013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25224
25225 [BZ #15655]
25226 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25227
85c2e611
AZ
252282013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25229
25230 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25231 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25232 accepts -fno-tree-loop-distribute-patterns.
25233 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25234 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25235 recursive call.
25236 * string/memset.c (memset): Likewise.
25237 * string/test-memmove.c (simple_memmove): Disable loop transformation
25238 to library calls.
25239 * string/test-memset.c (simple_memset): Likewise.
25240 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25241 * benchtests/bench-memset.c (simple_memset): Likewise.
25242 * configure: Regenerated.
25243
c91e0825
JM
252442013-06-20 Joseph Myers <joseph@codesourcery.com>
25245
b8c792af
JM
25246 * math/test-misc.c (main): Ignore fesetround failure when failures
25247 of subsequent rounding tests would be ignored.
25248
c91e0825
JM
25249 [BZ #15654]
25250 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25251 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25252 * math/fegetenv.c (__fegetenv): Return 0.
25253 * math/fegetexcept.c (fegetexcept): Return 0.
25254 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25255 FE_TONEAREST.
25256 * math/feholdexcpt.c (feholdexcept): Return 0.
25257 * math/fesetenv.c (__fesetenv): Return 0.
25258 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25259 argument FE_TONEAREST.
25260 * math/feupdateenv.c (__feupdateenv): Return 0.
25261 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25262
bfcacbde
RM
252632013-06-18 Roland McGrath <roland@hack.frob.com>
25264
25265 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25266 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25267 ($(objpfx)rtld-%.os rules): Use them.
25268
e55a9b25
AZ
252692013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25270
25271 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25272 fields.
25273
346d65b3
RM
252742013-06-17 Roland McGrath <roland@hack.frob.com>
25275
12086fb4
RM
25276 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25277 length of target pattern, then descending length of dependency pattern.
25278 * configure.in (AWK): Require gawk 3.1.2 or newer.
25279 * manual/install.texi (Tools for Compilation): Say that we do.
25280 * configure: Regenerated.
25281
346d65b3
RM
25282 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25283 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25284 * scripts/sysd-rules.awk: ... this new script.
25285 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25286 than a glob-style pattern.
25287
1a846317
JM
252882013-06-17 Joseph Myers <joseph@codesourcery.com>
25289
25290 * math/test-misc.c (main): Do not treat incorrectly rounded
25291 conversions as failure unless ROUNDING_TESTS passes.
25292
8fc75e6f
JM
252932013-06-15 Joseph Myers <joseph@codesourcery.com>
25294
3711a167
JM
25295 [BZ #15631]
25296 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25297 restore exception state around main square root computation, then
25298 check for inexactness explicitly.
25299
8fc75e6f
JM
25300 * math/libm-test.inc (fma_test_data): Add another test.
25301
61dd6208
SP
253022013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25303
adf23d2c
SP
25304 * manual/threads.texi (Non-POSIX Extensions): New document
25305 node. Document pthread_getattr_default_np and
25306 pthread_setattr_default_np.
25307
61dd6208
SP
25308 * Versions.def (libpthread): Add GLIBC_2.18.
25309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25311 Likewise.
25312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25313 Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25315 Likewise.
25316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25323 Likewise.
25324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25325 Likewise.
25326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25327 Likewise.
25328
d086fc7b
LD
253292013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25330
25331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25332 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25333
747ef469
SP
253342013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25335 H.J. Lu <hjl.tools@gmail.com>
25336
25337 [BZ #15627]
25338 * sysdeps/x86_64/rtld-memset.c: Remove file.
25339 * sysdeps/x86_64/rtld-memset.S: New file.
25340
1b2feed2
JM
253412013-06-14 Joseph Myers <joseph@codesourcery.com>
25342
25343 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25344 (test_in_one_mode): Take arguments for whether the rounding mode
25345 is supported for each floating-point type.
25346 (do_test): Pass new arguments to test_in_one_mode using
25347 ROUNDING_TESTS.
25348
a58ad3f8
RM
253492013-06-13 Roland McGrath <roland@hack.frob.com>
25350
25351 * posix/tst-waitid.c (do_test): Distinguish different instances of
25352 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25353 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25354 before entering the kernel for waitpid.
25355
c204ab28
SP
253562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25357
25358 * NEWS: Fix note on clock function precision. Text by Roland
25359 McGrath.
25360
f4a29fba
RM
253612013-06-13 Roland McGrath <roland@hack.frob.com>
25362
25363 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25364 it into place only when and if the sanity check passes.
25365
1f24b9ad
JM
253662013-06-13 Joseph Myers <joseph@codesourcery.com>
25367
25368 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25369 output for whether conversion result is exact. Take argument
25370 indicating whether type is IBM long double.
25371 (round_for_all): Change need_exact field to ibm_ld.
25372 * stdlib/tst-strtod-round.c (struct exactness): New type.
25373 (struct test): Change bool ld_ok field to struct exactness exact.
25374 (TEST): Update all definitions for change to field.
25375 (tests): Regenerate array contents.
25376 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25377 field value. Check for IBM long double here.
25378 (do_test): Update calls to test_in_one_mode.
25379
58206c68
SP
253802013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25381
25382 [BZ #12515]
25383 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25384 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25385
2d6f4c5b 253862013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25387
25388 [BZ #15605]
25389 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25390 generated by the compiler on loop optimizations.
25391 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25392 general definitions.
25393
94f2c076
JM
253942013-06-12 Joseph Myers <joseph@codesourcery.com>
25395
25396 * math/bug-nextafter.c: Include <math-tests.h>.
25397 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25398 the relevant type.
25399 * math/bug-nexttoward.c: Include <math-tests.h>.
25400 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25401 the relevant type.
25402 * math/test-misc.c: Include <math-tests.h>.
25403 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25404 the relevant type.
25405
e0e50a0a
AJ
254062013-06-12 Andreas Jaeger <aj@suse.de>
25407
25408 * po/ia.po: Update Interlingua translation from translation
25409 project.
25410
25061094
SP
254112013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25412
25413 * include/fenv.h: Include stdbool.h.
25414 (struct rm_ctx): New structure.
25415 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25416 Define macro.
25417 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25418 (SET_RESTORE_ROUNDF): Likewise.
25419 (SET_RESTORE_ROUNDL): Likewise.
25420 (SET_RESTORE_ROUND_NOEX): Likewise.
25421 (SET_RESTORE_ROUND_NOEXF): Likewise.
25422 (SET_RESTORE_ROUND_NOEXL): Likewise.
25423 (SET_RESTORE_ROUND_53BIT): Likewise.
25424 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25425 (libc_feresetround_noexf_ctx): Likewise.
25426 (libc_feresetround_noexl_ctx): Likewise.
25427 (libc_feholdsetround_53bit_ctx): Likewise.
25428 (libc_feresetround_53bit_ctx): Likewise.
25429 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25430 (libc_feholdexcept_setround_sse_ctx): New function.
25431 (libc_fesetenv_sse_ctx): Likewise.
25432 (libc_feupdateenv_sse_ctx): Likewise.
25433 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25434 (libc_feholdexcept_setround_387_ctx): Likewise.
25435 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25436 (libc_feholdsetround_387_prec_ctx): Likewise.
25437 (libc_feholdsetround_387_ctx): Likewise.
25438 (libc_feholdsetround_387_53bit_ctx): Likewise.
25439 (libc_feholdsetround_sse_ctx): Likewise.
25440 (libc_feresetround_sse_ctx): Likewise.
25441 (libc_feresetround_387_ctx): Likewise.
25442 (libc_feupdateenv_387_ctx): Likewise.
25443 (libc_feholdexcept_setroundf_ctx): Define macro.
25444 (libc_fesetenvf_ctx): Likewise.
25445 (libc_feupdateenvf_ctx): Likewise.
25446 (libc_feholdsetroundf_ctx): Likewise.
25447 (libc_feresetroundf_ctx): Likewise.
25448 (libc_feholdexcept_setround_ctx): Likewise.
25449 (libc_fesetenv_ctx): Likewise.
25450 (libc_feupdateenv_ctx): Likewise.
25451 (libc_feholdsetround_ctx): Likewise.
25452 (libc_feresetround_ctx): Likewise.
25453 (libc_feholdexcept_setroundl_ctx): Likewise.
25454 (libc_feupdateenvl_ctx): Likewise.
25455 (libc_feholdsetroundl_ctx): Likewise.
25456 (libc_feresetroundl_ctx): Likewise.
25457 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25458 (libc_feresetround_53bit_ctx): Likewise.
25459
59b30555
SP
254602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25461
25462 * locale/iso-639.def: Convert to UTF-8.
25463
f1d73d30
JM
254642013-06-11 Joseph Myers <joseph@codesourcery.com>
25465
25466 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25467 (EXCEPTION_TESTS_double): Likewise.
25468 (EXCEPTION_TESTS_long_double): Likewise.
25469 (EXCEPTION_TESTS): Likewise.
25470 * math/libm-test.inc (test_exceptions): Only test exceptions if
25471 EXCEPTION_TESTS (FLOAT).
25472
94aca5e7
SP
254732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25474
25475 * benchtests/Makefile (string-bench): Add strcpy_chk and
25476 stpcpy_chk.
25477 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25478 * benchtests/bench-stpcpy_chk.c: New file.
25479 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25480 * benchtests/bench-strcpy_chk.c: New file.
25481 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25482 code.
25483 (do_test): Likewise.
25484
fac0c5f2
RA
254852013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25486
25487 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25488 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25489 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25490 with tabs where appropriate.
25491 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25492 dl-procinfo.h.
25493 [PPC_PLATFORM_PPC440]: Likewise.
25494 [PPC_PLATFORM_PPC464]: Likewise.
25495 [PPC_PLATFORM_PPC476]: Likewise.
25496 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25497 ppc464, and ppc476 platform strings merging from ports/
25498 dl-procinfo.h.
25499
f22bc486
AS
255002013-06-11 Andreas Schwab <schwab@suse.de>
25501
25502 [BZ #14991]
25503 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25504 (from_ucs4_idx): Regenerate.
25505 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25506 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25507 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25508 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25509 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25510 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25511 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25512 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25513 from FROM_LOOP and TO_LOOP specific macros.
25514 (BODY): Handle combining characters.
25515 * iconvdata/BIG5HKSCS.irreversible: Update.
25516 * iconvdata/BIG5HKSCS.precomposed: New file.
25517 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25518 characters.
25519 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25520
c1f75dc3
SP
255212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25522
4eacded2
SP
25523 * include/sys/time.h: Fix indentation and add copyright header.
25524
fec799f8
SP
25525 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25526 (do_test): Likewise.
25527 * string/test-memchr.c (do_one_test): Likewise.
25528 (do_test): Likewise.
25529 * string/test-memcmp.c (do_one_test): Likewise.
25530 (do_test): Likewise.
25531 * string/test-memcpy.c (do_one_test): Likewise.
25532 (do_test): Likewise.
25533 * string/test-memmem.c (do_one_test): Likewise.
25534 (do_test): Likewise.
25535 (do_random_tests): Likewise.
25536 * string/test-memmove.c (do_one_test): Likewise.
25537 (do_test): Likewise.
25538 * string/test-memset.c (do_one_test): Likewise.
25539 (do_test): Likewise.
25540 * string/test-rawmemchr.c (do_one_test): Likewise.
25541 (do_test): Likewise.
25542 * string/test-strcasecmp.c (do_one_test): Likewise.
25543 (do_test): Likewise.
25544 * string/test-strcasestr.c (do_one_test): Likewise.
25545 (do_test): Likewise.
25546 * string/test-strcat.c (do_one_test): Likewise.
25547 (do_test): Likewise.
25548 * string/test-strchr.c (do_one_test): Likewise.
25549 (do_test): Likewise.
25550 * string/test-strcmp.c (do_one_test): Likewise.
25551 (do_test): Likewise.
25552 * string/test-strcpy.c (do_one_test): Likewise.
25553 (do_test): Likewise.
25554 * string/test-string.h: Likewise.
25555 (test_init): Likewise.
25556 * string/test-strlen.c (do_one_test): Likewise.
25557 (do_test): Likewise.
25558 * string/test-strncasecmp.c (do_one_test): Likewise.
25559 (do_test): Likewise.
25560 * string/test-strncat.c (do_one_test): Likewise.
25561 (do_test): Likewise.
25562 * string/test-strncmp.c (do_one_test): Likewise.
25563 (do_test_limit): Likewise.
25564 (do_test): Likewise.
25565 * string/test-strncpy.c (do_one_test): Likewise.
25566 (do_test): Likewise.
25567 * string/test-strnlen.c (do_one_test): Likewise.
25568 (do_test): Likewise.
25569 * string/test-strpbrk.c (do_one_test): Likewise.
25570 (do_test): Likewise.
25571 * string/test-strrchr.c (do_one_test): Likewise.
25572 (do_test): Likewise.
25573 * string/test-strspn.c (do_one_test): Likewise.
25574 (do_test): Likewise.
25575 * string/test-strstr.c (do_one_test): Likewise.
25576 (do_test): Likewise.
25577
97020474
SP
25578 * benchtests/Makefile (string-bench): Add string benchmarks.
25579 * benchtests/bench-bcopy-ifunc.c: New file.
25580 * benchtests/bench-bcopy.c: New file.
25581 * benchtests/bench-bzero-ifunc.c: New file.
25582 * benchtests/bench-bzero.c: New file.
25583 * benchtests/bench-memccpy-ifunc.c: New file.
25584 * benchtests/bench-memccpy.c: New file.
25585 * benchtests/bench-memchr-ifunc.c: New file.
25586 * benchtests/bench-memchr.c: New file.
25587 * benchtests/bench-memcmp-ifunc.c: New file.
25588 * benchtests/bench-memcmp.c: New file.
25589 * benchtests/bench-memmem-ifunc.c: New file.
25590 * benchtests/bench-memmem.c: New file.
25591 * benchtests/bench-memmove-ifunc.c: New file.
25592 * benchtests/bench-memmove.c: New file.
25593 * benchtests/bench-mempcpy-ifunc.c: New file.
25594 * benchtests/bench-mempcpy.c: New file.
25595 * benchtests/bench-memset-ifunc.c: New file.
25596 * benchtests/bench-memset.c: New file.
25597 * benchtests/bench-rawmemchr-ifunc.c: New file.
25598 * benchtests/bench-rawmemchr.c: New file.
25599 * benchtests/bench-stpcpy-ifunc.c: New file.
25600 * benchtests/bench-stpcpy.c: New file.
25601 * benchtests/bench-stpncpy-ifunc.c: New file.
25602 * benchtests/bench-stpncpy.c: New file.
25603 * benchtests/bench-strcasecmp-ifunc.c: New file.
25604 * benchtests/bench-strcasecmp.c: New file.
25605 * benchtests/bench-strcasestr-ifunc.c: New file.
25606 * benchtests/bench-strcasestr.c: New file.
25607 * benchtests/bench-strcat-ifunc.c: New file.
25608 * benchtests/bench-strcat.c: New file.
25609 * benchtests/bench-strchr-ifunc.c: New file.
25610 * benchtests/bench-strchr.c: New file.
25611 * benchtests/bench-strchrnul-ifunc.c: New file.
25612 * benchtests/bench-strchrnul.c: New file.
25613 * benchtests/bench-strcmp-ifunc.c: New file.
25614 * benchtests/bench-strcmp.c: New file.
25615 * benchtests/bench-strcpy-ifunc.c: New file.
25616 * benchtests/bench-strcpy.c: New file.
25617 * benchtests/bench-strcspn-ifunc.c: New file.
25618 * benchtests/bench-strcspn.c: New file.
25619 * benchtests/bench-strlen-ifunc.c: New file.
25620 * benchtests/bench-strlen.c: New file.
25621 * benchtests/bench-strncasecmp-ifunc.c: New file.
25622 * benchtests/bench-strncasecmp.c: New file.
25623 * benchtests/bench-strncat-ifunc.c: New file.
25624 * benchtests/bench-strncat.c: New file.
25625 * benchtests/bench-strncmp-ifunc.c: New file.
25626 * benchtests/bench-strncmp.c: New file.
25627 * benchtests/bench-strncpy-ifunc.c: New file.
25628 * benchtests/bench-strncpy.c: New file.
25629 * benchtests/bench-strnlen-ifunc.c: New file.
25630 * benchtests/bench-strnlen.c: New file.
25631 * benchtests/bench-strpbrk-ifunc.c: New file.
25632 * benchtests/bench-strpbrk.c: New file.
25633 * benchtests/bench-strrchr-ifunc.c: New file.
25634 * benchtests/bench-strrchr.c: New file.
25635 * benchtests/bench-strspn-ifunc.c: New file.
25636 * benchtests/bench-strspn.c: New file.
25637 * benchtests/bench-strstr-ifunc.c: New file.
25638 * benchtests/bench-strstr.c: New file.
25639
c1f75dc3
SP
25640 * benchtests/Makefile: Disable parallel execution of targets.
25641 (string-bench): Add memcpy.
25642 (benchset): New variable to store a list of benchmark sets.
25643 (bench-func): Renamed from bench.
25644 (bench-set): New target.
25645 (bench): Depend on bench-func and bench-set.
25646 * benchtests/README: Add section on benchmark sets.
25647 * benchtests/bench-memcpy-ifunc.c: New file.
25648 * benchtests/bench-memcpy.c: New file.
25649 * benchtests/bench-string.h: New file.
25650
50fd745b
AS
256512013-06-11 Andreas Schwab <schwab@suse.de>
25652
25653 [BZ #15577]
25654 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25655 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25656 values in the triple.
25657 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25658 terminator in the group key.
25659
3ee7e9fe
AJ
256602013-06-11 Andreas Jaeger <aj@suse.de>
25661
25662 * po/zh_TW.po: Update Chinese (traditional) translation from
25663 translation project.
25664
89fb6835
SP
256652013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25666
25667 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25668 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25669 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25671 (clock_getcpuclockid): Likewise.
25672 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25673 Add weak_alias and libc_hidden_def.
25674 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25675 * rt/clock_gettime.c (clock_gettime): Rename to
25676 __clock_gettime. Add weak_alias and libc_hidden_def.
25677 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25678 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25679 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25680 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25681 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25682 Likewise.
25683 * rt/clock_settime.c (clock_settime): Rename to
25684 __clock_settime. Add weak_alias and libc_hidden_def.
25685 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25686
0efa6f8b
JM
256872013-06-10 Joseph Myers <joseph@codesourcery.com>
25688
b8c61b4b
JM
25689 * mach/err_boot.sub: Remove trailing whitespace.
25690 * mach/err_ipc.sub: Likewise.
25691 * mach/err_mach.sub: Likewise.
25692
0efa6f8b
JM
25693 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25694 (ROUNDING_TESTS_double): Likewise.
25695 (ROUNDING_TESTS_long_double): Likewise.
25696 (ROUNDING_TESTS): Likewise.
25697 * math/libm-test.inc: Include <math-tests.h>.
25698 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25699 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25700 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25701 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25702
50b818bf
SP
257032013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25704
25705 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25706 of assigning.
25707
60d2f8f3
JM
257082013-06-08 Joseph Myers <joseph@codesourcery.com>
25709
4902d2c3
JM
25710 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25711 otherwise empty TRANS lines.
25712 * sysdeps/gnu/errlist.c: Regenerated.
25713
60d2f8f3
JM
25714 * catgets/gencat.c (error_print): Use (void) in function
25715 definition.
25716 * crypt/crypt_util.c (__init_des): Likewise.
25717 * crypt/speeds.c (Stop): Likewise.
25718 (main): Likewise.
25719 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25720 * inet/ruserpass.c (token): Likewise.
25721 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25722 * intl/localealias.c (extend_alias_table): Likewise.
25723 * intl/plural-exp.c (init_germanic_plural): Likewise.
25724 * libio/fcloseall.c (__fcloseall): Likewise.
25725 * libio/genops.c (_IO_flush_all): Likewise.
25726 (_IO_flush_all_linebuffered): Likewise.
25727 (_IO_cleanup): Likewise.
25728 (_IO_iter_begin): Likewise.
25729 (_IO_iter_end): Likewise.
25730 (_IO_list_lock): Likewise.
25731 (_IO_list_unlock): Likewise.
25732 (_IO_list_resetlock): Likewise.
25733 * libio/getchar.c (getchar): Likewise.
25734 * libio/getchar_u.c (getchar_unlocked): Likewise.
25735 * libio/getwchar.c (getwchar): Likewise.
25736 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25737 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25738 * login/getpt.c (__getpt): Likewise.
25739 * login/tst-utmp.c (main): Likewise.
25740 * malloc/hooks.c (__malloc_check_init): Likewise.
25741 * malloc/malloc.c (__malloc_stats): Likewise.
25742 * malloc/mtrace.c (tr_break): Likewise.
25743 (mtrace): Likewise.
25744 (muntrace): Likewise.
25745 * misc/fstab.c (endfsent): Likewise.
25746 * misc/getclktck.c (__getclktck): Likewise.
25747 * misc/getdtsz.c (__getdtablesize): Likewise.
25748 * misc/gethostid.c (gethostid): Likewise.
25749 * misc/getpagesize.c (__getpagesize): Likewise.
25750 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25751 (__get_nprocs): Likewise.
25752 (__get_phys_pages): Likewise.
25753 (__get_avphys_pages): Likewise.
25754 * misc/getttyent.c (getttyent): Likewise.
25755 (setttyent): Likewise.
25756 (endttyent): Likewise.
25757 * misc/getusershell.c (getusershell): Likewise.
25758 (endusershell): Likewise.
25759 (setusershell): Likewise.
25760 (initshells): Likewise.
25761 * misc/hsearch.c (__hdestroy): Likewise.
25762 * misc/sync.c (sync): Likewise.
25763 * misc/syslog.c (closelog_internal): Likewise.
25764 (closelog): Likewise.
25765 * misc/ttyslot.c (ttyslot): Likewise.
25766 * misc/vhangup.c (vhangup): Likewise.
25767 * posix/fork.c (__fork): Likewise.
25768 * posix/getegid.c (__getegid): Likewise.
25769 * posix/geteuid.c (__geteuid): Likewise.
25770 * posix/getgid.c (__getgid): Likewise.
25771 * posix/getpid.c (__getpid): Likewise.
25772 * posix/getppid.c (__getppid): Likewise.
25773 * posix/getuid.c (__getuid): Likewise.
25774 * posix/pause.c (pause): Likewise.
25775 * posix/setpgrp.c (setpgrp): Likewise.
25776 * posix/setsid.c (__setsid): Likewise.
25777 * posix/test-vfork.c (noop): Likewise.
25778 * resolv/gethnamaddr.c (_endhtent): Likewise.
25779 (_gethtent): Likewise.
25780 (ht_endhostent): Likewise.
25781 (gethostent): Likewise.
25782 (dns_service): Likewise.
25783 * stdlib/drand48.c (drand48): Likewise.
25784 * stdlib/lrand48.c (lrand48): Likewise.
25785 * stdlib/mrand48.c (mrand48): Likewise.
25786 * stdlib/rand.c (rand): Likewise.
25787 * stdlib/random.c (__random): Likewise.
25788 * stdlib/setenv.c (clearenv): Likewise.
25789 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25790 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25791 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25792 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25793 (__get_nprocs): Likewise.
25794 (__get_phys_pages): Likewise.
25795 (__get_avphys_pages): Likewise.
25796 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25797 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25798 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25799 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25800 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25801 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25802 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25803 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25804 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25805 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25806 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25807 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25808 * sysdeps/posix/clock.c (clock): Likewise.
25809 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25810 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25811 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25812 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25813 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25815 (__get_nprocs_conf): Likewise.
25816 (__get_phys_pages): Likewise.
25817 (__get_avphys_pages): Likewise.
25818 * time/clock.c (clock): Likewise.
25819 * time/tzset.c (__tzname_max): Likewise.
25820
2e09a79a
JM
258212013-06-07 Joseph Myers <joseph@codesourcery.com>
25822
25823 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25824 (__bswap_32): Do not use "register".
25825 * crypt/crypt.c (_ufc_doit_r): Likewise.
25826 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25827 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25828 * gmon/gmon.c (__monstartup): Likewise.
25829 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25830 * hurd/hurdmalloc.c (more_memory): Likewise.
25831 (malloc): Likewise.
25832 (free): Likewise.
25833 (realloc): Likewise.
25834 (malloc_fork_prepare): Likewise.
25835 (malloc_fork_parent): Likewise.
25836 (malloc_fork_child): Likewise.
25837 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25838 (_svcauth_des): Likewise.
25839 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25840 * inet/inet_net.c (inet_network): Likewise.
25841 * inet/inet_netof.c (inet_netof): Likewise.
25842 * inet/rcmd.c (__validuser2_sa): Likewise.
25843 * io/fts.c (fts_open): Likewise.
25844 (fts_load): Likewise.
25845 (fts_close): Likewise.
25846 (fts_read): Likewise.
25847 (fts_children): Likewise.
25848 (fts_build): Likewise.
25849 (fts_stat): Likewise.
25850 (fts_sort): Likewise.
25851 (fts_alloc): Likewise.
25852 (fts_lfree): Likewise.
25853 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25854 (_IO_file_xsgetn): Likewise.
25855 (_IO_file_xsgetn_mmap): Likewise.
25856 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25857 (_IO_cookie_write): Likewise.
25858 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25859 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25860 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25861 * malloc/obstack.c (_obstack_begin): Likewise.
25862 (_obstack_begin_1): Likewise.
25863 (_obstack_newchunk): Likewise.
25864 (_obstack_allocated_p): Likewise.
25865 (obstack_free): Likewise.
25866 (_obstack_memory_used): Likewise.
25867 * misc/getttyent.c (getttynam): Likewise.
25868 (getttyent): Likewise.
25869 (skip): Likewise.
25870 (value): Likewise.
25871 * misc/getusershell.c (initshells): Likewise.
25872 * misc/syslog.c (__vsyslog_chk): Likewise.
25873 * misc/ttyslot.c (ttyslot): Likewise.
25874 * nis/nis_hash.c (__nis_hash): Likewise.
25875 * posix/fnmatch_loop.c (FCT): Likewise.
25876 * posix/getconf.c (print_all): Likewise.
25877 (main): Likewise.
25878 * posix/getopt.c (exchange): Likewise.
25879 * posix/glob.c (globfree): Likewise.
25880 (prefix_array): Likewise.
25881 (__glob_pattern_type): Likewise.
25882 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25883 (NS_GET32): Likewise.
25884 (NS_PUT16): Likewise.
25885 (NS_PUT32): Likewise.
25886 * resolv/gethnamaddr.c (getanswer): Likewise.
25887 (gethostbyname2): Likewise.
25888 (gethostbyaddr): Likewise.
25889 (_gethtent): Likewise.
25890 (_gethtbyname2): Likewise.
25891 (_gethtbyaddr): Likewise.
25892 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25893 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25894 * resolv/res_init.c (__res_vinit): Likewise.
25895 (net_mask): Likewise.
25896 * resolv/res_mkquery.c (outchar): Likewise.
25897 (PRINT): Likewise.
25898 * stdio-common/printf_fp.c (outchar): Likewise.
25899 (PRINT): Likewise.
25900 * stdio-common/printf_fphex.c (outchar): Likewise.
25901 (PRINT): Likewise.
25902 * stdio-common/printf_size.c (outchar): Likewise.
25903 (PRINT): Likewise.
25904 * stdio-common/test_rdwr.c (main): Likewise.
25905 * stdio-common/tfformat.c (matches): Likewise.
25906 * stdio-common/vfprintf.c (outchar): Likewise.
25907 (printf_unknown): Likewise.
25908 (buffered_vfprintf): Likewise.
25909 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25910 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25911 (ReadFile): Likewise.
25912 * stdlib/qsort.c (SWAP): Likewise.
25913 (_quicksort): Likewise.
25914 * stdlib/setenv.c (__add_to_environ): Likewise.
25915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25916 * stdlib/strtol_l.c (__strtol_l): Likewise.
25917 * stdlib/tst-strtod.c (main): Likewise.
25918 * stdlib/tst-strtol.c (main): Likewise.
25919 * stdlib/tst-strtoll.c (main): Likewise.
25920 * string/bits/string2.h (__strcmp_cc): Likewise.
25921 (__strcmp_cg): Likewise.
25922 (__strcspn_c1): Likewise.
25923 (__strcspn_c2): Likewise.
25924 (__strcspn_c3): Likewise.
25925 (__strspn_c1): Likewise.
25926 (__strspn_c2): Likewise.
25927 (__strspn_c3): Likewise.
25928 (__strsep_1c): Likewise.
25929 (__strsep_2c): Likewise.
25930 (__strsep_3c): Likewise.
25931 * string/memccpy.c (__memccpy): Likewise.
25932 * string/stpcpy.c (__stpcpy): Likewise.
25933 * string/strcmp.c (strcmp): Likewise.
25934 * string/strrchr.c (strrchr): Likewise.
25935 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25936 Likewise.
25937 * sysdeps/mach/hurd/getcwd.c
25938 (_hurd_canonicalize_directory_name_internal): Likewise.
25939 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25940 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25941 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25942 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25943 Likewise, in both definitions.
25944 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25945 definitions.
25946 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25947 64] (__bswap_64): Likewise.
25948 * time/test_time.c (main): Likewise.
25949 * time/tzfile.c (__tzfile_read): Likewise.
25950 (__tzfile_compute): Likewise.
25951 * time/tzset.c (__tzset_parse_tz): Likewise.
25952 (tzset_internal): Likewise.
25953 (compute_change): Likewise.
25954 * wcsmbs/wcscat.c (__wcscat): Likewise.
25955 * wcsmbs/wcschr.c (wcschr): Likewise.
25956 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25957 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25958 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25959 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25960 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25961 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25962 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25963 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25964 * wcsmbs/wmemset.c (wmemset): Likewise.
25965
9e54314b
JM
259662013-06-06 Joseph Myers <joseph@codesourcery.com>
25967
25968 * scripts/config.guess: Update to version 2013-05-16.
25969 * scripts/config.sub: Update to version 2013-04-24.
25970 * scripts/install-sh: Update to version 2011-11-20.07.
25971 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25972 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25973
350635a5
OB
259742013-06-06 Ondřej Bílka <neleai@seznam.cz>
25975
25976 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25977 * elf/sln.c: Likewise.
25978 * hurd/hurd/ioctl.h: Likewise.
25979 * hurd/hurdmalloc.c: Likewise.
25980 * hurd/xattr.c: Likewise.
25981 * include/shlib-compat.h: Likewise.
25982 * inet/ruserpass.c: Likewise.
25983 * libio/iofgets_u.c: Likewise.
25984 * libio/iofgetws_u.c: Likewise.
25985 * locale/programs/ld-identification.c: Likewise.
25986 * locale/programs/ld-time.c: Likewise.
25987 * mach/msg-destroy.c: Likewise.
25988 * nss/nss_files/files-netgrp.c: Likewise.
25989 * resolv/res_data.c: Likewise.
25990 * soft-fp/op-1.h: Likewise.
25991 * soft-fp/op-2.h: Likewise.
25992 * soft-fp/op-4.h: Likewise.
25993 * soft-fp/op-common.h: Likewise.
25994 * stdio-common/printf_fphex.c: Likewise.
25995 * stdlib/strtod_l.c: Likewise.
25996 * sunrpc/rpc/clnt.h: Likewise.
25997 * sysdeps/generic/framestate.c: Likewise.
25998 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25999 * sysdeps/i386/bsd-setjmp.S: Likewise.
26000 * sysdeps/i386/__longjmp.S: Likewise.
26001 * sysdeps/i386/setjmp.S: Likewise.
26002 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26003 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26006 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26007 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26012 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26020 * sysdeps/ieee754/support.c: Likewise.
26021 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26022 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26023 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26024 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26025 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26026 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26027 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26028 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26029 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26030 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26031 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26032 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26033 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26034 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26035 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26036 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26037 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26039
44a988af
OB
260402013-06-05 Ondřej Bílka <neleai@seznam.cz>
26041
25506f09 26042 * posix/transbug.c: Remove executable mode.
44a988af 26043
9c84384c
JM
260442013-06-05 Joseph Myers <joseph@codesourcery.com>
26045
26046 * crypt/speeds.c: Remove trailing whitespace.
26047 * dlfcn/default.c: Likewise.
26048 * elf/ifuncdep2.c: Likewise.
26049 * elf/ifuncmain1.c: Likewise.
26050 * elf/ifuncmain1vis.c: Likewise.
26051 * elf/testobj.h: Likewise.
26052 * elf/tst-stackguard1.c: Likewise.
26053 * gmon/sys/gmon.h: Likewise.
26054 * hurd/hurdmsg.c: Likewise.
26055 * hurd/new-fd.c: Likewise.
26056 * hurd/ports-get.c: Likewise.
26057 * iconvdata/ibm1008_420.c: Likewise.
26058 * inet/tst-getni1.c: Likewise.
26059 * inet/tst-getni2.c: Likewise.
26060 * libio/ioungetc.c: Likewise.
26061 * libio/wfiledoalloc.c: Likewise.
26062 * manual/libm-err-tab.pl: Likewise.
26063 * math/w_dremf.c: Likewise.
26064 * misc/ftruncate.c: Likewise.
26065 * posix/bug-glob2.c: Likewise.
26066 * posix/tst-pcre.c: Likewise.
26067 * posix/wait4.c: Likewise.
26068 * resolv/README: Likewise.
26069 * resolv/res_debug.h: Likewise.
26070 * resolv/tst-inet_ntop.c: Likewise.
26071 * setjmp/bug269-setjmp.c: Likewise.
26072 * soft-fp/extended.h: Likewise.
26073 * soft-fp/op-1.h: Likewise.
26074 * soft-fp/op-2.h: Likewise.
26075 * soft-fp/op-4.h: Likewise.
26076 * soft-fp/op-8.h: Likewise.
26077 * soft-fp/testit.c: Likewise.
26078 * stdio-common/bug16.c: Likewise.
26079 * stdlib/random.c: Likewise.
26080 * sunrpc/rpcsvc/rquota.x: Likewise.
26081 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26082 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26083 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26084 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26085 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26086 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26087 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26089 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26091 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26108 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26110 * sysdeps/ieee754/s_lib_version.c: Likewise.
26111 * sysdeps/mach/hurd/check_fds.c: Likewise.
26112 * sysdeps/mach/hurd/getsockname.c: Likewise.
26113 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26114 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26115 * sysdeps/powerpc/bits/link.h: Likewise.
26116 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26117 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26118 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26119 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26120 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26121 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26122 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26123 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26124 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26125 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26126 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26127 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26128 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26129 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26130 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26131 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26134 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26135 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26136 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26137 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26139 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26140 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26142 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26143 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26144 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26145 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26146 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26147 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26149 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26150 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26165 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26167 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26168 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26172 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26173 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26175 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26176 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26177 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26179 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26180 * sysdeps/powerpc/sysdep.h: Likewise.
26181 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26182 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26183 * sysdeps/sh/dl-trampoline.S: Likewise.
26184 * sysdeps/sh/memset.S: Likewise.
26185 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26186 * sysdeps/sh/strlen.S: Likewise.
26187 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26188 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26189 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26190 * sysdeps/sparc/sparc32/rem.S: Likewise.
26191 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26192 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26193 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26194 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26195 * sysdeps/sparc/sparc32/urem.S: Likewise.
26196 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26197 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26198 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26199 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26201 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26202 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26203 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26204 * sysdeps/unix/bsd/times.c: Likewise.
26205 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26206 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26210 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26211 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26212 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26214 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26216 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26217 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26218 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26219 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26221 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26222 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26223 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26224 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26225 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26226 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26227 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26228 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26229 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26230 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26231 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26233 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26234 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26235 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26236 * sysdeps/x86_64/strcspn.S: Likewise.
26237
869378a5
RA
262382013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26239
26240 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26241 generated file. Regenerate properly from gen-translit.pl.
26242 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26243 locale/C-translit.h.
26244
840e2943
AS
262452013-06-05 Andreas Schwab <schwab@suse.de>
26246
26247 [BZ #15100]
26248 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26249 week as 6 instead of -1.
26250 * time/tst-strptime.c (day_tests): Add test case.
26251
4c60cb0c
SP
262522013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26253
26254 * sysdeps/generic/math_private.h
26255 (libc_feholdexcept_setround_53bit): Replace with
26256 libc_feholdsetround_53bit.
26257 (libc_feupdateenv_53bit): Replace with
26258 libc_feresetround_53bit.
26259 (SET_RESTORE_ROUND_53BIT): Adjust.
26260
d180203e
SP
262612013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26262
96df079a
SP
26263 * string/test-strchrnul.c: Add copyright header.
26264
d180203e
SP
26265 * posix/tst-getaddrinfo4.c: Increase test timeout.
26266
8b0ccb2d
CD
262672013-06-03 Carlos O'Donell <carlos@redhat.com>
26268
26269 [BZ #15536]
26270 * math/libm-test.inc (MAX_EXP): Remove
26271 (MIN_EXP): Define.
26272 (ulp): Use MIN_EXP - MANT_DIG.
26273 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26274
3b3c4d40
CD
262752013-05-31 Carlos O'Donell <carlos@redhat.com>
26276
26277 * po/be.po: Revert last change.
26278 * po/zh_CN.po: Likewise.
26279 * po/header.pot: Likewise.
26280
fab7ce3f
JM
262812013-05-31 Joseph Myers <joseph@codesourcery.com>
26282
26283 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26284 link-libc-deps to empty as target-specific variable.
26285 * Makerules (link-libc-args): New variable.
26286 (libc-for-link): Likewise.
26287 (link-libc-deps): Likewise.
26288 (lib%.so): Depend on $(link-libc-deps). Link with
26289 $(link-libc-args).
26290 (build-module): Link with $(link-libc-args).
26291 (build-module-asneeded): Likewise.
26292 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26293 list of objects.
26294 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26295 target-specific variable.
26296 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26297 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26298 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26299 libc.
26300 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26301 libc and ld.so.
26302 ($(objpfx)libpcprofile.so): Likewise.
26303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26304 libc_nonshared.a.
26305 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26306 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26308 $(link-libc-deps).
26309 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26310 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26311 * login/Makefile ($(objpfx)libutil.so): Likewise.
26312 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26313 * math/Makefile ($(objpfx)libm.so): Likewise.
26314 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26315 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26316 variable instead of depending directly on libc.
26317 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26318 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26319 $(link-libc-deps).
26320 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26321 libc.
26322 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26323 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26324 ($(objpfx)libanl.so): Likewise.
26325 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26326 ld.so.
26327 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26328 $(link-libc-deps).
26329 * sysdeps/i386/fpu/Makefile: Remove file.
26330 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26331 ($(objpfx)libm.so): Remove dependency on ld.so.
26332
eca5920c
PF
263332013-05-30 Patsy Franklin <pfrankli@redhat.com>
26334
26335 [BZ # 15553]
26336 * nis/yp_xdr.c (XDRMAXNAME): Define.
26337 (XDRMAXRECORD): Define.
26338 (xdr_domainname): Use XDRMAXNAME.
26339 (xdr_mapname): Likewise.
26340 (xdr_peername): Likewise.
26341 (xdr_keydat): Use XDRMAXRECORD.
26342 (xdr_valdat): Likewise.
26343
263442013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26345
26346 [BZ #14256]
26347 * manual/errno.texi (ESTALE): Update to account for more than
26348 just NFS file systems.
26349 * sysdeps/gnu/errlist.c: Regenerated.
26350
b9375348
SP
263512013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26352
26353 [BZ #15465]
26354 * elf/Makefile (tests): Add tst-null-argv.
26355 (modules-names): Add tst-null-argv-lib.
26356 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26357 (tst-null-argv-ENV): Set environment for tst-null-argv.
26358 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26359 (RTLD_PROGNAME): New macro.
26360 * elf/tst-null-argv.c: New test case.
26361 * elf/tst-null-argv-lib.c: Library for test case.
26362 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26363 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26364 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26365 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26366 * elf/dl-init.c (call_init): Likewise.
26367 (_dl_init): Likewise.
26368 * elf/dl-load.c (print_search_path): Likewise.
26369 (_dl_map_object): Likewise.
26370 * elf/dl-lookup.c (do_lookup_x): Likewise.
26371 (add_dependency): Likewise.
26372 (_dl_lookup_symbol_x): Likewise.
26373 (_dl_debug_bindings): Likewise.
26374 * elf/dl-open.c (_dl_show_scope): Likewise.
26375 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26376 * elf/dl-version.c (match_symbol): Likewise.
26377 (_dl_check_map_versions): Likewise.
26378 * elf/rtld.c (dl_main): Likewise.
26379 (print_unresolved): Use RTLD_PROGNAME.
26380 (print_missing_version): Likewise.
26381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26382 (elf_machine_rela): Likewise.
26383 * sysdeps/powerpc/powerpc32/dl-machine.c
26384 (__process_machine_rela): Likewise.
26385 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26386 Likewise.
26387 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26388 Likewise.
26389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26390 Likewise.
26391 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26393 Likewise.
26394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26395 Likewise.
26396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26397
8a9f20c8
CD
263982013-05-28 Carlos O'Donell <carlos@redhat.com>
26399
26400 * po/be.po: Add descriptive title.
26401 * po/zh_CN.po: Likewise.
26402 * po/header.pot: Likewise.
26403
0e60d68e
MF
264042013-05-28 Mike Frysinger <vapier@gentoo.org>
26405
26406 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26407 error message.
26408 (enlarge_archive): Likewise.
26409
56b672e9
BN
264102013-05-28 Ben North <ben@redfrontdoor.org>
26411
26412 * manual/arith.texi (frexp): It is the magnitude of the return
26413 value which lies in [0.5, 1), not the return value itself.
26414
5e056687
AZ
264152013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26416
26417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26418
2b66ef5d
TS
264192013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26420
528c2405
TS
26421 * stdio-common/bug26.c (main): Correct fscanf template.
26422
07b4c13d
TS
26423 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26424 declare _dl_skip_args.
26425
ec9dd97c
TS
26426 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26427 Don't declare.
26428
2b66ef5d
TS
26429 * manual/platform.texi: Add missing @end deftypefun.
26430
4f8dfe27
JM
264312013-05-24 Joseph Myers <joseph@codesourcery.com>
26432
0323d086
JM
26433 [BZ #15529]
26434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26435 bit of mantissa of 2^16382.
26436 * math/libm-test.inc (hypot_test_data): Add more tests.
26437
dd4259b9
JM
26438 * math/libm-test.inc: Add drem and pow10 to list of tested
26439 functions.
26440 (pow10_test): New function.
26441 (drem_test): Likewise.
26442 (drem_test_tonearest): Likewise.
26443 (drem_test_towardzero): Likewise.
26444 (drem_test_downward): Likewise.
26445 (drem_test_upward): Likewise.
26446 (main): Call the new functions.
26447
4f8dfe27
JM
26448 * math/libm-test.inc (finite_test_data): Remove.
26449 (finite_test): Run tests from isfinite_test_data.
26450 (gamma_test_data): Remove.
26451 (gamma_test): Run tests from lgamma_test_data.
26452 * sysdeps/i386/fpu/libm-test-ulps: Update.
26453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454
d116b7c4
AZ
264552013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26456
26457 * manual/platform.texi: Add PowerPC PPR function set documentation.
26458 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26459 implementation.
26460
e96e3767
CD
264612013-05-24 Carlos O'Donell <carlos@redhat.com>
26462
26463 * math/libm-test.inc (MAX_EXP): Define.
26464 (ULPDIFF): Define.
26465 (ulp): New function.
26466 (check_float_internal): Use ULPDIFF.
26467 (cpow_test): Disable failing test.
26468 (check_ulp): Test ulp() implemetnation.
26469 (main): Call check_ulp before starting tests.
26470
b679a606
JM
264712013-05-24 Joseph Myers <joseph@codesourcery.com>
26472
e8bdba36
JM
26473 * math/gen-libm-test.pl (generate_testfile): Do not handle
26474 START_DATA and END_DATA.
26475 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26476 END_DATA.
26477 (acos_tonearest_test_data): Likewise.
26478 (acos_towardzero_test_data): Likewise.
26479 (acos_downward_test_data): Likewise.
26480 (acos_upward_test_data): Likewise.
26481 (acosh_test_data): Likewise.
26482 (asin_test_data): Likewise.
26483 (asin_tonearest_test_data): Likewise.
26484 (asin_towardzero_test_data): Likewise.
26485 (asin_downward_test_data): Likewise.
26486 (asin_upward_test_data): Likewise.
26487 (asinh_test_data): Likewise.
26488 (atan_test_data): Likewise.
26489 (atanh_test_data): Likewise.
26490 (atan2_test_data): Likewise.
26491 (cabs_test_data): Likewise.
26492 (cacos_test_data): Likewise.
26493 (cacosh_test_data): Likewise.
26494 (carg_test_data): Likewise.
26495 (casin_test_data): Likewise.
26496 (casinh_test_data): Likewise.
26497 (catan_test_data): Likewise.
26498 (catanh_test_data): Likewise.
26499 (cbrt_test_data): Likewise.
26500 (ccos_test_data): Likewise.
26501 (ccosh_test_data): Likewise.
26502 (ceil_test_data): Likewise.
26503 (cexp_test_data): Likewise.
26504 (cimag_test_data): Likewise.
26505 (clog_test_data): Likewise.
26506 (clog10_test_data): Likewise.
26507 (conj_test_data): Likewise.
26508 (copysign_test_data): Likewise.
26509 (cos_test_data): Likewise.
26510 (cos_tonearest_test_data): Likewise.
26511 (cos_towardzero_test_data): Likewise.
26512 (cos_downward_test_data): Likewise.
26513 (cos_upward_test_data): Likewise.
26514 (cosh_test_data): Likewise.
26515 (cosh_tonearest_test_data): Likewise.
26516 (cosh_towardzero_test_data): Likewise.
26517 (cosh_downward_test_data): Likewise.
26518 (cosh_upward_test_data): Likewise.
26519 (cpow_test_data): Likewise.
26520 (cproj_test_data): Likewise.
26521 (creal_test_data): Likewise.
26522 (csin_test_data): Likewise.
26523 (csinh_test_data): Likewise.
26524 (csqrt_test_data): Likewise.
26525 (ctan_test_data): Likewise.
26526 (ctan_tonearest_test_data): Likewise.
26527 (ctan_towardzero_test_data): Likewise.
26528 (ctan_downward_test_data): Likewise.
26529 (ctan_upward_test_data): Likewise.
26530 (ctanh_test_data): Likewise.
26531 (ctanh_tonearest_test_data): Likewise.
26532 (ctanh_towardzero_test_data): Likewise.
26533 (ctanh_downward_test_data): Likewise.
26534 (ctanh_upward_test_data): Likewise.
26535 (erf_test_data): Likewise.
26536 (erfc_test_data): Likewise.
26537 (exp_test_data): Likewise.
26538 (exp_tonearest_test_data): Likewise.
26539 (exp_towardzero_test_data): Likewise.
26540 (exp_downward_test_data): Likewise.
26541 (exp_upward_test_data): Likewise.
26542 (exp10_test_data): Likewise.
26543 (exp2_test_data): Likewise.
26544 (expm1_test_data): Likewise.
26545 (fabs_test_data): Likewise.
26546 (fdim_test_data): Likewise.
26547 (finite_test_data): Likewise.
26548 (floor_test_data): Likewise.
26549 (fma_test_data): Likewise.
26550 (fma_towardzero_test_data): Likewise.
26551 (fma_downward_test_data): Likewise.
26552 (fma_upward_test_data): Likewise.
26553 (fmax_test_data): Likewise.
26554 (fmin_test_data): Likewise.
26555 (fmod_test_data): Likewise.
26556 (fpclassify_test_data): Likewise.
26557 (frexp_test_data): Likewise.
26558 (gamma_test_data): Likewise.
26559 (hypot_test_data): Likewise.
26560 (ilogb_test_data): Likewise.
26561 (isfinite_test_data): Likewise.
26562 (isgreater_test_data): Likewise.
26563 (isgreaterequal_test_data): Likewise.
26564 (isinf_test_data): Likewise.
26565 (isless_test_data): Likewise.
26566 (islessequal_test_data): Likewise.
26567 (islessgreater_test_data): Likewise.
26568 (isnan_test_data): Likewise.
26569 (isnormal_test_data): Likewise.
26570 (issignaling_test_data): Likewise.
26571 (isunordered_test_data): Likewise.
26572 (j0_test_data): Likewise.
26573 (j1_test_data): Likewise.
26574 (jn_test_data): Likewise.
26575 (ldexp_test_data): Likewise.
26576 (lgamma_test_data): Likewise.
26577 (lrint_test_data): Likewise.
26578 (lrint_tonearest_test_data): Likewise.
26579 (lrint_towardzero_test_data): Likewise.
26580 (lrint_downward_test_data): Likewise.
26581 (lrint_upward_test_data): Likewise.
26582 (llrint_test_data): Likewise.
26583 (llrint_tonearest_test_data): Likewise.
26584 (llrint_towardzero_test_data): Likewise.
26585 (llrint_downward_test_data): Likewise.
26586 (llrint_upward_test_data): Likewise.
26587 (log_test_data): Likewise.
26588 (log10_test_data): Likewise.
26589 (log1p_test_data): Likewise.
26590 (log2_test_data): Likewise.
26591 (logb_test_data): Likewise.
26592 (logb_downward_test_data): Likewise.
26593 (lround_test_data): Likewise.
26594 (llround_test_data): Likewise.
26595 (modf_test_data): Likewise.
26596 (nearbyint_test_data): Likewise.
26597 (nextafter_test_data): Likewise.
26598 (nexttoward_test_data): Likewise.
26599 (pow_test_data): Likewise.
26600 (pow_tonearest_test_data): Likewise.
26601 (pow_towardzero_test_data): Likewise.
26602 (pow_downward_test_data): Likewise.
26603 (pow_upward_test_data): Likewise.
26604 (remainder_test_data): Likewise.
26605 (remainder_tonearest_test_data): Likewise.
26606 (remainder_towardzero_test_data): Likewise.
26607 (remainder_downward_test_data): Likewise.
26608 (remainder_upward_test_data): Likewise.
26609 (remquo_test_data): Likewise.
26610 (rint_test_data): Likewise.
26611 (rint_tonearest_test_data): Likewise.
26612 (rint_towardzero_test_data): Likewise.
26613 (rint_downward_test_data): Likewise.
26614 (rint_upward_test_data): Likewise.
26615 (round_test_data): Likewise.
26616 (scalb_test_data): Likewise.
26617 (scalbn_test_data): Likewise.
26618 (scalbln_test_data): Likewise.
26619 (signbit_test_data): Likewise.
26620 (sin_test_data): Likewise.
26621 (sin_tonearest_test_data): Likewise.
26622 (sin_towardzero_test_data): Likewise.
26623 (sin_downward_test_data): Likewise.
26624 (sin_upward_test_data): Likewise.
26625 (sincos_test_data): Likewise.
26626 (sinh_test_data): Likewise.
26627 (sinh_tonearest_test_data): Likewise.
26628 (sinh_towardzero_test_data): Likewise.
26629 (sinh_downward_test_data): Likewise.
26630 (sinh_upward_test_data): Likewise.
26631 (sqrt_test_data): Likewise.
26632 (tan_test_data): Likewise.
26633 (tan_tonearest_test_data): Likewise.
26634 (tan_towardzero_test_data): Likewise.
26635 (tan_downward_test_data): Likewise.
26636 (tan_upward_test_data): Likewise.
26637 (tanh_test_data): Likewise.
26638 (tgamma_test_data): Likewise.
26639 (trunc_test_data): Likewise.
26640 (y0_test_data): Likewise.
26641 (y1_test_data): Likewise.
26642 (yn_test_data): Likewise.
26643 (significand_test_data): Likewise.
26644
b679a606
JM
26645 * math/gen-libm-test.pl (@functions): Remove variable.
26646 (generate_testfile): Don't handle START and END lines.
26647 * math/libm-test.inc (START): New macro.
26648 (END): Likewise.
26649 (END_COMPLEX): Likewise.
26650 (acos_test): Use END macro without arguments.
26651 (acos_test_tonearest): Likewise.
26652 (acos_test_towardzero): Likewise.
26653 (acos_test_downward): Likewise.
26654 (acos_test_upward): Likewise.
26655 (acosh_test): Likewise.
26656 (asin_test): Likewise.
26657 (asin_test_tonearest): Likewise.
26658 (asin_test_towardzero): Likewise.
26659 (asin_test_downward): Likewise.
26660 (asin_test_upward): Likewise.
26661 (asinh_test): Likewise.
26662 (atan_test): Likewise.
26663 (atanh_test): Likewise.
26664 (atan2_test): Likewise.
26665 (cabs_test): Likewise.
26666 (cacos_test): Use END_COMPLEX macro without arguments.
26667 (cacosh_test): Likewise.
26668 (carg_test): Use END macro without arguments.
26669 (casin_test): Use END_COMPLEX macro without arguments.
26670 (casinh_test): Likewise.
26671 (catan_test): Likewise.
26672 (catanh_test): Likewise.
26673 (cbrt_test): Use END macro without arguments.
26674 (ccos_test): Use END_COMPLEX macro without arguments.
26675 (ccosh_test): Likewise.
26676 (ceil_test): Use END macro without arguments.
26677 (cexp_test): Use END_COMPLEX macro without arguments.
26678 (cimag_test): Use END macro without arguments.
26679 (clog_test): Use END_COMPLEX macro without arguments.
26680 (clog10_test): Likewise.
26681 (conj_test): Likewise.
26682 (copysign_test): Use END macro without arguments.
26683 (cos_test): Likewise.
26684 (cos_test_tonearest): Likewise.
26685 (cos_test_towardzero): Likewise.
26686 (cos_test_downward): Likewise.
26687 (cos_test_upward): Likewise.
26688 (cosh_test): Likewise.
26689 (cosh_test_tonearest): Likewise.
26690 (cosh_test_towardzero): Likewise.
26691 (cosh_test_downward): Likewise.
26692 (cosh_test_upward): Likewise.
26693 (cpow_test): Use END_COMPLEX macro without arguments.
26694 (cproj_test): Likewise.
26695 (creal_test): Use END macro without arguments.
26696 (csin_test): Use END_COMPLEX macro without arguments.
26697 (csinh_test): Likewise.
26698 (csqrt_test): Likewise.
26699 (ctan_test): Likewise.
26700 (ctan_test_tonearest): Likewise.
26701 (ctan_test_towardzero): Likewise.
26702 (ctan_test_downward): Likewise.
26703 (ctan_test_upward): Likewise.
26704 (ctanh_test): Likewise.
26705 (ctanh_test_tonearest): Likewise.
26706 (ctanh_test_towardzero): Likewise.
26707 (ctanh_test_downward): Likewise.
26708 (ctanh_test_upward): Likewise.
26709 (erf_test): Use END macro without arguments.
26710 (erfc_test): Likewise.
26711 (exp_test): Likewise.
26712 (exp_test_tonearest): Likewise.
26713 (exp_test_towardzero): Likewise.
26714 (exp_test_downward): Likewise.
26715 (exp_test_upward): Likewise.
26716 (exp10_test): Likewise.
26717 (exp2_test): Likewise.
26718 (expm1_test): Likewise.
26719 (fabs_test): Likewise.
26720 (fdim_test): Likewise.
26721 (finite_test): Likewise.
26722 (floor_test): Likewise.
26723 (fma_test): Likewise.
26724 (fma_test_towardzero): Likewise.
26725 (fma_test_downward): Likewise.
26726 (fma_test_upward): Likewise.
26727 (fmax_test): Likewise.
26728 (fmin_test): Likewise.
26729 (fmod_test): Likewise.
26730 (fpclassify_test): Likewise.
26731 (frexp_test): Likewise.
26732 (gamma_test): Likewise.
26733 (hypot_test): Likewise.
26734 (ilogb_test): Likewise.
26735 (isfinite_test): Likewise.
26736 (isgreater_test): Likewise.
26737 (isgreaterequal_test): Likewise.
26738 (isinf_test): Likewise.
26739 (isless_test): Likewise.
26740 (islessequal_test): Likewise.
26741 (islessgreater_test): Likewise.
26742 (isnan_test): Likewise.
26743 (isnormal_test): Likewise.
26744 (issignaling_test): Likewise.
26745 (isunordered_test): Likewise.
26746 (j0_test): Likewise.
26747 (j1_test): Likewise.
26748 (jn_test): Likewise.
26749 (ldexp_test): Likewise.
26750 (lgamma_test): Likewise.
26751 (lrint_test): Likewise.
26752 (lrint_test_tonearest): Likewise.
26753 (lrint_test_towardzero): Likewise.
26754 (lrint_test_downward): Likewise.
26755 (lrint_test_upward): Likewise.
26756 (llrint_test): Likewise.
26757 (llrint_test_tonearest): Likewise.
26758 (llrint_test_towardzero): Likewise.
26759 (llrint_test_downward): Likewise.
26760 (llrint_test_upward): Likewise.
26761 (log_test): Likewise.
26762 (log10_test): Likewise.
26763 (log1p_test): Likewise.
26764 (log2_test): Likewise.
26765 (logb_test): Likewise.
26766 (logb_test_downward): Likewise.
26767 (lround_test): Likewise.
26768 (llround_test): Likewise.
26769 (modf_test): Likewise.
26770 (nearbyint_test): Likewise.
26771 (nextafter_test): Likewise.
26772 (nexttoward_test): Likewise.
26773 (pow_test): Likewise.
26774 (pow_test_tonearest): Likewise.
26775 (pow_test_towardzero): Likewise.
26776 (pow_test_downward): Likewise.
26777 (pow_test_upward): Likewise.
26778 (remainder_test): Likewise.
26779 (remainder_test_tonearest): Likewise.
26780 (remainder_test_towardzero): Likewise.
26781 (remainder_test_downward): Likewise.
26782 (remainder_test_upward): Likewise.
26783 (remquo_test): Likewise.
26784 (rint_test): Likewise.
26785 (rint_test_tonearest): Likewise.
26786 (rint_test_towardzero): Likewise.
26787 (rint_test_downward): Likewise.
26788 (rint_test_upward): Likewise.
26789 (round_test): Likewise.
26790 (scalb_test): Likewise.
26791 (scalbn_test): Likewise.
26792 (scalbln_test): Likewise.
26793 (signbit_test): Likewise.
26794 (sin_test): Likewise.
26795 (sin_test_tonearest): Likewise.
26796 (sin_test_towardzero): Likewise.
26797 (sin_test_downward): Likewise.
26798 (sin_test_upward): Likewise.
26799 (sincos_test): Likewise.
26800 (sinh_test): Likewise.
26801 (sinh_test_tonearest): Likewise.
26802 (sinh_test_towardzero): Likewise.
26803 (sinh_test_downward): Likewise.
26804 (sinh_test_upward): Likewise.
26805 (sqrt_test): Likewise.
26806 (tan_test): Likewise.
26807 (tan_test_tonearest): Likewise.
26808 (tan_test_towardzero): Likewise.
26809 (tan_test_downward): Likewise.
26810 (tan_test_upward): Likewise.
26811 (tanh_test): Likewise.
26812 (tgamma_test): Likewise.
26813 (trunc_test): Likewise.
26814 (y0_test): Likewise.
26815 (y1_test): Likewise.
26816 (yn_test): Likewise.
26817 (significand_test): Likewise.
26818
bae143d2
OB
268192013-05-24 Ondřej Bílka <neleai@seznam.cz>
26820
26821 [BZ #15381]
26822 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26823
9323d39b
EM
268242013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26825
d4ea44a0 26826 [BZ #14894]
9323d39b
EM
26827 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26828 __ppc_mdoio and __ppc_mdoom.
26829 * manual/platform.texi: Document new functions __ppc_yield,
26830 __ppc_mdoio and __ppc_mdoom.
26831
13e23af7
CD
268322013-05-22 Carlos O'Donell <carlos@redhat.com>
26833
26834 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26835 (main): Mention "tls" pseudo-hwcap is legacy.
26836 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26837
351fe550
JM
268382013-05-22 Joseph Myers <joseph@codesourcery.com>
26839
26840 * math/gen-libm-test.pl (parse_args): Output only string of
26841 arguments as text for test name, not full call or descriptions of
26842 tests for extra outputs.
26843 (generate_testfile): Do not pass function name to parse_args.
26844 Generate this_func variable from START.
26845 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26846 field to arg_str.
26847 (struct test_ff_f_data): Likewise.
26848 (test_ff_f_data_nexttoward): Likewise.
26849 (struct test_fi_f_data): Likewise.
26850 (struct test_fl_f_data): Likewise.
26851 (struct test_if_f_data): Likewise.
26852 (struct test_fff_f_data): Likewise.
26853 (struct test_c_f_data): Likewise.
26854 (struct test_f_f1_data): Likewise. Remove field extra_name.
26855 (struct test_fF_f1_data): Likewise.
26856 (struct test_ffI_f1_data): Likewise.
26857 (struct test_c_c_data): Rename test_name field to arg_str.
26858 (struct test_cc_c_data): Likewise.
26859 (struct test_f_i_data): Likewise.
26860 (struct test_ff_i_data): Likewise.
26861 (struct test_f_l_data): Likewise.
26862 (struct test_f_L_data): Likewise.
26863 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26864 and extra2_name.
26865 (COMMON_TEST_SETUP): New macro.
26866 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26867 (COMMON_TEST_CLEANUP): Likewise.
26868 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26869 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26870 macros.
26871 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26872 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26873 macros.
26874 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26875 (RUN_TEST_fff_f): Take argument string. Call new setup and
26876 cleanup macros.
26877 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26878 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26879 macros.
26880 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26881 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26882 macros.
26883 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26884 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26885 cleanup macros.
26886 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26887 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26888 cleanup macros.
26889 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26890 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26891 cleanup macros.
26892 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26893 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26894 macros.
26895 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26896 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26897 macros.
26898 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26899 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26900 macros.
26901 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26902 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26903 cleanup macros.
26904 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26905 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26906 cleanup macros.
26907 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26908 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26909 macros.
26910 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26911 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26912 cleanup macros.
26913 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26914 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26915 macros.
26916 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26917 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26918 macros.
26919 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26920 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26921 cleanup macros.
26922 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26923
85118d4d
EBM
269242013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26925
26926 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26927 to _sifields.sigfault.
26928 (si_addr_lsb): Define new macro.
26929 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26932
7a44c18f
CD
269332013-05-03 Carlos O'Donell <carlos at redhat.com>
26934
26935 [BZ #15441]
26936 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26937 returns -1.
26938 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26939 null return -1.
26940 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26941 loading the domain.
26942
b50a7181
JM
269432013-05-22 Joseph Myers <joseph@codesourcery.com>
26944
26945 * math/gen-libm-test.pl (parse_args): Do not include expected
26946 result in test name.
26947 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26948 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26949 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26950 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26951 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26953
051063c8
SP
269542013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26955
3ce9e010
SP
26956 * benchtests/Makefile: Sort function entries.
26957
051063c8
SP
26958 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26959 tanh, asinh, acosh, atanh.
26960 * benchtests/acos-inputs: New file.
26961 * benchtests/acosh-inputs: New file.
26962 * benchtests/asin-inputs: New file.
26963 * benchtests/asinh-inputs: New file.
26964 * benchtests/atanh-inputs: New file.
26965 * benchtests/cosh-inputs: New file.
26966 * benchtests/log-inputs: New file.
26967 * benchtests/sinh-inputs: New file.
26968 * benchtests/tanh-inputs: New file.
26969
47c22455
DL
269702013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26971
26972 [BZ #15339]
26973 * posix/tst-getaddrinfo4.c: New test.
26974 * posix/Makefile (tests): Add it.
26975
3d04f5db
SP
269762013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26977
26978 [BZ #15339]
26979 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26980 when no services were used.
26981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26982 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26983
d5dd6189
AS
269842013-05-21 Andreas Schwab <schwab@suse.de>
26985
26986 [BZ #15014]
26987 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26988 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26989 successful.
26990 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26991 redundant variable declarations and reallocation of buffer when
26992 parsing as IPv6 address. Always set NSS status when called from
26993 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26994 buffer too small. Correct computation of needed size.
26995 * nss/Makefile (tests): Add test-digits-dots.
26996 * nss/test-digits-dots.c: New test.
26997
fef94eab
SP
269982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26999
27000 * benchtests/Makefile: Remove instructions for adding
27001 benchmark tests.
27002 * benchtests/README: New file to explain how to execute and
27003 enhance the benchmark tests.
27004
e39adf43
AS
270052013-05-21 Andreas Schwab <schwab@suse.de>
27006
27007 [BZ #15493]
27008 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27009 * setjmp/tst-sigsetjmp.c: New test.
27010
b2b671b6
OB
270112013-05-20 Ondřej Bílka <neleai@seznam.cz>
27012
27013 * sysdeps/x86_64/memset.S (memset): New implementation.
27014 (__bzero): Likewise.
27015 (__memset_tail): New function.
27016
2d48b41c
OB
270172013-05-20 Ondřej Bílka <neleai@seznam.cz>
27018
27019 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27020 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27021 __memcpy_sse2_unaligned ifunc selection.
27022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27023 Add memcpy-sse2-unaligned.S.
27024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27025 Add: __memcpy_sse2_unaligned.
27026
f16cc3eb
JM
270272013-05-19 Joseph Myers <joseph@codesourcery.com>
27028
3e694268
JM
27029 [BZ #15490]
27030 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27031 math_force_eval before restoring floating-point envrionment.
27032 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27033 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27034 Likewise.
27035 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27036 <math_private.h>.
27037 (__nearbyintl): Use math_force_eval before restoring
27038 floating-point environment.
27039 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27040
db62a907
JM
27041 * math/gen-libm-test.pl (special_functions): Remove.
27042 (parse_args): Don't handle TEST_extra. Handle functions with no
27043 return value.
27044 * math/libm-test.inc (struct test_sincos_data): Replace with
27045 struct test_fFF_11_data.
27046 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27047 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27048 (sincos_test_data): Change element type to struct
27049 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27050 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27051 RUN_TEST_LOOP_sincos.
27052 * math/README.libm-test: Don't mention special handling of
27053 individual functions.
27054 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27056 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27057 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27058 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27060
f16cc3eb
JM
27061 * math/gen-libm-test.pl (get_variable): Remove function.
27062 (parse_args): Don't show pointer parameters to call in test
27063 names. Use "extra output N" in test names for extra outputs
27064 rather than naming variables.
27065
3779b5b6
JM
270662013-05-18 Joseph Myers <joseph@codesourcery.com>
27067
2ee094ff
JM
27068 [BZ #15488]
27069 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27070 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27071 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27072 double tests.
27073 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27074 disable.
27075 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27076 check_long_double.
27077
3779b5b6
JM
27078 * math/gen-libm-test.pl (@tests): Remove variable.
27079 ($count): Likewise.
27080 (new_test): Remove function.
27081 (show_exceptions): New function.
27082 (special_functions): Use show_exceptions instead of new_test.
27083 (parse_args): Likewise.
27084 (generate_testfile): Pass only function name in generated call to
27085 print_max_error or print_complex_max_error.
27086 (get_ulps): Do not handle complex tests specially.
27087 (output_test): Rename to ...
27088 (get_all_ulps_for_test): ... this. Return a string rather than
27089 printing to a file. Require ulps to be present.
27090 (output_ulps): Generate arrays rather than #defines.
27091 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27092 (struct ulp_data): New type.
27093 (BUILD_COMPLEX_ULP): Remove macro.
27094 (compare_ulp_data): New function.
27095 (find_ulps): Likewise.
27096 (find_test_ulps): Likewise.
27097 (find_function_ulps): Likewise.
27098 (find_complex_function_ulps): Likewise.
27099 (print_max_error): Determine allowed ulps using
27100 find_function_ulps.
27101 (print_complex_max_error): Determine allowed ulps using
27102 find_complex_function_ulps.
27103 (check_float_internal): Determine max ulps using find_test_ulps.
27104 (check_float): Do not take max_ulp parameter. Update call to
27105 check_float_internal.
27106 (check_complex): Likewise.
27107 (check_int): Do not take max_ulp parameter.
27108 (check_long): Likewise.
27109 (check_bool): Likewise.
27110 (check_longlong): Likewise.
27111 (struct test_f_f_data): Remove max_ulp field.
27112 (struct test_ff_f_data): Likewise.
27113 (struct test_ff_f_data_nexttoward): Likewise.
27114 (struct test_fi_f_data): Likewise.
27115 (struct test_fl_f_data): Likewise.
27116 (struct test_if_f_data): Likewise.
27117 (struct test_fff_f_data): Likewise.
27118 (struct test_c_f_data): Likewise.
27119 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27120 (struct test_fF_f1_data): Likewise.
27121 (struct test_ffI_f1_data): Likewise.
27122 (struct test_c_c_data): Remove max_ulp field.
27123 (struct test_cc_c_data): Likewise.
27124 (struct test_f_i_data): Likewise.
27125 (struct test_ff_i_data): Likewise.
27126 (struct test_f_l_data): Likewise.
27127 (struct test_f_L_data): Likewise.
27128 (struct test_sincos_data): Likewise.
27129 (RUN_TEST_f_f): Do not handle ulps.
27130 (RUN_TEST_LOOP_f_f): Likewise.
27131 (RUN_TEST_2_f): Likewise.
27132 (RUN_TEST_LOOP_2_f): Likewise.
27133 (RUN_TEST_fff_f): Likewise.
27134 (RUN_TEST_LOOP_fff_f): Likewise.
27135 (RUN_TEST_c_f): Likewise.
27136 (RUN_TEST_LOOP_c_f): Likewise.
27137 (RUN_TEST_f_f1): Likewise.
27138 (RUN_TEST_LOOP_f_f1): Likewise.
27139 (RUN_TEST_fF_f1): Likewise.
27140 (RUN_TEST_LOOP_fF_f1): Likewise.
27141 (RUN_TEST_fI_f1): Likewise.
27142 (RUN_TEST_LOOP_fI_f1): Likewise.
27143 (RUN_TEST_ffI_f1): Likewise.
27144 (RUN_TEST_LOOP_ffI_f1): Likewise.
27145 (RUN_TEST_c_c): Likewise.
27146 (RUN_TEST_LOOP_c_c): Likewise.
27147 (RUN_TEST_cc_c): Likewise.
27148 (RUN_TEST_LOOP_cc_c): Likewise.
27149 (RUN_TEST_f_i): Likewise.
27150 (RUN_TEST_LOOP_f_i): Likewise.
27151 (RUN_TEST_f_i_tg): Likewise.
27152 (RUN_TEST_LOOP_f_i_tg): Likewise.
27153 (RUN_TEST_ff_i_tg): Likewise.
27154 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27155 (RUN_TEST_f_b): Likewise.
27156 (RUN_TEST_LOOP_f_b): Likewise.
27157 (RUN_TEST_f_b_tg): Likewise.
27158 (RUN_TEST_LOOP_f_b_tg): Likewise.
27159 (RUN_TEST_f_l): Likewise.
27160 (RUN_TEST_LOOP_f_l): Likewise.
27161 (RUN_TEST_f_L): Likewise.
27162 (RUN_TEST_LOOP_f_L): Likewise.
27163 (RUN_TEST_sincos): Likewise.
27164 (RUN_TEST_LOOP_sincos): Likewise.
27165
8269107f
JM
271662013-05-17 Joseph Myers <joseph@codesourcery.com>
27167
bb38759d
JM
27168 [BZ #15480]
27169 [BZ #15485]
27170 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27171 main case of finite arguments, set rounding mode to FE_TONEAREST
27172 and discard exceptions.
27173 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27174 exceptions.
27175 (remainder_tonearest_test_data): New variable.
27176 (remainder_test_tonearest): New function.
27177 (remainder_towardzero_test_data): New variable.
27178 (remainder_test_towardzero): New function.
27179 (remainder_downward_test_data): New variable.
27180 (remainder_test_downward): New function.
27181 (remainder_upward_test_data): New variable.
27182 (remainder_test_upward): New function.
27183 (main): Call the new test functions.
27184
a00bdcf0
JM
27185 * math/libm-test.inc (struct test_f_f1_data): Remove field
27186 extra_init.
27187 (struct test_fF_f1_data): Likewise.
27188 (struct test_ffI_f1_data): Likewise.
27189 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27190 based on value of EXTRA_EXPECTED.
27191 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27192 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27193 EXTRA_VAR based on value of EXTRA_EXPECTED.
27194 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27195 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27196 EXTRA_VAR based on value of EXTRA_EXPECTED.
27197 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27198 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27199 EXTRA_VAR based on value of EXTRA_EXPECTED.
27200 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27201 * math/gen-libm-test.pl (parse_args): Don't output initializers
27202 for extra output values.
27203
de407f79
JM
27204 * math/libm-test.inc (check_int): Expect result to be exactly
27205 equal to expected value and do not handle ulps.
27206 (check_long): Likewise.
27207 (check_longlong): Likewise.
27208
8269107f
JM
27209 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27210 exceptions.
27211 (cimag_test_data): Likewise.
27212 (conj_test_data): Likewise.
27213 (copysign_test_data): Likewise.
27214 (cproj_test_data): Likewise.
27215 (creal_test_data): Likewise.
27216 (fabs_test_data): Likewise.
27217 (fdim_test_data): Likewise.
27218 (finite_test_data): Likewise.
27219 (floor_test_data): Likewise.
27220 (fmax_test_data): Likewise.
27221 (fmin_test_data): Likewise.
27222 (fmod_test_data): Likewise.
27223 (fpclassify_test_data): Likewise.
27224 (frexp_test_data): Likewise.
27225 (ilogb_test_data): Likewise.
27226 (isfinite_test_data): Likewise.
27227 (isgreater_test_data): Likewise.
27228 (isgreaterequal_test_data): Likewise.
27229 (isinf_test_data): Likewise.
27230 (isless_test_data): Likewise.
27231 (islessequal_test_data): Likewise.
27232 (islessgreater_test_data): Likewise.
27233 (isnan_test_data): Likewise.
27234 (isnormal_test_data): Likewise.
27235 (issignaling_test_data): Likewise.
27236 (isunordered_test_data): Likewise.
27237 (ldexp_test_data): Likewise.
27238 (lrint_test_data): Likewise.
27239 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27240 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27241 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27242 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27243 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27244 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27245 test input.
27246 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27247 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27248 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27249 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27250 that test input.
27251 (lrint_downward_test_data): Test for "inexact" exceptions.
27252 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27253 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27254 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27255 test input.
27256 (lrint_upward_test_data): Test for "inexact" exceptions.
27257 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27258 test input.
27259 (llrint_test_data): Test for "inexact" exceptions.
27260 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27261 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27262 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27263 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27264 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27265 (llrint_downward_test_data): Test for "inexact" exceptions.
27266 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27267 (llrint_upward_test_data): Test for "inexact" exceptions.
27268 (logb_test_data): Likewise.
27269 (logb_downward_test_data): Likewise.
27270 (nextafter_test_data): Likewise.
27271 (nexttoward_test_data): Likewise.
27272 (remainder_test_data): Likewise.
27273 (remquo_test_data): Likewise.
27274 (scalbn_test_data): Likewise.
27275 (scalbln_test_data): Likewise.
27276 (signbit_test_data): Likewise.
27277 (sqrt_test_data): Likewise.
27278 (significand_test_data): Likewise.
27279
48a18de1
SP
272802013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27281
27282 [BZ #15424]
27283 * benchtests/bench-modf.c (struct args): Mark arg0 as
27284 volatile.
27285 * scripts/bench.pl: Mark members of struct args as volatile.
27286
13d3b41a
AZ
272872013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27288
68191c1d 27289 [BZ # 15497]
13d3b41a
AZ
27290 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27291 negative infinity on POWER6 or lower.
27292 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27293
2848b105
MR
272942013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27295
27296 [BZ #15442]
27297 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27298 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27299 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27300 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27301 (_FP_SETQNAN): New macro.
27302 (_FP_SETQNAN_SEMIRAW): Likewise.
27303 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27304 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27305 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27306 (FP_EXTEND): Use _FP_FRAC_SNANP.
27307 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27308 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27309 into account.
27310 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27311 New macro.
27312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27313 Likewise.
27314
323e5cb7
JM
273152013-05-16 Joseph Myers <joseph@codesourcery.com>
27316
c58b274f
JM
27317 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27318 with DIVIDE_BY_ZERO_EXCEPTION.
27319 (gamma_test_data): Likewise.
27320 (lgamma_test_data): Likewise.
27321 (log_test_data): Likewise.
27322 (log10_test_data): Likewise.
27323 (log2_test_data): Likewise.
27324 (tgamma_test_data): Likewise.
27325
0ab34904
JM
27326 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27327 (acos_test_tonearest): Likewise.
27328 (acos_test_towardzero): Likewise.
27329 (acos_test_downward): Likewise.
27330 (acos_test_upward): Likewise.
27331 (acosh_test): Likewise.
27332 (asin_test): Likewise.
27333 (asin_test_tonearest): Likewise.
27334 (asin_test_towardzero): Likewise.
27335 (asin_test_downward): Likewise.
27336 (asin_test_upward): Likewise.
27337 (asinh_test): Likewise.
27338 (atan_test): Likewise.
27339 (atanh_test): Likewise.
27340 (atan2_test): Likewise.
27341 (cabs_test): Likewise.
27342 (cacos_test): Likewise.
27343 (cacosh_test): Likewise.
27344 (casin_test): Likewise.
27345 (casinh_test): Likewise.
27346 (catan_test): Likewise.
27347 (catanh_test): Likewise.
27348 (cbrt_test): Likewise.
27349 (ccos_test): Likewise.
27350 (ccosh_test): Likewise.
27351 (cexp_test): Likewise.
27352 (clog_test): Likewise.
27353 (clog10_test): Likewise.
27354 (cos_test): Likewise.
27355 (cos_test_tonearest): Likewise.
27356 (cos_test_towardzero): Likewise.
27357 (cos_test_downward): Likewise.
27358 (cos_test_upward): Likewise.
27359 (cosh_test): Likewise.
27360 (cosh_test_tonearest): Likewise.
27361 (cosh_test_towardzero): Likewise.
27362 (cosh_test_downward): Likewise.
27363 (cosh_test_upward): Likewise.
27364 (cpow_test): Likewise.
27365 (csin_test): Likewise.
27366 (csinh_test): Likewise.
27367 (csqrt_test): Likewise.
27368 (ctan_test): Likewise.
27369 (ctan_test_tonearest): Likewise.
27370 (ctan_test_towardzero): Likewise.
27371 (ctan_test_downward): Likewise.
27372 (ctan_test_upward): Likewise.
27373 (ctanh_test): Likewise.
27374 (ctanh_test_tonearest): Likewise.
27375 (ctanh_test_towardzero): Likewise.
27376 (ctanh_test_downward): Likewise.
27377 (ctanh_test_upward): Likewise.
27378 (erf_test): Likewise.
27379 (erfc_test): Likewise.
27380 (exp_test): Likewise.
27381 (exp_test_tonearest): Likewise.
27382 (exp_test_towardzero): Likewise.
27383 (exp_test_downward): Likewise.
27384 (exp_test_upward): Likewise.
27385 (exp10_test): Likewise.
27386 (exp2_test): Likewise.
27387 (expm1_test): Likewise.
27388 (fmod_test): Likewise.
27389 (gamma_test): Likewise.
27390 (hypot_test): Likewise.
27391 (j0_test): Likewise.
27392 (j1_test): Likewise.
27393 (jn_test): Likewise.
27394 (lgamma_test): Likewise.
27395 (log_test): Likewise.
27396 (log10_test): Likewise.
27397 (log1p_test): Likewise.
27398 (log2_test): Likewise.
27399 (logb_test_downward): Likewise.
27400 (pow_test): Likewise.
27401 (pow_test_tonearest): Likewise.
27402 (pow_test_towardzero): Likewise.
27403 (pow_test_downward): Likewise.
27404 (pow_test_upward): Likewise.
27405 (remainder_test): Likewise.
27406 (remquo_test): Likewise.
27407 (sin_test): Likewise.
27408 (sin_test_tonearest): Likewise.
27409 (sin_test_towardzero): Likewise.
27410 (sin_test_downward): Likewise.
27411 (sin_test_upward): Likewise.
27412 (sincos_test): Likewise.
27413 (sinh_test): Likewise.
27414 (sinh_test_tonearest): Likewise.
27415 (sinh_test_towardzero): Likewise.
27416 (sinh_test_downward): Likewise.
27417 (sinh_test_upward): Likewise.
27418 (sqrt_test): Likewise.
27419 (tan_test): Likewise.
27420 (tan_test_tonearest): Likewise.
27421 (tan_test_towardzero): Likewise.
27422 (tan_test_downward): Likewise.
27423 (tan_test_upward): Likewise.
27424 (tanh_test): Likewise.
27425 (tgamma_test): Likewise.
27426 (y0_test): Likewise.
27427 (y1_test): Likewise.
27428 (yn_test): Likewise.
27429
323e5cb7
JM
27430 * math/gen-libm-test.pl (adjust_arg): Remove function.
27431 (special_function): Remove argument $in_func. Only handle
27432 generating output for tables of tests, not inside functions.
27433 (parse_args): Likewise.
27434 (generate_testfile): Remove variable $in_func. Update call to
27435 parse_args.
27436 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27437 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27438 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27439 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27440 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27441 (MAX_VALUE_INIT): Rename macro to max_value.
27442 (MIN_VALUE_INIT): Rename macro to min_value.
27443 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27444 (plus_zero): Remove variable.
27445 (minus_zero): Likewise.
27446 (plus_infty): Likewise.
27447 (minus_infty): Likewise.
27448 (qnan_value): Likewise.
27449 (max_value): Likewise.
27450 (min_value): Likewise.
27451 (min_subnorm_value): Likewise.
27452
e054f494
RA
274532013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27454
27455 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27456 uint64_t or uint32_t usage.
27457 * crypt/sha256-block.c: Likewise.
27458 * crypt/sha256-crypt.c: Likewise.
27459 * crypt/sha256.c: Likewise.
27460 * crypt/sha512-block.c: Likewise.
27461 * crypt/sha512-crypt.c: Likewise.
27462 * crypt/sha512.c: Likewise.
27463 * debug/backtrace-tst.c: Likewise.
27464 * debug/pcprofiledump.c: Likewise.
27465 * elf/cache.c: Likewise.
27466 * elf/dl-cache.c: Likewise.
27467 * elf/dl-misc.c: Likewise.
27468 * elf/dl-profile.c: Likewise.
27469 * elf/dl-support.c: Likewise.
27470 * elf/ldconfig.c: Likewise.
27471 * elf/sprof.c: Likewise.
27472 * iconv/dummy-repertoire.c: Likewise.
27473 * iconv/iconv_charmap.c: Likewise.
27474 * iconv/skeleton.c: Likewise.
27475 * iconvdata/8bit-generic.c: Likewise.
27476 * iconvdata/cp737.h: Likewise.
27477 * iconvdata/cp775.h: Likewise.
27478 * iconvdata/ibm1008.h: Likewise.
27479 * iconvdata/ibm1025.h: Likewise.
27480 * iconvdata/ibm1046.h: Likewise.
27481 * iconvdata/ibm1097.h: Likewise.
27482 * iconvdata/ibm1112.h: Likewise.
27483 * iconvdata/ibm1122.h: Likewise.
27484 * iconvdata/ibm1123.h: Likewise.
27485 * iconvdata/ibm1124.h: Likewise.
27486 * iconvdata/ibm1129.h: Likewise.
27487 * iconvdata/ibm1130.h: Likewise.
27488 * iconvdata/ibm1132.h: Likewise.
27489 * iconvdata/ibm1133.h: Likewise.
27490 * iconvdata/ibm1137.h: Likewise.
27491 * iconvdata/ibm1140.h: Likewise.
27492 * iconvdata/ibm1141.h: Likewise.
27493 * iconvdata/ibm1142.h: Likewise.
27494 * iconvdata/ibm1143.h: Likewise.
27495 * iconvdata/ibm1144.h: Likewise.
27496 * iconvdata/ibm1145.h: Likewise.
27497 * iconvdata/ibm1146.h: Likewise.
27498 * iconvdata/ibm1147.h: Likewise.
27499 * iconvdata/ibm1148.h: Likewise.
27500 * iconvdata/ibm1149.h: Likewise.
27501 * iconvdata/ibm1153.h: Likewise.
27502 * iconvdata/ibm1154.h: Likewise.
27503 * iconvdata/ibm1155.h: Likewise.
27504 * iconvdata/ibm1156.h: Likewise.
27505 * iconvdata/ibm1157.h: Likewise.
27506 * iconvdata/ibm1158.h: Likewise.
27507 * iconvdata/ibm1160.h: Likewise.
27508 * iconvdata/ibm1161.h: Likewise.
27509 * iconvdata/ibm1162.h: Likewise.
27510 * iconvdata/ibm1163.h: Likewise.
27511 * iconvdata/ibm1164.h: Likewise.
27512 * iconvdata/ibm1166.h: Likewise.
27513 * iconvdata/ibm1167.h: Likewise.
27514 * iconvdata/ibm12712.h: Likewise.
27515 * iconvdata/ibm1390.h: Likewise.
27516 * iconvdata/ibm1399.h: Likewise.
27517 * iconvdata/ibm16804.h: Likewise.
27518 * iconvdata/ibm4517.h: Likewise.
27519 * iconvdata/ibm4899.h: Likewise.
27520 * iconvdata/ibm4909.h: Likewise.
27521 * iconvdata/ibm4971.h: Likewise.
27522 * iconvdata/ibm5347.h: Likewise.
27523 * iconvdata/ibm803.h: Likewise.
27524 * iconvdata/ibm856.h: Likewise.
27525 * iconvdata/ibm901.h: Likewise.
27526 * iconvdata/ibm902.h: Likewise.
27527 * iconvdata/ibm9030.h: Likewise.
27528 * iconvdata/ibm9066.h: Likewise.
27529 * iconvdata/ibm921.h: Likewise.
27530 * iconvdata/ibm922.h: Likewise.
27531 * iconvdata/ibm9448.h: Likewise.
27532 * iconvdata/isiri-3342.h: Likewise.
27533 * iconvdata/jis0201.h: Likewise.
27534 * include/link.h: Likewise.
27535 * include/netdb.h: Likewise.
27536 * inet/check_native.c: Likewise.
27537 * inet/check_pf.c: Likewise.
27538 * inet/getipv4sourcefilter.c: Likewise.
27539 * inet/getnameinfo.c: Likewise.
27540 * inet/getsourcefilter.c: Likewise.
27541 * inet/htonl.c: Likewise.
27542 * inet/setipv4sourcefilter.c: Likewise.
27543 * inet/setsourcefilter.c: Likewise.
27544 * inet/test-inet6_opt.c: Likewise.
27545 * inet/tst-network.c: Likewise.
27546 * locale/C-collate.c: Likewise.
27547 * locale/C-ctype.c: Likewise.
27548 * locale/C-time.c: Likewise.
27549 * locale/C-translit.h: Likewise.
27550 * locale/loadarchive.c: Likewise.
27551 * locale/programs/3level.h: Likewise.
27552 * locale/programs/charmap.c: Likewise.
27553 * locale/programs/charmap.h: Likewise.
27554 * locale/programs/ld-address.c: Likewise.
27555 * locale/programs/ld-collate.c: Likewise.
27556 * locale/programs/ld-ctype.c: Likewise.
27557 * locale/programs/ld-identification.c: Likewise.
27558 * locale/programs/ld-measurement.c: Likewise.
27559 * locale/programs/ld-messages.c: Likewise.
27560 * locale/programs/ld-monetary.c: Likewise.
27561 * locale/programs/ld-name.c: Likewise.
27562 * locale/programs/ld-numeric.c: Likewise.
27563 * locale/programs/ld-paper.c: Likewise.
27564 * locale/programs/ld-telephone.c: Likewise.
27565 * locale/programs/ld-time.c: Likewise.
27566 * locale/programs/linereader.c: Likewise.
27567 * locale/programs/locale.c: Likewise.
27568 * locale/programs/locarchive.c: Likewise.
27569 * locale/programs/locfile.h: Likewise.
27570 * locale/programs/repertoire.c: Likewise.
27571 * locale/programs/simple-hash.c: Likewise.
27572 * locale/programs/simple-hash.h: Likewise.
27573 * malloc/memusage.c: Likewise.
27574 * malloc/memusagestat.c: Likewise.
27575 * nis/nis_defaults.c: Likewise.
27576 * nis/nis_hash.c: Likewise.
27577 * nis/nis_print.c: Likewise.
27578 * nis/nis_xdr.c: Likewise.
27579 * nscd/connections.c: Likewise.
27580 * nscd/hstcache.c: Likewise.
27581 * nscd/nscd_gethst_r.c: Likewise.
27582 * nscd/nscd_getserv_r.c: Likewise.
27583 * nscd/nscd_helper.c: Likewise.
27584 * nscd/servicescache.c: Likewise.
27585 * nss/makedb.c: Likewise.
27586 * nss/nss_db/db-XXX.c: Likewise.
27587 * nss/nss_db/db-initgroups.c: Likewise.
27588 * nss/nss_db/db-netgrp.c: Likewise.
27589 * nss/nss_files/files-network.c: Likewise.
27590 * nss/nss_files/files-parse.c: Likewise.
27591 * posix/bug-regex5.c: Likewise.
27592 * posix/fnmatch_loop.c: Likewise.
27593 * posix/regcomp.c: Likewise.
27594 * posix/regexec.c: Likewise.
27595 * posix/tst-rfc3484-2.c: Likewise.
27596 * posix/tst-rfc3484-3.c: Likewise.
27597 * posix/tst-rfc3484.c: Likewise.
27598 * resolv/nss_dns/dns-canon.c: Likewise.
27599 * resolv/nss_dns/dns-network.c: Likewise.
27600 * resolv/res_init.c: Likewise.
27601 * resolv/res_mkquery.c: Likewise.
27602 * resolv/tst-aton.c: Likewise.
27603 * stdlib/cxa_atexit.c: Likewise.
27604 * stdlib/cxa_finalize.c: Likewise.
27605 * stdlib/gen-fpioconst.c: Likewise.
27606 * stdlib/strtol_l.c: Likewise.
27607 * string/tst-endian.c: Likewise.
27608 * sunrpc/auth_des.c: Likewise.
27609 * sunrpc/clnt_udp.c: Likewise.
27610 * sunrpc/rtime.c: Likewise.
27611 * sunrpc/svcauth_des.c: Likewise.
27612 * sunrpc/xdr.c: Likewise.
27613 * sunrpc/xdr_intXX_t.c: Likewise.
27614 * sunrpc/xdr_rec.c: Likewise.
27615 * sysdeps/generic/ldconfig.h: Likewise.
27616 * sysdeps/generic/ldsodefs.h: Likewise.
27617 * sysdeps/generic/memusage.h: Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27626 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27628 * sysdeps/posix/getaddrinfo.c: Likewise.
27629 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27630 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27631 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27632 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27633 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27634 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27635 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27636 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27637 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27638 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27639 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27640 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27641 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27642 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27643 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27644 * sysdeps/x86_64/dl-tls.h: Likewise.
27645 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27646 * time/alt_digit.c: Likewise.
27647 * time/era.c: Likewise.
27648 * wcsmbs/tst-c16c32-1.c: Likewise.
27649
8c75f674
JM
276502013-05-16 Joseph Myers <joseph@codesourcery.com>
27651
27652 * math/libm-test.inc (struct test_sincos_data): New type.
27653 (RUN_TEST_LOOP_sincos): New macro.
27654 (sincos_test_data): New variable.
27655 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27656
e6e49e59
RH
276572013-05-16 Richard Henderson <rth@redhat.com>
27658
27659 * math/atest-exp2.c (LIMB64): New macro.
27660 (CONSTSZ): New macro.
27661 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27662 (hexdig): Move ...
27663 (print_mpn_fp): ... to function scope.
27664 (read_mpn_hex): Remove.
27665 (get_log2): Remove.
27666 (exp2_mpn): Use mp_log2.
27667 (main): Use mp_exp1.
27668
15c7c18d
JM
276692013-05-16 Joseph Myers <joseph@codesourcery.com>
27670
105a07df
JM
27671 * math/libm-test.inc: Remove comment about not testing "inexact"
27672 exceptions.
27673 (INEXACT_EXCEPTION): New macro.
27674 (NO_INEXACT_EXCEPTION): Likewise.
27675 (INVALID_EXCEPTION_OK): Update value.
27676 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27677 (OVERFLOW_EXCEPTION_OK): Likewise.
27678 (UNDERFLOW_EXCEPTION_OK): Likewise.
27679 (IGNORE_ZERO_INF_SIGN): Likewise.
27680 (ERRNO_UNCHANGED): Likewise.
27681 (ERRNO_EDOM): Likewise.
27682 (ERRNO_ERANGE): Likewise.
27683 (test_exceptions): Handle testing "inexact" exceptions.
27684 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27685 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27686 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27687 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27688 INEXACT_EXCEPTION.
27689 (rint_towardzero_test_data): Likewise.
27690 (rint_downward_test_data): Likewise.
27691 (rint_upward_test_data): Likewise.
27692
e9eee333
JM
27693 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27694 with OVERFLOW_EXCEPTION.
27695 (exp10_test_data): Likewise.
27696 (exp2_test_data): Likewise.
27697 (expm1_test_data): Likewise.
27698 (lgamma_test_data): Likewise.
27699 (pow_test_data): Likewise.
27700 (tgamma_test_data): Likewise.
27701 (yn_test_data): Remove duplicate test of overflow.
27702
1c38ff73
JM
27703 * math/libm-test.inc (struct test_cc_c_data): New type.
27704 (RUN_TEST_LOOP_cc_c): New macro.
27705 (cpow_test_data): New variable.
27706 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27707
15c7c18d
JM
27708 * math/libm-test.inc (struct test_f_L_data): New type.
27709 (RUN_TEST_LOOP_f_L): New macro.
27710 (llrint_test_data): New variable.
27711 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27712 (llrint_tonearest_test_data): New variable.
27713 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27714 (llrint_towardzero_test_data): New variable.
27715 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27716 (llrint_downward_test_data): New variable.
27717 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27718 (llrint_upward_test_data): New variable.
27719 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27720 (llround_test_data): New variable.
27721 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27722
f137ff13
PC
277232013-05-13 Peter Collingbourne <pcc@google.com>
27724
27725 * math/atest-exp2.c (get_log2): Remove const attribute.
27726
3608cb24
JM
277272013-05-15 Joseph Myers <joseph@codesourcery.com>
27728
27729 * math/libm-test.inc (struct test_f_l_data): New type.
27730 (RUN_TEST_LOOP_f_l): New macro.
27731 (lrint_test_data): New variable.
27732 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27733 (lrint_tonearest_test_data): New variable.
27734 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27735 (lrint_towardzero_test_data): New variable.
27736 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27737 (lrint_downward_test_data): New variable.
27738 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27739 (lrint_upward_test_data): New variable.
27740 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27741 (lround_test_data): New variable.
27742 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27743
39b1f617
PC
277442013-05-15 Peter Collingbourne <pcc@google.com>
27745
1deff3dc
PC
27746 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27747 (EXTRACT_WORDS64) Use where appropriate.
27748 (INSERT_WORDS64) Likewise.
27749
791f3ba0
PC
27750 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27751 constraints with x constraints.
27752 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27753
39b1f617
PC
27754 * malloc/obstack.c (_obstack_compat): Add initializer.
27755
12fba011
EM
277562013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27757
27758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27759 si_trapno and add si_addr_lsb to _sifields.sigfault.
27760 (si_trapno): Remove macro.
27761 (si_addr_lsb): Define new macro.
27762 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27763
d369f531
JM
277642013-05-15 Joseph Myers <joseph@codesourcery.com>
27765
b861c6c4
JM
27766 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27767 instead of TEST_f_l.
27768 (llrint_test_tonearest): Likewise.
27769 (llrint_test_towardzero): Likewise.
27770 (llrint_test_downward): Likewise.
27771 (llrint_test_upward): Likewise.
27772 (llround_test): Likewise.
27773
7abeee12
JM
27774 * math/libm-test.inc (struct test_f_i_data): Add comment.
27775 (RUN_TEST_LOOP_f_b): New macro.
27776 (RUN_TEST_LOOP_f_b_tg): Likewise.
27777 (finite_test_data): New variable.
27778 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27779 (isfinite_test_data): New variable.
27780 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27781 (isinf_test_data): New variable.
27782 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27783 (isnan_test_data): New variable.
27784 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27785 (isnormal_test_data): New variable.
27786 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27787 (issignaling_test_data): New variable.
27788 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27789 (signbit_test_data): New variable.
27790 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27791
cbe8c4d3
JM
27792 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27793 with INVALID_EXCEPTION.
27794 (acosh_test_data): Likewise.
27795 (asin_test_data): Likewise.
27796 (atanh_test_data): Likewise.
27797 (fmod_test_data): Likewise.
27798 (log_test_data): Likewise.
27799 (log10_test_data): Likewise.
27800 (log2_test_data): Likewise.
27801 (pow_test_data): Likewise.
27802 (sqrt_test_data): Likewise.
27803 (y0_test_data): Likewise.
27804 (y1_test_data): Likewise.
27805 (yn_test_data): Likewise.
27806
5575c0e5
JM
27807 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27808 function contents.
27809
d369f531
JM
27810 * math/libm-test.inc (struct test_ff_i_data): New type.
27811 (RUN_TEST_LOOP_ff_i_tg): New macro.
27812 (isgreater_test_data): New variable.
27813 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27814 (isgreaterequal_test_data): New variable.
27815 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27816 (isless_test_data): New variable.
27817 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27818 (islessequal_test_data): New variable.
27819 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27820 (islessgreater_test_data): New variable.
27821 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27822 (isunordered_test_data): New variable.
27823 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27824
781fd748
DM
278252013-05-14 David S. Miller <davem@davemloft.net>
27826
27827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27828
87aa21df
JM
278292013-05-14 Joseph Myers <joseph@codesourcery.com>
27830
5e908270
JM
27831 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27832
f71172e5
JM
27833 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27834 extra_test to int.
27835 (struct test_f_i_data): Change type of max_ulp to int.
27836
8cfa635a
JM
27837 * math/libm-test.inc (test_ffI_f1_data): New type.
27838 (RUN_TEST_LOOP_ffI_f1): New macro.
27839 (remquo_test_data): New variable.
27840 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27841
2bcb36b2
JM
27842 * setjmp/tst-setjmp-fp.c: New file.
27843 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27844 (link-libm): New variable.
27845 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27846
acbd839a
JM
27847 * math/libm-test.inc (struct test_f_i_data): New type.
27848 (RUN_TEST_LOOP_f_i): New macro.
27849 (RUN_TEST_LOOP_f_i_tg): Likewise.
27850 (fpclassify_test_data): New variable.
27851 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27852 (ilogb_test_data): New variable.
27853 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27854
e414d745
JM
27855 * math/libm-test.inc (scalbln_test): Correct function name in END
27856 call.
27857
d9c2a0fd
JM
27858 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27859 (RUN_TEST_LOOP_fI_f1): New macro.
27860 (frexp_test_data): New variable.
27861 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27862
9dc9095d
JM
27863 * math/libm-test.inc (struct test_fF_f1_data): New type.
27864 (RUN_TEST_LOOP_fF_f1): New macro.
27865 (modf_test_data): New variable.
27866 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27867
87aa21df
JM
27868 * math/libm-test.inc (struct test_f_f1_data): New type.
27869 (RUN_TEST_LOOP_f_f1): New macro.
27870 (gamma_test_data): New variable.
27871 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27872 (lgamma_test_data): New variable.
27873 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27874
141af660
CD
278752013-05-13 Carlos O'Donell <carlos@redhat.com>
27876
27877 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27878 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27879 (main): Comment "tls" pseudo-hwcap.
27880
6d33265c
JM
278812013-05-13 Joseph Myers <joseph@codesourcery.com>
27882
68fc074c
JM
27883 * math/libm-test.inc (struct test_fl_f_data): New type.
27884 (RUN_TEST_LOOP_fl_f): New variable.
27885 (scalbln_test_data): New variable.
27886 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27887
243216e1
JM
27888 * math/libm-test.inc (struct test_fi_f_data): New type.
27889 (RUN_TEST_LOOP_fi_f): New macro.
27890 (ldexp_test_data): New variable.
27891 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27892 (scalbn_test_data): New variable.
27893 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27894
6a1992e2
JM
27895 * math/libm-test.inc (struct test_c_f_data): New type.
27896 (RUN_TEST_LOOP_c_f): New macro.
27897 (cabs_test_data): New variable.
27898 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27899 (carg_test_data): New variable.
27900 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27901 (cimag_test_data): New variable.
27902 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27903 (creal_test_data): New variable.
27904 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27905
0e400df5
JM
27906 * math/libm-test.inc (struct test_if_f_data): New type.
27907 (RUN_TEST_LOOP_if_f): New macro.
27908 (jn_test_data): New variable.
27909 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27910 (yn_test_data): New variable.
27911 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27912
6d33265c
JM
27913 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27914
f98ece5f
AZ
279152013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27916
27917 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27918 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27919
0f7d347b
SP
279202013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27921
43fe811b
SP
27922 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27923 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27924 (bench-deps): Add bench-timing.h.
27925 * benchtests-bench-skeleton.c: Include bench-timing.h.
27926 (main): Use TIMING_* macros instead of clock_gettime.
27927 * benchtests/bench-timing.h: New file.
27928
0f7d347b
SP
27929 [BZ #14582]
27930 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27931 Renamed from _LIB_VERSION.
27932 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27933
601a3a5f
JM
279342013-05-12 Joseph Myers <joseph@codesourcery.com>
27935
4f184d30
JM
27936 * math/libm-test.inc (struct test_fff_f_data): New type.
27937 (RUN_TEST_LOOP_fff_f): New macro.
27938 (fma_test_data): New variable.
27939 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27940 (fma_towardzero_test_data): New variable.
27941 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27942 (fma_downward_test_data): New variable.
27943 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27944 (fma_upward_test_data): New variable.
27945 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27946
08198877
JM
27947 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27948 (struct test_c_c_data): New type.
27949 (RUN_TEST_LOOP_c_c): New macro.
27950 (cacos_test_data): New variable.
27951 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27952 (cacosh_test_data): New variable.
27953 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27954 (casin_test_data): New variable.
27955 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27956 (casinh_test_data): New variable.
27957 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27958 (catan_test_data): New variable.
27959 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27960 (catanh_test_data): New variable.
27961 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27962 (ccos_test_data): New variable.
27963 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27964 (ccosh_test_data): New variable.
27965 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27966 (cexp_test_data): New variable.
27967 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27968 (clog_test_data): New variable.
27969 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27970 (clog10_test_data): New variable.
27971 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27972 (conj_test_data): New variable.
27973 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27974 (cproj_test_data): New variable.
27975 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27976 (csin_test_data): New variable.
27977 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27978 (csinh_test_data): New variable.
27979 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27980 (csqrt_test_data): New variable.
27981 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27982 (ctan_test_data): New variable.
27983 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27984 (ctan_tonearest_test_data): New variable.
27985 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27986 (ctan_towardzero_test_data): New variable.
27987 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27988 (ctan_downward_test_data): New variable.
27989 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27990 (ctan_upward_test_data): New variable.
27991 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27992 (ctanh_test_data): New variable.
27993 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27994 (ctanh_tonearest_test_data): New variable.
27995 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27996 (ctanh_towardzero_test_data): New variable.
27997 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27998 (ctanh_downward_test_data): New variable.
27999 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28000 (ctanh_upward_test_data): New variable.
28001 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28002 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28003 of BUILD_COMPLEX.
28004
601a3a5f
JM
28005 * math/libm-test.inc (struct test_ff_f_data): New type.
28006 (struct test_ff_f_data_nexttoward): Likewise.
28007 (RUN_TEST_LOOP_2_f): New macro.
28008 (RUN_TEST_LOOP_ff_f): Likewise.
28009 (atan2_test_data): New variable.
28010 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28011 (copysign_test_data): New variable.
28012 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28013 (fdim_test_data): New variable.
28014 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28015 (fmax_test_data): New variable.
28016 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28017 (fmin_test_data): New variable.
28018 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28019 (fmod_test_data): New variable.
28020 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28021 (hypot_test_data): New variable.
28022 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28023 (nextafter_test_data): New variable.
28024 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28025 (nexttoward_test_data): New variable.
28026 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28027 (pow_test_data): New variable.
28028 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28029 (pow_tonearest_test_data): New variable.
28030 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28031 (pow_towardzero_test_data): New variable.
28032 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28033 (pow_downward_test_data): New variable.
28034 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28035 (pow_upward_test_data): New variable.
28036 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28037 (remainder_test_data): New variable.
28038 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28039 (scalb_test_data): New variable.
28040 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28041 * sysdeps/i386/fpu/libm-test-ulps: Update.
28042
74c57478
JM
280432013-05-11 Joseph Myers <joseph@codesourcery.com>
28044
8329e4da
JM
28045 * math/libm-test.inc (fma_test): Use max_value instead of local
28046 variable fltmax.
28047 (nextafter_test): Likewise.
28048
74c57478
JM
28049 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28050 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28051 (acos_downward_test_data): New variable.
28052 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28053 (acos_upward_test_data): New variable.
28054 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28055 (acosh_test_data): New variable.
28056 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28057 (asin_test_data): New variable.
28058 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28059 (asin_tonearest_test_data): New variable.
28060 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28061 (asin_towardzero_test_data): New variable.
28062 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28063 (asin_downward_test_data): New variable.
28064 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28065 (asin_upward_test_data): New variable.
28066 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28067 (asinh_test_data): New variable.
28068 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28069 (atan_test_data): New variable.
28070 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28071 (atanh_test_data): New variable.
28072 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28073 (cbrt_test_data): New variable.
28074 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28075 (ceil_test_data): New variable.
28076 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28077 (cos_test_data): New variable.
28078 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28079 (cos_tonearest_test_data): New variable.
28080 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28081 (cos_towardzero_test_data): New variable.
28082 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28083 (cos_downward_test_data): New variable.
28084 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28085 (cos_upward_test_data): New variable.
28086 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28087 (cosh_test_data): New variable.
28088 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28089 (cosh_tonearest_test_data): New variable.
28090 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28091 (cosh_towardzero_test_data): New variable.
28092 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28093 (cosh_downward_test_data): New variable.
28094 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28095 (cosh_upward_test_data): New variable.
28096 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28097 (erf_test_data): New variable.
28098 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28099 (erfc_test_data): New variable.
28100 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28101 (exp_test_data): New variable.
28102 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28103 (exp_tonearest_test_data): New variable.
28104 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28105 (exp_towardzero_test_data): New variable.
28106 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28107 (exp_downward_test_data): New variable.
28108 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28109 (exp_upward_test_data): New variable.
28110 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28111 (exp10_test_data): New variable.
28112 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28113 (exp2_test_data): New variable.
28114 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28115 (expm1_test_data): New variable.
28116 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28117 (fabs_test_data): New variable.
28118 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28119 (floor_test_data): New variable.
28120 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28121 (j0_test_data): New variable.
28122 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28123 (j1_test_data): New variable.
28124 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28125 (log_test_data): New variable.
28126 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28127 (log10_test_data): New variable.
28128 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28129 (log1p_test_data): New variable.
28130 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28131 (log2_test_data): New variable.
28132 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28133 (logb_test_data): New variable.
28134 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28135 (logb_downward_test_data): New variable.
28136 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28137 (nearbyint_test_data): New variable.
28138 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28139 (rint_test_data): New variable.
28140 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28141 (rint_tonearest_test_data): New variable.
28142 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28143 (rint_towardzero_test_data): New variable.
28144 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28145 (rint_downward_test_data): New variable.
28146 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28147 (rint_upward_test_data): New variable.
28148 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28149 (round_test_data): New variable.
28150 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28151 (sin_test_data): New variable.
28152 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28153 (sin_tonearest_test_data): New variable.
28154 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28155 (sin_towardzero_test_data): New variable.
28156 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28157 (sin_downward_test_data): New variable.
28158 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28159 (sin_upward_test_data): New variable.
28160 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28161 (sinh_test_data): New variable.
28162 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28163 (sinh_tonearest_test_data): New variable.
28164 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28165 (sinh_towardzero_test_data): New variable.
28166 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28167 (sinh_downward_test_data): New variable.
28168 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28169 (sinh_upward_test_data): New variable.
28170 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28171 (sqrt_test_data): New variable.
28172 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28173 (tan_test_data): New variable.
28174 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28175 (tan_tonearest_test_data): New variable.
28176 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28177 (tan_towardzero_test_data): New variable.
28178 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28179 (tan_downward_test_data): New variable.
28180 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28181 (tan_upward_test_data): New variable.
28182 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28183 (tanh_test_data): New variable.
28184 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28185 (tgamma_test_data): New variable.
28186 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28187 (trunc_test_data): New variable.
28188 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28189 (y0_test_data): New variable.
28190 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28191 (y1_test_data): New variable.
28192 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28193 (significand_test_data): New variable.
28194 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28195
7187d844
CG
281962013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28197
28198 [BZ #12387]
28199 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28200
f63fae73
PT
282012013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28202
28203 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28204
8a67a4b3
AJ
282052013-05-10 Andreas Jaeger <aj@suse.de>
28206
28207 [BZ #15448]
28208 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28209 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28210
51df539d
JM
282112013-05-10 Joseph Myers <joseph@codesourcery.com>
28212
28213 * math/gen-libm-test.pl (adjust_arg): New function.
28214 (special_functions): Handle generating output in both functions
28215 and arrays.
28216 (parse_args): Likewise.
28217 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28218 $in_func argument to parse_args.
28219 * math/libm-test.inc (struct test_f_f_data): New type.
28220 (IF_ROUND_INIT_): New macro.
28221 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28222 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28223 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28224 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28225 (ROUND_RESTORE_): Likewise.
28226 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28227 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28228 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28229 (ROUND_RESTORE_FE_UPWARD): Likewise.
28230 (RUN_TEST_LOOP_f_f): New macro.
28231 (acos_test_data): New variable.
28232 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28233 (acos_tonearest_test_data): New variable.
28234 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28235
5c637fe5
SP
282362013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28237
28238 * benchtests/bench-skeleton.c (startup): Fix coding style.
28239
ab2b9461
JM
282402013-05-10 Joseph Myers <joseph@codesourcery.com>
28241
28242 [BZ #6809]
28243 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28244 negative infinity argument.
28245 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28246 negative infinity argument.
28247 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28248 negative infinity argument.
28249 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28250 domain errors.
28251
4c0fe6fe
FW
282522013-05-10 Florian Weimer <fweimer@redhat.com>
28253
28254 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28255 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28256 * iconv/iconv_prog.c (main): Likewise.
28257 * locale/programs/charmap-dir.c (charmap_readdir)
28258 (fopen_uncompressed): Likewise.
28259 * locale/programs/locfile.c (siblings_uncached)
28260 (write_locale_data): Use lstat64 instead of lstat.
28261 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28262 stat.
28263
a3375d29
AJ
282642013-05-10 Andreas Jaeger <aj@suse.de>
28265
28266 [BZ #15395]
28267 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28268 localization.
28269 Include <locale.h>.
28270
36129722
CD
282712013-05-09 Carlos O'Donell <carlos@redhat.com>
28272
28273 * elf/dl-close.c (_dl_close_worker): Add comments.
28274
faa7f811
JM
282752013-05-09 Joseph Myers <joseph@codesourcery.com>
28276
ed41ffef
JM
28277 [BZ #15359]
28278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28279 high part of pi/2.
28280 (__ieee754_rem_pio2l): Update comments.
28281
d0213cd0
JM
28282 [BZ #15429]
28283 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28284 high part of pi/2.
28285 (__ieee754_rem_pio2l): Update comments.
28286
0d3e777a
JM
28287 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28288 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28289
24f56066
JM
28290 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28291 M_PI_4l.
28292
faa7f811
JM
28293 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28294 (M_PI_34_LOG10El): Likewise.
28295 (M_PI2_LOG10El): Likewise.
28296 (M_PI4_LOG10El): Likewise.
28297 (M_PI_LOG10El): Likewise.
28298
e9a5e0fd
AZ
282992013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28300
28301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28302
d8cd06db
JM
283032013-05-08 Joseph Myers <joseph@codesourcery.com>
28304
a0d9f9d7
JM
28305 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28306 (MINUS_ZERO_INIT): Likewise.
28307 (PLUS_INFTY_INIT): Likewise.
28308 (MINUS_INFTY_INIT): Likewise.
28309 (QNAN_VALUE_INIT): Likewise.
28310 (MAX_VALUE_INIT): Likewise.
28311 (MIN_VALUE_INIT): Likewise.
28312 (MIN_SUBNORM_VALUE_INIT): Likewise.
28313 (plus_zero): Initialize with PLUS_ZERO_INIT.
28314 (minus_zero): Initialize with MINUS_ZERO_INIT.
28315 (plus_infty): Initialize with PLUS_INFTY_INIT.
28316 (minus_infty): Initialize with MINUS_INFTY_INIT.
28317 (qnan_value): Initialize with QNAN_VALUE_INIT.
28318 (max_value): Initialize with MAX_VALUE_INIT.
28319 (min_value): Initialize with MIN_VALUE_INIT.
28320 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28321
ae08db3b
JM
28322 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28323 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28324 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28325 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28326
f44bf14a
JM
28327 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28328 (RUN_TEST_2_f): Likewise.
28329 (RUN_TEST_ff_f): Likewise.
28330 (RUN_TEST_fi_f): Likewise.
28331 (RUN_TEST_fl_f): Likewise.
28332 (RUN_TEST_fff_f): Likewise.
28333 (RUN_TEST_c_f): Likewise.
28334 (RUN_TEST_f_f1): Likewise.
28335 (RUN_TEST_fF_f1): Likewise.
28336 (RUN_TEST_fI_f1): Likewise.
28337 (RUN_TEST_ffI_f1): Likewise.
28338 (RUN_TEST_c_c): Likewise.
28339 (RUN_TEST_cc_c): Likewise.
28340 (RUN_TEST_f_i): Likewise.
28341 (RUN_TEST_f_i_tg): Likewise.
28342 (RUN_TEST_ff_i_tg): Likewise.
28343 (RUN_TEST_f_b): Likewise.
28344 (RUN_TEST_f_b_tg): Likewise.
28345 (RUN_TEST_f_l): Likewise.
28346 (RUN_TEST_f_L): Likewise.
28347 (RUN_TEST_sincos): Likewise.
28348 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28349 whether to show exceptions. Do not include ");\n" in return
28350 value.
28351 (special_functions): Output call to RUN_TEST_sincos instead of
28352 check_float calls. Update calls to new_test.
28353 (parse_args): Output call to single RUN_TEST_* macro instead of
28354 check_* calls and other assignments. Update calls to new_test.
28355
d8cd06db
JM
28356 [BZ #2546]
28357 [BZ #2560]
28358 [BZ #5159]
28359 [BZ #15426]
28360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28361 input to result for tgamma overflow.
28362 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28363 (gamma_coeff): New variable.
28364 (NCOEFF): New macro.
28365 (gamma_positive): New function.
28366 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28367 underflow here. Use gamma_positive instead of exp (lgamma) for
28368 other arguments.
28369 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28370 (gamma_coeff): New variable.
28371 (NCOEFF): New macro.
28372 (gammaf_positive): New function.
28373 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28374 underflow here. Use gamma_positive instead of exp (lgamma) for
28375 other arguments.
28376 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28377 (gamma_coeff): New variable.
28378 (NCOEFF): New macro.
28379 (gammal_positive): New function.
28380 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28381 underflow here. Use gamma_positive instead of exp (lgamma) for
28382 other arguments.
28383 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28384 (gamma_coeff): New variable.
28385 (NCOEFF): New macro.
28386 (gammal_positive): New function.
28387 (__ieee754_gammal_r): Handle positive infinity, overflow and
28388 underflow here. Handle NaN the same as positive infinity. Remove
28389 check x < 0xffffffff for negative integers. Use gamma_positive
28390 instead of exp (lgamma) for other arguments.
28391 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28392 (gamma_coeff): New variable.
28393 (NCOEFF): New macro.
28394 (gammal_positive): New function.
28395 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28396 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28397 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28398 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28399 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28400 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28401 * sysdeps/generic/math_private.h (__gamma_productf): New
28402 prototype.
28403 (__gamma_product): Likewise.
28404 (__gamma_productl): Likewise.
28405 * math/Makefile (libm-calls): Add gamma_product.
28406 * math/libm-test.inc (tgamma_test): Add more tests.
28407 * sysdeps/i386/fpu/libm-test-ulps: Update.
28408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28409
bb7cf681
OB
284102013-05-08 Ondřej Bílka <neleai@seznam.cz>
28411
28412 * benchtests/bench-skeleton.c (main): Preheat CPU.
28413
ba853947
AJ
284142013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28415
28416 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28417
8347c74c
RM
284182013-05-07 Roland McGrath <roland@hack.frob.com>
28419
28420 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28421 and _dl_skip_args_internal.
28422
e8dd4791
CD
284232013-05-07 Carlos O'Donell <carlos@redhat.com>
28424
28425 * manual/message.texi (Message Translation): Talk about users.
28426 Message to key mapping impacts design.
28427
c7405830
RM
284282013-05-06 Roland McGrath <roland@hack.frob.com>
28429
a9173057
RM
28430 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28431
976e2f03
RM
28432 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28433
9723ffc5
RM
28434 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28435 * sysdeps/wordsize-64/glob64.c: ... here.
28436
962e6658
RM
28437 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28438 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28439 New macros.
28440
ee586a6d
RM
28441 * debug/getlogin_r_chk.c: Moved to ...
28442 * login/getlogin_r_chk.c: ... here.
28443 * debug/Makefile (routines): Move getlogin_r_chk to ...
28444 * login/Makefile (routines): ... here.
28445 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28446 * login/Versions (libc: GLIBC_2.4): ... here.
28447
355f9165
RM
28448 * io/poll.c (__poll): Renamed from poll.
28449 Add libc_hidden_def.
28450 (poll): Define as weak alias.
28451
bd9ffde6
RM
28452 * debug/ptsname_r_chk.c: Moved to ...
28453 * login/ptsname_r_chk.c: ... here.
28454 * debug/Makefile (routines): Move ptsname_r_chk to ...
28455 * login/Makefile (routines): ... here.
28456 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28457 * login/Versions (libc: GLIBC_2.4): ... here.
28458
8fb16a04
RM
28459 * posix/getlogin.c: Moved to ...
28460 * login/getlogin.c: ... here.
28461 * posix/getlogin_r.c: Moved to ...
28462 * login/getlogin_r.c: ... here.
28463 * posix/getlogin_r.c: Moved to ...
28464 * login/getlogin_r.c: ... here.
28465 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28466 * login/Makefile (routines): ... here.
28467 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28468 * login/Versions (libc: GLIBC_2.0): ... here.
28469
b99b892f
RM
28470 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28471 (setrlimit): Define as weak alias.
28472
c7405830
RM
28473 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28474 Call __ names for open, ftruncate, and close.
28475 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28476 (truncate): Define as weak alias.
28477
5bf96de5
JM
284782013-05-06 Joseph Myers <joseph@codesourcery.com>
28479
9ea3513c
JM
28480 * math/gen-libm-test.pl (parse_args): Initialize x before each
28481 test of frexp, modf and remquo.
28482
5bf96de5
JM
28483 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28484 test signgam value.
28485
16e616a7
AZ
284862013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28487
28488 [BZ #15418]
28489 [BZ #15419]
28490 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28491 internal tests.
28492 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28493
d5e82754
RM
284942013-05-06 Roland McGrath <roland@hack.frob.com>
28495
28496 * elf/dl-writev.h: New file.
28497 * elf/dl-misc.c: Include it.
28498 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28499 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28500
a7548d41
JM
285012013-05-04 Joseph Myers <joseph@codesourcery.com>
28502
b7dab1e4
JM
28503 * math/libm-test.inc (noXFails): Remove variable.
28504 (noXPasses): Likewise.
28505 (BUILD_COMPLEX_INT): Remove macro.
28506 (print_screen): Remove xfail argument.
28507 (print_screen_max_error): Likewise.
28508 (update_stats): Likewise.
28509 (print_max_error): Likewise. Update calls to other affected
28510 functions.
28511 (print_complex_max_error): Likewise.
28512 (test_single_exception): Update calls to print_screen.
28513 (test_single_errno): Likewise.
28514 (check_float_internal): Remove xfail argument. Update calls to
28515 other affected functions.
28516 (check_float): Likewise.
28517 (check_complex): Likewise.
28518 (check_int): Likewise.
28519 (check_long): Likewise.
28520 (check_bool): Likewise.
28521 (check_longlong): Likewise.
28522 (main): Don't print noXFails and noXPasses.
28523 * math/gen-libm-test.pl (top level): Don't mention expected
28524 failure handling in comment.
28525 (new_test): Don't handle expected failures.
28526 (parse_args): Don't mention expected failure handling in comment.
28527 (generate_testfile): Don't handle expected failures.
28528 (parse_ulps): Likewise.
28529 (print_ulps_file): Likewise.
28530 (get_failure): Remove function.
28531 (output_test): Don't handle expected failures.
28532 * make/README.libm-test: Don't mention expected failure handling.
28533
a7548d41
JM
28534 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28535 (minus_zero): Likewise.
28536 (plus_infty): Likewise.
28537 (minus_infty): Likewise.
28538 (qnan_value): Likewise.
28539 (max_value): Likewise.
28540 (min_value): Likewise.
28541 (min_subnorm_value): Likewise.
28542 (initialize): Do not initialize those variables dynamically.
28543
60bfd54c
RM
285442013-05-03 Roland McGrath <roland@hack.frob.com>
28545
cc0e6ed8
RM
28546 * io/open.c (__open_2): Moved to ...
28547 * io/open_2.c: ... this new file.
28548 * io/open64.c (__open64_2): Moved to ...
28549 * io/open64_2.c: ... this new file.
28550 * io/openat.c (__openat_2): Moved to ...
28551 * io/openat_2.c: ... this new file.
28552 * io/openat64.c (__openat64_2): Moved to ...
28553 * io/openat64_2.c: ... this new file.
28554 * io/Makefile (routines): Add them.
28555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28556 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28557 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28558 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28559 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28560 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28561 (__openat64): Add hidden_ver.
28562 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28563 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28564
60bfd54c
RM
28565 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28566 Separately conditionalize setting of GLRO(dl_sysinfo) so
28567 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28568 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28569
83e7640f
AZ
285702013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28571
28572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28574 definition.
28575 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28576 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28577 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28578 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28579 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28580
d5dc2af3
JM
285812013-05-03 Joseph Myers <joseph@codesourcery.com>
28582
c31a5b1e
JM
28583 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28584 test signgam value.
28585
d5dc2af3
JM
28586 * math/libm-test.inc (hypot_test): Do not use
28587 IGNORE_ZERO_INF_SIGN.
28588
164fd39d
AJ
285892013-05-03 Andreas Jaeger <aj@suse.de>
28590
28591 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28592 Linux 3.9.
28593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28594 (PF_MAX): Adjust for VSOCK change.
28595
8237f48c
AZ
285962013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28597
28598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28599
9df02941
CD
286002013-05-02 Carlos O'Donell <carlos@redhat.com>
28601
28602 [BZ #15264]
28603 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28604 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28605 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28606
d422395e
DM
286072013-05-02 David S. Miller <davem@davemloft.net>
28608
28609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28610
a07c5731
OB
286112013-05-01 Ondřej Bílka <neleai@seznam.cz>
28612
28613 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28614
1324e37f
RM
286152013-05-01 Roland McGrath <roland@hack.frob.com>
28616
28617 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28618
0695940b
RS
286192013-05-01 Richard Smith <richard@metafoo.co.uk>
28620
bb5f27ad 28621 [BZ #14952]
0695940b
RS
28622 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28623 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28624 Use __attribute__ ((__gnu_inline__)).
28625 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28626 Don't use __attribute__ ((__gnu_inline__)).
28627
10de07f5
JM
286282013-05-01 Joseph Myers <joseph@codesourcery.com>
28629
28630 [BZ #15423]
28631 * math/s_catan.c (__catan): Handle small real or imaginary part of
28632 input specially to avoid spurious underflow.
28633 * math/s_catanf.c (__catanf): Likewise.
28634 * math/s_catanh.c (__catanh): Likewise.
28635 * math/s_catanhf.c (__catanhf): Likewise.
28636 * math/s_catanhl.c (__catanhl): Likewise.
28637 * math/s_catanl.c (__catanl): Likewise.
28638 * math/libm-test.inc (catan_test): Add more tests.
28639 (catanh_test): Likewise.
28640 * sysdeps/i386/fpu/libm-test-ulps: Update.
28641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28642
cb4d5414
AZ
286432013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28644
28645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28646
caf84319
JM
286472013-04-30 Joseph Myers <joseph@codesourcery.com>
28648
28649 [BZ #15416]
28650 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28651 accurately for denominator in atan2.
28652 * math/s_catanf.c (__catanf): Likewise.
28653 * math/s_catanh.c (__catanh): Likewise.
28654 * math/s_catanhf.c (__catanhf): Likewise.
28655 * math/s_catanhl.c (__catanhl): Likewise.
28656 * math/s_catanl.c (__catanl): Likewise.
28657 * math/libm-test.inc (catan_test): Add more tests.
28658 (catanh_test): Likewise.
28659 * sysdeps/i386/fpu/libm-test-ulps: Update.
28660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28661
d569c6ee
SP
286622013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28663
6dbe713d
SP
28664 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28665
f0ee064b
SP
28666 * benchtests/Makefile (bench): Remove slow benchmarks.
28667 * benchtests/atan-inputs: Add slow benchmark inputs.
28668 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28669 (BENCH_FUNC): Accept variant offset.
28670 (VARIANT): Define.
28671 * benchtests/bench-skeleton.c (main): Run benchmark for each
28672 variant.
28673 * benchtests/cos-inputs: Add slow benchmark inputs.
28674 * benchtests/exp-inputs: Likewise.
28675 * benchtests/pow-inputs: Likewise.
28676 * benchtests/sin-inputs: Likewise.
28677 * benchtests/slowatan-inputs: Remove.
28678 * benchtests/slowatan.c: Remove.
28679 * benchtests/slowcos-inputs: Remove.
28680 * benchtests/slowcos.c: Remove.
28681 * benchtests/slowexp-inputs: Remove.
28682 * benchtests/slowexp.c: Remove.
28683 * benchtests/slowpow-inputs: Remove.
28684 * benchtests/slowpow.c: Remove.
28685 * benchtests/slowsin-inputs: Remove.
28686 * benchtests/slowsin.c: Remove.
28687 * benchtests/slowtan-inputs: Remove.
28688 * benchtests/slowtan.c: Remove.
28689 * benchtests/tan-inputs: Add slow benchmark inputs.
28690 * scripts/bench.pl: Parse comments and directives.
28691
d569c6ee
SP
28692 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28693 in CPPFLAGS.
28694 ($(objpfx)bench-%.c): Remove *-ITER.
28695 * benchtests/bench-modf.c: Remove definition of ITER.
28696 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28697 (main): Loop for DURATION seconds instead of fixed number of
28698 iterations.
28699 * scripts/bench.pl: Don't expect iterations in parameters.
28700
a6a242fe
RM
287012013-04-29 Roland McGrath <roland@hack.frob.com>
28702
28703 * io/fchdir.c (__fchdir): Renamed from fchdir.
28704 (fchdir): Define as weak alias.
28705
f2da7793
JM
287062013-04-29 Joseph Myers <joseph@codesourcery.com>
28707
28708 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28709 (ERRNO_EDOM): Likewise.
28710 (ERRNO_ERANGE): Likewise.
28711 (noErrnoTests): New variable.
28712 (init_max_error): Set errno to 0.
28713 (test_single_errno): New function.
28714 (test_errno): Likewise.
28715 (check_float_internal): Call test_errno. Set errno to 0.
28716 (check_complex): Refer to errno tests in comment.
28717 (check_int): Call test_errno. Set errno to 0.
28718 (check_long): Likewise.
28719 (check_bool): Likewise.
28720 (check_longlong): Likewise.
28721 (cos_test): Use ERRNO_* flags for errno tests instead of
28722 check_int.
28723 (expm1_test): Likewise.
28724 (fmod_test): Likewise.
28725 (ilogb_test): Likewise.
28726 (lgamma_test): Likewise.
28727 (pow_test): Likewise.
28728 (remainder_test): Likewise.
28729 (sin_test): Likewise.
28730 (tan_test): Likewise.
28731 (yn_test): Likewise.
28732 (initialize): Set errno to 0.
28733 (main): Print number of errno tests.
28734 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28735
b1a36ceb
AJ
287362013-04-29 Andreas Jaeger <aj@suse.de>
28737
c3ed8088
AJ
28738 [BZ #15084]
28739 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28740 and RES_USEVC.
28741
f1a24198
AJ
28742 [BZ #15085]
28743 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28744 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28745 unimplemented.
28746
9ce3b2cb
AJ
28747 [BZ #15380]
28748 * stdlib/random.c (__initstate): Return NULL if
28749 __initstate fails.
28750
f1a24198 28751 [BZ #15086]
b1a36ceb
AJ
28752 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28753 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28754 RES_SNGLKUPREOP.
28755
7e7b6f36
AZ
287562013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28757
28758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28759
4d14f449
JM
287602013-04-29 Joseph Myers <joseph@codesourcery.com>
28761
28762 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28763 of individual tests.
28764 (casin_test): Likewise.
28765 (casinh_test): Likewise.
28766
5b4217d7
JM
287672013-04-27 Joseph Myers <joseph@codesourcery.com>
28768
28769 [BZ #15409]
28770 * math/s_catan.c (__catan): Handle arguments with large real or
28771 imaginary part separately without squaring.
28772 * math/s_catanf.c (__catanf): Likewise.
28773 * math/s_catanh.c (__catanh): Likewise.
28774 * math/s_catanhf.c (__catanhf): Likewise.
28775 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28776 and redefine.
28777 (__catanhl): Handle arguments with large real or imaginary part
28778 separately without squaring.
28779 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28780 and redefine.
28781 (__catanl): Handle arguments with large real or imaginary part
28782 separately without squaring.
28783 * math/libm-test.inc (catan_test): Add more tests.
28784 (catanh_test): Likewise.
28785 * sysdeps/i386/fpu/libm-test-ulps: Update.
28786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28787
4220c3ef
AJ
287882013-04-27 Andreas Jaeger <aj@suse.de>
28789
28790 [BZ #15007]
28791 * stdlib/stdlib.h: Update guards for qecvt.
28792 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28793 <stdlib.h>.
28794
4721b2d1
AM
287952013-04-27 Allan McRae <allan@archlinux.org>
28796
28797 * sysdeps/i386/fpu/libm-test-ulps: Update.
28798
f0302940
JM
287992013-04-26 Joseph Myers <joseph@codesourcery.com>
28800
9457fd95
JM
28801 [BZ #15406]
28802 * math/s_catan.c: Include <float.h>.
28803 (__catan): Ensure underflow exception occurs for underflowed
28804 result.
28805 * math/s_catanf.c: Include <float.h>.
28806 (__catanf): Ensure underflow exception occurs for underflowed
28807 result.
28808 * math/s_catanh.c: Include <float.h>.
28809 (__catanh): Ensure underflow exception occurs for underflowed
28810 result.
28811 * math/s_catanhf.c: Include <float.h>.
28812 (__catanhf): Ensure underflow exception occurs for underflowed
28813 result.
28814 * math/s_catanhl.c: Include <float.h>.
28815 (__catanhl): Ensure underflow exception occurs for underflowed
28816 result.
28817 * math/s_catanl.c: Include <float.h>.
28818 (__catanl): Ensure underflow exception occurs for underflowed
28819 result.
28820 * math/libm-test.inc (catan_test): Add more tests.
28821 (catanh_test): Likewise.
28822
f0302940
JM
28823 [BZ #15405]
28824 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28825 underflowed result.
28826 * math/s_ccoshf.c (__ccoshf): Likewise.
28827 * math/s_ccoshl.c (__ccoshl): Likewise.
28828 * math/s_csin.c (__csin): Likewise.
28829 * math/s_csinf.c (__csinf): Likewise.
28830 * math/s_csinh.c (__csinh): Likewise.
28831 * math/s_csinhf.c (__csinhf): Likewise.
28832 * math/s_csinhl.c (__csinhl): Likewise.
28833 * math/s_csinl.c (__csinl): Likewise.
28834 * math/libm-test.inc (ccos_test): Add more tests.
28835 (ccosh_test): Likewise.
28836 (csin_test): Likewise.
28837 (csinh_test): Likewise.
28838
aa630f59
AZ
288392013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28840
28841 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28842 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28843 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28844 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28845 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28846 powerpc/power5+/fpu folders.
28847 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28848
28849
1b835983
MT
288502013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28851
28852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28853
73709b26
JM
288542013-04-25 Joseph Myers <joseph@codesourcery.com>
28855
28856 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28857 additions to variable.
28858 [$(config-machine) = x86_64] (modules-names): Likewise.
28859 ($(objpfx)tst-audit3): Remove dependency.
28860 ($(objpfx)tst-audit3.out): Likewise.
28861 ($(objpfx)tst-audit4): Likewise.
28862 ($(objpfx)tst-audit4.out): Likewise.
28863 ($(objpfx)tst-audit5): Likewise.
28864 ($(objpfx)tst-audit5.out): Likewise.
28865 ($(objpfx)tst-audit6): Likewise.
28866 ($(objpfx)tst-audit6.out): Likewise.
28867 ($(objpfx)tst-audit7): Likewise.
28868 ($(objpfx)tst-audit7.out): Likewise.
28869 (tst-audit3-ENV): Remove variable.
28870 (tst-audit4-ENV): Likewise.
28871 (tst-audit5-ENV): Likewise.
28872 (tst-audit6-ENV): Likewise.
28873 (tst-audit7-ENV): Likewise.
28874 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28875 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28876 addition to variable.
28877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28878 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28879 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28880 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28881 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28882 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28883 tst-audit3, tst-audit4 and tst-audit5.
28884 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28885 tst-audit6 and tst-audit7.
28886 [$(subdir) = elf] (modules-names): Add audit modules for those
28887 tests.
28888 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28889 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28890 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28891 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28892 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28893 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28894 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28895 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28896 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28897 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28898 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28899 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28900 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28901 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28902 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28903 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28904 Likewise.
28905 [$(subdir) = elf && $(config-cflags-avx) = yes]
28906 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28907 [$(subdir) = elf && $(config-cflags-avx) = yes]
28908 (CFLAGS-tst-auditmod4a.c): Likewise.
28909 [$(subdir) = elf && $(config-cflags-avx) = yes]
28910 (CFLAGS-tst-auditmod4b.c): Likewise.
28911 [$(subdir) = elf && $(config-cflags-avx) = yes]
28912 (CFLAGS-tst-auditmod6b.c): Likewise.
28913 [$(subdir) = elf && $(config-cflags-avx) = yes]
28914 (CFLAGS-tst-auditmod6c.c): Likewise.
28915 [$(subdir) = elf && $(config-cflags-avx) = yes]
28916 (CFLAGS-tst-auditmod7b.c): Likewise.
28917 * elf/tst-audit3.c: Move to ...
28918 * sysdeps/x86_64/tst-audit3.c: ... here.
28919 * elf/tst-audit4.c: Move to ...
28920 * sysdeps/x86_64/tst-audit4.c: ... here.
28921 * elf/tst-audit5.c: Move to ...
28922 * sysdeps/x86_64/tst-audit5.c: ... here.
28923 * elf/tst-audit6.c: Move to ...
28924 * sysdeps/x86_64/tst-audit6.c: ... here.
28925 * elf/tst-audit7.c: Move to ...
28926 * sysdeps/x86_64/tst-audit7.c: ... here.
28927 * elf/tst-auditmod3a.c: Move to ...
28928 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28929 * elf/tst-auditmod3b.c: Move to ...
28930 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28931 * elf/tst-auditmod4a.c: Move to ...
28932 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28933 * elf/tst-auditmod4b.c: Move to ...
28934 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28935 * elf/tst-auditmod5a.c: Move to ...
28936 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28937 * elf/tst-auditmod5b.c: Move to ...
28938 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28939 * elf/tst-auditmod6a.c: Move to ...
28940 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28941 * elf/tst-auditmod6b.c: Move to ...
28942 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28943 * elf/tst-auditmod6c.c: Move to ...
28944 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28945 * elf/tst-auditmod7a.c: Move to ...
28946 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28947 * elf/tst-auditmod7b.c: Move to ...
28948 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28949
1ef74943
PP
289502013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28951
28952 [BZ #15366]
28953 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28954 define unconditionally.
28955 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28956 define unconditionally.
28957 (INT8_C, INT16_C, etc.): Likewise.
28958
93fd48c5
MR
289592013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28960
ae9552cf
MR
28961 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28962 __ehdr_start with hidden visibility.
28963
93fd48c5
MR
28964 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28965
418601aa
CD
289662013-04-24 Carlos O'Donell <carlos@redhat.com>
28967
28968 * math/libm-test.inc (cos_test): Use accurate hex constants.
28969 (sincost_test): Likewise.
28970
2f38fbfe
JM
289712013-04-24 Joseph Myers <joseph@codesourcery.com>
28972
5e221800
JM
28973 * math/libm-test.inc (catan_test): Add more tests.
28974 (catanh_test): Likewise.
28975
77f143fd
JM
28976 * math/s_catanf.c (__catanf): Use suffixed floating-point
28977 constants.
28978 * math/s_catanhf.c (__catanhf): Likewise.
28979 * math/s_catanhl.c (__catanhl): Likewise.
28980 * math/s_catanl.c (__catanl): Likewise.
28981
2f38fbfe
JM
28982 [BZ #15394]
28983 * math/s_catan.c (__catan): Calculate imaginary part of result
28984 with log1p not log unless computing log of number close to 0.
28985 * math/s_catanf.c (__catanf): Likewise.
28986 * math/s_catanl.c (__catanl): Likewise.
28987 * math/s_catanh.c (__catanh): Calculate real part of result with
28988 log1p not log unless computing log of number close to 0.
28989 * math/s_catanhf.c (__catanhf): Likewise.
28990 * math/s_catanhl.c (__catanhl): Likewise.
28991 * math/libm-test.inc (catan_test): Add more tests.
28992 (catanh_test): Likewise.
28993 * sysdeps/i386/fpu/libm-test-ulps: Update.
28994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28995
45d69176
SP
289962013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28997
28998 * benchtests/Makefile: Mention files in which fast and slow
28999 paths of math functions are implemented.
29000
87f51853
RM
290012013-04-23 Roland McGrath <roland@hack.frob.com>
29002
29003 * sysdeps/posix/timespec_get.c: New file.
29004
3c026539
AZ
290052013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29006
29007 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29008 POWER.
29009 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29010 for POWER.
29011 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29012 powerpc/power5/fpu folders.
29013 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29014 * benchtests/Makefile: Add modf testcase.
29015 * benchtests/bench-modf.c: New file: Benchmark test for mo
29016
ff491d14
SP
290172013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29018
29019 [BZ #14888]
29020 * time/Makefile (tests): Add tst-strptime-whitespace.
29021 * time/strptime_l.c (get_number): Use ISSPACE.
29022 (__strptime_internal): Likewise.
29023 * time/tst-strptime-whitespace.c: New test case.
29024
7ed3f4e8
AS
290252013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29026
29027 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29028 member.
29029 (_nss_files_init): Set it here.
29030
5c95f7b6
HC
290312013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29032
29033 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29034 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29035 unsigned.
29036
d34c9158
JBG
290372013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29038
29039 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29040
2169712d
SP
290412013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29042
29043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29044 size just once.
29045
29c5de99
DM
290462013-04-21 David S. Miller <davem@davemloft.net>
29047
29048 * po/ru.po: Update Russion translation from translation project.
29049
ccdad15d
AC
290502013-04-17 Adam Conrad <adconrad@0c3.net>
29051
29052 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29053 and setfsgid.
29054
0f122b8d
CD
290552013-04-17 Carlos O'Donell <carlos@redhat.com>
29056
5c5b07da 29057 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29058 * configure: Regenerate.
5c5b07da 29059 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29060 Add example to error message.
29061 * sysdeps/i386/configure: Regenerate.
29062
037714dd
SP
290632013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29064
29065 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29066 slowtan.
29067 * benchtests/cos-inputs: New file.
29068 * benchtests/slowcos-inputs: New file.
29069 * benchtests/slowcos.c: New file.
29070 * benchtests/slowtan-inputs: New file.
29071 * benchtests/slowtan.c: New file.
29072 * benchtests/tan-inputs: New file.
29073
e913141d
RM
290742013-04-16 Roland McGrath <roland@hack.frob.com>
29075
29076 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29077 considered kosher.
29078
a2964074
SP
290792013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29080
4856bcd2
SP
29081 * benchtests/Makefile: Include cppflags-iterator.mk to add
29082 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29083
a2964074
SP
29084 * Makefile.in (bench-clean): New target.
29085 * benchtests/Makefile (bench-clean): Likewise.
29086
9fbf9aca
DH
290872013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29088
29089 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29090
207d1e2a
TS
290912013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29092
29093 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29094
306dfba9
AS
290952013-04-15 Andreas Schwab <schwab@suse.de>
29096
29097 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29098 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29099 * nscd/pwdcache.c (cache_addpw): Likewise.
29100 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29101 more than recsize.
29102
206a6699
SP
291032013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29104
29105 * benchtests/Makefile (bench): Write all output to
29106 bench-out.tmp together.
29107
0582f6b3
AS
291082013-04-15 Andreas Schwab <schwab@suse.de>
29109
29110 * nscd/nscd.c (main): Don't fork again after closing files.
29111
acb4325f
SP
291122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29113
5cb26d0a
SP
29114 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29115
acb4325f
SP
29116 * benchtests/Rules (bench-deps): Collect dependencies into a
29117 single variable. Add Makefile to dependencies.
29118 ($(objpfx)bench-%.c): Depend on bench-deps.
29119
47792506
RM
291202013-04-12 Roland McGrath <roland@hack.frob.com>
29121 Xavier Roche <roche+kml2@exalead.com>
29122
29123 [BZ #15361]
29124 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29125 just that it's a file descriptor.
29126 * manual/llio.texi (Synchronizing AIO Operations): Update description
29127 for EBADF error from aio_fsync.
29128
8fc1bee5
SP
291292013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29130
29131 * Rules (bench): Move target definition...
29132 * benchtests/Makefile: ... here.
29133
aba5e333
CD
291342013-04-11 Carlos O'Donell <carlos@redhat.com>
29135
29136 * math/libm-test.inc (cos_test): Fix PI/2 test.
29137 (sincos_test): Likewise.
29138 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29139 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29140
273cdee8
AS
291412013-04-11 Andreas Schwab <schwab@suse.de>
29142
6ecec3b6
AS
29143 [BZ #13988]
29144 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29145 accept exponent character only when digits were seen.
29146 * stdio-common/Makefile (tests): Add bug26.
29147 * stdio-common/bug26.c: New file.
29148
273cdee8
AS
29149 [BZ #14293]
29150 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29151 non-freeable.
29152
8da491f5
SP
291532013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29154
01dc6df9
SP
29155 * Makeconfig (rtld-prefix): Define built linker prefix.
29156 * Rules (run-bench): Use it.
29157 * math/Makefile (run-regen-ulps): Likewise.
29158
8da491f5
SP
29159 * Rules (bench): Remove eval.
29160
abe7f530
SP
291612013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29162 Roland McGrath <roland@hack.frob.com>
29163 Ondrej Bilka <neleai@seznam.cz>
29164
29165 [BZ #15346]
29166 * time/getdate.c: Include ctype.h and alloca.h.
29167 (__getdate_r): Trim leading and trailing spaces of input.
29168 * time/tst-getdate.c (tests): Add tests with leading and
29169 trailing spaces.
29170
61c23e62
RM
291712013-04-08 Roland McGrath <roland@hack.frob.com>
29172
29173 [BZ #14280]
29174 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29175 when computing value.
29176
7208a313
CD
291772013-04-06 Carlos O'Donell <carlos@redhat.com>
29178
085b2d41
CD
29179 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29180 Use testrun.sh to run libm tests.
29181
7208a313
CD
29182 [BZ #15309]
29183 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29184
872c0acd
MM
291852013-04-06 Marko Myllynen <myllynen@redhat.com>
29186
29187 [BZ #15264]
29188 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29189
26510bdd
CD
291902013-04-06 Carlos O'Donell <carlos@redhat.com>
29191
29192 * Makefile.in (regen-ulps): New target.
29193 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29194 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29195 [ifneq (no,$(PERL)] (regen-ulps): New target.
29196 [ifeq (no,$(PERL)] (regen-ulps): New target.
29197 * math/libm-test.inc (ulps_file_name): Define.
29198 (output_dir): New variable.
29199 (options): Add "output-dir" option.
29200 (parse_opt): Handle 'o' case.
29201 (main): If output_dir is non-NULL use it as a prefix
29202 otherwise use "".
29203 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29204
a01f19c8
CD
292052013-04-06 Carlos O'Donell <carlos@redhat.com>
29206
29207 [BZ #10060, #10062]
29208 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29209 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29210 fail configure if __sync_val_compare_and_swap is not inlined.
29211 * sysdeps/i386/configure: Regenerate.
29212 * configure.in: Build for i686 when configured for i386.
29213 * configure: Regenerate.
29214 * README: Remove i386 reference.
29215
b7a329a5
CD
292162013-04-06 Carlos O'Donell <carlos@redhat.com>
29217
29218 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29219 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29220
bf0f50df
TS
292212013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29222
ee091edf
TS
29223 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29224 (lmsnanval): New variables.
29225 (F): Add conversion tests.
29226 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29227 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29228
a8b792d6
TS
29229 * stdio-common/tstdiomisc.c (F): Properly collect individual
29230 tests' results.
29231
a1cbf437
TS
29232 [BZ #14686, #15336]
29233 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29234 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29235 Instead, use input NaN values or generate a qNaN by arithmetic
29236 operation. Also fix bugs to comply with the standard.
29237 * math/libm-test.inc (remainder_test): Add more tests.
29238
8b43a0c9
TS
29239 [BZ #15335, #15342]
29240 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29242 input NaN values or generate a qNaN by arithmetic operation.
29243
d91da4ce
TS
29244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29245 unreachable code.
29246
bf0f50df
TS
29247 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29248 definitions.
29249
05e166c8
JM
292502013-04-03 Joseph Myers <joseph@codesourcery.com>
29251
29252 [BZ #14478]
29253 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29254 underflowed result.
29255 * math/s_cexpf.c (__cexpf): Likewise.
29256 * math/s_cexpl.c (__cexpl): Likewise.
29257 * math/libm-test.inc (cexp_test): Add more tests.
29258
1cef1b19
AS
292592013-04-03 Andreas Schwab <schwab@suse.de>
29260
29261 [BZ #15330]
29262 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29263 order arrays from heap if bigger than alloca cutoff.
29264
74d87055
TS
292652013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29266
29267 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29268 (SNAN_TESTS_double): Refer to GCC PR56831.
29269 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29270 GCC PR56828.
29271
d755bba4
SP
292722013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29273
90d5d5bb
SP
29274 * Rules (bench): Move bench.out after the run is complete.
29275
73e0cd5d
SP
29276 * Rules (bench): Echo currently running benchmark.
29277
64aabd4b
SP
29278 * benchtests/Makefile (bench): Add atan and slowatan.
29279 * benchtests/atan-inputs: New file.
29280 * benchtests/slowatan-inputs: New file.
29281 * benchtests/slowatan.c: New file.
29282
c871eccd
SP
29283 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29285 its value.
29286
d755bba4
SP
29287 [BZ #15305]
29288 * sysdeps/unix/sysv/linux/kernel-features.h
29289 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29290 __ASSUME_XFS_RESTRICTED_CHOWN.
29291 * sysdeps/unix/sysv/linux/pathconf.c
29292 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29293 Save and restore errno.
29294
52ce4860
JM
292952013-04-02 Joseph Myers <joseph@codesourcery.com>
29296
29297 [BZ #15327]
29298 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29299 arguments using __kernel_casinh.
29300 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29301 arguments using __kernel_casinhf.
29302 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29303 arguments using __kernel_casinhl.
29304 * math/libm-test.inc (cacosh_test): Add more tests.
29305 * sysdeps/i386/fpu/libm-test-ulps: Update.
29306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29307
81f311c2
SP
293082013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29309
e7906a47
SP
29310 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29312
92e3664b
SP
29313 * bench/Makefile (bench): Add sin and slowsin.
29314 * benchtests/sin-inputs: New file.
29315 * benchtests/slowsin-inputs: New file.
29316 * benchtests/slowsin.c: New file.
29317
81f311c2
SP
29318 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29319 (bench): Add slowexp and slowpow.
29320 (exp-ITER): Increase iterations.
29321 (pow-ITER): Likewise.
29322 * benchtests/exp-inputs: Change input.
29323 * benchtests/pow-inputs: Likewise.
29324 * benchtests/slowexp-inputs: New file.
29325 * benchtests/slowexp.c: New file.
29326 * benchtests/slowpow-inputs: New file.
29327 * benchtests/slowpow.c: New file.
29328
ab0f1aa9
AZ
293292013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29330
29331 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29332 instructions.
29333 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29334 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29335 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29336 * benchtests/Makefile: Add rint benchtest.
29337 * benchtests/rint-inputs: Input for rint benchtest.
29338
57267616
TS
293392013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29340
29341 * Versions.def (libm): Add GLIBC_2.18.
29342 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29343 hidden libm prototypes.
29344 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29345 * math/Makefile (libm-calls): Add s_issignaling.
29346 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29347 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29348 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29349 declaration.
29350 * math/math.h [__USE_GNU] (issignaling): New macro.
29351 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29352 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29353 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29354 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29357 * manual/arith.texi (issignaling): New section.
29358 * manual/libm-err-tab.pl (@all_functions): Update comment.
29359 * math/gen-libm-test.pl (parse_args): Apply special handling for
29360 issignaling.
29361 * math/libm-test.inc (print_float, issignaling_test): New
29362 functions.
29363 (check_float_internal): Add issignaling checks.
29364 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29365 default definition.
29366 * sysdeps/powerpc/math-tests.h: New file.
29367 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29368 tests.
29369 * math/test-snan.c (TEST_FUNC): Likewise.
29370
6142896d
DM
293712013-03-30 David S. Miller <davem@davemloft.net>
29372
29373 * po/de.po: Update from translation team.
29374
ccc8cadf
JM
293752013-03-30 Joseph Myers <joseph@codesourcery.com>
29376
29377 [BZ #10357]
29378 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29379 imaginary part less than 1.0 and real part less than 0.5
29380 specially.
29381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29383 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29384 (cacos_test): Add more tests.
29385 (casin_test): Likewise.
29386 (casinh_test): Likewise.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29389
0f6a8d4b
SP
293902013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29391
0d1029de
SP
29392 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29393 ONE with its value.
29394
c2d94018
SP
29395 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29396 (__pow_mp): Replace ONE and MONE with their values.
29397 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29399 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29400 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29401 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29403
27ec37f1
SP
29404 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29405
a64d7e0e
SP
29406 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29407 (__pow_mp): Replace ZERO and MZERO with their values.
29408 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29409 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29410 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29412 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29413 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29414 (__sqr): Likewise.
29415
d26dd3eb
SP
29416 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29417
0f6a8d4b
SP
29418 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29419
e57b0c61
RM
294202013-03-28 Roland McGrath <roland@hack.frob.com>
29421
29422 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29423 Declare with __attribute__ ((weak)).
29424 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29425 Call __call_tls_dtors only if it's not NULL.
29426
356b3480
RM
294272013-03-28 Roland McGrath <roland@hack.frob.com>
29428
288f7d79
RM
29429 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29430 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29431 magic __ehdr_start linker symbol if it's defined.
29432 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29433 them up here if it was already done.
29434
dc0a0263
RM
29435 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29436 (_dl_aux_init): Use const in cast when setting it.
29437 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29438 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29439 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29440
3d3436ae
RM
29441 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29442 Declare them here.
29443 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29444 * csu/libc-tls.c: Nor here.
29445 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29446
356b3480
RM
29447 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29448 (__libc_message): Never call vsyslog.
29449
b0f1246a
AM
294502013-03-28 Alan Modra <amodra@gmail.com>
29451
29452 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29453 Define as empty.
29454 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29455 Likewise.
29456
fbbe2b9a
AZ
294572013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29458
29459 [BZ #15214]
29460 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29461 underflow.
29462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29463
1728ab37
SP
294642013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29465
7a86be6e
SP
29466 [BZ #15304]
29467 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29468 Don't add gid passed as argument.
29469
1728ab37
SP
29470 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29471
3a7182a1
JM
294722013-03-27 Joseph Myers <joseph@codesourcery.com>
29473
29474 [BZ #15307]
29475 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29476 imaginary part between 1.0 and 1.5 and real part less than 0.5
29477 specially.
29478 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29479 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29480 * math/libm-test.inc (cacos_test): Add more tests.
29481 (casin_test): Likewise.
29482 (casinh_test): Likewise.
29483 * sysdeps/i386/fpu/libm-test-ulps: Update.
29484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29485
6f2e90e7
SP
294862013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29487
5739f705
SP
29488 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29489 constants.
29490 (norm): Likewise.
29491 (denorm): Likewise.
29492 (__dbl_mp): Likewise.
29493 (add_magnitudes): Likewise.
29494 (sub_magnitudes): Likewise.
29495 (__add): Likewise.
29496 (__sub): Likewise.
29497 (__mul): Likewise.
29498 (__sqr): Likewise.
29499 (__inv): Likewise.
29500 (__dvd): Likewise.
29501
e375e83d
SP
29502 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29503 commented code.
29504 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29505 (__dubcos): Likewise.
29506 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29507 (__ieee754_acos): Likewise.
29508 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29510 (__exp1): Likewise.
29511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29513 (log1): Likewise.
29514 (my_log2): Likewise.
29515 (checkint): Likewise.
29516 * sysdeps/ieee754/dbl-64/e_remainder.c
29517 (__ieee754_remainder): Likewise.
29518 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29520 (bsloww): Likewise.
29521 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29522
6f2e90e7
SP
29523 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29525 MANTISSA_STORE_T to store computations on mantissa. Use
29526 macros for rounding and division.
29527 (denorm): Likewise.
29528 (__dbl_mp): Likewise.
29529 (add_magnitudes): Likewise.
29530 (sub_magnitudes): Likewise.
29531 (__mul): Likewise.
29532 (__sqr): Likewise.
29533 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29534 powers of two in terms of TWOPOW macro.
29535 (mp_no): Make type of mantissa as MANTISSA_T.
29536 [!RADIXI]: Define RADIXI.
29537 [!TWO52]: Define TWO52.
29538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29539
fce14d4e
AZ
295402013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29541
29542 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29543 llroundl symbol when building for PPC32.
29544
9ad027fb
MW
295452013-03-24 Mark H Weaver <mhw@netris.org>
29546
29547 * manual/arith.texi (Normalization Functions): Fix prototypes for
29548 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29549
e42a38dd
AZ
295502013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29551
29552 [BZ #13889]
29553 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29554 high value to check if expl overflow.
29555 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29556 to check for underflow and overflow.
29557 * math/libm-test.inc: Add exp test.
29558
2e0fb521
DL
295592013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29560
29561 [BZ #11120]
29562 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29563 with NOT_IN_libc.
29564
b5784d95
AZ
295652013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29566
29567 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29568 symbol.
29569
5aa4a1a1
TS
295702013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29571
bdef0be7
TS
29572 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29573 wrap blocks consisting of several statements.
29574
5aa4a1a1
TS
29575 * sysdeps/generic/math-tests.h: New file.
29576 * sysdeps/i386/fpu/math-tests.h: Likewise.
29577 * math/test-snan.c: Include it.
29578 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29579
98c48fe5
JM
295802013-03-21 Joseph Myers <joseph@codesourcery.com>
29581
29582 [BZ #15285]
29583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29584 (__ieee754_j0l): Do not improve calculations using cos of twice
29585 input for inputs above LDBL_MAX / 2.0L.
29586 (__ieee754_y0l): Likewise.
29587 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29588 (__ieee754_j1l): Do not improve calculations using cos of twice
29589 input for inputs above LDBL_MAX / 2.0L.
29590 (__ieee754_y1l): Likewise.
29591 * math/libm-test.inc (j0_test): Add another test.
29592 (j1_test): Likewise.
29593 (y0_test): Likewise.
29594 (y1_test): Likewise.
29595 * sysdeps/i386/fpu/libm-test-ulps: Update.
29596
3775a8bc
SP
295972013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29598
29599 * Rules ($(objpfx)bench-%.c): Include code from a C source
29600 file.
29601
0a1b2ae6
JM
296022013-03-21 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #15287]
29605 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29606 imaginary part 1.0 and real part less than 0.5 specially.
29607 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29608 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29609 * math/libm-test.inc (cacos_test): Add more tests.
29610 (casin_test): Likewise.
29611 (casinh_test): Likewise.
29612 * sysdeps/i386/fpu/libm-test-ulps: Update.
29613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29614
b33d4ce4
SP
296152013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29616
29617 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29618 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29619
bef0b507
JM
296202013-03-20 Joseph Myers <joseph@codesourcery.com>
29621
29622 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29623 * config.make.in (config-cflags-sse4): Remove variable.
29624 (config-cflags-avx): Likewise.
29625 (config-cflags-sse2avx): Likewise.
29626 (config-cflags-novzeroupper): Likewise.
29627 (config-asflags-i686): Likewise.
29628 (have-mfma4): Likewise.
29629 (have-as-vis3): Likewise.
29630 (MIG): Likewise.
29631 * configure.in (MIG): Do not AC_SUBST.
29632 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29633 (libc_cv_cc_sse4): Do not AC_SUBST.
29634 (libc_cv_cc_avx): Likewise.
29635 (libc_cv_cc_sse2avx): Likewise.
29636 (libc_cv_cc_novzeroupper): Likewise.
29637 (libc_cv_cc_fma4): Likewise.
29638 (libc_cv_as_i686): Likewise.
29639 (libc_cv_sparc_as_vis3): Likewise.
29640 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29641 LIBC_CONFIG_VAR.
29642 (config-asflags-i686): Likewise.
29643 (config-cflags-avx): Likewise.
29644 (config-cflags-sse2avx): Likewise.
29645 (have-mfma4): Likewise.
29646 (config-cflags-novzeroupper): Likewise.
29647 * sysdeps/mach/configure.in (MIG): Likewise.
29648 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29649 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29650 LIBC_CONFIG_VAR.
29651 (config-cflags-avx): Likewise.
29652 (config-cflags-sse2avx): Likewise.
29653 (have-mfma4): Likewise.
29654 (config-cflags-novzeroupper): Likewise.
29655 * configure: Regenerated.
29656 * sysdeps/i386/configure: Likewise.
29657 * sysdeps/mach/configure: Likewise.
29658 * sysdeps/sparc/configure: Likewise.
29659 * sysdeps/x86_64/configure: Likewise.
29660
912cc4b3
RM
296612013-03-20 Roland McGrath <roland@hack.frob.com>
29662
29663 [BZ #14812]
29664 * locale/programs/localedef.c (options): Put N_ translation marker
29665 on argument names, not just descriptions.
29666
04eed2b0
MS
296672013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29668
29669 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29670
a065ceff
OB
296712013-03-20 Ondřej Bílka <neleai@seznam.cz>
29672
9bb2a810 29673 [BZ #14176]
a065ceff
OB
29674 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29675
a600e5ce
RM
296762013-03-19 Roland McGrath <roland@hack.frob.com>
29677
29678 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29679 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29680 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29681 [!BEFORE_ABORT] (before_abort): New function.
29682 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29683 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29684 (writev_for_fatal): New function.
29685 (WRITEV_FOR_FATAL): New macro; call that.
29686 (backtrace_and_maps): New function.
29687 (BEFORE_ABORT): New macro; call that.
29688 (struct str_list): Type removed.
29689 (__libc_message, __libc_fatal): Functions removed.
29690 Include <sysdeps/posix/libc_fatal.c> instead.
29691
6b18bea6
JM
296922013-03-19 Joseph Myers <joseph@codesourcery.com>
29693
29694 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29695 constants.
29696 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29697 double constants.
29698
aaa8cb4b
AS
296992013-03-19 Andreas Schwab <schwab@suse.de>
29700
44673770
AS
29701 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29702 * sysdeps/gnu/configure: Regenerate.
29703
aaa8cb4b
AS
29704 * configure.in: Substitute libc_cv_rtlddir.
29705 * configure: Regenerate.
29706 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29707 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29708 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29709 * elf/Makefile (install-others, CFLAGS-interp.c)
29710 (ldso_install, common-ldd-rewrite): Likewise.
29711 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29712 $(inst_slibdir)/$(rtld-installed-name).
29713 * scripts/rellns-sh: Add -p option.
29714 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29715 for source.
29716
d3cfc668
SP
297172013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29718
29719 * manual/nptl.texi: Renamed to ...
29720 * manual/threads.texi: ... this.
29721 * manual/Makefile (chapters): Update.
29722
0e2b9cdd
RM
297232013-03-18 Roland McGrath <roland@hack.frob.com>
29724
29725 [BZ #14812]
29726 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29727 on argument names, not just descriptions.
0e2b9cdd
RM
29728 * malloc/memusagestat.c (options): Likewise.
29729 * nss/getent.c (options): Likewise.
63270c24
RM
29730
297312013-03-18 Benno Schulenberg <bensberg@justemail.net>
29732
29733 [BZ #14812]
29734 * iconv/iconv_prog.c (options): Put N_ translation marker
29735 on argument names, not just descriptions.
29736 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29737
b2e1393c
OB
297382013-03-18 Ondrej Bilka <neleai@seznam.cz>
29739
29740 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29741 implementation which is faster on all x86_64 architectures.
29742 Tested on AMD, Intel Nehalem, SNB, IVB.
29743 * sysdeps/x86_64/strnlen.S: Likewise.
29744
29745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29746 Remove all multiarch strlen and strnlen versions.
29747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29748 Remove strlen and strnlen related parts.
29749
29750 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29751 Inline strlen part.
29752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29753
29754 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29755 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29756 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29757 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29758 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29760
ec4ff04d
CD
297612013-03-17 Carlos O'Donell <carlos@redhat.com>
29762
29763 * manual/memory.texi (Malloc Tunable Parameters):
29764 Sort parameters alphabetically. Add comments for missing entries.
29765
cd18e90a
DM
297662013-03-17 David S. Miller <davem@davemloft.net>
29767
29768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29769
2a185d32
JM
297702013-03-16 Joseph Myers <joseph@codesourcery.com>
29771
d2f9799e
JM
29772 [BZ #15283]
29773 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29774 for arguments at most half maximum finite value.
29775 * math/libm-test.inc (j0_test): Add more tests.
29776 (j1_test): Likewise.
29777 (y0_test): Likewise.
29778 (y1_test): Likewise.
29779 * sysdeps/i386/fpu/libm-test-ulps: Update.
29780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781
2a185d32
JM
29782 [BZ #14155]
29783 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29784 1 / x and functions P and Q for arguments above 0x1p256L.
29785 (__ieee754_y0l): Likewise.
29786 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29787 (__ieee754_y1l): Likewise.
29788 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29789 (j1_test): Likewise.
29790 (y0_test): Likewise.
29791 (y1_test): Likewise.
29792
6cbec759
TS
297932013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29794
29795 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29796 variable.
29797
bc16e260
RM
297982013-03-15 Roland McGrath <roland@hack.frob.com>
29799
aefc9b8c
RM
29800 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29801 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29802 zero since it's initialized to EXEC_PAGESIZE.
29803
bc16e260
RM
29804 * sysdeps/unix/sysv/linux/ldsodefs.h
29805 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29806 * sysdeps/generic/ldsodefs.h: ... here.
29807
a57da955
TS
298082013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29809
af00a34d
TS
29810 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29811
495ded2c
TS
29812 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29813 math/test-snan.c.
29814 * math/test-snan.c: Renamed from
29815 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29816 * math/Makefile (tests): Add test-snan.
29817 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29818 test-powerpc-snan.
29819
777b0332
TS
29820 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29821 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29822 functions.
29823 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29824 __builtin_nan family of functions.
29825 * math/libm-test.inc (initialize): Initialize qnan_value with
29826 __builtin_nan family of functions.
29827 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29828 Remove variables.
29829 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29830 Remove functions.
29831 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29832 storage class. Initialize qNaN_var and sNaN_var with
29833 __builtin_nan and __builtin_nans families of functions,
29834 respectively.
29835
64d063b8
TS
29836 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29837 (sqrt_test): Remove duplicate test with qNaN input.
29838 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29839 (round_test, signbit_test, significand_test): Note missing +/-Inf
29840 as well as qNaN tests.
29841
67e971f1
TS
29842 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29843 qNaN_var. Fix a few strings, too.
29844 * math/libm-test.inc (nan_value): Rename to qnan_value.
29845 * math/gen-libm-test.pl (%beautify): Adjust to that.
29846 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29847 * math/test-misc.c (main): Likewise.
29848 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29849 to __qnan_bytes, and __qnan_union, respectively.
29850 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29851 Likewise.
29852 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29853 and lqnanval, respectively.
29854 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29855 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29856 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29857 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29858
64487e12
TS
29859 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29860 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29861 doubles.
29862
e015e27b
TS
29863 * math/test-misc.c (main): Fix copy'n'pastos.
29864 * misc/tst-efgcvt.c (special): Likewise.
29865
a57da955
TS
29866 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29867 Remove declarations.
29868
1e380345
SP
298692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29870
29871 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29872 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29873 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29874 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29875
ef26eece
AZ
298762013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29877
29878 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29879 macro to return vdso values correctly in IFUNC implementations.
29880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29881 Optimization by using IFUNC.
29882
8cfdb7e0
SP
298832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29884 Richard Henderson <rth@redhat.com>
29885 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29886
29887 * Makefile.in (bench): New target.
29888 * NEWS: Mention the benchmark framework.
29889 * Rules (bench): Likewise.
29890 (binaries-bench): Generate binaries for functions to
29891 benchmark.
29892 * benchtests/Makefile: New makefile for benchmark tests.
29893 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29894 programs.
29895 * benchtests/exp-inputs: New input file for EXP function.
29896 * benchtests/pow-inputs: New input file for POW function.
29897 * scripts/bench.pl: New script to generate source files for
29898 benchmark programs.
29899
bcda9880
SP
299002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29901
d22ca8cd
SP
29902 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29904 computations on mantissa. Use macros for rounding and
29905 division.
29906 (denorm): Likewise.
29907 (__dbl_mp): Likewise.
29908 (add_magnitudes): Likewise.
29909 (sub_magnitudes): Likewise.
29910 (__mul): Likewise.
29911 (__sqr): Likewise.
29912 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29913 powers of two in terms of TWOPOW macro.
29914 (mp_no): Make type of mantissa as MANTISSA_T.
29915 [!RADIXI]: Define RADIXI.
29916 [!TWO52]: Define TWO52.
29917 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29918
bcda9880
SP
29919 * manual/nptl.texi (cindex): Modify threads to pthreads.
29920
06d5adfb
JM
299212013-03-15 Joseph Myers <joseph@codesourcery.com>
29922
29923 * sysdeps/x86_64/preconfigure: Regenerated.
29924
41c7328e
JM
299252013-03-14 Joseph Myers <joseph@codesourcery.com>
29926
29927 [BZ #14155]
29928 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29929 0x1p28 and above.
29930 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29931 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29932 0x1p28 and above.
29933 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29934 * math/libm-test.inc (j0_test): Do not allow one spurious
29935 underflow exception.
29936 (y1_test): Likewise.
29937
e25cfa60
SP
299382013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29939
0409959c
SP
29940 * manual/Makefile (chapters): Add nptl.
29941 * manual/debug.texi (Debugging Support): Add link to Threads
29942 chapter.
29943 * manual/nptl.texi: New file.
29944
e25cfa60
SP
29945 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29946
58a1335e
PB
299472013-03-14 Petr Baudis <pasky@ucw.cz>
29948
29949 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29950 for non-NULL pointer before the memory validity test. Pointed
29951 out by Holger Brunck <holger.brunck@keymile.com>.
29952
9dc7c64f
AS
299532013-03-13 Andreas Schwab <schwab@suse.de>
29954
29955 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29956 instead of .os.
29957
54206aa6
JM
299582013-03-13 Joseph Myers <joseph@codesourcery.com>
29959
29960 * timezone/zic.c: Update from tzcode 2013b.
29961
e98cdb38
CD
299622013-03-12 Carlos O'Donell <carlos@redhat.com>
29963
29964 * manual/install.texi (Configuring and compiling):
29965 Mention i686 and i586.
29966 * INSTALL: Regenerate.
29967
9967e003
RM
299682013-03-12 Roland McGrath <roland@hack.frob.com>
29969
29970 * sysdeps/init_array/elf-init.c: New file.
29971 * csu/elf-init.c
29972 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29973 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29974
29975 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29976 __gmon_start__ as global, but as static with a .preinit_array pointer.
29977 * sysdeps/init_array/gmon-start.c: New file. Use that.
29978 * sysdeps/init_array/crti.S: New file, empty except for comments.
29979 * sysdeps/init_array/crtn.S: Likewise.
29980
e6b5a293 299812013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29982
29983 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29984 definining bcopy.
80f844c9
OB
29985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29986 Remove Prefer_SSE_for_memop.
29987 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29988 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29989 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29991 memset-x86-64.
80f844c9 29992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29993 Remove bzero, memset ifunc support.
80f844c9
OB
29994 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29995 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29998
fb6b0fcb
AS
299992013-03-11 Andreas Schwab <schwab@suse.de>
30000
30001 [BZ #15234]
30002 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30003 by SHLIB_COMPAT.
30004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30005 (GLIBC_2.16): Remove pthread_atfork.
30006
3e6bd4b1
PP
300072013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30008
30009 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30010 (ptestcases.h): Likewise.
30011
222d7f00
RM
300122013-03-08 Roland McGrath <roland@hack.frob.com>
30013
30014 * Makeconfig ($(common-objpfx)config.status): Depend on
30015 sysdeps/*/preconfigure{,.in} too.
30016
1ba4f030
JM
300172013-03-08 Joseph Myers <joseph@codesourcery.com>
30018
a222d91a
JM
30019 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30020 (__free_hook): Use void * instead of __malloc_ptr_t.
30021 (__malloc_hook): Likewise.
30022 (__realloc_hook): Likewise.
30023 (__memalign_hook): Likewise.
30024 (__after_morecore_hook): Likewise.
30025 * malloc/arena.c (save_malloc_hook): Likewise.
30026 (save_free_hook): Likewise.
30027 * malloc/hooks.c (malloc_hook_ini): Likewise.
30028 (realloc_hook_ini): Likewise.
30029 (memalign_hook_ini): Likewise.
30030 * malloc/malloc.c (malloc_hook_ini): Likewise.
30031 (realloc_hook_ini): Likewise.
30032 (memalign_hook_ini): Likewise.
30033 (__free_hook): Likewise.
30034 (__malloc_hook): Likewise.
30035 (__realloc_hook): Likewise.
30036 (__memalign_hook): Likewise.
30037 (__libc_malloc): Likewise.
30038 (__libc_free): Likewise.
30039 (__libc_realloc): Likewise.
30040 (__libc_memalign): Likewise.
30041 (__libc_valloc): Likewise.
30042 (__libc_pvalloc): Likewise.
30043 (__libc_calloc): Likewise.
30044 (__posix_memalign): Likewise.
30045 * malloc/morecore.c (__sbrk): Likewise.
30046 (__default_morecore): Likewise.
30047
5cc45e10
JM
30048 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30049
dd54b864
JM
30050 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30051 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30052 __malloc_ptrdiff_t.
30053
1ba4f030
JM
30054 * malloc/malloc.h (__malloc_size_t): Remove macro.
30055 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30056 __malloc_size_t.
30057 (old_memalign_hook): Likewise.
30058 (old_realloc_hook): Likewise.
30059 (struct hdr): Likewise.
30060 (flood): Likewise.
30061 (mallochook): Likewise.
30062 (memalignhook): Likewise.
30063 (reallochook): Likewise.
30064 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30065 (tr_old_realloc_hook): Likewise.
30066 (tr_old_memalign_hook): Likewise.
30067 (tr_mallochook): Likewise.
30068 (tr_reallochook): Likewise.
30069 (tr_memalignhook): Likewise.
30070
edf66e57
AZ
300712013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30072
30073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30074 default_ldbl_pack and using as default implementation.
30075 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30076 implementation.
30077 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30078 redundant definition.
30079 (ldbl_insert_mantissa): Likewise.
30080 (ldbl_canonicalize): Likewise.
30081 (ldbl_nearbyint): Likewise.
30082 (ldbl_pack): Rename to ldbl_pack_ppc.
30083 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30084 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30085 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30086
6d9145d8
SP
300872013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30088
30089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30090 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30091 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30092 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30094 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30095 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30096 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30097
4dd4e157
AJ
300982013-03-07 Andreas Jaeger <aj@suse.de>
30099
30100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30101 bits/mman-linux.h.
30102
adbb8027
SP
301032013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30104
ce544b5b
SP
30105 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30106 Include mpa.h and declare __MPEXP.
30107 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30108 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30109 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30110 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30111 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30112 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30113 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30114
4cc149fd
SP
30115 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30116 (__slowpow): Use long double EXPL and LOGL functions to
30117 compute POW.
30118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30119 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30122 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30123 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30124
e6ebd4a7
SP
30125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30126 intermediate variable to calculate exponent.
30127 (__sqr): Likewise.
30128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30129 Likewise.
30130 (__sqr): Likewise.
30131
82a9811d
SP
30132 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30133 [!NO__SQR]: Define __sqr.
30134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30135 and NO__SQR. Remove all code except __mul and __sqr. Include
30136 sysdeps/ieee754/dbl-64/mpa.c.
30137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30138
adbb8027
SP
30139 [BZ #12723]
30140 * posix/Makefile (tests): Add tst-pathconf.
30141 * posix/tst-pathconf.c: New test case.
30142 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30143 _PC_PIPE_BUF.
30144 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30145
39120df9
PF
301462013-03-06 Patsy Franklin <pfrankli@redhat.com>
30147
30148 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30149
67525cb8
AJ
301502013-03-06 Andreas Jaeger <aj@suse.de>
30151
664a9ce4
AJ
30152 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30153 definition via __MAP_ANONYMOUS.
30154
8e39047d
AJ
30155 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30156 it's not part of Linux headers.
30157
67525cb8
AJ
30158 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30159 (MAP_HUGE_MASK): Define.
30160
30161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30162 Define.
30163 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30164 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30165 Define.
30166 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30167 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30168 Define.
30169 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30170 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30171 Define.
30172 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30173
30174 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30175 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30176 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30177 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30178 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30179 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30180
30181 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30182 Handle f2fs.
30183
30184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30185 Handle f2fs and efivarfs.
30186
30187 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30188 f2fs.
30189
30190 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30191 (EFIVARFS_MAGIC): Add.
30192 (F2FS_LINK_MAX): Add.
30193
e1b42695
PP
301942013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30195
30196 * stdio-common/vfprintf.c: Replace __builtin_expect with
30197 __glibc_unlikely.
30198
2d67d91a
JM
301992013-03-06 Joseph Myers <joseph@codesourcery.com>
30200
30201 [BZ #13550]
30202 * sysdeps/generic/bp-sym.h: Remove file.
30203 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30204 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30205 <bp-sym.h> and <bp-asm.h>.
30206 (__longjmp): Don't use BP_SYM.
30207 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30208 and <bp-asm.h>.
30209 (memcpy): Don't use BP_SYM.
30210 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30211 <bp-sym.h> and <bp-asm.h>.
30212 (memcpy): Don't use BP_SYM.
30213 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30214 <bp-asm.h>.
30215 (memcpy): Don't use BP_SYM.
30216 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30217 <bp-asm.h>.
30218 (memset): Don't use BP_SYM.
30219 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30220 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30221 (__bzero): Don't use BP_SYM.
30222 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30223 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30224 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30225 <bp-sym.h> and <bp-asm.h>.
30226 (memcmp): Don't use BP_SYM. Remove comment about bounded
30227 pointers.
30228 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30229 <bp-sym.h> and <bp-asm.h>.
30230 (memcpy): Don't use BP_SYM.
30231 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30232 <bp-sym.h> and <bp-asm.h>.
30233 (memset): Don't use BP_SYM.
30234 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30235 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30236 (__bzero): Don't use BP_SYM.
30237 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30238 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30239 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30240 <bp-sym.h> and <bp-asm.h>.
30241 (strncmp): Don't use BP_SYM. Remove comment about bounded
30242 pointers.
30243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30244 <bp-sym.h> and <bp-asm.h>.
30245 (memcpy): Don't use BP_SYM.
30246 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30247 <bp-sym.h> and <bp-asm.h>.
30248 (memset): Don't use BP_SYM.
30249 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30250 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30251 (__bzero): Don't use BP_SYM.
30252 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30253 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30255 <bp-sym.h> and <bp-asm.h>.
30256 (__memchr): Don't use BP_SYM.
30257 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30258 <bp-sym.h> and <bp-asm.h>.
30259 (memcmp): Don't use BP_SYM. Remove comment about bounded
30260 pointers.
30261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30262 <bp-sym.h> and <bp-asm.h>.
30263 (memcpy): Don't use BP_SYM.
30264 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30265 <bp-sym.h> and <bp-asm.h>.
30266 (__mempcpy): Don't use BP_SYM.
30267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30268 <bp-sym.h> and <bp-asm.h>.
30269 (__memrchr): Don't use BP_SYM.
30270 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30271 <bp-sym.h> and <bp-asm.h>.
30272 (memset): Don't use BP_SYM.
30273 (__bzero): Likewise.
30274 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30275 <bp-sym.h> and <bp-asm.h>.
30276 (__rawmemchr): Don't use BP_SYM.
30277 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30278 <bp-sym.h> and <bp-asm.h>.
30279 (__STRCMP): Don't use BP_SYM.
30280 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30281 <bp-sym.h> and <bp-asm.h>.
30282 (strchr): Don't use BP_SYM.
30283 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30284 <bp-sym.h> and <bp-asm.h>.
30285 (__strchrnul): Don't use BP_SYM.
30286 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30287 <bp-sym.h> and <bp-asm.h>.
30288 (strlen): Don't use BP_SYM.
30289 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30290 <bp-sym.h> and <bp-asm.h>.
30291 (strncmp): Don't use BP_SYM. Remove comment about bounded
30292 pointers.
30293 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30294 <bp-sym.h> and <bp-asm.h>.
30295 (__strnlen): Don't use BP_SYM.
30296 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30297 <bp-sym.h> and <bp-asm.h>.
30298 (__GI__setjmp): Don't use BP_SYM.
30299 (_setjmp): Likewise.
30300 (__sigsetjmp): Likewise.
30301 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30302 (L(start_addresses)): Don't use BP_SYM.
30303 (_start): Likewise.
30304 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30305 <bp-asm.h>.
30306 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30307 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30308 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30309 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30310 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30311 <bp-asm.h>.
30312 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30313 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30314 about bounded pointers.
30315 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30316 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30317 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30318 <bp-asm.h>.
30319 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30320 about bounded pointers. Remove GKM FIXME comments.
30321 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30322 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30323 <bp-asm.h>.
30324 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30325 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30326 Remove GKM FIXME comments.
30327 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30328 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30329 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30330 <bp-asm.h>.
30331 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30332 about bounded pointers. Remove GKM FIXME comment.
30333 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30334 and <bp-asm.h>.
30335 (strncmp): Don't use BP_SYM. Remove comment about bounded
30336 pointers.
30337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30338 <bp-sym.h> and <bp-asm.h>.
30339 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30341 <bp-sym.h> and <bp-asm.h>.
30342 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30343 comment.
30344
cdcf361f
PP
303452013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30346
30347 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30348 call free(NULL).
30349
3c4a2b15
DM
303502013-03-05 David S. Miller <davem@davemloft.net>
30351
30352 * po/es.po: Update from translation team.
30353
cdcf361f 303542013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30355
30356 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30357 <bits/mman-linux.h>.
30358 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30359 is fine.
30360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30361 <bits/mman-linux.h> to end of file.
30362 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30363 is fine.
30364 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30365 <bits/mman-linux.h> to end of file.
30366 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30367 is fine.
30368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30369 <bits/mman-linux.h> to end of file.
30370
30371 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30372 (MCL_CURRENT, MCL_FUTURE): Define here.
30373
5f67c04f
AK
303742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30375
8a4473cc 30376 [BZ #15232]
5f67c04f
AK
30377 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30378 attribute_hidden.
30379 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30380
c3e94a95
AK
303812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30382
30383 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30384 fourth parameter needed for rt_sigprocmask syscall.
30385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30386 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30387 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30388 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30389 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30390 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30391
cfb6382a
JM
303922013-03-04 Joseph Myers <joseph@codesourcery.com>
30393
30394 [BZ #13550]
30395 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30396 comment about bounded pointers.
30397 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30398 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30399
539d8e01
AJ
304002013-03-04 Andreas Jaeger <aj@suse.de>
30401
30402 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30403 common definitions.
30404
30405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30406 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30407 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30408 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30410 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30411
2e167a70 304122013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30413
30414 [BZ #15055]
30415 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30416 __ieee754_sqrl instead of __sqrl.
30417
68508633
JM
304182013-03-01 Joseph Myers <joseph@codesourcery.com>
30419
30420 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30421 * sysdeps/powerpc/fpu_control.h: ... here.
30422 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30423 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30424 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30425 * sysdeps/powerpc/bits/mathinline.h: ... here.
30426
7775448e
RM
304272013-03-01 Roland McGrath <roland@hack.frob.com>
30428
30429 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30430 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30431 to just [NEED_DL_SYSINFO_DSO].
30432 * elf/dl-support.c: Likewise.
30433 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30434 * elf/rtld.c (dl_main): Likewise.
30435 * elf/setup-vdso.h (setup_vdso): Likewise.
30436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30437 * sysdeps/unix/sysv/linux/dl-sysdep.c
30438 (_dl_discover_osversion): Likewise.
30439
4e9b5995
CD
304402013-03-01 Carlos O'Donell <carlos@redhat.com>
30441
30442 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30443 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30444
e23872c8
SP
304452013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30446
e5c74c63
SP
30447 * NEWS: Mention libm performance improvements and non-x86 PI
30448 futex support.
30449
e23872c8
SP
30450 * csu/libc-start.c (__pthread_initialize_minimal): Change
30451 function arguments.
30452 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30453
b5510883
JM
304542013-02-28 Joseph Myers <joseph@codesourcery.com>
30455
30456 [BZ #13550]
30457 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30458 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30459 <bp-sym.h> and <bp-asm.h>.
30460 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30461 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30462 and <bp-asm.h>.
30463 (memcpy): Don't use BP_SYM.
30464 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30465 <bp-asm.h>.
30466 (__mpn_add_n): Don't use BP_SYM.
30467 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30468 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30469 and <bp-asm.h>.
30470 (__mpn_addmul_1): Don't use BP_SYM.
30471 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30472 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30473 <bp-sym.h>.
30474 (_setjmp): Don't use BP_SYM.
30475 (__novmx_setjmp): Likewise.
30476 (__GI__setjmp): Likewise.
30477 (__vmx_setjmp): Likewise.
30478 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30479 <bp-sym.h>.
30480 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30481 (__bzero): Don't use BP_SYM.
30482 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30483 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30484 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30485 <bp-sym.h> and <bp-asm.h>.
30486 (memcpy): Don't use BP_SYM.
30487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30488 <bp-sym.h> and <bp-asm.h>.
30489 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30491 <bp-sym.h> and <bp-asm.h>.
30492 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30493 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30494 <bp-asm.h>.
30495 (__mpn_lshift): Don't use BP_SYM.
30496 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30497 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30498 <bp-asm.h>.
30499 (memset): Don't use BP_SYM.
30500 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30501 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30502 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30503 <bp-asm.h>.
30504 (__mpn_mul_1): Don't use BP_SYM.
30505 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30507 <bp-sym.h> and <bp-asm.h>.
30508 (memcmp): Don't use BP_SYM.
30509 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30510 <bp-sym.h> and <bp-asm.h>.
30511 (memcpy): Don't use BP_SYM.
30512 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30513 <bp-sym.h> and <bp-asm.h>.
30514 (memset): Don't use BP_SYM.
30515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30516 <bp-sym.h> and <bp-asm.h>.
30517 (strncmp): Don't use BP_SYM.
30518 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30519 <bp-sym.h> and <bp-asm.h>.
30520 (memcpy): Don't use BP_SYM.
30521 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30522 <bp-sym.h> and <bp-asm.h>.
30523 (memset): Don't use BP_SYM.
30524 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30525 <bp-sym.h> and <bp-asm.h>.
30526 (__memchr): Don't use BP_SYM.
30527 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30528 <bp-sym.h> and <bp-asm.h>.
30529 (memcmp): Don't use BP_SYM.
30530 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30531 <bp-sym.h> and <bp-asm.h>.
30532 (memcpy): Don't use BP_SYM.
30533 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30534 <bp-sym.h> and <bp-asm.h>.
30535 (__mempcpy): Don't use BP_SYM.
30536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30537 <bp-sym.h> and <bp-asm.h>.
30538 (__memrchr): Don't use BP_SYM.
30539 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30540 <bp-sym.h> and <bp-asm.h>.
30541 (memset): Don't use BP_SYM.
30542 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30543 <bp-sym.h> and <bp-asm.h>.
30544 (__rawmemchr): Don't use BP_SYM.
30545 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30546 <bp-sym.h> and <bp-asm.h>.
30547 (__STRCMP): Don't use BP_SYM.
30548 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30549 <bp-sym.h> and <bp-asm.h>.
30550 (strchr): Don't use BP_SYM.
30551 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30552 <bp-sym.h> and <bp-asm.h>.
30553 (__strchrnul): Don't use BP_SYM.
30554 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30555 <bp-sym.h> and <bp-asm.h>.
30556 (strlen): Don't use BP_SYM.
30557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30558 <bp-sym.h> and <bp-asm.h>.
30559 (strncmp): Don't use BP_SYM.
30560 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30561 <bp-sym.h> and <bp-asm.h>.
30562 (__strnlen): Don't use BP_SYM.
30563 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30564 <bp-asm.h>.
30565 (__mpn_rshift): Don't use BP_SYM.
30566 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30567 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30568 <bp-sym.h> and <bp-asm.h>.
30569 (__sigsetjmp): Don't use BP_SYM.
30570 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30571 (L(start_addresses)): Don't use BP_SYM.
30572 (_start): Likewise.
30573 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30574 <bp-asm.h>.
30575 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30576 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30577 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30578 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30579 <bp-asm.h>.
30580 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30581 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30582 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30583 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30584 <bp-asm.h>.
30585 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30586 comments.
30587 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30588 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30589 <bp-asm.h>.
30590 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30591 FIXME comments.
30592 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30593 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30594 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30595 <bp-asm.h>.
30596 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30597 comment.
30598 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30599 and <bp-asm.h>.
30600 (strncmp): Don't use BP_SYM,
30601 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30602 <bp-asm.h>.
30603 (__mpn_sub_n): Don't use BP_SYM.
30604 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30605 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30606 and <bp-asm.h>.
30607 (__mpn_submul_1): Don't use BP_SYM.
30608 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30610 <bp-sym.h> and <bp-asm.h>.
30611 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30613 <bp-sym.h> and <bp-asm.h>.
30614 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30615 comment.
30616
8d19fe64
SP
306172013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30618
30619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30620 Use ZK to minimize writes to Z.
30621 (sub_magnitudes): Simplify code a bit.
30622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30623 Use ZK to minimize writes to Z.
30624 (sub_magnitudes): Simplify code a bit.
30625
85bd816a
RM
306262013-02-27 Roland McGrath <roland@hack.frob.com>
30627
30628 * csu/gmon-start.c: Add special exception to license text.
30629
b5977bf2
RH
306302013-02-27 Richard Henderson <rth@redhat.com>
30631
30632 * scripts/config.guess: Update from config.git.
30633 * scripts/config.sub: Likewise.
30634
11d6e2f2
SP
306352013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30636
09c14ed2
SP
30637 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30638
a688864e
SP
30639 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30640
6295157a
SP
30641 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30642
b8de2202
SP
30643 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30644
11d6e2f2
SP
30645 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30646
7e80ddb8
RM
306472013-02-26 Roland McGrath <roland@hack.frob.com>
30648
30649 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30650 [$(build-shared = yes].
7e80ddb8 30651
7da6d9ed
SP
306522013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30653
45f05884
SP
30654 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30655 (__mul): Reduce iterations for calculating mantissa.
30656
2236d359
SP
30657 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30658 MPTWO.
30659 (__mpranred): Likewise.
30660
7da6d9ed
SP
30661 [BZ #15160]
30662 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30663 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30664
b7688c42
PE
306652013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30666
30667 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30668 Define __attribute__.
30669
53a5c423
SP
306702013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30671
30672 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30673 unused.
30674 * posix/regex_internal.h (__attribute): Remove.
30675 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30676 (re_string_context_at): Likewise.
30677 (bitset_not): Use __attribute__ and mark function as possibly
30678 unused.
30679 (bitset_merge): Likewise.
30680 (bitset_mask): Likewise.
30681 (re_string_char_size_at): Likewise.
30682 (re_string_wchar_at): Likewise.
30683 (re_string_elem_size_at): Likewise.
30684
60f5a8b5
SP
306852013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30686
2a983a2e
SP
30687 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30688 code.
30689 (cc32): Likewise.
30690
e69804d1
SP
30691 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30692 (__acr): Likewise.
30693 (__cpy): Likewise.
30694 (norm): Likewise.
30695 (denorm): Likewise.
30696 (__dbl_mp): Likewise.
30697 (add_magnitudes): Likewise.
30698 (sub_magnitudes): Likewise.
30699 (__mul): Likewise.
30700 (__inv): Likewise.
30701
2f22a1e8
SP
30702 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30703 style.
30704
8930ddc7
SP
30705 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30706 style.
30707
dc60cb11
SP
30708 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30709 code.
30710
60f5a8b5
SP
30711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30712 up changes with default code.
30713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30714 Likewise.
30715
b4d1fd33
AM
307162013-02-24 Allan McRae <allan@archlinux.org>
30717
faf6f8bc
AM
30718 * manual/socket.texi (The Internet Namespace): Order menu items
30719 to match that in the file.
30720
b4d1fd33
AM
30721 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30722 node listing of the info page menu.
30723
2366713d
JM
307242013-02-21 Joseph Myers <joseph@codesourcery.com>
30725
30726 [BZ #13550]
30727 * sysdeps/i386/bp-asm.h: Remove file.
30728 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30729 (PARMS): Do not use macros from bp-asm.h.
30730 (S1): Likewise.
30731 (S2): Likewise.
30732 (SIZE): Likewise.
30733 (__mpn_add_n): Do not use BP_SYM
30734 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30735 "bp-asm.h".
30736 (PARMS): Do not use macros from bp-asm.h.
30737 (S1): Likewise.
30738 (SIZE): Likewise.
30739 (__mpn_addmul_1): Do not use BP_SYM
30740 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30741 "bp-asm.h".
30742 (PARMS): Do not use macros from bp-asm.h.
30743 (SIGMSK): Likewise.
30744 (_setjmp): Likewise. Do not use BP_SYM.
30745 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30746 "bp-asm.h".
30747 (PARMS): Do not use macros from bp-asm.h.
30748 (SIGMSK): Likewise.
30749 (setjmp): Likewise. Do not use BP_SYM.
30750 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30751 "bp-asm.h".
30752 (PARMS): Do not use macros from bp-asm.h.
30753 (__frexp): Do not use BP_SYM.
30754 (frexp): Likewise.
30755 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30756 "bp-asm.h".
30757 (PARMS): Do not use macros from bp-asm.h.
30758 (__frexpf): Do not use BP_SYM.
30759 (frexpf): Likewise.
30760 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30761 "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (__frexpl): Do not use BP_SYM.
30764 (frexpl): Likewise.
30765 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30766 "bp-asm.h".
30767 (PARMS): Do not use macros from bp-asm.h.
30768 (__remquo): Do not use BP_SYM.
30769 (remquo): Likewise.
30770 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30771 "bp-asm.h".
30772 (PARMS): Do not use macros from bp-asm.h.
30773 (__remquof): Do not use BP_SYM.
30774 (remquof): Likewise.
30775 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30776 "bp-asm.h".
30777 (PARMS): Do not use macros from bp-asm.h.
30778 (__remquol): Do not use BP_SYM.
30779 (remquol): Likewise.
30780 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30781 "bp-asm.h".
30782 (PARMS): Do not use macros from bp-asm.h.
30783 (DEST): Likewise.
30784 (SRC): Likewise.
30785 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30786 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30787 "bp-asm.h".
30788 (PARMS): Do not use macros from bp-asm.h.
30789 (strlen): Do not use BP_SYM.
30790 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30791 "bp-asm.h".
30792 (PARMS): Do not use macros from bp-asm.h.
30793 (S1): Likewise.
30794 (S2): Likewise.
30795 (SIZE): Likewise.
30796 (__mpn_add_n): Do not use BP_SYM.
30797 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30798 "bp-asm.h".
30799 (PARMS): Do not use macros from bp-asm.h.
30800 (S1): Likewise.
30801 (SIZE): Likewise.
30802 (__mpn_addmul_1): Do not use BP_SYM.
30803 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30804 weak_alias.
30805 (bzero): Likewise.
30806 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30807 "bp-asm.h".
30808 (PARMS): Do not use macros from bp-asm.h.
30809 (S): Likewise.
30810 (SIZE): Likewise.
30811 (__mpn_lshift): Do not use BP_SYM.
30812 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30813 "bp-asm.h".
30814 (PARMS): Do not use macros from bp-asm.h.
30815 (DEST): Likewise.
30816 (SRC): Likewise.
30817 (LEN): Likewise.
30818 (memcpy): Likewise. Do not use BP_SYM.
30819 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30820 libc_hidden_def and weak_alias.
30821 (mempcpy): Do not use BP_SYM in weak_alias.
30822 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30823 "bp-asm.h".
30824 (PARMS): Do not use macros from bp-asm.h.
30825 (DEST): Likewise.
30826 (LEN): Likewise.
30827 [!BZERO_P] (CHR): Likewise.
30828 (memset): Likewise. Do not use BP_SYM.
30829 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30830 "bp-asm.h".
30831 (PARMS): Do not use macros from bp-asm.h.
30832 (S1): Likewise.
30833 (SIZE): Likewise.
30834 (__mpn_mul_1): Do not use BP_SYM.
30835 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30836 "bp-asm.h".
30837 (PARMS): Do not use macros from bp-asm.h.
30838 (S): Likewise.
30839 (SIZE): Likewise.
30840 (__mpn_rshift): Do not use BP_SYM.
30841 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30842 "bp-asm.h".
30843 (PARMS): Do not use macros from bp-asm.h.
30844 (STR): Likewise.
30845 (CHR): Likewise.
30846 (strchr): Likewise. Do not use BP_SYM.
30847 (index): Do not use BP_SYM in weak_alias.
30848 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30849 "bp-asm.h".
30850 (PARMS): Do not use macros from bp-asm.h.
30851 (DEST): Likewise.
30852 (SRC): Likewise.
30853 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30854 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30855 "bp-asm.h".
30856 (PARMS): Do not use macros from bp-asm.h.
30857 (strlen): Do not use BP_SYM.
30858 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30859 "bp-asm.h".
30860 (PARMS): Do not use macros from bp-asm.h.
30861 (S1): Likewise.
30862 (S2): Likewise.
30863 (SIZE): Likewise.
30864 (__mpn_sub_n): Do not use BP_SYM.
30865 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30866 "bp-asm.h".
30867 (PARMS): Do not use macros from bp-asm.h.
30868 (S1): Likewise.
30869 (SIZE): Likewise.
30870 (__mpn_submul_1): Do not use BP_SYM.
30871 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30872 "bp-asm.h".
30873 (PARMS): Do not use macros from bp-asm.h.
30874 (S1): Likewise.
30875 (S2): Likewise.
30876 (SIZE): Likewise.
30877 (__mpn_add_n): Do not use BP_SYM.
30878 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30879 weak_alias.
30880 (bzero): Likewise.
30881 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30882 "bp-asm.h".
30883 (PARMS): Do not use macros from bp-asm.h.
30884 (BLK2): Likewise.
30885 (LEN): Likewise.
30886 (memcmp): Do not use BP_SYM.
30887 (bcmp): Do not use BP_SYM in weak_alias.
30888 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30889 "bp-asm.h".
30890 (PARMS): Do not use macros from bp-asm.h.
30891 (DEST): Likewise.
30892 (SRC): Likewise.
30893 (LEN): Likewise.
30894 (memcpy): Likewise. Do not use BP_SYM.
30895 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30896 "bp-asm.h".
30897 (PARMS): Do not use macros from bp-asm.h.
30898 (DEST): Likewise.
30899 (SRC): Likewise.
30900 (LEN): Likewise.
30901 (memmove): Likewise. Do not use BP_SYM.
30902 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30903 "bp-asm.h".
30904 (PARMS): Do not use macros from bp-asm.h.
30905 (DEST): Likewise.
30906 (SRC): Likewise.
30907 (LEN): Likewise.
30908 (__mempcpy): Likewise. Do not use BP_SYM.
30909 (mempcpy): Do not use BP_SYM in weak_alias.
30910 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30911 "bp-asm.h".
30912 (PARMS): Do not use macros from bp-asm.h.
30913 (DEST): Likewise.
30914 (LEN): Likewise.
30915 [!BZERO_P] (CHR): Likewise.
30916 (memset): Likewise. Do not use BP_SYM.
30917 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30918 "bp-asm.h".
30919 (PARMS): Do not use macros from bp-asm.h.
30920 (STR2): Likewise.
30921 (strcmp): Do not use BP_SYM.
30922 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30923 "bp-asm.h".
30924 (PARMS): Do not use macros from bp-asm.h.
30925 (STR): Likewise.
30926 (DELIM): Likewise.
30927 [USE_AS_STRTOK_R] (SAVE): Likewise.
30928 (FUNCTION): Likewise. Do not use BP_SYM.
30929 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30930 aliases.
30931 (strtok_r): Likewise.
30932 (__GI___strtok_r): Likewise.
30933 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30934 (PARMS): Do not use macros from bp-asm.h.
30935 (S): Likewise.
30936 (SIZE): Likewise.
30937 (__mpn_lshift): Do not use BP_SYM.
30938 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30939 (PARMS): Do not use macros from bp-asm.h.
30940 (STR): Likewise.
30941 (CHR): Likewise.
30942 (__memchr): Do not use BP_SYM.
30943 (memchr): Do not use BP_SYM in weak_alias.
30944 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30945 (PARMS): Do not use macros from bp-asm.h.
30946 (BLK2): Likewise.
30947 (LEN): Likewise.
30948 (memcmp): Do not use BP_SYM.
30949 (bcmp): Do not use BP_SYM in weak_alias.
30950 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30951 (PARMS): Do not use macros from bp-asm.h.
30952 (S1): Likewise.
30953 (SIZE): Likewise.
30954 (__mpn_mul_1): Do not use BP_SYM.
30955 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30956 "bp-asm.h".
30957 (PARMS): Do not use macros from bp-asm.h.
30958 (STR): Likewise.
30959 (CHR): Likewise.
30960 (__rawmemchr): Do not use BP_SYM.
30961 (rawmemchr): Do not use BP_SYM in weak_alias.
30962 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30963 (PARMS): Do not use macros from bp-asm.h.
30964 (S): Likewise.
30965 (SIZE): Likewise.
30966 (__mpn_rshift): Do not use BP_SYM.
30967 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30968 (PARMS): Do not use macros from bp-asm.h.
30969 (SIGMSK): Likewise.
30970 (__sigsetjmp): Likewise. Do not use BP_SYM.
30971 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30972 (_start): Do not use BP_SYM.
30973 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30974 (PARMS): Do not use macros from bp-asm.h.
30975 (DEST): Likewise.
30976 (SRC): Likewise.
30977 (__stpcpy): Likewise. Do not use BP_SYM.
30978 (stpcpy): Do not use BP_SYM in weak_alias.
30979 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30980 "bp-asm.h".
30981 (PARMS): Do not use macros from bp-asm.h.
30982 (DEST): Likewise.
30983 (SRC): Likewise.
30984 (LEN): Likewise.
30985 (__stpncpy): Likewise. Do not use BP_SYM.
30986 (stpncpy): Do not use BP_SYM in weak_alias.
30987 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30988 (PARMS): Do not use macros from bp-asm.h.
30989 (STR): Likewise.
30990 (CHR): Likewise.
30991 (strchr): Likewise. Do not use BP_SYM.
30992 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30993 "bp-asm.h".
30994 (PARMS): Do not use macros from bp-asm.h.
30995 (STR): Likewise.
30996 (CHR): Likewise.
30997 (__strchrnul): Likewise. Do not use BP_SYM.
30998 (strchrnul): Do not use BP_SYM in weak_alias.
30999 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31000 "bp-asm.h".
31001 (PARMS): Do not use macros from bp-asm.h.
31002 (STOP): Likewise.
31003 (strcspn): Do not use BP_SYM.
31004 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31005 "bp-asm.h".
31006 (PARMS): Do not use macros from bp-asm.h.
31007 (STR): Likewise.
31008 (STOP): Likewise.
31009 (strpbrk): Likewise. Do not use BP_SYM.
31010 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31011 "bp-asm.h".
31012 (PARMS): Do not use macros from bp-asm.h.
31013 (STR): Likewise.
31014 (CHR): Likewise.
31015 (strrchr): Likewise. Do not use BP_SYM.
31016 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31017 (PARMS): Do not use macros from bp-asm.h.
31018 (SKIP): Likewise.
31019 (strspn): Do not use BP_SYM.
31020 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31021 (PARMS): Do not use macros from bp-asm.h.
31022 (STR): Likewise.
31023 (DELIM): Likewise.
31024 (SAVE): Likewise.
31025 (FUNCTION): Likewise. Do not use BP_SYM.
31026 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31027 aliases.
31028 (strtok_r): Likewise.
31029 (__GI___strtok_r): Likewise.
31030 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31031 (PARMS): Do not use macros from bp-asm.h.
31032 (S1): Likewise.
31033 (S2): Likewise.
31034 (SIZE): Likewise.
31035 (__mpn_sub_n): Do not use BP_SYM.
31036 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31037 "bp-asm.h".
31038 (PARMS): Do not use macros from bp-asm.h.
31039 (S1): Likewise.
31040 (SIZE): Likewise.
31041 (__mpn_submul_1): Do not use BP_SYM.
31042 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31043 <bp-sym.h>.
31044 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31045 and <bp-asm.h>.
31046 (PARMS): Do not use macros from bp-asm.h.
31047 (FLAGS): Likewise.
31048 (PTID): Likewise.
31049 (TLS): Likewise.
31050 (CTID): Likewise.
31051 (__clone): Do not use BP_SYM.
31052 (clone): Do not use BP_SYM in weak_alias.
31053 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31054 and <bp-asm.h>.
31055 (PARMS): Do not use macros from bp-asm.h.
31056 (LEN): Likewise.
31057 (__mmap64): Do not use BP_SYM.
31058 (mmap64): Do not use BP_SYM in weak_alias.
31059 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31060 <bp-sym.h> and <bp-asm.h>.
31061 (PARMS): Do not use macros from bp-asm.h.
31062 (__posix_fadvise64_l64): Do not use BP_SYM.
31063 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31064 (PARMS): Do not use macros from bp-asm.h.
31065 (NSOPS): Likewise.
31066 (semtimedop): Do not use BP_SYM.
31067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31068 and <bp-asm.h>.
31069
582a3cff
AM
310702013-02-21 Allan McRae <allan@archlinux.org>
31071
31072 * manual/message.texi (Charset conversion in gettext):
31073 Move @end statement to beginning of line.
31074
bab8a695
SP
310752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31076
80945231
SP
31077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31078 static.
31079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31080 Likewise.
31081
bab8a695
SP
31082 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31083 (denorm): Likewise.
31084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31085 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31086
e21d7aa7
AK
310872013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31088
31089 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31090 tail-call to the resolved function if pltexit isn't needed.
31091
4c7a4263
SP
310922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31093
31094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31095 or Y being zero as being unlikely.
31096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31097 Likewise.
31098
41f49342
CD
310992013-02-20 Carlos O'Donell <carlos@redhat.com>
31100
31101 * manual/nss.texi (System Databases and Name Service Switch):
31102 Remove frobnicate @pxref.
31103
50022a93
TS
311042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31105
31106 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31107 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31108
08cbd996
PM
311092013-02-20 Petr Machata <pmachata@redhat.com>
31110
31111 * elf/elf.h (R_ARM_TARGET1): New macro.
31112 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31113 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31114 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31115 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31116 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31117 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31118 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31119 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31120 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31121 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31122 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31123 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31124 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31125 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31126 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31127 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31128 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31129 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31130 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31131 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31132 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31133 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31134 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31135 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31136 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31137 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31138 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31139 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31140 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31141 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31142 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31143 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31144 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31145 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31146 (R_ARM_THM_GOT_BREL12): Likewise.
31147 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31148 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31149 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31150 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31151 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31152 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31153 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31154 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31155 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31156
c7b275d6
TS
311572013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31158
31159 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31160 __attribute_used__ to __attribute__ ((unused)).
31161
20cd7fb3
SP
311622013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31163
31164 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31165 powerpc mpa.c.
31166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31167 comment formatting.
31168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31169
92945b52
JM
311702013-02-19 Joseph Myers <joseph@codesourcery.com>
31171
31172 [BZ #13550]
31173 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31174 Remove macro.
31175 (ENTER): Remove both macro definitions.
31176 (LEAVE): Likewise.
31177 (CHECK_BOUNDS_LOW): Likewise.
31178 (CHECK_BOUNDS_HIGH): Likewise.
31179 (CHECK_BOUNDS_BOTH): Likewise.
31180 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31181 (RETURN_BOUNDED_POINTER): Likewise.
31182 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31183 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31184 (POP_ERRNO_LOCATION_RETURN): Likewise.
31185 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31186 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31187 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31188 macros.
31189 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31190 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31191 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31192 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31193 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31194 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31195 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31196 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31197 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31198 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31199 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31200 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31201 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31202 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31203 removed macros.
31204 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31205 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31206 macros.
31207 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31208 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31209 * sysdeps/i386/i586/memset.S (memset): Likewise.
31210 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31211 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31212 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31213 macros.
31214 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31215 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31216 Change uses of L(2) to L(out).
31217 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31218 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31219 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31220 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31221 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31222 removed macros.
31223 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31224 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31225 macros.
31226 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31227 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31228 (RETURN): Do not use macro LEAVE.
31229 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31230 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31231 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31232 * sysdeps/i386/i686/memset.S (memset): Likewise.
31233 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31234 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31236 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31237 Likewise.
31238 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31239 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31240 L(1_2) and L(1_3) into L(1).
31241 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31242 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31243 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31244 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31245 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31246 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31247 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31248 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31249 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31250 macros.
31251 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31252 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31253 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31254 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31255 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31256 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31257 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31258 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31259 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31260 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31261 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31262 * sysdeps/i386/strspn.S (strspn): Likewise.
31263 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31264 conditional code.
31265 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31266 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31267 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31268 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31269 L(1_3) into L(1_1).
31270 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31271 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31272 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31273 macros.
31274 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31275
2389741a
JJ
312762013-02-19 Jakub Jelinek <jakub@redhat.com>
31277
31278 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31279 macro.
31280
2016b3cd
SP
312812013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31282
e4f22324
SP
31283 * math/atest-exp.c (exp_mpn): Remove ROUND.
31284 * math/atest-exp2.c (exp_mpn): Likewise.
31285 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31286
2016b3cd
SP
31287 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31288 * stdlib/tst-tls-atexit-lib.c: Likewise.
31289 * stdlib/tst-tls-atexit.c: Likewise.
31290
4be9b544
MF
312912013-02-18 Mike Frysinger <vapier@gentoo.org>
31292
31293 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31294 and __attribute_alloc_size__.
31295
2f62b9ee
MF
312962013-02-18 Mike Frysinger <vapier@gentoo.org>
31297
31298 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31299 __attribute_alloc_size__.
31300 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31301 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31302
6ff444c4
MF
313032013-02-18 Mike Frysinger <vapier@gentoo.org>
31304
31305 * include/programs/xmalloc.h: New file.
31306 * catgets/gencat.c: Include it.
31307 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31308 * elf/pldd.c: Likewise.
31309 * iconv/iconv_charmap.c: Likewise.
31310 * iconv/iconvconfig.c: Likewise.
31311 * iconv/strtab.c: Likewise.
31312 * locale/programs/locale.c: Likewise.
31313 * locale/programs/localedef.h: Likewise.
31314 * locale/programs/simple-hash.c: Likewise.
31315 * nscd/nscd.h: Likewise.
31316 * nss/makedb.c: Likewise.
31317 * sysdeps/generic/ldconfig.h: Likewise.
31318
be179c8a
SP
313192013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31320
ba384f6e
SP
31321 * Versions.def: Add GLIBC_2.18.
31322 * include/link.h (struct link_map): New member l_tls_dtor_count.
31323 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31324 (__call_tls_dtors): Likewise.
31325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31326 __cxa_thread_atexit_impl.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31328 Likewise.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31330 Likewise.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31332 Likewise.
31333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31334 Likewise.
31335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31337 Likewise.
31338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31339 Likewise.
31340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31342 Likewise.
31343 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31344 (tests): Add test case tst-tls-atexit.
31345 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31346 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31347 (GLIBC_PRIVATE): Add __call_tls_dtors.
31348 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31349 for libstdc++.
31350 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31351 * stdlib/tst-tls-atexit.c: New test case.
31352 * stdlib/tst-tls-atexit-lib.c: New test case.
31353
ffaa74cf 31354 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31355
be179c8a
SP
31356 * elf/Versions (ld): Add _dl_find_dso_for_object.
31357 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31358 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31359 (dl_open_worker): Use _dl_find_dso_for_object.
31360 * elf/dl-sym.c (do_sym): Likewise.
31361 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31362
f78b5caa
AK
313632013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31364
31365 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31366 Syntactic changes only.
31367 (_dl_runtime_profile): Do a tail-call to the resolved function.
31368
29691210
JM
313692013-02-17 Joseph Myers <joseph@codesourcery.com>
31370
31371 [BZ #13550]
31372 * sysdeps/x86_64/bp-asm.h: Remove file.
31373 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31374 <bp-sym.h> and <bp-asm.h>.
31375 (__clone): Do not use BP_SYM.
31376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31377 <bp-sym.h> and <bp-asm.h>.
31378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31379 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31380 "bp-asm.h".
31381 (_setjmp): Do not use BP_SYM.
31382 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31383 "bp-asm.h".
31384 (setjmp): Do not use BP_SYM.
31385 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31386 libc_hidden_def.
31387 (mempcpy): Do not use BP_SYM in weak_alias.
31388 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31389 "bp-asm.h".
31390 (strchr): Do not use BP_SYM.
31391 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31392 "bp-asm.h".
31393 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31394 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31395 (_start): Do not use BP_SYM.
31396 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31397 "bp-asm.h".
31398 (strcat): Do not use BP_SYM.
31399 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31400 "bp-asm.h".
31401 (STRCMP): Do not use BP_SYM.
31402 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31403 "bp-asm.h".
31404 (STRCPY): Do not use BP_SYM.
31405 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31406 "bp-asm.h".
31407 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31408 "bp-asm.h".
31409 (FUNCTION): Do not use BP_SYM.
31410 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31411 weak_alias.
31412 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31413
f238fd19
AJ
314142013-02-17 Andreas Jaeger <aj@suse.de>
31415
31416 * time/Versions: Sort entries.
31417 * string/Versions: Likewise.
31418 * resolv/Versions: Likewise.
31419 * posix/Versions: Likewise.
31420 * iconv/Versions: Likewise.
31421 * elf/Versions: Likewise.
31422 * wcsmbs/Versions: Likewise.
31423
bd07f23c 314242013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31425
22af19f9
SP
31426 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31427 loop termination condition.
31428
4709fe76
SP
31429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31430 variable to calculate EZ.
31431 (__sqr): Likewise.
2d0e0f29
SP
31432
31433 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31434 the lower precision input.
31435
daaa7713
JM
314362013-02-15 Joseph Myers <joseph@codesourcery.com>
31437
31438 [BZ #13550]
31439 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31440 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31441 (run-via-rtld-prefix): Do not handle %-bp tests.
31442 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31443 (all-object-suffixes): Remove .ob.
31444 (bppfx): Remove variable.
31445 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31446 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31447 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31448 [$(build-bounded) = yes] (libtype.ob): Likewise.
31449 * Makerules (elide-routines.ob): Remove variable.
31450 (do-tests-clean): Do not handle *-bp.out.
31451 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31452 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31453 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31454 (tests): Do not include $(tests-bp.out).
31455 (xtests): Do not include $(xtests-bp.out).
31456 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31457 [$(build-bounded) = yes] ($(addprefix
31458 $(objpfx),$(binaries-bounded))): Remove rule.
31459 ($(objpfx)%-bp.out): Remove rule.
31460 * config.make.in (build-bounded): Remove variable.
31461 * crypt/Makefile [$(build-bounded) = yes]
31462 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31463 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31464 append to variable.
31465 [$(build-bounded) = yes] (install-lib): Likewise.
31466 [$(build-bounded) = yes] (generated): Likewise.
31467 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31468 Remove rule.
31469 * intl/Makefile [$(build-bounded) = yes]
31470 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31471 * math/Makefile [$(build-bounded) = yes]
31472 ($(tests:%=$(objpfx)%-bp): Likewise.
31473 * misc/Makefile [$(build-bounded) = yes]
31474 ($(objpfx)tst-tsearch-bp): Likewise.
31475 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31476 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31477 Remove dependency.
31478 * string/Makefile (o-objects.ob): Remove variable.
31479 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31480 (CFLAGS-.ob): Remove variable.
31481 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31482 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31483 both definitions of variable.
31484 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31485 (ASFLAGS-.ob): Remove variable.
31486
e97ed6dd
JM
314872013-02-14 Joseph Myers <joseph@codesourcery.com>
31488
2bdd4ca6
JM
31489 [BZ #13550]
31490 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31491 Remove __BOUNDED_POINTERS__ from condition.
31492 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31493 * string/bits/string2.h [!__NO_STRING_INLINES &&
31494 !__BOUNDED_POINTERS__]: Likewise.
31495 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31496 Likewise.
31497 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31498 Remove conditional code.
31499 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31500 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31501 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31502 condition.
31503
e97ed6dd
JM
31504 [BZ #13550]
31505 * csu/libc-start.c: Do not include <bp-sym.h>.
31506 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31507 * elf/dl-open.c: Do not include <bp-sym.h>.
31508 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31509 * math/fegetenv.c: Do not include <bp-sym.h>.
31510 (fegetenv): Do not use BP_SYM in versioned symbols.
31511 * nptl/sysdeps/pthread/bits/libc-lockP.h
31512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31513 <bp-sym.h>.
31514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31515 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31517 (__pthread_mutex_destroy): Likewise.
31518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31519 (__pthread_mutex_lock): Likewise.
31520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31521 (__pthread_mutex_trylock): Likewise.
31522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31523 (__pthread_mutex_unlock): Likewise.
31524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31525 (__pthread_mutexattr_init): Likewise.
31526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31527 (__pthread_mutexattr_destroy): Likewise.
31528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31529 (__pthread_mutexattr_settype): Likewise.
31530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31531 (__pthread_rwlock_init): Likewise.
31532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31533 (__pthread_rwlock_destroy): Likewise.
31534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31535 (__pthread_rwlock_rdlock): Likewise.
31536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31537 (__pthread_rwlock_tryrdlock): Likewise.
31538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31539 (__pthread_rwlock_wrlock): Likewise.
31540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31541 (__pthread_rwlock_trywrlock): Likewise.
31542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31543 (__pthread_rwlock_unlock): Likewise.
31544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31545 (__pthread_key_create): Likewise.
31546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31547 (__pthread_setspecific): Likewise.
31548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31549 (__pthread_getspecific): Likewise.
31550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31551 Likewise.
31552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31553 (_pthread_cleanup_push_defer): Likewise.
31554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31555 (_pthread_cleanup_pop_restore): Likewise.
31556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31557 (pthread_setcancelstate): Likewise.
31558 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31559 <bp-sym.h>.
31560 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31561 (memchr): Do not use BP_SYM in weak_alias.
31562 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31563 (fegetenv): Do not use BP_SYM in versioned symbols.
31564 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31565 (fesetenv): Do not use BP_SYM in versioned symbols.
31566 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31567 (feupdateenv): Do not use BP_SYM in versioned symbols.
31568 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31569 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31570 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31571 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31572 (open64): Do not use BP_SYM in weak_alias.
31573 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31574 (fegetenv): Do not use BP_SYM in versioned symbols.
31575 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31576 (fesetenv): Do not use BP_SYM in versioned symbols.
31577 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31578 (feupdateenv): Do not use BP_SYM in versioned symbols.
31579 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31580 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31581 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31582 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31583 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31584 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31585 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31586 <bp-sym.h>.
31587 (__libc_start_main): Do not use BP_SYM.
31588
d6752ccd
SP
315892013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31590
cb57ce60
SP
31591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31592 redundant return line.
31593 (norm): Likewise.
31594 (denorm): Likewise.
31595 (dbl_mp): Likewise.
31596 (sub_magnitudes): Likewise.
31597 (__add): Likewise.
31598 (__sub): Likewise.
31599 (__mul): Likewise.
31600 (__inv): Likewise.
31601 (__dvd): Likewise.
31602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31603 (norm): Likewise.
31604 (denorm): Likewise.
31605 (dbl_mp): Likewise.
31606 (sub_magnitudes): Likewise.
31607 (__add): Likewise.
31608 (__sub): Likewise.
31609 (__mul): Likewise.
31610 (__inv): Likewise.
31611 (__dvd): Likewise.
31612
f414520d
SP
31613 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31614 instead of __mul.
31615 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31616 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31617 (cc32): Likewise.
31618
d6752ccd
SP
31619 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31620 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31622 of __mul for squares.
31623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31624 function
31625 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31626 Likewise.
31627 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31628 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31629
70d9946a
JM
316302013-02-13 Joseph Myers <joseph@codesourcery.com>
31631
31632 [BZ #13550]
31633 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31634 code.
31635 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31636 prototype or function definition. Rename ubp_* variables and
31637 parameters. Remove argv definitions conditional on
31638 [__BOUNDED_POINTERS__].
31639 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31640 * elf/dl-runtime.c (_dl_fixup): Likewise.
31641 * include/set-hooks.h (RUN_HOOK): Likewise.
31642 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31643 definition.
31644 * string/strcpy.c (strcpy): Do not use __unbounded.
31645 * sysdeps/generic/frame.h (struct layout): Likewise.
31646 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31647 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31648 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31649 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31650 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31651 (__backtrace): Likewise.
31652 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31653 use __ptrvalue.
31654 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31655 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31656 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31657 Likewise.
31658 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31659 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31660 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31661 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31662 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31663 Do not use __unbounded.
31664 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31665 Rename __unboundedrlimits parameter to rlimits in prototype.
31666 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31667 Do not use __unbounded.
31668 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31669 not use __ptrvalue.
31670 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31671 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31672 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31673 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31674 __ptrvalue or __unbounded.
31675 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31676 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31677 use __unbounded.
31678 (__new_msgctl): Do not use __ptrvalue.
31679 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31680 __unbounded.
31681 (__libc_msgrcv): Do not use __ptrvalue.
31682 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31683 startup_info): Do not use __unbounded.
31684 (__libc_start_main): Likewise. Rename ubp_* variables and
31685 parameters. Remove argv definitions conditional on
31686 [__BOUNDED_POINTERS__].
31687 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31688 __ptrvalue.
31689 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31690 use __unbounded.
31691 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31692 or __ptrvalue.
31693 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31694 use __unbounded.
31695 (__new_shmctl): Do not use __ptrvalue.
31696 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31697 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31698 Likewise.
31699 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31701 (__libc_sigaction): Likewise.
31702 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31703 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31704 Likewise.
31705 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31706
cc7834d6
OB
317072013-02-13 Ondřej Bílka <neleai@seznam.cz>
31708
ffb1ec7b 31709 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31710
31711 * string/mempcpy.c: Implement by calling memcpy.
31712
bdf02814
SP
317132013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31714
c2af38aa
SP
31715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31716
4e92d59e
SP
31717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31718 evaluation.
31719
909279a5
SP
31720 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31721 values in the mantissa.
31722
bdf02814
SP
31723 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31724 minimize writes to Z.
31725 (sub_magnitudes): Simplify code a bit.
31726
cd525923
RM
317272013-02-12 Roland McGrath <roland@hack.frob.com>
31728
31729 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31730 from the message. The linker prefixes all warnings with that already.
31731
7e2f0d2d
AS
317322013-02-12 Andreas Schwab <schwab@suse.de>
31733
a445af0b
AS
31734 [BZ #15078]
31735 * posix/regexec.c (extend_buffers): Add parameter min_len.
31736 (check_matching): Pass minimum needed length.
31737 (clean_state_log_if_needed): Likewise.
31738 (get_subexp): Likewise.
31739 * posix/Makefile (tests): Add bug-regex34.
31740 (bug-regex34-ENV): Define.
31741 * posix/bug-regex34.c: New file.
31742
7e2f0d2d
AS
31743 [BZ #11561]
31744 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31745 elements compare against the byte sequence of it, not its name.
31746 * posix/Makefile (tests): Add bug-regex35.
31747 (bug-regex35-ENV): Define.
31748 * posix/bug-regex35.c: New file.
31749
a175b684
TV
317502013-02-11 Tom de Vries <tom@codesourcery.com>
31751
31752 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31753 comment.
31754 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31755 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31756 (CHECK_EOL): Add undef.
31757
310998fe 317582013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31759
31760 * bits/stdlib-bsearch.h: New file.
31761 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31762 * stdlib/stdlib.h: Likewise.
41eda41d 31763
8ded91fb
RM
317642013-02-11 Roland McGrath <roland@hack.frob.com>
31765
31766 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31767 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31768 declaration.
31769 * manual/search.texi (Array Search Function): Add missing const in
31770 lfind prototype.
31771 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31772 declaration to use rlim_t.
31773 (Basic Scheduling Functions): Remove erroneous const from
31774 sched_getparam prototype. Remove erroneous * from
31775 sched_get_priority_max and sched_get_priority_min prototypes.
31776 (Resource Usage): Fix summary @comment on vtimes to refer to
31777 sys/vtimes.h rather than vtimes.h.
31778 Add missing *s in vtimes prototype.
31779 (Limits on Resources): Fix ulimit prototype to return long int.
31780 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31781 prototypes to use long int rather than double.
31782 (BSD Random): Fix initstate and setstate to use char *, not void *.
31783 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31784 prototype to make second argument 'struct aiocb64 *const[]'.
31785 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31786 (Status of AIO Operations): Remove erroneous const in aio_return and
31787 aio_return64 prototypes.
31788 (Synchronizing I/O): Fix sync prototype to return void.
31789 * manual/startup.texi (Suboptions): Remove an erroneous const in
31790 getsubopt prototype.
31791 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31792 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31793 use size_t rather than int.
31794 (Scanning All Users): Likewise for getpwent_r.
31795 (Setting Groups): Add missing const to setgroups prototype.
31796 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31797 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31798 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31799 'const void *' rather than 'const char *'.
31800 (Host Address Functions): Likewise for inet_ntop.
31801 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31802 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31803 ssize_t for return value.
31804 (Sending Data): Likewise for send, sendto, sendmsg.
31805 (Socket Option Functions): Add a missing const in setsockopt prototype.
31806 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31807 use wchar_t for the argument.
31808 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31809 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31810 take no arguments.
31811 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31812 double/float/long double for second argument.
31813 Fix return types of significand, significandf, significandl.
31814 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31815 argument in fchmod prototype.
31816 (File Owner): Use uid_t and gid_t in fchown prototype.
31817 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31818 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31819 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31820 use 'const struct dirent **' as argument types to CMP function pointer
31821 argument.
31822 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31823 (File Times): Fix summary magic @comment for struct utimbuf and utime
31824 to refer to utime.h, not time.h.
31825 * manual/string.texi (Argz Functions): Add missing const in
31826 argz_extract and argz_next prototypes.
31827 (Finding Tokens in a String): Likewise for basename.
31828 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31829 (Copying and Concatenation): Fix typo in wmemmove prototype.
31830 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31831 (Signal Stack): Remove erroneous const in sigstack prototype.
31832 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31833 prototype.
31834 (Simple Calendar Time): Likewise for stime.
31835 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31836 prototype.
31837 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31838 say sys/sysctl.h instead.
31839 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31840 and vsyslog prototypes.
31841
fe77fe6d
TV
318422013-02-11 Tom de Vries <tom@codesourcery.com>
31843
31844 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31845 Remove.
31846
3a09b620
RM
318472013-02-11 Roland McGrath <roland@hack.frob.com>
31848
31849 * misc/sys/mman.h: Fix typo in mremap comment.
31850
550a0b89
RM
318512013-02-08 Roland McGrath <roland@hack.frob.com>
31852
31853 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31854 the '\0' terminator.
31855
a2da1673
JM
318562013-02-08 Joseph Myers <joseph@codesourcery.com>
31857
31858 [BZ #13550]
31859 * debug/segfault.c: Don't include <bp-checks.h>.
31860 * sysdeps/generic/bp-checks.h: Remove file.
31861 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31862 (__GETDENTS): Don't use CHECK_N.
31863 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31864 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31865 (__getgroups): Don't use CHECK_N.
31866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31867 (setgroups): Don't use CHECK_N.
31868 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31869 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31870 (__libc_msgrcv): Don't use CHECK_N.
31871 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31872 (__libc_msgsnd): Don't use CHECK_N.
31873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31874 <bp-checks.h>.
31875 (__libc_pread): Don't use CHECK_N.
31876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31877 include <bp-checks.h>.
31878 (__libc_pread64): Don't use CHECK_N.
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31880 include <bp-checks.h>.
31881 (__libc_pwrite): Don't use CHECK_N.
31882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31883 include <bp-checks.h>.
31884 (__libc_pwrite64): Don't use CHECK_N.
31885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31886 <bp-checks.h>.
31887 (__libc_pread): Don't use CHECK_N.
31888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31889 include <bp-checks.h>.
31890 (__libc_pread64): Don't use CHECK_N.
31891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31892 include <bp-checks.h>.
31893 (__libc_pwrite): Don't use CHECK_N.
31894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31895 include <bp-checks.h>.
31896 (__libc_pwrite64): Don't use CHECK_N.
31897 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31898 (do_pread): Don't use CHECK_N.
31899 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31900 (do_pread64): Don't use CHECK_N.
31901 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31902 (do_pwrite): Don't use CHECK_N.
31903 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31904 (do_pwrite64): Don't use CHECK_N.
31905 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31906 (__libc_readv): Don't use CHECK_N.
31907 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31908 (semop): Don't use CHECK_N.
31909 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31910 <bp-checks.h>.
31911 (semtimedop): Don't use CHECK_N.
31912 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31913 (__libc_pread): Don't use CHECK_N.
31914 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31915 <bp-checks.h>.
31916 (__libc_pread64): Don't use CHECK_N.
31917 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31918 <bp-checks.h>.
31919 (__libc_pwrite): Don't use CHECK_N.
31920 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31921 <bp-checks.h>.
31922 (__libc_pwrite64): Don't use CHECK_N.
31923 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31924 <bp-checks.h>.
31925 (__libc_msgrcv): Don't use CHECK_N.
31926 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31927 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31928 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31929 (__libc_writev): Don't use CHECK_N.
31930
b84660a8
RM
319312013-02-08 Roland McGrath <roland@hack.frob.com>
31932
7f3e75f8
RM
31933 * string/strcpy.c: Removed unused variable.
31934
b84660a8
RM
31935 * Makeconfig (+sysdep-includes): Define with := rather than =.
31936 Use an existing include/ subdir of each sysdeps dir before it.
31937
471514d3
CD
319382013-02-08 Carlos O'Donell <carlos@redhat.com>
31939
31940 * nscd/connection.c (register_traced_file): Comment function.
31941 [HAVE_INOTIFY] (union __inev): Define.
31942 [HAVE_INOTIFY] (inotify_check_files): New function.
31943 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31944 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31945 clear_db_cache.
31946 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31947
b2d3c3be
CD
319482013-02-08 Carlos O'Donell <carlos@redhat.com>
31949
31950 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31951 loaded if not already and that a failure is permanent.
31952
b39949d2
CD
319532013-02-08 Carlos O'Donell <carlos@redhat.com>
31954
ddacd1db 31955 [BZ #15006]
b39949d2
CD
31956 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31957 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31958
b2c9eff4
JM
319592013-02-08 Joseph Myers <joseph@codesourcery.com>
31960
f3aae3f3
JM
31961 [BZ #13550]
31962 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31963 (CHECK_1_NULL_OK): Likewise.
31964 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31965 (__fxstat): Do not use CHECK_1.
31966 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31967 <bp-checks.h>.
31968 (___fxstat64): Do not use CHECK_1.
31969 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31970 <bp-checks.h>.
31971 (__fxstatat): Do not use CHECK_1.
31972 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31973 <bp-checks.h>.
31974 (__fxstatat64): Do not use CHECK_1.
31975 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31976 <bp-checks.h>.
31977 (__fxstat): Do not use CHECK_1.
31978 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31979 <bp-checks.h>.
31980 (__fxstatat): Do not use CHECK_1.
31981 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31982 <bp-checks.h>.
31983 (__getresgid): Do not use CHECK_1.
31984 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31985 <bp-checks.h>.
31986 (__getresuid): Do not use CHECK_1.
31987 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31988 <bp-checks.h>.
31989 (__lxstat): Do not use CHECK_1.
31990 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31991 <bp-checks.h>.
31992 (__old_msgctl): Do not use CHECK_1.
31993 (__new_msgctl): Likewise.
31994 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31995 <bp-checks.h>.
31996 (__new_setrlimit): Do not use CHECK_1.
31997 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31998 <bp-checks.h>.
31999 (__old_shmctl): Do not use CHECK_1.
32000 (__new_shmctl): Likewise.
32001 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32002 <bp-checks.h>.
32003 (__xstat): Do not use CHECK_1.
32004 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32005 (__lxstat): Do not use CHECK_1.
32006 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32007 <bp-checks.h>.
32008 (___lxstat64): Do not use CHECK_1.
32009 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32010 (__old_msgctl): Do not use CHECK_1.
32011 (__new_msgctl): Likewise.
32012 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32013 <bp-checks.h>.
32014 (__gettimeofday): Do not use CHECK_1.
32015 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32016 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32017 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32018 <bp-checks.h>.
32019 (__gettimeofday): Do not use CHECK_1.
32020 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32021 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32022 (__new_shmctl): Do not use CHECK_1.
32023 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32024 <bp-checks.h>.
32025 (do_sigtimedwait): Do not use CHECK_1.
32026 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32027 <bp-checks.h>.
32028 (do_sigwaitinfo): Do not use CHECK_1.
32029 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32030 <bp-checks.h>.
32031 (msgctl): Do not use CHECK_1.
32032 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32033 <bp-checks.h>.
32034 (shmctl): Do not use CHECK_1.
32035 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32036 (ustat): Do not use CHECK_1.
32037 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32038 <bp-checks.h>.
32039 (__fxstat): Do not use CHECK_1.
32040 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32041 <bp-checks.h>.
32042 (__fxstatat): Do not use CHECK_1.
32043 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32044 <bp-checks.h>.
32045 (__lxstat): Do not use CHECK_1.
32046 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32047 <bp-checks.h>.
32048 (__xstat): Do not use CHECK_1.
32049 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32050 (__xstat): Do not use CHECK_1.
32051 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32052 (___xstat64): Do not use CHECK_1.
32053
b2c9eff4
JM
32054 [BZ #13550]
32055 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32056 definitions.
32057 (CHECK_BOUNDS_HIGH): Likewise.
32058 * string/strcpy.c: Do not include <bp-checks.h>.
32059 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32060
f1d70dad
RM
320612013-02-07 Roland McGrath <roland@hack.frob.com>
32062
32063 * nscd/nscd-client.h (__nscd_drop_map_ref):
32064 Add __attribute__ ((unused)).
32065 * nis/nss-nisplus.h (niserr2nss): Likewise.
32066
32067 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32068 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32069
32070 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32071 Remove inline keyword.
32072 * include/rounding-mode.h (round_away): Likewise.
32073 * libio/wfileops.c (adjust_wide_data): Likewise.
32074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32075 (__m128i_strloadu_tolower): Likewise.
32076 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32077 (__m128i_strloadu_tolower): Likewise.
32078 * time/mktime.c (ydhms_diff): Likewise.
32079 * locale/elem-hash.h (elem_hash): Likewise.
32080 * locale/setlocale.c (setdata): Likewise.
32081 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32082 (re_string_wchar_at): Likewise.
32083 (bitset_not, bitset_merge, bitset_mask): Likewise.
32084 [!(__GNUC__ > 3)] (inline): Remove macro.
32085 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32086 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32087 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32088 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32089 * string/memcmp.c (memcmp_bytes): Likewise.
32090 * locale/programs/locarchive.c (compute_hashval): Likewise.
32091 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32092 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32093 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32094 * nss/getent.c (print_rpc, print_protocols): Likewise.
32095 (print_passwd, print_group, print_aliases): Likewise.
32096 * nis/nss-nisplus.h (niserr2nss): Likewise.
32097 * nscd/connections.c (restart_p): Likewise.
32098 Change return type to bool.
32099
eab55bfb
RM
321002013-02-05 Roland McGrath <roland@hack.frob.com>
32101
7bd642f5
RM
32102 * Makeconfig (all-Depend-files): Add existing
32103 $(sorted-subdirs:=/Depend) files.
32104 (all-subdirs): Remove nss.
32105 * sysdeps/unix/inet/Subdirs: Add it here instead.
32106 * hesiod/Depend: New file.
32107
573c29b2
RM
32108 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32109 instead of calling alloca.
32110
b2e25af0
RM
32111 * io/lseek.c (__lseek): Rename to __libc_lseek.
32112 Define __lseek as an alias.
32113
eab55bfb
RM
32114 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32115
9a0d1941
CD
321162013-02-04 Carlos O'Donell <carlos@redhat.com>
32117
32118 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32119 else clause and remove check for non-standard endianness.
32120
b83bbec4
DM
321212013-02-04 David S. Miller <davem@davemloft.net>
32122
32123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32124
6277fdab
JM
321252013-02-04 Joseph Myers <joseph@codesourcery.com>
32126
32127 [BZ #13550]
32128 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32129 (__ubp_memchr): Remove prototype.
32130 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32131 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32132 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32133 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32134 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32135 Remove alias.
32136 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32137 (__ubp_memchr): Likewise.
32138 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32139 (__ubp_memchr): Likewise.
32140 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32141 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32142 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32143 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32144 CHECK_STRING.
32145 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32146 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32147 (__getcwd): Do not use CHECK_STRING.
32148 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32149 <bp-checks.h>.
32150 (__real_chown): Do not use CHECK_STRING.
32151 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32152 <bp-checks.h>.
32153 (fchownat): Do not use CHECK_STRING.
32154 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32155 CHECK_STRING.
32156 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32157 <bp-checks.h>.
32158 (__lchown): Do not use CHECK_STRING.
32159 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32160 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32161 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32162 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32164 include <bp-checks.h>.
32165 (truncate64): Do not use CHECK_STRING.
32166 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32167 <bp-checks.h>.
32168 (__real_chown): Do not use CHECK_STRING.
32169 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32170 <bp-checks.h>.
32171 (__lchown): Do not use CHECK_STRING.
32172 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32173 <bp-checks.h>.
32174 (__chown): Do not use CHECK_STRING.
32175 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32176 <bp-checks.h>.
32177 (truncate64): Do not use CHECK_STRING.
32178 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32179 Likewise.
32180 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32181 (__xmknod): Do not use CHECK_STRING.
32182 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32183 <bp-checks.h>.
32184 (__xmknodat): Do not use CHECK_STRING.
32185 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32186 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32187
903ae060
AS
321882013-02-04 Andreas Schwab <schwab@suse.de>
32189
32190 [BZ #14142]
32191 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32192 * include/netdb.h: Likewise for h_errno.
32193 * elf/tst-stackguard1.c: Include <tls.h>.
32194
542f9466
JK
321952013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32196
32197 * elf/link.h (struct link_map): Extend the l_addr comment.
32198 * include/link.h (struct link_map): Likewise.
32199
e782a927
JM
322002013-02-01 Joseph Myers <joseph@codesourcery.com>
32201
32202 [BZ #13550]
32203 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32204 (BOUNDED_1): Remove macro.
32205 * debug/backtrace.c: Don't include <bp-checks.h>.
32206 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32207 (__backtrace): Likewise.
32208 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32209 <bp-checks.h>.
32210 (__backtrace): Don't use BOUNDED_1.
32211 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32212 <bp-checks.h>.
32213 (__backtrace): Don't use BOUNDED_1.
32214 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32215 (__backtrace): Don't use BOUNDED_1.
32216 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32217 (shmat): Don't use BOUNDED_N.
32218
8cf28c5e
JM
322192013-01-31 Joseph Myers <joseph@codesourcery.com>
32220
3a7ac8a0
JM
32221 [BZ #13550]
32222 * sysdeps/generic/bp-start.h: Remove file.
32223 * csu/libc-start.c: Don't include <bp-start.h>.
32224 (LIBC_START_MAIN): Set up __environ directly instead of using
32225 INIT_ARGV_and_ENVIRON.
32226 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32227 <bp-start.h>.
32228
f3499f95
JM
32229 [BZ #13550]
32230 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32231 definitions.
32232 (CHECK_FCNTL): Likewise.
32233 (CHECK_N_PAGES): Likewise.
32234
32a45bea
JM
32235 [BZ #13550]
32236 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32237 definitions.
32238 (CHECK_SIGSET_NULL_OK): Likewise.
32239 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32240 <bp-checks.h>.
32241 (sigpending): Don't use CHECK_SIGSET.
32242 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32243 <bp-checks.h>.
32244 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32245 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32246 <bp-checks.h>.
32247 (do_sigsuspend): Don't use CHECK_SIGSET.
32248 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32249 use CHECK_SIGSET.
32250 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32251 (do_sigwait): Don't use CHECK_SIGSET.
32252 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32253 use CHECK_SIGSET.
32254 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32255 include <bp-checks.h>.
32256 (sigpending): Don't use CHECK_SIGSET.
32257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32258 include <bp-checks.h>.
32259 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32260 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32261 <bp-checks.h>.
32262 (sigpending): Don't use CHECK_SIGSET.
32263 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32264 <bp-checks.h>.
32265 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32266
2e8a5c8c
JM
32267 [BZ #13550]
32268 * sysdeps/generic/bp-semctl.h: Remove file.
32269 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32270 <bp-checks.h> and <bp-semctl.h>.
32271 (__old_semctl): Don't use CHECK_SEMCTL.
32272 (__new_semctl): Likewise.
32273 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32274 and <bp-semctl.h>.
32275 (__old_semctl): Don't use CHECK_SEMCTL.
32276 (__new_semctl): Likewise.
32277 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32278 <bp-checks.h> and <bp-semctl.h>.
32279 (__old_semctl): Don't use CHECK_SEMCTL.
32280 (__new_semctl): Likewise.
32281 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32282 <bp-checks.h> and <bp-semctl.h>.
32283 (semctl): Don't use CHECK_SEMCTL.
32284
c2d54929
JM
32285 [BZ #13550]
32286 * Makerules (elide-bp-thunks): Remove variable.
32287 (elide-routines.oS): Don't use $(elide-bp-thunks).
32288 (elide-routines.os): Likewise.
32289 (elide-routines.o): Likewise.
32290 (elide-routines.op): Likewise.
32291 (elide-routines.og): Likewise.
32292 (objects): Don't use $(bp-thunks).
32293 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32294 include.
32295 (common-generated): Do not add s-proto-bp.d.
32296 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32297 (int): Likewise.
32298 (typ): Likewise.
32299 Do not generate makefile rules for bounded-pointer thunks.
32300 * sysdeps/generic/bp-thunks.h: Remove file.
32301 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32302 * sysdeps/unix/s-proto-bp.S: Likewise.
32303
8cf28c5e
JM
32304 [BZ #15062]
32305 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32306 parts of result separately when argument is not close to line from
32307 -i to i and one part of argument is small.
32308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32310 * math/libm-test.inc (cacos_test): Add more tests.
32311 (casin_test): Likewise.
32312 (casinh_test): Likewise.
32313 * sysdeps/i386/fpu/libm-test-ulps: Update.
32314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32315
c4e33b8d
DM
323162013-01-31 David S. Miller <davem@davemloft.net>
32317
32318 * po/de.po: Update from translation team.
32319
3b60b421
MK
323202013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32321
32322 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32323
bb931195
TS
323242013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32325
b5a5da23
TS
32326 * configure.in (_AC_PROG_CC_C89): New definition.
32327 * configure: Regenerate.
32328
bb931195
TS
32329 * configure.in (AC_PROG_CPP): New definition.
32330 * configure: Regenerate.
32331
8c53a12c
JM
323322013-01-23 Joseph Myers <joseph@codesourcery.com>
32333
32334 * debug/tst-backtrace.h: New file.
32335 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32336 (ret): Remove variable.
32337 (x): Likewise.
32338 (FAIL): Remove macro.
32339 (NO_INLINE): Likewise.
32340 (fn1): Use match function instead of strstr.
32341 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32342 (ret): Remove variable.
32343 (x): Likewise.
32344 (FAIL): Remove macro.
32345 (NO_INLINE): Likewise.
32346 (fn): Use match function instead of strstr.
32347 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32348 (ret): Remove variable.
32349 (x): Likewise.
32350 (FAIL): Remove macro.
32351 (NO_INLINE): Likewise.
32352 (handle_signal): Use match function instead of strstr.
32353 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32354 (ret): Remove variable.
32355 (x): Likewise.
32356 (FAIL): Remove macro.
32357 (NO_INLINE): Likewise.
32358 (handle_signal): Use match function instead of strstr.
32359
4858fa2a
RM
323602013-01-23 Roland McGrath <roland@hack.frob.com>
32361
32362 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32363
bae8e7f5
DM
323642013-01-23 David S. Miller <davem@davemloft.net>
32365
32366 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32367 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32368 argument of CAS if possible.
32369 * sysdeps/sparc/sparc64/bits/atomic.h
32370 (__arch_compare_and_exchange_val_32_acq): Likewise.
32371 (__arch_compare_and_exchange_val_64_acq): Likewise.
32372
9cbbc4ae
PT
323732013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32374
32375 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32376 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32377 Include <limits.h>.
67b3f58c 32378 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32379
5655a0b5
AC
323802013-01-23 Adam Conrad <adconrad@0c3.net>
32381
32382 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32383 (LDFLAGS-tst-array5): Likewise.
32384
052aff95
JM
323852013-01-23 Joseph Myers <joseph@codesourcery.com>
32386
32387 [BZ #15036]
32388 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32389 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32390 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32391 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32392
7c1e01aa
DM
323932013-01-21 David S. Miller <davem@davemloft.net>
32394
32395 * sysdeps/sparc/backtrace.c: New file.
32396 * sysdeps/sparc/sparc32/backtrace.h: New file.
32397 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32398 * sysdeps/sparc/sparc64/backtrace.h: New file.
32399 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32400 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32401 -funwind-tables.
32402
ab087e0a
AS
324032013-01-21 Andreas Schwab <schwab@suse.de>
32404
32405 [BZ #15020]
32406 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32407 closed its stdout.
32408
ed689c2f
AS
324092013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32410
32411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32412 "mpa2.h".
32413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32414
31d470ac
JM
324152013-01-18 Joseph Myers <joseph@codesourcery.com>
32416 Mark Mitchell <mark@codesourcery.com>
32417 Tom de Vries <tom@codesourcery.com>
32418 Paul Pluzhnikov <ppluzhnikov@google.com>
32419
32420 * debug/tst-backtrace2.c: New file.
32421 * debug/tst-backtrace3.c: Likewise.
32422 * debug/tst-backtrace4.c: Likewise.
32423 * debug/tst-backtrace5.c: Likewise.
32424 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32425 (CFLAGS-tst-backtrace3.c): Likewise.
32426 (CFLAGS-tst-backtrace4.c): Likewise.
32427 (CFLAGS-tst-backtrace5.c): Likewise.
32428 (LDFLAGS-tst-backtrace2): Likewise.
32429 (LDFLAGS-tst-backtrace3): Likewise.
32430 (LDFLAGS-tst-backtrace4): Likewise.
32431 (LDFLAGS-tst-backtrace5): Likewise.
32432 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32433 tst-backtrace4 and tst-backtrace5.
32434
90567f30 324352013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32436 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32437
32438 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32439 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32440 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32441 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32443 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32444 "+r" and remove output regs list as redundant. Add explicit inline
32445 asm to specify register of return val to work around compiler codegen
32446 bug. Remove (int) cast on return value. Add return type parameter to
32447 use in macro so that this macro does not truncate return value for
32448 64-bit values.
32449 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32450 pass to INTERNAL_VSYSCALL_NCS.
32451 (INLINE_VSYSCALL): Add 'long int' as return type to
32452 INTERNAL_VSYSCALL_NCS macro invocation.
32453 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32454 INTERNAL_VSYSCALL_NCS macro invocation.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32456
d3b9ea61
SP
324572013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32458
0b57daeb
SP
32459 [BZ #14496]
32460 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32461 Fix application of SIMD FP exception mask.
32462
caa99d06
SP
32463 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32464 mp_no from a power of two.
32465 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32466 __mpexp_twomm1. Use __pow_mp.
32467
d3b9ea61
SP
32468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32469 multiplication.
32470
1dbaee3c
DM
324712013-01-17 David S. Miller <davem@davemloft.net>
32472
32473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32474
728d7b43
JM
324752013-01-17 Joseph Myers <joseph@codesourcery.com>
32476
32477 [BZ #15023]
32478 * include/complex.h: Condition contents on [!_COMPLEX_H].
32479 (__kernel_casinhf): New prototype.
32480 (__kernel_casinh): Likewise.
32481 (__kernel_casinhl): Likewise.
32482 * math/Makefile (libm_calls): Add k_casinh.
32483 * math/k_casinh.c: New file.
32484 * math/k_casinhf.c: Likewise.
32485 * math/k_casinhl.c: Likewise.
32486 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32487 finite nonzero arguments.
32488 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32489 finite nonzero arguments.
32490 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32491 finite nonzero arguments.
32492 * math/s_casinh.c: Do not include <float.h>.
32493 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32494 * math/s_casinhf.c: Do not include <float.h>.
32495 (__casinhf): Move code for finite nonzero arguments to
32496 k_casinhf.c.
32497 * math/s_casinhl.c: Do not include <float.h>.
32498 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32499 redefine.
32500 (__casinhl): Move code for finite nonzero arguments to
32501 k_casinhl.c.
32502 * math/libm-test.inc (cacos_test): Add more tests.
32503 * sysdeps/i386/fpu/libm-test-ulps: Update.
32504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32505
2a26ef3a
PT
325062013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32507
32508 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32509 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32510 [!HAVE_MREMAP]: Remove [defined linux] case.
32511 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32512
a897655d
SP
325132013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32514
32515 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32516
881ebe89 325172013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32518
32519 * elf/elf.h (R_386_SIZE32): New relocation.
32520 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32521 R_386_SIZE32.
32522 (elf_machine_rela): Likewise.
32523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32524 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32525
59981e9b
JM
325262013-01-17 Joseph Myers <joseph@codesourcery.com>
32527
32528 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32529 (FP_FAST_FMA): Do not define.
32530 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32531 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32532 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32533 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32534 !_SOFT_FLOAT]: Likewise.
32535 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32536 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32537 value.
32538 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32539 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32540 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32541 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32542 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32543 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32544 file.
32545
cfa8054f
AS
325462013-01-16 Andreas Schwab <schwab@suse.de>
32547
32548 [BZ #14327]
32549 * include/stdlib.h (__mktemp): Add declaration.
32550 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32551 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32552
dd930cc5
SP
325532013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32554
881ebe89
SP
32555 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32556 definitions.
32557 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32558 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32559 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32560 definitions here.
32561 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32562 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32563 definitions.
32564 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32565 and ONE.
32566 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32567 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32568 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32569 definitions.
32570 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32571 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32572 definitions.
32573 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32574
dd930cc5
SP
32575 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32576
c19a9f89
DM
325772013-01-15 David S. Miller <davem@davemloft.net>
32578
1aa61767
DM
32579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32580 trunc{,f} to libm-sysdep_routes.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32583 file.
32584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32586 file.
32587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32588 file.
32589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32591 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32592 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32593 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32594 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32595 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32596 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32597
c42d5e98
DM
32598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32599 nearbyint{,f} to libm-sysdep_routes.
32600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32602 New file.
32603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32604 file.
32605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32606 New file.
32607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32608 file.
32609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32612 file.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32615 file.
32616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32617 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32618 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32619
c19a9f89
DM
32620 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32621 libc_feholdexcept and libc_fesetenv.
32622
357679d2
MF
326232013-01-15 Mike Frysinger <vapier@gentoo.org>
32624
32625 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32626
65a82e3d
DM
326272013-01-14 David S. Miller <davem@davemloft.net>
32628
8b954ab9
DM
32629 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32630 (SPARC_ASM_VIS2_IFUNC): Likewise.
32631 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32633 use of 'siam' instruction.
32634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32635 Likewise.
32636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32637 Likewise.
32638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32639 Likewise.
32640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32645 file.
32646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32647 file.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32649 file.
32650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32651 file.
32652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32657 new VIS2 routines.
32658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32661 Likewise.
32662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32667 routines to libm-sysdep_routines.
32668 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32669
65a82e3d
DM
32670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32671 fdim/fdimf to libm-sysdep_routines.
32672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32673 file.
32674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32676 file.
32677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32680 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32681 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32682 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32683 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32684
e34ab705
SP
326852013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32686
2a91b573
SP
32687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32688 to optimize copies.
32689
1066a534
SP
32690 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32693
e34ab705
SP
32694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32695 local variable MPTWO.
32696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32697 Likewise.
32698
aba5e596
MF
326992013-01-13 Mike Frysinger <vapier@gentoo.org>
32700
32701 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32702 GLOB_NOESCAPE.
32703
e557e9e5
MF
327042013-01-13 Mike Frysinger <vapier@gentoo.org>
32705
32706 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32707
0428cec9
MF
327082013-01-13 Mike Frysinger <vapier@gentoo.org>
32709
32710 * manual/pattern.texi (glob_t): Document gl_flags.
32711 (glob64_t): Likewise.
32712
8794a964
DM
327132013-01-11 David S. Miller <davem@davemloft.net>
32714
66438c3f
RM
32715 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32716 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32717 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32718 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32719 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32720 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32721 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32722 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32723 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32724 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32725 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32726 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32727 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32728
4ae4244d
DM
32729 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32730 sparc V9 rather than using V8 code.
32731 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32732 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32733
8794a964
DM
32734 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32735 Move to...
32736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32737 Here.
32738
6270516e
RM
327392013-01-11 Roland McGrath <roland@hack.frob.com>
32740
32741 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32742 not in the main loop.
32743 * configure: Regenerated.
32744
6a57d931
JM
327452013-01-11 Joseph Myers <joseph@codesourcery.com>
32746
32747 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32748 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32749 to just #else.
32750 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32751 [!__GLIBC_HAVE_LONG_LONG] case.
32752 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32753 condition to just #else.
32754 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32755 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32756 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32757 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32758 unconditional.
32759 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32760 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32761 #elif condition to just #else.
32762 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32763 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32764 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32765 #elif condition to just #else.
32766
0e8529e9
SE
327672013-01-11 Steve Ellcey <sellcey@mips.com>
32768
32769 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32770 (EF_MIPS_ARCH_64): Fix value.
32771 (EF_MIPS_ARCH_32R2): New.
32772 (EF_MIPS_ARCH_64R2): New.
32773
740b3dbe
L
327742013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32775
32776 * Makeconfig (+link-pie-before-libc): New.
32777 (+link-pie-after-libc): Likewise.
32778 (+link-pie-tests): Likewise.
32779 (+link-pie): Rewritten.
32780 (link-before-libc): Remove $(config-LDFLAGS).
32781 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32782 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32783 (config-LDFLAGS): Renamed to ...
32784 (rtld-LDFLAGS): This.
32785 (rtld-tests-LDFLAGS): New macro.
32786 (link-libc-rpath-link): Likewise.
32787 (link-libc-tests-rpath-link): Likewise.
32788 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32789 (link-libc): Prepand $(link-libc-rpath-link).
32790 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32791 (test-program-prefix): New macro.
32792 (test-via-rtld-prefix): Likewise.
32793 (test-program-cmd): Likewise.
32794 (host-test-program-cmd): Likewise.
32795 * Makefile ($(common-objpfx)testrun.sh): Replace
32796 $(run-program-prefix) with $(test-program-prefix).
32797 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32798 $(rtld-LDFLAGS).
32799 ($(common-objpfx)shlib.lds): Likewise.
32800 (build-module-helper): Likewise.
32801 ($(common-objpfx)format.lds): Likewise.
32802 * Rules (binaries-pie-tests): New.
32803 (binaries-pie-notests): Likewise.
32804 (binaries-pie): Rewritten.
32805 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32806 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32807 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32808 (make-test-out): Replace $(host-built-program-cmd) with
32809 $(host-test-program-cmd).
32810 * config.make.in (build-hardcoded-path-in-tests): New variable.
32811 * configure.in (--enable-hardcoded-path-in-tests): New configure
32812 option.
32813 (hardcoded_path_in_tests): New AC_SUBST.
32814 * configure: Regenerated.
32815 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32816 $(built-program-cmd) with $(test-program-cmd).
32817 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32818 (test_program_cmd): This.
32819 * elf/Makefile ($(objpfx)order.out): Run test with
32820 $(test-program-prefix).
32821 ($(objpfx)order2.out): Likewise.
32822 ($(objpfx)tst-initorder.out): Likewise.
32823 ($(objpfx)tst-initorder2.out): Likewise.
32824 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32825 $(test-program-cmd).
32826 ($(objpfx)tst-array1-static.out): Likewise.
32827 ($(objpfx)tst-array2.out): Likewise.
32828 ($(objpfx)tst-array3.out): Likewise.
32829 ($(objpfx)tst-array4.out): Likewise.
32830 ($(objpfx)tst-array5.out): Likewise.
32831 ($(objpfx)tst-array5-static.out): Likewise.
32832 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32833 $(test-program-cmd).
32834 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32835 $(run-program-prefix) with $(test-program-prefix).
32836 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32837 (test_program_prefix): This.
32838 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32839 $(run-program-prefix) with $(test-program-prefix).
32840 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32841 (test_program_prefix): This.
32842 * iconvdata/tst-tables.sh: Likewise.
32843 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32844 $(run-program-prefix) with $(test-program-prefix).
32845 ($(objpfx)tst-translit.out): Likewise.
32846 ($(objpfx)tst-gettext2.out): Likewise.
32847 ($(objpfx)tst-gettext4.out): Likewise.
32848 ($(objpfx)tst-gettext6.out): Likewise.
32849 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32850 (test_program_prefix): This.
32851 * intl/tst-gettext2.sh: Likewise.
32852 * intl/tst-gettext4.sh Likewise.
32853 * intl/tst-gettext6.sh: Likewise.
32854 * intl/tst-translit.sh: Likewise.
32855 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32856 with $(test-program-cmd).
32857 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32858 $(run-program-prefix) with $(test-program-prefix).
32859 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32860 (test_program_prefix): This.
32861 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32862 $(run-program-prefix) with $(test-program-prefix).
32863 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32864 (test_program_prefix): This.
32865 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32866 * posix/Makefile ($(objpfx)globtest.out): Replace
32867 $(run-via-rtld-prefix) and $(test-wrapper) with
32868 $(test-program-prefix) and $(test-via-rtld-prefix).
32869 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32870 $(test-program-prefix).
32871 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32872 $(host-test-program-cmd).
32873 (tst-spawn-ARGS): Likewise.
32874 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32875 $(test-program-prefix).
32876 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32877 (test_via_rtld_prefix): This.
32878 (test_wrapper): Renamed to ...
32879 (test_program_prefix): This.
32880 (run_program_prefix): Replaced by test_program_prefix.
32881 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32882 (test_program_prefix): This.
32883 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32884 with $(host-test-program-cmd).
32885 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32886 $(run-program-prefix) with $(test-program-prefix).
32887 ($(objpfx)tst-printf.out): Likewise.
32888 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32889 $(test-program-cmd).
32890 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32891 (test_program_prefix): This.
32892 * stdio-common/tst-unbputc.sh: Likewise.
32893 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32894 $(run-program-prefix) with $(test-program-prefix).
32895 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32896 (test_program_prefix): This.
32897 * string/Makefile ($(objpfx)tst-svc.out): Replace
32898 $(built-program-cmd) with $(test-program-cmd).
32899
c6fe55cf
AJ
329002013-01-11 Andreas Jaeger <aj@suse.de>
32901
32902 [BZ #15003]
32903 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32904 value. Sync with Linux 3.7.
32905
9e6919c8
DM
329062013-01-10 David S. Miller <davem@davemloft.net>
32907
32908 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32909 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32910 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32911
1c9f1a02
RM
329122013-01-10 Roland McGrath <roland@hack.frob.com>
32913
32914 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32915 never set.
32916 * configure: Regenerated.
32917
b9de2dde
DM
329182013-01-10 David S. Miller <davem@davemloft.net>
32919
32920 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32921 sparc V9 rather than using V8 code.
32922 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32923 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32924
e7f68ef4
RM
329252013-01-10 Roland McGrath <roland@hack.frob.com>
32926
32927 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32928 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32929 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32930 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32931 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32932 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32933 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32934 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32935 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32936 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32937 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32938 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32939 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32940 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32941 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32942 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32943 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32944 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32945 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32946 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32947 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32948 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32949 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32950 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32951 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32952 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32953 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32954
5a47cc9c
DM
329552013-01-10 David S. Miller <davem@davemloft.net>
32956
32957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32958
4cf8f209
L
329592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32960
32961 * posix/Makefile (tests-static): New variable.
32962 (tests): Add $(tests-static).
32963 (tst-exec-static-ARGS): New variable.
32964 (tst-spawn-static-ARGS): Likewise.
32965 * posix/tst-exec-static.c: New file.
32966 * posix/tst-spawn-static.c: Likewise.
32967 * posix/tst-exec.c: Support run directly.
32968 * posix/tst-spawn.c: Likewise.
32969
fed0faa1
JM
329702013-01-10 Joseph Myers <joseph@codesourcery.com>
32971
828beb13
JM
32972 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32973 long.
32974 * math/bits/mathcalls.h (llrint): Likewise.
32975 (llround): Likewise.
32976 * stdlib/stdlib.h (struct drand48_data): Likewise.
32977 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32978 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32979 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32980 Likewise.
32981 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32982 Likewise.
32983 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32984 (elf_greg_t): Likewise.
32985 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32986 (__jmp_buf): Likewise.
32987 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32988 definitions.
32989 (llrint): Likewise, for all definitions.
32990 (llrintl): Likewise.
32991
fed0faa1
JM
32992 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32993 Remove [__GNUC__] condition.
32994 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32995 condition to just [__USE_ISOC99].
32996 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32997
1a20cb20
L
329982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32999
33000 [BZ #14200]
33001 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33002 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33003 defined.
33004 (_POSIX_V6_ILP32_OFF32): Likewise.
33005 (_XBS5_ILP32_OFF32): Likewise.
33006 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33007 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33008
751b85f7
SP
330092013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33010
7490eb81
SP
33011 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33012
751b85f7
SP
33013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33014 doubles __mpexp_twomm1. Adjust usage.
33015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33016 Remove.
33017
988197f0
AS
330182013-01-10 Andreas Schwab <schwab@suse.de>
33019
33020 [BZ #14964]
33021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33022 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33023
e83d7298
DM
330242013-01-09 David S. Miller <davem@davemloft.net>
33025
034ed64b 33026 [BZ #15003]
57f41c40
AS
33027 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33028 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33029 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33030 (TCP_FASTOPEN): Define.
e83d7298
DM
33031 (tcp_repair_opt): New structure.
33032 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33033 enum values.
57f41c40
AS
33034 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33035 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33036 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33037 (tcp_cookie_transactions): New structure.
33038
d5e0b9bd
AB
330392013-01-09 Anton Blanchard <anton@samba.org>
33040
33041 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33042 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33043 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33044 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33045
0c07e3ea
JM
330462013-01-09 Joseph Myers <joseph@codesourcery.com>
33047
33048 * include/features.h (__USE_ANSI): Remove.
33049
232f7002
RM
330502013-01-09 Roland McGrath <roland@hack.frob.com>
33051
ad98e30c
RM
33052 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33053
232f7002
RM
33054 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33055
950c99ca
SP
330562013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33057
b5792741
SP
33058 * sysdeps/s390/fpu/libm-test-ulps: Update.
33059
47cf2278
SP
33060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33061
950c99ca
SP
33062 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33063 (__acr): Likewise.
33064 (__cpy): Likewise.
33065 (norm): Likewise.
33066 (denorm): Likewise.
33067 (__mp_dbl): Likewise.
33068 (__dbl_mp): Likewise.
33069 (add_magnitudes): Likewise.
33070 (sub_magnitudes): Likewise.
33071 (__add): Likewise.
33072 (__sub): Likewise.
33073 (__mul): Likewise.
33074 (__inv): Likewise.
33075 (__dvd): Likewise.
33076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33077 (__acr): Likewise.
33078 (__cpy): Likewise.
33079 (norm): Likewise.
33080 (denorm): Likewise.
33081 (__mp_dbl): Likewise.
33082 (__dbl_mp): Likewise.
33083 (add_magnitudes): Likewise.
33084 (sub_magnitudes): Likewise.
33085 (__add): Likewise.
33086 (__sub): Likewise.
33087 (__mul): Likewise.
33088 (__inv): Likewise.
33089 (__dvd): Likewise.
33090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33091 (__acr): Likewise.
33092 (__cpy): Likewise.
33093 (norm): Likewise.
33094 (denorm): Likewise.
33095 (__mp_dbl): Likewise.
33096 (__dbl_mp): Likewise.
33097 (add_magnitudes): Likewise.
33098 (sub_magnitudes): Likewise.
33099 (__add): Likewise.
33100 (__sub): Likewise.
33101 (__mul): Likewise.
33102 (__inv): Likewise.
33103 (__dvd): Likewise.
33104
eede9df9
JM
331052013-01-08 Joseph Myers <joseph@codesourcery.com>
33106
33107 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33108 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33109 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33110 2 && __USE_EXTERN_INLINES]: Likewise.
33111
c40ea3d9
AJ
331122013-01-08 Andreas Jaeger <aj@suse.de>
33113
33114 [BZ# 14985]
33115 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33116 Remove.
33117 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33118 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33119
2ccdea26
AB
331202013-01-07 Anton Blanchard <anton@samba.org>
33121
33122 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33123 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33124 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33125 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33126 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33127 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33128 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33129 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33134 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33135 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33136 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33137 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33138 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33140 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33142 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33143 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33145 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33146 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33147 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33148 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33149 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33151 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33152 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33155 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33156 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33157 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33158 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33159 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33161 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33164 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33165
a9708fed
JM
331662013-01-07 Joseph Myers <joseph@codesourcery.com>
33167
375607b9
JM
33168 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33169 (__MALLOC_PMT): Likewise.
33170 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33171 [__GNUC__], only on [_LIBC].
33172 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33173 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33174 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33175 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33176 forward declaration.
33177 (realloc_hook_ini): Likewise.
33178 (memalign_hook_ini): Likewise.
33179 (__libc_memalign): Do not use __MALLOC_PMT in variable
33180 declaration.
33181 (__libc_valloc): Likewise.
33182 (__libc_pvalloc): Likewise.
33183 (__libc_calloc): Likewise.
33184 (__posix_memalign): Likewise.
33185
a9708fed
JM
33186 [BZ #14996]
33187 * math/s_casinh.c: Include <float.h>.
33188 (__casinh): Do not do computation with squaring and square root
33189 for large arguments.
33190 * math/s_casinhf.c: Include <float.h>.
33191 (__casinhf): Do not do computation with squaring and square root
33192 for large arguments.
33193 * math/s_casinhl.c: Include <float.h>.
33194 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33195 (__casinhl): Do not do computation with squaring and square root
33196 for large arguments.
33197 * math/libm-test.inc (casin_test): Add more tests.
33198 (casinh_test): Likewise.
33199 * sysdeps/i386/fpu/libm-test-ulps: Update.
33200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33201
afec409a
L
332022013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33203
33204 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33205 (__x86_64_raw_data_cache_size): Likewise.
33206 (__x86_64_data_cache_size_half): Likewise.
33207 (__x86_64_raw_data_cache_size_half): Likewise.
33208 (__x86_64_shared_cache_size): Likewise.
33209 (__x86_64_raw_shared_cache_size): Likewise.
33210 (__x86_64_shared_cache_size_half): Likewise.
33211 (__x86_64_raw_shared_cache_size_half): Likewise.
33212 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33213 to ...
33214 (__x86_data_cache_size): This.
33215 (__x86_64_raw_data_cache_size): Renamed to ...
33216 (__x86_raw_data_cache_size): This.
33217 (__x86_64_data_cache_size_half): Renamed to ...
33218 (__x86_data_cache_size_half): This.
33219 (__x86_64_raw_data_cache_size_half): Renamed to ...
33220 (__x86_raw_data_cache_size_half): This.
33221 (__x86_64_shared_cache_size): Renamed to ...
33222 (__x86_shared_cache_size): This.
33223 (__x86_64_raw_shared_cache_size): Renamed to ...
33224 (__x86_raw_shared_cache_size): This.
33225 (__x86_64_shared_cache_size_half): Renamed to ...
33226 (__x86_shared_cache_size_half): This.
33227 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33228 (__x86_raw_shared_cache_size_half): This.
33229 * sysdeps/x86_64/memcpy.S: Updated.
33230 * sysdeps/x86_64/memset.S: Likewise.
33231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33234
0b3986d0
DM
332352013-01-04 David S. Miller <davem@davemloft.net>
33236
33237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33238
e47686e9
AS
332392013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33240
d643bac1
AS
33241 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33242 1 to avoid redefinition warning.
33243 (__USE_GNU): Don't define.
33244 (init_signaling_nan): Protoize.
33245
e47686e9
AS
33246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33247
b18decba
SP
332482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33249
fffb407f
SP
33250 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33252 (__cpymn): Likewise.
33253 (norm): Remove commented code.
33254 (denorm): Likewise.
33255 (__mp_dbl): Likewise.
33256 (__inv): Likewise.
33257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33258 (__cpymn): Likewise.
33259 (norm): Remove commented code.
33260 (denorm): Likewise.
33261 (__mp_dbl): Likewise.
33262 (__inv): Likewise.
33263
b18decba
SP
33264 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33265 mp_no value for 1.0 and 2.0.
33266 (norm): Use RADIXI instead of radixi.d.
33267 (denorm): Likewise.
33268 (__mul): Use 0.0 instead of zero.d.
33269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33270 mp_no value for 1.0 and 2.0.
33271 (norm): Use RADIXI instead of radixi.d.
33272 (denorm): Likewise.
33273 (__mul): Use 0.0 instead of zero.d.
33274
cdc1c96f
JM
332752013-01-04 Joseph Myers <joseph@codesourcery.com>
33276
33277 [BZ #14994]
33278 * math/s_casinh.c (__casinh): Reduce finite argument to first
33279 quadrant then set signs of results at the end.
33280 * math/s_casinhf.c (__casinhf): Likewise.
33281 * math/s_casinhl.c (__casinhl): Likewise.
33282 * math/libm-test.inc (casin_test): Add more tests.
33283 (casinh_test): Likewise.
33284 * sysdeps/i386/fpu/libm-test-ulps: Update.
33285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33286
302913e1
SP
332872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33288
6420d207
SP
33289 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33290
a9e48ab4
SP
33291 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33292
b7837264
SP
33293 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33294 declarations.
33295 (denorm): Likewise.
33296 (__mp_dbl): Likewise.
33297 (__inv): Likewise.
33298
f8af25d2
SP
33299 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33300 and adjust the header comment.
33301
302913e1
SP
33302 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33303 variable name from declaration.
33304
5d7dd1ca
L
333052013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33306
33307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33308 Initialize COMMON_CPUID_INDEX_7 element.
33309 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33310 (CPUID_RTM): Likewise.
33311 (HAS_RTM): Likewise.
33312 (COMMON_CPUID_INDEX_7): New enum.
33313
2f5f40f4
AS
333142013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33315
33316 [BZ #14981]
33317 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33318 size is zero, record memory as freed.
33319
4056f4a0
AJ
333202013-01-03 Andreas Jaeger <aj@suse.de>
33321
33322 * po/ia.po: Add new Interlingua translation.
33323
ab15736f 333242012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33325
33326 * locale/programs/localedef.c: Fix description of '--posix' flag.
33327
568035b7
JM
333282013-01-02 Joseph Myers <joseph@codesourcery.com>
33329
e6898b8d
JM
33330 * NEWS: Update dates in second copyright notice.
33331 * README: Update copyright dates in example.
33332 * manual/libc.texinfo: Update copyright dates.
33333 * scripts/test-installation.pl: Update copyright date in --version
33334 output.
33335
0e2f9562
JM
33336 * hurd/ctty-input.c: Fix copyright notice formatting.
33337 * hurd/ctty-output.c: Likewise.
33338 * hurd/dtable.c: Likewise.
33339 * hurd/hurd-raise.c: Likewise.
33340 * hurd/hurdprio.c: Likewise.
33341 * hurd/msgportdemux.c: Likewise.
33342 * misc/sys/file.h: Likewise.
33343 * misc/sys/ioctl.h: Likewise.
33344 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33345 * sysdeps/mach/hurd/chdir.c: Likewise.
33346 * sysdeps/mach/hurd/fchdir.c: Likewise.
33347 * sysdeps/mach/hurd/rename.c: Likewise.
33348 * sysdeps/mach/hurd/rmdir.c: Likewise.
33349 * sysdeps/mach/hurd/seekdir.c: Likewise.
33350 * sysdeps/mach/hurd/setsid.c: Likewise.
33351 * sysdeps/posix/wait3.c: Likewise.
33352
568035b7
JM
33353 * All files with FSF copyright notices: Update copyright dates
33354 using scripts/update-copyrights.
33355 * intl/plural.c: Regenerated.
33356 * locale/programs/charmap-kw.h: Likewise.
33357 * locale/programs/locfile-kw.h: Likewise.
33358
da08f647
SP
333592013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33360
0f5477af
SP
33361 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33362 four values.
33363
44e0d4c2
SP
33364 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33365 calculation loop and add branch prediction.
33366
4d55b4e5
SP
33367 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33368 check access beyond bounds of m1np.
33369
da08f647
SP
33370 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33371 MPTWO.
33372 (__inv): Remove local variable MPTWO to use the global
33373 constant.
33374 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33375 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33376 variable MPTWO.
33377 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33378 MP3HALFS static const.
33379
8e051029
DM
333802013-01-01 David S. Miller <davem@davemloft.net>
33381
33382 * po/ca.po: Update from translation team.
33383
f4cf5f2d
JM
333842013-01-01 Joseph Myers <joseph@codesourcery.com>
33385
33386 * scripts/update-copyrights: New file.
33387 * Makeconfig: Reformat copyright notice.
33388 * ctype/ctype.h: Likewise.
33389 * debug/swprintf_chk.c: Likewise.
33390 * elf/dl-cache.c: Likewise.
33391 * elf/dl-debug.c: Likewise.
33392 * elf/dl-object.c: Likewise.
33393 * grp/initgroups.c: Likewise.
33394 * hurd/Makefile: Likewise.
33395 * hurd/hurd/signal.h: Likewise.
33396 * hurd/hurdfault.c: Likewise.
33397 * hurd/hurdioctl.c: Likewise.
33398 * hurd/hurdlookup.c: Likewise.
33399 * hurd/intr-msg.c: Likewise.
33400 * iconv/gconv_open.c: Likewise.
33401 * libio/swprintf.c: Likewise.
33402 * locale/lc-ctype.c: Likewise.
33403 * locale/nl_langinfo.c: Likewise.
33404 * mach/Machrules: Likewise.
33405 * mach/Makefile: Likewise.
33406 * malloc/obstack.h: Likewise.
33407 * manual/Makefile: Likewise.
33408 * manual/tsort.awk: Likewise.
33409 * misc/bits/stab.def: Likewise.
33410 * nis/nis_print_group_entry.c: Likewise.
33411 * nis/nis_table.c: Likewise.
33412 * nis/nss_compat/compat-pwd.c: Likewise.
33413 * nis/nss_compat/compat-spwd.c: Likewise.
33414 * po/Makefile: Likewise.
33415 * posix/fnmatch.c: Likewise.
33416 * posix/regex.h: Likewise.
33417 * resolv/Makefile: Likewise.
33418 * resolv/nss_dns/dns-network.c: Likewise.
33419 * resolv/res_hconf.c: Likewise.
33420 * scripts/gen-sorted.awk: Likewise.
33421 * soft-fp/soft-fp.h: Likewise.
33422 * stdio-common/printf.h: Likewise.
33423 * stdlib/monetary.h: Likewise.
33424 * stdlib/random.c: Likewise.
33425 * stdlib/random_r.c: Likewise.
33426 * sysdeps/generic/Makefile: Likewise.
33427 * sysdeps/gnu/Makefile: Likewise.
33428 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33436 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33438 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33439 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33440 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33441 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33442 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33444 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33445 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33446 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33447 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33448 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33449 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33450 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33456 * sysdeps/mach/hurd/errnos.awk: Likewise.
33457 * sysdeps/mach/hurd/fork.c: Likewise.
33458 * sysdeps/mach/hurd/getcwd.c: Likewise.
33459 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33460 * sysdeps/mach/hurd/mmap.c: Likewise.
33461 * sysdeps/mach/hurd/utimes.c: Likewise.
33462 * sysdeps/mach/hurd/xmknod.c: Likewise.
33463 * sysdeps/posix/profil.c: Likewise.
33464 * sysdeps/posix/readdir_r.c: Likewise.
33465 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33466 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33467 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33470 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33471 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33472 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33474 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33475 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33476 * sysdeps/pthread/lio_listio.c: Likewise.
33477 * sysdeps/sparc/dl-procinfo.h: Likewise.
33478 * sysdeps/unix/i386/sysdep.S: Likewise.
33479 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33480 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33481 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33482 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33484 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33485 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33486 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33487 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33488 * sysdeps/wordsize-32/divdi3.c: Likewise.
33489 * time/sys/time.h: Likewise.
33490 * wcsmbs/Makefile: Likewise.
33491
0549fbba
DM
334922013-01-01 David S. Miller <davem@davemloft.net>
33493
a141f1a7
DM
33494 * po/fr.po: Update from translation team.
33495
0549fbba
DM
33496 * catgets/gencat.c: Update copyright year.
33497 * csu/version.c: Likewise.
33498 * debug/catchsegv.sh: Likewise.
33499 * debug/pcprofiledump.c: Likewise.
33500 * debug/xtrace.sh: Likewise.
33501 * elf/ldconfig.c: Likewise.
33502 * elf/ldd.bash.in: Likewise.
33503 * elf/pldd.c: Likewise.
33504 * elf/sotruss.ksh: Likewise.
33505 * elf/sprof.c: Likewise.
33506 * iconv/iconv_prog.c: Likewise.
33507 * iconv/iconvconfig.c: Likewise.
33508 * locale/programs/locale.c: Likewise.
33509 * locale/programs/localedef.c: Likewise.
33510 * login/programs/pt_chown.c: Likewise.
33511 * malloc/memusage.sh: Likewise.
33512 * malloc/memusagestat.c: Likewise.
33513 * malloc/mtrace.pl: Likewise.
33514 * nscd/nscd.c: Likewise.
33515 * nss/getent.c: Likewise.
33516 * nss/makedb.c: Likewise.
33517 * posix/getconf.c: Likewise.
33518
18ea052c
SP
335192012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33520
33521 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33522 numbers.
33523
9c89fca6
MF
335242012-12-30 Mike Frysinger <vapier@gentoo.org>
33525
33526 * math/bits/mathcalls.h (modf): Use __nonnull.
33527
085ec079
SP
335282012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33529
33530 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33531 (split): Use macro CN instead of the bare value.
33532 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33533 could be used.
33534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33535 instead of the bare value.
33536 (power1): Likewise.
33537
6d9f97e1
SP
335382012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33539
d63f73be
SP
33540 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33541 __ATAN_TWOM.
33542 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33543
6d9f97e1
SP
33544 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33545 their values.
33546 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33548 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33549 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33550
4c4febf5
AJ
335512012-12-28 Andreas Jaeger <aj@suse.de>
33552
af5843ef
AJ
33553 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33554 values are from Linux 3.7.
33555
4c4febf5
AJ
33556 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33557 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33558
99136f82
SP
335592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33560
2f216c3c 33561 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33562 TRUE case.
33563
99136f82
SP
33564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33565 (norm): Likewise.
33566 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33567 variables with preprocessor constants.
33568 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33569 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33570 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33571
7fffbdff
BH
335722012-12-27 Bruno Haible <bruno@clisp.org>
33573
33574 [BZ #14317]
33575 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33576 only if needed.
33577
b76eb5f0
SP
335782012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33579
31a7fe5c
SP
33580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33581 and use variable directly.
33582 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33583
b76eb5f0
SP
33584 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33585 MPONE.
33586 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33587 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33588 variable MPONE.
33589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33591 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33592 include directive. Remove local variable MPONE.
33593 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33596
2c8bfe7d
DM
335972012-12-25 David S. Miller <davem@davemloft.net>
33598
33599 * version.h (RELEASE): Set to "development".
33600 (VERSION): Set to "2.17.90".
33601 * NEWS: Add 2.18 section.
33602
147d03b0
DM
336032012-12-21 David S. Miller <davem@davemloft.net>
33604
33605 * po/hr.po: Update from translation team.
33606
a8ebb2b9
AK
336072012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33608
33609 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33610
95b4f1b6
SE
336112012-12-19 Steve Ellcey <sellcey@mips.com>
33612
b2d94007 33613 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33614
cedb2a90
MS
336152012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33616
33617 * manual/contrib.texi (Contributors): Spelling correction.
33618
bbf527d6
DM
336192012-12-15 David S. Miller <davem@davemloft.net>
33620
33621 * po/ru.po: Update from translation team.
33622
bc38c906
DM
336232012-12-13 David S. Miller <davem@davemloft.net>
33624
85429b1a
DM
33625 * NEWS: Mention IFUNC testsuite enhancements.
33626
d283e353
DM
33627 * po/pl.po: Update from translation team.
33628 * po/bg.po: Likewise.
33629
bc38c906
DM
33630 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33631 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33632
a181b0d7
DM
336332012-12-11 David S. Miller <davem@davemloft.net>
33634
4641d57e
DM
33635 * po/sv.po: Update from translation team.
33636
f7bc6495
DM
33637 * po/vi.po: Update from translation team.
33638
6fc9048f
DM
33639 * po/cs.po: Update from translation team.
33640
a181b0d7
DM
33641 * po/de.po: Update from translation team.
33642 * po/eo.po: Likewise.
33643 * po/nl.po: Likewise.
33644
f70bfe80
SP
336452012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33646
3c8b4190
SP
33647 [BZ #14246]
33648 * manual/argp.texi (Argp Helper Functions): Move node to follow
33649 Argp Parsing State.
33650
f70bfe80
SP
33651 [BZ #14872]
33652 * manual/conf.texi (Limits on File System Capacity): Mention if
33653 terminating null is included in the max size.
33654
188f0adf
AJ
336552012-12-10 Andreas Jaeger <aj@suse.de>
33656
33657 * po/cs.po: Update from translation team.
33658
56e7d3ad
SP
336592012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33660
33661 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33662 void pointer and cast to uintptr_t.
33663 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33664 path.
33665 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33666 * sysdeps/s390/s390-64/memset.S: Likewise.
33667
76f2d2ea 336682012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33669
33670 [BZ #14833]
33671 * menual/message.texi (Message Translation): Fix typos.
33672 (Helper programs for gettext): Likewise.
33673
67cbf9a2
AS
336742012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33675
33676 [BZ #14898]
33677 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33678 Change to -1.
33679
682d0e9a
DM
336802012-12-07 David S. Miller <davem@davemloft.net>
33681
33682 * po/libc.pot: Update.
33683
573cd484
RH
336842012-12-07 Richard Henderson <rth@redhat.com>
33685
7e9da188 33686 [BZ #10114]
573cd484
RH
33687 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33688 normal/normal case to before the switch.
33689 (_FP_DIV): Likewise.
33690
e933a943
MF
336912012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33692 Mike Frysinger <vapier@gentoo.org>
33693
33694 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33695 check for __NR_fadvise64_64.
33696
82123268
CM
336972012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33698
33699 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33700 0, not just to plain "0" as a statement.
33701 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33702 with cw.
33703
d9814526
JM
337042012-12-06 Joseph Myers <joseph@codesourcery.com>
33705
33706 * NEWS: Use sourceware.org in Bugzilla URL.
33707
7728c574
SP
337082012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33709
f16946dd
SP
33710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33711 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33712
5704bbcb
SP
33713 * stdio-common/tst-put-error.c (do_test): Add newline to the
33714 padded test to ensure flush.
33715
17aa0516
JL
337162012-12-05 Jeff Law <law@redhat.com>
33717
33718 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33719
363313b5
JM
337202012-12-05 Joseph Myers <joseph@codesourcery.com>
33721
effbd42a
JM
33722 * README: Don't refer to ports add-on as distributed separately.
33723 Mention AArch64 in list of systems supported in the ports add-on.
33724
87600365
JM
33725 * LICENSES: Add more non-FSF copyright and license notices.
33726
a0d7066a
JM
33727 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33728 ((unused)).
33729
66ca5a5b
JM
33730 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33731
363313b5
JM
33732 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33733 10000 as width of padded output.
33734
b37984ad
JM
337352012-12-04 Joseph Myers <joseph@codesourcery.com>
33736
9003570a
JM
33737 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33738
b37984ad
JM
33739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33740 variable LX with __attribute__ ((unused)).
33741 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33742 Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33746 with __attribute__ ((unused)).
33747
c8df52ec
DM
337482012-12-04 David S. Miller <davem@abraco.davemloft.net>
33749
33750 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33751
b3b099af
JM
337522012-12-04 Joseph Myers <joseph@codesourcery.com>
33753
c33aa6e3
JM
33754 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33755 (CFLAGS-nldbl-acos.c): New variable.
33756 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33757 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33758 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33759 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33760 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33761 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33762 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33763 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33764 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33765 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33766 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33767 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33768 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33769 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33770 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33771 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33772 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33773 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33774 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33775 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33776 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33777 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33778 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33779 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33780 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33781 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33782 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33783 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33784 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33785 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33786 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33787 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33788 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33789 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33790 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33791 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33792 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33793 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33794 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33795 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33796 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33797 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33798 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33799 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33800 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33801 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33802 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33803 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33804 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33805 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33806 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33807 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33808 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33809 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33810 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33811 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33812 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33813 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33814 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33815 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33816 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33817 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33818 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33819 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33820 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33821 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33822 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33823 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33824 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33825 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33826 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33827 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33828 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33829 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33830 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33831 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33832 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33833 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33834 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33835 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33836 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33837 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33838 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33839 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33840 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33841 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33842 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33843 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33844 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33845 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33846 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33847 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33848 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33849 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33850 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33851 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33852 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33853
20f0018d
JM
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33855 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33856
b3b099af
JM
33857 [BZ #14914]
33858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33859 whole low double instead of just low 47 bits when splitting values
33860 into two parts.
33861
029264d1
AM
338622012-12-03 Allan McRae <allan@archlinux.org>
33863
33864 * manual/stdio.texi (Predefined Printf Handlers): Remove
33865 @hsep and @vsep usage.
33866
c9d6789e
MF
338672012-12-03 Mike Frysinger <vapier@gentoo.org>
33868
33869 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33870 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33871
4b7634a5
JL
338722012-12-03 Jeff Law <law@redhat.com>
33873
33874 * time/sys/time.h (settimeofday): Do not mark TV argument
33875 as __nonnull.
33876
eb6cbd24
MF
338772012-12-01 Mike Frysinger <vapier@gentoo.org>
33878
33879 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33880 when currently writing and seek to current position when not.
33881 * libio/Makefile (tests): Remove bug-fclose1.
33882 * libio/bug-fclose1.c: Delete.
33883
f638872a
JM
338842012-12-01 Joseph Myers <joseph@codesourcery.com>
33885
33886 * manual/arith.texi (feenableexcept): Fix typo.
33887 (fedisableexcept): Likewise.
33888
48085d14
RM
338892012-11-30 Roland McGrath <roland@hack.frob.com>
33890
33891 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33892 second, differently-typed declaration, rather than a cast.
33893
1a538b9f
SP
338942012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33895
33896 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33897 * include/rpc/svc.h: ... here.
33898
d07f2ff1 338992012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33900
33901 [BZ #13013]
33902 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33903 depending n and resplen2 to catch cases where answer
33904 equals answerp2.
33905
c93ec1f0
CD
339062012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33907
33908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33909 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33910
37db69de
MF
339112012-11-29 Mike Frysinger <vapier@gentoo.org>
33912
33913 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33914
e10c4e4f
RM
339152012-11-29 Roland McGrath <roland@hack.frob.com>
33916
33917 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33918
2af1b328
JL
339192012-11-28 Jeff Law <law@redhat.com>
33920
33921 [BZ #13761]
33922 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33923 dataset_temporary. Track alloca usage into alloca_used.
33924 If dataset is large allocate and release it via malloc/free.
33925
111db5b1
FW
339262012-06-04 Florian Weimer <fweimer@redhat.com>
33927
f06cc227 33928 [BZ #14197]
111db5b1
FW
33929 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33930
dd694abd
DM
339312012-11-28 David S. Miller <davem@davemloft.net>
33932
33933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33934
9984dd01
JM
339352012-11-28 Joseph Myers <joseph@codesourcery.com>
33936
33937 [BZ #14803]
33938 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33939 of pi/2 rounded to nearest to 64 bits.
33940 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33941 nearest to 64 bits.
33942 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33943 bits.
33944
14bc93a9
JL
339452012-11-28 Jeff Law <law@redhat.com>
33946 Martin Osvald <mosvald@redhat.com>
33947
33948 [BZ #14889]
33949 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33950 * sunrpc/svc.c: Include time.h.
33951 (__svc_accept_failed): New function.
33952 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33953 any reason other than EINTR, call __svc_accept_failed.
33954 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33955 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33956
e3c6aa3a
AS
339572012-11-28 Andreas Schwab <schwab@suse.de>
33958
33959 * scripts/abilist.awk: Also handle indirect functions in .opd
33960 section.
33961
1bead169
JM
339622012-11-28 Joseph Myers <joseph@codesourcery.com>
33963
33964 [BZ #13881]
33965 * sysdeps/x86/fpu/powl_helper.c: New file.
33966 * sysdeps/x86/fpu/Makefile: Likewise.
33967 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33968 (p3): New object.
33969 (__ieee754_powl): Use __powl_helper for finite arguments except
33970 integer exponents below 8.
33971 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33972 (p3): New object.
33973 (__ieee754_powl): Use __powl_helper for finite arguments except
33974 integer exponents below 8.
33975 * math/libm-test.inc (pow_test): Add more tests and enable some
33976 previously disabled tests.
33977 * sysdeps/i386/fpu/libm-test-ulps: Update.
33978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33979
0817d63d
SP
339802012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33981 Carlos O'Donell <carlos_odonell@mentor.com>
33982
33983 * nss/makedb.c (is_prime): Assert that input is odd and greater
33984 than 4. Note that fact in a comment too.
33985 (next_prime): Add 4 to input.
33986
de2fd463
SP
339872012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33988
33989 [BZ #11741]
33990 * libio/Makefile (tests): Add test case tst-fwrite-error.
33991 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33992 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33993 * libio/tst-fwrite-error.c: New test case.
33994
c515fb51
L
339952012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33996
33997 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33998 before casting to void *.
33999 * include/libc-internal.h (__pointer_type): New macro.
34000 (__integer_if_pointer_type_sub): Likewise.
34001 (__integer_if_pointer_type): Likewise.
34002 (cast_to_integer): Likewise.
34003 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34004 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34005 before casting to atomic64_t.
34006 (atomic_exchange_acq): Likewise.
34007 (__arch_exchange_and_add_body): Likewise.
34008 (__arch_add_body): Likewise.
34009 (atomic_add_negative): Likewise.
34010 (atomic_add_zero): Likewise.
34011
4cf77aa9
JM
340122012-11-26 Joseph Myers <joseph@codesourcery.com>
34013
34014 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34015 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34016 (add_fdes): Likewise.
34017 (linear_search_fdes): Likewise.
34018 (binary_search_unencoded_fdes): Likewise.
34019
d260b3b4
AS
340202012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34021
34022 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34023
67060746
AC
340242012-11-24 Adam Conrad <adconrad@0c3.net>
34025
34026 * configure.in: Autodetect C++ header directories.
34027 * configure: Regenerated.
34028
800938a1
MF
340292012-11-23 Mike Frysinger <vapier@gentoo.org>
34030
34031 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34032
4e6e34e6
AS
340332012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34034
34035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34036
7c7feb47
JM
340372012-11-22 Joseph Myers <joseph@codesourcery.com>
34038
7184dcdf
JM
34039 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34040 LDBL_MANT_DIG == 106]: Disable some tests.
34041 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34042 Likewise.
34043 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34044 Likewise.
34045
0a42601f
JM
34046 [BZ #14871]
34047 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34048 input for small inputs. Return +/- pi/2 for large inputs.
34049 * math/libm-test.inc (atan_test): Add more tests.
34050
79c9b9fe
JM
34051 * sysdeps/generic/unwind-dw2-fde-glibc.c
34052 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34053 __attribute__ ((unused)).
34054
c60d3bf2
JM
34055 [BZ #14645]
34056 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34057 x * y if x and y are nonzero and z is zero.
34058
ef1e0867
JM
34059 [BZ #14811]
34060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34061 nonzero exponents with absolute value below 0x1p-117 to +/-
34062 0x1p-117.
34063
1468ded3
JM
34064 [BZ #14869]
34065 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34066 up arguments below 2**-450, not just those below 2**-500.
34067 * math/libm-test.inc (hypot_test): Add another test.
34068
8e27e3cc
JM
34069 [BZ #14868]
34070 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34071 Return a+b for ratio over 2**120, not 2**60.
34072 * math/libm-test.inc (hypot_test): Add another test.
34073
c9c0279b
JM
34074 * math/libm-test.inc (clog_test): Use
34075 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34076 (clog10_test): Likewise.
34077
7c7feb47
JM
34078 [BZ #6778]
34079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34080
fff1530e
AS
340812012-11-22 Andreas Schwab <schwab@suse.de>
34082
34083 * sysdeps/i386/fpu/libm-test-ulps: Update.
34084
94558d30
PT
340852012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34086
34087 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34088 printf output with newline.
34089
7e1be741
L
340902012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34091
6bfea974
L
34092 [BZ #14865]
34093 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34094 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34095 -z nodlopen, -z initfirst and -z execstack support.
34096 * configure: Regenerated.
34097
7e1be741
L
34098 * elf/elf.h (DF_1_NODIRECT): New macro.
34099 (DF_1_IGNMULDEF): Likewise.
34100 (DF_1_NOKSYMS): Likewise.
34101 (DF_1_NOHDR): Likewise.
34102 (DF_1_EDITED): Likewise.
34103 (DF_1_NORELOC): Likewise.
34104 (DF_1_SYMINTPOSE): Likewise.
34105 (DF_1_GLOBAUDIT): Likewise.
34106 (DF_1_SINGLETON): Likewise.
34107 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34108 DT_1_SUPPORTED_MASK bits.
34109 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34110
105ce2ce
CD
341112012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34112
34113 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34114
123be9de
TS
341152012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34116
d072f3f7
TS
34117 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34118 macro.
34119
123be9de
TS
34120 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34121 (sendmmsg): Move declarations...
34122 * socket/sys/socket.h: ... here.
34123 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34124 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34125 include it from...
34126 * socket/recvmmsg.c: ... this new file.
34127 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34128 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34129 definition of __sendmmsg hidden.
34130 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34131 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34132 Move ENOSYS stub into and include it from...
34133 * socket/sendmmsg.c: ... this new file.
34134 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34135 (sysdep_routines): Move recvmmsg and sendmmsg...
34136 * socket/Makefile (routines): ... here.
34137 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34138 (GLIBC_PRIVATE): Add __sendmmsg.
34139 * include/sys/socket.h (__sendmmsg): Add declarations.
34140 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34141 sendmmsg.
34142
cf9a5d18
JM
341432012-11-20 Joseph Myers <joseph@codesourcery.com>
34144
34145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34146 variable I1 with __attribute__ ((unused)).
34147 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34148
ecd4caf9
JM
341492012-11-19 Joseph Myers <joseph@codesourcery.com>
34150
be14d48f
JM
34151 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34152 DUMMY variables with __attribute__ ((unused)).
34153
ecd4caf9
JM
34154 * bits/byteswap.h: Include <bits/types.h>.
34155 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34156
986cab95
PT
341572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34158
34159 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34160 string_t. Do not manually set errno.
34161 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34162 length with __strnlen. Make sure to both set errno and return it on
34163 failure.
34164
6d33cc9d
DM
341652012-11-19 David S. Miller <davem@davemloft.net>
34166
34167 With help from Joseph Myers.
34168 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34169 very large arguments properly.
34170 * math/libm-test.inc (atan_test): New tests.
34171 (atan2_test): New tests.
34172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34174
ee663277
JM
341752012-11-19 Joseph Myers <joseph@codesourcery.com>
34176
877f2d8e
JM
34177 [BZ #14856]
34178 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34179 Define to 3.
34180
116fc08a
JM
34181 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34182 [POSIX] (EADDRNOTAVAIL): Likewise.
34183 [POSIX] (EAFNOSUPPORT): Likewise.
34184 [POSIX] (EALREADY): Likewise.
34185 [POSIX] (ECONNABORTED): Likewise.
34186 [POSIX] (ECONNREFUSED): Likewise.
34187 [POSIX] (ECONNRESET): Likewise.
34188 [POSIX] (EDESTADDRREQ): Likewise.
34189 [POSIX] (EDQUOT): Likewise.
34190 [POSIX] (EHOSTUNREACH): Likewise.
34191 [POSIX] (EIDRM): Likewise.
34192 [POSIX] (EISCONN): Likewise.
34193 [POSIX] (ELOOP): Likewise.
34194 [POSIX] (EMULTIHOP): Likewise.
34195 [POSIX] (ENETDOWN): Likewise.
34196 [POSIX] (ENETUNREACH): Likewise.
34197 [POSIX] (ENOBUFS): Likewise.
34198 [POSIX] (ENODATA): Likewise.
34199 [POSIX] (ENOLINK): Likewise.
34200 [POSIX] (ENOMSG): Likewise.
34201 [POSIX] (ENOPROTOOPT): Likewise.
34202 [POSIX] (ENOSR): Likewise.
34203 [POSIX] (ENOSTR): Likewise.
34204 [POSIX] (ENOTCONN): Likewise.
34205 [POSIX] (ENOTSOCK): Likewise.
34206 [POSIX] (EOPNOTSUPP): Likewise.
34207 [POSIX] (EOVERFLOW): Likewise.
34208 [POSIX] (EPROTO): Likewise.
34209 [POSIX] (EPROTONOSUPPORT): Likewise.
34210 [POSIX] (EPROTOTYPE): Likewise.
34211 [POSIX] (ESTALE): Likewise.
34212 [POSIX] (ETIME): Likewise.
34213 [POSIX] (ETXTBSY): Likewise.
34214 [POSIX] (EWOULDBLOCK): Likewise.
34215 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34216 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34217 [POSIX] (SEEK_CUR): Likewise.
34218 [POSIX] (SEEK_END): Likewise.
34219 [POSIX || UNIX98] (mode_t): Do not require.
34220 [POSIX] (off_t): Likewise.
34221 [POSIX] (pid_t): Likewise.
34222 [POSIX] (sys/stat.h): Do not allow header.
34223 [POSIX] (unistd.h): Likewise.
34224 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34225 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34226 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34227 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34228 require.
34229 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34230 sigevent): Specify elements.
34231 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34232 entry.
34233 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34234 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34235
a483863f
JM
34236 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34237 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34238 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34239 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34240 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34241 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34242 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34243 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34244 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34245 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34246 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34247 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34248 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34249 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34250 Likewise.
34251 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34252 Likewise.
34253 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34254 Likewise.
34255 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34256 Likewise.
34257 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34258 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34259 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34260 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34261 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34262 Specify lower bound on value.
34263 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34264 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34265 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34266 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34267 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34268 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34269 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34270 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34271 value.
34272 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34273 as optional.
34274 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34275 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34276 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34277 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34278 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34279 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34280 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34281 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34282 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34283 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34284 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34285 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34286 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34287 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34288 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34289 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34290 entry.
34291 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34292 optional.
34293 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34294 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34295 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34296 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34297 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34298 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34299 Likewise.
34300 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34301 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34302 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34303 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34304 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34305 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34306 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34307 as optional.
34308 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34309 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34310 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34311 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34312 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34313 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34314 specify as optional.
34315 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34316 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34317 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34318 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34319 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34320 [XPG3] (NL_LANGMAX): Likewise.
34321 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34322 [POSIX || XPG3] (NL_NMAX): Likewise.
34323 [POSIX || XPG3] (NL_SETMAX): Likewise.
34324 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34325 [XPG3] (NZERO): Likewise.
34326 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34327 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34328 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34329 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34330 (REG_ERANGE): Expect.
34331 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34332 optional-constant.
34333 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34334 Use (void) in prototype.
34335 [POSIX] (*_t): Allow.
34336 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34337 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34338 (WRDE_BADVAL): Expect.
34339
5ba924e3
JM
34340 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34341 expect.
34342 [XPG3 || XPG4] (O_RSYNC): Likewise.
34343 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34344 Likewise.
34345 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34346 [XPG3 || XPG4] (sigqueue): Likewise.
34347 [XPG3 || XPG4] (sigtimedwait): Likewise.
34348 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34349 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34350 [XPG3 || XPG4] (vsnprintf): Likewise.
34351 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34352 Likewise.
34353 [XPG3 || XPG4] (blksize_t): Likewise.
34354 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34355 Likewise.
34356 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34357 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34358 [XPG3 || XPG4] (struct itimerspec): Likewise.
34359 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34360 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34361 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34362 [XPG3 || XPG4] (clockid_t): Likewise.
34363 [XPG3 || XPG4] (timer_t): Likewise.
34364 [XPG3 || XPG4] (clock_getres): Likewise.
34365 [XPG3 || XPG4] (clock_gettime): Likewise.
34366 [XPG3 || XPG4] (clock_settime): Likewise.
34367 [XPG3 || XPG4] (nanosleep): Likewise.
34368 [XPG3 || XPG4] (timer_create): Likewise.
34369 [XPG3 || XPG4] (timer_delete): Likewise.
34370 [XPG3 || XPG4] (timer_gettime): Likewise.
34371 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34372 [XPG3 || XPG4] (timer_settime): Likewise.
34373 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34374 [XPG3 || XPG4] (getlogin_r): Likewise.
34375 [XPG3 || XPG4] (pread): Likewise.
34376 [XPG3 || XPG4] (pthread_atfork): Likewise.
34377 [XPG3 || XPG4] (pwrite): Likewise.
34378
ee663277
JM
34379 [BZ #14835]
34380 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34381 <bits/siginfo.h>.
34382
942caa16
PT
343832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34384
e19af380
PT
34385 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34386 finalizing MALLSTREAM.
34387
942caa16
PT
34388 * sysdeps/mach/hurd/syncfs.c: New file.
34389
cfde9b46
SP
343902012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34391
34392 [BZ #14719]
34393 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34394 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34396 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34397 (_nss_dns_gethostbyname4_r): Likewise.
34398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34399 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34400
f6da27e5
PH
344012012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34402
34403 [BZ #13763]
34404 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34405
6665d4a2
SM
344062012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34407
1f51ee92
SM
34408 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34409 * elf/cache.c (print_entry): Print ",AArch64" for
34410 FLAG_AARCH64_LIB64
34411
6665d4a2
SM
34412 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34413 * elf/cache.c (print_entry): Print ",hard-float" for
34414 FLAG_ARM_LIBHF.
34415
05b227bd
DM
344162012-11-18 David S. Miller <davem@davemloft.net>
34417
34418 With help from Joseph Myers.
34419 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34420 cutoff to 2**-13.
34421 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34422 cutoff to 2**-25.
34423 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34424 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34425 small.
34426 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34427 * math/libm-test.inc (y0_test): New tests.
34428 (y1_test): New tests.
34429 * sysdeps/i386/fpu/libm-test-ulps: Update.
34430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34432
786b0b67
AS
344332012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34434
34435 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34436 64-bit targets.
34437 * configure: Regenerated.
34438
8e18b86d
DM
344392012-11-17 David S. Miller <davem@davemloft.net>
34440
34441 [BZ #14811]
34442 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34443 nonzero exponents with absolute value below 0x1p-128 to +/-
34444 0x1p-128.
34445
531f1ae0
JM
344462012-11-17 Joseph Myers <joseph@codesourcery.com>
34447
12df29e2
JM
34448 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34449
150dc1a0
JM
34450 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34451
531f1ae0
JM
34452 * posix/getconf-speclist.c: New file.
34453 * posix/posix-envs.def: Likewise.
34454 * posix/confstr.c (START_ENV_GROUP): New macro.
34455 (END_ENV_GROUP): Likewise.
34456 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34457 (KNOWN_PRESENT_ENV_STRING): Likewise.
34458 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34459 (UNKNOWN_ENVIRONMENT): Likewise.
34460 (confstr): Include posix-envs.def instead of handling
34461 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34462 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34463 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34464 (END_ENV_GROUP): Likewise.
34465 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34466 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34467 (UNKNOWN_ENVIRONMENT): Likewise.
34468 (__sysconf): Include posix-envs.def instead of handling associated
34469 cases directly here.
34470 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34471 preprocessing getconf-speclist.c rather than running getconf or
34472 generating empty file.
34473
a93f9cbc
PT
344742012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34475
34476 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34477
d64d9f87
AL
344782012-11-16 Andrej Lajovic <natrij@gmail.com>
34479
34480 [BZ #14672]
34481 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34482
447885eb
DM
344832012-11-16 David S. Miller <davem@davemloft.net>
34484
34485 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34486 smaller than LDBL_EPSILON/2.0L, just return xm1.
34487
bcbf9830
L
344882012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34489
34490 * elf/tst-array1.c (init): Set constructor priority to 1000.
34491 (fini): Set destructor priority to 1000.
34492 * elf/tst-array2dep.c: Likewise.
34493
2b766585
SP
344942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34495
34496 [BZ #11741]
34497 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34498 (_IO_new_file_xsputn): Also return EOF if none of the input
34499 data was written when overflow failed.
34500 * libio/iopadn.c (_IO_padn): Likewise.
34501 * libio/iowpadn.c (_IO_wpadn): Likewise.
34502 * stdio-common/tst-put-error.c: Add copyright notice.
34503 (do_test): Add case for printing padded string.
34504 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34505 _IO_padn returned error.
34506 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34507 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34508 return EOF.
34509
b1848fde
SP
345102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34511
34512 * libio/libioP.h: Add comment note that the references to C++
34513 bits are now obsolete.
34514
2fd89785
MS
345152012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34516
34517 * math/libm-test.inc (check_complex): Use asprintf.
34518
e3ea5409
JM
345192012-11-14 Joseph Myers <joseph@codesourcery.com>
34520
34521 * debug/pcprofiledump.c (print_version): Update copyright year.
34522 * malloc/memusagestat.c (print_version): Likewise.
34523
2e64d265
L
345242012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34525
34526 [BZ #14831]
34527 * elf/Makefile (tests): Add tst-audit8.
34528 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34529 ($(objpfx)tst-audit8.out): New target.
34530 (tst-audit8-ENV): New variable.
34531 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34532 audit if l_reloc_result is NULL.
34533 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34534 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34535 * elf/tst-audit8.c: New file.
34536
c485e4d2
MS
345372012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34538
34539 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34540 * misc/Makefile (CFLAGS-select.c): Define.
34541 * posix/Makefile (CFLAGS-pause.c): Define.
34542
3a0d900a
DM
345432012-11-13 David S. Miller <davem@davemloft.net>
34544
34545 * crypt/Makefile: Move test targets after toplevel Rules
34546 inclusion. Grab any necessary sysdep routines when linking.
34547 * crypt/md5.c (md5_process_block): Remove define, we will always
34548 name it __md5_process_block.
34549 (md5_finish_ctx): Update md5_process_block call.
34550 (md5_stream): Likewise.
34551 (md5_process_bytes): Likewise.
34552 (md5_process_block): Rename to __md5_process_block and move to ...
34553 * crypt/md5-block.c: ... here.
34554 * crypt/sha256.c (sha256_process_block): Move to ...
34555 * crypt/sha256-block.c: ... here.
34556 * crypt/sha512.c (sha512_process_block): Move to ...
34557 * crypt/sha512-block.c: ... here.
34558 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34559 path.
34560 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34561 * sysdeps/sparc/sparc64/multiarch/Makefile
34562 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34563 crypt subdir.
34564 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34566 multiarch changes.
34567 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34568 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34569 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34570 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34571 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34572 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34573 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34574 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34575 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34576 file.
34577 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34578 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34579 file.
34580 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34581
8ca89318
JM
345822012-11-13 Joseph Myers <joseph@codesourcery.com>
34583
e27d476a
JM
34584 * timezone/tzselect.ksh: Update from tzcode git revision
34585 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34586 * timezone/zdump.c: Likewise.
34587 * timezone/zic.c: Likewise.
34588 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34589 in TZVERSION setting, not $(PKGVERSION).
34590 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34591 REPORT_BUGS_TO settings.
34592
8ca89318
JM
34593 [BZ #14838]
34594 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34595 macro.
34596
47594329
MS
345972012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34598
34599 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34600 detection to immediately after _FP_ROUND().
34601 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34602 bits are 0.
34603
640ac3f1
DM
346042012-11-11 David S. Miller <davem@davemloft.net>
34605
34606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34607 inttypes.h
34608 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34609 __close rather than their public counterparts.
34610
3d2577bb
JM
346112012-11-10 Joseph Myers <joseph@codesourcery.com>
34612
34613 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34614 file.
34615 [UNIX98] (sem_timedwait): Do not expect.
34616 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34617 [XPG4 || UNIX98] (sockatmark): Do not expect.
34618 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34619 (clock_getcpuclockid): Do not expect.
34620 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34621 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34622 Do not expect.
34623 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34624 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34625 [UNIX98] (vwscanf): Likewise.
34626 [UNIX98] (vswscanf): Likewise.
34627
fb1ae1ee
JM
346282012-11-09 Joseph Myers <joseph@codesourcery.com>
34629
9ec6f8bd
JM
34630 * timezone/version.h: Remove file.
34631 * timezone/README: Do not refer to version.h.
34632 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34633 $(objpfx)version.h.
34634 ($(objpfx)zdump.o): Likewise.
c3f81911 34635 ($(objpfx)version.h): New target.
9ec6f8bd 34636
0aa8f8a1
JM
34637 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34638 2012i.
34639 * timezone/README: Don't mention modification to tzselect.ksh.
34640 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34641 work on unmodified tzselect.ksh. Substitute version numbers in
34642 tzselect.ksh.
34643
4e87147f
JM
34644 * Makefile (format-me): Remove.
34645 (INSTALL): Adjust indentation. Use commands directly instead of
34646 using $(format-me).
34647
8b748aed
JM
34648 * aclocal.m4 (ACX_PKGVERSION): New macro.
34649 (ACX_BUGURL): Likewise.
34650 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34651 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34652 (REPORT_BUGS_TO): Likewise.
34653 * configure: Regenerated.
34654 * config.h.in (PKGVERSION): New macro.
34655 (REPORT_BUGS_TO): Likewise.
34656 * config.make.in (PKGVERSION): New variable.
34657 (PKGVERSION_TEXI): Likewise.
34658 (REPORT_BUGS_TO): Likewise.
34659 (REPORT_BUGS_TEXI): Likewise.
34660 * Makefile (format-me): Use -I$(common-objpfx)manual.
34661 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34662 ($(common-objpfx)manual/%): New target.
34663 (manual/%): Remove target.
34664 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34665 (print_version): Use PKGVERSION.
34666 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34667 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34668 and REPORT_BUGS_TO.
34669 ($(objpfx)xtrace): Likewise.
34670 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34671 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34672 (print_version): Use PKGVERSION.
34673 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34674 (do_version): Use PKGVERSION.
34675 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34676 REPORT_BUGS_TO.
34677 (common-ldd-rewrite): Likewise.
34678 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34679 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34680 (print_version): Use PKGVERSION.
34681 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34682 * elf/pldd.c (argp_program_bug_address): Remove variable.
34683 (more_help): New function.
34684 (argp): Use more_help.
34685 (print_version): Use PKGVERSION.
34686 * elf/sln.c (main): Use PKGVERSION.
34687 (usage): Use REPORT_BUGS_TO.
34688 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34689 (top level): Use PKGVERSION.
34690 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34691 (print_version): Use PKGVERSION.
34692 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34693 (print_version): Use PKGVERSION.
34694 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34695 (print_version): Use PKGVERSION.
34696 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34697 (print_version): Use PKGVERSION.
34698 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34699 (print_version): Use PKGVERSION.
34700 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34701 (print_version): Use PKGVERSION.
34702 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34703 and BUGURL.
34704 ($(objpfx)memusage): Likewise.
34705 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34706 (do_version): Use PKGVERSION.
34707 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34708 (print_version): Use PKGVERSION.
34709 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34710 ($PKGVERSION): New variable.
34711 ($REPORT_BUGS_TO): Likewise.
34712 (usage): Use $REPORT_BUGS_TO.
34713 (top level): Use $PKGVERSION.
34714 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34715 ($(objpfx)pkgvers.texi): New rule.
34716 ($(objpfx)stamp-pkgvers): Likewise.
34717 * manual/install.texi: Include pkgvers.texi.
34718 (--with-pkgversion): Document new configure option.
34719 (--with-bugurl): Likewise.
34720 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34721 than necessarily for this particular distribution. Use
34722 REPORT_BUGS_TO for where to report bugs.
34723 * INSTALL: Regenerated.
34724 * manual/libc.texinfo: Include pkgvers.texi.
34725 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34726 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34727 (print_version): Use PKGVERSION.
34728 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34729 (print_version): Use PKGVERSION.
34730 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34731 (print_version): Use PKGVERSION.
34732 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34733 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34734 macro.
34735 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34736 (print_version): Use PKGVERSION.
34737 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34738 (print_version): Use PKGVERSION.
34739 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34740 and PKGVERSION.
34741
92e4b6a9
JM
34742 * timezone/checktab.awk: Update from tzcode 2012i.
34743 * timezone/ialloc.c: Likewise.
34744 * timezone/private.h: Likewise.
34745 * timezone/scheck.c: Likewise.
34746 * timezone/tzfile.h: Likewise.
34747 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34748 (TZVERSION): Hardcode tzcode version number.
34749 * timezone/zdump.c: Update from tzcode 2012i.
34750 * timezone/zic.c: Likewise.
34751 * timezone/version.h: New file.
34752 * timezone/README: Describe version.h. Update upstream location.
34753
9bde902c
JM
34754 [BZ #14824]
34755 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34756 (mktemp): Enable declaration.
34757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34760 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34761 Likewise.
34762 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34763 Likewise.
34764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34765 Likewise.
34766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34767 Likewise.
34768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34769 Likewise.
34770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34771 Likewise.
34772
fb1ae1ee
JM
34773 [BZ #14821]
34774 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34775 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34776 for copies of such integer values.
34777 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34778 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34779
2c1adbcb
AJ
347802012-11-09 Andreas Jaeger <aj@suse.de>
34781
34782 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34783 definitions and declarations that are provided by
34784 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34785
d0f8457e
AK
347862012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34787
3a235abb 34788 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34789 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34790 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34791 definition.
34792
57241e26
MS
347932012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34794
34795 * elf/elf.h: Update comment before AArch64 relocations.
34796
60e8270d
DM
347972012-11-07 David S. Miller <davem@davemloft.net>
34798
34799 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34800 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34801 (__start_context): Declare.
34802 (__makecontext_ret): Delete.
34803 (__makecontext): Hook up __start_context instead of
34804 __makecontext_ret.
34805 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34806 (sysdep_routines): Add __start_context when in stdlib.
34807
0fbb0fbc
JM
348082012-11-07 Joseph Myers <joseph@codesourcery.com>
34809
34810 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34811 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34812 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34813 hardcoded "nm".
34814 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34815 (READELF): New variable. Use it instead of hardcoded "readelf".
34816
eb48db7e
L
348172012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34820 * sysdeps/x86/Makefile: Here.
34821 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34822 * sysdeps/x86/tst-xmmymm.sh: This.
34823
05bcf62a
JM
348242012-11-07 Joseph Myers <joseph@codesourcery.com>
34825
c4b6cf53
JM
34826 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34827 expectations.
34828 [UNIX98] (pthread_barrier_t): Do not expect.
34829 [UNIX98] (pthread_barrierattr_t): Likewise.
34830 [UNIX98] (pthread_spinlock_t): Likewise.
34831 [UNIX98] (pthread_barrier_destroy): Likewise.
34832 [UNIX98] (pthread_barrier_init): Likewise.
34833 [UNIX98] (pthread_barrier_wait): Likewise.
34834 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34835 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34836 [UNIX98] (pthread_barrierattr_init): Likewise.
34837 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34838 [UNIX98] (pthread_getcpuclockid): Likewise.
34839 [UNIX98] (pthread_mutex_timedlock): Likewise.
34840 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34841 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34842 [UNIX98] (pthread_sigmask): Likewise.
34843 [UNIX98] (pthread_spin_destroy): Likewise.
34844 [UNIX98] (pthread_spin_init): Likewise.
34845 [UNIX98] (pthread_spin_lock): Likewise.
34846 [UNIX98] (pthread_spin_trylock): Likewise.
34847 [UNIX98] (pthread_spin_unlock): Likewise.
34848 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34849 Do not expect.
34850 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34851 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34852 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34853 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34854 [XPG3 || XPG4] (pthread_key_t): Likewise.
34855 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34856 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34857 [XPG3 || XPG4] (pthread_once_t): Likewise.
34858 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34859 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34860 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34861 [XPG3 || XPG4] (pthread_t): Likewise.
34862
cbe6e120
JM
34863 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34864 not expect.
34865 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34866
1b126443
JM
34867 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34868 Change function return type to int.
34869
b961a573
JM
34870 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34871 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34872 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34873 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34874 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34875 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34876 [!POSIX] (posix_madvise): Likewise.
34877 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34878 && !UNIX98].
34879 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34880 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34881 (mode_t): Likewise.
34882 (posix_mem_offset): Likewise.
34883 (posix_typed_mem_get_info): Likewise.
34884 (posix_typed_mem_open): Likewise.
34885
9e188909
JM
34886 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34887 Change condition to [XOPEN2K8].
34888
05bcf62a
JM
34889 * conform/conformtest.pl: Preprocess allow-header data with -x c
34890 instead of from stdin.
34891 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34892 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34893 [C99-based standards] (cerfc): Likewise.
34894 [C99-based standards] (cexp2): Likewise.
34895 [C99-based standards] (cexpm1): Likewise.
34896 [C99-based standards] (clog10): Likewise.
34897 [C99-based standards] (clog1p): Likewise.
34898 [C99-based standards] (clog2): Likewise.
34899 [C99-based standards] (clgamma): Likewise.
34900 [C99-based standards] (ctgamma): Likewise.
34901 [C99-based standards] (cerff): Likewise.
34902 [C99-based standards] (cerfcf): Likewise.
34903 [C99-based standards] (cexp2f): Likewise.
34904 [C99-based standards] (cexpm1f): Likewise.
34905 [C99-based standards] (clog10f): Likewise.
34906 [C99-based standards] (clog1pf): Likewise.
34907 [C99-based standards] (clog2f): Likewise.
34908 [C99-based standards] (clgammaf): Likewise.
34909 [C99-based standards] (ctgammaf): Likewise.
34910 [C99-based standards] (cerfl): Likewise.
34911 [C99-based standards] (cerfcl): Likewise.
34912 [C99-based standards] (cexp2l): Likewise.
34913 [C99-based standards] (cexpm1l): Likewise.
34914 [C99-based standards] (clog10l): Likewise.
34915 [C99-based standards] (clog1pl): Likewise.
34916 [C99-based standards] (clog2l): Likewise.
34917 [C99-based standards] (clgammal): Likewise.
34918 [C99-based standards] (ctgammal): Likewise.
34919 * conform/data/inttypes.h-data [C99-based standards]: Include
34920 stdint.h-data. Remove all expectations for stdint.h contents.
34921 [C99-based standards] (PRI*): Do not allow.
34922 [C99-based standards] (SCN*): Likewise.
34923 [C99-based standards] (*_t): Likewise.
34924 [C99-based-standards] (PRId8): Expect macro.
34925 [C99-based-standards] (PRIi8): Likewise.
34926 [C99-based-standards] (PRIo8): Likewise.
34927 [C99-based-standards] (PRIu8): Likewise.
34928 [C99-based-standards] (PRIx8): Likewise.
34929 [C99-based-standards] (PRIX8): Likewise.
34930 [C99-based-standards] (SCNd8): Likewise.
34931 [C99-based-standards] (SCNi8): Likewise.
34932 [C99-based-standards] (SCNo8): Likewise.
34933 [C99-based-standards] (SCNu8): Likewise.
34934 [C99-based-standards] (SCNx8): Likewise.
34935 [C99-based-standards] (PRIdLEAST8): Likewise.
34936 [C99-based-standards] (PRIiLEAST8): Likewise.
34937 [C99-based-standards] (PRIoLEAST8): Likewise.
34938 [C99-based-standards] (PRIuLEAST8): Likewise.
34939 [C99-based-standards] (PRIxLEAST8): Likewise.
34940 [C99-based-standards] (PRIXLEAST8): Likewise.
34941 [C99-based-standards] (SCNdLEAST8): Likewise.
34942 [C99-based-standards] (SCNiLEAST8): Likewise.
34943 [C99-based-standards] (SCNoLEAST8): Likewise.
34944 [C99-based-standards] (SCNuLEAST8): Likewise.
34945 [C99-based-standards] (SCNxLEAST8): Likewise.
34946 [C99-based-standards] (PRIdFAST8): Likewise.
34947 [C99-based-standards] (PRIiFAST8): Likewise.
34948 [C99-based-standards] (PRIoFAST8): Likewise.
34949 [C99-based-standards] (PRIuFAST8): Likewise.
34950 [C99-based-standards] (PRIxFAST8): Likewise.
34951 [C99-based-standards] (PRIXFAST8): Likewise.
34952 [C99-based-standards] (SCNdFAST8): Likewise.
34953 [C99-based-standards] (SCNiFAST8): Likewise.
34954 [C99-based-standards] (SCNoFAST8): Likewise.
34955 [C99-based-standards] (SCNuFAST8): Likewise.
34956 [C99-based-standards] (SCNxFAST8): Likewise.
34957 [C99-based-standards] (PRId16): Likewise.
34958 [C99-based-standards] (PRIi16): Likewise.
34959 [C99-based-standards] (PRIo16): Likewise.
34960 [C99-based-standards] (PRIu16): Likewise.
34961 [C99-based-standards] (PRIx16): Likewise.
34962 [C99-based-standards] (PRIX16): Likewise.
34963 [C99-based-standards] (SCNd16): Likewise.
34964 [C99-based-standards] (SCNi16): Likewise.
34965 [C99-based-standards] (SCNo16): Likewise.
34966 [C99-based-standards] (SCNu16): Likewise.
34967 [C99-based-standards] (SCNx16): Likewise.
34968 [C99-based-standards] (PRIdLEAST16): Likewise.
34969 [C99-based-standards] (PRIiLEAST16): Likewise.
34970 [C99-based-standards] (PRIoLEAST16): Likewise.
34971 [C99-based-standards] (PRIuLEAST16): Likewise.
34972 [C99-based-standards] (PRIxLEAST16): Likewise.
34973 [C99-based-standards] (PRIXLEAST16): Likewise.
34974 [C99-based-standards] (SCNdLEAST16): Likewise.
34975 [C99-based-standards] (SCNiLEAST16): Likewise.
34976 [C99-based-standards] (SCNoLEAST16): Likewise.
34977 [C99-based-standards] (SCNuLEAST16): Likewise.
34978 [C99-based-standards] (SCNxLEAST16): Likewise.
34979 [C99-based-standards] (PRIdFAST16): Likewise.
34980 [C99-based-standards] (PRIiFAST16): Likewise.
34981 [C99-based-standards] (PRIoFAST16): Likewise.
34982 [C99-based-standards] (PRIuFAST16): Likewise.
34983 [C99-based-standards] (PRIxFAST16): Likewise.
34984 [C99-based-standards] (PRIXFAST16): Likewise.
34985 [C99-based-standards] (SCNdFAST16): Likewise.
34986 [C99-based-standards] (SCNiFAST16): Likewise.
34987 [C99-based-standards] (SCNoFAST16): Likewise.
34988 [C99-based-standards] (SCNuFAST16): Likewise.
34989 [C99-based-standards] (SCNxFAST16): Likewise.
34990 [C99-based-standards] (PRId32): Likewise.
34991 [C99-based-standards] (PRIi32): Likewise.
34992 [C99-based-standards] (PRIo32): Likewise.
34993 [C99-based-standards] (PRIu32): Likewise.
34994 [C99-based-standards] (PRIx32): Likewise.
34995 [C99-based-standards] (PRIX32): Likewise.
34996 [C99-based-standards] (SCNd32): Likewise.
34997 [C99-based-standards] (SCNi32): Likewise.
34998 [C99-based-standards] (SCNo32): Likewise.
34999 [C99-based-standards] (SCNu32): Likewise.
35000 [C99-based-standards] (SCNx32): Likewise.
35001 [C99-based-standards] (PRIdLEAST32): Likewise.
35002 [C99-based-standards] (PRIiLEAST32): Likewise.
35003 [C99-based-standards] (PRIoLEAST32): Likewise.
35004 [C99-based-standards] (PRIuLEAST32): Likewise.
35005 [C99-based-standards] (PRIxLEAST32): Likewise.
35006 [C99-based-standards] (PRIXLEAST32): Likewise.
35007 [C99-based-standards] (SCNdLEAST32): Likewise.
35008 [C99-based-standards] (SCNiLEAST32): Likewise.
35009 [C99-based-standards] (SCNoLEAST32): Likewise.
35010 [C99-based-standards] (SCNuLEAST32): Likewise.
35011 [C99-based-standards] (SCNxLEAST32): Likewise.
35012 [C99-based-standards] (PRIdFAST32): Likewise.
35013 [C99-based-standards] (PRIiFAST32): Likewise.
35014 [C99-based-standards] (PRIoFAST32): Likewise.
35015 [C99-based-standards] (PRIuFAST32): Likewise.
35016 [C99-based-standards] (PRIxFAST32): Likewise.
35017 [C99-based-standards] (PRIXFAST32): Likewise.
35018 [C99-based-standards] (SCNdFAST32): Likewise.
35019 [C99-based-standards] (SCNiFAST32): Likewise.
35020 [C99-based-standards] (SCNoFAST32): Likewise.
35021 [C99-based-standards] (SCNuFAST32): Likewise.
35022 [C99-based-standards] (SCNxFAST32): Likewise.
35023 [C99-based-standards] (PRId64): Likewise.
35024 [C99-based-standards] (PRIi64): Likewise.
35025 [C99-based-standards] (PRIo64): Likewise.
35026 [C99-based-standards] (PRIu64): Likewise.
35027 [C99-based-standards] (PRIx64): Likewise.
35028 [C99-based-standards] (PRIX64): Likewise.
35029 [C99-based-standards] (SCNd64): Likewise.
35030 [C99-based-standards] (SCNi64): Likewise.
35031 [C99-based-standards] (SCNo64): Likewise.
35032 [C99-based-standards] (SCNu64): Likewise.
35033 [C99-based-standards] (SCNx64): Likewise.
35034 [C99-based-standards] (PRIdLEAST64): Likewise.
35035 [C99-based-standards] (PRIiLEAST64): Likewise.
35036 [C99-based-standards] (PRIoLEAST64): Likewise.
35037 [C99-based-standards] (PRIuLEAST64): Likewise.
35038 [C99-based-standards] (PRIxLEAST64): Likewise.
35039 [C99-based-standards] (PRIXLEAST64): Likewise.
35040 [C99-based-standards] (SCNdLEAST64): Likewise.
35041 [C99-based-standards] (SCNiLEAST64): Likewise.
35042 [C99-based-standards] (SCNoLEAST64): Likewise.
35043 [C99-based-standards] (SCNuLEAST64): Likewise.
35044 [C99-based-standards] (SCNxLEAST64): Likewise.
35045 [C99-based-standards] (PRIdFAST64): Likewise.
35046 [C99-based-standards] (PRIiFAST64): Likewise.
35047 [C99-based-standards] (PRIoFAST64): Likewise.
35048 [C99-based-standards] (PRIuFAST64): Likewise.
35049 [C99-based-standards] (PRIxFAST64): Likewise.
35050 [C99-based-standards] (PRIXFAST64): Likewise.
35051 [C99-based-standards] (SCNdFAST64): Likewise.
35052 [C99-based-standards] (SCNiFAST64): Likewise.
35053 [C99-based-standards] (SCNoFAST64): Likewise.
35054 [C99-based-standards] (SCNuFAST64): Likewise.
35055 [C99-based-standards] (SCNxFAST64): Likewise.
35056 [C99-based-standards] (PRIdMAX): Likewise.
35057 [C99-based-standards] (PRIiMAX): Likewise.
35058 [C99-based-standards] (PRIoMAX): Likewise.
35059 [C99-based-standards] (PRIuMAX): Likewise.
35060 [C99-based-standards] (PRIxMAX): Likewise.
35061 [C99-based-standards] (PRIXMAX): Likewise.
35062 [C99-based-standards] (SCNdMAX): Likewise.
35063 [C99-based-standards] (SCNiMAX): Likewise.
35064 [C99-based-standards] (SCNoMAX): Likewise.
35065 [C99-based-standards] (SCNuMAX): Likewise.
35066 [C99-based-standards] (SCNxMAX): Likewise.
35067 [C99-based-standards] (PRIdPTR): Likewise.
35068 [C99-based-standards] (PRIiPTR): Likewise.
35069 [C99-based-standards] (PRIoPTR): Likewise.
35070 [C99-based-standards] (PRIuPTR): Likewise.
35071 [C99-based-standards] (PRIxPTR): Likewise.
35072 [C99-based-standards] (PRIXPTR): Likewise.
35073 [C99-based-standards] (SCNdPTR): Likewise.
35074 [C99-based-standards] (SCNiPTR): Likewise.
35075 [C99-based-standards] (SCNoPTR): Likewise.
35076 [C99-based-standards] (SCNuPTR): Likewise.
35077 [C99-based-standards] (SCNxPTR): Likewise.
35078 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35079 allow.
35080 * conform/data/stdint.h-data: Update comments to clarify
35081 requirements.
35082 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35083 type.
35084 [C99-based standards] (INT8_MAX): Likewise.
35085 [C99-based standards] (INT16_MIN): Likewise.
35086 [C99-based standards] (INT16_MAX): Likewise.
35087 [C99-based standards] (INT32_MIN): Likewise.
35088 [C99-based standards] (INT32_MAX): Likewise.
35089 [C99-based standards] (INT64_MIN): Likewise.
35090 [C99-based standards] (INT64_MAX): Likewise.
35091 [C99-based standards] (UINT8_MAX): Likewise.
35092 [C99-based standards] (UINT16_MAX): Likewise.
35093 [C99-based standards] (UINT32_MAX): Likewise.
35094 [C99-based standards] (UINT64_MAX): Likewise.
35095 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35096 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35097 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35098 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35099 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35100 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35101 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35102 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35103 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35104 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35105 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35106 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35107 [C99-based standards] (INT_FAST8_MIN): Likewise.
35108 [C99-based standards] (INT_FAST8_MAX): Likewise.
35109 [C99-based standards] (INT_FAST16_MIN): Likewise.
35110 [C99-based standards] (INT_FAST16_MAX): Likewise.
35111 [C99-based standards] (INT_FAST32_MIN): Likewise.
35112 [C99-based standards] (INT_FAST32_MAX): Likewise.
35113 [C99-based standards] (INT_FAST64_MIN): Likewise.
35114 [C99-based standards] (INT_FAST64_MAX): Likewise.
35115 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35116 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35117 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35118 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35119 [C99-based standards] (INTPTR_MIN): Likewise.
35120 [C99-based standards] (INTPTR_MAX): Likewise.
35121 [C99-based standards] (UINTPTR_MAX): Likewise.
35122 [C99-based standards] (INTMAX_MIN): Likewise.
35123 [C99-based standards] (INTMAX_MAX): Likewise.
35124 [C99-based standards] (UINTMAX_MAX): Likewise.
35125 [C99-based standards] (PTRDIFF_MIN): Likewise.
35126 [C99-based standards] (PTRDIFF_MAX): Likewise.
35127 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35128 [C99-based standards] (SIZE_MAX): Likewise.
35129 [C99-based standards] (WCHAR_MAX): Likewise.
35130 [C99-based standards] (WINT_MAX): Likewise.
35131 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35132 constraint on value.
35133 [C99-based standards] (WCHAR_MIN): Likewise.
35134 [C99-based standards] (WINT_MIN): Likewise.
35135 [C99-based standards] (*_t): Allow.
35136 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35137 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35138 Include math.h-data and complex.h-data. Remove all expectations
35139 of math.h and complex.h contents.
35140 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35141 at end of line.
35142 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35143 (struct tm): Expect tag.
35144 [C99-based-standards] (wcstof): Expect function.
35145 [C99-based-standards] (wcstold): Likewise.
35146 [C99-based-standards] (wcstoll): Likewise.
35147 [C99-based-standards] (wcstoull): Likewise.
35148 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35149 macro-int-constant. Specify type.
35150 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35151 constraint on value.
35152 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35153 Specify type.
35154 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35155 Specify value.
35156 [ISO C standards]: Do not allow headers.
35157 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35158 wcs[abcdefghijklmnopqrstuvwxyz]*.
35159 [ISO C standards] (*_t): Do not allow.
35160 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35161 Expect function.
35162 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35163 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35164 Specify type.
35165 [ISO C standards]: Do not allow headers.
35166 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35167 is[abcdefghijklmnopqrstuvwxyz]*.
35168 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35169 to[abcdefghijklmnopqrstuvwxyz]*.
35170 [ISO C standards] (*_t): Do not allow.
35171 * conform/data/stdalign.h-data: New file.
35172 * conform/data/stdbool.h-data: Likewise.
35173 * conform/data/stdnoreturn.h-data: Likewise.
35174
7514feb8
RM
351752012-11-07 Roland McGrath <roland@hack.frob.com>
35176
35177 [BZ #14815]
35178 * manual/filesys.texi (Directory Entries): Typo fix.
35179 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35180
19b2ecfc
MS
351812012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35182
35183 * elf/elf.h (EM_AARCH64): New macro.
35184 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35185 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35186 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35187 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35188 (R_AARCH64_TLSDESC): Likewise.
35189 (NT_ARM_TLS): Likewise.
35190 (NT_ARM_HW_BREAK): Likewise.
35191 (NT_ARM_HW_WATCH): Likewise.
35192
60e235ee
JM
351932012-11-07 Joseph Myers <joseph@codesourcery.com>
35194
35195 [BZ #14811]
35196 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35197 (__ieee754_powl): Saturate nonzero exponents with absolute value
35198 below 0x1p-79 to +/- 0x1p-79.
35199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35200 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35201 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35202 nonzero exponents with absolute value below 0x1p-32 to +/-
35203 0x1p-32.
35204 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35205 (__ieee754_powl): Saturate nonzero exponents with absolute value
35206 below 0x1p-79 to +/- 0x1p-79.
35207 * math/libm-test.inc (pow_test): Add more tests.
35208
0ab234b7
AK
352092012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35210
35211 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35212 _dl_s390_cap_flags with kernel. Increase string length.
35213 (_dl_s390_platforms): Add z196 and zEC12.
35214
45832f74
JM
352152012-11-07 Joseph Myers <joseph@codesourcery.com>
35216
35217 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35218 Change XOPEN21K to XOPEN2K.
35219
19218757
MK
352202012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35221
35222 * string/memmove.c: Use memcpy when possible.
35223
c5f45721
AJ
352242012-11-06 Andreas Jaeger <aj@suse.de>
35225
35226 * po/eo.po: Update from translation team.
35227
82477c28
JM
352282012-11-06 Joseph Myers <joseph@codesourcery.com>
35229
35230 [BZ #14793]
35231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35232 exponent and small x and y exponents, scale x or y up. Increase
35233 by 2 the exponent used in scaling up.
35234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35236 * math/libm-test.inc (fma_test): Add more tests.
35237 (fma_test_towardzero): Likewise.
35238 (fma_test_downward): Likewise.
35239 (fma_test_upward): Likewise.
35240
99252c8c
JM
352412012-11-05 Joseph Myers <joseph@codesourcery.com>
35242
acfa885f
JM
35243 [BZ #14805]
35244 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35245 fenv_t *.
35246
99252c8c
JM
35247 [BZ #14801]
35248 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35249 namespace for names of struct fields.
35250 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35251 fenv_t fields.
35252 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35253 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35254
d6d98dea
ST
352552012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35256
35257 [BZ #3665]
35258 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35259
e10bb107
TS
352602012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35261
35262 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35263 PTR_DEMANGLE.
35264
35265 [BZ #5246]
35266 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35267 PTR_DEMANGLE.
35268
a0c2940d
JM
352692012-11-04 Joseph Myers <joseph@codesourcery.com>
35270
35271 [BZ #14797]
35272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35273 definitely overflow as x * y not x * y + z.
35274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35276 * math/libm-test.inc (fma_test): Add more tests.
35277 (fma_test_towardzero): Likewise.
35278 (fma_test_downward): Likewise.
35279 (fma_test_upward): Likewise.
35280
b830319d
TS
352812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35282
35283 [BZ #157]
35284
35285 * include/stub-tag.h: Remove file.
35286 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35287 '#include' of it.
35288 * manual/maint.texi (Porting): Don't reference it.
35289 * Makerules ($(objpfx)stubs): Likewise.
35290 * dirent/closedir.c: Don't include <stub-tag.h>.
35291 * dirent/dirfd.c: Likewise.
35292 * dirent/fdopendir.c: Likewise.
35293 * dirent/getdents.c: Likewise.
35294 * dirent/getdents64.c: Likewise.
35295 * dirent/opendir.c: Likewise.
35296 * dirent/readdir.c: Likewise.
35297 * dirent/readdir64.c: Likewise.
35298 * dirent/readdir64_r.c: Likewise.
35299 * dirent/readdir_r.c: Likewise.
35300 * dirent/rewinddir.c: Likewise.
35301 * dirent/seekdir.c: Likewise.
35302 * dirent/telldir.c: Likewise.
35303 * gmon/profil.c: Likewise.
35304 * grp/setgroups.c: Likewise.
35305 * inet/if_index.c: Likewise.
35306 * io/access.c: Likewise.
35307 * io/chdir.c: Likewise.
35308 * io/chmod.c: Likewise.
35309 * io/chown.c: Likewise.
35310 * io/close.c: Likewise.
35311 * io/dup.c: Likewise.
35312 * io/dup2.c: Likewise.
35313 * io/dup3.c: Likewise.
35314 * io/euidaccess.c: Likewise.
35315 * io/faccessat.c: Likewise.
35316 * io/fchdir.c: Likewise.
35317 * io/fchmod.c: Likewise.
35318 * io/fchmodat.c: Likewise.
35319 * io/fchown.c: Likewise.
35320 * io/fchownat.c: Likewise.
35321 * io/fcntl.c: Likewise.
35322 * io/flock.c: Likewise.
35323 * io/fstatfs.c: Likewise.
35324 * io/fstatfs64.c: Likewise.
35325 * io/fstatvfs.c: Likewise.
35326 * io/fstatvfs64.c: Likewise.
35327 * io/futimens.c: Likewise.
35328 * io/fxstat.c: Likewise.
35329 * io/fxstat64.c: Likewise.
35330 * io/fxstatat.c: Likewise.
35331 * io/fxstatat64.c: Likewise.
35332 * io/getcwd.c: Likewise.
35333 * io/isatty.c: Likewise.
35334 * io/lchmod.c: Likewise.
35335 * io/lchown.c: Likewise.
35336 * io/link.c: Likewise.
35337 * io/linkat.c: Likewise.
35338 * io/lseek.c: Likewise.
35339 * io/lseek64.c: Likewise.
35340 * io/lxstat64.c: Likewise.
35341 * io/mkdir.c: Likewise.
35342 * io/mkdirat.c: Likewise.
35343 * io/mkfifo.c: Likewise.
35344 * io/mkfifoat.c: Likewise.
35345 * io/open.c: Likewise.
35346 * io/open64.c: Likewise.
35347 * io/openat.c: Likewise.
35348 * io/openat64.c: Likewise.
35349 * io/pipe.c: Likewise.
35350 * io/pipe2.c: Likewise.
35351 * io/poll.c: Likewise.
35352 * io/posix_fadvise.c: Likewise.
35353 * io/posix_fadvise64.c: Likewise.
35354 * io/posix_fallocate.c: Likewise.
35355 * io/posix_fallocate64.c: Likewise.
35356 * io/read.c: Likewise.
35357 * io/readlink.c: Likewise.
35358 * io/readlinkat.c: Likewise.
35359 * io/rmdir.c: Likewise.
35360 * io/sendfile.c: Likewise.
35361 * io/sendfile64.c: Likewise.
35362 * io/statfs.c: Likewise.
35363 * io/statfs64.c: Likewise.
35364 * io/statvfs.c: Likewise.
35365 * io/statvfs64.c: Likewise.
35366 * io/symlink.c: Likewise.
35367 * io/symlinkat.c: Likewise.
35368 * io/ttyname.c: Likewise.
35369 * io/ttyname_r.c: Likewise.
35370 * io/umask.c: Likewise.
35371 * io/unlink.c: Likewise.
35372 * io/unlinkat.c: Likewise.
35373 * io/utime.c: Likewise.
35374 * io/utimensat.c: Likewise.
35375 * io/write.c: Likewise.
35376 * io/xmknod.c: Likewise.
35377 * io/xmknodat.c: Likewise.
35378 * io/xstat.c: Likewise.
35379 * io/xstat64.c: Likewise.
35380 * login/getpt.c: Likewise.
35381 * login/grantpt.c: Likewise.
35382 * login/unlockpt.c: Likewise.
35383 * math/e_acoshl.c: Likewise.
35384 * math/e_acosl.c: Likewise.
35385 * math/e_asinl.c: Likewise.
35386 * math/e_atan2l.c: Likewise.
35387 * math/e_atanhl.c: Likewise.
35388 * math/e_coshl.c: Likewise.
35389 * math/e_expl.c: Likewise.
35390 * math/e_fmodl.c: Likewise.
35391 * math/e_gammal_r.c: Likewise.
35392 * math/e_hypotl.c: Likewise.
35393 * math/e_j0l.c: Likewise.
35394 * math/e_j1l.c: Likewise.
35395 * math/e_jnl.c: Likewise.
35396 * math/e_lgammal_r.c: Likewise.
35397 * math/e_log10l.c: Likewise.
35398 * math/e_log2l.c: Likewise.
35399 * math/e_logl.c: Likewise.
35400 * math/e_powl.c: Likewise.
35401 * math/e_rem_pio2l.c: Likewise.
35402 * math/e_sinhl.c: Likewise.
35403 * math/e_sqrtl.c: Likewise.
35404 * math/fclrexcpt.c: Likewise.
35405 * math/fedisblxcpt.c: Likewise.
35406 * math/feenablxcpt.c: Likewise.
35407 * math/fegetenv.c: Likewise.
35408 * math/fegetexcept.c: Likewise.
35409 * math/fegetround.c: Likewise.
35410 * math/feholdexcpt.c: Likewise.
35411 * math/fesetenv.c: Likewise.
35412 * math/fesetround.c: Likewise.
35413 * math/feupdateenv.c: Likewise.
35414 * math/fgetexcptflg.c: Likewise.
35415 * math/fraiseexcpt.c: Likewise.
35416 * math/fsetexcptflg.c: Likewise.
35417 * math/ftestexcept.c: Likewise.
35418 * math/k_cosl.c: Likewise.
35419 * math/k_rem_pio2l.c: Likewise.
35420 * math/k_sinl.c: Likewise.
35421 * math/k_tanl.c: Likewise.
35422 * math/s_asinhl.c: Likewise.
35423 * math/s_atanl.c: Likewise.
35424 * math/s_cbrtl.c: Likewise.
35425 * math/s_erfl.c: Likewise.
35426 * math/s_expm1l.c: Likewise.
35427 * math/s_log1pl.c: Likewise.
35428 * math/s_tanhl.c: Likewise.
35429 * misc/acct.c: Likewise.
35430 * misc/brk.c: Likewise.
35431 * misc/chflags.c: Likewise.
35432 * misc/chroot.c: Likewise.
35433 * misc/fchflags.c: Likewise.
35434 * misc/fgetxattr.c: Likewise.
35435 * misc/flistxattr.c: Likewise.
35436 * misc/fremovexattr.c: Likewise.
35437 * misc/fsetxattr.c: Likewise.
35438 * misc/fsync.c: Likewise.
35439 * misc/ftruncate.c: Likewise.
35440 * misc/futimes.c: Likewise.
35441 * misc/futimesat.c: Likewise.
35442 * misc/getdomain.c: Likewise.
35443 * misc/getdtsz.c: Likewise.
35444 * misc/gethostid.c: Likewise.
35445 * misc/gethostname.c: Likewise.
35446 * misc/getloadavg.c: Likewise.
35447 * misc/getpagesize.c: Likewise.
35448 * misc/getsysstats.c: Likewise.
35449 * misc/getxattr.c: Likewise.
35450 * misc/gtty.c: Likewise.
35451 * misc/ioctl.c: Likewise.
35452 * misc/lgetxattr.c: Likewise.
35453 * misc/listxattr.c: Likewise.
35454 * misc/llistxattr.c: Likewise.
35455 * misc/lremovexattr.c: Likewise.
35456 * misc/lsetxattr.c: Likewise.
35457 * misc/lutimes.c: Likewise.
35458 * misc/madvise.c: Likewise.
35459 * misc/mincore.c: Likewise.
35460 * misc/mlock.c: Likewise.
35461 * misc/mlockall.c: Likewise.
35462 * misc/mmap.c: Likewise.
35463 * misc/mprotect.c: Likewise.
35464 * misc/msync.c: Likewise.
35465 * misc/munlock.c: Likewise.
35466 * misc/munlockall.c: Likewise.
35467 * misc/munmap.c: Likewise.
35468 * misc/preadv.c: Likewise.
35469 * misc/preadv64.c: Likewise.
35470 * misc/ptrace.c: Likewise.
35471 * misc/pwritev.c: Likewise.
35472 * misc/pwritev64.c: Likewise.
35473 * misc/readv.c: Likewise.
35474 * misc/reboot.c: Likewise.
35475 * misc/remap_file_pages.c: Likewise.
35476 * misc/removexattr.c: Likewise.
35477 * misc/revoke.c: Likewise.
35478 * misc/select.c: Likewise.
35479 * misc/setdomain.c: Likewise.
35480 * misc/setegid.c: Likewise.
35481 * misc/seteuid.c: Likewise.
35482 * misc/sethostid.c: Likewise.
35483 * misc/sethostname.c: Likewise.
35484 * misc/setregid.c: Likewise.
35485 * misc/setreuid.c: Likewise.
35486 * misc/setxattr.c: Likewise.
35487 * misc/sstk.c: Likewise.
35488 * misc/stty.c: Likewise.
35489 * misc/swapoff.c: Likewise.
35490 * misc/swapon.c: Likewise.
35491 * misc/sync.c: Likewise.
35492 * misc/syncfs.c: Likewise.
35493 * misc/syscall.c: Likewise.
35494 * misc/truncate.c: Likewise.
35495 * misc/ualarm.c: Likewise.
35496 * misc/usleep.c: Likewise.
35497 * misc/ustat.c: Likewise.
35498 * misc/utimes.c: Likewise.
35499 * misc/vhangup.c: Likewise.
35500 * misc/writev.c: Likewise.
35501 * posix/_exit.c: Likewise.
35502 * posix/alarm.c: Likewise.
35503 * posix/execve.c: Likewise.
35504 * posix/fexecve.c: Likewise.
35505 * posix/fork.c: Likewise.
35506 * posix/fpathconf.c: Likewise.
35507 * posix/getaddrinfo.c: Likewise.
35508 * posix/getegid.c: Likewise.
35509 * posix/geteuid.c: Likewise.
35510 * posix/getgid.c: Likewise.
35511 * posix/getgroups.c: Likewise.
35512 * posix/getlogin.c: Likewise.
35513 * posix/getlogin_r.c: Likewise.
35514 * posix/getpgid.c: Likewise.
35515 * posix/getpid.c: Likewise.
35516 * posix/getppid.c: Likewise.
35517 * posix/getresgid.c: Likewise.
35518 * posix/getresuid.c: Likewise.
35519 * posix/getsid.c: Likewise.
35520 * posix/getuid.c: Likewise.
35521 * posix/glob64.c: Likewise.
35522 * posix/nanosleep.c: Likewise.
35523 * posix/pathconf.c: Likewise.
35524 * posix/pause.c: Likewise.
35525 * posix/posix_madvise.c: Likewise.
35526 * posix/pread.c: Likewise.
35527 * posix/pread64.c: Likewise.
35528 * posix/pwrite.c: Likewise.
35529 * posix/pwrite64.c: Likewise.
35530 * posix/sched_getaffinity.c: Likewise.
35531 * posix/sched_getp.c: Likewise.
35532 * posix/sched_gets.c: Likewise.
35533 * posix/sched_primax.c: Likewise.
35534 * posix/sched_primin.c: Likewise.
35535 * posix/sched_rr_gi.c: Likewise.
35536 * posix/sched_setaffinity.c: Likewise.
35537 * posix/sched_setp.c: Likewise.
35538 * posix/sched_sets.c: Likewise.
35539 * posix/sched_yield.c: Likewise.
35540 * posix/setgid.c: Likewise.
35541 * posix/setlogin.c: Likewise.
35542 * posix/setpgid.c: Likewise.
35543 * posix/setresgid.c: Likewise.
35544 * posix/setresuid.c: Likewise.
35545 * posix/setsid.c: Likewise.
35546 * posix/setuid.c: Likewise.
35547 * posix/sleep.c: Likewise.
35548 * posix/spawni.c: Likewise.
35549 * posix/sysconf.c: Likewise.
35550 * posix/times.c: Likewise.
35551 * posix/wait.c: Likewise.
35552 * posix/wait3.c: Likewise.
35553 * posix/wait4.c: Likewise.
35554 * posix/waitpid.c: Likewise.
35555 * resolv/gai_sigqueue.c: Likewise.
35556 * resource/getpriority.c: Likewise.
35557 * resource/getrlimit.c: Likewise.
35558 * resource/getrusage.c: Likewise.
35559 * resource/nice.c: Likewise.
35560 * resource/setpriority.c: Likewise.
35561 * resource/setrlimit.c: Likewise.
35562 * resource/ulimit.c: Likewise.
35563 * rt/aio_cancel.c: Likewise.
35564 * rt/aio_fsync.c: Likewise.
35565 * rt/aio_read.c: Likewise.
35566 * rt/aio_sigqueue.c: Likewise.
35567 * rt/aio_suspend.c: Likewise.
35568 * rt/aio_write.c: Likewise.
35569 * rt/clock_getres.c: Likewise.
35570 * rt/clock_gettime.c: Likewise.
35571 * rt/clock_nanosleep.c: Likewise.
35572 * rt/clock_settime.c: Likewise.
35573 * rt/lio_listio.c: Likewise.
35574 * rt/mq_close.c: Likewise.
35575 * rt/mq_getattr.c: Likewise.
35576 * rt/mq_notify.c: Likewise.
35577 * rt/mq_open.c: Likewise.
35578 * rt/mq_receive.c: Likewise.
35579 * rt/mq_send.c: Likewise.
35580 * rt/mq_setattr.c: Likewise.
35581 * rt/mq_timedreceive.c: Likewise.
35582 * rt/mq_timedsend.c: Likewise.
35583 * rt/mq_unlink.c: Likewise.
35584 * rt/shm_open.c: Likewise.
35585 * rt/shm_unlink.c: Likewise.
35586 * rt/timer_create.c: Likewise.
35587 * rt/timer_delete.c: Likewise.
35588 * rt/timer_getoverr.c: Likewise.
35589 * rt/timer_gettime.c: Likewise.
35590 * rt/timer_settime.c: Likewise.
35591 * setjmp/__longjmp.c: Likewise.
35592 * setjmp/setjmp.c: Likewise.
35593 * signal/kill.c: Likewise.
35594 * signal/killpg.c: Likewise.
35595 * signal/raise.c: Likewise.
35596 * signal/sigaction.c: Likewise.
35597 * signal/sigaltstack.c: Likewise.
35598 * signal/sigblock.c: Likewise.
35599 * signal/sigignore.c: Likewise.
35600 * signal/sigintr.c: Likewise.
35601 * signal/signal.c: Likewise.
35602 * signal/sigpause.c: Likewise.
35603 * signal/sigpending.c: Likewise.
35604 * signal/sigqueue.c: Likewise.
35605 * signal/sigreturn.c: Likewise.
35606 * signal/sigset.c: Likewise.
35607 * signal/sigsetmask.c: Likewise.
35608 * signal/sigstack.c: Likewise.
35609 * signal/sigsuspend.c: Likewise.
35610 * signal/sigtimedwait.c: Likewise.
35611 * signal/sigvec.c: Likewise.
35612 * signal/sigwait.c: Likewise.
35613 * signal/sigwaitinfo.c: Likewise.
35614 * signal/sysv_signal.c: Likewise.
35615 * socket/accept.c: Likewise.
35616 * socket/accept4.c: Likewise.
35617 * socket/bind.c: Likewise.
35618 * socket/connect.c: Likewise.
35619 * socket/getpeername.c: Likewise.
35620 * socket/getsockname.c: Likewise.
35621 * socket/getsockopt.c: Likewise.
35622 * socket/isfdtype.c: Likewise.
35623 * socket/listen.c: Likewise.
35624 * socket/recv.c: Likewise.
35625 * socket/recvfrom.c: Likewise.
35626 * socket/recvmsg.c: Likewise.
35627 * socket/send.c: Likewise.
35628 * socket/sendmsg.c: Likewise.
35629 * socket/sendto.c: Likewise.
35630 * socket/setsockopt.c: Likewise.
35631 * socket/shutdown.c: Likewise.
35632 * socket/sockatmark.c: Likewise.
35633 * socket/socket.c: Likewise.
35634 * socket/socketpair.c: Likewise.
35635 * stdio-common/ctermid.c: Likewise.
35636 * stdio-common/cuserid.c: Likewise.
35637 * stdio-common/remove.c: Likewise.
35638 * stdio-common/rename.c: Likewise.
35639 * stdio-common/renameat.c: Likewise.
35640 * stdio-common/tempname.c: Likewise.
35641 * stdlib/getcontext.c: Likewise.
35642 * stdlib/makecontext.c: Likewise.
35643 * stdlib/setcontext.c: Likewise.
35644 * stdlib/swapcontext.c: Likewise.
35645 * stdlib/system.c: Likewise.
35646 * streams/fattach.c: Likewise.
35647 * streams/fdetach.c: Likewise.
35648 * streams/getmsg.c: Likewise.
35649 * streams/getpmsg.c: Likewise.
35650 * streams/putmsg.c: Likewise.
35651 * streams/putpmsg.c: Likewise.
35652 * sysdeps/unix/bsd/getpt.c: Likewise.
35653 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35654 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35655 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35657 Likewise.
35658 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35659 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35660 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35661 * sysvipc/msgctl.c: Likewise.
35662 * sysvipc/msgget.c: Likewise.
35663 * sysvipc/msgrcv.c: Likewise.
35664 * sysvipc/msgsnd.c: Likewise.
35665 * sysvipc/semctl.c: Likewise.
35666 * sysvipc/semget.c: Likewise.
35667 * sysvipc/semop.c: Likewise.
35668 * sysvipc/semtimedop.c: Likewise.
35669 * sysvipc/shmat.c: Likewise.
35670 * sysvipc/shmctl.c: Likewise.
35671 * sysvipc/shmdt.c: Likewise.
35672 * sysvipc/shmget.c: Likewise.
35673 * termios/tcdrain.c: Likewise.
35674 * termios/tcflow.c: Likewise.
35675 * termios/tcflush.c: Likewise.
35676 * termios/tcgetattr.c: Likewise.
35677 * termios/tcgetpgrp.c: Likewise.
35678 * termios/tcsendbrk.c: Likewise.
35679 * termios/tcsetattr.c: Likewise.
35680 * termios/tcsetpgrp.c: Likewise.
35681 * time/adjtime.c: Likewise.
35682 * time/clock.c: Likewise.
35683 * time/getitimer.c: Likewise.
35684 * time/gettimeofday.c: Likewise.
35685 * time/setitimer.c: Likewise.
35686 * time/settimeofday.c: Likewise.
35687 * time/stime.c: Likewise.
35688 * time/time.c: Likewise.
35689
356902012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35691
a20492cf
PT
35692 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35693 /usr/old/bin.
35694
72e182e3
PT
35695 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35696 instead of spaces.
35697 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35698
fbeafede
JM
356992012-11-03 Joseph Myers <joseph@codesourcery.com>
35700
5b5b04d6
JM
35701 [BZ #14796]
35702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35703 FE_TONEAREST before applying Dekker multiplication and Knuth
35704 addition. Clear inexact exceptions and check for exact zero
35705 results afterwards.
35706 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35709 * math/libm-test.inc (fma_test): Add more tests.
35710 (fma_test_towardzero): Likewise.
35711 (fma_test_downward): Likewise.
35712 (fma_test_upward): Likewise.
35713 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35714 function.
35715 (libc_fesetround): New macro.
35716 (libc_fesetroundf): Likewise.
35717 (libc_fesetroundl): Likewise.
35718 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35719 function.
35720 (libc_fesetround_387): Likewise.
35721 (libc_fesetroundf): New macro.
35722 (libc_fesetround): Likewise.
35723 (libc_fesetroundl): Likewise.
35724 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35725 function.
35726 (libc_fesetroundf): New macro.
35727 (libc_fesetround): Likewise.
35728 (libc_fesetroundl): Likewise.
35729 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35730 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35731 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35732 libm_hidden_ver.
35733 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35734 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35735 libm_hidden_def.
35736 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35737 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35738 libm_hidden_ver.
35739 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35740 libm_hidden_def.
35741
fbeafede
JM
35742 [BZ #3439]
35743 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35744 integer constant usable in #if and use that to give value to enum
35745 constant.
35746 (FE_DIVBYZERO): Likewise.
35747 (FE_UNDERFLOW): Likewise.
35748 (FE_OVERFLOW): Likewise.
35749 (FE_INVALID): Likewise.
35750 (FE_INVALID_SNAN): Likewise.
35751 (FE_INVALID_ISI): Likewise.
35752 (FE_INVALID_IDI): Likewise.
35753 (FE_INVALID_ZDZ): Likewise.
35754 (FE_INVALID_IMZ): Likewise.
35755 (FE_INVALID_COMPARE): Likewise.
35756 (FE_INVALID_SOFTWARE): Likewise.
35757 (FE_INVALID_SQRT): Likewise.
35758 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35759 (FE_TONEAREST): Likewise.
35760 (FE_TOWARDZERO): Likewise.
35761 (FE_UPWARD): Likewise.
35762 (FE_DOWNWARD): Likewise.
35763 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35764 (FE_DIVBYZERO): Likewise.
35765 (FE_OVERFLOW): Likewise.
35766 (FE_UNDERFLOW): Likewise.
35767 (FE_INEXACT): Likewise.
35768 (FE_TONEAREST): Likewise.
35769 (FE_DOWNWARD): Likewise.
35770 (FE_UPWARD): Likewise.
35771 (FE_TOWARDZERO): Likewise.
35772 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35773 (FE_UNDERFLOW): Likewise.
35774 (FE_OVERFLOW): Likewise.
35775 (FE_DIVBYZERO): Likewise.
35776 (FE_INVALID): Likewise.
35777 (FE_TONEAREST): Likewise.
35778 (FE_TOWARDZERO): Likewise.
35779 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35780 (FE_OVERFLOW): Likewise.
35781 (FE_UNDERFLOW): Likewise.
35782 (FE_DIVBYZERO): Likewise.
35783 (FE_INEXACT): Likewise.
35784 (FE_TONEAREST): Likewise.
35785 (FE_TOWARDZERO): Likewise.
35786 (FE_UPWARD): Likewise.
35787 (FE_DOWNWARD): Likewise.
35788 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35789 (FE_DIVBYZERO): Likewise.
35790 (FE_OVERFLOW): Likewise.
35791 (FE_UNDERFLOW): Likewise.
35792 (FE_INEXACT): Likewise.
35793 (FE_TONEAREST): Likewise.
35794 (FE_DOWNWARD): Likewise.
35795 (FE_UPWARD): Likewise.
35796 (FE_TOWARDZERO): Likewise.
35797
105ca950
CM
357982012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35799
35800 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35801
a542b389
AS
358022012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35803
35804 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35805 commands. Quote $PWD.
35806 (blacklist_exports): Don't use remove_newlines. Replace "declare
35807 -x" by "export".
35808 (remove_newlines): Remove.
35809
f62c8abc
L
358102012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35811
35812 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35813 * stdlib/stdlib.h (atof): Moved to ...
35814 * include/bits/stdlib-float.h: Here. New file.
35815 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35816 * stdlib/bits/stdlib-float.h: New file.
35817 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35818 -mno-sse -mno-mmx.
35819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35820 <xmmintrin.h>.
35821
0155d5b2
JM
358222012-11-02 Joseph Myers <joseph@codesourcery.com>
35823
a68d0680
JM
35824 * conform/conformtest.pl (@headers): Add fenv.h.
35825 * conform/data/fenv.h-data: New file.
35826 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35827 include of <math/fenv.h>.
35828
caf7f573
JM
35829 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35830 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35831 && !UNIX98]. Enables tests for XOPEN2K8.
35832 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35833 POSIX2008]: Likewise.
35834
6c073ad6
JM
35835 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35836 (struct rusage): Do not expect type or its members.
35837
0155d5b2
JM
35838 [BZ #3439]
35839 * math/math.h (FP_NAN): Define macro to integer constant usable in
35840 #if and use that to give value to enum constant.
35841 (FP_INFINITE): Likewise.
35842 (FP_ZERO): Likewise.
35843 (FP_SUBNORMAL): Likewise.
35844 (FP_NORMAL): Likewise.
35845
b5dcacb4
AS
358462012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35847
35848 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35849 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35850 arguments.
35851
f7934be8
RM
358522012-11-02 Roland McGrath <roland@hack.frob.com>
35853
35854 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35855 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35856 autoconf-time if not.
35857 * configure.in: Remove AC_PREREQ.
35858
d7d08bde
TMQMF
358592012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35860
35861 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35862 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35863 of the internal implementation.
35864
dcdae19a
JM
358652012-11-02 Joseph Myers <joseph@codesourcery.com>
35866
35867 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35868 except include of <misc/sys/syslog.h>.
35869
d6cffd3e
AS
358702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35871
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35873 function returns with a NULL context exit with zero.
35874
b3563932
TMQMF
358752012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35876
35877 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35878
b288a93d
L
358792012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35880
35881 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35882 (run_program_cmd): This.
35883 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35884 (tst_langinfo): New variable. Use it.
35885
a2421a68
SAS
358862012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35887
35888 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35889 floating point opcodes.
35890
6f796e1b
TS
358912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35892
7402596b
TS
35893 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35894 variable.
35895
d0d4f868
TS
35896 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35897
6f796e1b
TS
35898 * sysdeps/mach/hurd/powerpc: Remove directory.
35899 * sysdeps/mach/powerpc: Likewise.
35900
4da224a2
AS
359012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35902
35903 * scripts/check-local-headers.sh: Ignore c++ headers.
35904
341dd673
TS
359052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35906
35907 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35908 __libc_cleanup_region_start argument.
35909
473611b2
JM
359102012-11-01 Joseph Myers <joseph@codesourcery.com>
35911
35912 [BZ #14784]
35913 [BZ #14785]
35914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35915 x * y using scaling, not as x * y + z.
35916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35917 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35918 * math/libm-test.inc (fma_test): Add more tests.
35919 (fma_test_towardzero): Likewise.
35920 (fma_test_downward): Likewise.
35921 (fma_test_upward): Likewise.
35922
4078da3d
TS
359232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35924
35925 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35926
903252aa
JM
359272012-10-31 Joseph Myers <joseph@codesourcery.com>
35928
35929 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35930 New variable.
35931
cbc818d0
TS
359322012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35933
35934 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35935
5a03cb1e
AS
359362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35937
35938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35939 Fix sort order.
35940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35941 Likewise.
35942
90aff2ff
TMQMF
359432012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35944
35945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35946 Fix the order of the list for glibc 2.17.
35947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35948 Likewise.
35949
1818fcb7
AS
359502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35951
35952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35953
ef82f4da
JM
359542012-10-31 Joseph Myers <joseph@codesourcery.com>
35955
16a0e2ec
JM
35956 [BZ #14610]
35957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35958 for low part of x being zero before using __atanl (y).
35959 * math/libm-test.inc (atan2_test): Add another test.
35960
0eb69512
JM
35961 * manual/install.texi (Configuring and compiling): Document
35962 general use of test-wrapper and test-wrapper-env.
35963 * INSTALL: Regenerated.
35964
ef82f4da
JM
35965 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35966 (__fma): Do not extract and scale down low bits on after-rounding
35967 systems when result rounded to normal precision would have normal
35968 exponent.
35969 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35970 (__fmal): Do not extract and scale down low bits on after-rounding
35971 systems when result rounded to normal precision would have normal
35972 exponent.
35973 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35974 (__fmal): Do not extract and scale down low bits on after-rounding
35975 systems when result rounded to normal precision would have normal
35976 exponent.
35977 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35978 macro.
35979 (fma_test): Add more tests.
35980 (fma_test_towardzero): Likewise.
35981 (fma_test_downward): Likewise.
35982 (fma_test_upward): Likewise.
35983
954ef0d9
L
359842012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35985
35986 * sysdeps/i386/tininess.h: Renamed to ...
35987 * sysdeps/x86/tininess.h: This.
35988 * sysdeps/x86_64/tininess.h: Removed.
35989
df61ffb2
JM
359902012-10-30 Joseph Myers <joseph@codesourcery.com>
35991
35992 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35993 input. Use $(build-program-cmd).
35994 ($(objpfx)tst-array1-static.out): Likewise.
35995 ($(objpfx)tst-array2.out): Likewise.
35996 ($(objpfx)tst-array3.out): Likewise.
35997 ($(objpfx)tst-array4.out): Likewise.
35998 ($(objpfx)tst-array5.out): Likewise.
35999 ($(objpfx)tst-array5-static.out): Likewise.
36000
01767843
CM
360012012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36002
47cc1490
CM
36003 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36004 if defined.
36005
01767843
CM
36006 * nss/nsswitch.h (nss_interface_function): Provide new
36007 macro for use with NSS functions.
36008 * grp/initgroups.c: Use new macro.
36009 * nss/getXXbyYY.c: Likewise.
36010 * nss/getXXbyYY_r.c: Likewise.
36011 * nss/getXXent.c: Likewise.
36012 * nss/getXXent_r.c: Likewise.
36013 * sysdeps/posix/getaddrinfo.c: Likewise.
36014
8321aa97
AJ
360152012-10-30 Andreas Jaeger <aj@suse.de>
36016
36017 * po/ru.po: Update Russion translation from translation project.
36018
2a27fd6d
JM
360192012-10-30 Joseph Myers <joseph@codesourcery.com>
36020
8627a232
JM
36021 [BZ #14152]
36022 [BZ #14783]
36023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36024 result and shift together with sticky bit instead of replicating
36025 round-to-nearest rounding.
36026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36028 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36029 missing underflow exceptions.
36030 (fma_test_towardzero): Add more tests.
36031 (fma_test_downward): Likewise.
36032 (fma_test_upward): Likewise.
36033
2a27fd6d
JM
36034 [BZ #14047]
36035 * sysdeps/generic/tininess.h: New file.
36036 * sysdeps/i386/tininess.h: Likewise.
36037 * sysdeps/sh/tininess.h: Likewise.
36038 * sysdeps/x86_64/tininess.h: Likewise.
36039 * stdlib/tst-strtod-underflow.c: Likewise.
36040 * stdlib/tst-tininess.c: Likewise.
36041 * stdlib/strtod_l.c: Include <tininess.h>.
36042 (round_and_return): Do not set errno for exact underflow cases.
36043 Force an underflow exception when setting errno for underflow.
36044 Determine underflow based on rounding to normal precision if
36045 TININESS_AFTER_ROUNDING.
36046 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36047 ERANGE for exact underflow cases.
36048 * stdlib/Makefile (tests): Add tst-tininess and
36049 tst-strtod-underflow.
36050 ($(objpfx)tst-tininess): Use $(link-libm).
36051 ($(objpfx)tst-strtod-underflow): Likewise.
36052
e7170363
AJ
360532012-10-30 Andreas Jaeger <aj@suse.de>
36054
e5088dc6
AJ
36055 [BZ#14767]
36056 * elf/Makefile (tests): Remove conditional for have-initfini-array
36057 since this is now always required and the variable does not exist
36058 anymore.
36059 (tests-static): Likewise.
36060 (modules-names): Likewise.
36061
e7170363 36062 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36063
36064 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36065 merged with constructor/destructor.
36066 (init_array): Likewise.
36067 * elf/tst-array2dep.c (fini_array): Likewise.
36068 (init_array): Likewise.
36069
60457d8a
MF
360702012-10-29 Mike Frysinger <vapier@gentoo.org>
36071
36072 * manual/message.texi: Delete @cartouche tags.
36073
8bece752
PT
360742012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36075
94ce799f
PT
36076 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36077 EOPNOTSUPP.
36078 * sysdeps/mach/hurd/fsync.c: Likewise.
36079
8bece752
PT
36080 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36081 [_POSIX_REALTIME_SIGNALS]: Change condition to
36082 [_POSIX_REALTIME_SIGNALS > 0].
36083
86ebe6b1
AJ
360842012-10-27 Andreas Jaeger <aj@suse.de>
36085
36086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36087 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36089 [__WORDSIZE != 64]: Likewise.
36090
54399c08
L
360912012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36092
36093 * iconvdata/tst-table.sh: Remove ${SHELL}.
36094 * iconvdata/tst-tables.sh: Likewise.
36095
e2211bed
DM
360962012-10-25 David S. Miller <davem@davemloft.net>
36097
36098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36099 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36100 of strtoull.
36101
f303f97c
DM
36102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36103 ifunc-impl-list.c
36104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36105 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36106 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36107 file.
36108
1e9d84cd
RM
361092012-10-25 Roland McGrath <roland@hack.frob.com>
36110
36111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36112 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36113 __getdirentries.
36114
df381762
JM
361152012-10-25 Joseph Myers <joseph@codesourcery.com>
36116 Jim Blandy <jimb@codesourcery.com>
36117
36118 * scripts/cross-test-ssh.sh: New file.
36119 * manual/install.texi (Configuring and compiling): Document use of
36120 cross-test-ssh.sh.
36121 * INSTALL: Regenerated.
36122
bff64913
PT
361232012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36124
36125 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36126 EOPNOTSUPP.
36127
25fe8932
JM
361282012-10-25 Joseph Myers <joseph@codesourcery.com>
36129
36130 * Makeconfig (run-program-prefix): Fix comment.
36131
cc1290d0
JM
361322012-10-24 Joseph Myers <joseph@codesourcery.com>
36133 Jim Blandy <jimb@codesourcery.com>
36134
36135 * Makeconfig (test-wrapper): New variable,
36136 (test-wrapper-env): Likewise.
36137 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36138 (run-built-tests): Define to yes.
36139 (run-program-prefix): Use $(test-wrapper).
36140 (built-program-cmd): Likewise.
36141 * Rules (make-test-out): Use $(test-wrapper-env) and
36142 $(host-built-program-cmd).
36143 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36144 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36145 tst-pathopt.sh.
36146 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36147 $(test-wrapper-env) to tst-rtld-load-self.sh.
36148 ($(objpfx)order2.out): Use $(test-wrapper).
36149 ($(objpfx)tst-initorder.out): Likewise.
36150 ($(objpfx)tst-initorder2.out): Likewise.
36151 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36152 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36153 (test_wrapper_env): New variable. Use it to run ld.so.
36154 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36155 Use it to run ld.so.
36156 (test_wrapper_env): Likewise.
36157 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36158 $(test-wrapper) to run-iconv-test.sh.
36159 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36160 (ICONV): Use $test_wrapper.
36161 * posix/Makefile ($(objpfx)globtest.out): Pass
36162 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36163 globtest.sh, not $(run-program-prefix).
36164 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36165 (test_wrapper): Likewise.
36166 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36167 set together with run_via_rtld_prefix.
36168 (run_program_prefix): Define in terms of test_wrapper and
36169 run_via_rtld_prefix.
36170
6e6249d0
RM
361712012-10-24 Roland McGrath <roland@hack.frob.com>
36172
36173 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36174 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36175 Targets removed.
36176
36177 [BZ #14743]
36178 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36179 Declare __clock_getres, __clock_gettime, __clock_settime,
36180 __clock_nanosleep, and __clock_getcpuclockid.
36181 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36182 Remove librt_hidden_def (clock_gettime).
36183 * sysdeps/unix/clock_gettime.c: Likewise.
36184 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36185 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36186 * rt/clock_getres.c: Define __clock_getres as an alias.
36187 * sysdeps/posix/clock_getres.c: Likewise.
36188 * rt/clock_settime.c: Define __clock_settime as an alias.
36189 * sysdeps/unix/clock_settime.c: Likewise.
36190 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36191 * sysdeps/unix/clock_nanosleep.c: Likewise.
36192 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36193 * rt/clock-compat.c: New file.
36194 * rt/Makefile (librt-routines): Add clock-compat and move
36195 $(clock-routines) to ...
36196 (routines): ... here, new variable.
36197 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36198 Don't add get_clockfreq here.
36199 * rt/Versions (libc: GLIBC_2.17): New version set.
36200 Add clock_* symbols here.
36201 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36203 (GLIBC_2.17): Add clock_* symbols.
36204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36208 Likewise.
36209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36210 Likewise.
36211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36215 * NEWS: Mention the move.
36216
36217 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36218 Use __open, __read, __close rather than their public counterparts.
36219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36220 (__get_clockfreq_via_cpuinfo): Likewise.
36221 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36222 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36223
36224 * config.h.in (HAVE_IFUNC): New #undef.
36225 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36226 was successful.
36227 * configure: Regenerated.
36228
0cae3f4b
MF
362292012-10-24 Mike Frysinger <vapier@gentoo.org>
36230
36231 * configure.in: Move READELF check to start of file.
36232 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36233 libc_cv_asm_gnu_indirect_function in the process.
36234 * configure: Regenerated.
36235
8175a253
MF
362362012-10-24 Mike Frysinger <vapier@gentoo.org>
36237
36238 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36239 send the output to /dev/null.
36240 (libc_cv_cc_with_libunwind): Likewise.
36241 (libc_cv_as_noexecstack): Likewise.
36242 * configure: Regenerate.
36243
0708a7d1
JM
362442012-10-24 Joseph Myers <joseph@codesourcery.com>
36245
10b40d85
JM
36246 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36247
0708a7d1
JM
36248 * posix/globtest.sh (TMPDIR): Do not set.
36249 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36250 (testout): Likewise.
36251
9fddec1a
AJ
362522012-10-24 Andreas Jaeger <aj@suse.de>
36253
3a8db22f
AJ
36254 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36255 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36256 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36257 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36258 posix_fadvise64, posix_fallocate64.
36259
9fddec1a
AJ
36260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36261 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36262 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36263 Likewise.
36264 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36265 Likewise.
36266 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36267
36268 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36269 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36270 <bits/fcntl-linux.h>.
36271 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36272
36273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36274 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36275 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36276 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36277 [__WORDSIZE != 64]: Likewise.
36278
ebfd1bbd
JM
362792012-10-23 Joseph Myers <joseph@codesourcery.com>
36280
03ac099f
JM
36281 * Makeconfig (run-built-tests): New variable.
36282 * Rules [$(cross-compiling) = yes]: Change condition to
36283 [$(run-built-tests) = no].
36284 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36285 to [$(run-built-tests) = yes].
36286 * elf/Makefile [$(cross-compiling) = no]: Likewise
36287 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36288 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36289 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36290 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36291 * io/Makefile [$(cross-compiling) = no]: Likewise.
36292 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36293 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36294 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36295 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36296 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36297 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36298 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36299 * string/Makefile [$(cross-compiling) = no]: Likewise.
36300
ebfd1bbd
JM
36301 * posix/Makefile ($(objpfx)globtest.out): Pass
36302 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36303 $(rtld-installed-name).
36304 * posix/globtest.sh (elf_objpfx): Remove variable.
36305 (rtld_installed_name): Likewise.
36306 (library_path): Likewise.
36307 (run_program_prefix): New variable. Use for running globtest
36308 binary.
36309
166bca24
JB
363102012-10-23 Jim Blandy <jimb@codesourcery.com>
36311 Joseph Myers <joseph@codesourcery.com>
36312
36313 * Makeconfig (host-built-program-cmd): New variable.
36314 * elf/Makefile (tst-stackguard1-ARGS): Use
36315 $(host-built-program-cmd).
36316 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36317 (tst-spawn-ARGS): Likewise.
36318 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36319
88866099
JM
363202012-10-23 Joseph Myers <joseph@codesourcery.com>
36321 Jim Blandy <jimb@codesourcery.com>
36322
36323 * Makeconfig (run-via-rtld-prefix): New variable.
36324 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36325 (built-program-cmd): Likewise.
36326
b4b4c296
AJ
363272012-10-22 Andreas Jaeger <aj@suse.de>
36328
36329 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36330 __O_RSYNC if it exists, otherwise to O_SYNC.
36331
6fb54a22
JB
363322012-10-22 Jim Blandy <jimb@codesourcery.com>
36333 Joseph Myers <joseph@codesourcery.com>
36334
36335 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36336 /dev/null.
36337 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36338 from /dev/null
36339 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36340 /dev/null.
36341
481b90b9
AJ
363422012-10-22 Andreas Jaeger <aj@suse.de>
36343
2a0e2669
AJ
36344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36345 Define always.
36346 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36347
76e38f9a
AJ
36348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36349 bits/fcntl-linux.h.
36350
7cd37b43
AJ
36351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36352 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36353
481b90b9
AJ
36354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36355 to __O_LARGEFILE.
36356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36357 to __O_LARGEFILE.
36358
aba75984
JB
363592012-10-21 Jim Blandy <jimb@codesourcery.com>
36360 Joseph Myers <joseph@codesourcery.com>
36361
36362 * config.make.in (NM): New variable.
36363
88d4247f
AJ
363642012-10-21 Andreas Jaeger <aj@suse.de>
36365
36366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36367 definitions and declarations that are provided by
36368 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36369
f2eed205
L
363702012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36371
36372 [BZ #14683]
36373 * elf/Makefile (tests-static): Add tst-leaks1-static.
36374 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36375 ($(objpfx)tst-leaks1-static): New rule.
36376 ($(objpfx)tst-leaks1-static-mem): Likewise.
36377 (tst-leaks1-static-ENV): New macro.
36378 * elf/dl-open.c (dl_open_worker): Check the main application
36379 only if SHARED is defined.
36380 * elf/tst-leaks1-static.c: New file.
36381
335e6931
AJ
363822012-10-20 Andreas Jaeger <aj@suse.de>
36383
36384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36385 generic values for Linux.
36386 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36387 and declarations that are provided by <bits/fcntl-linux.h> and
36388 include <bits/fcntl-linux.h>.
36389 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36391
ac5c94d3
RM
363922012-10-20 Roland McGrath <roland@hack.frob.com>
36393
36394 * io/fcntl.h: Move include of <bits/types.h> to the top and
36395 include it unconditionally.
36396
de54b33a
L
363972012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36398
228cfb01
L
36399 * wcsmbs/Makefile (tests-ifunc): New variable.
36400 (tests): Add $(tests-ifunc).
36401 * wcsmbs/test-wcschr-ifunc.c: New file.
36402 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36403 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36404 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36405 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36406 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36407
69f07e5f
L
36408 * string/Makefile (tests-ifunc): New variable.
36409 (tests): Add $(tests-ifunc).
36410 * string/test-memccpy.c (TEST_NAME): New macro.
36411 * string/test-memchr.c (TEST_NAME): Likewise.
36412 * string/test-memcmp.c (TEST_NAME): Likewise.
36413 * string/test-memcpy.c (TEST_NAME): Likewise.
36414 * string/test-memmem.c (TEST_NAME): Likewise.
36415 * string/test-memmove.c (TEST_NAME): Likewise.
36416 * string/test-memset.c (TEST_NAME): Likewise.
36417 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36418 * string/test-stpcpy.c (TEST_NAME): Likewise.
36419 * string/test-stpncpy.c (TEST_NAME): Likewise.
36420 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36421 * string/test-strcasestr.c (TEST_NAME): Likewise.
36422 * string/test-strcat.c (TEST_NAME): Likewise.
36423 * string/test-strchr.c (TEST_NAME): Likewise.
36424 * string/test-strcmp.c(TEST_NAME): Likewise.
36425 * string/test-strcpy.c (TEST_NAME): Likewise.
36426 * string/test-strcspn.c (TEST_NAME): Likewise.
36427 * string/test-strlen.c (TEST_NAME): Likewise.
36428 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36429 * string/test-strncmp.c (TEST_NAME): Likewise.
36430 * string/test-strncpy.c (TEST_NAME): Likewise.
36431 * string/test-strnlen.c (TEST_NAME): Likewise.
36432 * string/test-strpbrk.c (TEST_NAME): Likewise.
36433 * string/test-strrchr.c (TEST_NAME): Likewise.
36434 * string/test-strspn.c (TEST_NAME): Likewise.
36435 * string/test-strstr.c (TEST_NAME): Likewise.
36436 * string/test-bcopy-ifunc.c: New file.
36437 * string/test-bzero-ifunc.c: Likewise.
36438 * string/test-memccpy-ifunc.c: Likewise.
36439 * string/test-memchr-ifunc.c: Likewise.
36440 * string/test-memcmp-ifunc.c: Likewise.
36441 * string/test-memcpy-ifunc.c: Likewise.
36442 * string/test-memmem-ifunc.c: Likewise.
36443 * string/test-memmove-ifunc.c: Likewise.
36444 * string/test-mempcpy-ifunc.c: Likewise.
36445 * string/test-memset-ifunc.c: Likewise.
36446 * string/test-rawmemchr-ifunc.c: Likewise.
36447 * string/test-stpcpy-ifunc.c: Likewise.
36448 * string/test-stpncpy-ifunc.c: Likewise.
36449 * string/test-strcasecmp-ifunc.c: Likewise.
36450 * string/test-strcasestr-ifunc.c: Likewise.
36451 * string/test-strcat-ifunc.c: Likewise.
36452 * string/test-strchr-ifunc.c: Likewise.
36453 * string/test-strchrnul-ifunc.c: Likewise.
36454 * string/test-strcmp-ifunc.c: Likewise.
36455 * string/test-strcpy-ifunc.c: Likewise.
36456 * string/test-strcspn-ifunc.c: Likewise.
36457 * string/test-strlen-ifunc.c: Likewise.
36458 * string/test-strncasecmp-ifunc.c: Likewise.
36459 * string/test-strncat-ifunc.c: Likewise.
36460 * string/test-strncmp-ifunc.c: Likewise.
36461 * string/test-strncpy-ifunc.c: Likewise.
36462 * string/test-strnlen-ifunc.c: Likewise.
36463 * string/test-strpbrk-ifunc.c: Likewise.
36464 * string/test-strrchr-ifunc.c: Likewise.
36465 * string/test-strspn-ifunc.c: Likewise.
36466 * string/test-strstr-ifunc.c: Likewise.
36467
de54b33a
L
36468 * debug/Makefile (tests-ifunc): New variable.
36469 (tests): Add $(tests-ifunc).
36470 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36471 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36472 * debug/test-stpcpy_chk-ifunc.c: New file.
36473 * debug/test-strcpy_chk-ifunc.c: Likewise.
36474
88481c16
SP
364752012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36476
36477 [BZ #13601]
36478 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36479 header is not read in.
36480
135948bd
JM
364812012-10-19 Joseph Myers <joseph@codesourcery.com>
36482
89f1c388
JM
36483 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36484 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36485 directly. Pass built executable to script as
36486 $(built-program-cmd).
36487 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36488 $testprogram without using LD_LIBRARY_PATH and $ldso.
36489
e40a0d21
JM
36490 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36491 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36492 $(rtld-installed-name).
36493 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36494 (rtld_installed_name): Likewise.
36495 (library_path): Likewise.
36496 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36497 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36498 $(run-program-prefix) to tst-tables.sh.
36499 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36500 it to run tst-table-from and tst-table-to.
36501 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36502 Pass it to tst-table.sh.
36503 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36504 $(run-program-prefix) to tst-gettext.sh.
36505 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36506 tst-translit.sh.
36507 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36508 tst-gettext2.sh.
36509 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36510 to run tst-gettext.
36511 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36512 to run tst-gettext2.
36513 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36514 to run tst-translit.
36515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36516 $(run-program-prefix) to tst-mtrace.sh.
36517 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36518 to run tst-mtrace.
36519 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36520 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36521 $(rtld-installed-name).
36522 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36523 (rtld_installed_name): Likewise.
36524 (run_program_prefix): New variable. Use it to run wordexp-test.
36525
728e272a
JM
36526 * Makeconfig (ARCH): Remove all definitions.
36527 (machine): Likewise.
36528 [ARCH]: Remove conditional code.
36529 [!objdir]: Give error.
36530 [!objdir] (objpfx): Remove.
36531 [!objdir] (common-objpfx): Likewise.
36532 [!objdir] (common-objdir): Likewise.
36533 * configure.in (config_makefile): Remove. Hardcode Makefile in
36534 AC_CONFIG_FILES call.
36535 * configure: Regenerated.
36536
d528cdcf
JM
36537 [BZ #13888]
36538 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36539 or TMPDIR.
36540 (testout): Likewise.
36541
135948bd
JM
36542 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36543 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36544 $(rtld-installed-name).
36545 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36546 (rtld_installed_name): Likwise.
36547 (runit): Remove function.
36548 (run_getconf): New variable, Use it for running getconf binary.
36549
38c78296
L
365502012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36551
36552 [BZ #14716]
36553 * string/test-memmem.c (check_result): New function.
36554 (do_one_test): Use it.
36555 (check1): New function.
36556 (test_main): Use it.
36557
d077f65f
MT
365582012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36559
36560 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36561
ced52c71
JM
365622012-10-18 Joseph Myers <joseph@codesourcery.com>
36563
36564 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36565 (_G_LSEEK64): Likewise.
36566 (_G_MMAP64): Likewise.
36567 (_G_FSTAT64): Likewise.
36568 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36569 (_G_LSEEK64): Likewise.
36570 (_G_MMAP64): Likewise.
36571 (_G_FSTAT64): Likewise.
36572 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36573 unconditional. Call __mmap64 directly.
36574 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36575 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36576 __lseek64 directly.
36577 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36578 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36579 __mmap64 directly.
36580 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36581 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36582 __lseek64 directly.
36583 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36584 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36585 __lseek64 directly.
36586 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36587 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36588 __lseek64 directly.
36589 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36590 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36591 __fxstat64 directly.
36592 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36593 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36594 unconditional.
36595 (freopen64) [!_G_OPEN64]: Remove conditional code.
36596 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36597 unconditional.
36598 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36599 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36600 unconditional.
36601 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36602 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36603 unconditional.
36604 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36605 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36606 unconditional.
36607 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36608 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36609 unconditional.
36610 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36611 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36612 unconditional.
36613 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36614 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36615 unconditional.
36616 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36617
b741de23
SP
366182012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36619
36620 [BZ #12140]
36621 * manual/memory.texi (Malloc Tunable Parameters): Add note
36622 about free list pointers overwriting some perturb bytes.
36623 Wording suggested by Roland McGrath.
36624
f9b9d9c9
JM
366252012-10-17 Joseph Myers <joseph@codesourcery.com>
36626
36627 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36628 (lgamma_test): Likewise.
36629 (tgamma_test): Likewise.
36630
172a631a
FW
366312012-10-16 Florian Weimer <fweimer@redhat.com>
36632
36633 [BZ #14700]
36634 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36635 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36636
e9f37252
MK
366372012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36638
36639 * NEWS: Mention BZ #14716.
36640 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36641 when removing AVAILABLE1_USES_J macro.
36642
d394eb74
L
366432012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36644
36645 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36646 (__bswap_64): __uint64_t for unsigned 64-bit int.
36647
ca38dc17
AS
366482012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36649
36650 * include/string.h (memmem): Declare libc hidden alias.
36651 * string/memmem.c (memmem): Define libc hidden alias.
36652 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36653 __read, __close instead of open, read, close.
36654
9a387d1f
L
366552012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36656
ac49ecaf
L
36657 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36658 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36659 global and hidden.
36660 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36661 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36662 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36663 Likewise.
36664 (__rawmemchr_sse2): Likewise.
36665 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36666 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36667 (__strchr_sse2): Likewise.
36668 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36669 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36670 (__strcasecmp_sse2): Likewise.
36671 (__strncasecmp_sse2): Likewise.
36672 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36673 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36674 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36675 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36676 (__strrchr_sse2): Likewise.
36677 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36678 ifunc-impl-list.c.
36679 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36680 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36681 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36682 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36683 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36684 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36685 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36686 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36687 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36688 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36689 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36690 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36691 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36692 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36693 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36694 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36695 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36696 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36697 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36698 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36699 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36700 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36701 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36702 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36703 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36704 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36705 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36706 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36707 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36708 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36709
b090e8ea
L
36710 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36711 global and hidden.
36712 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36713 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36714 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36715 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36716 Likewise.
36717 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36718 Likewise.
36719 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36720 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36721 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36722 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36723 ifunc-impl-list.c.
36724 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36725 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36726 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36727 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36728 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36729 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36730 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36731 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36732 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36733 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36734 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36735 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36736 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36737 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36738 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36739 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36740 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36741 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36742 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36743 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36745 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36746 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36747 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36748 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36749 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36750 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36751 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36752 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36753 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36754 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36755 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36756 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36757 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36758 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36759 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36760 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36761 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36762 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36763 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36764 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36765
11dd4af6
L
36766 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36767 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36768 * include/ifunc-impl-list.h: New file.
36769 * misc/ifunc-impl-list.c: Likewise.
36770 * misc/Makefile (routines): Add ifunc-impl-list.
36771 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36772 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36773 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36774 TEST_NAME]: New variables.
11dd4af6
L
36775 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36776 are defined.
36777 (test_init): Call __libc_ifunc_impl_list to initialize
36778 func_list if TEST_IFUNC and TEST_NAME are defined.
36779
9a387d1f
L
36780 * string/Makefile (strop-tests): Add bcopy and bzero.
36781 * string/test-bcopy.c: New file.
36782 * string/test-bzero.c: Likewise.
36783 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36784 defined.
36785 * string/test-memset.c: Support bzero test if TEST_BZERO is
36786 defined.
36787 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36788 __libc_memmove.
36789 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36790 __libc_memset.
36791 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36792 of memset.
36793
472371b9
JM
367942012-10-10 Joseph Myers <joseph@codesourcery.com>
36795
1e4a9536
JM
36796 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36797 * configure: Regenerated.
36798
d173d12e
JM
36799 * Makeconfig (+link-static-before-libc): Don't include
36800 $(link-static-libc).
36801
472371b9
JM
36802 * libio/libio.h (_IO_pos_t): Remove.
36803
89a3ad0b
AO
368042012-10-10 Alexandre Oliva <aoliva@redhat.com>
36805
36806 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36807 McGrath.
36808
e7451425
AO
368092012-10-10 Alexandre Oliva <aoliva@redhat.com>
36810
36811 * crypt/crypt-entry.c: Include fips-private.h.
36812 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36813 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36814 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36815 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36816
4ba74a35
AO
368172012-10-10 Alexandre Oliva <aoliva@redhat.com>
36818
36819 * crypt/crypt-private.h: Include stdbool.h.
36820 (_ufc_setup_salt_r): Return bool.
36821 * crypt/crypt-entry.c: Include errno.h.
36822 (__crypt_r): Return NULL with EINVAL for bad salt.
36823 * crypt/crypt_util.c (bad_for_salt): New.
36824 (_ufc_setup_salt_r): Check that salt is long enough and within
36825 the specified alphabet.
36826 * crypt/badsalttest.c: New file.
36827 * crypt/Makefile (tests): Add it.
36828 ($(objpfx)badsalttest): New.
36829
f96f1242
MK
368302012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36831
36832 * NEWS: Add entry for BZ #14602.
36833
0e8e0c1c
JM
368342012-10-09 Joseph Myers <joseph@codesourcery.com>
36835
36836 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36837 type-generic.
36838 * math/libm-test.inc: Update comment listing what functions and
36839 macros are tested.
36840 (isgreater_test): New function.
36841 (isgreaterequal_test): Likewise.
36842 (isless_test): Likewise.
36843 (islessequal_test): Likewise.
36844 (islessgreater_test): Likewise.
36845 (isunordered_test): Likewise.
36846 (main): Call the new functions.
36847
273edc5e
RM
368482012-10-09 Roland McGrath <roland@hack.frob.com>
36849
b8493de0
RM
36850 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36851 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36852 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36853 * sysdeps/i386/configure: Regenerated.
36854 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36855 * sysdeps/mach/configure: Regenerated.
36856 * sysdeps/mach/hurd/configure: Regenerated.
36857 * sysdeps/powerpc/configure: Regenerated.
36858 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36859 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36860 * sysdeps/s390/s390-32/configure: Regenerated.
36861 * sysdeps/s390/s390-64/configure: Regenerated.
36862 * sysdeps/sh/configure: Regenerated.
36863 * sysdeps/sparc/configure: Regenerated.
36864 * sysdeps/unix/sysv/linux/configure: Regenerated.
36865 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36866 * sysdeps/x86_64/configure: Regenerated.
36867
273edc5e
RM
36868 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36869 defined. Don't check if MAP is NULL.
36870
c8450f70
JM
368712012-10-09 Joseph Myers <joseph@codesourcery.com>
36872
36873 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36874 (_G_stat64): Likewise.
36875 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36876 (_G_stat64): Likewise.
36877 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36878 instead of struct _G_stat64.
36879 * libio/fileops.c (mmap_remap_check): Likewise.
36880 (decide_maybe_mmap): Likewise.
36881 (_IO_new_file_seekoff): Likewise.
36882 (_IO_file_stat): Likewise.
36883 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36884 _G_off64_t.
36885 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36886 instead of struct _G_stat64.
36887 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36888
57e605ba
MK
368892012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36890
36891 [BZ #14602]
36892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36893 Replace with ...
36894 (CHECK_EOL): New macro.
36895 (two_way_short_needle): Check beginning of haystack for EOL. Use
36896 CHECK_EOL.
36897 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36898 Replace with CHECK_EOL.
36899 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36900 Replace with CHECK_EOL.
36901
ef1bb361
JM
369022012-10-08 Joseph Myers <joseph@codesourcery.com>
36903
36904 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36905 type-generic.
36906 * math/libm-test.inc: Update comment listing what functions and
36907 macros are tested.
36908 (finite_test): New function.
36909 (isinf_test): Likewise.
36910 (isnan_test): Likewise.
36911 (fpclassify_test): Test subnormal input.
36912 (isfinite_test): Likewise.
36913 (isnormal_test): Likewise.
36914 (main): Call the new functions.
36915
55f11534
JN
369162012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36917
36918 [BZ #14660]
36919 * Makerules (%.dynsym): Force C locale when running
36920 $(OBJDUMP) --dynamic-syms.
36921
1ab29350
AS
369222012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36923
36924 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36925 <stdint.h>.
36926
f1ecb7ef
DM
369272012-10-06 David S. Miller <davem@davemloft.net>
36928
36929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36930 upper 32-bits of the length value in %o2 since we use branch-on-register
36931 tests which consider the entire 64-bit register.
36932
5d41d91a
L
369332012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 * string/test-strstr.c (check2): Add a test for page boundary.
36936
3baddb72
DM
369372012-10-05 David S. Miller <davem@davemloft.net>
36938
36939 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36940 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36941 file.
36942 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36943 sysdep_routines.
36944 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36945 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36946 and bzero when HWCAP_SPARC_CRYPTO is present.
36947
9cee5585
L
369482012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36949
d7e0dab9
L
36950 [BZ #14602]
36951 * string/test-strstr.c (check2): New function.
36952 (test_main): Call check2.
36953
03759f47
L
36954 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36955 and bug-strchr1.
36956 * string/bug-strcasestr1.c (do_test): Moved to ...
36957 * string/test-strcasestr.c (check1): Here. New function.
36958 (do_one_test): Break out result checking code into ...
36959 (check_result): This. New function.
36960 (do_one_test): Call check_result.
36961 (test_main): Call check1.
36962 * string/bug-strchr1.c (do_test): Moved to ...
36963 * string/test-strchr.c (check1): Here. New function.
36964 (do_one_test): Break out result checking code into ...
36965 (check_result): This. New function.
36966 (do_one_test): Call check_result.
36967 (test_main): Call check1.
36968 * string/bug-strstr1.c (main): Moved to ...
046f153e 36969 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36970 (do_one_test): Break out result checking code into ...
36971 (check_result): This. New function.
36972 (do_one_test): Call check_result.
36973 (test_main): Call check1.
36974 * string/bug-strcasestr1.c: Removed.
36975 * string/bug-strchr1.c: Likewise.
36976 * string/bug-strstr1.c: Likewise.
36977
53cea63e
L
36978 * elf/Makefile (dl-routines): Add hwcaps.
36979 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36980 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36981 (_dl_important_hwcaps): Moved to ...
36982 * elf/dl-hwcaps.c: Here. New file.
36983 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36984
9cee5585 36985 [BZ #14557]
bb859b06
L
36986 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36987 if IS_IN_rtld isn't defined.
36988
9cee5585
L
36989 * elf/dl-support.c (_dl_sysinfo_map): New.
36990 Include "get-dynamic-info.h" and "setup-vdso.h".
36991 (_dl_non_dynamic_init): Call setup_vdso.
36992 * elf/dynamic-link.h: Don't include <assert.h>.
36993 (elf_get_dynamic_info): Moved to ...
36994 * elf/get-dynamic-info.h: Here. New file.
36995 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36996 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36997 * elf/setup-vdso.h: Here. New file.
36998 * elf/rtld.c: Include "setup-vdso.h".
36999 (dl_main): Call setup_vdso.
37000
23c31b76
JM
370012012-10-05 Joseph Myers <joseph@codesourcery.com>
37002
28234b07
JM
37003 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37004 creal in comment listing functions tested. List finite, isinf,
37005 isnan, isless, islessequal, isgreater, isgreaterequal,
37006 islessgreater, isunordered, lgamma_r and pow10 as functions and
37007 macros not tested. Mention which functions not tested are aliases
37008 for other functions. Fix typo. Note that signs of NaNs are not
37009 tested.
37010
23c31b76
JM
37011 * scripts/config.guess: Update from config.git.
37012 * scripts/config.sub: Likewise.
37013
9043e228
RM
370142012-10-04 Roland McGrath <roland@hack.frob.com>
37015
37016 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37017 * misc/madvise.c (madvise): Renamed to __madvise.
37018 Make madvise a weak alias.
37019 * include/sys/mman.h: Declare __madvise.
37020 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37021 * sysdeps/unix/syscalls.list
37022 (madvise): Make __madvise the strong name, and madvise a weak alias.
37023 * sysdeps/unix/sysv/linux/syscalls.list
37024 (madvise, mmap): Remove redundant entries.
37025 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37026 * malloc/malloc.c (mtrim): Likewise.
37027 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37028
f57f8055
RM
370292012-10-03 Roland McGrath <roland@hack.frob.com>
37030
37031 * sysdeps/mach/hurd/dl-cache.c: File removed.
37032 * config.h.in (USE_LDCONFIG): New #undef.
37033 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37034 * configure: Regenerated.
37035 * elf/Makefile (dl-routines): Add dl-cache only under
37036 [$(use-ldconfig) = yes].
37037 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37038 cache on [USE_LDCONFIG].
37039 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37040 [USE_LDCONFIG].
37041 * elf/rtld.c (dl_main): Likewise.
37042
5bb0c10a
PT
370432012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37044
37045 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37046 _SC_LEVEL4_CACHE_LINESIZE.
37047
010188c6
RM
370482012-10-03 Roland McGrath <roland@hack.frob.com>
37049
37050 * sysdeps/unix/bsd/confstr.h: File removed.
37051
b6c5ec07
AO
370522012-10-02 Alexandre Oliva <aoliva@redhat.com>
37053
37054 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37055 sys/sdt-config.h.
37056
408223d4
RM
370572012-10-02 Roland McGrath <roland@hack.frob.com>
37058
37059 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37060 Make 'mapoff' field ElfW(Off) rather than off_t.
37061
bb9510dc
DL
370622012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37063
fc997c6e
DL
37064 * nscd/Makefile: Remove nscd-cflags and all its users.
37065 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37066 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37067
bb9510dc
DL
37068 [BZ #10631]
37069 * malloc.c (malloc_printerr): Clarify error message.
37070
05699367
L
370712012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37072
37073 [BZ #14648]
37074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37075 Set bit_FMA_Usable if FMA is supported.
37076 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37077 macro.
37078 (bit_FMA4_Usable): Updated.
37079 (index_FMA_Usable): New macro.
37080 (CPUID_FMA): Likewise
37081 (HAS_FMA): Defined with bit_FMA_Usable.
37082
51367701
RM
370832012-10-01 Roland McGrath <roland@hack.frob.com>
37084
37085 * bits/types.h (__swblk_t): Type removed.
37086 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37087 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37089 (__SWBLK_T_TYPE): Likewise.
37090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37091 (__SWBLK_T_TYPE): Likewise.
37092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37093 (__SWBLK_T_TYPE): Likewise.
37094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37095 (__SWBLK_T_TYPE): Likewise.
37096
4d57bf63 370972012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37098 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37099
37100 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37101 (xdr_mapname): Use YPMAXMAP as maxsize.
37102 (xdr_peername): Use YPMAXPEER as maxsize.
37103 (xdr_keydat): Use YPAXRECORD as maxsize.
37104 (xdr_valdat): Use YPMAXRECORD as maxsize.
37105
93c65d43
RM
371062012-10-01 Roland McGrath <roland@hack.frob.com>
37107
497a03d6
RM
37108 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37109
93c65d43
RM
37110 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37111 * csu/init-first.c: ... here.
37112 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37113 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37114 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37115 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37116 * sysdeps/i386/init-first.c: File removed.
37117 * sysdeps/sh/init-first.c: File removed.
37118
bec749fd
JM
371192012-10-01 Joseph Myers <joseph@codesourcery.com>
37120
37121 [BZ #14645]
37122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37123 if x * y might underflow to zero and z is zero.
37124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37125 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37126 * math/libm-test.inc (min_subnorm_value): New variable.
37127 (fma_test): Add more tests.
37128 (fma_test_towardzero): Likewise.
37129 (fma_test_downward): Likewise
37130 (fma_test_upward): Likewise.
37131 (initialize): Set min_subnorm_value.
37132
8ec5b013
JM
371332012-09-29 Joseph Myers <joseph@codesourcery.com>
37134
37135 [BZ #14638]
37136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37137 0 + 0.
37138 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37139 mode for addition resulting in exact zero.
37140 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37142 exact 0 + 0.
37143 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37144 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37145 * math/libm-test.inc (fma_test): Add more tests.
37146 (fma_test_towardzero): New function.
37147 (fma_test_downward): Likewise.
37148 (fma_test_upward): Likewise.
37149 (main): Call the new functions.
37150
b1fa802e
DM
371512012-09-28 David S. Miller <davem@davemloft.net>
37152
37153 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37154
d3b9fd9e
RM
371552012-09-28 Roland McGrath <roland@hack.frob.com>
37156
ea4d37b3
RM
37157 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37158 instead of SIGALRM.
37159
ac51c949
RM
37160 * sysdeps/gnu/_G_config.h: Moved to ...
37161 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37162 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37163 * sysdeps/generic/_G_config.h: ... here.
37164
28c195f7
RM
37165 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37166
848917f9
RM
37167 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37168
6bacf05b
RM
37169 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37170 Conditionalize target on [libnss_test1.so-version].
37171
91363dbb
RM
37172 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37173
cc87f7d8
RM
37174 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37175 (elfobjdir): Move out of conditionals.
37176
b1c608fe
RM
37177 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37178 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37179 (__nss_lookup_function): Conditionalize label remove_from_tree on
37180 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37181
1d9a6d96
DM
371822012-09-28 David S. Miller <davem@davemloft.net>
37183
37184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37185 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37186 file.
37187 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37188 sysdep_routines.
37189 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37191 when HWCAP_SPARC_CRYPTO is present.
37192
72581615
PT
371932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37194
37195 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37196
715a900c
JL
371972012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37198
37199 [BZ #6530]
37200 * stdio-common/vfprintf.c (process_string_arg): Revert
37201 2000-07-22 change.
37202
372032011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37204
37205 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37206 for testcase.
37207 * stdio-common/tst-sprintf.c: Include <locale.h>
37208 (main): Test sprintf's handling of incomplete multibyte
37209 characters.
37210
9bac1d86
L
372112012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37212
37213 * elf/dl-runtime.c (VERSYMIDX): Removed.
37214 * elf/dl-version.c (VERSYMIDX): Likewise.
37215 * elf/do-rel.h (VERSYMIDX): Likewise.
37216 (VALIDX): Likewise.
37217 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37218 * elf/rtld.c (VALIDX): Likewise.
37219 (ADDRIDX): Likewise.
9bac1d86
L
37220 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37221 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37222 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37223 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37224 (VALIDX): Likewise.
37225 (ADDRIDX): Likewise.
9bac1d86 37226
b31606c0
PT
372272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37228
37229 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37230
11541177
JL
372312012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37232
37233 [BZ #11438]
37234 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37235 to global scope.
37236 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37237 addresses are in the same scope as 192.0.2/24.
37238 * posix/gai.conf: Document new scope table defaults.
37239
adb26fae
SP
372402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37241
37242 [BZ #5298]
37243 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37244 for ftell. Compute offsets from write pointers instead.
37245 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37246
4573c6b0
SP
372472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37248
37249 [BZ #14543]
37250 * libio/Makefile (tests): New test case tst-fseek.
37251 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37252 combination works in wide mode.
37253 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37254 state when the external buffer state changes.
37255
aa9bbfe6
DM
372562012-09-27 David S. Miller <davem@davemloft.net>
37257
37258 [BZ #14376]
37259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37260 pass reloc->r_addend in as the 'high' argument to
37261 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37262
784421e7
DM
37263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37264
c39bc8b8
PT
372652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37266
37267 * rt/tst-aio2.c: Include <pthread.h>.
37268 * rt/tst-aio3.c: Likewise.
37269
1ccc2399
SE
372702012-09-27 Steve Ellcey <sellcey@mips.com>
37271
37272 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37273
31ed4153
L
372742012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37275
25f5f885
L
37276 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37277 contents on [SHARED].
31ed4153 37278
b7bfe116
MP
372792012-09-26 Marek Polacek <polacek@redhat.com>
37280
37281 [BZ #14530]
37282 [BZ #13741]
37283 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37284 for C++ and GCC <4.3 as well as for non GCC compilers.
37285
43c4edba
MT
372862012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37287
37288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37289
6a1bf82f
RM
372902012-09-25 Roland McGrath <roland@hack.frob.com>
37291
37292 * Makefile.in (all, install): Declare with .PHONY.
37293 Reported by Michael Hope <michael.hope@linaro.org>.
37294
8ad11b9a
TMQMF
372952012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37296
37297 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37298 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37299 system header.
37300 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37301 Likewise.
37302 (sydep_routines): Add the new and the internal functions.
37303 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37304 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37306 (GLIBC_2.17): Add the new function.
37307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37308 (GLIBC_2.17): Likewise.
37309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37310 (GLIBC_2.17): Likewise.
37311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37312 (GLIBC_2.17): Likewise.
37313 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37314
7e2fca8d
AM
373152012-09-25 Alan Modra <amodra@gmail.com>
37316
37317 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37318 Add release barrier before setting once_control to say
37319 initialisation is done. Add hints on lwarx. Use macro in
37320 place of isync.
37321 (clear_once_control): Add release barrier.
37322
b87c4b24
JM
373232012-09-25 Joseph Myers <joseph@codesourcery.com>
37324
d032e0d2
JM
37325 [BZ #13629]
37326 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37327 specially.
37328 * math/s_clog10.c (__clog10): Likewise.
37329 * math/s_clog10f.c (__clog10f): Likewise.
37330 * math/s_clog10l.c (__clog10l): Likewise.
37331 * math/s_clogf.c (__clogf): Likewise.
37332 * math/s_clogl.c (__clogl): Likewise.
37333 * math/Makefile (libm-calls): Add x2y2m1.
37334 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37335 (__x2y2m1): Likewise.
37336 (__x2y2m1l): Likewise.
37337 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37338 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37339 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37340 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37341 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37342 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37343 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37344 * sysdeps/i386/fpu/libm-test-ulps: Update.
37345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37346
b87c4b24
JM
37347 [BZ #14621]
37348 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37349 int as type of variable DEPTH.
37350 (glob): Use size_t instead of int as type of variables NEWCOUNT
37351 and OLD_PATHC.
37352
6d3bf199
LD
373532012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37354
22bf5c17
LD
37355 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37356 Add s_sincosf-sse2.
37357 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37358 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37359 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37360 macros for using routine as __sincosf_ia32.
37361 Use macro for function declaration and weak_alias.
37362 * sysdeps/i386/fpu/libm-test-ulps: Update.
37363
37364 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37366
37367 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37368 subnormal argument.
37369 * math/s_cexpf.c (__cexpf): Likewise.
37370 * math/s_csinf.c (__csinf): Likewise.
37371 * math/s_csinhf.c (__csinhf): Likewise.
37372 * math/s_ctanf.c (__ctanf): Likewise.
37373 * math/s_ctanhf.c (__ctanhf): Likewise.
37374 * math/s_ccosh.c (__ccoshf): Likewise.
37375 * math/s_cexp.c (__cexpl): Likewise.
37376 * math/s_csin.c (__csin): Likewise.
37377 * math/s_csinh.c (__csinh): Likewise.
37378 * math/s_ctan.c (__ctan): Likewise.
37379 * math/s_ctanh.c (ctanh): Likewise.
37380 * math/s_ccoshl.c (__ccoshl): Likewise.
37381 * math/s_cexpl.c (__cexpl): Likewise.
37382 * math/s_csinl.c (__csinl): Likewise.
37383 * math/s_csinhl.c (__csinhl): Likewise.
37384 * math/s_ctanl.c (__ctanl): Likewise.
37385 * math/s_ctanhl.c (__ctanhl): Likewise.
37386
203e5603
JM
373872012-09-25 Joseph Myers <joseph@codesourcery.com>
37388
37389 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37390 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37391 (_IO_off_t): Define to __off_t, not _G_off_t.
37392 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37393 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37394 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37395 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37396 type of __dummy and __dummy2 fields.
37397 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37398 (_G_ssize_t): Likewise.
37399 (_G_off_t): Likewise.
37400 (_G_pid_t): Likewise.
37401 (_G_uid_t): Likewise.
37402 (_G_wchar_t): Likewise.
37403 (_G_wint_t): Likewise.
37404 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37405 (_G_ssize_t): Likewise.
37406 (_G_off_t): Likewise.
37407 (_G_pid_t): Likewise.
37408 (_G_uid_t): Likewise.
37409 (_G_wchar_t): Likewise.
37410 (_G_wint_t): Likewise.
37411 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37412 (_G_ssize_t): Likewise.
37413 (_G_off_t): Likewise.
37414 (_G_pid_t): Likewise.
37415 (_G_uid_t): Likewise.
37416 (_G_wchar_t): Likewise.
37417 (_G_wint_t): Likewise.
37418
9fab36eb
SP
374192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37420
37421 * malloc/arena.c: Include malloc-sysdep.h.
37422 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37423 is sufficient to shrink the heap or an unmap is needed.
37424 * sysdeps/generic/malloc-sysdep.h: New file. Define
37425 new function check_may_shrink_heap.
37426 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37427 new function check_may_shrink_heap.
37428
2b4f00d1
SP
374292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37430
37431 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37432 comments.
37433
9a9028b1
DL
374342012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37435
57c69bef
DL
37436 * catgets/test-gencat.sh: Add "set -e".
37437 * elf/tst-pathopt.sh: Likewise.
37438 * grp/tst_fgetgrent.sh: Likewise.
37439 * iconvdata/run-iconv-test.sh: Likewise.
37440 * intl/tst-gettext.sh: Likewise.
37441 * intl/tst-gettext2.sh: Likewise.
37442 * intl/tst-gettext4.sh: Likewise.
37443 * intl/tst-gettext6.sh: Likewise.
37444 * intl/tst-translit.sh: Likewise.
37445 * io/ftwtest-sh: Likewise.
37446 * libio/test-freopen.sh: Likewise.
37447 * malloc/tst-mtrace.sh: Likewise.
37448 * posix/globtest.sh: Likewise.
37449 * posix/tst-getconf.sh: Likewise.
37450 * posix/wordexp-tst.sh: Likewise.
37451 * stdio-common/tst-printf.sh: Likewise.
37452 * stdio-common/tst-unbputc.sh: Likewise.
37453 * stdlib/tst-fmtmsg.sh: Likewise.
37454 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37455 * catgets/Makefile: Do not specify -e option when running
37456 testsuite shell scripts.
37457 * elf/Makefile: Likewise.
37458 * grp/Makefile: Likewise.
37459 * iconvdata/Makefile: Likewise.
37460 * intl/Makefile: Likewise.
37461 * io/Makefile: Likewise.
37462 * libio/Makefile: Likewise.
37463 * malloc/Makefile: Likewise.
37464 * posix/Makefile: Likewise.
37465 * stdio-common/Makefile: Likewise.
37466 * stdlib/Makefile: Likewise.
37467 * sysdeps/x86_64/Makefile: Likewise.
37468
9a9028b1
DL
37469 * io/ftwtest-sh: Add copyright header.
37470 * posix/globtest.sh: Likewise.
37471 * posix/tst-getconf.sh: Likewise.
37472 * posix/wordexp-tst.sh: Likewise.
37473 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37474
ced6f16e
L
374752012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37476
94b32c39
L
37477 [BZ #13679]
37478 * Makeconfig (+link): Defined as $(+link-static) if
37479 $(build-shared) isn't yes.
37480 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37481 isn't yes.
37482 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37483
189e935b
L
37484 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37485
ced6f16e
L
37486 [BZ #14562]
37487 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37488 new chunk size with MALLOC_ALIGN_MASK.
37489
a9f8e53a
JM
374902012-09-24 Joseph Myers <joseph@codesourcery.com>
37491
37492 [BZ #5044]
37493 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37494 <rounding-mode.h>.
37495 (__printf_fphex): Determine rounding using get_rounding_mode and
37496 round_away.
37497 * stdio-common/tst-printf-round.c (struct hex_test): New
37498 structure.
37499 (hex_tests): New variable.
37500 (test_hex_in_one_mode): New function.
37501 (do_test): Also run tests for hex float output.
37502
43153109
JM
375032012-09-21 Joseph Myers <joseph@codesourcery.com>
37504
37505 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37506 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37507 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37508 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37509 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37510 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37511 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37512 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37513
8a26625d
JM
375142012-09-20 Joseph Myers <joseph@codesourcery.com>
37515
37516 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37517 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37518 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37519 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37520
f3fd569c
DL
375212012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37522
37523 [BZ #14579]
37524 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37525 mode only.
37526 * elf/tst-rtld-load-self.sh: New test.
37527 * elf/Makefile: Run it.
37528
63bbedd4
JM
375292012-09-18 Joseph Myers <joseph@codesourcery.com>
37530
37531 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37532 (tst-writev-ENV): Remove.
37533 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37534
626f8b6a
CM
375352012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37536
37537 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37538
b7aaa4d6
JM
375392012-09-17 Joseph Myers <joseph@codesourcery.com>
37540
37541 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37542 unconditional.
37543 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37544 Likewise.
37545 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37546 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37547 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37548 Likewise.
37549
65513990
L
375502012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37551
37552 [BZ #14587]
37553 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37554 * config.make.in (have-cpp-asm-debuginfo): Removed.
37555 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37556 * configure: Regenerated.
37557
784761be
JM
375582012-09-14 Joseph Myers <joseph@codesourcery.com>
37559
37560 [BZ #5044]
37561 * stdio-common/printf_fp.c: Include <stdbool.h> and
37562 <rounding-mode.h>.
37563 (___printf_fp): Determine rounding using get_rounding_mode and
37564 round_away.
37565 * stdio-common/tst-printf-round.c: New file.
37566 * stdio-common/Makefile (tests): Add tst-printf-round.
37567 (link-libm): New variable.
37568 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37569
9503345f
L
375702012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37571
37572 [BZ #14576]
37573 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37574 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37575 Likewise.
37576 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37577 Likewise.
37578
ad35fc00
JM
375792012-09-13 Joseph Myers <joseph@codesourcery.com>
37580
37581 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37582 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37583 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37584 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37585
6c9b0f68
JM
375862012-09-12 Joseph Myers <joseph@codesourcery.com>
37587
37588 [BZ #14518]
37589 * include/rounding-mode.h: New file.
37590 * sysdeps/generic/get-rounding-mode.h: Likewise.
37591 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37592 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37593 (MAX_VALUE): New macro.
37594 (MIN_VALUE): Likewise.
37595 (overflow_value): New function.
37596 (underflow_value): Likewise.
37597 (round_and_return): Use overflow_value and underflow_value to
37598 determine return values in overflow and underflow cases. Use
37599 round_away to determine rounding depending on rounding mode.
37600 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37601 determine return values in overflow and underflow cases.
37602 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37603 (struct test_results): New structure.
37604 (struct test): Use struct test_results to store expected results
37605 for all rounding modes.
37606 (TEST): Include expected results for all rounding modes.
37607 (test_in_one_mode): New function.
37608 (do_test): Use test_in_one_mode to compute and check results.
37609 Check results for all rounding modes.
37610 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37611 $(link-libm).
37612
19fcedd5
AM
376132012-12-09 Allan McRae <allan@archlinux.org>
37614
1e9d84cd 37615 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37616
8bbfd2f1
JM
376172012-09-11 Joseph Myers <joseph@codesourcery.com>
37618
37619 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37620 (_G_int32_t): Likewise.
37621 (_G_uint16_t): Likewise.
37622 (_G_uint32_t): Likewise.
37623 (_G_HAVE_BOOL): Likewise.
37624 (_G_HAVE_ATEXIT): Likewise.
37625 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37626 (_G_HAVE_IO_FILE_OPEN): Likewise.
37627 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37628 (_G_int32_t): Likewise.
37629 (_G_uint16_t): Likewise.
37630 (_G_uint32_t): Likewise.
37631 (_G_HAVE_BOOL): Likewise.
37632 (_G_HAVE_ATEXIT): Likewise.
37633 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37634 (_G_HAVE_IO_FILE_OPEN): Likewise.
37635 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37636 (_G_int32_t): Likewise.
37637 (_G_uint16_t): Likewise.
37638 (_G_uint32_t): Likewise.
37639 (_G_HAVE_BOOL): Likewise.
37640 (_G_HAVE_ATEXIT): Likewise.
37641 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37642 (_G_HAVE_IO_FILE_OPEN): Likewise.
37643
b1dc5912
L
376442012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37645
37646 * csu/libc-tls.c: Update copyright years.
37647
0e886ef9
JM
376482012-09-10 Joseph Myers <joseph@codesourcery.com>
37649
28361c5e
JM
37650 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37651 [!_G_USING_THUNKS]: Remove conditional code.
37652 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37653 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37654
0e886ef9
JM
37655 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37656 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37657 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37658 (_G_VTABLE_LABEL_PREFIX): Likewise.
37659 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37660 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37661 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37662 (_G_VTABLE_LABEL_PREFIX): Likewise.
37663 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37664 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37665 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37666 (_G_VTABLE_LABEL_PREFIX): Likewise.
37667 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37668
bcba7aa2
L
376692012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37670
37671 * libio/Makefile: Include ../Makeconfig before tests.
37672 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37673 only if $(build-shared) is yes.
37674
06585ee8
L
37675 * iconv/gconv_db.c: Update copyright years.
37676
80ccd52c
LD
376772012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37678
37679 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37680 unwind info if defined PIC. Fix special cases description.
37681 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37682
37683 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37684 DP_HI_MASK entry.
37685 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37686
691bc9c1
L
376872012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37688
3d9b46b3
L
37689 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37690
de2139a9
L
37691 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37692 is NULL.
37693
5ca78dd0
L
37694 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37695 (LDLIBS-tst-chk4): This.
37696 (LDFLAGS-tst-chk5): Renamed to ...
37697 (LDLIBS-tst-chk5): This.
37698 (LDFLAGS-tst-chk6): Renamed to ...
37699 (LDLIBS-tst-chk6): This.
37700 (LDFLAGS-tst-lfschk4): Renamed to ...
37701 (LDLIBS-tst-lfschk4): This.
37702 (LDFLAGS-tst-lfschk5): Renamed to ...
37703 (LDLIBS-tst-lfschk5): This.
37704 (LDFLAGS-tst-lfschk6): Renamed to ...
37705 (LDLIBS-tst-lfschk6): This.
37706
691bc9c1
L
37707 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37708 on $(common-objpfx)soversions.mk.
37709
65cafb1c
JM
377102012-09-07 Joseph Myers <joseph@codesourcery.com>
37711
37712 [BZ #10014]
37713 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37714 example host name.
37715
c78ab094
SP
377162012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37717
37718 * malloc/arena.c (arena_get_retry): New function that gets
37719 another arena for the caller to try its request on.
37720 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37721 current arena cannot fulfill the request.
37722 (__libc_memalign): Likewise.
37723 (__libc_memalign): Likewise.
37724 (__libc_pvalloc): Likewise.
37725 (__libc_calloc): Likewise.
37726
01f49f59
JT
377272012-09-05 John Tobey <john.tobey@gmail.com>
37728
37729 [BZ #13542]
37730 * manual/arith.texi (Operations on Complex): Fix description
37731 of carg branch cut.
37732
4c23fed5
JM
377332012-09-06 Joseph Myers <joseph@codesourcery.com>
37734
1d3c8572
JM
37735 [BZ #10014]
37736 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37737 host name.
37738
4c23fed5
JM
37739 [BZ #10038]
37740 * manual/memory.texi (Memory): Make order of menu items match
37741 order of sections.
37742
04570aaa
L
377432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37744
37745 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37746 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37747 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37748
b80af2f4
L
377492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37750
37751 * csu/libc-tls.c (static_dtv): Renamed to ...
37752 (_dl_static_dtv): This. Make it global.
37753 (_dl_initial_dtv): Removed.
37754 (__libc_setup_tls): Updated.
37755 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37756 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37757 DL_INITIAL_DTV.
37758
2abe9f15
PM
377592012-09-06 Petr Machata <pmachata@redhat.com>
37760
37761 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37762 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37763 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37764 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37765
0948c3af
L
377662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37767
37768 [BZ #14545]
37769 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37770 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37771 freeing dtv[-1].
37772
a5055ad1
L
377732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37774
37775 [BZ #14544]
37776 * Makeconfig (link-static-before-libc): Replace $(+prector)
37777 with $(+prectorT).
37778 (link-static-after-libc): Replace $(+postctor) with
37779 $(+postctorT).
37780 (link-bounded): Replace $(+prector)/$(+postctor) with
37781 $(+prectorT)/$(+postctorT).
37782 (+prectorT): New macro.
37783 (+postctorT): Likewise.
37784
ed8c2ecd
JM
377852012-09-06 Joseph Myers <joseph@codesourcery.com>
37786
37787 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37788 (round_str): Handle values above the maximum for IBM long double
37789 as inexact.
37790 * stdlib/tst-strtod-round.c (tests): Regenerated.
37791
14c996c8
AK
377922012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37793
37794 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37795 assembler flag.
37796 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37797 zarch_nohighgprs around the zarch optimized routines.
37798 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37799 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37800 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37801 for zarch.
37802
430d6ce6
DM
378032012-09-05 David S. Miller <davem@davemloft.net>
37804
37805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37806
57f41c40
AS
37807 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37808 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37809 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37811 entries.
37812
24d4e01b
AO
378132012-09-05 Alexandre Oliva <aoliva@redhat.com>
37814
37815 * malloc/arena.c: Fold copyright years.
37816 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37817
61d58174
AO
378182012-09-05 Alexandre Oliva <aoliva@redhat.com>
37819
37820 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37821
20196a5e
AO
378222012-09-05 Alexandre Oliva <aoliva@redhat.com>
37823
37824 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37825
5c447383
AO
378262012-09-05 Alexandre Oliva <aoliva@redhat.com>
37827
37828 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37829 change internal state upon failure.
37830
fad64255
AO
378312012-09-05 Alexandre Oliva <aoliva@redhat.com>
37832
37833 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37834 * malloc/memusage.c (mmap): Likewise.
37835 (mmap64, mremap): Likewise. Adjust name in comment.
37836
1ffb8c90
SP
378372012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37838
37839 * libio/fileops.c: Fix typos in comments.
37840 * libio/oldfileops.c: Likewise.
37841 * libio/wfileops.c: Likewise.
37842
6ef9cc37
SP
378432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37844
37845 [BZ #1349]
37846 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37847 (tst-malloc-usable-ENV): Set environment for test case.
37848 * malloc/hooks.c (malloc_check_get_size): New function to get
37849 requested size.
37850 * malloc/malloc.c (musable): Use malloc_check_get_size.
37851 * malloc/tst-malloc-usable.c: New test case.
37852
4d038ae3
AS
378532012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37854
37855 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37856
c4e85184
AM
378572012-09-05 Allan McRae <allan@archlinux.org>
37858
b9dafc56 37859 [BZ #13966]
c4e85184
AM
37860 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37861 determine header location.
37862 * configure: Regenerated.
37863
e1343020
AS
378642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37865
37866 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37867 float format.
37868 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37869 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37870 format.
e1343020
AS
37871 (test): Regenerate.
37872
0a9f1987
DM
378732012-09-04 David S. Miller <davem@davemloft.net>
37874
37875 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37876 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37877 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37878
29237804
FW
378792012-09-04 Florian Weimer <fweimer@redhat.com>
37880
37881 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37882 failures.
37883
edb3cb88
FW
37884 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37885
60160d83
JM
378862012-09-04 Joseph Myers <joseph@codesourcery.com>
37887
37888 [BZ #9914]
37889 * libio/iogetdelim.c: Include <limits.h>.
37890 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37891 + len + 1 would overflow.
37892
bcd6c8dc
AJ
378932012-09-03 Andreas Jaeger <aj@suse.de>
37894
37895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37896 * sysdeps/i386/fpu/libm-test-ulps: Update.
37897
4ffffbd2
LD
378982012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37899
37900 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37901 Add s_sinf-sse2, s_conf-sse2.
37902
37903 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37905 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37906 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37907
37908 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37909 for using routine as __sinf_ia32.
37910 Use macro for function declaration and weak_alias.
37911 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37912 for using routine as __cosf_ia32.
37913 Use macro for function declaration and weak_alias.
37914
37915 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37916 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37917
37918 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37919 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37921
37922 * math/libm-test.inc (cos_test): Add more test cases.
37923 (sin_test): Likewise.
37924 (sincos_test): Likewise.
37925
511fa286
AK
379262012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37927
37928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37929 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37930 hidden.
37931 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37932
5f30cfec
L
379332012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37934
37935 [BZ #14538]
37936 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37937 first element of the GOT.
37938 (elf_machine_load_address): Return the difference between
37939 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37940
0786794f
AM
379412012-09-01 Allan McRae <allan@archlinux.org>
37942
5f30cfec
L
37943 [BZ #13412]
37944 * configure.in (AWK): Require gawk version 3.0 or later.
37945 * configure: Regenerated.
0786794f 37946
26889eac
JM
379472012-09-01 Joseph Myers <joseph@codesourcery.com>
37948
37949 * sysdeps/unix/sysv/linux/kernel-features.h
37950 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37952 [__NR_clock_getres]: Make code unconditional.
37953 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37954 (clock_getcpuclockid): Remove code left unreachable by removal of
37955 conditionals.
37956 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37957 code unconditional.
37958 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37959 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37960 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37961 Make code unconditional.
37962 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37963 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37964 * sysdeps/unix/sysv/linux/clock_settime.c
37965 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37966 conditional code.
37967 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37968 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37969
d22e28b0
L
379702012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37971
37972 [BZ #14476]
37973 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37974 scripts/test-installation.pl.
37975
37976 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37977 and $ld_so_version if it is set.
37978
050af9c4
SP
379792012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37980
37981 [BZ #14516]
37982 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37983 failure if reading from procfs failed.
37984 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37985
ad845c0b
JM
379862012-08-27 Joseph Myers <joseph@codesourcery.com>
37987
37988 * sysdeps/unix/sysv/linux/kernel-features.h
37989 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37990 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37991 Remove conditional code.
37992 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37993 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37994 Remove conditional code.
37995 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37996 * sysdeps/unix/sysv/linux/i386/fxstat.c
37997 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37998 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37999 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38000 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38002 * sysdeps/unix/sysv/linux/i386/lxstat.c
38003 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38005 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38006 Remove conditional code.
38007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38008 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38009 Remove conditional code.
38010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38011 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38012 <kernel-features.h>.
38013 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38014 Remove.
38015 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38016 Remove conditional code.
38017 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38018 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38019 Remove conditional.
38020
5dbf56af
MF
380212012-08-27 Mike Frysinger <vapier@gentoo.org>
38022
38023 [BZ #5400]
38024 * NEWS: Add fixed bug number.
38025
d6e70f43
JM
380262012-08-27 Joseph Myers <joseph@codesourcery.com>
38027
7efb4737
JM
38028 [BZ #14519]
38029 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38030 underflowing exponent in case of negative sign.
38031 * stdlib/tst-strtod-round-data: Add more tests.
38032 * stdlib/tst-strtod-round.c (tests): Regenerated.
38033
af92131a
JM
38034 [BZ #3479]
38035 * stdlib/strtod_l.c (NDIG): Remove.
38036 (HEXNDIG): Likewise.
38037 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38038 smallest representable value.
38039 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38040 lie within an exact representation of 1/2 ulp of the result.
38041 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38042 unconditionally.
38043 (TENS_P9_IDX): Define unconditionally.
38044 (TENS_P9_SIZE): Likewise.
38045 (TENS_P10_IDX): Likewise.
38046 (TENS_P10_SIZE): Likewise.
38047 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38048 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38049 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38050 entries for 10^2^13 and 10^2^14.
38051 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38052 (TENS_P13_IDX): Define.
38053 (TENS_P13_SIZE): Likewise.
38054 (TENS_P14_IDX): Likewise.
38055 (TENS_P14_SIZE): Likewise.
38056 (_fpioconst_pow10): Change array size to
38057 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38058 unconditional.
38059 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38060 1024]: Add entries for 10^2^13 and 10^2^14.
38061 [LAST_POW10 > _LAST_POW10]: Remove #error.
38062 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38063 (_fpioconst_pow10): Change array size to
38064 FPIOCONST_POW10_ARRAY_SIZE.
38065 * stdlib/gen-fpioconst.c: New file.
38066 * stdlib/gen-tst-strtod-round.c: Likewise.
38067 * stdlib/tst-strtod-round-data: Likewise.
38068 * stdlib/tst-strtod-round.c: Likewise.
38069 * stdlib/Makefile (tests): Add tst-strtod-round.
38070
d6e70f43
JM
38071 [BZ #14459]
38072 * stdlib/strtod_l.c: Include <stdint.h>.
38073 (NDEBUG): Do not define.
38074 (round_and_return): Change EXPONENT parameter to type intmax_t.
38075 Rearrange calculations to avoid internal overflow possibilities.
38076 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38077 Rearrange calculations to avoid internal overflow possibilities.
38078 Assert that number fits inside MPNSIZE limbs.
38079 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38080 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38081 calculations and add assertions to avoid internal overflow
38082 possibilities. Add casts to avoid signed/unsigned operations.
38083 * stdlib/tst-strtod-overflow.c: New file.
38084 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38085
1f529f7d
MP
380862012-08-25 Marek Polacek <polacek@redhat.com>
38087
38088 * time/time.h: Fix some typos in comments.
38089
59a629f1
RM
380902012-08-23 Roland McGrath <roland@hack.frob.com>
38091
38092 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38093 * posix/tst-rfc3484-2.c: Likewise.
38094 * posix/tst-rfc3484-3.c: Likewise.
38095
d3bafbc9
SM
380962012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38097
38098 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38099 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38100
4efcc022
JM
381012012-08-23 Joseph Myers <joseph@codesourcery.com>
38102
38103 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38104 #include of fxstatat64.c.
38105
3cc3ef96
RM
381062012-08-22 Roland McGrath <roland@hack.frob.com>
38107
f04e2132
RM
38108 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38109 * shadow/getspent_r.c: Likewise.
38110 * shadow/getspnam.c: Likewise.
38111 * shadow/getspnam_r.c: Likewise.
38112 * gshadow/getsgent.c: Likewise.
38113 * gshadow/getsgent_r.c: Likewise.
38114 * gshadow/getsgnam.c: Likewise.
38115 * gshadow/getsgnam_r.c: Likewise.
38116 * inet/getnetbyad.c: Likewise.
38117 * inet/getnetbyad_r.c: Likewise.
38118 * inet/getnetbynm.c: Likewise.
38119 * inet/getnetbynm_r.c: Likewise.
38120 * inet/getnetent.c: Likewise.
38121 * inet/getnetent_r.c: Likewise.
38122 * inet/getproto.c: Likewise.
38123 * inet/getproto_r.c: Likewise.
38124 * inet/getprtent.c: Likewise.
38125 * inet/getprtent_r.c: Likewise.
38126 * inet/getprtname.c: Likewise.
38127 * inet/getprtname_r.c: Likewise.
38128 * inet/getrpcbyname.c: Likewise.
38129 * inet/getrpcbyname_r.c: Likewise.
38130 * inet/getrpcbynumber.c: Likewise.
38131 * inet/getrpcbynumber_r.c: Likewise.
38132 * inet/getrpcent.c: Likewise.
38133 * inet/getrpcent_r.c: Likewise.
38134 * inet/getaliasent.c: Likewise.
38135 * inet/getaliasent_r.c: Likewise.
38136 * inet/getaliasname.c: Likewise.
38137 * inet/getaliasname_r.c: Likewise.
38138 * nscd/getgrgid_r.c: Likewise.
38139 * nscd/getgrnam_r.c: Likewise.
38140 * nscd/gethstbyad_r.c: Likewise.
38141 * nscd/gethstbynm3_r.c: Likewise.
38142 * nscd/getpwnam_r.c: Likewise.
38143 * nscd/getpwuid_r.c: Likewise.
38144 * nscd/getsrvbynm_r.c: Likewise.
38145 * nscd/getsrvbypt_r.c: Likewise.
38146 * nscd/gai.c: Likewise.
38147
c53d909c
RM
38148 * configure.in (build_nscd): New substituted variable, set
38149 by --disable-build-nscd and defaults to $use_nscd.
38150 * configure: Regenerated.
38151 * config.make.in (build-nscd): New substituted variable.
38152 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38153 Change conditional to require [$(build-nscd) = yes] as well.
38154 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38155
3cc3ef96
RM
38156 [BZ# 13696]
38157 * configure.in (use_nscd): New substituted variable, set by
38158 --disable-nscd. If enabled, define USE_NSCD.
38159 * configure: Regenerated.
38160 * config.h.in: Add USE_NSCD.
38161 * config.make.in (use-nscd): New substituted variable.
38162 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38163 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38164 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38165 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38166 (CFLAGS-getgrnam_r.c): Likewise.
38167 (CFLAGS-initgroups.c): Likewise.
38168 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38169 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38170 Variables removed.
38171 * inet/getnetgrent_r.c
38172 (nscd_setnetgrent): New function, broken out of ...
38173 (setnetgrent): ... here. Call it.
38174 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38175 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38176 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38177 * nscd/Makefile (routines, aux): Move definitions after include of
38178 Makeconfig. Conditionalize on [$(use-nscd) != no].
38179 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38180 Conditionalize on [USE_NSCD].
38181 (is_nscd, nscd_init_cb): Likewise.
38182 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38183 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38184 * nss/nss_db/db-init.c: Likewise.
38185 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38186 [USE_NSCD].
38187 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38188 (make_request): Use it.
38189 (cache_valid_p): New function.
38190 (__check_pf): Use it.
38191 * NEWS: Add item for --disable-nscd.
38192
07e51550
DL
381932012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38194
38195 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38196 to support sed >= 4.2.1-20-ga9bf076.
38197 * configure: Regenerated.
38198
35a5b08b
RM
381992012-08-22 Roland McGrath <roland@hack.frob.com>
38200
38201 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38202 Conditionalize whole body on [IREL].
38203
8479f23a
JL
382042012-08-22 Jeff Law <law@redhat.com>
38205
38206 [BZ #14505]
38207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38208 if the family is PF_UNSPEC.
38209
48da0b21
MF
382102012-08-22 Mike Frysinger <vapier@gentoo.org>
38211
38212 * Makerules (lib-version): Rename from V.
38213 (install-lib-nosubdir): Change V to lib-version.
38214
15d0da8c
WS
382152012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38216
38217 [BZ #14252]
38218 * powerpc32/power6/wcschr.c: New file.
38219 * powerpc32/power6/wcscpy.c: New file.
38220 * powerpc32/power6/wcsrchr.c: New file.
38221 * powerpc64/power6/wcschr.c: New file.
38222 * powerpc64/power6/wcscpy.c: New file.
38223 * powerpc64/power6/wcsrchr.c: New file.
38224
bcca0895
MK
382252012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38226
38227 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38228 (two_way_short_needle): Use it.
5a4aaa33
RM
38229 * string/strstr.c (AVAILABLE1_USES_J): Define.
38230 * string/strcasestr.c: Likewise.
99677e57
MK
38231
38232 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38233 array references.
38234 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38235
400726de
MK
38236 [BZ #11607]
38237 * NEWS: Add an entry.
38238 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38239 define their defaults.
38240 (two_way_short_needle): Detect end-of-string on-the-fly.
38241 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38242 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38243 * string/bug-strcasestr1.c: New test.
38244 * string/Makefile: Run it.
38245
20a71f2c
MK
382462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38247
38248 [BZ #11607]
38249 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38250 the first character.
38251
21ad0558
RM
382522012-08-21 Roland McGrath <roland@hack.frob.com>
38253
38254 * csu/elf-init.c (__libc_csu_irel): Function removed.
38255 * csu/libc-start.c (apply_irel): New function.
38256 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38257
0e1d9911
JM
382582012-08-21 Joseph Myers <joseph@codesourcery.com>
38259
38260 * sysdeps/unix/sysv/linux/kernel-features.h
38261 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38262 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38263 <kernel-features.h>.
38264 [__NR_fadvise64_64]: Make code unconditional.
38265 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38266 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38267 !__NR_fadvise64_64)]: Likewise.
38268 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38269 !__NR_fadvise64_64))]: Likewise.
38270 [__NR_fadvise64]: Make code unconditional.
38271 [!__NR_fadvise64]: Remove conditional code.
38272 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38273 <kernel-features.h>.
38274 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38275 unconditional.
38276 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38277 conditional code.
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38279 not include <kernel-features.h>.
38280 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38281 unconditional.
38282 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38283 conditional code.
38284 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38285 include <kernel-features.h>.
38286 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38287 unconditional.
38288 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38289 conditional code.
38290
14a50c9d
WS
382912012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38292
38293 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38294 slight instruction rearrangements per scrollpipe analysis.
38295 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38296
c0f4faf0
RM
382972012-08-20 Roland McGrath <roland@hack.frob.com>
38298
696da859
RM
38299 * manual/syslog.texi (syslog; vsyslog, closelog):
38300 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38301 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38302
c0f4faf0
RM
38303 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38304 DSOCAPS to match condition on defining it.
38305
348363b2
JM
383062012-08-20 Joseph Myers <joseph@codesourcery.com>
38307
a35cbf28
JM
38308 * sysdeps/unix/sysv/linux/kernel-features.h
38309 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38311 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38312 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38314 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38315 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38317 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38318 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38319
445f7ecd
JM
38320 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38321 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38322
348363b2
JM
38323 * sysdeps/unix/sysv/linux/kernel-features.h
38324 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38325 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38326 unconditional.
38327 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38328 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38329 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38330 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38331 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38332 Make code unconditional.
38333 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38334 (__mmap64) [!__NR_mmap2]: Likewise.
38335 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38336 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38337 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38338 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38339 [__NR_mmap2]: Make code unconditional.
38340 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38341 (__mmap64) [!__NR_mmap2]: Likewise.
38342
bc5bc0e5
AK
383432012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38344
38345 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38346
88d506de
AJ
383472012-08-18 Andreas Jaeger <aj@suse.de>
38348
38349 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38350
493387d2
MF
383512012-08-18 Mike Frysinger <vapier@gentoo.org>
38352
38353 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38354 * include/unistd.h (__have_sock_cloexec): Likewise.
38355 (__have_pipe2): Likewise.
38356 (__have_dup3): Likewise.
38357
a277af22
MF
383582012-08-18 Mike Frysinger <vapier@gentoo.org>
38359
38360 [BZ #9685]
38361 * include/unistd.h (__have_pipe2): Change define into an extern int.
38362 (__have_dup3): Likewise.
38363 * socket/have_sock_cloexec.c: Include fcntl.h.
38364 (__have_pipe2): New variable.
38365 (__have_dup3): Likewise.
38366
fdab8fd3
MF
383672012-08-17 Mike Frysinger <vapier@gentoo.org>
38368
38369 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38370
31035e80
MP
383712012-08-17 Marek Polacek <polacek@redhat.com>
38372
38373 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38374 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38375
3bd9e993
RM
383762012-08-17 Roland McGrath <roland@hack.frob.com>
38377
c91c505f
RM
38378 * configure.in: Add AC_SUBST for sysheaders.
38379 * configure: Regenerated.
38380 * config.make.in (sysheaders): New substituted variable.
38381
7c6f9d53
RM
38382 * sysdeps/unix/mkfifo.c: Moved ...
38383 * sysdeps/posix/mkfifo.c: ... here.
38384 * sysdeps/unix/mkfifoat.c: Moved ...
38385 * sysdeps/posix/mkfifoat.c: ... here.
38386
38387 * sysdeps/unix/utime.c: Moved ...
38388 * sysdeps/posix/utime.c: ... here.
38389
38390 * sysdeps/unix/time.c: Moved ...
38391 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38392 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38393 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38394
38395 * sysdeps/unix/nice.c: Moved ...
38396 * sysdeps/posix/nice.c: ... here.
38397
38398 * sysdeps/unix/alarm.c: Moved ...
38399 * sysdeps/posix/alarm.c: ... here.
38400
3bd9e993
RM
38401 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38402
d1f09384
JL
384032012-08-17 Jeff Law <law@redhat.com>
38404
38405 * intl/Makefile (codeset_mo): New variable.
38406 ($(codeset_mo)): New target.
38407 (tst-codeset.out): Depend on that. Remove explicit rule.
38408 (tst-gettext3.out, tst-gettext5.out): Likewise.
38409 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38410 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38411 * intl/tst-codeset.sh: Remove.
38412 * intl/tst-gettext3.sh: Likewise.
38413 * intl/tst-gettext5.sh: Likewise.
38414
2ae1ae5c
RM
384152012-08-17 Roland McGrath <roland@hack.frob.com>
38416
c31fdb83
RM
38417 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38418 * sysdeps/unix/syscalls.list: ... here.
38419
a0844057
RM
38420 * sysdeps/posix/getaddrinfo.c
38421 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38422 (gaiconf_init, gaiconf_reload): Use them.
38423 [!_STATBUF_ST_NSEC]
38424 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38425 Define using time_t rather than struct timespec.
38426
750c1f2a
RM
38427 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38428 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38429 Macros removed.
38430 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38431 [!NO_THREADS].
38432 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38433 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38434 Likewise.
38435
2ae1ae5c
RM
38436 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38437 __libc_cleanup_push argument.
38438
e66a42f5
RM
38439 * bits/param.h: New file.
38440 * misc/sys/param.h: New file.
38441 * include/sys/param.h: New file.
38442 * misc/Makefile (headers): Add bits/param.h.
38443 * sysdeps/generic/sys/param.h: File removed.
38444 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38445 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38446 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38447 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38448
b7c08a66
RM
38449 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38450 last change.
38451
b2e1c562
RM
38452 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38453 [_IO_MTSAFE_IO].
38454 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38455 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38456 New macros.
38457
c75ccd4c
RM
38458 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38459 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38460 rather than -D_IO_MTSAFE_IO conditionally.
38461 * stdio-common/Makefile (CPPFLAGS): Likewise.
38462 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38463 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38464 Use $(libio-mtsafe).
38465 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38466 of -D_IO_MTSAFE_IO.
38467 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38468 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38469 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38470 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38471 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38472 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38473 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38474 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38475 (CFLAGS-fread_u_chk.c): Likewise.
38476 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38477 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38478 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38479 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38480 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38481 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38482 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38483 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38484 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38485
38486 * libio/Makefile: Test [$(libc-reentrant) = yes]
38487 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38488
38489 * Makeconfig
38490 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38491 * sysdeps/pthread/configure: File removed.
38492 * sysdeps/pthread/Makeconfig: New file.
38493 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38494 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38495
d9195db8
GB
384962012-08-16 Gary Benson <gbenson@redhat.com>
38497
38498 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38499 unmapping the first object in a namespace.
38500
86466cd9
RM
385012012-08-16 Roland McGrath <roland@hack.frob.com>
38502
38503 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38504 (__internal_setnetgrent): ... this. Add internal_function to
38505 definition. Add libc_hidden_def.
38506 (setnetgrent): Update caller.
38507 (internal_endnetgrent): Renamed to ...
38508 (__internal_endnetgrent): ... this. Add internal_function to
38509 definition. Add libc_hidden_def.
38510 (endnetgrent): Update caller.
38511 (internal_getnetgrent_r): Renamed to ...
38512 (__internal_getnetgrent_r): ... this. Add internal_function to
38513 definition. Add libc_hidden_def.
38514 (__getnetgrent_r): Update caller.
38515 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38516
c3c8283c
JM
385172012-08-16 Joseph Myers <joseph@codesourcery.com>
38518
38519 * stdlib/longlong.h: Update from GCC.
38520
db1ee0a8
RM
385212012-08-16 Roland McGrath <roland@hack.frob.com>
38522
38523 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38524 on _QL, which is set by umul_ppmm but never used.
38525 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38526 variables, which are set by GMP macros but never used.
38527 * stdio-common/_itowa.c (_itowa): Likewise.
38528 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38529 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38530
30f69637
CD
385312012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38532
38533 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38534 struct La_sh_regs is not constant.
38535 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38536 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38537 and struct La_sparc64_regs are not constant.
38538
93a78ac4
JM
385392012-08-16 Joseph Myers <joseph@codesourcery.com>
38540
38541 * sysdeps/unix/sysv/linux/kernel-features.h
38542 (__ASSUME_POSIX_TIMERS): Remove.
38543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38544 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38545 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38546 Make code unconditional.
38547 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38548 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38549 Make code unconditional.
38550 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38551 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38552 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38554 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38555 Make code unconditional.
38556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38558 (__libc_missing_posix_timers): Remove.
38559
dd924cd7
RM
385602012-08-15 Roland McGrath <roland@hack.frob.com>
38561
4b4f2771
RM
38562 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38563 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38564
601c888b
RM
38565 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38566
176790a7
RM
38567 * elf/dl-sym.c: Include <stdlib.h>.
38568
329bc018
RM
38569 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38570 constants, which avoids warnings in 32-bit builds.
38571
e04e272d
RM
38572 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38573 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38574
952bf94a
RM
38575 * misc/lseek.c: File moved to ...
38576 * io/lseek.c: ... here.
38577
7c99b50a
RM
38578 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38579
dd924cd7
RM
38580 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38581 shifting LEN more than 31 bits at once.
38582
b3f479a8
LD
385832012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38584
38585 [BZ #14195]
8c4ae0d4
RM
38586 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38587 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38588 * string/test-strncasecmp.c (check1): Renamed to...
38589 (bz12205): ...this.
38590 (bz14195): Add new testcase for two empty input strings and N > 0.
38591 (test_main): Call new testcase, adapt for renamed function.
38592
9c55864e
AJ
385932012-08-15 Andreas Jaeger <aj@suse.de>
38594
38595 [BZ #14090]
38596 * crypt/md5test2.c: New test, based on test supplied by Serge
38597 Belyshev <belyshev@depni.sinp.msu.ru>.
38598 * crypt/Makefile (xtests): Add md5test-giant..
38599 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38600
02dcb6c5
PE
386012012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38602
38603 [BZ #14090]
38604 * crypt/md5.c (md5_process_block): Don't assume the buffer
38605 length is less than 2**32.
38606 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38607 length is less than 2**64.
38608
a3f95dcc
RM
386092012-08-15 Roland McGrath <roland@hack.frob.com>
38610
be75d758
RM
38611 * string/str-two-way.h: Include <sys/param.h>.
38612 (MAX): Macro removed.
38613
7312ca90
RM
38614 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38615 Move #define and #undef of memmove to just before and after
38616 including <string.h>.
38617
9a0a5486
RM
38618 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38619 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38620 and after including <string.h>. Move declarations of
38621 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38622 to before #include "string/memmove.c".
38623
67cc348d
RM
38624 * include/dirent.h: Declare __getdirentries.
38625
a3f95dcc
RM
38626 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38627 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38628
ca98e171
MF
386292012-08-14 Mike Frysinger <vapier@gentoo.org>
38630
38631 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38632 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38633 * sysdeps/i386/configure: Regenerated.
38634 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38635 STABS_CURRENT_FILE, and STABS_FUN.
38636 (END): Remove call to STABS_FUN_END.
38637 (STABS_CURRENT_FILE1): Delete.
38638 (STABS_CURRENT_FILE): Likewise.
38639 (STABS_FUN): Likewise.
38640 (STABS_FUN_END): Likewise.
38641 (STABS_FUN2): Likewise.
38642 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38643 * sysdeps/x86_64/configure: Regenerated.
38644
5908bf46
RM
386452012-08-14 Roland McGrath <roland@hack.frob.com>
38646
38647 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38648 * elf/dl-lookup.c: Likewise.
5908bf46 38649
f2c05b9e
JM
386502012-08-14 Joseph Myers <joseph@codesourcery.com>
38651
38652 * sysdeps/unix/sysv/linux/kernel-features.h
38653 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38654 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38655 unconditionally.
38656 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38657 unconditionally.
38658 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38659 condition on __ASSUME_CLONE_THREAD_FLAGS.
38660
e11f5155
AJ
386612012-08-14 Andreas Jaeger <aj@suse.de>
38662
38663 * sysdeps/i386/fpu/libm-test-ulps: Update.
38664
51a9ba86
MK
386652012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38666
2fdd4f78
AJ
38667 * include/atomic.h (atomic_exchange_and_add): Split into ...
38668 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38669 New atomic macros.
51a9ba86 38670
ba6cba9e
MT
386712012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38672
38673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38674
42443a47
JL
386752012-08-13 Jeff Law <law@redhat.com>
38676
38677 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38678 null byte in the output string.
38679
121dce05
JM
386802012-08-10 Joseph Myers <joseph@codesourcery.com>
38681
38682 * sysdeps/unix/sysv/linux/kernel-features.h
38683 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38684 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38685 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38687 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38688 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38689 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38690
bf51f568
JL
386912012-08-09 Jeff Law <law@redhat.com>
38692
38693 [BZ #13939]
38694 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38695 When avoid_arena is set, don't retry in the that arena. Pick the
38696 next one, whatever it might be.
38697 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38698 (arena_lock): Pass in new parameter to arena_get2.
38699 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38700 arena_get2.
38701 (__libc_malloc): Unify retrying after main arena failure with
38702 __libc_memalign version.
38703 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38704
f85fa270
L
387052012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38706
38707 [BZ #14166]
38708 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38709 to __redirect_strstr.
38710 (__strstr_sse42): Use typeof __redirect_strstr.
38711 (__strstr_ia32): Likewise.
38712 (__libc_strstr): New prototype.
38713 (strstr): Renamed to ...
38714 (__libc_strstr): This.
38715 (strstr): New strong alias of __libc_strstr.
38716 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38717 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38718 __redirect_time.
38719 Include <time.h>.
38720 (__libc_time): New prototype.
38721 (time_ifunc): Replace time with __libc_time.
38722 (time): New strong alias and hidden definition of __libc_time.
38723 (__GI_time): Remove strong alias.
38724 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38725 Include <stddef.h>.
38726 (memmove): Redefined to __redirect_memmove.
38727 (__memmove_sse2): Use typeof __redirect_memmove.
38728 (__memmove_ssse3): Likewise.
38729 (__memmove_ssse3_back): Likewise.
38730 (__libc_memmove): New prototype.
38731 (memmove): Renamed to ...
38732 (__libc_memmove): This.
38733 (memmove): New strong alias of __libc_memmove.
38734
33b4a91e
MS
387352012-08-08 Mark Salter <msalter@redhat.com>
38736
38737 * elf/elf.h
38738 (R_MN10300_TLS_GD): Define.
38739 (R_MN10300_TLS_LD): Likewise.
38740 (R_MN10300_TLS_LDO): Likewise.
38741 (R_MN10300_TLS_GOTIE): Likewise.
38742 (R_MN10300_TLS_IE): Likewise.
38743 (R_MN10300_TLS_LE): Likewise.
38744 (R_MN10300_TLS_DTPMOD): Likewise.
38745 (R_MN10300_TLS_DTPOFF): Likewise.
38746 (R_MN10300_TLS_TPOFF): Likewise.
38747 (R_MN10300_SYM_DIFF): Likewise.
38748 (R_MN10300_ALIGN): Likewise.
38749 (R_MN10300_NUM): Update.
38750
b36137f1
JM
387512012-08-08 Joseph Myers <joseph@codesourcery.com>
38752
38753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38754 Remove.
38755
cdd915fd
RM
387562012-08-08 Roland McGrath <roland@hack.frob.com>
38757
a2433aac
RM
38758 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38759
cdd915fd
RM
38760 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38761 sysdeps/unix -> sysdeps/posix move.
38762 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38763
bf9b740a
AM
387642012-08-07 Allan McRae <allan@archlinux.org>
38765
38766 [BZ #14303]
38767 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38768 (SUNOS_CPP): Likewise.
38769 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38770 not found.
38771 (open_input): Call CPP using execvp.
38772
93df14ee
JM
387732012-08-07 Joseph Myers <joseph@codesourcery.com>
38774
38775 * sysdeps/unix/sysv/linux/kernel-features.h
38776 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38777 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38778 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38779 (__ASSUME_WAITID_SYSCALL): Likewise.
38780 * sysdeps/unix/sysv/linux/dl-execstack.c
38781 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38782 code unconditional.
38783 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38784 conditional code.
38785 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38786 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38787 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38788 code.
38789 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38790 unconditional.
38791 [__ASSUME_WAITID_SYSCALL]: Likewise.
38792 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38793
d34689de
RM
387942012-08-07 Roland McGrath <roland@hack.frob.com>
38795
a281decc
RM
38796 * sysdeps/unix/closedir.c: Renamed to ...
38797 * sysdeps/posix/closedir.c: ... here.
38798 * sysdeps/unix/dirfd.c: Renamed to ...
38799 * sysdeps/posix/dirfd.c: ... here.
38800 * sysdeps/unix/dirstream.h: Renamed to ...
38801 * sysdeps/posix/dirstream.h: ... here.
38802 * sysdeps/unix/fdopendir.c: Renamed to ...
38803 * sysdeps/posix/fdopendir.c: ... here.
38804 * sysdeps/unix/opendir.c: Renamed to ...
38805 * sysdeps/posix/opendir.c: ... here.
38806 * sysdeps/unix/readdir.c: Renamed to ...
38807 * sysdeps/posix/readdir.c: ... here.
38808 * sysdeps/unix/readdir_r.c: Renamed to ...
38809 * sysdeps/posix/readdir_r.c: ... here.
38810 * sysdeps/unix/rewinddir.c: Renamed to ...
38811 * sysdeps/posix/rewinddir.c: ... here.
38812 * sysdeps/unix/seekdir.c: Renamed to ...
38813 * sysdeps/posix/seekdir.c: ... here.
38814 * sysdeps/unix/telldir.c: Renamed to ...
38815 * sysdeps/posix/telldir.c: ... here.
38816 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38817 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38818 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38819 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38820
22895b47
RM
38821 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38822 * bits/fcntl.h: ... here.
38823
707a53b6
RM
38824 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38825 not 0.
38826 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38827 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38828 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38829 (struct flock): Move l_start, l_len to the beginning.
38830 Use __pid_t for l_pid.
38831 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38832 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38833 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38834 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38835 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38836 [__USE_LARGEFILE64] (struct flock64): New type.
38837 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38838
f0bd3e25
RM
38839 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38840 * bits/dirent.h: ... here.
38841
d34689de
RM
38842 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38843 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38844
6dad2c06
JM
388452012-08-07 Joseph Myers <joseph@codesourcery.com>
38846
38847 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38848 Change from 2.6.0 to 2.6.16.
38849 * sysdeps/unix/sysv/linux/configure: Regenerated.
38850 * sysdeps/unix/sysv/linux/kernel-features.h
38851 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38852 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38853 version.
38854 (__ASSUME_UTIMES): Likewise.
38855 (__ASSUME_CLONE_STOPPED): Remove.
38856 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38857 architectures, not kernel version.
38858 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38859 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38860 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38861 (__ASSUME_WAITID_SYSCALL): Likewise.
38862 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38863 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38864 * README: State 2.6.16 as minimum Linux kernel version. Do not
38865 refer to older versions.
38866
03af9520
RM
388672012-08-06 Roland McGrath <roland@hack.frob.com>
38868
8e49df1d
RM
38869 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38870 Define alphasort64 as an alias.
38871 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38872 Define versionsort64 as an alias.
38873 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38874 Define scandir64 as an alias.
38875 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38876 Define scandirat64 as an alias.
38877 * dirent/alphasort64.c (alphasort64):
38878 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38879 * dirent/versionsort64.c: Likewise.
38880 * dirent/scandir64.c: Likewise.
38881 * dirent/scandirat64.c: Likewise.
38882 * sysdeps/wordsize-64/alphasort.c: File removed.
38883 * sysdeps/wordsize-64/alphasort64.c: File removed.
38884 * sysdeps/wordsize-64/scandir.c: File removed.
38885 * sysdeps/wordsize-64/scandir64.c: File removed.
38886 * sysdeps/wordsize-64/scandirat.c: File removed.
38887 * sysdeps/wordsize-64/scandirat64.c: File removed.
38888 * sysdeps/wordsize-64/versionsort.c: File removed.
38889 * sysdeps/wordsize-64/versionsort64.c: File removed.
38890 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38891 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38893 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38895 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38897 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38898
38899 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38901 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38903 [defined __arch64__ || defined __sparcv9]
38904 (__INO_T_MATCHES_INO64_T): New macro.
38905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38906 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38907 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38908 * sysdeps/unix/sysv/linux/bits/dirent.h
38909 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38910 (_DIRENT_MATCHES_DIRENT64): New macro.
38911
03af9520
RM
38912 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38913 Define lockf64 as an alias.
38914 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38915 Define fseeko64 as an alias.
38916 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38917 Define ftello64 as an alias.
38918 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38919 Define _IO_fgetpos64 and fgetpos64 as aliases.
38920 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38921 Define _IO_fsetpos64 and fsetpos64 as aliases.
38922 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38923 Conditionalize body on this.
38924 * libio/fseeko64.c: Likewise.
38925 * libio/ftello64.c: Likewise.
38926 * libio/iofgetpos64.c: Likewise.
38927 * libio/iofsetpos64.c: Likewise.
38928 * sysdeps/wordsize-64/lockf.c: File removed.
38929 * sysdeps/wordsize-64/lockf64.c: File removed.
38930 * sysdeps/wordsize-64/fseeko.c: File removed.
38931 * sysdeps/wordsize-64/fseeko64.c: File removed.
38932 * sysdeps/wordsize-64/ftello.c: File removed.
38933 * sysdeps/wordsize-64/ftello64.c: File removed.
38934 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38935 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38936 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38937 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38938 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38939 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38941 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38943 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38945 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38946 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38947 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38948
38949 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38951 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38953 [defined __arch64__ || defined __sparcv9]
38954 (__OFF_T_MATCHES_OFF64_T): New macro.
38955 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38956 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38958 (__OFF_T_MATCHES_OFF64_T): New macro.
38959
c5757acd
L
389602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38961
38962 * stdlib/secure-getenv.c (__secure_getenv): Replace
38963 GLIBC_2_16 with GLIBC_2_17.
38964
3a31811e
L
389652012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38966
38967 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38968 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38969
faa2bccb
DM
389702012-08-03 David S. Miller <davem@davemloft.net>
38971
38972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38973
85fe1997
JM
389742012-08-03 Joseph Myers <joseph@codesourcery.com>
38975
38976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38977 Remove.
38978 (__ASSUME_CORRECT_SI_PID): Likewise.
38979 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38980 (__ASSUME_TMPFS_NAME): Likewise.
38981 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38982 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38983 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38984 (HAVE_AUX_SECURE): Make definition unconditional.
38985 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38986 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38987
4f75b7a0
RM
389882012-08-03 Roland McGrath <roland@hack.frob.com>
38989
38990 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38991 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38992 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38993 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38994 __eloop_threshold instead of SYMLOOP_MAX.
38995
38996 * sysdeps/generic/eloop-threshold.h: New file.
38997 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38998 of MAXSYMLINKS.
38999 * elf/chroot_canon.c (chroot_canon): Likewise.
39000
7aab07e4
JM
390012012-08-03 Joseph Myers <joseph@codesourcery.com>
39002
39003 [BZ #13717]
39004 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39005 Change to 2.6.0 everywhere.
39006 * sysdeps/unix/sysv/linux/configure: Regenerated.
39007 * sysdeps/unix/sysv/linux/kernel-features.h
39008 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39009 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39010 kernel versions.
39011 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39012 (__ASSUME_FUTEX_REQUEUE): Remove.
39013 (__ASSUME_STATFS64): Define unconditionally.
39014 (__ASSUME_AT_SECURE): Likewise.
39015 (__ASSUME_CORRECT_SI_PID): Likewise.
39016 (__ASSUME_TGKILL): Define without depending on kernel version for
39017 i386.
39018 (__ASSUME_UTIMES): Likewise.
39019 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39020 kernel version.
39021 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39022 (__ASSUME_TMPFS_NAME): Likewise.
39023 * README: Update reference to Linux kernel versions.
39024
b67e9372
MP
390252012-08-02 Marek Polacek <polacek@redhat.com>
39026
1f529f7d 39027 [BZ# 14150]
b67e9372
MP
39028 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39029 libc_cv_asm_type_prefix with %.
39030 * configure: Regenerated.
d2441631
RM
39031 * include/libc-symbols.h: Remove comment about
39032 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39033 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39034 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39035 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39036 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39037 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39038 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39039 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39040 * elf/tst-unique2mod1.c: Likewise.
39041 * elf/tst-unique1mod2.c: Likewise.
39042 * elf/tst-unique1mod1.c: Likewise.
39043 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39044 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39045 Replace ASM_TYPE_DIRECTIVE with .type.
39046 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39047 * sysdeps/i386/sysdep.h: Likewise.
39048 * sysdeps/x86_64/sysdep.h: Likewise.
39049 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39051 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39052 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39053 * sysdeps/powerpc/powerpc32/sysdep.h:
39054 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39055 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39056 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39057 * sysdeps/i386/fpu/e_powf.S: Likewise.
39058 * sysdeps/i386/fpu/e_expl.S: Likewise.
39059 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39061 * sysdeps/i386/fpu/e_pow.S: Likewise.
39062 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39063 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39064 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39065 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39066 * sysdeps/i386/fpu/e_log2.S: Likewise.
39067 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39068 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39069 * sysdeps/i386/fpu/e_powl.S: Likewise.
39070 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39071 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39072 * sysdeps/i386/fpu/e_logl.S: Likewise.
39073 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39074 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39075 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39076 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39077 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39078 * sysdeps/i386/fpu/e_log.S: Likewise.
39079 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39080 * sysdeps/i386/fpu/e_logf.S: Likewise.
39081 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39082 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39083 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39084 * sysdeps/i386/fpu/e_log10.S: Likewise.
39085 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39087 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39088 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39090 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39091 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39092 * sysdeps/i386/i686/strtok.S: Likewise.
39093 * sysdeps/i386/i386-mcount.S: Likewise.
39094 * sysdeps/i386/strtok.S: Likewise.
39095 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39096 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39097 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39098 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39099 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39101 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39102 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39104 * sysdeps/x86_64/_mcount.S: Likewise.
39105 * sysdeps/x86_64/strtok.S: Likewise.
39106 * sysdeps/sh/_mcount.S: Likewise.
39107
2747bf9a
RM
391082012-08-01 Roland McGrath <roland@hack.frob.com>
39109
39110 * libio/iofopen.c: Include <fcntl.h>.
39111 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39112 (_IO_fopen64, fopen64): Define as aliases.
39113 * libio/iofopen64.c: Include <fcntl.h>.
39114 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39115 Conditionalize body on this.
39116 * sysdeps/wordsize-64/iofopen.c: File removed.
39117 * sysdeps/wordsize-64/iofopen64.c: File removed.
39118
3fb791b8
MP
391192012-08-01 Marek Polacek <polacek@redhat.com>
39120
39121 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39122 Use dlfcn directly instead of a variable.
39123 (binfmt-subdir): Do not define.
39124 (dlfcn): Likewise.
39125
a9f1039f
JM
391262012-08-01 Joseph Myers <joseph@codesourcery.com>
39127
23bddc06
JM
39128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39129 Remove all definitions.
39130 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39131 <kernel-features.h>.
39132 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39133 (miss_F_GETOWN_EX): Remove all definitions.
39134 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39135 macro definition.
39136 [!__ASSUME_FCNTL64]: Remove conditional code.
39137 [__ASSUME_FCNTL64]: Make code unconditional.
39138 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39139 <kernel-features.h>.
39140 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39141 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39142 (lockf64) [__NR_fcntl64]: Make code unconditional.
39143 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39144
a9f1039f
JM
39145 * sysdeps/unix/sysv/linux/kernel-features.h
39146 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39147 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39148 Make code unconditional.
39149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39152 [__NR_vfork]: Make code unconditional.
39153 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39154 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39156 [__NR_vfork]: Make code unconditional.
39157 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39158 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39159
09c0ee5f
RM
391602012-08-01 Roland McGrath <roland@hack.frob.com>
39161
48aec5b9
RM
39162 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39163 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39164
cd97c966
RM
39165 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39166 Define mkstemp64 as an alias.
3f55550c
RM
39167 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39168 Define mkstemps64 as an alias.
cd97c966
RM
39169 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39170 Define mkostemp64 as an alias.
b8625cfc
RM
39171 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39172 Define mkostemps64 as an alias.
cd97c966
RM
39173 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39174 Conditionalize body on this.
39175 * misc/mkostemp64.c: Likewise.
b8625cfc 39176 * misc/mkostemps64.c: Likewise.
3f55550c 39177 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39178 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39179 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39180 * sysdeps/wordsize-64/mkostemp.c: File removed.
39181 * sysdeps/wordsize-64/mkstemp.c: File removed.
39182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39183 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39186
09c0ee5f
RM
39187 [BZ #14138]
39188 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39189 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39190 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39191 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39192
39193 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39194 compat_symbol macros from <shlib-compat.h> rather than the underlying
39195 default_symbol_version and symbol_version macros, so that DEFAULT
39196 lines in shlib-versions are respected.
39197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39198
7e66ee51
FW
391992012-08-01 Florian Weimer <fweimer@redhat.com>
39200
39201 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39202 Declare with warn_unused_result.
39203 (setgid, setregid, setegid, setresgid): Likewise.
39204 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39205 Likewise.
39206 * WUR-REPORT: Remove set*id functions.
39207
d2a54255
PT
392082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39209
39210 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39211
7ecdb005
RM
392122012-07-31 Roland McGrath <roland@hack.frob.com>
39213
b4180a5e 39214 [BZ #10191]
789bd351
RM
39215 * include/sys/socket.h (__libc_accept, __libc_accept4):
39216 Add attribute_hidden.
39217 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39218
40ce302d
RM
39219 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39220 use of PTR_MANGLE.
39221 * inet/getnetgrent_r.c (setup): Likewise.
39222
7ecdb005
RM
39223 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39224
e2eabb2c
DM
392252012-07-31 David S. Miller <davem@davemloft.net>
39226
39227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39228
d0419dbf
JM
392292012-07-31 Joseph Myers <joseph@codesourcery.com>
39230
39231 [BZ #13629]
39232 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39233 value between 1.0 and 2.0 and smaller part has absolute value less
39234 than 1.0.
39235 * math/s_clog10.c (__clog10): Likewise.
39236 * math/s_clog10f.c (__clog10f): Likewise.
39237 * math/s_clog10l.c (__clog10l): Likewise.
39238 * math/s_clogf.c (__clogf): Likewise.
39239 * math/s_clogl.c (__clogl): Likewise.
39240 * math/libm-test.inc (clog_test): Add more tests.
39241 (clog10_test): Likewise.
39242 * sysdeps/i386/fpu/libm-test-ulps: Update.
39243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39244
2bc13872
FW
392452012-07-31 Florian Weimer <fweimer@redhat.com>
39246
39247 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39248 Exit with zero in case no suitable GID is found, and write a
39249 message to standard error.
39250
bea9b193
RM
392512012-07-30 Roland McGrath <roland@hack.frob.com>
39252
39253 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39254 rather than to 1.
39255 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39256 (MAXPATHLEN): Removed.
39257 (NOGROUP, NODEV): New macros.
39258 (setbit, clrbit, isset, isclr): New macros.
39259 (howmany, roundup, powerof2): New macros.
39260 (DEV_BSIZE): New macro.
39261
39262 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39263 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39264
39265 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39266 definition on [!__NO_LONG_DOUBLE_MATH].
39267
39268 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39269 PTR_MANGLE and PTR_DEMANGLE.
39270
39271 * socket/accept4.c (accept4): Rename to __libc_accept4.
39272 Define accept4 as a weak alias.
39273
39274 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39275 on [_DIRENT_HAVE_D_TYPE].
39276 * io/ftw.c (ftw_dir): Likewise.
39277
39278 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39279
39280 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39281
39282 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39283 Use the BSD numbers rather than the arbitrary ones we had.
39284 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39285 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39286 (SIGXCPU, SIGXFSZ): New macros.
39287 (_NSIG): Now 32.
39288
39289 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39290 initializer on [_LIBC_REENTRANT].
39291
39292 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39293 definitions inside [_POSIX_MAPPED_FILES].
39294
39295 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39296
39297 * dirent/opendir.c: Include <fcntl.h>.
39298
39299 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39300 (__libc_getspecific): Likewise.
39301 (__libc_key_create): Likewise.
39302
39303 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39304 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39305 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39306 (tmpfile64): Define as alias.
39307 * sysdeps/wordsize-64/tmpfile.c: File removed.
39308 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39310 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39311
39312 * stdio-common/vfscanf.c: Include <stdbool.h>.
39313 * nss/makedb.c: Likewise.
39314 * stdio-common/_i18n_number.h: Likewise.
39315 * argp/argp-help.c: Likewise.
39316 * posix/wordexp.c: Likewise.
39317 * sysdeps/posix/spawni.c: Likewise.
39318 * nss/nss_files/files-initgroups.c: Likewise.
39319 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39320 * nss/nss_files/files-initgroups.c: Likewise.
39321 * nss/nss_db/db-netgrp.c: Likewise.
39322 * nss/nss_db/db-initgroups.c: Likewise.
39323 * io/fchmodat.c: Include <sys/stat.h>.
39324
39325 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39326 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39327
39328 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39329 [HAVE_MMAP].
39330
39331 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39332 Add multiple inclusion protection.
39333
e5abc686
DM
393342012-07-27 David S. Miller <davem@davemloft.net>
39335
39336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39337
815e6fa3
GB
393382012-07-27 Gary Benson <gbenson@redhat.com>
39339
39340 [BZ #14298]
39341 * elf/rtld.c: Include <stap-probe.h>.
39342 (dl_main): Added static probes "init_start" and "init_complete".
39343 * elf/dl-load.c: Include <stap-probe.h>.
39344 (lose): Take new parameter "nsid".
39345 Added static probe "map_failed".
39346 (_dl_map_object_from_fd): Pass namespace id to lose.
39347 Added static probe "map_start".
39348 (open_verify): Pass namespace id to lose.
39349 * elf/dl-open.c: Include <stap-probe.h>.
39350 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39351 and "reloc_complete".
39352 * elf/dl-close.c: Include <stap-probe.h>.
39353 (_dl_close_worker): Added static probes "unmap_start" and
39354 "unmap_complete".
39355 * elf/rtld-debugger-interface.txt: New file documenting the above.
39356
9f98c16c
RM
393572012-07-26 Roland McGrath <roland@hack.frob.com>
39358
39359 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39360 rather than a string variable.
39361 * sunrpc/rpc_main.c (h_output): Likewise.
39362 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39363
f3c22df3
PT
393642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39365
39366 * inet/check_native.c: New file.
39367
3129cfc6
JM
393682012-07-26 Joseph Myers <joseph@codesourcery.com>
39369
da865e95
JM
39370 [BZ #13629]
39371 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39372 if larger part has absolute value 1.0.
39373 * math/s_clog10.c (__clog10): Likewise.
39374 * math/s_clog10f.c (__clog10f): Likewise.
39375 * math/s_clog10l.c (__clog10l): Likewise.
39376 * math/s_clogf.c (__clogf): Likewise.
39377 * math/s_clogl.c (__clogl): Likewise.
39378 * math/libm-test.inc (clog_test): Add more tests.
39379 (clog10_test): Likewise.
39380 * sysdeps/i386/fpu/libm-test-ulps: Update.
39381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39382
3129cfc6
JM
39383 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39384 (pltexit): Likewise.
39385 (La_regs): Likewise.
39386 (La_retval): Likewise.
39387 (int_retval): Likewise.
39388 Update #error for removed macros to refer only to definitions in
39389 tst-audit.h.
39390 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39391 macro.
39392 (pltexit): Likewise.
39393 (La_regs): Likewise.
39394 (La_retval): Likewise.
39395 (int_retval): Likewise.
39396 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39397 macro.
39398 (pltexit): Likewise.
39399 (La_regs): Likewise.
39400 (La_retval): Likewise.
39401 (int_retval): Likewise.
39402 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39403 macro.
39404 (pltexit): Likewise.
39405 (La_regs): Likewise.
39406 (La_retval): Likewise.
39407 (int_retval): Likewise.
39408 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39409 macro.
39410 (pltexit): Likewise.
39411 (La_regs): Likewise.
39412 (La_retval): Likewise.
39413 (int_retval): Likewise.
39414 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39415 macro.
39416 (pltexit): Likewise.
39417 (La_regs): Likewise.
39418 (La_retval): Likewise.
39419 (int_retval): Likewise.
39420 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39421 macro.
39422 (pltexit): Likewise.
39423 (La_regs): Likewise.
39424 (La_retval): Likewise.
39425 (int_retval): Likewise.
39426 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39427 macro definitions in tst-audit.h.
39428 * sysdeps/i386/tst-audit.h: New file.
39429 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39430 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39431 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39432 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39433 * sysdeps/sh/tst-audit.h: Likewise.
39434 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39435 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39436 * sysdeps/x86_64/tst-audit.h: Likewise.
39437
bfc07087
AJ
394382012-07-26 Andreas Jaeger <aj@suse.de>
39439
b1b2aaf8
AJ
39440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39441 ptrace.
39442
39443 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39444 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39445 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39446 PTRACE_O_MASK.
39447 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39448 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39449 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39450
bfc07087
AJ
39451 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39452 value.
39453
39454 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39455 _sigsys.
39456 (si_call_addr, si_syscall, si_arch): Define new macro.
39457 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39458 _sigsys.
39459 (si_call_addr, si_syscall, si_arch): Define new marcro.
39460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39461 _sigsys.
39462 (si_call_addr, si_syscall, si_arch): Define new macro.
39463 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39464 _sigsys.
39465 (si_call_addr, si_syscall, si_arch): Define new macro.
39466
89b4b02f
JM
394672012-07-25 Joseph Myers <joseph@codesourcery.com>
39468
39469 [BZ #13717]
39470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39471 Change to 2.4.21 where previously 2.4.1.
39472 * sysdeps/unix/sysv/linux/configure: Regenerated.
39473 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39474 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39475 Linux kernel version.
39476 (__ASSUME_STD_AUXV): Remove.
39477 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39478 kernel version.
39479 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39480 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39481 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39482 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39483 (__ASSUME_NETLINK_SUPPORT): Likewise.
39484 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39485 (__no_netlink_support): Remove conditional definition.
39486 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39487 Remove.
39488 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39489 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39490 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39491 (if_nameindex_ioctl): Remove.
39492 (if_nameindex_netlink): Do not handle __no_netlink_support.
39493 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39494 code.
39495 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39496 Remove conditional code.
39497 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39498 code.
39499 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39500 unconditional.
39501 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39502 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39503 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39504 Remove.
39505 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39506 [!__ASSUME_STD_AUXV]: Remove conditional code.
39507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39508 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39509 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39511 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39512 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39513 code.
39514 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39516 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39517 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39518 conditional code.
39519 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39521 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39522 code.
39523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39524 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39525 conditional code.
39526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39527 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39528 code unconditional.
39529 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39530 conditional code.
39531 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39532 unconditional.
39533 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39534 conditional code.
39535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39536 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39537 unconditional.
39538 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39539 conditional code.
39540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39541 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39542 code unconditional.
39543 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39544 conditional code.
39545 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39546 unconditional.
39547 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39548 conditional code.
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39550 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39551 code unconditional.
39552 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39553 conditional code.
39554 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39555 unconditional.
39556 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39557 conditional code.
39558
842a39cd
AS
395592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39560
39561 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39562 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39563 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39564 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39565 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39566 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39567 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39568 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39569 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39570 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39571 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39572 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39573 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39574 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39575 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39577 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39579 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39581 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39582 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39583 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39584
84b3fd84
FW
395852012-07-25 Florian Weimer <fweimer@redhat.com>
39586
39587 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39588 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39589 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39590 Introduce __libc_secure_getenv.
0c7936d5
FW
39591 * stdlib/Versions (2.17): Add secure_getenv
39592 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39593 * stdlib/secure-getenv.c: Rename __secure_getenv to
39594 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39595 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39596 * stdlib/tst-secure-getenv.c: New.
39597 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39598 * manual/startup.texi (Environment Access): Document
39599 secure_getenv.
84b3fd84
FW
39600 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39601 __libc_secure_getenv.
39602 * inet/ruserpass.c (ruserpass): Likewise.
39603 * malloc/mtrace.c (mtrace): Likewise.
39604 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39605 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39606 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39607 * sysdeps/posix/tempname.c: Likewise. Evaluate
39608 HAVE_SECURE_GETENV.
39609 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39610 __secure_getenv to __libc_secure_getenv.
84b3fd84 39611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39613 Likewise.
39614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39615 Likewise.
39616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39623
56e49b71
JM
396242012-07-25 Joseph Myers <joseph@codesourcery.com>
39625
39626 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39627 (struct La_i86_retval): Likewise.
39628 (struct La_x86_64_regs): Likewise.
39629 (struct La_x86_64_retval): Likewise.
39630 (struct La_x32_regs): Likewise.
39631 (struct La_x32_retval): Likewise.
39632 (struct La_ppc32_regs): Likewise.
39633 (struct La_ppc32_retval): Likewise.
39634 (struct La_ppc64_regs): Likewise.
39635 (struct La_ppc64_retval): Likewise.
39636 (struct La_sh_regs): Likewise.
39637 (struct La_sh_retval): Likewise.
39638 (struct La_s390_32_regs): Likewise.
39639 (struct La_s390_32_retval): Likewise.
39640 (struct La_s390_64_regs): Likewise.
39641 (struct La_s390_64_retval): Likewise.
39642 (struct La_sparc32_regs): Likewise.
39643 (struct La_sparc32_retval): Likewise.
39644 (struct La_sparc64_regs): Likewise.
39645 (struct La_sparc64_retval): Likewise.
39646 (struct audit_ifaces): Remove architecture-specific pltenter and
39647 pltexit members.
39648 * sysdeps/i386/ldsodefs.h: New file.
39649 * sysdeps/powerpc/ldsodefs.h: Likewise.
39650 * sysdeps/s390/ldsodefs.h: Likewise.
39651 * sysdeps/sh/ldsodefs.h: Likewise.
39652 * sysdeps/sparc/ldsodefs.h: Likewise.
39653 * sysdeps/x86_64/ldsodefs.h: Likewise.
39654
354691b7
MP
396552012-07-25 Marek Polacek <polacek@redhat.com>
39656
39657 [BZ #6808]
39658 * math/libm-test.inc (yn_test): Add another test.
39659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39660 to ERANGE when the result is +-Inf.
39661 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39662 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39663 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39664 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39665
bf9e2071
JM
396662012-07-24 Joseph Myers <joseph@codesourcery.com>
39667
39668 * conform/data/time.h-data (NULL): Use macro-constant. Require
39669 equal to 0.
39670 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39671 clock_t.
39672 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39673
57633811
TS
396742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39675
39676 * configure.in <sysdeps resolving>: Correct printing
39677 Implies_before.
39678 * configure: Regenerate.
39679
c23c33b0
TS
396802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39681
39682 * math/w_ilogb.c: Include <limits.h>.
39683 * math/w_ilogbl.c: Likewise.
39684
b5982523
JM
396852012-07-20 Joseph Myers <joseph@codesourcery.com>
39686
39687 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39688 va_copy. Document allowing for unavailable va_copy only as
39689 pre-C99 compatibility.
39690 * manual/string.texi (Copying and Concatenation): Use va_copy
39691 instead of __va_copy in concat example.
39692
ac4ea442
PT
396932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39694
39695 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39696 (__sendto): Use create_address_port. Initialize APORT and deallocate
39697 it if not null.
39698
f98eafbd
PT
39699 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39700 with O_NOLINK passed to __file_name_lookup.
39701
898c7aab
PT
39702 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39703 with O_NOLINK passed to __file_name_lookup.
39704
0ced335a
PT
39705 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39706 negative N or less than NGIDS.
39707
b3404dbd
PT
39708 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39709 type to string_t. Set ERANGE as errno and return it if NAME is not big
39710 enough. Use memcpy instead of strncpy.
39711
0f48659e
JM
397122012-07-20 Joseph Myers <joseph@codesourcery.com>
39713
39714 * elf/Makefile (check-data): Remove.
39715 (localplt.data): New vpath directive.
39716 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39717 instead of $(check-data).
39718 * scripts/data/localplt-generic.data: Move to ...
39719 * sysdeps/generic/localplt.data: ... here.
39720 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39721 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39722 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39724 ... here.
39725 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39727 ... here.
39728 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39730 ... here.
39731 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39733 ... here.
39734 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39736 ... here.
39737 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39739 ... here.
39740
d37cbdaa
AZ
397412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39742
39743 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39744 PPC32 and PPC64 files.
39745 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39746 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39747
46f85fc2
AK
397482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39749
39750 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39751 __makecontext_ret to ...
39752 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39753 ... here and call exit if uc_link is NULL. New file.
39754 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39755 __makecontext_ret.S.
39756 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39757 __makecontext_ret to ...
39758 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39759 ... here and call exit if uc_link is NULL. New file.
39760 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39761 __makecontext_ret.S.
39762
08f43f9b
AK
397632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39764
39765 * elf/elf.h (R_390_IRELATIVE): New definition.
39766 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39767 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39768 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39770 (elf_machine_lazy_rel): Likewise.
39771 * sysdeps/s390/dl-irel.h: New file.
39772 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39773 * sysdeps/s390/s390-64/memset.S: New asm code.
39774 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39775 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39776 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39777 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39778 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39779 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39781 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39782 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39783 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39784 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39785 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39786 * sysdeps/s390/s390-32/memset.S: New asm code.
39787 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39788
3b05db33
MP
397892012-07-17 Marek Polacek <polacek@redhat.com>
39790
39791 [BZ #14349]
39792 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39793 * sysdeps/s390/s390-64/configure.in: Likewise.
39794 * sysdeps/sparc/configure.in: Likewise.
39795 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39796 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39797 * sysdeps/i386/configure.in: Likewise.
39798 * sysdeps/x86_64/configure.in: Likewise.
39799 * sysdeps/sh/configure.in: Likewise.
39800 * sysdeps/s390/s390-32/configure: Regenerated.
39801 * sysdeps/s390/s390-64/configure: Likewise.
39802 * sysdeps/x86_64/configure: Likewise.
39803 * sysdeps/sh/configure: Likewise.
39804 * sysdeps/powerpc/powerpc64/configure: Likewise.
39805 * sysdeps/powerpc/powerpc32/configure: Likewise.
39806 * sysdeps/sparc/configure: Likwise.
39807 * sysdeps/i386/configure: Likewise.
39808
a66877c6
MP
39809 * elf/dl-open.c: Comment fixes.
39810
cfc82fd8
JM
398112012-07-17 Joseph Myers <joseph@codesourcery.com>
39812
bd29910a
JM
39813 * Makefile [CXX] (check-data): Remove.
39814 [CXX] (c++-types.data): New vpath directive.
39815 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39816 vpath. Do not allow for C++ type data being missing.
39817 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39818 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39819 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39820 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39821 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39822 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39823 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39825 ... here.
39826 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39828 ... here.
39829 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39831 ... here.
39832 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39834 ... here.
39835 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39837 ... here.
39838 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39840 ... here.
39841 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39843 ... here.
39844 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39846
cfc82fd8
JM
39847 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39848 definitions to architecture-specific files.
39849 (TLS_IE): Likewise.
39850 (TLS_LD): Likewise.
39851 (TLS_GD): Likewise.
39852 * sysdeps/i386/tls-macros.h: New file.
39853 * sysdeps/powerpc/tls-macros.h: Likewise.
39854 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39855 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39856 * sysdeps/sh/tls-macros.h: Likewise.
39857 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39858 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39859 * sysdeps/x86_64/tls-macros.h: Likewise.
39860
f7db3170
TS
398612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39862
07cbfc23
TS
39863 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39864 zero value for regular exit case.
39865
f7db3170
TS
39866 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39867 (__start_context): Preserve zero value for regular exit case.
39868
dc97c227
TS
398692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39870 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39871
39872 * manual/setjmp.texi (setcontext): Clarify normal process
39873 termination when uc_link is the null pointer.
39874 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39875 exit call.
39876
d0cd7d02
AS
398772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39878
39879 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39880 preprocessor. Test for each exception mask separately.
39881
dd318934
AJ
398822012-07-16 Andreas Jaeger <aj@suse.de>
39883
39884 * po/ru.po: Update from translation team.
39885
8048311a
JM
398862012-07-15 Joseph Myers <joseph@codesourcery.com>
39887
39888 * conform/data/string.h-data (NULL): Use macro-constant. Require
39889 equal to 0.
39890 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39891 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39892 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39893 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39895
b637d46e
AJ
398962012-07-13 Andreas Jaeger <aj@suse.de>
39897
39898 * po/fr.po: Update from translation team.
39899
541428fe
MP
399002012-07-12 Marek Polacek <polacek@redhat.com>
39901
39902 [BZ #14173]
39903 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39904 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39905 loop condition.
39906
ec332e94
JM
399072012-07-12 Joseph Myers <joseph@codesourcery.com>
39908
39909 [BZ #13717]
39910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39911 Change to 2.4.1 where previously 2.4.0.
39912 * sysdeps/unix/sysv/linux/configure: Regenerated.
39913 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39914 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39915 version.
39916 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39917 (__ASSUME_AT_CLKTCK): Remove.
39918 (__ASSUME_AT_PAGESIZE): Likewise.
39919 (__ASSUME_AT_XID): Likewise.
39920 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39921 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39922 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39923 unconditionally.
39924 (HAVE_AUX_PAGESIZE): Likewise.
39925 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39926 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39927 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39928
7b6e99be
JB
399292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39930
39931 [BZ #14307]
39932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39933 the temporary buffer used to invoke __gethostbyname2_r,
39934 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39935 host_data / struct gaih_addrtuple.
39936 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39937 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39938 header file nss/nsswitch.h.
39939 * nss/nsswitch.h (global scope): Add definition of implementation
39940 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39941 resolv/nss_dns/dns-host.c).
39942
608404eb
AJ
399432012-07-11 Andreas Jaeger <aj@suse.de>
39944
39945 * po/fr.po: Update from translation team.
39946
71220aca
AJ
39947 * po/sv.po: Update from translation team
39948 * po/fr.po: Another update from translation team.
39949
28cfe843
AZ
399502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39951
39952 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39953 for subnormals or multiply small sinh result by itself.
39954 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39956
6b90f981
DM
399572012-07-11 David S. Miller <davem@davemloft.net>
39958
39959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39960
c6825772
AS
399612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39962
39963 [BZ #14347]
39964 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39965 (INTERNAL_MARK): Shift it here.
39966
7b8e0d49
MP
399672012-07-10 Marek Polacek <polacek@redhat.com>
39968
39969 [BZ #14151]
39970 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39971 libc_cv_asm_global_directive with .globl.
39972 * configure: Regenerated.
39973 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39974 with .globl.
39975 * sysdeps/i386/configure: Regenerated.
39976 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39977 with .globl.
39978 * sysdeps/x86_64/configure: Regenerated.
39979 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39980 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39981 * elf/tst-unique2mod2.c: Likewise.
39982 * elf/tst-unique2mod1.c: Likewise.
39983 * elf/tst-unique1mod2.c: Likewise.
39984 * elf/tst-unique1mod1.c: Likewise.
39985 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39986 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39988 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39989 * sysdeps/mach/sysdep.h: Likewise.
39990 * sysdeps/i386/sysdep.h: Likewise.
39991 * sysdeps/i386/i386-mcount.S: Likewise.
39992 * sysdeps/x86_64/_mcount.S: Likewise.
39993 * sysdeps/x86_64/sysdep.h: Likewise.
39994 * sysdeps/sh/_mcount.S: Likewise.
39995 * sysdeps/sh/sysdep.h: Likewise.
39996 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39997 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39998 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39999 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40000 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40001 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40002 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40003 * locale/localeinfo.h: Likewise.
40004 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40005 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40006
6c55cda3
RM
400072012-07-09 Roland McGrath <roland@hack.frob.com>
40008
40009 [BZ #14336]
40010 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40011 system".
40012 * manual/message.texi (The Uniforum approach): Likewise.
40013 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40014 (glibc iconv Implementation): Likewise.
40015
638a572e
JM
400162012-07-09 Joseph Myers <joseph@codesourcery.com>
40017
40018 [BZ #14337]
40019 * math/s_clog.c (__clog): Avoid scaling a value down where that
40020 could result in underflow.
40021 * math/s_clog10.c (__clog10): Likewise.
40022 * math/s_clog10f.c (__clog10f): Likewise.
40023 * math/s_clog10l.c (__clog10l): Likewise.
40024 * math/s_clogf.c (__clogf): Likewise.
40025 * math/s_clogl.c (__clogl): Likewise.
40026 * math/libm-test.inc (clog_test): Add more tests.
40027 (clog10_test): Likewise.
40028 * sysdeps/i386/fpu/libm-test-ulps: Update.
40029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40030
261f4859
AS
400312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40032
0abaf3e4
AS
40033 [BZ #14283]
40034 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40035 by 7 not 8 to examine high bit of fractional part.
40036
261f4859
AS
40037 [BZ #14042]
40038 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40039 for call to __mcount_internal.
40040 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40041 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40042 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40043
f17ac40d
JM
400442012-07-06 Joseph Myers <joseph@codesourcery.com>
40045
9ad63c23
JM
40046 [BZ #14154]
40047 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40048 approximation for values within 0x1p-13f of an odd multiple of
40049 pi/4.
40050 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40051 exception. Add more tests.
40052 * sysdeps/i386/fpu/libm-test-ulps: Update.
40053
f17ac40d
JM
40054 [BZ #6778]
40055 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40056 inputs and return -1 for them. Do not check for +Inf in case not
40057 reachable for +Inf.
40058 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40059 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40060 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40061 and return -1 for them. Do not check for +Inf in case not
40062 reachable for +Inf.
40063 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40064 define.
40065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40066 and return -1 for them. Do not check for +Inf in case not
40067 reachable for +Inf.
40068 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40069 spurious underflow.
40070 * sysdeps/i386/fpu/libm-test-ulps: Update.
40071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40072
fb21f89b
MF
400732012-07-06 Mike Frysinger <vapier@gentoo.org>
40074
40075 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40076
cdfe2c5e
JM
400772012-07-05 Joseph Myers <joseph@codesourcery.com>
40078
40079 [BZ #14157]
40080 [BZ #14331]
40081 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40082 could result in spurious underflow. Scale down values above
40083 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40084 * math/s_csqrtf.c (__csqrtf): Likewise.
40085 * math/s_csqrtl.c (__csqrtl): Likewise.
40086 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40087 spurious underflow.
40088 * sysdeps/i386/fpu/libm-test-ulps: Update.
40089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40090
70d35b67
AS
400912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40092
704bc459
AS
40093 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40094 xopen-msg.sed.
40095 * catgets/xopen-msg.awk: New file.
40096 * catgets/xopen-msg.sed: Removed.
40097
70d35b67
AS
40098 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40099 po2text.sed.
40100 * intl/po2test.awk: New file.
40101 * intl/po2test.sed: Removed.
40102
ca61cf32
JM
401032012-07-04 Joseph Myers <joseph@codesourcery.com>
40104
40105 [BZ #14328]
40106 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40107 or multiply small sinh result by itself.
40108 * math/s_ctanf.c (__ctanf): Likewise.
40109 * math/s_ctanh.c (__ctanh): Likewise.
40110 * math/s_ctanhf.c (__ctanhf): Likewise.
40111 * math/s_ctanhl.c (__ctanhl): Likewise.
40112 * math/s_ctanl.c (__ctanl): Likewise.
40113 * math/libm-test.inc (ctan_test_tonearest): New function.
40114 (ctan_test_towardzero): Likewise.
40115 (ctan_test_downward): Likewise.
40116 (ctan_test_upward): Likewise.
40117 (ctanh_test_tonearest): Likewise.
40118 (ctanh_test_towardzero): Likewise.
40119 (ctanh_test_downward): Likewise.
40120 (ctanh_test_upward): Likewise.
40121 (main): Call these new functions.
40122 * sysdeps/i386/fpu/libm-test-ulps: Update.
40123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124
ca48a46a
MF
401252012-07-03 Mike Frysinger <vapier@gentoo.org>
40126
40127 * .gitignore: Delete /ports entry.
40128
9d63d37d
AJ
401292012-07-03 Andreas Jaeger <aj@suse.de>
40130
40131 * po/bg.po: Update from translation team.
40132 * po/cs.po: Likewise.
40133 * po/de.po: Likewise.
40134 * po/hr.po: Likewise.
40135 * po/nl.pl: Likewise.
40136 * po/pl.po: Likewise.
40137 * po/vi.po: Likewise.
40138
370ca3d2
JM
401392012-07-03 Joseph Myers <joseph@codesourcery.com>
40140
95f5a9a8
JM
40141 * Makeconfig [!+link] (+link-before-libc): New variable.
40142 [!+link] (+link-after-libc): Likewise.
40143 [!+link] (+link-tests): Likewise.
40144 [!+link] (+link): Define in terms of $(+link-before-libc) and
40145 $(+link-after-libc).
40146 [!+link-static] (+link-static-before-libc): New variable.
40147 [!+link-static] (+link-static-after-libc): Likewise.
40148 [!+link-static] (+link-static-tests): Likewise.
40149 [!+link-static] (+link-static): Define in terms of
40150 $(+link-static-before-libc) and $(+link-static-after-libc).
40151 [build-shared] (link-libc-before-gnulib): New variable.
40152 [build-shared] (link-libc-tests): Likewise.
40153 [build-shared] (link-libc): Define in terms of
40154 $(link-libc-before-gnulib).
40155 [!build-shared] (link-libc-tests): New variable.
40156 (link-libc-static-tests): New variable.
40157 [!gnulib] (gnulib-arch): New variable.
40158 [!gnulib] (gnulib-tests): Likewise.
40159 [!gnulib] (static-gnulib-arch): Likewise.
40160 [!gnulib] (static-gnulib-tests): Likewise.
40161 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40162 Define with "=" instead of ":=".
40163 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40164 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40165 * Rules (binaries-all-notests): New variable.
40166 (binaries-all-tests): Likewise.
40167 (binaries-static-notests): Likewise.
40168 (binaries-static-tests): Likewise.
40169 (binaries-all): Define using $(binaries-all-notests) and
40170 $(binaries-all-tests).
40171 (binaries-static): Define using $(binaries-static-notests) and
40172 $(binaries-static-tests).
40173 (binaries-shared-tests): New variable.
40174 (binaries-shared-notests): Likewise.
40175 (binaries-shared): Remove variable.
40176 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40177 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40178 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40179 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40180 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40181 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40182 * elf/Makefile (sln-modules): New variable.
40183 (extra-objs): Add $(sln-modules:=.o).
40184 (ldconfig-modules): Add static-stubs.
40185 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40186 * elf/static-stubs.c: New file.
40187
7a845b2c
JM
40188 [BZ #14283]
40189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40190 by 7 not 8 to examine high bit of fractional part. Use volatile
40191 variables when splitting into final array of floats if
40192 __FLT_EVAL_METHOD__ != 0.
40193 * math/libm-test.inc (cos_test): Add another test.
40194 (sin_test): Likewise.
40195 * sysdeps/i386/fpu/libm-test-ulps: Update.
40196
e2283f38
JM
40197 [BZ #14273]
40198 * math/libm-test.inc (cosh_test): Add more tests.
40199
370ca3d2
JM
40200 * version.h (RELEASE): Set to "development".
40201 (VERSION): Set to "2.16.90".
40202
ee9247c3
CD
402032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40204
40205 * NEWS: Update copyright. Remove last-updated date.
40206 Mention math library bug fixes and timezone data changes.
40207 * README: Mention GNU/Hurd, x32, and HPPA support status.
40208
4648c381
TS
402092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40210
40211 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40212
aac78a43
AJ
402132012-06-27 Andreas Jaeger <aj@suse.de>
40214
40215 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40216
ed3dbfad
AJ
402172012-06-25 Andreas Jaeger <aj@suse.de>
40218
40219 * sysdeps/s390/fpu/libm-test-ulps: Update.
40220
4d0ee855
AS
402212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40222 Thomas Schwinge <thomas@codesourcery.com>
40223
40224 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40225 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40226 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40227 fanotify_mark.
40228
af1bce34
TS
402292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40230
a9fa33ba
TS
40231 * sysdeps/mach/start.c: Remove file.
40232 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40233 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40234 * sysdeps/sh/init-first.c: Likewise.
40235
58f902b8
TS
40236 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40237 registers for frame unwinding purposes, add CFI directives.
40238 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40239 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40240 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40241 Likewise.
40242
1518f58b
TS
40243 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40244 __fortify_fail returning.
40245 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40246
db9b5059
TS
40247 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40248 sysdeps/sh/____longjmp_chk.S.
40249 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40250 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40251 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40252 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40253
967705fe
TS
40254 * sysdeps/sh/abort-instr.h: New file.
40255 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40256 process in case exit returns.
40257
a9def8c4
TS
40258 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40259 initialize the GOT register before use.
40260
2a649725
TS
40261 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40262 calculation of ARGC > 4.
40263
af1bce34
TS
40264 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40265 meaningful names to some local labels.
40266
d230f50a
KK
402672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40268 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40269
40270 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40271 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40272 (__arch_compare_and_exchange_val_16_acq): Likewise.
40273 (__arch_compare_and_exchange_val_32_acq): Likewise.
40274 (atomic_exchange_and_add): Fix gUSA sequence.
40275 (atomic_add): Likewise.
40276 (atomic_add_negative): Likewise.
40277 (atomic_add_zero): Likewise.
40278 (atomic_bit_test_set): Likewise.
40279
0479b305
AS
402802012-06-22 Andreas Schwab <schwab@redhat.com>
40281
40282 [BZ #13579]
40283 * include/link.h (struct link_map): Add l_free_initfini.
40284 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40285 l_initfini.
40286 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40287 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40288 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40289 set.
40290
0e3933b9
CD
402912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40292
40293 * configure.in: Use AC_LANG_SOURCE.
40294 * configure: Regenerate.
40295
4248b1b1
RM
402962012-06-22 Roland McGrath <roland@hack.frob.com>
40297
40298 * configure.in (libc_cv_localstatedir): New substituted variable.
40299 * configure: Regenerated.
40300 * config.make.in (localstatedir): New variable, substituted from
40301 libc_cv_localstatedir.
40302 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40303 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40304 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40305 * sysdeps/gnu/configure: Regenerated.
40306
006dd861
JL
403072012-06-21 Jeff Law <law@redhat.com>
40308
40309 [BZ #14277]
40310 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40311 free. Simplify list management for _LIBC case.
40312
79662d42
JM
403132012-06-21 Joseph Myers <joseph@codesourcery.com>
40314
b7abb4bf
JM
40315 [BZ #14273]
40316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40317 Clear sign bit of 64-bit integer value before comparing against
40318 overflow value.
40319
79662d42
JM
40320 * sysdeps/mach/configure: Regenerated.
40321
1f150908
L
403222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40323
40324 [BZ #14278]
40325 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40326
28363bbf
JL
403272012-06-21 Jeff Law <law@redhat.com>
40328
40329 [BZ #13882]
40330 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40331 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40333 * elf/dl-open.c (dl_open_worker): Likewise.
40334
09615db4
CD
403352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40336
40337 * scripts/list-sources.sh: Scan PORTS for translations.
40338 * po/libc.pot: Regenerated.
40339
2174c6dd
AJ
403402012-06-21 Andreas Jaeger <aj@suse.de>
40341
40342 [BZ #12194]
40343 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40344 warning.
40345 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40346 * bits/byteswap-16.h (__bswap_16): Likewise.
40347 * bits/byteswap.h (__bswap_constant_16): Likewise.
40348
3ee947b1
L
403492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40350
40351 [BZ #14117]
a2f34833
L
40352 * sysdeps/i386/fpu_control.h: Removed.
40353 * sysdeps/x86_64/fpu_control.h: Moved to ...
40354 * sysdeps/x86/fpu_control.h: Here.
40355
3ee947b1
L
40356 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40357 (_FPU_SETCW): Likewise.
40358
ed1825f8
L
403592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40360
25f1282a
L
40361 [BZ #14117]
40362 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40363 * sysdeps/x86/fpu/bits/mathinline.h: This.
40364 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40365
ed1825f8
L
40366 [BZ #14050]
40367 [BZ #14117]
40368 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40369 functions if __x86_64__ is defined.
40370
36d54b74
CLT
403712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40372
40373 * string/endian.h: Add !__ASSEMBLER__ condition for including
40374 conversion interfaces.
40375
10285c21
JM
403762012-06-15 Joseph Myers <joseph@codesourcery.com>
40377
40378 [BZ #14241]
40379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40380 of ABS(x) in calculating zero to negative powers other than odd
40381 integers.
40382 * math/libm-test.inc (pow_test): Add more tests.
40383
06c5abbd
AJ
403842012-06-15 Andreas Jaeger <aj@suse.de>
40385
40386 * manual/contrib.texi (Contributors): Update entry of Liubov
40387 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40388 Machado Filho.
40389
a3aeac40
CH
403902012-06-15 Cyril Hrubis <metan@ucw.cz>
40391
40392 * string/string.h: Add __wur to GNU version of strerror_r.
40393
49bdf4c1
L
403942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40395
40396 [BZ #14229]
40397 * string/Makefile (tests): Add tst-strtok_r.
40398 * string/tst-strtok_r.c: New file.
40399 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40400 RAX_LP/RDX_LP on SAVE_PTR.
40401
834f9b8d
RM
404022012-06-14 Roland McGrath <roland@hack.frob.com>
40403
40404 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40405
75fa1921
JM
404062012-06-14 Joseph Myers <joseph@codesourcery.com>
40407
40408 * libm_test.inc (csqrt_test): Allow more spurious underflow
40409 exceptions.
40410 (j0_test): Likewise.
40411 (j1_test): Likewise.
40412 (y0_test): Likewise.
40413 (y1_test): Likewise.
40414
771766df
CD
404152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40416
40417 * po/Makefile (libc.pot): Use UTF-8 charset.
40418
ceb9e56b
PP
404192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40420
40421 [BZ #14210]
40422 Suppress sign-conversion warning from FD_SET.
40423 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40424 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40425 not unsigned long int.
40426 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40427
ddb28975
L
404282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40429
40430 [BZ #14050]
40431 [BZ #14117]
40432 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40433 __extern_always_inline instead of __extern_inline.
40434 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40435 (__signbit): Likewise.
40436 (__signbitl): Support C++ namespace.
40437 (lrintf): New inline function.
40438 (lrint): Likewise.
40439 (llrintf): Likewise.
40440 (llrint): Likewise.
40441 (fmaxf): Likewise.
40442 (fmax): Likewise.
40443 (fminf): Likewise.
40444 (fmin): Likewise.
40445 (rint): Likewise.
40446 (rintf): Likewise.
40447 (ceil): Likewise.
40448 (ceilf): Likewise.
40449 (floor): Likewise.
40450 (floorf): Likewise.
40451 (nearbyint): Likewise.
40452 (nearbyintf): Likewise.
40453
d7b4fb26
TS
404542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40455
40456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40457 non-default versions.
40458
eb55f5c2
RM
404592012-06-11 Roland McGrath <roland@hack.frob.com>
40460
40461 [BZ #14218]
40462 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40463
366af02c
TS
404642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40465
99ff6e5c
TS
40466 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40467 (FE_UPWARD, FE_DOWNWARD): Don't define.
40468 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40470
366af02c
TS
40471 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40472 reading it.
40473 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40474 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40475
793ea851
KK
404762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40477
40478 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40480 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40481 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40482
a728a38f
L
404832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40484
40485 [BZ #14117]
c08010c7
L
40486 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40487 * sysdeps/i386/fpu/Implies: New file.
40488 * sysdeps/x86_64/fpu/Implies: Likewise.
40489 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40490 * sysdeps/x86/fpu/bits/fenv.h: This.
40491
a728a38f
L
40492 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40493 __SSE_MATH__.
40494
6e230d11
SP
404952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40496
40497 [BZ #14134]
40498 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40499 character 0xffff that matches the last element of the
40500 conversion table.
40501
1b671feb
AZ
405022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40503
40504 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40505 fmodl commit.
40506
6043738b
AZ
405072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40508
40509 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40510 values higher than 25.6283.
40511
34ae0b32
AZ
405122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40513
40514 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40515 subnormal exponent extraction and add some __builtin_expect.
40516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40517 Fix for subnormal mantissa calculation.
40518
1214ec8f
MF
405192012-06-04 Mike Frysinger <vapier@gentoo.org>
40520
40521 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40522 cpu2 is -1 and errno is not ENOSYS.
40523
f3d1f93c
L
405242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40525
40526 [BZ #14117]
0e4a3cd7
L
40527 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40528 * sysdeps/x86/bits/string.h: This.
40529 * sysdeps/x86_64/bits/string.h: Removed.
40530
6704c645
L
40531 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40532 if not compiling for x86-64, but compiling for >= i486.
40533
48495318
L
40534 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40535 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40536
14adcbfc
L
40537 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40538 New macro from Linux kernel 3.4.0.
40539 (FP_XSTATE_MAGIC2): Likewise.
40540 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40541 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40542 (struct _fpx_sw_bytes): New struct.
40543 (struct _xsave_hdr): Likewise.
40544 (struct _ymmh_state): Likewise.
40545 (struct _xstate): Likewise.
40546
68e408ab
L
40547 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40548 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40550 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40552 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40553
f3d1f93c
L
40554 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40556 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40557 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40558 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40559 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40560
d9dc34cd
TMQMF
405612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40562
40563 [BZ #13743]
40564 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40565 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40566 (sysdep_headers): Include sys/platform/ppc.h.
40567 * sysdeps/powerpc/test-gettimebase.c: Test for
40568 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40569 * manual/Makefile (appendices): Include platform.texi.
40570 * manual/contrib.texi (Contributors): Update @node pointers.
40571 * manual/maint.texi (Maintenance): Likewise.
40572 (Platform): New node.
40573 * manual/platform.texi: New file. Document the new features.
40574
4af3879c
SP
405752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40576 Jakub Jelinek <jakub@redhat.com>
40577
40578 [BZ #14188]
40579 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40580 where __builtin_expect is unavailable.
40581
2fd6ff13
DM
405822012-06-03 David S. Miller <davem@davemloft.net>
40583
40584 * stdlib/longlong.h: Updated from GCC.
40585
173f7220
AS
405862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40587
40588 [BZ #14042]
40589 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40590 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40591 __mcount_internal.
40592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40593 (GLIBC_2.16): Likewise.
40594
f34a1c6f
L
405952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40596
40597 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40598
88a4576f
JM
405992012-06-01 Joseph Myers <joseph@codesourcery.com>
40600
ea32bcdd
JM
40601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40602 (default-abi): New variable.
40603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40604 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40605 variable.
40606 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40607 Likewise.
40608 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40609 Likewise.
40610 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40611 Likewise.
40612
88a4576f
JM
40613 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40614 definition. Document in comment.
40615
402fe938
DM
406162012-06-01 David S. Miller <davem@davemloft.net>
40617
40618 * stdlib/longlong.h: Updated from GCC.
40619
3553723f
L
406202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40621
40622 [BZ #14117]
3bd872c4
L
40623 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40624 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40625 sys/debugreg.h sys/io.h here.
40626 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40627 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40628 sys/io.h.
40629 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40630 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40631 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40632 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40633 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40634 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40635
3553723f
L
40636 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40637 Define only if __x86_64__ is defined.
40638
4842e4fe
JM
406392012-06-01 Joseph Myers <joseph@codesourcery.com>
40640
c5bfe3d5
JM
40641 [BZ #14048]
40642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40643 Use int64_t for variable i.
40644 * math/libm-test.inc (fmod_test): Add more tests.
40645
4842e4fe
JM
40646 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40647 z computation is not scheduled after fetestexcept.
40648 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40649 Use math_force_eval instead of asm to ensure calculation scheduled
40650 before exception test.
40651 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40652 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40653
efb73488
AJ
406542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40655
40656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40657 computation is not scheduled after fetestexcept.
40658
29bcce7c
L
406592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40660
40661 [BZ #14117]
40662 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40663 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40664
73a68f94
AZ
406652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40666
40667 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40668 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40669
67b6df78
L
406702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40671
edf2933a 40672 [BZ #14117]
ebc64a18
L
40673 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40674 <bits/wordsize.h>.
40675 (__WCHAR_MIN): Support __WORDSIZE == 64.
40676 (__WCHAR_MAX): Likewise.
40677
edf2933a
L
40678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40679 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40680
57c6cf40
L
40681 [BZ #14183]
40682 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40683 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40684
67b6df78 40685 [BZ #14117]
8eb6281e
L
40686 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40687 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40688
aac639f4
L
40689 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40690 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40691
67b6df78
L
40692 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40693 Defined to 1 if __x86_64__ isn't defined.
40694 (_STAT_VER_LINUX_OLD): New.
40695 (st_atime): Remove duplicate.
40696 (st_mtime): Likewise.
40697 (st_ctime): Likewise.
40698
1c2cfe81
DM
406992012-05-31 David S. Miller <davem@davemloft.net>
40700
40701 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40702 entries.
40703
5be8418c
AS
407042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40705
e7725326
AS
40706 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40707 gen-libm-test.pl.
40708
5be8418c
AS
40709 [BZ #14132]
40710 * elf/dl-reloc.c: Include <_itoa.h>.
40711 (_dl_reloc_bad_type): Remove use of INTUSE.
40712 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40713 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40714 * stdio-common/psiginfo.c (psiginfo): Likewise.
40715 * stdio-common/psignal.c (psignal): Likewise.
40716 * string/strsignal.c (strsignal): Likewise.
40717 * include/signal.h (_sys_siglist): Declare hidden proto.
40718 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40719 INTVARDEF with libc_hidden_data_def.
40720 * stdio-common/itoa-udigits.c: Likewise.
40721 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40722 (_itoa_lower_digits_internal): Remove declaration.
40723 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40724 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40725 (_sys_sigabbrev_internal): Remove aliases.
40726 (_sys_siglist): Define hidden alias.
40727
507352f1
MT
407282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40729
40730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40731 bits/sysctl.h.
40732
42bbb1c3
L
407332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40734
40735 [BZ #14117]
6bd784b6
L
40736 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40737 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40738
8bca20f0
L
40739 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40740 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40741 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40742 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40744 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40745
f9e890a9
L
40746 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40747 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40749
471101a1
L
40750 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40751 with __addr.
40752 (insw): Likewise.
40753 (insl): Likewise.
40754 (outsb): Likewise.
40755 (outsw): Likewise.
40756 (outsl): Likewise.
40757
6451c862
L
40758 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40759 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40760 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40761
a254b8c9
L
40762 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40763 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40764 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40765 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40766 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40767 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40768
b8dfdd92
L
40769 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40770 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40771
578cd270
L
40772 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40773 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40774
de662f5f
L
40775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40777 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40778
25653439
L
40779 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40780 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40781 to ...
40782 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40783
6bad24a0
L
40784 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40785 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40786 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40787
42bbb1c3
L
40788 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40789 for x86-64.
40790 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40791
2d10d547
JM
407922012-05-31 Joseph Myers <joseph@codesourcery.com>
40793
40794 * math/math.h (M_El): Use two more decimal places.
40795 (M_LOG2El): Likewise.
40796 (M_LOG10El): Likewise.
40797 (M_LN2l): Likewise.
40798 (M_LN10l): Likewise.
40799 (M_PIl): Likewise.
40800 (M_PI_2l): Likewise.
40801 (M_PI_4l): Likewise.
40802 (M_1_PIl): Likewise.
40803 (M_2_PIl): Likewise.
40804 (M_2_SQRTPIl): Likewise.
40805 (M_SQRT2l): Likewise.
40806 (M_SQRT1_2l): Likewise.
40807
f230c29b
DM
408082012-05-31 David S. Miller <davem@davemloft.net>
40809
40810 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40811 values between float registers.
40812 * sysdeps/sparc/sparc64/memset.S: Likewise.
40813 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40814
fed806c3
MF
408152012-05-31 Mike Frysinger <vapier@gentoo.org>
40816
40817 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40818 -D_FORTIFY_SOURCE=1.
40819 (CPPFLAGS-tst-longjmp_chk.c): Define.
40820 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40821 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40822 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40823 CFLAGS-tst-wchar-h.c.
40824
30917259
MP
408252012-05-31 Marek Polacek <polacek@redhat.com>
40826
40827 [BZ #14132]
40828 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40829 __endmntent_internal): Remove declaration.
40830 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40831 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40832 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40833
1c58d5dc
DM
408342012-05-30 David S. Miller <davem@davemloft.net>
40835
40836 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40837 (___Q_simulate_exceptions): Use real FP ops rather than writing
40838 into the %fsr.
40839 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40840 Likewise.
40841
7dc00e0d
L
408422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40843
40844 [BZ #14117]
0bd53985
L
40845 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40846 * sysdeps/x86/bits/xtitypes.h: This.
40847
3a257e66
L
40848 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40849 * sysdeps/x86/bits/wordsize.h: This.
40850
62f62904
L
40851 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40852 * sysdeps/x86/bits/huge_vall.h: This.
40853
404fe9d9
L
40854 * sysdeps/i386/bits/select.h: Removed.
40855 * sysdeps/x86_64/bits/select.h: Renamed to ...
40856 * sysdeps/x86/bits/select.h: This.
40857
d48d0446
L
40858 * sysdeps/i386/bits/setjmp.h: Removed.
40859 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40860 * sysdeps/x86/bits/setjmp.h: This.
40861
7dc00e0d
L
40862 * sysdeps/i386/bits/mathdef.h: Removed.
40863 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40864 * sysdeps/x86/bits/mathdef.h: This.
40865
03277f8f
AS
408662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40867
40868 [BZ #14132]
40869 * include/sys/socket.h (__connect_internal)
40870 (__libc_sa_len_internal): Remove declaration.
40871 (__connect, __libc_sa_len): Declare hidden_proto.
40872 (SA_LEN): Remove use of INTUSE.
40873 * socket/connect.c: Add libc_hidden_def.
40874 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40875 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40876 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40877 alias.
40878 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40879 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40880 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40881 of adding _internal alias.
40882
13764867
L
408832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40884
40885 [BZ #14117]
6bd97696
L
40886 * sysdeps/i386/bits/link.h: Removed.
40887 * sysdeps/i386/bits/linkmap.h: Likewise.
40888 * sysdeps/x86_64/bits/link.h: Renamed to ...
40889 * sysdeps/x86/bits/link.h: This.
40890 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40891 * sysdeps/x86/bits/linkmap.h: This.
40892
f726f0bb
L
40893 * sysdeps/i386/bits/endian.h: Removed.
40894 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40895 * sysdeps/x86/bits/endian.h: This.
40896
13764867
L
40897 * sysdeps/i386/bits/byteswap.h: Removed.
40898 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40899 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40900 * sysdeps/x86/bits/byteswap.h: This.
40901 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40902 * sysdeps/x86/bits/byteswap-16.h: This.
40903 * sysdeps/i386/Implies: Add x86.
40904 * sysdeps/x86_64/Implies: Likewise.
40905
ae251b0b
DM
409062012-05-30 David S. Miller <davem@davemloft.net>
40907
40908 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40909 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40910 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40911 (FP_TRAPPING_EXCEPTIONS): Define.
40912 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40913 (FP_TRAPPING_EXCEPTIONS): Define.
40914 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40915 subnormals only when inexact has been signalled or underflow
40916 exceptions are enabled.
40917 (_FP_PACK_CANONICAL): Likewise.
40918
d5c90867
L
409192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40920
40921 [BZ #14183]
40922 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40923 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40924
63f1549e
RH
409252012-05-30 Richard Henderson <rth@twiddle.net>
40926
8d8f2279
RH
40927 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40928 with #ifndef NOT_IN_libc.
40929
63f1549e
RH
40930 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40931 marked to avoid plt entry.
40932
0ab0291b
L
409332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40934
40935 [BZ #14112]
40936 * Makeconfig (default-abi): New macro.
40937 (abi-includes): Likewise.
40938 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40939 $(abi-$(default-abi)-lib-soname) for soname if defined.
40940 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40941 abi-variants.
40942 * Makefile (installed-stubs): Likewise.
40943 * include/stubs-biarch.h: Removed.
40944 * scripts/lib-names.awk: Only handle one library at a time.
40945 * scripts/soversions.awk: Remove WORDSIZE support.
40946 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40947 entries.
40948 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40949 Removed.
40950 (syscall-list-default-condition): Likewise.
40951 (syscall-list-default-condition): Likewise.
40952 (syscall-list-includes): Likewise.
40953 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40954 syscall-list-* with abi-*. Handle undefined abi-variants.
40955 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40956 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40957 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40958 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40959 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40960 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40961 Removed.
40962 (syscall-list-32-options): Likewise.
40963 (syscall-list-32-condition): Likewise.
40964 (syscall-list-64-options): Likewise.
40965 (syscall-list-64-condition): Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40967 macro.
40968 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40969 Renamed to ...
40970 (abi-*): This.
40971 (abi-64-ld-soname): New macro.
40972 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40973 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40974 Renamed to ...
40975 (abi-*): This.
40976 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40977 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40978
4da0431d
JM
409792012-05-30 Joseph Myers <joseph@codesourcery.com>
40980
3a85279c
JM
40981 * sysdeps/unix/sysv/linux/kernel-features.h
40982 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40983 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40984 include <kernel-features.h>.
40985 [!__NR_ftruncate64]: Remove conditional code.
40986 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40987 [__NR_ftruncate64]: Make code unconditional.
40988 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40989 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40990 include <kernel-features.h>.
40991 [!__NR_ftruncate64]: Remove conditional code.
40992 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40993 [__NR_ftruncate64]: Make code unconditional.
40994 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40996 include <kernel-features.h>.
40997 [!__NR_ftruncate64]: Remove conditional code.
40998 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40999 [__NR_ftruncate64]: Make code unconditional.
41000 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41002 include <kernel-features.h>.
41003 [!__NR_ftruncate64]: Remove conditional code.
41004 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41005 [__NR_ftruncate64]: Make code unconditional.
41006 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41007
4da0431d
JM
41008 * configure.in (libc_cv_fpie): Weaken to a compile test using
41009 LIBC_TRY_CC_OPTION.
41010 * configure: Regenerated.
41011
11ef492c
AK
410122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41013
41014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41018 Refreshed.
41019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41025 Refreshed.
41026
d66ef399
DM
410272012-05-27 David S. Miller <davem@davemloft.net>
41028
41029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41030 (___Q_zero): New.
41031 (__Q_simulate_exceptions): Return void. Change to simulate
41032 exceptions by writing into the %fsr.
41033 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41034 (__Qp_handle_exceptions): Likewise.
41035 (numbers): Delete.
41036 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41037 __Qp_handle_exceptions.
41038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41039 __Qp_handle_exceptions.
41040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41041 as unused and give dummy FP_RND_NEAREST initializer.
41042 (FP_INHIBIT_RESULTS): Define.
41043 (___Q_simulate_exceptions): Update declaration.
41044 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41045 formatting.
41046 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41047 as unused and give dummy FP_RND_NEAREST initializer.
41048 (__Qp_handle_exceptions): Update declaration.
41049 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41050 formatting.
41051
04fb54b5
TS
410522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41053
41054 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41055 the temporary FPU control word.
41056 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41057 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41058 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41059 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41061 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41062 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41063 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41064 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41065 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41067
3f99608f
KK
410682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41069
41070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41071 fields.
41072
65a4de4e
CLT
410732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41074
41075 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41076 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41077 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41078 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41079 Likewise.
41080 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41081 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41082 Likewise.
41083
15749d40
UD
410842012-05-27 Ulrich Drepper <drepper@gmail.com>
41085
41086 * po/h.po: Update from translation team.
41087
25dbcb27
AS
410882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41089
3d3f8e55
AS
41090 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41091
25dbcb27
AS
41092 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41093 handling of denormals.
41094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41095 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41096 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41097 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41101 Likewise.
41102
7ad47a80 411032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41104
41105 [BZ #14152]
41106 * math/libm-test.inc (fma_test): Don't always expect underflow
41107 exception.
41108
9c6ea9fa
SP
411092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41110
41111 [BZ #12416]
41112 * elf/tst-execstack.c: Include stackinfo.h.
41113 (do_test): Adjust test case to ensure that pthread_getattr_np
41114 behaviour remains the same after marking stack executable.
41115
a8239222
JM
411162012-05-25 Joseph Myers <joseph@codesourcery.com>
41117
41118 * sysdeps/unix/sysv/linux/kernel-features.h
41119 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41120 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41121 kernel-features.h.
41122 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41123 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41125 kernel-features.h.
41126 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41127 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41128
918b5606
L
411292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41130
41131 * configure.in: Define the default includes to being none.
41132 * configure: Regenerated.
41133
3a097cc7
RM
411342012-05-25 Roland McGrath <roland@hack.frob.com>
41135
8422c9a5
RM
41136 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41137 * sysdeps/x86_64/setjmp.S: Likewise.
41138 * sysdeps/i386/bsd-setjmp.S: Likewise.
41139 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41140 * sysdeps/i386/setjmp.S: Likewise.
41141 * sysdeps/i386/__longjmp.S: Likewise.
41142 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41143 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41144
3a097cc7
RM
41145 * include/stap-probe.h: New file.
41146 * configure.in: Handle --enable-systemtap.
41147 * configure: Regenerated.
41148 * config.h.in (USE_STAP_PROBE): New #undef.
41149 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41150 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41151 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41152
21708942
JM
411532012-05-25 Joseph Myers <joseph@codesourcery.com>
41154
41155 [BZ #13717]
41156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41157 to 2.4.0 where earlier.
41158 * sysdeps/unix/sysv/linux/configure: Regenerated.
41159 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41160 <kernel-features.h>.
41161 [__ASSUME_32BITUIDS]: Make code unconditional.
41162 [!__ASSUME_32BITUIDS]: Remove conditional code.
41163 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41164 <kernel-features.h>.
41165 [__ASSUME_32BITUIDS]: Make code unconditional.
41166 [!__ASSUME_32BITUIDS]: Remove conditional code.
41167 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41168 [__ASSUME_32BITUIDS]: Make code unconditional.
41169 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41170 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41171 <kernel-features.h>.
41172 [__ASSUME_32BITUIDS]: Make code unconditional.
41173 [!__ASSUME_32BITUIDS]: Remove conditional code.
41174 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41175 <kernel-features.h>.
41176 [__ASSUME_32BITUIDS]: Make code unconditional.
41177 [!__ASSUME_32BITUIDS]: Remove conditional code.
41178 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41179 <kernel-features.h>.
41180 [__ASSUME_32BITUIDS]: Make code unconditional.
41181 [!__ASSUME_32BITUIDS]: Remove conditional code.
41182 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41183 <kernel-features.h>.
41184 [__ASSUME_32BITUIDS]: Make code unconditional.
41185 [!__ASSUME_32BITUIDS]: Remove conditional code.
41186 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41187 <kernel-features.h>.
41188 [__ASSUME_32BITUIDS]: Make code unconditional.
41189 [!__ASSUME_32BITUIDS]: Remove conditional code.
41190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41191 <kernel-features.h>.
41192 [__ASSUME_32BITUIDS]: Make code unconditional.
41193 [!__ASSUME_32BITUIDS]: Remove conditional code.
41194 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41195 <kernel-features.h>.
41196 [__ASSUME_32BITUIDS]: Make code unconditional.
41197 [!__ASSUME_32BITUIDS]: Remove conditional code.
41198 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41199 <kernel-features.h>.
41200 [__ASSUME_32BITUIDS]: Make code unconditional.
41201 [!__ASSUME_32BITUIDS]: Remove conditional code.
41202 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41203 <kernel-features.h>.
41204 [__ASSUME_32BITUIDS]: Make code unconditional.
41205 [!__ASSUME_32BITUIDS]: Remove conditional code.
41206 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41207 <kernel-features.h>.
41208 [__ASSUME_32BITUIDS]: Make code unconditional.
41209 [!__ASSUME_32BITUIDS]: Remove conditional code.
41210 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41211 <kernel-features.h>.
41212 [__NR_setresgid] (__setresgid): Do not declare.
41213 [__ASSUME_32BITUIDS]: Make code unconditional.
41214 [!__ASSUME_32BITUIDS]: Remove conditional code.
41215 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41216 <kernel-features.h>.
41217 [__NR_setresuid] (__setresuid): Do not declare.
41218 [__ASSUME_32BITUIDS]: Make code unconditional.
41219 [!__ASSUME_32BITUIDS]: Remove conditional code.
41220 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41221 <kernel-features.h>.
41222 [__ASSUME_32BITUIDS]: Make code unconditional.
41223 [!__ASSUME_32BITUIDS]: Remove conditional code.
41224 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41225 <kernel-features.h>.
41226 [__ASSUME_32BITUIDS]: Make code unconditional.
41227 [!__ASSUME_32BITUIDS]: Remove conditional code.
41228 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41229 <kernel-features.h>.
41230 [__ASSUME_32BITUIDS]: Make code unconditional.
41231 [!__ASSUME_32BITUIDS]: Remove conditional code.
41232 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41233 <kernel-features.h>.
41234 [__ASSUME_32BITUIDS]: Make code unconditional.
41235 [!__ASSUME_32BITUIDS]: Remove conditional code.
41236 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41237 <kernel-features.h>.
41238 [__ASSUME_32BITUIDS]: Make code unconditional.
41239 [!__ASSUME_32BITUIDS]: Remove conditional code.
41240 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41241 <kernel-features.h>.
41242 [__ASSUME_32BITUIDS]: Make code unconditional.
41243 [!__ASSUME_32BITUIDS]: Remove conditional code.
41244 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41245 <kernel-features.h>.
41246 [__ASSUME_32BITUIDS]: Make code unconditional.
41247 [!__ASSUME_32BITUIDS]: Remove conditional code.
41248 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41249 <kernel-features.h>.
41250 [__ASSUME_32BITUIDS]: Make code unconditional.
41251 [!__ASSUME_32BITUIDS]: Remove conditional code.
41252 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41253 <kernel-features.h>.
41254 [__ASSUME_32BITUIDS]: Make code unconditional.
41255 [!__ASSUME_32BITUIDS]: Remove conditional code.
41256 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41257 <kernel-features.h>.
41258 [__ASSUME_32BITUIDS]: Make code unconditional.
41259 [!__ASSUME_32BITUIDS]: Remove conditional code.
41260 * sysdeps/unix/sysv/linux/kernel-features.h
41261 (__ASSUME_SETRESUID_SYSCALL): Remove.
41262 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41263 (__ASSUME_32BITUIDS): Likewise.
41264 (__ASSUME_LDT_WORKS): Likewise.
41265 (__ASSUME_O_DIRECTORY): Likewise.
41266 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41267 architecture but not kernel version.
41268 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41269 (__ASSUME_MMAP2_SYSCALL): Likewise.
41270 (__ASSUME_STAT64_SYSCALL): Likewise.
41271 (__ASSUME_IPC64): Likewise.
41272 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41273 <kernel-features.h>.
41274 [__ASSUME_32BITUIDS]: Make code unconditional.
41275 [!__ASSUME_32BITUIDS]: Remove conditional code.
41276 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41277 <kernel-features.h>.
41278 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41279 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41280 132096]: Remove conditional code.
41281 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41282 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41283 <kernel-features.h>.
41284 [__ASSUME_32BITUIDS]: Make code unconditional.
41285 [!__ASSUME_32BITUIDS]: Remove conditional code.
41286 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41287 <kernel-features.h>.
41288 [__ASSUME_32BITUIDS]: Make code unconditional.
41289 [!__ASSUME_32BITUIDS]: Remove conditional code.
41290 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41291 <kernel-features.h>.
41292 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41293 unconditional.
41294 (__setresgid): Do not declare.
41295 [__ASSUME_32BITUIDS]: Make code unconditional.
41296 [!__ASSUME_32BITUIDS]: Remove conditional code.
41297 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41298 <kernel-features.h>.
41299 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41300 unconditional.
41301 (__setresuid): Do not declare.
41302 [__ASSUME_32BITUIDS]: Make code unconditional.
41303 [!__ASSUME_32BITUIDS]: Remove conditional code.
41304 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41305 <kernel-features.h>.
41306 [__ASSUME_32BITUIDS]: Make code unconditional.
41307 [!__ASSUME_32BITUIDS]: Remove conditional code.
41308 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41309 <kernel-features.h>.
41310 [__ASSUME_32BITUIDS]: Make code unconditional.
41311 [!__ASSUME_32BITUIDS]: Remove conditional code.
41312
a386f1cc
RH
413132012-05-25 Richard Henderson <rth@twiddle.net>
41314
41315 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41316 dl_hwcap to ifunc resolver.
41317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41318 elf_ifunc_invoke.
41319 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41320 dl_hwcap to ifunc resolver.
41321 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41322
b6550497
JM
413232012-05-24 Joseph Myers <joseph@codesourcery.com>
41324
41325 [BZ #14153]
41326 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41327 for |x| <= 2**-26, not 2**-57.
41328 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41329 exception.
41330
b0bc23a1
JL
413312012-05-24 Jeff Law <law@redhat.com>
41332
41333 * stdio-common/Makefile (tests): Add bug25.
41334 * stdio-common/bug25.c: New test.
41335
347c92e9
L
413362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41337
41338 [BZ #13576]
41339 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41340 multiple of MALLOC_ALIGNMENT in size.
41341 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41342
6bcc8b3f
JM
413432012-05-24 Joseph Myers <joseph@codesourcery.com>
41344
41345 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41346 Require >= 256.
41347 (FILENAME_MAX): Use macro-int-constant.
41348 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41349 (_IOFBF): Use macro-int-constant.
41350 (_IOLBF): Likewise.
41351 (_IONBF): Likewise.
41352 (SEEK_CUR): Likewise.
41353 (SEEK_END): Likewise.
41354 (SEEK_SET): Likewise.
41355 (TMP_MAX): Likewise.
41356 (EOF): Use macro-int-constant. Require < 0.
41357 (NULL): Use macro-constant. Require == 0.
41358 (stdin): Require type to be FILE *.
41359 (stdout): Likewise.
41360 (stderr): Likewise.
41361 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41362 macro-int-constant.
41363 (EXIT_SUCCESS): Likewise.
41364 (NULL): Use macro-constant. Require == 0.
41365 (RAND_MAX): Use macro-int-constant.
41366 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41367 [C99-based standards] (strtof): Require function.
41368 [C99-based standards] (strtold): Likewise.
41369 [C99-based standards] (strtoll): Likewise.
41370 [C99-based standards] (strtoull): Likewise.
41371 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41372 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41373 [ISO || ISO99 || ISO11] (math.h): Likewise.
41374 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41375 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41377
d18ea0c5
AS
413782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41379
41380 [BZ #14132]
56d25bb8
AS
41381 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41382 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41383 * intl/dgettext.c (DCGETTEXT): Likewise.
41384 * intl/gettext.c (DCGETTEXT): Likewise.
41385 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41386 * posix/regex_internal.h (gettext): Likewise.
41387 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41388 Remove declaration.
41389 * include/argz.h (__argz_count_internal)
41390 (__argz_stringify_internal): Remove declaration.
41391 (__argz_count, __argz_stringify): Declare hidden proto.
41392 * intl/dcgettext.c: Remove use of INTDEF.
41393 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41394 * string/argz-stringify.c: Likewise.
41395 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41396 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41397 Declare hidden proto.
d18ea0c5
AS
41398 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41399 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41400 Declare hidden proto.
41401 * include/stdio.h (__asprintf_internal): Don't declare.
41402 (__asprintf): Don't define as macro. Declare hidden proto.
41403 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41404 (__fsetlocking): Declare hidden proto.
41405 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41406 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41407 hidden proto.
41408 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41409 (_IO_setlinebuf): Remove use of INTUSE.
41410 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41411 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41412 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41413 Remove declaration.
41414 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41415 (_IO_do_flush): Remove use of INTUSE.
41416 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41417 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41418 (_IO_adjust_column, _IO_least_wmarker)
41419 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41420 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41421 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41422 (_IO_default_doallocate, _IO_wdefault_doallocate)
41423 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41424 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41425 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41426 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41427 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41428 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41429 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41430 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41431 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41432 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41433 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41434 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41435 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41436 proto.
41437 (_IO_flush_all_internal, _IO_adjust_column_internal)
41438 (_IO_default_uflow_internal, _IO_default_finish_internal)
41439 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41440 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41441 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41442 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41443 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41444 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41445 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41446 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41447 (_IO_file_close_internal, _IO_file_close_it_internal)
41448 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41449 (_IO_file_init_internal, _IO_file_attach_internal)
41450 (_IO_file_fopen_internal, _IO_file_read_internal)
41451 (_IO_file_sync_internal, _IO_file_seek_internal)
41452 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41453 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41454 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41455 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41456 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41457 (_IO_list_all_internal, _IO_link_in_internal)
41458 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41459 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41460 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41461 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41462 (_IO_do_write_internal, _IO_padn_internal)
41463 (_IO_getline_info_internal, _IO_getline_internal)
41464 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41465 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41466 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41467 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41468 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41469 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41470 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41471 with libc_hidden_ver, remove use of INTUSE.
41472 * libio/genops.c: Likewise.
41473 * libio/freopen.c: Likewise.
41474 * libio/freopen64.c: Likewise.
41475 * libio/iofclose.c: Likewise.
41476 * libio/iofdopen.c: Likewise.
41477 * libio/iofflush.c: Likewise.
41478 * libio/iofflush_u.c: Likewise.
41479 * libio/iofgets.c: Likewise.
41480 * libio/iofgets_u.c: Likewise.
41481 * libio/iofopen.c: Likewise.
41482 * libio/iofopncook.c: Likewise.
41483 * libio/iofread.c: Likewise.
41484 * libio/iofread_u.c: Likewise.
41485 * libio/ioftell.c: Likewise.
41486 * libio/iofwrite.c: Likewise.
41487 * libio/iogetline.c: Likewise.
41488 * libio/iogets.c: Likewise.
41489 * libio/iogetwline.c: Likewise.
41490 * libio/iopadn.c: Likewise.
41491 * libio/iopopen.c: Likewise.
41492 * libio/ioseekoff.c: Likewise.
41493 * libio/ioseekpos.c: Likewise.
41494 * libio/iosetbuffer.c: Likewise.
41495 * libio/iosetvbuf.c: Likewise.
41496 * libio/ioungetc.c: Likewise.
41497 * libio/ioungetwc.c: Likewise.
41498 * libio/iovdprintf.c: Likewise.
41499 * libio/iovsprintf.c: Likewise.
41500 * libio/iovsscanf.c: Likewise.
41501 * libio/memstream.c: Likewise.
41502 * libio/obprintf.c: Likewise.
41503 * libio/oldfileops.c: Likewise.
41504 * libio/oldiofclose.c: Likewise.
41505 * libio/oldiofdopen.c: Likewise.
41506 * libio/oldiofopen.c: Likewise.
41507 * libio/oldiopopen.c: Likewise.
41508 * libio/oldstdfiles.c: Likewise.
41509 * libio/putc.c: Likewise.
41510 * libio/setbuf.c: Likewise.
41511 * libio/setlinebuf.c: Likewise.
41512 * libio/stdfiles.c: Likewise.
41513 * libio/strops.c: Likewise.
41514 * libio/vasprintf.c: Likewise.
41515 * libio/vscanf.c: Likewise.
41516 * libio/vsnprintf.c: Likewise.
41517 * libio/vswprintf.c: Likewise.
41518 * libio/wfiledoalloc.c: Likewise.
41519 * libio/wfileops.c: Likewise.
41520 * libio/wgenops.c: Likewise.
41521 * libio/wmemstream.c: Likewise.
41522 * libio/wstrops.c: Likewise.
41523 * libio/__fpurge.c: Likewise.
41524 * libio/__fsetlocking.c: Likewise.
41525 * assert/assert.c: Likewise.
41526 * debug/fgets_chk.c: Likewise.
41527 * debug/fgets_u_chk.c: Likewise.
41528 * debug/fread_chk.c: Likewise.
41529 * debug/fread_u_chk.c: Likewise.
41530 * debug/gets_chk.c: Likewise.
41531 * debug/obprintf_chk.c: Likewise.
41532 * debug/vasprintf_chk.c: Likewise.
41533 * debug/vdprintf_chk.c: Likewise.
41534 * debug/vsnprintf_chk.c: Likewise.
41535 * debug/vsprintf_chk.c: Likewise.
41536 * malloc/mtrace.c: Likewise.
41537 * misc/error.c: Likewise.
41538 * misc/syslog.c: Likewise.
41539 * stdio-common/asprintf.c: Likewise.
41540 * stdio-common/fxprintf.c: Likewise.
41541 * stdio-common/getw.c: Likewise.
41542 * stdio-common/isoc99_fscanf.c: Likewise.
41543 * stdio-common/isoc99_scanf.c: Likewise.
41544 * stdio-common/isoc99_vfscanf.c: Likewise.
41545 * stdio-common/isoc99_vscanf.c: Likewise.
41546 * stdio-common/isoc99_vsscanf.c: Likewise.
41547 * stdio-common/printf-prs.c: Likewise.
41548 * stdio-common/printf_fp.c: Likewise.
41549 * stdio-common/printf_fphex.c: Likewise.
41550 * stdio-common/printf_size.c: Likewise.
41551 * stdio-common/putw.c: Likewise.
41552 * stdio-common/scanf.c: Likewise.
41553 * stdio-common/sprintf.c: Likewise.
41554 * stdio-common/tmpfile.c: Likewise.
41555 * stdio-common/vfprintf.c: Likewise.
41556 * stdio-common/vfscanf.c: Likewise.
41557 * stdlib/strfmon_l.c: Likewise.
41558 * sunrpc/openchild.c: Likewise.
41559 * sunrpc/xdr_stdio.c: Likewise.
41560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41561 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41562
d6c33fda
RM
415632012-05-24 Roland McGrath <roland@hack.frob.com>
41564
c1487492
RM
41565 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41566
41567 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41568 in the third column, to generate for the shared library an IFUNC
41569 that uses _dl_vdso_vsym.
41570 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41571 * Makeconfig (object-suffixes-noshared): New variable.
41572
41573 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41574 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41575 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41576 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41577
d6c33fda
RM
41578 [BZ #14132]
41579 * include/sys/time.h (__gettimeofday): Remove macro.
41580 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41581 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41582 Remove INTDEF.
41583 (__gettimeofday): Add libc_hidden_def.
41584 (gettimeofday): Add libc_hidden_weak.
41585 * sysdeps/mach/gettimeofday.c: Likewise.
41586 * sysdeps/posix/gettimeofday.c: Likewise.
41587 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41588 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41590 (__gettimeofday_internal): Remove strong_alias.
41591 (__gettimeofday): Add libc_hidden_def.
41592 (gettimeofday): Add libc_hidden_weak.
41593 * sysdeps/unix/syscalls.list (gettimeofday):
41594 Remove __gettimeofday_internal alias.
41595
b5a2bbe6
L
415962012-05-24 Daniel Jacobowitz <drow@false.org>
41597 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 [BZ #12495]
41600 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41601 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41602 (largebin_index_32_big): New.
41603 (largebin_index): Use it for 16-byte alignment.
41604 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41605 correction with front_misalign.
41606
cfba4fda
L
416072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41608
7f907421
L
41609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41611 Likewise.
41612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41613 Likewise.
41614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41615 Likewise.
41616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41617 Likewise.
41618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41619 Likewise.
41620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41621 Likewise.
41622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41623 Likewise.
41624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41625 Likewise.
41626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41627 Likewise.
41628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41629 Likewise.
41630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41631 Likewise.
41632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41633 Likewise.
41634
cfba4fda
L
41635 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41636 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41637
80bad0cc
JM
416382012-05-24 Joseph Myers <joseph@codesourcery.com>
41639
7a25eb06
JM
41640 [BZ #10846]
41641 [BZ #14036]
41642 * math/libm-test.inc (exp_test): Add test from bug 14036.
41643 (pow_test): Add test from bug 10846.
41644
795405f9
JM
41645 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41646 and other flags.
41647 (special_function): Do not include flags in test name.
41648 (parse_args): Likewise.
41649 * sysdeps/i386/fpu/libm-test-ulps: Update.
41650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41651 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41652 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41654
80bad0cc
JM
41655 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41656 exceptions.
41657 * math/libm-test.inc ("Philosophy"): Update comment about
41658 exception testing.
41659 (UNDERFLOW_EXCEPTION): New macro.
41660 (UNDERFLOW_EXCEPTION_OK): Likewise.
41661 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41662 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41663 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41664 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41665 (INVALID_EXCEPTION_OK): Update value.
41666 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41667 (OVERFLOW_EXCEPTION_OK): Likewise.
41668 (IGNORE_ZERO_INF_SIGN): Likewise.
41669 (test_exceptions): Handle underflow exceptions.
41670 (acos_test): Update for underflow exception expectations.
41671 (cexp_test): Likewise.
41672 (clog_test): Likewise.
41673 (clog10_test): Likewise.
41674 (csqrt_test): Likewise.
41675 (ctan_test): Likewise.
41676 (ctanh_test): Likewise.
41677 (exp_test): Likewise.
41678 (exp10_test): Likewise.
41679 (exp2_test): Likewise.
41680 (expm1_test): Likewise.
41681 (fma_test): Likewise.
41682 (j0_test): Likewise.
41683 (jn_test): Likewise.
41684 (nexttoward_test): Likewise.
41685 (pow_test): Likewise.
41686 (scalbn_test): Likewise.
41687 (scalbln_test): Likewise.
41688 (tan_test): Likewise.
41689 (y1_test): Likewise.
41690 * sysdeps/i386/fpu/libm-test-ulps: Update.
41691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41692
9e0e3d0b
DM
416932012-05-23 David S. Miller <davem@davemloft.net>
41694
41695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41696 (__libc_sigaction): Remove unused local variables.
41697
ccd0a08f
L
416982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41701
62bdf9a6
PE
417022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41703
f8591f80
PE
41704 mktime: avoid signed integer overflow
41705 * time/mktime.c (__mktime_internal): Do not mishandle the case
41706 where diff == INT_MIN.
41707
94c7d826
PE
41708 mktime: simplify computation of average
41709 * time/mktime.c (ranged_convert): Use new time_t_avg function
41710 instead of rolling our own (probably-slower) code.
41711
ce73d683
PE
41712 mktime: do not assume signed right shift propagates sign bit
41713 * time/mktime.c (isdst_differ): New static function.
41714 (__mktime_internal): No need to normalize tm_isdst now.
41715 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41716 tm_isdst values.
41717
72a22e59
PE
41718 mktime: merge another wrapv change from gnulib
41719 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41720 from some compilers.
41721
68605433
PE
41722 mktime: remove incorrect attempt at unusual arithmetics
41723 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41724 The code didn't really work on such machines anyway.
41725 (TYPE_MINIMUM): Assume two's complement.
41726 (twos_complement_arithmetic): Verify that long_int and time_t
41727 are two's complement (or unsigned, in the latter case).
41728
03cf7fe3
PE
41729 mktime: check signed shifts on long_int and time_t, too
41730 * time/mktime.c (SHR): Check that shifts work as desired
41731 on the types long_int and time_t too, as SHR is used on
41732 such types.
41733
f04dfbc2
PE
41734 mktime: do not assume 'long' is wide enough
41735 * time/mktime.c (verify): Move decl up.
41736 (long_int): New type.
41737 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41738 to remove assumption in the code that 'long' is wide enough to
41739 store year values. This assumption is not true on x32 and on
41740 some non-glibc platforms.
41741
62bdf9a6
PE
41742 mktime: merge wrapv change from gnulib
41743 * time/mktime.c (WRAPV): New macro.
41744 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41745 (guess_time_tm, __mktime_internal): Do not assume that signed
41746 integer overflow wraps around; modern compilers generate code
41747 where this assumption is no longer valid.
41748
5e292e4f
L
417492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41750
41751 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41752 Replace "jmp L(pseudo_end)" with "ret".
41753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41754 Likewise.
41755
8caf8c87
AJ
417562012-05-23 Andreas Jaeger <aj@suse.de>
41757
41758 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41759 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41760
1a09dc56
AJ
417612012-05-23 Andreas Jaeger <aj@suse.de>
41762 Maximilian Attems <max@stro.at>
41763
41764 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41765 New macros.
41766
1c87aba0
L
417672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41770 code so that pseudo_end is just ret and the stack pointer is
41771 correct also for static library in error case.
41772
40e45bd5
JM
417732012-05-23 Joseph Myers <joseph@codesourcery.com>
41774
c2670533
JM
41775 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41776 move to syscalls.list.
41777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41781
40e45bd5
JM
41782 * manual/install.texi (Running make install): Do not mention Linux
41783 kernel version for which pt_chown is not needed.
41784 (Linux): Do not mention problems with nscd with 2.0 kernels.
41785 * INSTALL: Regenerated.
41786
be08eda5
AJ
417872012-05-23 Andreas Jaeger <aj@suse.de>
41788
41789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41790 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41791 macro.
41792 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41794 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41796 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41797 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41798 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41799 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41800 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41801 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41802 * sysdeps/unix/sysv/linux/bits/in.h
41803 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41804
a6a056bb
RM
418052012-05-22 Roland McGrath <roland@hack.frob.com>
41806
41807 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41808 (PREPARE_VERSION): Just use assert instead, it will be elided
41809 under [NDEBUG] anyway.
41810
c9009328
L
418112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41812
41813 * sysdeps/unix/sysv/linux/Makefile: Include
41814 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41815 (sysdep_routines): Remove sysctl.
c9009328
L
41816 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41817 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41818 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41819 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41820 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41821
73338355
AJ
418222012-05-22 Andreas Jaeger <aj@suse.de>
41823
41824 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41825 that pseudo_end is just ret and the stack pointer is correct also
41826 for static library in error case.
41827
d44638b0
PP
418282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41829
41830 [BZ #14122]
41831 * nss/nsswitch.c (defconfig_entries): New variable.
41832 (__nss_database_lookup): Don't leak defconfig entries.
41833 (nss_parse_service_list): Don't leak on error paths.
41834 (free_database_entries): New function.
41835 (free_defconfig): New function.
41836 (free_mem): Move common code to free_database_entries.
41837
31a39bd8
L
418382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41839
da0331a8
L
41840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41841 Add arch_prctl.
41842 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41843
31a39bd8
L
41844 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41845 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41847 New macro.
41848 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41849 (INTERNAL_SYSCALL_TYPES): Likewise.
41850 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41851 (LOAD_REGS_TYPES_[1-6]): Likewise.
41852 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41853 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41854
45470df3
AZ
418552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41856
41857 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41858 copysignl for GLIBC_2_0.
41859 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41860 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41862 logbl for GLIBC_2_0.
41863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41864 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41865
98a61bcb
L
418662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41867
a4f6e481
L
41868 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41869 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41870
f63d5db6
L
41871 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41872 Use "neg %eax".
41873
98a61bcb
L
41874 * time/mktime.c: Update copyright years.
41875
95770f14
PE
418762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41877
6226efbd
PE
41878 mktime: merge comment-quoting-style change from gnulib
41879 * time/mktime.c: Quote 'like this' in comments.
41880 The GNU coding standards suggest that we no longer quote `like this',
41881 as "`" and "'" are typically rendered asymmetrically nowadays.
41882 The typical gnulib style is to quote 'like this' when quoting
41883 code, and "like this" when quoting English.
41884
b99e4f78
PE
41885 * time/mktime.c (compile-command): Add "-I.".
41886
643e01e6
PE
41887 mktime: merge mktime-internal.h change from gnulib
41888 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41889
2554247d
PE
41890 mktime: merge time_r change from gnulib
41891 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41892
826dd0ab
PE
41893 mktime: merge DEBUG change from gnulib
41894 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41895 case system <time.h> has a #define.
41896
bd83aabe
PE
41897 mktime: merge <sys/types.h> change from gnulib
41898 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41899 since <time.t> is now guaranteed to define time_t.
41900
95770f14
PE
41901 mktime: merge HAVE_CONFIG_H change from gnulib
41902 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41903
5e1a27a9
L
419042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41905
0e44a77e
L
41906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41907 Use "neg %eax".
41908
5e1a27a9
L
41909 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41910 __rlim_t cast.
41911 (struct rusage): Use anonymous union to pad each field to
41912 __syscall_slong_t.
41913
46259bec
DM
419142012-05-21 David S. Miller <davem@davemloft.net>
41915
41916 * Makefules (o-iterator): Remove .s cases.
41917 (compile-command.s): Delete.
41918 (COMPILE.s): Delete.
41919 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41920
59f0c22e
JM
419212012-05-21 Joseph Myers <joseph@codesourcery.com>
41922
41923 * configure.in (libc_cv_predef_stack_protector): Only consider
41924 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41925 * configure: Regenerated.
41926
20c07380
L
419272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41928
bbb3154b
L
41929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41930 New macro. Use R*LP on int and pointer.
41931 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41932 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41933 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41934 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41935
20c07380
L
41936 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41937 [__WORDSIZE_TIME64_COMPAT32] instead of
41938 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41939 (struct utmp): Likewise.
41940 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41941 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41942 Renamed to ...
41943 (__WORDSIZE_TIME64_COMPAT32): This.
41944 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41945 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41946 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41947 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41948 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41949 (__WORDSIZE_TIME64_COMPAT32): New macro.
41950
d8d1017e
AJ
419512012-05-21 Andreas Jaeger <aj@suse.de>
41952
41953 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41954 only if [SHARED]. Add prototype for __wcschr_ia32.
41955
6c7fb145
RM
419562012-05-21 Roland McGrath <roland@hack.frob.com>
41957
41958 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41959 of %rbp unmolested in the jmp_buf while mangling the low bits.
41960 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41961 unmolested high bits of %rbp while demangling the low bits.
41962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41963
66274218
AJ
419642012-05-21 Andreas Jaeger <aj@suse.de>
41965
07c58f8f
AJ
41966 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41967 * sunrpc/svc_simple.c: Use it for registerrpc.
41968 * sunrpc/xcrypt.c: Use it for passwd2des.
41969
66274218
AJ
41970 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41971
61f65140
L
419722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41973
41974 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41975 Don't define if [__SYSCALL_WORDSIZE != 32].
41976 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41977 New macro.
41978
5fefb436
AJ
419792012-05-21 Bruno Haible <bruno@clisp.org>
41980 Andreas Jaeger <aj@suse.de>
41981
41982 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41983 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41984 inptr and inend for must_buffer_ch.
41985 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41986 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41987 * stdio-common/Makefile (tests): Remove bug15.
41988 (bug15-ENV): Remove macro.
41989 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41990 anymore.
41991
d8e272ab
AJ
419922012-05-19 Andreas Jaeger <aj@suse.de>
41993 Roland McGrath <roland@hack.frob.com>
41994
41995 * manual/contrib.texi: Completely rewritten. It contains now an
41996 alphabetical list of contributors and their contributions.
41997
4a56a162
RH
419982012-05-21 Richard Henderson <rth@twiddle.net>
41999
42000 * misc/getauxval.c (__getauxval): Use unsigned long int.
42001 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42002 (getauxval): Use unsigned long int.
42003
d024d23c
L
420042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42005
42006 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42007
cbc00a03
RM
420082012-05-21 Roland McGrath <roland@hack.frob.com>
42009
42010 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42011 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42012 __alignof__ (long double).
42013
478143fa
AZ
420142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42015
42016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42017
c7683a6d
RH
420182012-05-20 Richard Henderson <rth@twiddle.net>
42019
42020 * misc/getauxval.c: New file.
42021 * misc/sys/auxv.h: New file.
42022 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42023 (routines): Add getauxval.
42024 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42025 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42026 * elf/dl-sysdep.c (_dl_auxv): Remove.
42027 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42028 * elf/dl-support.c (_dl_auxv): New variable.
42029 (_dl_aux_init): Initialize it.
42030 * manual/startup.texi (Auxiliary Vector): New node.
42031 * sysdeps/generic/bits/hwcap.h: New file.
42032 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42033 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42034 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42035 * sysdeps/sparc/sysdep.h: ... here. Include it.
42036 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42039 Update.
c7683a6d
RH
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42048
a6f1845d
AZ
420492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42050
42051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42052
cbcbe830
DM
420532012-05-19 David S. Miller <davem@davemloft.net>
42054
42055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42056
e0b16cc2
JM
420572012-05-19 Joseph Myers <joseph@codesourcery.com>
42058
42059 [BZ #14123]
42060 * math/s_ccosh.c: Include <float.h>
42061 (__ccosh): Avoid internal overflow calculating sinh and cosh
42062 values before multiplying by sin and cos values.
42063 * math/s_ccoshf.c: Likewise.
42064 * math/s_ccoshl.c: Likewise.
42065 * math/s_csin.c: Likewise.
42066 * math/s_csinf.c: Likewise.
42067 * math/s_csinl.c: Likewise.
42068 * math/s_csinh.c: Likewise.
42069 * math/s_csinhf.c: Likewise.
42070 * math/s_csinhl.c: Likewise.
42071 * math/libm-test.inc (ccos_test): Add more tests.
42072 (ccosh_test): Likewise.
42073 (csin_test): Likewise.
42074 (csinh_test): Likewise.
42075 * sysdeps/i386/fpu/libm-test-ulps: Update.
42076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42077
6ad13e08
L
420782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42079
f66f0ce8
L
42080 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42081 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42082
6ad13e08
L
42083 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42084
b1d072a7
JM
420852012-05-19 Joseph Myers <joseph@codesourcery.com>
42086
42087 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42088 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42089 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42090 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42091 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42092 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42093 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42094 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42095 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42096 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42097 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42098 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42099 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42100 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42101 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42102 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42103 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42104 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42105 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42106 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42107 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42108 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42109 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42110 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42111 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42112 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42113 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42114 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42115 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42116 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42117 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42118
9eae47cb
AJ
421192012-05-18 Andreas Jaeger <aj@suse.de>
42120
42121 * csu/.gitignore: Delete.
42122
bb07f69f
L
421232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42124
42125 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42126 (timex): Use __syscall_slong_t.
42127
e6bdb741
AJ
421282012-05-18 Andreas Jaeger <aj@suse.de>
42129 Carlos O'Donell <carlos_odonell@mentor.com>
42130
42131 * manual/install.texi (Configuring and compiling): Update
42132 description about files modified in the source directory.
d6c33fda 42133 * INSTALL: Regenerated.
e6bdb741 42134
1b74487e
L
421352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42138 value. Use "or" to set return value to -1.
42139 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42140 negate return value.
42141
a88b64b9
TMQMF
421422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42143
57f41c40
AS
42144 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42145 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42146 failure if the compiler has Graphite support disabled.
42147 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42148 Likewise.
57f41c40
AS
42149 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42150 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42151 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42152 Likewise.
42153
3707636e
L
421542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42155
610b8622
L
42156 * sysdeps/x86_64/x32/_itoa.h: New file.
42157
7cd195df
L
42158 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42159 getdents system call only if kernel and user dirents have the
42160 same d_ino and d_off.
42161
94b07d20
L
42162 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42163 LLONG_MAX != LONG_MAX.
42164 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42165 (_fitoa_word): Likewise.
42166
18298070
L
42167 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42168 years.
42169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42170 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42172
553c7ea4
L
42173 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42174 include <bits/wordsize.h>. Check __x86_64__ instead of
42175 __WORDSIZE.
42176 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42177 if __x86_64__ is defined. Use anonymous union on fpstate.
42178
3707636e
L
42179 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42180 anonymous union.
42181
b53ef01a
AS
421822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42183
37fb1dc0
AS
42184 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42185 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42187 Refer to _rtld_local_ro instead of _rtld_global_ro.
42188 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42189 Likewise.
42190 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42191 Likewise.
42192 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42193 Likewise.
42194 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42195 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42196 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42197
b53ef01a
AS
42198 * sysdeps/powerpc/powerpc32/dl-machine.c
42199 (__elf_machine_runtime_setup) [PROF]: Don't reference
42200 _dl_prof_resolve.
42201
7a185db2
AJ
422022012-05-18 Andreas Jaeger <aj@suse.de>
42203
42204 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42205 function only available for GCCs before 3.4 since GCC 3.4
42206 introduced a builtin.
42207 (lrint): Likewise.
42208 (llrintf): Likewise.
42209 (llrint): Likewise.
42210 (fmaxf): Likewise.
42211 (fmax): Likewise.
42212 (fminf): Likewise.
42213 (fmin): Likewise.
42214 (rint): Likewise.
42215 (rintf): Likewise.
42216 (nearbyint): Likewise.
42217 (nearbyintf): Likewise.
42218 (ceil): Likewise.
42219 (ceilf): Likewise.
42220 (floor): Likewise.
42221 (floorf): Likewise.
42222
3e5aef87
L
422232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42224
428bd707
L
42225 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42226 on both fields and cast pointer to __syscall_ulong_t.
42227
3e5aef87
L
42228 * bits/types.h (__fsword_t): New type.
42229 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42230 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42232 (__FSWORD_T_TYPE): Likewise.
42233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42234 (__FSWORD_T_TYPE): Likewise.
42235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42236 (__FSWORD_T_TYPE): Likewise.
42237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42238 (__FSWORD_T_TYPE): Likewise.
42239 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42240 __SWORD_TYPE with __fsword_t.
42241 (statfs64): Likewise.
42242
1ba7c3dc
DM
422432012-05-17 David S. Miller <davem@davemloft.net>
42244
42245 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42246
59910343
AJ
422472012-05-17 Andreas Jaeger <aj@suse.de>
42248
42249 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42250 warning.
42251
2e4c1e9e
L
422522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42253
42254 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42255
de7f5ce7
AJ
422562012-05-17 Andreas Jaeger <aj@suse.de>
42257
42258 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42259 when it is used.
42260
286abc3d
CM
422612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42262
42263 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42264
477cc68e
L
422652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42266
42267 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42268 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42269
1a0994f5
CD
422702012-05-17 Andreas Jaeger <aj@suse.de>
42271 Carlos O'Donell <carlos_odonell@mentor.com>
42272
42273 [BZ #14059]
42274 * sysdeps/x86_64/multiarch/init-arch.h
42275 (bit_YMM_Usable): Rename to...
42276 (bit_AVX_Usable): ... this.
42277 (bit_FMA4_Usable): New macro.
42278 (bit_XMM_state): New macro.
42279 (bit_YMM_state): New macro.
42280 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42281 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42282 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42283 (CPUID_OSXSAVE): New macro.
42284 (CPUID_AVX): New macro.
42285 (CPUID_FMA4): New macro.
42286 (index_YMM_Usable): Rename to...
42287 (index_AVX_Usable): ... this.
42288 (HAS_AVX): Use HAS_ARCH_FEATURE.
42289 (HAS_FMA4): Likewise.
42290 (HAS_YMM_USABLE): Remove.
42291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42292 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42293 are present.
42294 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42295 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42296 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42297 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42298 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42299
0af797de
CM
423002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42301
42302 * math/libm-test.c: Support platforms without multiple rounding modes.
42303 * math/bug-nextafter.c: Support platforms without FP exceptions.
42304 * math/bug-nexttoward.c: Likewise.
42305 * math/test-fenv.c: Likewise.
42306 * math/test-misc.c: Likewise.
42307 * stdlib/bug-getcontext.c: Likewise.
42308
e39745ff
AJ
423092012-05-17 Andreas Jaeger <aj@suse.de>
42310
42311 * manual/examples/search.c (critter_cmp): Change signature to
42312 avoid warnings.
42313 * manual/string.texi (Collation Functions): Likewise.
42314
48970aba
L
423152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42316
42317 * bits/types.h: Fold copyright years.
42318 * bits/typesizes.h: Likewise.
42319 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42322 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42323 * time/time.h: Likewise.
42324
bedee953
PP
423252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42326
42327 [BZ #208]
42328 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42329 in instead of returning them. Return void.
42330 (__libc_mallinfo): Accumulate over all arenas.
42331 (__malloc_stats): Adjust for change in int_mallinfo interface.
42332
61653dfb
RM
423332012-05-16 Roland McGrath <roland@hack.frob.com>
42334
30b99d79
RM
42335 [BZ #10375]
42336 * configure.in (NM): Add AC_CHECK_TOOL for it.
42337 (libc_extra_cflags): New substituted variable.
42338 Check for -fstack-protector being used implicitly.
42339 * configure: Regenerated.
42340 * config.make.in (config-extra-cflags): New variable,
42341 gets @libc_extra_cflags@.
42342 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42343
61653dfb
RM
42344 [BZ #10375]
42345 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42346 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42347 * configure: Regenerated.
42348 * config.make.in (CPPUNDEFS): New substituted variable.
42349 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42350 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42351 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42352
661768bb
L
423532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42354
42355 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42356 (mq_attr): Use __syscall_slong_t.
42357
d4261567
L
423582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42359
42360 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42361 Check __x86_64__ instead of __WORDSIZE.
42362 (_STAT_VER_LINUX): Likewise.
42363 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42364 __syscall_ulong_t and __syscall_slong_t.
42365 (stat64): Likewise.
42366
cf3ff365
L
423672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42368
42369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42370
76cf3e4d
L
423712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42372
42373 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42374
a637753a
L
423752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42376
42377 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42378 __syscall_ulong_t.
42379
d5e05119
L
42380 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42381 include <bits/wordsize.h>. Check __x86_64__ instead of
42382 __WORDSIZE.
42383 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42384 defined.
42385 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42386
f62ee380
L
42387 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42388 include <bits/wordsize.h>. Check __x86_64__ instead of
42389 __WORDSIZE.
42390 (user_regs_struct): Use "__extension__ unsigned long long"
42391 instead of "unsigned long" if __x86_64__ is defined.
42392 (user): Likewise. Pad after pointer field if __ILP32__ is
42393 defined.
42394
4e124ced
JM
423952012-05-16 Joseph Myers <joseph@codesourcery.com>
42396
6a3951a0
JM
42397 * configure.in (makeinfo): Require version 4.5 or later. Allow
42398 versions 5 to 9.
42399 * configure: Regenerated.
42400 * manual/install.texi (texinfo): Increase version requirement to
42401 4.5 or later.
42402 * INSTALL: Regenerated.
42403
4e124ced
JM
42404 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42405
953ca31a
L
424062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42407
42408 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42409
617aca05
L
42410 * sysdeps/x86_64/x32/ffs.c: New file.
42411
5762f7ae
L
42412 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42413 __syscall_ulong_t.
42414 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42415 defined. Use __syscall_ulong_t.
42416 (shminfo): Use __syscall_ulong_t.
42417 (shm_info): Likewise.
42418
a26b6856
L
42419 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42420 __syscall_ulong_t.
42421
cb2b9ef7
L
42422 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42423 <bits/wordsize.h>.
42424 (msgqnum_t): Use __syscall_ulong_t.
42425 (msglen_t): Likewise.
42426 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42427 __syscall_ulong_t.
42428
34683bb0
L
42429 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42430 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42431
84a68786
L
42432 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42433
48baa5f1
L
42434 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42435 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42436
180be88b
L
42437 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42438 __syscall_slong_t.
42439
5e90c8ad
L
42440 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42441 include <bits/wordsize.h>. Check __x86_64__ instead of
42442 __WORDSIZE.
42443
23dfb58b
L
42444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42445 "unsigned long long int" if __x86_64__ is defined.
42446 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42447
ce5d54b0
L
42448 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42450 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42451
13dc9eac
L
42452 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42453 <stdint.h>.
42454 (GET_PC): Cast to uintptr_t first.
42455 (GET_FRAME): Likewise.
42456 (GET_STACK): Likewise.
42457
a7895d15
L
42458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42461 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42463 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42464 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42465 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42466 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42468 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42471 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42472 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42474 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42484 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42486 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42487
656416c9
AS
424882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42489
5bd66283
AS
42490 * Makerules (+depfiles): Also collect depfiles from .oS in
42491 $(extra-objs).
42492 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42493 .oS, $(libnldbl-routines)).
42494
656416c9
AS
42495 * Makerules (native-compile-mkdep-flags): Define.
42496 * sunrpc/Makefile (extra-objs): Add $(addprefix
42497 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42498 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42499 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42500 calling $(make-target-directory).
42501
a46f2169
L
425022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42503
42504 * bits/types.h (__snseconds_t): Removed.
42505 * time/time.h (struct timespec): Replace __snseconds_t with
42506 __syscall_slong_t.
42507 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42508 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42509 Likewise.
42510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42511 (__SNSECONDS_T_TYPE): Likewise.
42512 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42513 (__SNSECONDS_T_TYPE): Likewise.
42514 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42515 (__SNSECONDS_T_TYPE): Likewise.
42516
6af6528b
L
425172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42518
42519 * sysdeps/mach/hurd/bits/typesizes.h
42520 (__SYSCALL_SLONG_TYPE): New macro.
42521 (__SYSCALL_ULONG_TYPE): Likewise.
42522
de986b56
L
425232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42524
42525 * bits/types.h (__syscall_slong_t): New type.
42526 (__syscall_ulong_t): Likewise.
42527
42528 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42529 (__SYSCALL_ULONG_TYPE): Likewise.
42530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42531 (__SYSCALL_SLONG_TYPE): Likewise.
42532 (__SYSCALL_ULONG_TYPE): Likewise.
42533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42534 (__SYSCALL_SLONG_TYPE): Likewise.
42535 (__SYSCALL_ULONG_TYPE): Likewise.
42536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42537 (__SYSCALL_SLONG_TYPE): Likewise.
42538 (__SYSCALL_ULONG_TYPE): Likewise.
42539
85736dc7
L
425402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42541
42542 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42543 Add sigaltstack-offsets.sym.
42544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42545 <sigaltstack-offsets.h>.
42546 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42547 longjmp_msg pointer.
42548 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42549 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42550 signal stack.
42551 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42552
cc03b296
JM
425532012-05-15 Joseph Myers <joseph@codesourcery.com>
42554
a9538892
JM
42555 * elf/stackguard-macros.h: Remove file.
42556 * sysdeps/generic/stackguard-macros.h: New file.
42557 * sysdeps/i386/stackguard-macros.h: Likewise.
42558 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42559 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42560 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42561 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42562 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42563 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42564 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42565 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42566 <elf/stackguard-macros.h>.
42567
cc03b296
JM
42568 [BZ #14109]
42569 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42570 __aligned__ in attribute.
42571 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42572 (gregset_t): Likewise.
42573
93171016
L
425742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42575
42576 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42577 * sysdeps/x86_64/64/Implies-after: Here. New file.
42578 * sysdeps/x86_64/x32/Implies-after: New file.
42579
d86813a0
L
425802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42581
42582 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42583 and access return value for _dl_profile_fixup. Use R10_LP to
42584 load frame size.
42585
2953ec75
L
425862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42587
42588 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42589
3b550e9e
L
425902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42591
42592 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42593 * sysdeps/x86_64/x32/sysdep.h: New file.
42594
eda41706
L
425952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42596
42597 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42598 * sysdeps/x86_64/setjmp.S: Likewise.
42599
9ea01d93
AZ
426002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42601
42602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42604 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42606 remove unused global constant.
42607
02a91938
CM
426082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42609
42610 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42611 include of <not-cancel.h>.
42612
6540185f
RM
426132012-05-15 Roland McGrath <roland@hack.frob.com>
42614
42615 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42616
509072a0
AJ
426172012-05-15 Jeff Law <law@redhat.com>
42618 Andreas Jaeger <aj@suse.de>
42619
42620 [BZ #13594]
42621 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42622 out from...
42623 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42624 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42625 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42626 code changing __hst_map_handle.map.
42627
ba75122d
RM
426282012-05-15 Roland McGrath <roland@hack.frob.com>
42629
42630 * configure.in (sysnames): Look for Implies-before and Implies-after
42631 files.
42632 * configure: Regenerated.
42633
890d8bd8
L
426342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42635
42636 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42637 8-byte data alignment with LP_SIZE alignment.
42638
f6ee6623
L
426392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42640
42641 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42642 into R10_LP.
42643
ea2626f6
L
426442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42645
42646 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42647
085f715e
L
426482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42649
42650 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42651 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42652 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42653 Likewise.
42654 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42655
be8498fc
L
426562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42657
42658 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42659 (stackinfo_sub_sp): Likewise.
42660
70bc83b9
L
426612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42662
42663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42664 RAX_LP.
42665
9bc0b730
L
426662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42667
42668 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42669 into R*_LP.
42670
6d2850e7
L
426712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42672
42673 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42674 sizes into R*_LP.
42675
3cb84561
L
426762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42677
42678 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42679
54e2ed81
L
426802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42683 into R11_LP and load __x86_64_shared_cache_size_half into
42684 R8_LP.
42685
8a17f349
L
426862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42687
42688 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42689 R8_LP.
42690
777b1eea
AZ
426912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42692
42693 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42694 logb for POWER7.
42695 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42696 logbf for POWER7.
42697 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42698 logbl for POWER7.
42699 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42700 powerpc32/power7/fpu/s_logb.c via #include.
42701 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42702 powerpc32/power7/fpu/s_logbf.c via #include.
42703 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42704 powerpc32/power7/fpu/s_logbl.c via #include.
42705
d20d4ac2
JM
427062012-05-15 Joseph Myers <joseph@codesourcery.com>
42707
42708 * README.libm: Remove file.
42709
6cdef1ab
L
427102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42711
42712 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42713 count for x32. Use R*_LP and omit operand-size suffix.
42714
0b254d8f
L
427152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42716
42717 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42718 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42719 * sysdeps/x86_64/x32/shlib-versions: New file.
42720
ceb809dc
RM
427212012-05-14 Roland McGrath <roland@hack.frob.com>
42722
42723 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42724 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42725 Use _dl_fatal_printf instead.
42726
37f1abd4
JM
427272012-05-14 Joseph Myers <joseph@codesourcery.com>
42728
42729 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42730 set if not set by the user. Do not allow for being unset.
42731 * sysdeps/unix/sysv/linux/configure: Regenerated.
42732
11de3a33
L
427332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42734
42735 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42736 the `q' suffix from lea and replace .quad with ASM_ADDR.
42737
e02f153a
L
427382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42739
42740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42741 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42742 instead of $17.
42743 (PTR_DEMANGLE): Likewise.
42744
520ae0fd
L
427452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42746
42747 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42748 (LP_OP): Likewise.
42749 (ASM_ADDR): Likewise.
42750 (RAX_LP): Likewise.
42751 (RBP_LP): Likewise.
42752 (RBX_LP): Likewise.
42753 (RCX_LP): Likewise.
42754 (RDI_LP): Likewise.
42755 (RSI_LP): Likewise.
42756 (RSP_LP): Likewise.
42757 (R8_LP): Likewise.
42758 (R9_LP): Likewise.
42759 (R10_LP): Likewise.
42760 (R10_LP): Likewise.
42761 (R11_LP): Likewise.
42762 (R12_LP): Likewise.
42763 (R13_LP): Likewise.
42764 (R14_LP): Likewise.
42765 (R15_LP): Likewise.
42766
b985be81
L
427672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42768
42769 * sysdeps/x86_64/x32/dl-machine.h: New file.
42770
6a4888ff
AJ
427712012-05-14 Andreas Jaeger <aj@suse.de>
42772
42773 * manual/Makefile (subdir): Remove export of subdir.
42774 (all): Remove target.
42775 (.PHONY): Remove all from list.
42776 (mkinstalldirs): Remove.
42777 (.PHONY): Remove installdirs from list.
42778 ($(inst_infodir)/libc.info): Use make-target-directory.
42779 (installdirs): Remove.
42780 (subdir_%): Remove.
42781 (glibc-targets): Remove.
42782 (lib): Remove.
42783 (stubs): Remove.
42784 ($(objpfx)stubs ../po/manual.pot): Remove.
42785 ($(objpfx)stamp%): Remove.
42786 (make-target-directory): Remove.
42787 (subdir_install): Remove.
42788 (routines): Remove.
42789 (aux): Remove.
42790 (sources): Remove.
42791 (objects): Remove.
42792 (headers): Remove.
42793
42794 [BZ #13750]
42795 * manual/.gitignore: Remove, it's not needed anymore.
42796 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42797 all files in it.
42798 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42799 directory.
42800 (texis): Renamed to $(objpfx)texis.
42801 (texis-path): New, contains path to generated files.
42802 (chapters.%): Use texis-path for complete path, add extra argument
42803 libc-texinfo.sh.
42804 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42805 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42806 (summary,texi, stamp-summary): Use complete path of
42807 files. Generate files in build dir.
42808 (dir-add.texi): Build in build dir.
42809 (libm-err.texi,stamp-libm-err): Likewise.
42810 (version.texi, stamp-version): Likewise.
42811 (.%c.texi): Likewise.
42812 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42813 (mostlyclean): Remove target.
42814 (realclean): Remove target.
42815 (generated): Add new variable with contents from mostlyclean and
42816 realclean, remove entries duplicated in common-mostlyclean, add
42817 stamp-libm-err and stamp-version.
42818 (generated-dirs): Add libc directory.
42819 ($(inst_infodir)/libc.info): Install files from build dir.
42820
42821 * manual/install.texi (Configuring and compiling): Adjust since
42822 the info files are not part of the tar ball anymore.
42823
7ac77294
AJ
428242012-05-14 Andreas Jaeger <aj@suse.de>
42825
42826 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42827 variable.
42828
ffb7875d
JM
428292012-05-14 Joseph Myers <joseph@codesourcery.com>
42830
42831 [BZ #13717]
42832 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42833 to 2.2.0 where earlier.
42834 * sysdeps/unix/sysv/linux/configure: Regenerated.
42835 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42836 Remove conditional code.
42837 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42838 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42839 Remove conditional code.
42840 [!__NR_lchown]: Likewise.
42841 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42842 [__NR_lchown]: Likewise.
42843 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42844 comment referencing __ASSUME_LCHOWN_SYSCALL.
42845 * sysdeps/unix/sysv/linux/i386/sigaction.c
42846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42848 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42849 Remove conditional code.
42850 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42851 (__protocol_available): Remove #if 0 code.
42852 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42853 conditional code.
42854 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42855 * sysdeps/unix/sysv/linux/kernel-features.h
42856 (__ASSUME_GETCWD_SYSCALL): Don't define.
42857 (__ASSUME_REALTIME_SIGNALS): Likewise.
42858 (__ASSUME_PREAD_SYSCALL): Likewise.
42859 (__ASSUME_PWRITE_SYSCALL): Likewise.
42860 (__ASSUME_POLL_SYSCALL): Likewise.
42861 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42862 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42863 non-SPARC.
42864 (__ASSUME_SIOCGIFNAME): Don't define.
42865 (__ASSUME_MSG_NOSIGNAL): Likewise.
42866 (__ASSUME_SENDFILE): Define unconditionally.
42867 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42868 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42869 conditional code.
42870 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42871 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42872 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42873 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42874 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42875 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42876 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42881 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42882 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42887 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42888 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42893 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42894 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42899 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42901 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42902 Remove conditional code.
42903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42904 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42905 Remove conditional code.
42906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42907 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42908 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42909 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42910 Remove conditional code.
42911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42912 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42913 Remove conditional code.
42914 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42915 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42916 Remove conditional code.
42917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42918 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42919 Remove conditional code.
42920 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42921 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42922 Remove conditional code.
42923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42924 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42925 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42926 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42927 * sysdeps/unix/sysv/linux/sigaction.c
42928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42930 * sysdeps/unix/sysv/linux/sigpending.c
42931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42933 * sysdeps/unix/sysv/linux/sigprocmask.c
42934 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42935 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42936 * sysdeps/unix/sysv/linux/sigsuspend.c
42937 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42938 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42939 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42940 (__libc_missing_rt_sigs): Remove.
42941 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42942 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42943 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42944 Remove conditional code.
42945 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42946 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42947 return 1.
42948 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42949 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42950 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42951 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42952
1bfb7291
AJ
429532012-05-14 Andreas Jaeger <aj@suse.de>
42954
caae5a81
AJ
42955 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42956 it's not used in glibc.
42957 (__coshm1): Likewise.
42958 (__acosh1p): Likewise.
42959 (__sgn): Likewise.
42960
1bfb7291
AJ
42961 * manual/string.texi (Copying and Concatenation): Add missing
42962 variable in concat example.
42963 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42964
c044d724
L
429652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42966
144c5467 42967 [BZ #14103]
c044d724
L
42968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42969 __builtin_clzl with __builtin_clzll.
42970
2523c62b
L
429712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 [BZ #14104]
42974 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42975 libc_freeres_ptr.
42976
d7bb4c42
LD
429772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42978
42979 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42980 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42981 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42982 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42983
9dc4e1fb
MF
429842012-05-14 Mike Frysinger <vapier@gentoo.org>
42985
42986 * NEWS: Update ia64 info.
42987
c7df0112
AS
429882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42989
42990 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42991 used as bcopy.
42992
dc70356c
TS
429932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42994
42995 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42996 * sysdeps/unix/syscalls.list (dup3): Likewise.
42997 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42998 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42999
9fb1a21f
L
430002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43003 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43004
4822a2a5
L
430052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43006
43007 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43008 thread pointer.
43009 (TLS_IE): Use mov/add instead of movq/addq to load thread
43010 pointer.
43011 (TLS_GD_PREFIX): New.
43012 (TLS_GD): Use it.
43013
842b81d6
DM
430142012-05-11 David S. Miller <davem@davemloft.net>
43015
43016 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43017 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43018 (_FPU_SETCW): Likewise.
43019
1cf463cd
L
430202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43021
43022 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43023 is 32-byte aligned.
43024
60cc4a18
AS
430252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43026
43027 [BZ #11837]
43028 * iconvdata/gb18030.c: Update tables.
43029 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43030 characters specially.
43031 (BODY for TO_LOOP): Add encoding of missing ranges.
43032
febb44a4
TS
430332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43034
43035 [BZ #13673]
43036 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43037 * sysdeps/mach/hurd/dup3.c: Likewise.
43038 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43039 * sysdeps/powerpc/memmove.c:: Likewise.
43040
0a10fb9e
L
430412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43042
43043 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43044 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43045
df8a552f
L
430462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43047
43048 * elf/elf.h (R_X86_64_RELATIVE64): New.
43049 (R_X86_64_NUM): Updated.
43050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43051 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43052 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43053 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43054 tst-quad1pie tst-quad2pie
43055 (modules-names): Add tst-quadmod1 tst-quadmod2.
43056 ($(objpfx)tst-quad1): New dependency.
43057 ($(objpfx)tst-quad2): Likewise.
43058 ($(objpfx)tst-quad1pie): Likewise.
43059 ($(objpfx)tst-quad2pie): Likewise.
43060 * sysdeps/x86_64/tst-quad1.c: New file.
43061 * sysdeps/x86_64/tst-quad1pie.c: New file.
43062 * sysdeps/x86_64/tst-quad2.c: Likewise.
43063 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43064 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43065 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43066 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43067 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43068
f34d6f84
ST
430692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43070
f42d41d1
ST
43071 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43072 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43073 * streams/stropts.h (t_scalar_t): Define type.
43074
3c3571fc
ST
43075 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43076 (_PATH_PRESERVE): Set to "/var/lib".
43077 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43078
61f06bd3
ST
43079 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43080 instead of int.
43081
918d4d71
ST
43082 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43083 if __dir_mkfile succeeded.
43084
f34d6f84
ST
43085 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43086 checking for _hurd_dtablesize. Unlock it right after having
43087 finished _hurd_dtable allocation.
43088
10589b4a
TS
430892012-05-10 Thomas Schwinge <thomas@schwinge.name>
43090
674cdbc7
TS
43091 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43092 * sysdeps/mach/hurd/configure: Regenerated.
43093 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43094 special-casing to...
43095 * sysdeps/gnu/configure.in: ... this new file.
43096 * sysdeps/unix/sysv/linux/configure: Regenerated.
43097 * sysdeps/gnu/configure: New generated file.
43098
8e41b99f
TS
43099 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43100 for Linux: use nsec instead of usec, as well as:
43101 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43102 members of type struct timespec.
43103 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43104 New macros.
43105 (struct stat64): Likewise.
43106 (_STATBUF_ST_NSEC): New macro.
43107 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43108
10589b4a
TS
43109 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43110 __strtoul_internal rather than strtoul.
43111
63643c85
PT
431122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43113
43114 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43115 and reject them.
43116
3faebe6a
ST
431172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43118
43119 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43120 which preserves existing values.
43121 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43122
c6474b07
PT
431232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43124
43125 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43126 TIMEOUT values. Return EINVAL for NFDS values either negative or
43127 greater than FD_SETSIZE.
43128
1043890b
ST
431292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43130
43131 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43132 allocated, call __vm_protect to finish enabling the existing space, and
43133 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43134 allocate the remainder.
43135
37ed8b9b
PT
431362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43137
43138 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43139 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43140
db653660
ST
431412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43142
37ed8b9b
PT
43143 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43144 sysdeps/mach/hurd/readlink.c.
b29d4053 43145
db653660
ST
43146 * posix/tst-sysconf.c (posix_options): Only use
43147 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43148 _POSIX_SYNCHRONIZED_IO when they are defined
43149 * sysdeps/mach/hurd/bits/posix_opt.h:
43150 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43151 (_XOPEN_REALTIME): Undefine macro.
43152 (_XOPEN_REALTIME_THREADS): Undefine macro.
43153 (_XOPEN_SHM): Undefine macro.
43154 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43155 macro to -1.
43156 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43157 macro to -1.
43158 (_POSIX_ASYNC_IO): Undefine macro.
43159 (_POSIX_PRIORITIZED_IO): Undefine macro.
43160 (_POSIX_SPIN_LOCKS): Define macro to -1.
43161
ee16e894
ST
43162 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43163 SA_NODEFER, SA_RESETHAND.
43164 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43165 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43166 F_DUPFD_CLOEXEC.
43167
6103ae3b
TS
431682012-05-10 Thomas Schwinge <thomas@schwinge.name>
43169
43170 * elf/Makefile (pldd-modules): Define unconditionally.
43171
80b4e5f3
TS
431722012-05-10 Thomas Schwinge <thomas@schwinge.name>
43173
43174 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43175
edadcbd6
ST
431762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43177
43178 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43179 Return ENOENT when name is empty.
43180 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43181
80694780
TS
431822012-05-10 Thomas Schwinge <thomas@schwinge.name>
43183
1792c087
TS
43184 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43185
80694780
TS
43186 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43187
6b645f0d
ST
431882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43189
80694780
TS
43190 Fix mlock in all cases except non-readable pages.
43191 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43192 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43193
6b645f0d
ST
43194 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43195 (__mkdir): When path is `/', just fail with EEXIST.
43196 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43197
e468f8a3
TS
431982012-05-10 Thomas Schwinge <thomas@schwinge.name>
43199
43200 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43201 <sys/uio.h> (for writev).
43202 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43203 and <sys/param.h> (for MIN).
43204
a4186cff
PT
432052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43206
43207 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43208 REQUESTED_TIME. Properly set the remaining time and return EINTR
43209 if interrupted.
43210
510bbf14
TS
432112012-05-10 Thomas Schwinge <thomas@schwinge.name>
43212
43213 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43214 Depend on against $(link-rpcuserlibs).
43215
5d5722e8
ST
432162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43217
a4186cff
PT
43218 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43219 (__libc_stack_end): Do not use attribute_relro.
43220 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43221 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43222 to libthread-provided value.
a4186cff
PT
43223 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43224 attribute_relro.
5d5722e8 43225
37233df9
TS
432262012-05-10 Thomas Schwinge <thomas@schwinge.name>
43227
be971a2b
TS
43228 [BZ #3748]
43229 * bits/libc-lock.h (__libc_once_get): New macro.
43230 * sysdeps/mach/bits/libc-lock.h: Likewise.
43231 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43233 instead of using implementation details.
43234
37233df9
TS
43235 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43236 * libio/freopen.c: Likewise.
43237 * libio/freopen64.c: Likewise.
43238 * misc/syslog.c: Likewise.
43239 * nscd/connections.c: Likewise.
43240 * nscd/netgroupcache.c: Likewise.
43241 * sysdeps/posix/getcwd.c: Likewise.
43242
38de94a5
RM
432432012-05-10 Roland McGrath <roland@hack.frob.com>
43244
43245 * math/w_ilogbf.c: Add #include <limits.h>.
43246
67530489
ST
432472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43248
a4186cff 43249 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43250 path instead of returning without unlocking.
43251
67530489
ST
43252 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43253 immediate-write ioctls.
43254 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43255
5aa3a74a
TS
432562012-05-10 Thomas Schwinge <thomas@schwinge.name>
43257
18bad2ae
TS
43258 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43259 __builtin_frame_address instead of making assumptions about the
43260 location of the return address relative to DATA. Force early load of
43261 the return address.
43262 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43263 __builtin_frame_address.
43264
5aa3a74a
TS
43265 dup3 for GNU Hurd.
43266 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43267 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43268 implement dup3 and do some further code clean-ups.
43269 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43270 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43271
ecd0de9a
ST
432722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43273
cd9fa985
ST
43274 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43275
a4186cff
PT
43276 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43277 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43278 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43279 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43280 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43281 d->port.lock.
802ca5a5 43282
a4186cff
PT
43283 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43284 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43285 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43286
bcf55240
TS
432872012-05-10 Thomas Schwinge <thomas@schwinge.name>
43288
6960eb42
TS
43289 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43290 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43291 definitions.
43292
eb43375f
TS
43293 accept4 for GNU Hurd.
43294 * include/sys/socket.h (__libc_accept4): New prototype.
43295 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43296 to implement __libc_accept4.
43297 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43298 __libc_accept4.
43299 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43300
bcf55240
TS
43301 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43302 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43303 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43304 signal-defines.sym.
43305
6178c55b
ST
433062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43307
a4186cff 43308 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43309
6f080c2f
TS
433102012-05-10 Thomas Schwinge <thomas@schwinge.name>
43311
43312 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43313 assertion on O_CLOEXEC flag.
43314 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43315 * hurd/intern-fd.c: Likewise.
43316 * hurd/port2fd.c: Likewise.
43317
bcfe3a54
ST
433182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43319
43320 [BZ #3906]
43321 * bits/in.h (IPV6_PKTINFO): Define new macro.
43322 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43323
89c9aa49
AZ
433242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43325
43326 [BZ #13954]
43327 [BZ #13955]
43328 [BZ #13956]
43329 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43331 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43332 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43334 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43335 * math/libm-test.inc (logb_test) : Additional logb tests.
43336
021db4be
AJ
433372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43338 Andreas Jaeger <aj@suse.de>
43339
43340 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43341 * configure: Regenerated.
43342 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43343 * config.make.in (link-obsolete-rpc): New substituted variable.
43344 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43345 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43346 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43347 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43348 so that libc.a contains the symbols.
43349 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43350 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43351 * sunrpc/auth_none.c: Likewise.
43352 * sunrpc/auth_unix.c: Likewise.
43353 * sunrpc/authdes_prot.c: Likewise.
43354 * sunrpc/authuxprot.c: Likewise.
43355 * sunrpc/clnt_gen.c: Likewise.
43356 * sunrpc/clnt_perr.c: Likewise.
43357 * sunrpc/clnt_raw.c: Likewise.
43358 * sunrpc/clnt_simp.c: Likewise.
43359 * sunrpc/clnt_tcp.c: Likewise.
43360 * sunrpc/clnt_udp.c: Likewise.
43361 * sunrpc/clnt_unix.c: Likewise.
43362 * sunrpc/des_crypt.c: Likewise.
43363 * sunrpc/des_soft.c: Likewise.
43364 * sunrpc/get_myaddr.c: Likewise.
43365 * sunrpc/key_call.c: Likewise.
43366 * sunrpc/key_prot.c: Likewise.
43367 * sunrpc/netname.c: Likewise.
43368 * sunrpc/pm_getmaps.c: Likewise.
43369 * sunrpc/pm_getport.c: Likewise.
43370 * sunrpc/pmap_clnt.c: Likewise.
43371 * sunrpc/pmap_prot.c: Likewise.
43372 * sunrpc/pmap_prot2.c: Likewise.
43373 * sunrpc/pmap_rmt.c: Likewise.
43374 * sunrpc/publickey.c: Likewise.
43375 * sunrpc/rpc_cmsg.c: Likewise.
43376 * sunrpc/rpc_common.c: Likewise.
43377 * sunrpc/rpc_dtable.c: Likewise.
43378 * sunrpc/rpc_prot.c: Likewise.
43379 * sunrpc/rpc_thread.c: Likewise.
43380 * sunrpc/rtime.c: Likewise.
43381 * sunrpc/svc.c: Likewise.
43382 * sunrpc/svc_auth.c: Likewise.
43383 * sunrpc/svc_raw.c: Likewise.
43384 * sunrpc/svc_run.c: Likewise.
43385 * sunrpc/svc_tcp.c: Likewise.
43386 * sunrpc/svc_udp.c: Likewise.
43387 * sunrpc/svc_unix.c: Likewise.
43388 * sunrpc/svcauth_des.c: Likewise.
43389 * sunrpc/xcrypt.c: Likewise.
43390 * sunrpc/xdr.c: Likewise.
43391 * sunrpc/xdr_array.c: Likewise.
43392 * sunrpc/xdr_float.c: Likewise.
43393 * sunrpc/xdr_intXX_t.c: Likewise.
43394 * sunrpc/xdr_mem.c: Likewise.
43395 * sunrpc/xdr_rec.c: Likewise.
43396 * sunrpc/xdr_ref.c: Likewise.
43397 * sunrpc/xdr_sizeof.c: Likewise.
43398 * sunrpc/xdr_stdio.c: Likewise.
43399
b5c086a2
RM
434002012-05-10 Roland McGrath <roland@hack.frob.com>
43401
43402 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43403 change. Update copyright years.
43404
6d74dd09
JM
434052012-05-10 Joseph Myers <joseph@codesourcery.com>
43406
43407 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43408
28e72501
MK
434092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43410 Joseph Myers <joseph@codesourcery.com>
43411 Paul Pluzhnikov <ppluzhnikov@google.com>
43412
43413 [BZ #14012]
43414 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43415 requiring rpcgen.
43416 [cross-compiling] (extra-libs): Likewise.
43417 [cross-compiling] (extra-libs-others): Likewise.
43418 [cross-compiling] (librpcsvc-routines): Likewise.
43419 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43420 [cross-compiling] (omit-deps): Likewise.
43421 (sunrpc-CPPFLAGS): New variable.
43422 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43423 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43424 (cross-rpcgen-objs): New variable.
43425 (extra-objs): Append $(cross-rpcgen-objs).
43426 ($(cross-rpcgen-objs)): New rule.
43427 ($(objpfx)cross-rpcgen): Likewise.
43428 (rpcgen-cmd): Define to use $(built-program-file). Expand
43429 comment.
43430 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43431 ($(objpfx)x%.stmp): Likewise.
43432 * sunrpc/proto.h [IS_IN_build] (_): Define.
43433 [IS_IN_build] (_libc_intl_domainname): Likewise.
43434
c8c59454
L
434352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43436
43437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43438 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43439 and R_X86_64_TPOFF64.
43440
6f27cd16
JM
434412012-05-10 Joseph Myers <joseph@codesourcery.com>
43442
43443 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43444 sysdeps/unix/sysv/syscalls.list.
43445 (stime): Likewise.
43446 (utime): Likewise.
43447 * sysdeps/unix/sysv/syscalls.list: Remove file.
43448
02467e1c
PE
434492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43450
43451 [BZ #3440]
43452 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43453 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43454 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43455 (__LC_IDENTIFICATION): Make these macros useful in #if
43456 expressions, as required by C99.
43457
da392631
AS
434582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43459
43460 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43461 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43462 after this.
43463
8115f29b
L
434642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43465
43466 * stdlib/longlong.h: Updated from GCC.
43467
bdd74070
AJ
434682012-05-09 Andreas Jaeger <aj@suse.de>
43469
edfe0dbe
AJ
43470 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43471 default is first entry.
43472 (run_mode): Set type.
43473 (main): Remove informal message about syslog.
43474 (options): Fix typo.
43475
bcfe3a54
ST
43476 [BZ #14053]
43477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43478 to asm.
bcfe3a54
ST
43479 (lrint): Likewise.
43480 (llrintf): Likewise.
43481 (llrint): Likewise.
43482 (rint): Likewise.
43483 (rintf): Likewise.
43484 (nearbyint): Likewise.
43485 (nearbyintf): Likewise.
bdd74070 43486
91d8d69e
AJ
434872012-05-09 Andreas Jaeger <aj@suse.de>
43488 Pedro Alves <palves@redhat.com>
43489
43490 * nscd/nscd.c (run_mode): Use enum.
43491 (main): Cleanup coding style issue.
43492
bb90b80b
AJ
434932012-05-09 Alexandre Oliva <aoliva@redhat.com>
43494 Andreas Jaeger <aj@suse.de>
43495
bcfe3a54
ST
43496 * nscd/nscd.c (go_background): Replaced with...
43497 (run_mode): ... this.
bb90b80b 43498 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43499 (options): Add -F --foreground.
43500 (main): Implement it.
43501 (parse_opt): Parse it.
bb90b80b 43502
1a4b75a1
AJ
435032012-05-09 Andreas Jaeger <aj@suse.de>
43504
43505 [BZ #14083]
43506 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43507 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43508 -Wconversion warning.
43509 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43510 Likewise.
43511
b1cc2472
JM
435122012-05-09 Joseph Myers <joseph@codesourcery.com>
43513
43514 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43515 == 0.
43516 (LC_ALL): Use macro-int-constant.
43517 (LC_COLLATE): Likewise.
43518 (LC_CTYPE): Likewise.
43519 (LC_MESSAGES): Likewise.
43520 (LC_MONETARY): Likewise.
43521 (LC_NUMERIC): Likewise.
43522 (LC_TIME): Likewise.
43523 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43524 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43525 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43526 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43527 Specify type.
43528 [C99-based standards] (float_t): Expect type.
43529 [C99-based standards] (double_t): Expect type.
43530 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43531 type.
43532 [C99-based standards] (HUGE_VALL): Likewise.
43533 [C99-based standards] (INFINITY): Likewise.
43534 [C99-based standards] (NAN): Likewise.
43535 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43536 [C99-based standards] (FP_NAN): Likewise.
43537 [C99-based standards] (FP_NORMAL): Likewise.
43538 [C99-based standards] (FP_SUBNORMAL): Likewise.
43539 [C99-based standards] (FP_ZERO): Likewise.
43540 [C99-based standards] (FP_FAST_FMA): Use
43541 optional-macro-int-constant. Specify type. Require == 1.
43542 [C99-based standards] (FP_FAST_FMAF): Likewise.
43543 [C99-based standards] (FP_FAST_FMAL): Likewise.
43544 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43545 [C99-based standards] (FP_ILOGBNAN): Likewise.
43546 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43547 Specify type.
43548 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43549 [C99-based standards] (math_errhandling): Specify type.
43550 [ISO99 || ISO11] (signgam): Do not allow.
43551 [non-C99-based standards] (copysignf): Do not allow.
43552 [non-C99-based standards] (exp2f): Likewise.
43553 [non-C99-based standards] (log2f): Likewise.
43554 [non-C99-based standards] (modff): Allow.
43555 [non-C99-based standards] (erff): Do not allow.
43556 [non-C99-based standards] (erfcf): Likewise.
43557 [non-C99-based standards] (gammaf): Likewise.
43558 [non-C99-based standards] (hypotf): Likewise.
43559 [non-C99-based standards] (j0f): Likewise.
43560 [non-C99-based standards] (j1f): Likewise.
43561 [non-C99-based standards] (jnf): Likewise.
43562 [non-C99-based standards] (lgammaf): Likewise.
43563 [non-C99-based standards] (tgammaf): Likewise.
43564 [non-C99-based standards] (y0f): Likewise.
43565 [non-C99-based standards] (y1f): Likewise.
43566 [non-C99-based standards] (ynf): Likewise.
43567 [non-C99-based standards] (isnanf): Likewise.
43568 [non-C99-based standards] (acoshf): Likewise.
43569 [non-C99-based standards] (asinhf): Likewise.
43570 [non-C99-based standards] (atanhf): Likewise.
43571 [non-C99-based standards] (cbrtf): Likewise.
43572 [non-C99-based standards] (expm1f): Likewise.
43573 [non-C99-based standards] (ilogbf): Likewise.
43574 [non-C99-based standards] (log1pf): Likewise.
43575 [non-C99-based standards] (logbf): Likewise.
43576 [non-C99-based standards] (nextafterf): Likewise.
43577 [non-C99-based standards] (remainderf): Likewise.
43578 [non-C99-based standards] (rintf): Likewise.
43579 [non-C99-based standards] (scalbf): Likewise.
43580 [non-C99-based standards] (copysignl): Likewise.
43581 [non-C99-based standards] (exp2l): Likewise.
43582 [non-C99-based standards] (log2l): Likewise.
43583 [non-C99-based standards] (modfl): Allow.
43584 [non-C99-based standards] (erfl): Do not allow.
43585 [non-C99-based standards] (erfcl): Likewise.
43586 [non-C99-based standards] (gammal): Likewise.
43587 [non-C99-based standards] (hypotl): Likewise.
43588 [non-C99-based standards] (j0l): Likewise.
43589 [non-C99-based standards] (j1l): Likewise.
43590 [non-C99-based standards] (jnl): Likewise.
43591 [non-C99-based standards] (lgammal): Likewise.
43592 [non-C99-based standards] (tgammal): Likewise.
43593 [non-C99-based standards] (y0l): Likewise.
43594 [non-C99-based standards] (y1l): Likewise.
43595 [non-C99-based standards] (ynl): Likewise.
43596 [non-C99-based standards] (isnanl): Likewise.
43597 [non-C99-based standards] (acoshl): Likewise.
43598 [non-C99-based standards] (asinhl): Likewise.
43599 [non-C99-based standards] (atanhl): Likewise.
43600 [non-C99-based standards] (cbrtl): Likewise.
43601 [non-C99-based standards] (expm1l): Likewise.
43602 [non-C99-based standards] (ilogbl): Likewise.
43603 [non-C99-based standards] (log1pl): Likewise.
43604 [non-C99-based standards] (logbl): Likewise.
43605 [non-C99-based standards] (nextafterl): Likewise.
43606 [non-C99-based standards] (remainderl): Likewise.
43607 [non-C99-based standards] (rintl): Likewise.
43608 [non-C99-based standards] (scalbl): Likewise.
43609 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43610 [non-C99-based standards] (FP_*): Do not allow.
43611 [C99-based standards] (FP_*): Change to
43612 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43613 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43614 allow.
43615 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43616 (SIG_ERR): Likewise.
43617 [X/Open-based standards] (SIG_HOLD): Likewise.
43618 (SIG_IGN): Likewise.
43619 (SIGABRT): Use macro-int-constant. Specify type. Require
43620 positive value.
43621 (SIGFPE): Likewise.
43622 (SIGILL): Likewise.
43623 (SIGINT): Likewise.
43624 (SIGSEGV): Likewise.
43625 (SIGTER): Likewise.
43626 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43627 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43628 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43629 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43630 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43631 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43632 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43633 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43634 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43635 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43636 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43637 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43638 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43639 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43640 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43641 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43642 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43643 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43644 [X/Open-based standards] (SIGTRAP): Likewise.
43645 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43646 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43647 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43648 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43649 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43650 allow.
43651
b9f1922d
IW
436522012-05-08 Ian Wienand <ianw@vmware.com>
43653
43654 [BZ #14080]
43655 * time/tzset.c (__tzset_parse_tz): Update default rules for
43656 daylight time changes in the Energy Policy Act of 2005.
43657
1db86e88
AJ
436582012-05-09 Andreas Jaeger <aj@suse.de>
43659
43660 [BZ #13983]
43661 * elf/ldconfig.c (parse_conf): Change string to make clear that
43662 ldconfig only issued a warning if ld.so.conf does not exist.
43663
dee4a4e3
DM
436642012-05-08 David S. Miller <davem@davemloft.net>
43665
ee0db190
DM
43666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43667 movxtod instead of popping the value on the stack.
43668
dee4a4e3
DM
43669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43670
6a43ec98
CD
436712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43672
43673 * config.h.in: Add HAVE_ARM_PCS_VFP.
43674
05c2c961
RMG
436752012-05-08 Roland Mc Grath <roland@hack.frob.com>
43676
bcfe3a54
ST
43677 [BZ #13979]
43678 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43679 checking but the checks are disabled for any reason.
05c2c961 43680
4b30f61a
L
436812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43682
43683 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43684 and ELF64_R_TYPE with ELFW(R_TYPE).
43685
eee2bc67
JM
436862012-05-08 Joseph Myers <joseph@codesourcery.com>
43687
7ea5391a
JM
43688 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43689 (ulimit): Likewise.
43690
eee2bc67
JM
43691 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43692 (settimeofday): Likewise.
43693
abb66a67
MF
436942012-05-08 Mike Frysinger <vapier@gentoo.org>
43695
43696 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43697 a struct th_u2 inside the union, and move tu_block/tu_code into
43698 a new th_u3 union of tu_block/tu_code inside of that. Move
43699 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43700 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43701 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43702 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43703 (th_stuff): Change to th_u1.tu_stuff.
43704 (th_data): Define.
43705 (th_msg): Change to th_u1.th_u2.tu_data.
43706
7f18b530
DM
437072012-05-07 David S. Miller <davem@davemloft.net>
43708
05760585
DM
43709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43710
7f18b530
DM
43711 [BZ #14074]
43712 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43713 (SETUP_PIC_REG): Use it.
43714 (SETUP_PIC_REG_LEAF): Use it.
43715
495fd99f
JM
437162012-05-07 Joseph Myers <joseph@codesourcery.com>
43717
43718 [BZ #13885]
43719 [BZ #13923]
43720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43721 USE_AS_EXPM1L.
43722 (EXPL_FINITE): Likewise.
43723 (FLDLOG): Likewise.
43724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43725 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43726 e_expl.S.
43727 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43728 USE_AS_EXPM1L.
43729 (EXPL_FINITE): Likewise.
43730 (FLDLOG): Likewise.
43731 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43732 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43733 e_expl.S.
43734 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43735 test of -max_value argument for long double.
43736 * sysdeps/i386/fpu/libm-test-ulps: Update.
43737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43738
6693d694
DM
437392012-05-06 David S. Miller <davem@davemloft.net>
43740
43741 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43742 quad soft-float symbols whose references which are compiler
43743 generated.
43744 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43745
6c23e11c
JM
437462012-05-06 Joseph Myers <joseph@codesourcery.com>
43747
d8b82cad
JM
43748 [BZ #13884]
43749 [BZ #13914]
43750 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43751 USE_AS_EXP10L.
43752 (EXPL_FINITE): Likewise.
43753 (FLDLOG): Likewise.
43754 (c0): Likewise.
43755 (c1): Likewise.
43756 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43757 Adjust comments for base varying.
43758 (__expl_finite): Change alias to EXPL_FINITE.
43759 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43760 e_expl.S.
43761 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43762 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43763 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43764 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43765 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43766 USE_AS_EXP10L.
43767 (EXPL_FINITE): Likewise.
43768 (FLDLOG): Likewise.
43769 (c0): Likewise.
43770 (c1): Likewise.
43771 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43772 Adjust comments for base varying.
43773 (__expl_finite): Change alias to EXPL_FINITE.
43774 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43775 tests for bugs.
43776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43777
6c23e11c
JM
43778 [BZ #14064]
43779 * math/libm-test.inc (check_float_internal): Correct ulp
43780 calculation for subnormal expected results.
43781
29ba805c
AJ
437822012-05-06 Andreas Jaeger <aj@suse.de>
43783
43784 * Makeconfig (+math-flags): New, set to -frounding-math.
43785 (+cflags): Add +math-flags so that all of glibc gets compiled with
43786 it.
43787
43788 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43789
7b17aeda
JM
437902012-05-05 Joseph Myers <joseph@codesourcery.com>
43791
5779f134
JM
43792 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43793 Disable one test.
43794
41498f4d
JM
43795 [BZ #13787]
43796 [BZ #13922]
43797 [BZ #14036]
43798 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43799 (__ieee754_expl): Allow for and saturate large arguments.
43800 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43801 (u_threshold): Likewise.
43802 (__exp): Call __ieee754_exp before checking for overflow and
43803 underflow.
43804 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43805 (u_threshold): Likewise.
43806 (__expf): Call __ieee754_expf before checking for overflow and
43807 underflow.
43808 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43809 (u_threshold): Likewise.
43810 (__expl): Call __ieee754_expl before checking for overflow and
43811 underflow.
43812 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43813 (__ieee754_expl): Allow for and saturate large arguments.
43814 * math/libm-test.inc (exp_test): Add another test. Do not allow
43815 missing overflow exception on overflow.
43816 (expm1_test): Do not allow missing overflow exception on overflow.
43817
6698b8bf
JM
43818 * sysdeps/i386/fpu/e_expl.c: Move to ...
43819 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43820 rather than using inline asm.
43821 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43822 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43823 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43824
7b17aeda
JM
43825 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43826 (nice): Likewise.
43827 (poll): Likewise.
43828 (signal): Likewise.
43829 (time): Likewise.
43830 (times): Likewise.
43831
f7c85819
JM
438322012-05-04 Joseph Myers <joseph@codesourcery.com>
43833
43834 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43835 sysdeps/unix/common/syscalls.list.
43836 (fchmod): Likewise.
43837 (fchown): Likewise.
43838 (ftruncate): Likewise.
43839 (getrusage): Likewise.
43840 (gettimeofday): Likewise.
43841 (setpgid): Likewise.
43842 (setregid): Likewise.
43843 (setreuid): Likewise.
43844 (sigaction): Likewise.
43845 (truncate): Likewise.
43846 (vhangup): Likewise.
43847 * sysdeps/unix/common/syscalls.list: Remove file.
43848 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43849 * sysdeps/unix/sysv/linux/Implies: Likewise.
43850
336270d0
L
438512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43852
43853 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43855 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43856 Moved to ...
43857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43858 Here.
43859 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43860 to ...
43861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43862 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43863 to ...
43864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43865 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43866 to ...
43867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43868 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43869 to ...
43870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43871 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43872 to ...
43873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43874 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43875 to ...
43876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43878 to ...
43879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43880 Here.
43881 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43882 to ...
43883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43884 Here.
43885 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43886 to ...
43887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43888 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43889 Moved to ...
43890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43891 Here.
43892 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43893 to ...
43894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43895
d128e450
JM
438962012-05-04 Joseph Myers <joseph@codesourcery.com>
43897
fa8ee516
JM
43898 * sysdeps/unix/common/bits/dirent.h: Remove file.
43899 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43900
d128e450
JM
43901 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43902 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43903 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43904 * sysdeps/unix/bsd/isatty.c: Likewise.
43905 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43906 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43907 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43908
ff8faaf0 439092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43910
62881be4 43911 [BZ #13563]
31dc8730
AZ
43912 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43913 long double comparison inaccuracies.
43914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43916
6fef930c
AS
439172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43918
43919 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43920 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43921
8f203e6c
JM
439222012-05-04 Joseph Myers <joseph@codesourcery.com>
43923
43924 [BZ #14049]
43925 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43926 nonzero digits before rounding a hex value.
43927 * stdlib/tst-strtod.c (tests): Add another test.
43928
5197d9c2
AK
439292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43930
43931 * sysdeps/s390/fpu/libm-test-ulps: Update.
43932
f0c1dedf
AJ
439332012-05-03 Andreas Jaeger <aj@suse.de>
43934
43935 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43936 does not get optimized out.
43937 (malloc_opt_barrier): New.
43938
a65ef2ae 439392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43940 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43941
2b942cb7 43942 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43943 intermediate file deletion.
2b942cb7 43944 (generated): Add .symlist files.
a65ef2ae 43945
54b71e02
JM
439462012-05-03 Joseph Myers <joseph@codesourcery.com>
43947
43948 [BZ #13775]
43949 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43950 Redirect under this condition.
43951 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43952 [__USE_GNU] (__dprintf_chk): Not under this condition.
43953 [__USE_GNU] (__vdprintf_chk): Likewise.
43954 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43955 under this condition.
43956 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43957 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43958 [__USE_XOPEN2K8] (vdprintf): Likewise.
43959 [__USE_GNU] (__dprintf_chk): Not under this condition.
43960 [__USE_GNU] (__vdprintf_chk): Likewise.
43961 [__USE_GNU] (dprintf): Likewise.
43962 [__USE_GNU] (vdprintf): Likewise.
43963
d3dfcc41
RM
439642012-05-03 Roland McGrath <roland@hack.frob.com>
43965
43966 * elf/Makefile (common-generated): Set this instead of generated for
43967 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43968 $(all-built-dso)-derived lists.
43969
7ac30cc5
AJ
439702012-05-03 Andreas Jaeger <aj@suse.de>
43971
0c51e550
AJ
43972 * sysdeps/i386/fpu/libm-test-ulps: Update.
43973
7ac30cc5
AJ
43974 * FAQ: Removed.
43975 * FAQ.in: Likewise.
43976 * scripts/gen-FAQ.pl: Likewise.
43977 * manual/install.texi (Installation): Point to online location of
43978 FAQ.
43979 * Makefile (files-for-dist): Remove FAQ.
43980 (FAQ): Remove.
43981
d4c2917f
AM
439822012-05-02 Allan McRae <allan@archlinux.org>
43983
43984 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43985 (LDFLAGS-reldepmod5.so): Likewise.
43986 (LDFLAGS-reldep6mod1.so): Likewise.
43987 (LDFLAGS-reldep6mod4.so): Likewise.
43988 (LDFLAGS-reldep8mod3.so): Likewise.
43989 (LDFLAGS-unload4mod1.so): Likewise.
43990 (LDFLAGS-unload4mod2.so): Likewise.
43991 (LDFLAGS-tst-initorder): Likewise.
43992 (LDFLAGS-tst-initordera2.so): Likewise.
43993 (LDFLAGS-tst-initordera3.so): Likewise.
43994 (LDFLAGS-tst-initordera4.so): Likewise.
43995 (LDFLAGS-tst-initorderb2.so): Likewise.
43996 (LDFLAGS-noload): Likewise.
43997 (LDFLAGS-next): Likewise.
43998 (LDFLAGS-order2mod1.so): Likewise.
43999 (LDFLAGS-order2mod2.so): Likewise.
44000 (LDFLAGS-tst-initorder2): Likewise.
44001 (LDFLAGS-tst-initorder2a.so): Likewise.
44002 (LDFLAGS-tst-initorder2b.so): Likewise.
44003 (LDFLAGS-tst-initorder2c.so): Likewise.
44004 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44005
d77f993f
DM
440062012-05-02 David S. Miller <davem@davemloft.net>
44007
44008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44009
171a70b4
PP
440102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44011
44012 [BZ #14055]
44013 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44014
0be196ad
AJ
440152012-05-02 Andreas Jaeger <aj@suse.de>
44016
44017 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44018 since we manipulate rounding mode.
44019 (CPPFLAGS-test-idouble.c): Likewise.
44020 (CPPFLAGS-test-ifloat.c): Likewise.
44021 (CFLAGS-test-ldouble.c): Likewise.
44022 (CFLAGS-test-double.c): Likewise.
44023 (CFLAGS-test-float.c): Likewise.
44024 (CFLAGS-test-misc.c): Likewise.
44025 (CFLAGS-test-test-fenv.c): Likewise.
44026
4f9d04aa
AZ
440272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44028
2b942cb7
RM
44029 [BZ #2550]
44030 [BZ #2570]
44031 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44032 comparisons to determine direction to adjust input.
4f9d04aa 44033
82a79e7d
RM
440342012-05-01 Roland McGrath <roland@hack.frob.com>
44035
f5a01ca9
RM
44036 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44037 output to the target.
44038
90fe4186
RM
44039 * scripts/localplt.awk: New file.
44040 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44041 (check-localplt-CFLAGS): Variable removed.
44042 ($(all-built-dso:=.jmprel)): New static pattern rule.
44043 (generated): Add those targets.
44044 (localplt-built-dso): New variable.
44045 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44046
44047 * elf/check-localplt.c: File removed.
44048
82397ed6
RM
44049 * scripts/check-execstack.awk: New file.
44050 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44051 (check-execstack-CFLAGS): Variable removed.
44052 ($(objpfx)check-execstack.h): Target removed.
44053 ($(objpfx)execstack-default): New target.
44054 (generated): Add that instead of check-execstack.h.
44055 ($(all-built-dso:=.phdr)): New static pattern rule.
44056 (generated): Add those targets.
44057 * elf/check-execstack.c: File removed.
44058
82a79e7d
RM
44059 * scripts/check-textrel.awk: New file.
44060 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44061 (check-textrel-CFLAGS): Variable removed.
44062 (all-built-dso): Use := to define.o
44063 ($(all-built-dso:=.dyn)): New static pattern rule.
44064 (generated): Add those targets.
44065 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44066 * config.make.in (READELF): New substituted variable.
44067 * elf/check-textrel.c: File removed.
44068
62fde54f 440692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44070
615605c9
JM
44071 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44072 allow.
44073 * conform/data/ctype.h-data [C99-based standards] (isblank):
44074 Expect function.
44075 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44076 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44078 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44079 Specify type. Require positive value.
44080 (EILSEQ): Likewise.
44081 (ERANGE): Likewise.
44082 [ISO || POSIX] (EILSEQ): Do not expect.
44083 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44084 Specify type. Require positive value.
44085 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44086 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44087 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44088 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44089 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44090 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44091 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44092 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44093 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44094 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44095 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44096 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44097 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44098 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44099 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44100 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44101 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44102 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44103 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44104 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44105 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44106 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44107 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44108 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44109 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44110 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44111 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44112 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44113 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44114 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44115 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44116 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44117 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44118 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44119 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44120 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44121 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44122 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44123 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44124 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44125 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44126 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44127 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44128 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44129 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44130 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44131 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44132 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44133 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44134 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44135 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44136 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44137 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44138 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44139 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44140 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44141 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44142 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44143 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44144 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44145 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44146 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44147 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44148 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44149 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44150 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44151 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44152 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44153 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44154 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44155 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44156 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44157 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44158 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44159 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44160 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44161 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44162 Require >= 2.
44163 (FLT_ROUNDS): Expect as macro, not constant.
44164 (FLT_MANT_DIG): Use macro-int-constant.
44165 (DBL_MANT_DIG): Likewise.
44166 (LDBL_MANT_DIG): Likewise.
44167 (FLT_DIG): Likewise.
44168 (DBL_DIG): Likewise.
44169 (LDBL_DIG): Likewise.
44170 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44171 (DBL_MIN_EXP): Likewise.
44172 (LDBL_MIN_EXP): Likewise.
44173 (FLT_MAX_EXP): Use macro-int-constant.
44174 (DBL_MAX_EXP): Likewise.
44175 (LDBL_MAX_EXP): Likewise.
44176 (FLT_MAX_10_EXP): Likewise.
44177 (DBL_MAX_10_EXP): Likewise.
44178 (LDBL_MAX_10_EXP): Likewise.
44179 (FLT_MAX): Use macro-constant.
44180 (DBL_MAX): Likewise.
44181 (LDBL_MAX): Likewise.
44182 (FLT_EPSILON): Use macro-constant. Give upper bound.
44183 (DBL_EPSILON): Likewise.
44184 (LDBL_EPSILON): Likewise.
44185 (FLT_MIN): Likewise.
44186 (DBL_MIN): Likewise.
44187 (LDBL_MIN): Likewise.
44188 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44189 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44190 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44191 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44192 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44193 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44194 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44195 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44196 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44197 [ISO11] (FLT_TRUE_MIN): Likewise.
44198 [ISO11] (LDBL_TRUE_MIN): Likewise.
44199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44200 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44201 (SCHAR_MIN): Use macro-int-constant. Specify type.
44202 (SCHAR_MAX): Likewise.
44203 (UCHAR_MAX): Likewise.
44204 (CHAR_MIN): Likewise.
44205 (CHAR_MAX): Likewise.
44206 (MB_LEN_MAX): Use macro-int-constant.
44207 (SHRT_MIN): Use macro-int-constant. Specify type.
44208 (SHRT_MAX): Likewise.
44209 (USHRT_MAX): Likewise.
44210 (INT_MAX): Likewise.
44211 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44212 bound negative.
44213 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44214 bound with "U".
44215 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44216 bound with "L".
44217 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44218 bound negative. Suffix upper bound with "L".
44219 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44220 bound with "UL".
44221 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44222 Specify type.
44223 [C99-based standards] (LLONG_MAX): Likewise.
44224 [C99-based standards] (ULLONG_MAX): Likewise.
44225 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44226 == 0.
44227 [ISO11] (max_align_t): Require type.
44228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44229
c9140a62
JM
44230 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44231 from $CFLAGS, without defining away __attribute__ calls.
44232 (checknamespace): Use $CFLAGS_namespace.
44233
9af0bf29
JM
44234 * conform/conformtest.pl (@keywords): Only include C99 keywords
44235 for standards based on C99 or C11.
44236
343222a2
JM
44237 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44238 Disable tests.
44239 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44240 UNIX98]: Likewise.
44241
661f8cf0
JM
44242 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44243 usability of symbols in #if.
44244
ee74b9cb
JM
44245 * conform/conformtest.pl: If macro or constant types start
44246 "promoted:", expect the symbol to be of the following type
44247 promoted by the integer promotions.
62fde54f 44248
aafc49b3
JM
44249 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44250 in one place. Also handle "macro-constant".
44251
fefdf574
JM
44252 * conform/conformtest.pl: Only accept expected macro values with
44253 "==". Parse all "macro" lines in one place.
44254 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44255
f2d922fe
JM
44256 * conform/conformtest.pl: Handle braced types on "constant" lines
44257 instead of handling "typed-constant".
44258 * conform/data/signal.h-data: Use "constant" instead of
44259 "typed-constant".
44260
d22956c9
JM
44261 * conform/conformtest.pl: Handle "optional-" at start of lines in
44262 one place rather than duplicating several cases. Handle each
44263 format of "macro" line with initial "optional-".
44264
028e2e38
JM
44265 * conform/conformtest.pl: Only accept expected constant or
44266 optional-constant values with "==". Parse all "constant" lines in
44267 one place. Parse all "optional-constant" lines in one place.
44268 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44269 * conform/data/fmtmsg.h-data: Likewise.
44270 * conform/data/netinet/in.h-data: Likewise.
44271 * conform/data/tar.h-data: Likewise.
44272 * conform/data/limits.h-data: Use "==" form on "constant" and
44273 "optional-constant" lines.
44274
1b8f2850
JM
44275 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44276 Use -std=c99 for XOPEN2K.
44277 (@knownproblems): Remove.
44278 (newtoken): Don't check %isknown.
44279
a05a144b
JM
44280 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44281 Do not expect macro.
44282 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44294 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44295 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44312 [XPG3] (acosh): Likewise.
44313 [XPG3] (asinh): Likewise.
44314 [XPG3] (atanh): Likewise.
44315 [XPG3] (cbrt): Likewise.
44316 [XPG3] (expm1): Likewise.
44317 [XPG3] (ilogb): Likewise.
44318 [XPG3] (log1p): Likewise.
44319 [XPG3] (logb): Likewise.
44320 [XPG3] (nextafter): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44323 [XPG3] (remainder): Likewise.
44324 [XPG3] (rint): Likewise.
44325 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44326 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44327 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44328 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44329 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44330 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44331 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44332 [UNIX98 || XOPEN2K] (scalb): Expect.
44333 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44334 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44335 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44336 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44337 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44338 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44339 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44340 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44341 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44342 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44343 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44344 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44345 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44346 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44347 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44348 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44349 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44350 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44351 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44352 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44353 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44354 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44355 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44356 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44357 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44358 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44359 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44360 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44361 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44362 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44363 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44364 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44365 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44366 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44367 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44368 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44369 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44370 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44371 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44372 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44373 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44374 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44375 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44376 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44377 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44378 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44379 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44380 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44381 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44382 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44383 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44384 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44385 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44386 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44387 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44388 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44389 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44390 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44391 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44392 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44393 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44394 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44395 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44396 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44397 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44398 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44399 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44400 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44401 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44402 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44403 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44404 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44405 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44406 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44407 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44408 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44409 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44410 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44411 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44412 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44413 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44414 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44415 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44416 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44417 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44418 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44419 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44420 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44421 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44422 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44423 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44424 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44425 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44426 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44427 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44428 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44429 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44430 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44431 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44432 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44433 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44434 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44435 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44436 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44437 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44438 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44439 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44440 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44441 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44442 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44443 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44444 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44445 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44446 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44447 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44448 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44449 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44450 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44451 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44452 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44453 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44454 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44455 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44456 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44457 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44458 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44459 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44460 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44461 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44462 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44463 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44464 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44465 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44466 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44467 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44468 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44469 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44470
73c5ebe3
JM
44471 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44472 _XOPEN_SOURCE_EXTENDED for XPG4.
44473
39c33b6c
JM
44474 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44475
62fde54f
JM
44476 * Makeconfig (localtime): Remove variable.
44477 (inst_localtime-file): Likewise.
44478
0741d64c
AS
444792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44480
44481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44482 Update.
44483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44484 Update.
44485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44486 Update.
44487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44488 Update.
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44490 Update.
44491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44492 Update.
44493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44494 Update.
44495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44496 Update.
44497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44498 Update.
44499
7cb029ee
JM
445002012-05-01 Joseph Myers <joseph@codesourcery.com>
44501
44502 [BZ #2550]
44503 [BZ #2570]
44504 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44505 comparisons to determine direction to adjust input.
44506 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44507 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44509 Likewise.
44510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44511 Likewise.
44512 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44513 Likewise.
44514 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44515 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44516 Likewise.
44517 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44518 Likewise.
44519 * math/libm-test.inc (nexttoward_test): Add more tests.
44520
412bd966
AS
445212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44522
44523 [BZ #14040]
44524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44525 in version GLIBC_2.1, not GLIBC_2.0.
44526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44527 Likewise.
44528
9568c0c2
JM
445292012-04-30 Joseph Myers <joseph@codesourcery.com>
44530
adfbc8ac
JM
44531 [BZ #13942]
44532 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44533 (1 - x) * (1 + x).
44534 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44535 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44536 * math/libm-test.inc (acos_test): Add more tests.
44537 (asin_test): Likewise.
44538 * sysdeps/i386/fpu/libm-test-ulps: Update.
44539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44540
5ba3cc69
JM
44541 [BZ #14034]
44542 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44543 of square root.
44544 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44545 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44546 * math/libm-test.inc (acos_test_tonearest): New function.
44547 (acos_test_towardzero): Likewise.
44548 (acos_test_downward): Likewise.
44549 (acos_test_upward): Likewise.
44550 (asin_test_tonearest): Likewise.
44551 (asin_test_towardzero): Likewise.
44552 (asin_test_downward): Likewise.
44553 (asin_test_upward): Likewise.
44554 (main): Call the new functions.
44555 * sysdeps/i386/fpu/libm-test-ulps: Update.
44556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44557
9568c0c2
JM
44558 [BZ #13884]
44559 [BZ #13924]
44560 * math/e_exp10.c: Include <float.h>.
44561 (__ieee754_exp10): Handle underflow here rather than multiplying
44562 large negative argument by M_LN10.
44563 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44564 of __ieee754_expf.
44565 * math/e_exp10l.c: Include <float.h>.
44566 (__ieee754_exp10l): Handle underflow here rather than multiplying
44567 large negative argument by M_LN10l.
44568 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44569 spurious overflow exception on underflow.
44570
5ac3ea17
MP
445712012-04-29 Marek Polacek <polacek@redhat.com>
44572
44573 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44574 (__fortify_function): New macro.
44575 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44576 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44577 __extern_always_inline.
44578 * libio/bits/stdio2.h: Likewise.
44579 * libio/bits/stdio.h: Likewise.
44580 * string/string.h: Likewise.
44581 * string/bits/string3.h: Likewise.
44582 * include/stdio.h: Likewise.
44583 * stdlib/bits/stdlib.h: Likewise.
44584 * stdlib/stdlib.h: Likewise.
44585 * rt/bits/mqueue2.h: Likewise.
44586 * rt/mqueue.h: Likewise.
44587 * posix/bits/unistd.h: Likewise.
44588 * posix/unistd.h: Likewise.
44589 * io/bits/poll2.h: Likewise.
44590 * io/bits/fcntl2.h: Likewise.
44591 * io/fcntl.h: Likewise.
44592 * io/sys/poll.h: Likewise.
44593 * misc/bits/syslog.h: Likewise.
44594 * misc/bits/syslog-ldbl.h: Likewise.
44595 * misc/sys/syslog.h: Likewise.
44596 * socket/bits/socket2.h: Likewise.
44597 * socket/sys/socket.h: Likewise.
44598 * debug/tst-chk1.c: Likewise.
44599 * wcsmbs/bits/wchar2.h: Likewise.
44600 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44601 * wcsmbs/wchar.h: Likewise.
44602
ecf0ebfb
AJ
446032012-04-29 Andreas Jaeger <aj@suse.de>
44604
44605 * Makerules (tests): Remove enable-check-abi protection.
44606 (check-abi-warn): Remove.
44607 (check-abi-%): Remove check-abi-warn usage.
44608
44609 * configure.in: Remove check-abi configure option.
44610 * configure: Regenerated.
44611 * config.make.in (enable-check-abi): Remove.
44612
6d5c57fa
AS
446132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44614
24c5d07e 44615 [BZ #14033]
ded5180a
AS
44616 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44617 double functions to double *_finite functions.
44618
7e0d315d
AS
44619 [BZ #13941]
44620 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44621 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44622 LDBL_MIN_EXP.
44623 * stdio-common/Makefile (tests): Add tst-sprintf3.
44624 * stdio-common/tst-sprintf3.c: New file.
44625
6d5c57fa
AS
44626 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44627 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44628
0749ff8b
JM
446292012-04-28 Joseph Myers <joseph@codesourcery.com>
44630
44631 * conform/conformtest.pl: Remove duplicate typed-constant
44632 handling.
44633
8dbd5d7b
DM
446342012-04-28 David S. Miller <davem@davemloft.net>
44635
44636 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44637 (check-abi-%): Remove AWK script prerequisite and explicit
44638 abilist directory.
44639 (check-abi): Rewrite to just diff the symlist with the abilist.
44640 (config-tls, config-abi-config): Delete, no longer used.
44641 (update-abi-%): Remove AWK script and explicit abilist directory.
44642 (update-abi): Rewrite to simply compare and conditionally copy the
44643 symlist and the sysdep abilist file. Remove update-abi-config
44644 checks.
44645 * abilist/ld.abilist: Remove.
44646 * abilist/libBrokenLocale.abilist: Remove.
44647 * abilist/libanl.abilist: Remove.
44648 * abilist/libcrypt.abilist: Remove.
44649 * abilist/libdl.abilist: Remove.
44650 * abilist/librt.abilist: Remove.
44651 * abilist/libthread_db.abilist: Remove.
44652 * abilist/libutil.abilist: Remove.
44653 * scripts/extract-abilist.awk: Remove.
44654 * scripts/merge-abilist.awk: Remove.
44655 * sysdeps/generic/libcidn.abilist: New file.
44656 * sysdeps/generic/libnss_compat.abilist: New file.
44657 * sysdeps/generic/libnss_db.abilist: New file.
44658 * sysdeps/generic/libnss_dns.abilist: New file.
44659 * sysdeps/generic/libnss_files.abilist: New file.
44660 * sysdeps/generic/libnss_hesiod.abilist: New file.
44661 * sysdeps/generic/libnss_nis.abilist: New file.
44662 * sysdeps/generic/libnss_nisplus.abilist: New file.
44663 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44664 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44665 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44666 file.
44667 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44668 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44669 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44670 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44671 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44672 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44673 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44674 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44675 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44676 file.
44677 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44678 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44679 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44680 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44681 file.
44682 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44683 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44684 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44685 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44686 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44687 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44688 file.
44689 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44690 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44691 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44692 file.
44693 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44695 New file.
44696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44697 New file.
44698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44699 New file.
44700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44701 New file.
44702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44703 New file.
44704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44705 New file.
44706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44707 New file.
44708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44709 New file.
44710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44711 New file.
44712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44713 New file.
44714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44715 New file.
44716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44717 New file.
44718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44719 New file.
44720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44721 file.
44722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44723 New file.
44724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44725 New file.
44726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44727 file.
44728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44729 New file.
44730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44731 New file.
44732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44733 file.
44734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44735 New file.
44736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44737 New file.
44738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44739 New file.
44740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44741 New file.
44742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44743 New file.
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44745 New file.
44746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44748 file.
44749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44750 New file.
44751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44752 file.
44753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44754 file.
44755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44756 file.
44757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44758 file.
44759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44760 file.
44761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44762 New file.
44763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44764 file.
44765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44766 file.
44767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44768 New file.
44769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44770 file.
44771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44773 file.
44774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44775 New file.
44776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44777 file.
44778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44779 file.
44780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44781 file.
44782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44783 file.
44784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44785 file.
44786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44787 New file.
44788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44789 file.
44790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44791 file.
44792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44793 New file.
44794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44795 file.
44796 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44797 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44798 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44799 file.
44800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44801 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44802 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44803 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44804 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44805 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44806 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44807 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44808 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44809 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44812 file.
44813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44814 New file.
44815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44816 file.
44817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44818 file.
44819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44820 file.
44821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44822 file.
44823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44824 file.
44825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44826 New file.
44827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44828 New file.
44829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44830 file.
44831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44832 New file.
44833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44834 file.
44835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44837 file.
44838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44839 New file.
44840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44841 file.
44842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44843 file.
44844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44845 file.
44846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44847 file.
44848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44849 file.
44850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44851 New file.
44852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44853 New file.
44854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44855 file.
44856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44857 New file.
44858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44859 file.
44860
41d73a1b
JM
448612012-04-28 Joseph Myers <joseph@codesourcery.com>
44862
44863 * conform/conformtest.pl: Fix typo in handling typed-constant from
44864 allow-header.
44865
28aeeda4
JM
448662012-04-27 Joseph Myers <joseph@codesourcery.com>
44867
adae8f5e
JM
44868 * README: Cut down references to pre-2.6 Linux kernels and
44869 Linuxthreads. Update lists of configurations in libc and ports
44870 and sort alphabetically. Say "or newer" with Linux kernel version
44871 requirements.
44872
28aeeda4
JM
44873 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44874
a462cb63
RA
448752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44876
44877 [BZ #887]
44878 * math/libm-test.inc (logb_test_downward): New test to expose
44879 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44880 rounding mode.
44881
6ad3493e
JM
448822012-04-27 Joseph Myers <joseph@codesourcery.com>
44883
44884 [BZ #14027]
44885 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44886 to be done.
44887 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44888 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44889
2ce4f015
JM
448902012-04-26 Joseph Myers <joseph@codesourcery.com>
44891
5aeb141a
JM
44892 * sysdeps/unix/i386/brk.S: Remove file.
44893 * sysdeps/unix/i386/dl-brk.S: Likewise.
44894 * sysdeps/unix/i386/pipe.S: Likewise.
44895 * sysdeps/unix/i386/sigreturn.S: Likewise.
44896 * sysdeps/unix/i386/syscall.S: Likewise.
44897 * sysdeps/unix/i386/vfork.S: Likewise.
44898 * sysdeps/unix/i386/wait.S: Likewise.
44899
7143acae
JM
44900 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44901 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44902
2ce4f015
JM
44903 * configure.in (arm*-none*): Do not allow without
44904 --enable-hacker-mode.
44905 (netbsd*): Remove case setting base_os.
44906 (386bsd*): Likewise.
44907 (freebsd*): Likewise.
44908 (bsdi*): Likewise.
44909 (osf*): Likewise.
44910 (sunos*): Likewise.
44911 (ultrix*): Likewise.
44912 (newsos*): Likewise.
44913 (dynix*): Likewise.
44914 (*bsd*): Likewise.
44915 (sysv*): Likewise.
44916 (isc*): Likewise.
44917 (esix*): Likewise.
44918 (sco*): Likewise.
44919 (minix*): Likewise.
44920 (irix4*): Likewise.
44921 (irix6*): Likewise.
44922 (solaris[2-9]*): Likewise.
44923 (none): Likewise.
44924 * configure: Regenerated.
44925
0ac229c8
AZ
449262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44927
44928 [BZ #11521]
44929 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44930 overflow or cancellation in calculating denominator.
44931 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44932 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44933 down expression to avoid unexpected rounding in newer GCCs.
44934 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44935
33f244f4
DM
449362012-04-26 David S. Miller <davem@davemloft.net>
44937
44938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44939 long-double compat symbols.
44940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44953
cfa1f3e8
DM
449542012-04-25 David S. Miller <davem@davemloft.net>
44955
44956 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44957 HWCAP_* values only after the memory barriers have been defined.
44958 (atomic_full_barrier): Define.
44959 (atomic_read_barrier): Define.
44960 (atomic_write_barrier): Define.
44961
6e236b92
SP
449622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44963
44964 * shlib-versions: Add libgcc_s version information.
44965 * sysdeps/generic/libgcc_s.h: Remove.
44966 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44967 libgcc_s.h.
44968 * sysdeps/gnu/unwind-resume.c: Likewise.
44969 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44970
aab39a09
DM
449712012-04-25 David S. Miller <davem@davemloft.net>
44972
44973 * sysdeps/unix/sparc/brk.S: Delete.
44974 * sysdeps/unix/sparc/dl-brk.S: Delete.
44975 * sysdeps/unix/sparc/pipe.S: Delete.
44976 * sysdeps/unix/sparc/sysdep.S: Delete.
44977 * sysdeps/unix/sparc/sysdep.h: Delete.
44978 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44979 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44980 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44981 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44982 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44983 (JUMPTARGET): Remove.
44984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44985 sysdeps/unix/sparc/sysdep.h
44986 (ENTRY, END): Remove.
44987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44988
a3cc4f48
JM
449892012-04-25 Joseph Myers <joseph@codesourcery.com>
44990
2ed8cda2
JM
44991 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44992 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44993 -DIS_IN_build.
44994
35d76d59
JM
44995 * timezone/README: Update upstream location and email address for
44996 tzcode and tzdata.
44997 * timezone/zdump.c: Update from tzcode 2012b.
44998 * timezone/zic.c: Likewise.
44999
a3cc4f48
JM
45000 * configure.in (libc_cv_as_needed): Remove test.
45001 * configure: Regenerated.
45002 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45003 conditional definition.
45004 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45005 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45006 * config.make.in (have-as-needed): Remove variable.
45007
ceab42c3
SP
450082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45009 Paul Pluzhnikov <ppluzhnikov@google.com>
45010
45011 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45012 strings correctly.
45013
3ce2865f
CLT
450142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45015
45016 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45017 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45018 * sysdeps/sh/strlen.S: Likewise.
45019
f37e0d68
JM
450202012-04-24 Joseph Myers <joseph@codesourcery.com>
45021
ae186e9a
JM
45022 * sysdeps/unix/fork.S: Remove file.
45023 * sysdeps/unix/i386/fork.S: Likewise.
45024 * sysdeps/unix/sparc/fork.S: Likewise.
45025
b96914af
JM
45026 * sysdeps/unix/system.c: Remove file.
45027 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45028
f37e0d68
JM
45029 * sysdeps/unix/getegid.S: Remove file.
45030 * sysdeps/unix/geteuid.S: Likewise.
45031
87ef29ca
RM
450322012-04-24 Roland McGrath <roland@hack.frob.com>
45033
83bcd236
RM
45034 * scripts/check-localplt.awk: New file.
45035 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45036 of diff.
45037 * scripts/data/localplt-generic.data: Add a comment.
45038
87ef29ca
RM
45039 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45040 NODE when __dir_mkfile failed.
45041 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45042 Reported by Ludovic Courtès <ludo@gnu.org>.
45043
e5a6e567
AJ
450442012-04-24 Andreas Jaeger <aj@suse.de>
45045
45046 * Makerules (common-clean): Also remove gen-as-const-headers
45047 files.
45048
c1820385
JM
450492012-04-24 Joseph Myers <joseph@codesourcery.com>
45050
45051 * Makerules (native-compile): Do not change working directory for
45052 build. Use $(OUTPUT_OPTION) in command.
45053 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45054
94e02fc4
AZ
450552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45056
45057 [BZ #13886]
45058 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45059 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45060 * math/libm-test.inc (floor_test): Add more tests.
45061 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45062
3a533ca3
JM
450632012-04-24 Joseph Myers <joseph@codesourcery.com>
45064
940ab4b3
JM
45065 * sysdeps/unix/getdents.c: Remove file.
45066 * sysdeps/unix/sysv/getdents.c: Likewise.
45067 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45068
90e037bd
JM
45069 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45070 sysdeps/unix/mman/syscalls.list.
45071 (mmap): Likewise.
45072 (mprotect): Likewise.
45073 (msync): Likewise.
45074 (munmap): Likewise.
45075 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45076 * sysdeps/unix/mman/syscalls.list: Remove.
45077 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45078
3a533ca3
JM
45079 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45080 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45081 * configure: Regenerated.
45082 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45083 $(libgcc_s_suffix).
45084 * config.make.in (libgcc_s_suffix): Remove variable.
45085
1ad743de
JM
450862012-04-23 Joseph Myers <joseph@codesourcery.com>
45087
4ad451e2
JM
45088 * sysdeps/unix/sysv/gethostname.c: Move to ...
45089 * sysdeps/posix/gethostname.c: ... here.
45090
5e37ce39
JM
45091 * sysdeps/unix/execve.S: Remove file.
45092
1ad743de
JM
45093 * sysdeps/unix/_exit.S: Remove file.
45094
4e681b5b
AJ
450952012-04-23 Andreas Jaeger <aj@suse.de>
45096
45097 [BZ #13739]
45098 * manual/Makefile: Remove make dist support, there's no
45099 need for a stand-alone documentation tar ball.
45100 (TEXI2DVI): Define always, it's not in Makeconfig.
45101 (dist): Removed.
45102 (tar-it): Removed.
45103 (edition): Removed.
45104 (glibc-doc-$(edition).tar): Removed
45105 (%.Z): Removed.
45106 (%.gz): Removed.
45107 (%.uu): Removed.
45108 (ETAGS): Remove, it's in Makeconfig.
45109 (move-if-change): Remove, it's in Makeconfig.
45110
38686a03 451112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45112
45113 [BZ #13970]
45114 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45115 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45116 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45117 (strtod_l, strtof_l, strtold_l): Remove __wur.
45118 It is not necessarily an error to ignore strtol's return value.
45119 One can reliably look at the stored endptr to decide whether
45120 the number had valid syntax.
45121
7c0616fa
AJ
451222012-04-21 Andreas Jaeger <aj@suse.de>
45123
803cb6b7 45124 [BZ #13739]
7c0616fa
AJ
45125 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45126
b0fe253f
JM
451272012-04-21 Joseph Myers <joseph@codesourcery.com>
45128
45129 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45130 * sysdeps/unix/sysv/Versions: Remove file.
45131
8280f22d
MT
451322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45133
45134 [BZ #13927]
45135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45136
75ce411f 451372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45138
45139 [BZ #7064]
45140 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45141 version from __vm86.
45142
097d59fa
JM
451432012-04-20 Joseph Myers <joseph@codesourcery.com>
45144
a90f3bcb
JM
45145 * sysdeps/unix/common/lxstat.c: Remove file.
45146 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45147
edc7ea78
JM
45148 * sysdeps/unix/sysv/Makefile: Remove file.
45149
cb78c221
JM
45150 * sysdeps/unix/sysv/direct.h: Remove file.
45151
efa6a45f
JM
45152 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45153 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45154 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45155 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45156 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45157 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45158 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45159
9c9f2d0c
JM
45160 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45161
4541c83b
JM
45162 * sysdeps/unix/xmknod.c: Remove file.
45163 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45164
f5d153a0
JM
45165 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45166
aa746595
JM
45167 * sysdeps/unix/sysv/i386/time.S: Remove file.
45168
cce5905e
JM
45169 * sysdeps/unix/fxstat.c: Remove file.
45170 * sysdeps/unix/xstat.c: Likewise.
45171 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45172
37fa3841
JM
45173 * sysdeps/unix/sysv/sigaction.c: Remove file.
45174
ff1962a3
JM
45175 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45176 (sysdep_headers): Remove variable.
45177 [termio.h not in sysdep_headers] (generated): Likewise.
45178 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45179 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45180 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45181 * sysdeps/unix/sysv/tcflow.c: Likewise.
45182 * sysdeps/unix/sysv/tcflush.c: Likewise.
45183 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45184 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45185 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45186 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45187 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45188
e7740d31
JM
45189 * sysdeps/unix/siglist.c: Remove file.
45190
ee06f18b
JM
45191 * sysdeps/unix/getppid.S: Remove file.
45192
097d59fa
JM
45193 * sysdeps/unix/mkdir.c: Remove file.
45194 * sysdeps/unix/rmdir.c: Likewise.
45195
ff3d51ec
AS
451962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45197
45198 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45199 ERR_MAX value.
45200 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45201 errlist-compat value.
45202
50f81fd7
DM
452032012-04-18 David S. Miller <davem@davemloft.net>
45204
45205 * sysdeps/generic/memcopy.h (reg_char): Delete.
45206 * debug/strcat_chk.c: Use char, not reg_char.
45207 * debug/strcpy_chk.c: Likewise.
45208 * debug/strncat_chk.c: Likewise.
45209 * debug/strncpy_chk.c: Likewise.
45210 * string/memchr.c: Likewise.
45211 * string/memrchr.c: Likewise.
45212 * string/rawmemchr.c: Likewise.
45213 * string/strcat.c: Likewise.
45214 * string/strchr.c: Likewise.
45215 * string/strchrnul.c: Likewise.
45216 * string/strcmp.c: Likewise.
45217 * string/strcpy.c: Likewise.
45218 * string/strncat.c: Likewise.
45219 * string/strncmp.c: Likewise.
45220 * string/strncpy.c: Likewise.
45221
8ff41c46
WS
452222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45223
45224 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45225 __builtin_memcopy is called when src and dest ranges are known to not
45226 overlap.
45227
6b652f46
WS
452282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45229
45230 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45231 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45232 fwd_align_merge macro call.
45233 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45234 bwd_align_merge macro call.
45235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45236
b282631e
WS
452372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45238
45239 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45240 bwd_align_merge macros.
45241 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45242 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45244
95aa737c
DM
452452012-04-18 David S. Miller <davem@davemloft.net>
45246
45247 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45248
7a99a614
AJ
452492012-04-18 Andreas Jaeger <aj@suse.de>
45250
45251 [BZ# 6794]
45252 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45253 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45254 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45255
45256 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45257 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45258 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45259
45260 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45261 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45262 Adjust for changed ldbl-128 files.
45263
45264 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45265 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45266 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45267
e5270c23
DM
452682012-04-17 David S. Miller <davem@davemloft.net>
45269
45270 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45271
fb5e92c9
AS
452722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45273
45274 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45275 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45276 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45277 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45278 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45279 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45280
76da7265
AZ
452812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45282
45283 [BZ #6794]
45284 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45285 * math/libm-test.inc: Add ilogb errno and exception tests.
45286 * math/w_ilogb.c: New file: ilogb wrapper.
45287 * math/w_ilogbf.c: New file: ilogbf wrapper.
45288 * math/w_ilogbl.c: New file: ilogbl wrapper.
45289 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45290 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45291 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45292 exception being thrown with 0.0 as argument.
45293 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45294 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45295 exception being thrown with 0.0 as argument.
45296 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45297 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45298 exception being thrown with 0.0 as argument.
45299 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45300 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45301 exception being thrown with 0.0 as argument.
45302 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45303 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45304 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45305 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45306 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45307 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45308 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45309 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45310 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45311
0396e69d
PB
453122012-04-17 Petr Baudis <pasky@ucw.cz>
45313
45314 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45315 with altivec.
45316
750b5926
MP
453172012-04-16 Marek Polacek <polacek@redhat.com>
45318
45319 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45320
751728a1
MP
453212012-04-16 Marek Polacek <polacek@redhat.com>
45322
45323 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45324 operands of fdivp instruction.
45325
34a27407
L
453262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45327
45328 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45329 * elf/tst-auditmod3b.c: Likewise.
45330 * elf/tst-auditmod4b.c: Likewise.
45331 * elf/tst-auditmod5b.c: Likewise.
45332 * elf/tst-auditmod6b.c: Likewise.
45333 * elf/tst-auditmod6c.c: Likewise.
45334 * elf/tst-auditmod7b.c: Likewise.
45335 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45336 * sysdeps/x86_64/preconfigure.in: Likewise.
45337 * sysdeps/x86_64/preconfigure: Regenerated.
45338
7e73e17d
L
453392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45340
45341 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45342 __ILP32__.
45343
c7a6ab72
AB
453442012-04-13 Antoine Balestrat <merkil33@gmail.com>
45345
45346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45347 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45348
a9e8e0e0
CL
453492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45350
45351 [BZ #13973]
45352 * locale/iso-639.def: Fix gl language name. Spotted by
45353 Yaron Shahrabani.
45354
ec98af7d
RM
453552012-04-12 Roland McGrath <roland@hack.frob.com>
45356
45357 [BZ #2074]
45358 * libio/libio.h (__io_write_fn): Update comment.
45359
247c3ede
PB
453602012-04-12 Petr Baudis <pasky@ucw.cz>
45361
45362 [BZ #2074]
45363 * stdio.texi (Hook Functions): The user provided writer function
45364 is not allowed to return -1.
45365
55939d6d
DM
453662012-04-11 David S. Miller <davem@davemloft.net>
45367
45368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45369
90020f5a
MF
453702012-04-11 Mike Frysinger <vapier@gentoo.org>
45371
45372 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45373 Add a leading slash to rtkaio.
45374
288f9098
JM
453752012-04-11 Jim Meyering <meyering@redhat.com>
45376
90020f5a
MF
45377 [BZ #11959]
45378 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45379 It is not necessarily an error to ignore fwrite's return
45380 value. One can reliably use ferror to test for errors after
45381 the fact.
288f9098 45382
4be2b570
L
453832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45384
45385 * bits/types.h (__snseconds_t): New type.
45386 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45387
45388 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45389 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45390 (__SNSECONDS_T_TYPE): Likewise.
45391 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45392 (__SNSECONDS_T_TYPE): Likewise.
45393 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45394 (__SNSECONDS_T_TYPE): Likewise.
45395
288f9098 453962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45397
45398 [BZ #2636]
45399 * manual/time.texi (Processor Time): Return type of times is
45400 elapsed real time since an arbitrary point in the past.
45401 (CPU Time): Move CLK_TCK from here...
45402 (Processor Time): ...to here. Correct description.
45403 * manual/conf.texi (Constants for Sysconf): Correct description of
45404 _SC_CLK_TCK.
45405
d7dd4413
DM
454062012-04-10 David S. Miller <davem@davemloft.net>
45407
45408 [BZ #13967]
45409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45410 where the is a gap between DT_REL(A) and DT_JMPREL.
45411
b46068fc
L
454122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45413
45414 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45415 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45416 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45417
73d65cc3
SP
454182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45419
45420 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45421 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45422 (dl_main): Handle --inhibit-cache.
45423 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45424 _dl_inhibit_cache.
45425 * elf/dl-load.c (_dl_map_object): Use it.
45426 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45427
bcc8d661
JM
454282012-04-09 Joseph Myers <joseph@codesourcery.com>
45429
8f9a2fae
JM
45430 [BZ #13872]
45431 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45432 (__ieee754_powl): Saturate large exponents rather than testing for
45433 overflow of y*log2(x).
45434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45435 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45436 exceptions.
45437
bcc8d661
JM
45438 [BZ #11521]
45439 * math/s_ctan.c: Include <float.h>.
45440 (__ctan): Avoid internal overflow or cancellation in calculating
45441 denominator.
45442 * math/s_ctanf.c: Likewise.
45443 * math/s_ctanl.c: Likewise.
45444 * math/s_ctanh.c: Likewise.
45445 * math/s_ctanhf.c: Likewise.
45446 * math/s_ctanhl.c: Likewise.
45447 * math/libm-test.inc (ctan_test): Add more tests.
45448 (ctanh_test): Likewise.
45449 * sysdeps/i386/fpu/libm-test-ulps: Update.
45450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45451
823fbbb4
AJ
454522012-04-09 Andreas Jaeger <aj@suse.de>
45453
03879793
AJ
45454 [BZ #6894]
45455 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45456 is an optional BSD extension.
45457
823fbbb4
AJ
45458 [BZ #10254]
45459 * manual/stdio.texi (Opening Streams): Document additional fopen
45460 parameters.
45461
8de131cb
RM
454622012-04-09 Roland McGrath <roland@hack.frob.com>
45463
45464 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45465 %eax without telling the compiler.
45466
c0ed9d7d
CD
454672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45468
45469 [BZ # 13963]
45470 * manual/install.texi: Use sourceware.org.
45471
c483f6b4
JM
454722012-04-09 Joseph Myers <joseph@codesourcery.com>
45473
d7dd9453
JM
45474 [BZ #13873]
45475 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45476 (__ieee754_pow): Generate overflow and underflow using huge*huge
45477 and tiny*tiny rather than just returning constant infinity or zero
45478 for large exponents.
45479 * math/libm-test.inc (pow_test): Require overflow exceptions for
45480 applicable cases of large exponents.
45481
c483f6b4
JM
45482 [BZ #706]
45483 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45484 (__ieee754_pow): Use iterative multiplication algorithm only for
45485 integer exponents with absolute value below 1024. Check for odd
45486 integer exponents when using algorithm for real exponents.
45487 * math/libm-test.inc (pow_test): Add more tests.
45488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45489
d2de7579
JM
454902012-04-08 Joseph Myers <joseph@codesourcery.com>
45491
45492 [BZ #13705]
45493 * math/libm-test.inc (exp_test): Do not allow overflow exception
45494 on underflow test.
45495
f77f1232
AJ
454962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45497
45498 [BZ #13705]
45499 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45500 instead of __kernel_standard_f.
45501
3884932b
MF
455022012-04-08 Mike Frysinger <vapier@gentoo.org>
45503
45504 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45505 * sysdeps/x86_64/memset_chk.S: Likewise.
45506
54472e9c
AJ
455072012-04-08 Andreas Jaeger <aj@suse.de>
45508
6ab0fbfc
AJ
45509 [BZ #10153]
45510 * manual/startup.texi (Environment Access): Describe return value
45511 for putenv and setenv.
45512
61efba8c
AJ
45513 [BZ #6895]
45514 * manual/filesys.texi (Directory Entries): Add description for
45515 DT_LNK.
45516
95c3f29a
AJ
45517 [BZ #6890]
45518 * manual/filesys.texi (Directory Entries): Clarify that it's file
45519 system not operating system in the description of DT_UNKNOWN.
45520
54472e9c
AJ
45521 [BZ #6578]
45522 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45523
624254b1
SC
455242012-04-08 Stephen Compall <s11@member.fsf.org>
45525
45526 [BZ #6649]
45527 * manual/llio.texi (Opening and Closing Files): Add cross
45528 reference to explain mode argument.
45529
1e4920e0
MF
455302012-04-07 Mike Frysinger <vapier@gentoo.org>
45531
45532 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45533 * sysdeps/x86_64/memset_chk.S: Likewise.
45534
5ed848f3
DM
455352012-04-07 David S. Miller <davem@davemloft.net>
45536
45537 * elf/elf.h (R_SPARC_WDISP10): Define.
45538 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45539 R_SPARC_SIZE32.
45540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45541 R_SPARC_SIZE64 and R_SPARC_H34.
45542
96154cd8
CD
455432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45544
45545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45546 conditions and remove no longer applicable assertion.
45547
9904dc47
L
455482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45549
45550 * bits/byteswap.h: Include <features.h>.
45551 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45552 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45553
f8887d0a
L
455542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45555
45556 * bits/byteswap.h (__bswap_16): Removed.
45557 Include <bits/byteswap-16.h> to get __bswap_16.
45558 * sysdeps/i386/bits/byteswap.h: Likewise.
45559 * sysdeps/s390/bits/byteswap.h: Likewise.
45560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45561 * bits/byteswap-16.h: New file.
45562 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45563 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45564 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45565 * string/Makefile (headers): Add bits/byteswap-16.h.
45566
62470f60
PP
455672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45568
45569 [BZ #13895]
45570 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45571 extra indirection.
45572 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45573 * nss/tst-nss-static.c: New.
45574
4dad7bab
RM
455752012-04-06 Robert Millan <rmh@gnu.org>
45576
45577 [BZ #6486]
45578 * manual/llio.texi (File Position Primitive): lseek
45579 refers to WHENCE when it really means OFFSET.
45580
e9142a17
AJ
455812012-04-06 Andreas Jaeger <aj@suse.de>
45582
2c040eff
AJ
45583 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45584 strncmp declarations.
45585
e9142a17
AJ
45586 * abilist/libc.abilist: Add __poll and __ppoll.
45587
ff9f1c5f
DM
455882012-04-05 David S. Miller <davem@davemloft.net>
45589
dcd2ae90
DM
45590 * scripts/check-local-headers.sh: Accept a host triplet in the
45591 path matched by the exclude regexp.
45592
993eb054
DM
45593 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45594 definition.
45595 * sysdeps/powerpc/powerpc32/dl-machine.h
45596 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45597 * sysdeps/s390/s390-32/dl-machine.h
45598 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45599 * sysdeps/sparc/sparc32/dl-machine.h
45600 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45601 * sysdeps/sparc/sparc64/dl-machine.h
45602 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45603
ff9f1c5f
DM
45604 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45605 lazy binding.
48e2e132 45606 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45607 undefined symbol errors.
45608
48e2e132 45609 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45610 DT_NEEDED entries.
45611
e80d6f94
MM
456122012-04-05 Michael Matz <matz@suse.de>
45613
45614 [BZ #13592]
45615 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45616
349fa79f
AJ
456172012-04-05 Andreas Jaeger <aj@suse.de>
45618
45619 [BZ #13908]
45620 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45621 comment.
45622
f402708f
KK
456232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45624
45625 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45626 which ROUND is no valid rounding mode.
45627
2ecccfc9
KK
456282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45629
45630 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45631 read again.
45632 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45633
8a53f50f
KK
456342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45635
45636 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45637 an exception using FPU order intentionally.
45638
456392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45640
45641 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45642 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45643 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45644 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45645
d653abb7
SJ
456462012-04-05 Simon Josefsson <simon@josefsson.org>
45647
45648 [BZ #12340]
45649 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45650 EINVAL when BUFLEN is too smal.
45651
c3b1bf7d
TS
456522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45653
45654 [BZ #13553]
45655 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45656 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45657
b1aa60f3
AJ
456582012-04-03 Andreas Jaeger <aj@suse.de>
45659
c3b1bf7d 45660 [BZ #13938]
67f60a26
AJ
45661 * manual/setjmp.texi (System V contexts): Fix sentence.
45662
b1aa60f3
AJ
45663 [BZ #13926]
45664 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45665 New macro for this case.
45666 [!__GNUC__] (__bswap_64): New inline function for this case.
45667 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45668 * bits/byteswap.h: Likewise.
45669 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45670 ull, guard with __GLIBC_HAVE_LONG_LONG.
45671
45672 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45673 __GLIBC_HAVE_LONG_LONG.
45674
45675 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45676 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45677
39c59c35
TMQMF
456782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45679
45680 [BZ #13691]
45681 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45682 inptr and inend, rather than using last_ch.
45683
135ffda8
DM
456842012-04-02 David S. Miller <davem@davemloft.net>
45685
45686 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45687 * stdio-common/printf-parse.h (read_int): Change return type to
45688 'int', return -1 on INT_MAX overflow.
45689 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45690 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45691 overflows INT_MAX. Check for overflow of in-format-string precision
45692 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45693 SIZE_MAX not INT_MAX for integer overflow test.
45694 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45695 skip the construct in the format string but do not record anything.
45696 * stdio-common/bug22.c: Adjust to test both width/prevision
45697 INT_MAX overflow as well as total length INT_MAX overflow. Check
45698 explicitly for proper errno values.
45699
228c019e
TS
457002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45701
302cadd3
TS
45702 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45703 CHAR_MAX.
45704 * string/test-strcmp.c [! WIDE]: Likewise.
45705 * time/tst-mktime2.c: Likewise for INT_MAX.
45706 * string/test-string.h: #include <sys/param.h> for MIN.
45707
228c019e
TS
45708 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45709 * sysdeps/i386/init-first.c (init): Likewise.
45710 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45711 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45712 * sysdeps/sh/init-first.c (init): Likewise.
45713
cfa633f5
UD
457142012-04-01 Ulrich Drepper <drepper@gmail.com>
45715
45716 * po/ru.po: Update from translation team.
d1635ef8 45717 * po/vi.po: Likewise.
cfa633f5 45718
6cd0a5ea
SP
457192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45720
45721 * resolv/nss_dns/dns-host.c: Merge copyright years.
45722
4b43400f
LD
457232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45724
45725 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45726 Optimize memcpy with prefetch if
45727 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45728 src, dst pointers have unequal 16 byte alignments.
45729
48c41d04
SP
457302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45731
45732 [BZ #13928]
45733 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45734 from a CNAME entry and return the minimum ttl for the query.
45735 (gaih_getanswer_slice): Likewise.
45736
b8dc394d
JL
457372012-03-30 Jeff Law <law@redhat.com>
45738
45739 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45740 due to long keys.
45741 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45742 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45743
2f5a5ed0
JL
45744 * resolv/nss_dns/dns-host.c: Update copyright year.
45745
1d39e359
UD
457462012-03-30 Ulrich Drepper <drepper@gmail.com>
45747
c030f70c 45748 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45749 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45750
1d39e359
UD
45751 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45752 comments for sendmmsg.
45753
457542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45755
45756 [BZ #13691]
45757 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45758 with only 1 character between 0x0041 and 0x01b0.
45759 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45760 * wcsmbs/tst-mbsnrtowcs.c: New file.
45761
20fde227
DM
457622012-03-29 David S. Miller <davem@davemloft.net>
45763
45764 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45765 small copies by hand.
45766
984a4237
JL
457672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45768
45769 [BZ #13761]
57f41c40
AS
45770 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45771 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45772 group memberships.
984a4237 45773
18c9d62b
DM
457742012-03-28 David S. Miller <davem@davemloft.net>
45775
88d85d4f
DM
45776 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45777 that branches into memcpy.
45778 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45781 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45783 bits.
45784 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45785 implementation too.
45786 * sysdeps/sparc/mempcpy.S: New file.
45787
e5aa83e1
DM
45788 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45789 the IFUNC routine in the libc case.
45790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45791
88570753
DM
45792 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45793 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45794 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45795 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45796 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45797 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45798 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45799 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45800
249d7567
DM
45801 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45802 loop to 256 bytes instead of 64 bytes and fix test signedness.
45803
18c9d62b
DM
45804 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45805 * sysdeps/sparc/sparc32/Makefile: rather than here...
45806 * sysdeps/sparc/sparc64/Makefile: and here.
45807
05f3d1f6
UD
458082012-03-28 Ulrich Drepper <drepper@gmail.com>
45809
45810 * malloc/mallocbug.c: Avoid warnings about unused variables.
45811
86ae07a8
JL
458122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45813
45814 [BZ #13760]
45815 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45816 in the right place. Discard and retry query if response is
45817 larger than input buffer size.
45818
41bf21a1
JM
458192012-03-28 Joseph Myers <joseph@codesourcery.com>
45820
d6270972
JM
45821 [BZ #369]
45822 [BZ #2678]
45823 [BZ #3866]
45824 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45825 x for large integer exponent.
45826 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45827 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45828 sign of result as needed afterwards.
45829 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45830 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45831 result for underflowing pow the same as for overflow.
45832 (__kernel_standard_l): Handle powl overflow and underflow here
45833 rather than calling __kernel_standard.
45834 * math/libm-test.inc (pow_test): Add more tests.
45835
414fca03 45836 [BZ #3868]
41bf21a1
JM
45837 [BZ #13879]
45838 [BZ #13910]
45839 [BZ #13911]
45840 [BZ #13912]
45841 [BZ #13913]
45842 [BZ #13915]
45843 [BZ #13916]
45844 [BZ #13917]
45845 [BZ #13918]
45846 [BZ #13919]
45847 [BZ #13920]
45848 [BZ #13921]
45849 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45850 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45851 (__kernel_standard_l): New function.
45852 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45853 __kernel_standard.
45854 * math/w_acosl.c (__acosl): Likewise.
45855 * math/w_asinl.c (__asinl): Likewise.
45856 * math/w_atan2l.c (__atan2l): Likewise.
45857 * math/w_atanhl.c (__atanhl): Likewise.
45858 * math/w_coshl.c (__coshl): Likewise.
45859 * math/w_exp10l.c (__exp10l): Likewise.
45860 * math/w_exp2l.c (__exp2l): Likewise.
45861 * math/w_fmodl.c (__fmodl): Likewise.
45862 * math/w_hypotl.c (__hypotl): Likewise.
45863 * math/w_j0l.c (__j0l, __y0l): Likewise.
45864 * math/w_j1l.c (__j1l, __y1l): Likewise.
45865 * math/w_jnl.c (__jnl, __ynl): Likewise.
45866 * math/w_lgammal.c (__lgammal): Likewise.
45867 * math/w_log10l.c (__log10l): Likewise.
45868 * math/w_log2l.c (__log2l): Likewise.
45869 * math/w_logl.c (__logl): Likewise.
45870 * math/w_powl.c (__powl): Likewise.
45871 * math/w_remainderl.c (__remainderl): Likewise.
45872 * math/w_scalbl.c (sysv_scalbl): Likewise.
45873 * math/w_sinhl.c (__sinhl): Likewise.
45874 * math/w_sqrtl.c (__sqrtl): Likewise.
45875 * math/w_tgammal.c (__tgammal): Likewise.
45876 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45877 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45878 * math/libm-test.inc (acos_test): Add more tests.
45879 (acosh_test): Likewise.
45880 (asin_test): Likewise.
45881 (atanh_test): Likewise.
45882 (exp_test): Likewise.
45883 (exp10_test): Likewise.
45884 (exp2_test): Likewise.
45885 (expm1_test): Likewise.
45886 (lgamma_test): Likewise.
45887 (log_test): Likewise.
45888 (log10_test): Likewise.
45889 (log1p_test): Likewise.
45890 (log2_test): Likewise.
45891 (pow_test): Do not allow some spurious overflow exceptions.
45892 (sqrt_test): Add more tests.
45893 (tgamma_test): Likewise.
45894 (y0_test): Likewise.
45895 (y1_test): Likewise.
45896 (yn_test): Likewise.
45897
dd62fda6
AB
458982012-03-27 Anton Blanchard <anton@samba.org>
45899
45900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45901 MAP_HUGETLB.
45902 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45903 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45904 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45905
1e3cdfda
AJ
459062012-03-27 David S. Miller <davem@davemloft.net>
45907
b855ab85
DM
45908 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45909
1e3cdfda
AJ
45910 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45911 have-as-vis3 check.
45912
459132012-03-27 Andreas Jaeger <aj@suse.de>
45914
45915 * sysdeps/x86_64/elf/configure.in: Moved to ...
45916 * sysdeps/x86_64/configure.in: ... here.
45917 * sysdeps/x86_64/elf/start.S: Moved to ...
45918 * sysdeps/x86_64/start.S: ... here.
45919 * sysdeps/x86_64/elf/configure: Delete.
45920
45921 * sysdeps/x86_64/configure.in: Merge contents from
45922 sysdeps/i386/configure.in (without i686 check).
45923
45924 * sysdeps/i386/elf/Versions: Merge into ...
45925 * sysdeps/i386/Versions: ... this.
45926 * sysdeps/i386/elf/Versions: Delete file.
45927 * sysdeps/i386/elf/start.S: Moved to ...
45928 * sysdeps/i386/start.S: ...here.
45929 * sysdeps/i386/elf/configure.in: Merge into...
45930 * sysdeps/i386/configure.in: ...here.
45931 * sysdeps/i386/elf/configure.in: Delete file.
45932 * sysdeps/i386/elf/configure: Delete file.
45933
45934 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45935 * debug/backtracesyms.c: ... here.
45936 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45937 * debug/backtracesymsfd.c: ... here.
45938 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45939 * sysdeps/generic/ifunc-sel.h: ... here.
45940
45941 * sysdeps/unix/i386/start.c: Delete file.
45942 * sysdeps/unix/sparc/start.c: Delete file.
45943 * sysdeps/unix/start.c: Delete file.
45944
45945 * sysdeps/sh/elf/configure.in: Moved to ...
45946 * sysdeps/sh/configure.in: ... here.
45947 * sysdeps/sh/elf/start.S: Moved to ...
45948 * sysdeps/sh/start.S: ... here.
45949 * sysdeps/sh/elf/configure: Delete file.
45950
45951 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45952 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45953 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45954 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45955 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45956 * sysdeps/powerpc/powerpc64/start.S: here.
45957 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45958 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45959 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45960 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45961 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45962
45963 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45964 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45965 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45966 * sysdeps/powerpc/powerpc32/start.S: ... here.
45967 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45968 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45969 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45970
45971 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45972 * sysdeps/powerpc/ifunc-sel.h: ... here.
45973 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45974 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45975
45976 * sysdeps/sparc/elf/configure.in: Moved to ...
45977 * sysdeps/sparc/configure.in: ... here.
45978 * sysdeps/sparc/elf/configure: Delete file.
45979 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45980 * sysdeps/sparc/sparc32/start.S: ... here.
45981 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45982 * sysdeps/sparc/sparc64/start.S: ... here.
45983 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45984 * sysdeps/sparc/sparc32/Makefile: ... this.
45985 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45986 * sysdeps/sparc/sparc64/Makefile: ... this.
45987
45988 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45989 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45990 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45991 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45992 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45993 * sysdeps/s390/s390-32/setjmp.S: ... here.
45994 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45995 * sysdeps/s390/s390-32/configure.in: ... here.
45996 * sysdeps/s390/s390-32/elf/configure: Delete file.
45997 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45998 * sysdeps/s390/s390-32/start.S: ... here.
45999
46000 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46001 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46002 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46003 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46004 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46005 * sysdeps/s390/s390-64/setjmp.S: ... here.
46006 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46007 * sysdeps/s390/s390-64/configure.in: ... here
46008 * sysdeps/s390/s390-64/elf/configure: Delete file.
46009 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46010 * sysdeps/s390/s390-64/start.S: ... here.
46011 * sysdeps/s390/s390-64/elf/configure: Delete.
46012
46013 * configure.in: Remove support for elf directories in sysdeps.
46014
46015 * configure: Regenerated.
46016 * sysdeps/i386/configure: Regenerated.
46017 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46018 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46019 * sysdeps/s390/s390-32/configure: Regenerated.
46020 * sysdeps/s390/s390-64/configure: Regenerated.
46021 * sysdeps/sh/configure: Regenerated.
46022 * sysdeps/sparc/configure: Regenerated.
46023 * sysdeps/x86_64/configure: Regenerated.
46024
a3f61311
AS
460252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46026
c876e002
AS
46027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46028
a3f61311
AS
46029 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46030 denormal result into account.
46031
ac4c54f0
RM
460322012-03-25 Roland McGrath <roland@hack.frob.com>
46033
46034 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46035 Reported by Allan McRae <allan@archlinux.org>.
46036
6a9b9c02
JL
460372012-03-23 Jeff Law <law@redhat.com>
46038
46039 * nss/getnssent.c (__nss_getent): Fix typo.
46040
4c42a0c1
DM
460412012-03-23 David S. Miller <davem@davemloft.net>
46042
46043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46044
1532c7ac
L
460452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46046
46047 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46048 to pad to uint64_t for each field.
46049 (dl_tls_index): Replace unsigned long with uint64_t.
46050
3ff42526
PP
460512012-03-23 Daniel Jacobowitz <dmj@google.com>
46052 Paul Pluzhnikov <ppluzhnikov@google.com>
46053
46054 [BZ #6528]
46055 * grp/Makefile (otherlibs): Don't set it.
46056 * inet/Makefile (otherlibs): Likewise.
46057 * login/Makefile (otherlibs): Likewise.
46058 * nscd/Makefile (otherlibs): Likewise.
46059 * posix/Makefile (otherlibs): Likewise.
46060 * pwd/Makefile (otherlibs): Likewise.
46061 * rt/Makefile (otherlibs): Likewise.
46062 * sunrpc/Makefile (otherlibs): Likewise.
46063 * nss/Makefile (otherlibs): Likewise.
46064 Add libnss_files to routines and static-only-routines.
46065 ($(objpfx)getent): Remove rule.
46066 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46067 static-only-routines.
46068
7c69cd14
JM
460692012-03-22 Joseph Myers <joseph@codesourcery.com>
46070
46071 [BZ #13892]
46072 * math/s_cexp.c: Include <float.h>.
46073 (__cexp): Handle exp result overflowing not necessarily
46074 overflowing both real and imaginary parts of result.
46075 * math/s_cexpf.c: Likewise.
46076 * math/s_cexpl.c: Likewise.
46077 * math/libm-test.inc (cexp_test): Add more tests.
46078 * sysdeps/i386/fpu/libm-test-ulps: Update.
46079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46080
81b035fe
L
460812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46082
46083 * include/link.h (ELFW): New macro.
46084 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46085 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46086
1da7940c
L
460872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46088
46089 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46090 with uint64_t.
46091
b749dbb9
L
460922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46093
46094 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46095 declaration.
46096 (struct La_x32_retval): Likewise.
46097
2ff87f3f
L
460982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46099
46100 * sysdeps/x86_64/preconfigure.in: New file.
46101 * sysdeps/x86_64/preconfigure: New generated file.
46102
c0df8e69
JM
461032012-03-22 Joseph Myers <joseph@codesourcery.com>
46104
48e44791
JM
46105 [BZ #13824]
46106 * math/e_exp2l.c: Include <float.h>.
46107 (__ieee754_exp2l): Handle overflow and underflow cases
46108 separately. Only pass fractional part of argument to
46109 __ieee754_expl.
46110 * math/libm-test.inc (exp2_test): Add more tests.
46111
c0df8e69
JM
46112 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46113 negating x to take absolute value.
46114 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46115 Likewise.
46116 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46117 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46118 Likewise.
46119 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46120 computing low part if x was negated.
46121 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46122
c8e43ba7
L
461232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46124
46125 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46126 la_x32_gnu_pltexit.
46127 (pltexit): Cast int_retval to ptrdiff_t.
46128 * elf/tst-auditmod3b.c: Likewise.
46129 * elf/tst-auditmod4b.c: Likewise.
46130 * elf/tst-auditmod5b.c: Likewise.
46131 * elf/tst-auditmod6b.c: Likewise.
46132 * elf/tst-auditmod6c.c: Likewise.
46133 * elf/tst-auditmod7b.c: Likewise.
46134
46135 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46136 and x32_gnu_pltexit.
46137
46138 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46139 __ELF_NATIVE_CLASS.
46140 (La_x32_regs): New macro.
46141 (La_x32_retval): Likewise.
46142 (la_x32_gnu_pltenter): New function prototype.
46143 (la_x32_gnu_pltexit): Likewise.
46144
7998fa78
AS
461452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46146
dcb33988
AS
46147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46148 exponent.
46149
233fc563
AS
46150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46151
7998fa78
AS
46152 * configure.in (libc_cv_cc_nofma): Check for option to disable
46153 generation of FMA instructions.
46154 * configure: Regenerate.
46155 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46156 * sysdeps/ieee754/dbl-64/Makefile: New file.
46157 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46158 Remove brandred-fma4.
46159 (CFLAGS-brandred-fma4.c): Remove.
46160 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46161 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46162 define.
46163 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46164 define.
46165
8e95c99a
L
461662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46167
46168 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46169 LLONG_MAX != LONG_MAX.
46170 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46171 (_fitoa_word): Likewise.
46172 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46173 LLONG_MAX != LONG_MAX.
46174 * stdio-common/_itowa.h: Include <_itoa.h>.
46175 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46176 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46177 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46178 only if not defined.
46179 (_ITOA_WORD_TYPE): Likewise.
46180 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46181 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46182
6f4db457
DM
461832012-03-21 David S. Miller <davem@davemloft.net>
46184
46185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46186
7785fe5a
L
461872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46188
46189 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46190 of x86_64 when setting libc_cv_slibdir, libdir and
46191 libc_cv_localedir.
46192 * sysdeps/unix/sysv/linux/configure: Regenerated.
46193
4535cd55
JM
461942012-03-21 Joseph Myers <joseph@codesourcery.com>
46195
46196 * manual/lang.texi (Old Varargs): Remove section.
46197 (How Variadic): Update menu.
46198 (va_start): Do not mention varargs.h.
46199
17228132
TS
462002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46201 Joseph Myers <joseph@codesourcery.com>
46202
46203 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46204 link test.
46205 * configure: Regenerated.
46206
8149f976
TS
462072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46208
05f3d1f6
UD
46209 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46210 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46211 conformtest.pl
8149f976 46212
1a4ac776
JM
462132012-03-21 Joseph Myers <joseph@codesourcery.com>
46214
be22ce65
JM
46215 * NOTES: Remove.
46216 * Makefile (files-for-dist): Remove NOTES.
46217 (NOTES): Remove rule.
46218 * README: Don't refer to NOTES.
46219 * manual/creature.texi: Don't include macros.texi.
46220 * manual/intro.texi (creature.texi): Remove comment referring to
46221 NOTES.
46222
40b601fb
JM
46223 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46224 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46225 * configure: Regenerated.
46226 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46227 LIBC_TRY_CC_OPTION.
46228 (libc_cv_as_i686): Likewise.
46229 (libc_cv_cc_avx): Likewise.
46230 (libc_cv_cc_sse2avx): Likewise.
46231 (libc_cv_cc_fma4): Likewise.
46232 (libc_cv_cc_novzeroupper): Likewise.
46233 * sysdeps/i386/configure: Regenerated.
46234
1a4ac776
JM
46235 [BZ #13883]
46236 * sysdeps/i386/fpu/s_cexp.S: Remove.
46237 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46238 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46239 * math/libm-test.inc (cexp_test): Add more tests.
46240 * sysdeps/i386/fpu/libm-test-ulps: Update.
46241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46242
a458e7fe
AM
462432012-03-21 Allan McRae <allan@archlinux.org>
46244
46245 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46246
0cb7efc5
JM
462472012-03-21 Joseph Myers <joseph@codesourcery.com>
46248
46249 [BZ #13871]
46250 * math/w_exp2.c: Do not include <float.h>.
46251 (o_threshold, u_threshold): Remove.
46252 (__exp2): Calculate result before checking finiteness and calling
46253 __kernel_standard.
46254 * math/w_exp2f.c: Likewise.
46255 * math/w_exp2l.c: Likewise.
46256 * math/libm-test.inc (exp2_test): Require overflow exception for
46257 1e6 input.
2460d3aa
JM
46258
46259 [BZ #3866]
46260 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46261 range of signed 64-bit integers before using fistpll. Remove
46262 checks for whether integers fit in mantissa bits.
46263 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46264 the range of signed 32-bit integers before using fistpl. Remove
46265 checks for whether integers fit in mantissa bits.
46266 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46267 (__ieee754_powl): Test for y outside the range of signed 64-bit
46268 integers before using fistpll. Reduce 64-bit values to 63-bit
46269 ones as needed.
46270 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46271 divide-by-zero is raised for zero to large negative powers.
46272 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46273 (__ieee754_powl): Test for y outside the range of signed 64-bit
46274 integers before using fistpll. Reduce 64-bit values to 63-bit
46275 ones as needed.
46276 * math/libm-test.inc (pow_test): Add more tests.
46277
eb96ffb0
L
462782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46279
46280 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46281 <stdio-common/_itoa.h>.
46282 * debug/segfault.c: Likewise.
46283 * elf/dl-cache.c: Likewise.
46284 * elf/dl-minimal.c: Likewise.
46285 * elf/dl-misc.c: Likewise.
46286 * elf/dl-sysdep.c: Likewise.
46287 * elf/dl-version.c: Likewise.
46288 * elf/rtld.c: Likewise.
46289 * hurd/hurdsock.c: Likewise.
46290 * hurd/lookup-retry.c: Likewise.
46291 * malloc/malloc.c: Likewise.
46292 * malloc/mtrace.c: Likewise.
46293 * nscd/nscd_getgr_r.c: Likewise.
46294 * nscd/nscd_getpw_r.c: Likewise.
46295 * nscd/nscd_getserv_r.c: Likewise.
46296 * posix/getopt_init.c: Likewise.
46297 * posix/wordexp.c: Likewise.
46298 * stdio-common/_itoa.c: Likewise.
46299 * stdio-common/printf_fphex.c: Likewise.
46300 * stdio-common/vfprintf.c: Likewise.
46301 * string/_strerror.c: Likewise.
46302 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46303 * sysdeps/i386/i686/hp-timing.h: Likewise.
46304 * sysdeps/mach/_strerror.c: Likewise.
46305 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46306 * sysdeps/mach/hurd/sethostid.c: Likewise.
46307 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46308 * sysdeps/mach/xpg-strerror.c: Likewise.
46309 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46310 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46311 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46312 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46313 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46314 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46316 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46317 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46318 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46319 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46320 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46321 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46322 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46323 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46324 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46325 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46326 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46327 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46328 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46329 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46330
46331 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46332
46333 * stdio-common/_itoa.h: Moved to ...
46334 * sysdeps/generic/_itoa.h: Here.
46335
46336 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46337
46338 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46339 instead of "_itoa.h" and "_itowa.h".
46340 * stdio-common/vfprintf.: Likewise.
46341
d1af992d
L
463422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46345 <bits/wordsize.h>.
46346 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46347 (__signbit): Likwise.
46348 (llrintf): Likwise.
46349 (llrint): Likwise.
46350
114883e0
L
463512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46352
46353 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46354 __WORDSIZE != 64.
46355
c135cc1b
JM
463562012-03-20 Joseph Myers <joseph@codesourcery.com>
46357
46358 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46359 OVERFLOW_EXCEPTION_OK.
46360 * math/libm-test.inc ("Philosophy"): Update comment about
46361 exception testing.
46362 (OVERFLOW_EXCEPTION): Define.
46363 (OVERFLOW_EXCEPTION_OK): Likewise.
46364 (INVALID_EXCEPTION_OK): Renumber.
46365 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46366 (IGNORE_ZERO_INF_SIGN): Likewise.
46367 (test_exceptions): Handle FE_OVERFLOW.
46368 (exp10_test): Expect overflow exceptions.
46369 (exp2_test): Likewise.
46370 (expm1_test): Likewise.
46371 (nextafter_test): Likewise.
46372 (pow_test): Likewise.
46373 (scalbn_test): Likewise.
46374 (scalbln_test): Likewise.
46375
95443d88
L
463762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46377
46378 * sysdeps/x86_64/bits/atomic.h
46379 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46380 64bit integer.
46381 (atomic_exchange_acq): Likewise.
46382 (__arch_exchange_and_add_body): Likewise.
46383 (__arch_add_body): Likewise.
46384 (atomic_add_negative): Likewise.
46385 (atomic_add_zero): Likewise.
46386
490df6c4
L
463872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46388
c2722551 46389 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46390 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46391
5e52b189
L
463922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46393
46394 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46395 Check __x86_64__ instead of __WORDSIZE.
46396
a9879d4c
L
463972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46398
46399 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46400
5df98260
DM
464012012-03-19 David S. Miller <davem@davemloft.net>
46402
e1497744
DM
46403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46404
5df98260
DM
46405 * sysdeps/sparc/fpu/fenv_private.h: New file.
46406 * sysdeps/sparc/fpu/math_private.h: Use it.
46407 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46408 Remove.
57f41c40 46409 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46410 (libc_feholdexcept_setroundl): Remove.
46411 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46412 Remove.
46413 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46414 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46415
b4c35121
L
464162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46417
46418 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46419 int64_t instead of long int.
46420 (INSERT_WORDS64): Likwise.
46421
56965fd7
L
464222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46423
46424 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46425 _Unwind_GetCFA return to _Unwind_Ptr first.
46426
83d1aec8
JM
464272012-03-19 Joseph Myers <joseph@codesourcery.com>
46428
1897ad44
JM
46429 [BZ #13629]
46430 * math/s_clog.c: Include <float.h>.
46431 (__clog): Scale large or subnormal inputs.
46432 * math/s_clogf.c: Likewise.
46433 * math/s_clogl.c: Likewise.
46434 * math/s_clog10.c: Include <float.h>.
46435 (M_LOG10_2): Define.
46436 (__clog10): Scale large or subnormal inputs.
46437 * math/s_clog10f.c: Likewise.
46438 * math/s_clog10l.c: Likewise.
46439 * math/libm-test.inc (clog_test): Add more tests.
46440 (clog10_test): Likewise.
46441 * sysdeps/i386/fpu/libm-test-ulps: Update.
46442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46443
7726d6a9
JM
46444 [BZ #11451]
46445 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46446 x and y.
46447 * math/libm-test.inc (atan2_test): Add another test.
46448
83d1aec8
JM
46449 * Makerules (common-objdir-compile): Remove.
46450 * sysdeps/unix/Makefile (config-generated): Do not add
46451 $(unix-generated) to variable.
46452 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46453 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46454 Remove rule.
46455 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46456 Likewise.
46457 [generic bits/local_lim.h] (before-compile): Do not append to
46458 variable.
46459 [generic bits/local_lim.h] (common-generated): Likewise.
46460 [generic sys/param.h] (before-compile): Do not append to variable.
46461 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46462 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46463 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46464 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46465 include.
46466 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46467 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46468 [generic sys/param.h] ($(addprefix
46469 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46470 [generic sys/param.h] (common-generated): Do not append to
46471 variable.
46472 [generic sys/param.h] (sysdep_headers): Likewise.
46473 [generic bits/errno.h] (before-compile): Do not append to
46474 variable.
46475 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46476 rule.
46477 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46478 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46479 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46480 [generic bits/errno.h] (common-generated): Do not append to
46481 variable.
46482 [generic bits/ioctls.h] (before-compile): Do not append to
46483 variable.
46484 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46485 rule.
46486 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46487 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46488 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46489 rule.
46490 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46491 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46492 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46493 [generic bits/ioctls.h] (common-generated): Do not append to
46494 variable.
46495 [generic sys/syscall.h] (syscall.h): Remove variable.
46496 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46497 rule.
46498 [generic sys/syscall.h] (before-compile): Do not append to
46499 variable.
46500 [generic sys/syscall.h] (common-generated): Likewise.
46501 * sysdeps/unix/errnos-tmpl.c: Remove file.
46502 * sysdeps/unix/errnos.awk: Likewise.
46503 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46504 * sysdeps/unix/ioctls.awk: Likewise.
46505 * sysdeps/unix/mk-local_lim.c: Likewise.
46506 * sysdeps/unix/snarf-ioctls: Likewise.
46507
4851a949
RH
465082012-03-19 Richard Henderson <rth@twiddle.net>
46509
bd37f2ee
RH
46510 * sysdeps/i386/fpu/fenv_private.h: New file.
46511 * sysdeps/i386/fpu/math_private.h: Use it.
46512 (math_opt_barrier, math_force_eval): Remove.
46513 (libc_feholdexcept_setround_53bit): Remove.
46514 (libc_feupdateenv_53bit): Remove.
46515 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46516 (math_opt_barrier, math_force_eval): Remove.
46517 (libc_feholdexcept): Remove.
46518 (libc_feholdexcept_setround): Remove.
46519 (libc_fetestexcept, libc_fesetenv): Remove.
46520 (libc_feupdateenv_test): Remove.
46521 (libc_feupdateenv, libc_feholdsetround): Remove.
46522 (libc_feresetround): Remove.
46523
d0adc922
RH
46524 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46525 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46526
0fe0f1f8
RH
46527 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46528 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46529 (libc_feupdateenv_testl): New.
46530 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46531 (libc_feupdateenv_testf): New.
46532 (libc_feupdateenv): Use libc_feupdateenv_test.
46533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46534 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46535
eb92c487
RH
46536 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46537 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46538 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46539 (libc_feresetround_noex): New.
46540 (libc_feresetround_noexf): New.
46541 (libc_feresetround_noexl): New.
46542 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46543 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46544 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46545 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46546 SET_RESTORE_ROUND.
46547 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46549 (__cos): Likewise.
46550 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46551 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46552 SET_RESTORE_ROUND_NOEX.
46553 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46554 SET_RESTORE_ROUND_NOEXF.
46555 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46556 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46557 (libc_feholdsetroundf): New.
46558 (libc_feresetround, libc_feresetroundf): New.
46559
7d2e8012
RH
46560 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46561 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46562 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46563
b4dabbb4
RH
46564 * sysdeps/generic/math_private.h: Include <fenv.h>.
46565 (default_libc_feholdexcept): New.
46566 (default_libc_feholdexcept_setround): New.
46567 (default_libc_fesetenv, default_libc_feupdateenv): New.
46568 (libc_feholdexcept): Only define if undefined.
46569 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46570 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46571 (libc_feholdexcept_setroundl): Likewise.
46572 (libc_feholdexcept_setround_53bit): Likewise.
46573 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46574 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46575 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46576 (libc_feupdateenv_53bit): Likewise.
46577 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46578 (libc_feholdexcept): Convert from macro to inline function.
46579 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46580 (libc_fesetenv, libc_feupdateenv): Likewise.
46581
4851a949
RH
46582 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46583 not previously defined.
46584 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46585 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46586 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46587 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46588 * sysdeps/ieee754/flt-32/math_private.h: New file.
46589 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46590 math_private.h below SET_FLOAT_WORD.
46591 (__isnan, __isinf_ns, __finite): Remove.
46592 (__isnanf, __isinf_nsf, __finitef): Remove.
46593
e79d442e
AS
465942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46595
46596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46597
90b80344
DM
465982012-03-17 David S. Miller <davem@davemloft.net>
46599
46600 [BZ #6471]
46601 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46602 for 2.16.
46603
edc21804
DM
466042012-03-16 David S. Miller <davem@davemloft.net>
46605
77e927af
DM
46606 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46607 warnings.
46608
374976dd
DM
46609 [BZ #6471]
46610 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46611 properly.
46612 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46613 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46614 sysdep_routines when subdir is sysvipc.
46615 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46616 __getshmlba helper.
46617
edc21804
DM
46618 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46619
473c3ef3
L
466202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46621
46622 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46623 [__LP64__].
46624
eb0f39b6
L
466252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46626
46627 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46628 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46629 (__lround): Renamed to ...
46630 (__llround): This. Replace long int with long long int.
46631 Define lround functions as aliases of llround functions.
46632 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46633
6b6cd74b
L
466342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46635
46636 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46637 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46638 adresses to uintptr_t. Replace "long int" and "unsigned long
46639 int" with "greg_t" on va_arg.
46640
f1a77b01
L
466412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46642
46643 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46644 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46645
46646 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46647 Move e_machine check before EI_CLASS check. Handle x32
46648 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46649 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46650 SKIP_EM_IA_64 and include
46651 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46652
46653 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46654 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46655 (add_system_dir): New macro.
46656
46657 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46658 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46659
11b90b9f
JM
466602012-03-16 Joseph Myers <joseph@codesourcery.com>
46661
c36e1d23
JM
46662 [BZ #2551]
46663 [BZ #2552]
46664 [BZ #2553]
46665 [BZ #2554]
46666 [BZ #2562]
46667 [BZ #2563]
46668 [BZ #2565]
46669 [BZ #2566]
46670 [BZ #2576]
46671 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46672 (y0): Likewise.
46673 * math/w_j0f.c (j0f): Likewise.
46674 (y0f): Likewise.
46675 * math/w_j0l.c (__j0l): Likewise.
46676 (__y0l): Likewise.
46677 * math/w_j1.c (j1): Likewise.
46678 (y1): Likewise.
46679 * math/w_j1f.c (j1f): Likewise.
46680 (y1f): Likewise.
46681 * math/w_j1l.c (__j1l): Likewise.
46682 (__y1l): Likewise.
46683 * math/w_jn.c (jn): Likewise.
46684 (yn): Likewise.
46685 * math/w_jnf.c (jnf): Likewise.
46686 (ynf): Likewise.
46687 * math/w_jnl.c (__jnl): Likewise.
46688 (__ynl): Likewise.
46689 * math/libm-test.inc (j0_test): Add more tests.
46690 (j1_test): Likewise.
46691 (jn_test): Likewise. Add trailing semicolon to existing test.
46692 (y0_test): Likewise.
46693 (y1_test): Likewise.
46694 * sysdeps/i386/fpu/libm-test-ulps: Update.
46695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46696
11b90b9f
JM
46697 [BZ #13851]
46698 [BZ #13854]
46699 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46700 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46701 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46703 (__tanl): Set errno for infinite argument.
46704 * sysdeps/i386/fpu/mptan.c: Remove.
46705 * sysdeps/i386/fpu/s_tan.S: Likewise.
46706 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46707 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46708 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46709 * math/libm-test.inc (tan_test): Add more tests and enable more
46710 tests for double and long double.
46711 * sysdeps/i386/fpu/libm-test-ulps: Update.
46712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46713
6a1bd2a1
JK
467142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46715
46716 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46717 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46718
10a803e0
RM
467192012-03-16 Roland McGrath <roland@hack.frob.com>
46720
46721 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46722 * configure.in: Use it for both main tree and add-ons.
46723 * configure: Regenerated.
46724
f196c7f7
L
467252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46726
46727 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46728
8848d99d
JM
467292012-03-16 Joseph Myers <joseph@codesourcery.com>
46730
96cbe7f4
JM
46731 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46732 in comment.
46733
8848d99d
JM
46734 [BZ #13851]
46735 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46736 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46737 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46738 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46739 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46740 infinite argument.
46741 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46743 != 0 for prec == 2.
46744 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46745 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46746 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46747 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46748 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46749 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46750 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46751 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46752 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46753 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46754 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46755 * math/libm-test.inc (cos_test): Add more tests and enable more
46756 tests for long double.
46757 (sin_test): Likewise.
46758 (sincos_test): Likewise.
46759 * sysdeps/i386/fpu/libm-test-ulps: Update.
46760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46761
dd7f4703
DM
467622012-03-16 David S. Miller <davem@davemloft.net>
46763
46764 * sysdeps/sparc/fpu/math_private.h: New file.
46765
006f1daa
DM
467662012-03-15 David S. Miller <davem@davemloft.net>
46767
c0c83bc8
DM
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46769 file.
e6a62e18 46770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46772 file.
e6a62e18
DM
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46778 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46779 sysdep routines.
46780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46781
88cb87d9
DM
46782 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46783 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46784
006f1daa 46785 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46787 sparc-ifunc.h
006f1daa 46788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46790 Likewise.
46791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46792 Likewise.
006f1daa
DM
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46797 Likewise.
006f1daa
DM
46798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46803 Likewise.
46804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46805 Likewise.
006f1daa
DM
46806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46827 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46829 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46830
11e0098e
AS
468312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46832
46833 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46834 scaling.
46835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46836
e85b09d0
AJ
468372012-03-15 Andreas Jaeger <aj@suse.de>
46838
46839 [BZ #13852]
46840 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46841 ieee754/flt-32 implementation for sin, cos and sincos.
46842 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46843 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46844 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46845 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46846 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46847 ieee754/flt-32 implementation for tan.
46848
46849 * math/libm-test.inc (cos_test): Enable some large input tests for
46850 float as well
46851 (sin_test): Likewise.
46852 (sincos_test): Likewise.
46853 (tan_test): Add tests for large input.
46854
46855 * sysdeps/i386/fpu/libm-test-ulps: Update.
46856
81c64153
AJ
468572012-03-15 Andreas Jaeger <aj@suse.de>
46858
46859 [BZ #13658]
46860 * math/libm-test.inc (cos_test): Add more test cases.
46861 (sin_test): Likewise.
46862 (sincos_test): Likewise.
46863
7bbfa5c6
AJ
468642012-03-15 Andreas Jaeger <aj@suse.de>
46865
46866 [BZ #13837]
46867 * math/libm-test.inc (cos_test): Add a test case for large input
46868 value.
46869 (sin_test): Likewise.
46870 (sincos_test): Likewise.
46871
57f41c40
AS
468722012-03-15 Andreas Jaeger <aj@suse.de>
46873 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46874
46875 [BZ #13658]
0671f479 46876 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46877 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46878 * sysdeps/i386/fpu/branred.c: Likewise.
46879 * sysdeps/i386/fpu/dosincos.c: Likewise.
46880 * sysdeps/i386/fpu/mpa.c: Likewise.
46881 * sysdeps/i386/fpu/s_cos.S: Likewise.
46882 * sysdeps/i386/fpu/s_sin.S: Likewise.
46883 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46884 * sysdeps/i386/fpu/sincos32.c: Likewise.
46885
46886 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46887 Define.
46888 (libc_feupdateenv_53bit): Define.
46889 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46890 Define.
46891 (libc_feupdateenv_53bit): Define.
46892
46893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46894 53 bit (without extend i386 double precision).
46895
46896 * math/libm-test.inc (sincos_test): Add tests for large input.
46897 (sin): Likewise.
46898 (cos): Likewise.
46899
46900 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46901
9cad04ea
AS
469022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46903
46904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46905
f7062b9a
DM
469062012-03-15 David S. Miller <davem@davemloft.net>
46907
46908 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46909 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46910 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46911 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46924 file.
f7062b9a 46925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46927 file.
f7062b9a 46928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46930 file.
f7062b9a 46931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46933 file.
f7062b9a
DM
46934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46936 fmin/fmax sysdep routines.
46937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46938
7bd951ff
DM
469392012-03-14 David S. Miller <davem@davemloft.net>
46940
559398ab
DM
46941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46968 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46969 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46970 routines.
46971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46972 file.
559398ab 46973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46975 file.
559398ab 46976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46978 file.
559398ab 46979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46981 file.
559398ab 46982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46984 file.
559398ab 46985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46987 file.
46988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46989 file.
46990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46991 file.
46992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46993 file.
46994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46995 New file.
46996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46997 file.
46998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46999 file.
559398ab 47000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47002 file.
559398ab 47003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47005 file.
559398ab 47006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47008 file.
559398ab 47009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47011 VIS3 routines.
559398ab
DM
47012
47013 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47014 New file.
47015
5a1c1e32
DM
47016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47017
eae47a36
DM
47018 * sysdeps/sparc/configure.in: New file.
47019 * sysdeps/sparc/configure: Generate.
47020 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47021 * configure: Regenerate.
47022 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47023 * config.make.in (have-as-vis3): New.
47024 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47025 available use -Av9d instead of -Av9a.
47026 * sysdeps/sparc/sparc64/Makefile: Likewise.
47027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47029 New file.
47030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47031 file.
47032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47033 New file.
47034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47035 file.
eae47a36
DM
47036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47040 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47041
c0c83bc8
DM
47042 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47043 fzeros/fnegs to load 0x80000000 into a float register instead of
47044 using the stack.
7bd951ff
DM
47045 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47046
bd951ccb
JM
470472012-03-14 Joseph Myers <joseph@codesourcery.com>
47048
47049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47050 bits/syscall.h.
47051 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47052 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47053 ($(inst_includedir)/bits/syscall.h): Remove rule.
47054 ($(objpfx)bits/syscall.d): Include instead of
47055 $(objpfx)syscall-list.d.
47056 (generated): Change syscall-list.h and syscall-list.d to
47057 bits/syscall.h and bits/syscall.d.
47058
bb4e6db2
RM
470592012-03-14 Roland McGrath <roland@hack.frob.com>
47060
47061 [BZ #13846]
47062 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47063
aa4a2ae1
JM
470642012-03-14 Joseph Myers <joseph@codesourcery.com>
47065
e456826d
JM
47066 [BZ #13841]
47067 * math/s_csqrt.c: Include <float.h>.
47068 (__csqrt): Scale large or subnormal inputs.
47069 * math/s_csqrtf.c: Likewise.
47070 * math/s_csqrtl.c: Likewise.
47071 * math/libm-test.inc (csqrt_test): Add more tests.
47072 * sysdeps/i386/fpu/libm-test-ulps: Update.
47073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47074
aa4a2ae1
JM
47075 [BZ #13840]
47076 * math/libm-test.inc (hypot_test): Add more tests.
47077
7c10fd35
DM
470782012-03-13 David S. Miller <davem@davemloft.net>
47079
47080 [BZ #13840]
47081 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47082 double-precision for the calculation instead of scaling.
47083
f453b98b
JM
470842012-03-13 Joseph Myers <joseph@codesourcery.com>
47085
47086 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47087 manipulate bits before adding and subtracting TWO52[sx].
47088 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47089 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47090 Likewise.
47091 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47092
09a3453f
DM
470932012-03-13 David S. Miller <davem@davemloft.net>
47094
8e59da90
DM
47095 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47096 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47098 rtld-global-offsets.h
47099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47100
2a8ab7f2
DM
47101 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47102 large parameters.
47103
10f62770
DM
47104 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47105
5f0bdb18
DM
47106 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47107 'err' in the ifdef scope in which it is actually used.
47108
09a3453f
DM
47109 * nss/nss_db/db-init.c: Include string.h
47110
b4b2eb5e
DM
471112012-03-12 David S. Miller <davem@davemloft.net>
47112
98bb2f1c
DM
47113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47114 masking out of the most significant byte of random value used.
47115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47116 Fix coding style in previous change.
47117
b4b2eb5e
DM
47118 * sysdeps/unix/sysv/linux/kernel-features.h
47119 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47120 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47121 expression.
47122 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47123 later.
47124
6e226b09
DM
471252012-03-11 David S. Miller <davem@davemloft.net>
47126
a1bcbd40
DM
47127 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47128 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47130 for 'resultvar' otherwise things get truncated on 64-bit.
47131
cb9d6174
DM
47132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47133 Fix masking out of the most significant byte of random value used.
47134
6e226b09
DM
47135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47136
058c132d
AS
471372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47138
47139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47140
2d2cd515
DM
471412012-03-09 David S. Miller <davem@davemloft.net>
47142
47143 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47144 variables with appropriate CPP guards.
57f41c40
AS
47145 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47146 from the frame pointer, not the stack pointer. Correct layout
47147 comments. Fix test on resulting framesize and the management of
47148 the outregs buffer for pltexit. Preserve floating point return
47149 values across _dl_call_pltexit call.
2d2cd515
DM
47150 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47151 framesize and the management of the outregs buffer for pltexit.
47152 Preserve floating point return values across _dl_call_pltexit
47153 call.
57f41c40
AS
47154 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47155 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47156 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47157 (print_exit): Fix format string for return register value.
47158
9a07f9d0
JM
471592012-03-10 Joseph Myers <joseph@codesourcery.com>
47160
47161 * sunrpc/Makefile (others): Add rpcgen.
47162 ($(objpfx)rpcgen): Remove special build rule and dependency on
47163 libc.
47164 * sunrpc/rpcgen.c: New file.
47165
547b5e30
PE
471662012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47167
c524201a
PE
47168 [BZ #13673]
47169 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47170 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47171 * sysdeps/i386/crti.S: Likewise.
47172 * sysdeps/i386/crtn.S: Likewise.
47173 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47174 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47175 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47176 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47177 * sysdeps/sh/crti.S: Likewise.
47178 * sysdeps/sh/crtn.S: Likewise.
47179 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47180
7b6235f2
PE
47181 [BZ #13673]
47182 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47183 with URL.
47184 * locale/programs/locfile-kw.gperf: Likewise.
47185 * locale/programs/charmap-kw.h: Regenerated.
47186 * locale/programs/locfile-kw.h: Likewise.
47187
547b5e30
PE
47188 [BZ #13673]
47189 * intl/plural.y: Replace FSF snail mail address with URL.
47190 * intl/plural.c: Regenerated.
47191
5f0a5dae
RH
471922012-03-09 Richard Henderson <rth@twiddle.net>
47193
47194 * include/math_private.h: Remove file.
47195 * math/math_private.h: Move file ...
47196 * sysdeps/generic/math_private.h: ... here.
47197
b8c03620
RH
47198 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47199 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47200 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47201
4e234f5d 47202 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47203 and <math_private.h>.
47204 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47205 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47206 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47207 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47208 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47209 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47210 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47212 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47213 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47216 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47218 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47219 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47220 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47221 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47222 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47223 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47226 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47230 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47233 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47234 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47235 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47236 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47237 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47238 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47239 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47240 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47241 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47242 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47243 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47244 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47245 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47246 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47247 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47248 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47251 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47252 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47253 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47254 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47255 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47256 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47257 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47258 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47259 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47261 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47263 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47264 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47265 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47267 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47268 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47269 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47270 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47271 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47272 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47275 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47276 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47278 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47283 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47284 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47285 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47287 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47288 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47291 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47292 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47293 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47294 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47295 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47297 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47298 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47299 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47301 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47303 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47304 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47305 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47306 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47307 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47308 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47309 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47310 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47311 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47312 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47314 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47315 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47316 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47317 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47318 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47320 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47321 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47322 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47323 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47324 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47325 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47326 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47327 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47328 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47329 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47331 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47332 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47333 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47334 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47335 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47336 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47337 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47338 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47340 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47341 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47342 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47343 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47345 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47347 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47348 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47349 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47350 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47351 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47352 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47353 * sysdeps/ieee754/k_standard.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47381 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47385 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47387 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47389 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47391 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47393 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47394 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47395 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47396 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47397 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47398 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47399 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47400 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47402 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47404 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47405 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47406 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47407 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47409 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47411 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47412 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47414 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47417 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47418 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47420 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47421 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47422 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47423 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47424 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47426 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47427 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47428 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47429 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47430 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47431 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47435 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47436 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47437 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47442 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47445 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47447 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47450 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47451 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47453 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47456 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47457 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47458 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47459 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47461 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47462 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47465 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47469 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47470 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47471 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47472 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47473 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47475 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47476 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47481 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47486 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47487 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47488 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47489 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47490 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47491 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47499 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47502 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47503 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47511 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47512 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47513 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47514 * sysdeps/ieee754/s_lib_version.c: Likewise.
47515 * sysdeps/ieee754/s_matherr.c: Likewise.
47516 * sysdeps/ieee754/s_signgam.c: Likewise.
47517 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47518 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47519 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47520 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47521 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47522 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47523 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47524 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47525 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47526 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47527 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47528 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47529 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47530 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47531 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47532 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47534 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47535 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47538
1991fa03
JM
475392012-03-09 Joseph Myers <joseph@codesourcery.com>
47540
47541 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47542 * sunrpc/rpc_main.c: Likewise.
47543 * sunrpc/rpc_svcout.c: Likewise.
47544
60d6f5a6
DM
475452012-03-09 David S. Miller <davem@davemloft.net>
47546
47547 * include/math_private.h: New file.
47548
4962050e
JM
475492012-03-09 Joseph Myers <joseph@codesourcery.com>
47550
02a6f887
JM
47551 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47552 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47553 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47554 from <bits/socket_type.h>.
47555 (enum __socket_type): Don't define here.
47556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47558 bits/socket_type.h.
47559
c6e013c1
JM
47560 [BZ #13566]
47561 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47562 checking __USE_GNU.
47563
4962050e
JM
47564 * Makerules ($(inst_includedir)/%.h): New rule.
47565 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47566 (install-others): Remove variable setting.
47567 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47568
38842f45
RH
475692012-03-08 Richard Henderson <rth@twiddle.net>
47570
67bb6da6
RH
47571 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47572 from macro to inline function; merge with the
47573 !__LIBC_INTERNAL_MATH_INLINES version.
47574 (__ieee754_sqrtf): Likewise.
47575
15194b4b
RH
47576 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47577 to inline function.
47578 (__rintf, __floor, __floorf): Likewise.
47579
64e21ede
RH
47580 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47581 macro to inline function.
47582 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47583
38842f45
RH
47584 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47585 not <math/math_private.h>.
47586
c64bf5fe
DM
475872012-03-08 David S. Miller <davem@davemloft.net>
47588
47589 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47590 copyright year.
47591 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47592
82d86f28
TS
475932012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47594
47595 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47596 normalization.
47597 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47598 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47599
aea5d727
UD
476002012-03-08 Ulrich Drepper <drepper@gmail.com>
47601
47602 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47603 be defined individually, they must be defined as a block. Define
47604 S for printing a string instead of hidint the different by using a
47605 macro for adding the 'l'.
47606 * stdio-common/tst-fphex-wide.c: Adjust.
47607
70bca0a3
MP
476082012-03-07 Marek Polacek <polacek@redhat.com>
47609
47610 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47611
65b81130
MP
476122012-03-08 Marek Polacek <polacek@redhat.com>
47613
47614 [BZ #13806]
47615 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47616 * stdio-common/tst-fphex.c: Define a few macros to make the
47617 test reusable. Use them.
47618 * stdio-common/tst-fphex-wide.c: New file.
47619
07037eeb
JM
476202012-03-08 Joseph Myers <joseph@codesourcery.com>
47621
a7a93d50
JM
47622 [BZ #6911]
47623 * manual/macros.texi (gnusystems): New macro.
47624 (nongnusystems): Likewise.
47625 (gnulinuxhurdsystems): Likewise.
47626 (gnuhurdsystems): Likewise..
47627 (gnulinuxsystems): Likewise.
47628 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47629 variants of the GNU system, not "GNU system".
47630 * manual/conf.texi: Likewise.
47631 * manual/errno.texi: Likewise. Update example of errno macro
47632 expansion.
47633 * manual/filesys.texi: Likewise.
47634 (getumask): Document as specific to GNU/Hurd.
47635 * manual/install.texi: Likewise. Reword some references to
47636 GNU/Linux.
47637 * manual/intro.texi: Likewise.
47638 * manual/io.texi: Likewise.
47639 (File Name Portability): Detail which constraints are inapplicable
47640 to all GNU systems and which are only inapplicable to GNU/Hurd.
47641 * manual/job.texi: Likewise.
47642 * manual/llio.texi: Likewise.
47643 (O_NOCTTY): Document as present on GNU/Linux.
47644 * manual/maint.texi: Likewise.
47645 * manual/memory.texi: Likewise.
47646 * manual/pattern.texi: Likewise.
47647 * manual/pipe.texi: Likewise.
47648 * manual/process.texi: Likewise.
47649 * manual/resource.texi: Likewise.
47650 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47651 child on GNU/Hurd.
47652 * manual/setjmp.texi: Likewise.
47653 * manual/signal.texi: Likewise.
47654 * manual/startup.texi: Likewise.
47655 * manual/stdio.texi: Likewise.
47656 * manual/terminal.texi: Likewise.
47657 (ONLCR): Document as POSIX.
47658 (OXTABS): Document availability on GNU/Linux as XTABS.
47659 (ONOEOT): Document availability separately from other bits.
47660 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47661 * manual/time.texi: Likewise.
47662 * manual/users.texi: Likewise.
47663 * INSTALL: Regenerated.
47664 * sysdeps/gnu/errlist.c: Regenerated.
47665
07037eeb
JM
47666 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47667 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47668 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47669 puts.
47670 * configure: Regenerated.
47671
d1d3431a
JM
476722012-03-07 Joseph Myers <joseph@codesourcery.com>
47673
af6a1e37
JM
47674 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47675 default includes instead of AC_HEADER_CHECK.
47676 * sysdeps/i386/configure: Regenerated.
47677
d1d3431a
JM
47678 [BZ #10716]
47679 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47680 * math/s_cacoshf.c (__cacoshf): Likewise.
47681 * math/s_cacoshl.c (__cacoshl): Likewise.
47682 * math/s_casinh.c (__casinh): Set signs of result from argument.
47683 * math/s_casinhf.c (__casinhf): Likewise.
47684 * math/s_casinhl.c (__casinhl): Likewise.
47685 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47686 (casinh_test): Add more tests.
47687 * sysdeps/i386/fpu/libm-test-ulps: Update.
47688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47689
482ff4da
UD
476902012-03-07 Ulrich Drepper <drepper@gmail.com>
47691
872fda05
UD
47692 * po/zh_TW.po: Update from translation team.
47693
a4300c7a
UD
47694 * login/Makefile (distribute): Remove variable.
47695 * catgets/Makefile: Likewise.
47696 * mach/Makefile: Likewise.
47697 * malloc/Makefile: Likewise.
47698 * misc/Makefile: Likewise.
47699 * iconv/Makefile: Likewise.
47700 * nscd/Makefile: Likewise.
47701 * hurd/Makefile: Likewise.
47702 * manual/Makefile: Likewise.
47703 * locale/Makefile: Likewise.
47704 * intl/Makefile: Likewise.
47705 * conform/Makefile: Likewise.
47706 * nss/Makefile: Likewise.
47707 * time/Makefile: Likewise.
47708 * soft-fp/Makefile: Likewise.
47709 * dirent/Makefile: Likewise.
47710 * gmon/Makefile: Likewise.
47711 * po/Makefile: Likewise.
47712 * rt/Makefile: Likewise.
47713 * socket/Makefile: Likewise.
47714 * math/Makefile: Likewise.
47715 * signal/Makefile: Likewise.
47716 * debug/Makefile: Likewise.
47717 * elf/Makefile: Likewise.
47718 * timezone/Makefile: Likewise.
47719 * stdlib/Makefile: Likewise.
47720 * iconvdata/Makefile: Likewise.
47721 * sunrpc/Makefile: Likewise.
47722 * io/Makefile: Likewise.
47723 * argp/Makefile: Likewise.
47724 * inet/Makefile: Likewise.
47725 * hesiod/Makefile: Likewise.
47726 * grp/Makefile: Likewise.
47727 * csu/Makefile: Likewise.
47728 * wctype/Makefile: Likewise.
47729 * crypt/Makefile: Likewise.
47730 * libio/Makefile: Likewise.
47731 * string/Makefile: Likewise.
47732 * nis/Makefile: Likewise.
47733 * resolv/Makefile: Likewise.
47734 * stdio-common/Makefile: Likewise.
47735 * wcsmbs/Makefile: Likewise.
47736 * dlfcn/Makefile: Likewise.
47737 * posix/Makefile: Likewise.
47738
3b7c4e74 47739 [BZ #6959]
482ff4da
UD
47740 * timezone/Makefile: Don't install timezone files, just the programs
47741 and scripts.
47742
f72ed77d
UD
477432012-03-06 Ulrich Drepper <drepper@gmail.com>
47744
a000466f
UD
47745 * nss/databases.def: Add missing gshadow entry.
47746
f72ed77d
UD
47747 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47748
a53b7a4e
MP
477492012-03-06 Marek Polacek <polacek@redhat.com>
47750
47751 [BZ #13726]
47752 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47753 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47754 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47755 * stdio-common/tst-long-dbl-fphex.c: New file.
47756
e9258400
DM
477572012-03-06 David S. Miller <davem@davemloft.net>
47758
47759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47760 (set_obp_int): New function.
47761 (get_obp_int): New function.
47762 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47764 Avoid unused variable warnings on 'val' and use builtin_expect.
47765 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47766 __builtin_expect.
e9258400
DM
47767 (INLINE_CLONE_SYSCALL): Likewise.
47768
3bd2c723
DM
477692012-03-05 David S. Miller <davem@davemloft.net>
47770
47771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47772
bbb78d03
AS
477732012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47774
884c5db4
AS
47775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47776
bbb78d03
AS
47777 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47778 only for |x| >= 40.
47779 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47780
1c9f702a 477812012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47782
47783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47784 Replace gettimeofday with __vdso_gettimeofday.
47785
7be16f82
RM
47786 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47787 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47788 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47789
47790 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47791 time with __vdso_time.
47792
ed58a00f
JM
477932012-03-05 Joseph Myers <joseph@codesourcery.com>
47794
47795 * manual/lang.texi (size_t): Note types to which size_t may be
47796 equivalent with the GNU C Library, but do not describe when
47797 differences between them are significant.
47798
30ee4ced
AJ
477992012-03-05 Andreas Jaeger <aj@suse.de>
47800
47801 * sysdeps/i386/fpu/libm-test-ulps: Update.
47802
b7cd39e8
JM
478032012-03-05 Joseph Myers <joseph@codesourcery.com>
47804
47805 [BZ #3976]
47806 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47807 (__ieee754_pow): Save and restore rounding mode and use
47808 round-to-nearest for main computations.
47809 * math/libm-test.inc (pow_test_tonearest): New function.
47810 (pow_test_towardzero): Likewise.
47811 (pow_test_downward): Likewise.
47812 (pow_test_upward): Likewise.
47813 (main): Call the new functions.
47814 * sysdeps/i386/fpu/libm-test-ulps: Update.
47815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47816
47817 [BZ #3976]
47818 * math/libm-test.inc (cosh_test_tonearest): New function.
47819 (cosh_test_towardzero): Likewise.
47820 (cosh_test_downward): Likewise.
47821 (cosh_test_upward): Likewise.
47822 (sinh_test_tonearest): Likewise.
47823 (sinh_test_towardzero): Likewise.
47824 (sinh_test_downward): Likewise.
47825 (sinh_test_upward): Likewise.
47826 (main): Call the new functions.
47827 * sysdeps/i386/fpu/libm-test-ulps: Update.
47828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47829
6c6a98c9
TV
478302012-03-05 Tom de Vries <tom@codesourcery.com>
47831
47832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47833 default stack guard is set in last bytes.
47834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47835
21bb2d2e 478362012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47837
21bb2d2e 47838 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47839
21bb2d2e
AJ
47840 [BZ #13656]
47841 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47842 possibly allocate from heap instead of stack.
47843 * stdio-common/bug-vfprintf-nargs.c: New file.
47844 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47845
c6922934
AS
478462012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47847
47848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47849
bc957d53
MP
478502012-03-03 Marek Polacek <polacek@redhat.com>
47851
47852 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47853 * math/math_private.h: Likewise.
47854 * stdlib/tst-strtod.c: Likewise.
47855 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47856 * sysdeps/x86_64/bits/atomic.h: Likewise.
47857
6358490d
DM
478582012-03-02 David S. Miller <davem@davemloft.net>
47859
47860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47864 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47865 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47866 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47867 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47868
01ae168d
RM
478692012-03-02 Roland McGrath <roland@hack.frob.com>
47870
d9a17c07
RM
47871 [BZ #13792]
47872 * manual/examples/README: New file, says the example source files
47873 can be used under GPL>=2.
47874 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47875 line containing just "*/".
47876 * manual/examples/add.c: Add copyright header (GPL>=2).
47877 * manual/examples/argp-ex1.c: Likewise.
47878 * manual/examples/argp-ex2.c: Likewise.
47879 * manual/examples/argp-ex3.c: Likewise.
47880 * manual/examples/argp-ex4.c: Likewise.
47881 * manual/examples/atexit.c: Likewise.
47882 * manual/examples/db.c: Likewise.
47883 * manual/examples/dir.c: Likewise.
47884 * manual/examples/dir2.c: Likewise.
47885 * manual/examples/execinfo.c: Likewise.
47886 * manual/examples/filecli.c: Likewise.
47887 * manual/examples/filesrv.c: Likewise.
47888 * manual/examples/fmtmsgexpl.c: Likewise.
47889 * manual/examples/genpass.c: Likewise.
47890 * manual/examples/inetcli.c: Likewise.
47891 * manual/examples/inetsrv.c: Likewise.
47892 * manual/examples/isockad.c: Likewise.
47893 * manual/examples/longopt.c: Likewise.
47894 * manual/examples/memopen.c: Likewise.
47895 * manual/examples/memstrm.c: Likewise.
47896 * manual/examples/mkfsock.c: Likewise.
47897 * manual/examples/mkisock.c: Likewise.
47898 * manual/examples/mygetpass.c: Likewise.
47899 * manual/examples/pipe.c: Likewise.
47900 * manual/examples/popen.c: Likewise.
47901 * manual/examples/rprintf.c: Likewise.
47902 * manual/examples/search.c: Likewise.
47903 * manual/examples/select.c: Likewise.
47904 * manual/examples/setjmp.c: Likewise.
47905 * manual/examples/sigh1.c: Likewise.
47906 * manual/examples/sigusr.c: Likewise.
47907 * manual/examples/stpcpy.c: Likewise.
47908 * manual/examples/strdupa.c: Likewise.
47909 * manual/examples/strftim.c: Likewise.
47910 * manual/examples/strncat.c: Likewise.
47911 * manual/examples/subopt.c: Likewise.
47912 * manual/examples/swapcontext.c: Likewise.
47913 * manual/examples/termios.c: Likewise.
47914 * manual/examples/testopt.c: Likewise.
47915 * manual/examples/testpass.c: Likewise.
47916 * manual/examples/timeval_subtract.c: Likewise.
47917
01ae168d
RM
47918 [BZ #13792]
47919 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47920 function to ...
47921 * manual/timeval_subtract.c.texi: ... here, new file.
47922
49efa33d
DM
479232012-03-02 David S. Miller <davem@davemloft.net>
47924
47925 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47926
28afd92d
JM
479272012-03-02 Joseph Myers <joseph@codesourcery.com>
47928
804360ed
JM
47929 [BZ #3976]
47930 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47931 (__sin): Save and restore rounding mode and use round-to-nearest
47932 for all computations.
47933 (__cos): Save and restore rounding mode and use round-to-nearest
47934 for all computations.
47935 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47936 <fenv.h>.
47937 (tan): Save and restore rounding mode and use round-to-nearest for
47938 all computations.
47939 * math/libm-test.inc (cos_test_tonearest): New function.
47940 (cos_test_towardzero): Likewise.
47941 (cos_test_downward): Likewise.
47942 (cos_test_upward): Likewise.
47943 (sin_test_tonearest): Likewise.
47944 (sin_test_towardzero): Likewise.
47945 (sin_test_downward): Likewise.
47946 (sin_test_upward): Likewise.
47947 (tan_test_tonearest): Likewise.
47948 (tan_test_towardzero): Likewise.
47949 (tan_test_downward): Likewise.
47950 (tan_test_upward): Likewise.
47951 (main): Call the new functions.
47952 * sysdeps/i386/fpu/libm-test-ulps: Update.
47953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47954
a6d06d7b
JM
47955 [BZ #10135]
47956 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47957 small n, then large n, before computing and testing k+n.
47958 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47960 Likewise.
47961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47962 Likewise.
47963 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47964 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47965 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47966 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47967 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47968 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47969 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47970 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47971 * math/libm-test.inc (scalbn_test): Add more tests.
47972 (scalbln_test): Likewise.
47973
07e12bb3
JM
47974 * manual/filesys.texi (mode_t): Describe constraints on size and
47975 signedness, not exact equivalence to a particular type.
47976 (ino_t): Likewise.
47977 (ino64_t): Likewise.
47978 (dev_t): Likewise.
47979 (nlink_t): Likewise.
47980 (blkcnt_t): Likewise.
47981 (blkcnt64_t): Likewise.
47982 * manual/llio.texi (off_t): Likewise.
47983
28afd92d
JM
47984 [BZ #3976]
47985 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47986 (__ieee754_exp): Save and restore rounding mode and use
47987 round-to-nearest for all computations.
47988 * math/libm-test.inc (exp_test_tonearest): New function.
47989 (exp_test_towardzero): Likewise.
47990 (exp_test_downward): Likewise.
47991 (exp_test_upward): Likewise.
47992 (main): Call the new functions.
47993 * sysdeps/i386/fpu/libm-test-ulps: Update.
47994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47995
b1eeb65d
CD
479962012-03-01 Chris Demetriou <cgd@google.com>
47997
47998 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47999 have predictable order.
48000
53362a4b
DM
480012012-03-01 David S. Miller <davem@davemloft.net>
48002
3c969083
DM
48003 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48004
759707de
DM
48005 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48006 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48007 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48008 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48009
dfdb8ff2
DM
48010 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48011 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48012 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48014 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48015 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48016 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48017 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48018 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48019
ead89f96
DM
48020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48021
7f66bd07
DM
48022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48023 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48024 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48025
53362a4b
DM
48026 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48027 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48028 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48029 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48030 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48032 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48033 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48034 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48035 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48036 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48039 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48040 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48041 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48042 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48043 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48044 * sysdeps/sparc/elf/configure: Regenerated.
48045
7b1902cb
JM
480462012-03-01 Joseph Myers <joseph@codesourcery.com>
48047
bec039bc
JM
48048 * configure.in (AS, LD): Require binutils 2.20 or later.
48049 * configure: Regenerated.
48050 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48051 as required minimum version.
48052 * INSTALL: Regenerated.
48053
7b1902cb
JM
48054 [BZ #2541]
48055 [BZ #4108]
48056 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48057 before squaring exponent.
48058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48059 bottom long double and 27 bits of top long double before squaring
48060 exponent.
48061 * math/libm-test.inc (erfc_test): Add more tests.
48062 * sysdeps/i386/fpu/libm-test-ulps: Update.
48063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48065
f775c276
KT
480662012-03-01 Kai Tietz <ktietz@redhat.com>
48067
48068 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48069 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48070 containing bit-fields.
48071 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48072 * soft-fp/single.h (_FP_UNION_S): Likewise.
48073 * soft-fp/double.h (_FP_UNION_D): Likewise.
48074
5b8a4d4a
JM
480752012-02-29 Joseph Myers <joseph@codesourcery.com>
48076
0bab47b6
JM
48077 [BZ #13786]
48078 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48079 not include ../strcmp.S.
48080 [USE_AS_STRNCASECMP_L]: Likewise.
48081 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48082 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48083 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48084 (__strncasecmp_l_ia32): Define as alias to
48085 __strncasecmp_l_nonascii.
48086
0fcad3e2
JM
48087 [BZ #5794]
48088 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48089 * sysdeps/i386/fpu/libm-test-ulps: Update.
48090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48091
5b8a4d4a
JM
48092 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48094
8fdceb2e
JL
480952012-02-29 Jeff Law <law@redhat.com>
48096
48097 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48098 out of bounds read.
48099
1f393a11
MP
481002012-02-29 Marek Polacek <polacek@redhat.com>
48101
48102 [BZ #13706]
48103 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48104 * elf/Makefile: Add rules to run tst-unused-dep.out.
48105
8847f037
DM
481062012-02-28 David S. Miller <davem@davemloft.net>
48107
48108 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48109 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48111 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48112 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48113 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48114
169d7f11
JM
481152012-02-29 Joseph Myers <joseph@codesourcery.com>
48116
48117 * math/libm-test.inc (llround_test): Move one test from
48118 lround_test. Use TEST_f_L in moved test.
48119 (lround_test): Move misplaced test to llround_test. Add testcase
48120 from bug 2561.
48121
39adf059
UD
481222012-02-28 Ulrich Drepper <drepper@gmail.com>
48123
48124 * sysdeps/x86_64/fpu/e_expf.S: New file.
48125 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48126
71b5d1c5
SB
481272012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48128
48129 [BZ #13637]
48130 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48131 of remain_len that may cause incomplete multi-byte character and
48132 false match.
48133 * posix/bug-regex33.c: New file.
48134 * posix/Makefile (tests): Add bug-regex33.
48135
1f77f049
JM
481362012-02-28 Joseph Myers <joseph@codesourcery.com>
48137
48138 * manual/macros.texi: New file.
48139 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48140 * manual/libc.texinfo: Include macros.texi.
48141 * manual/creatute.texi: Likewise.
48142 * manual/install.texi: Likewise.
48143 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48144 @glibcadj{} in references to the GNU C Library.
48145 * manual/charset.texi: Likewise.
48146 * manual/conf.texi: Likewise.
48147 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48148 when not using those macros.
48149 * manual/creature.texi: Likewise.
48150 * manual/crypt.texi: Likewise.
48151 * manual/errno.texi: Likewise.
48152 * manual/filesys.texi: Likewise.
48153 * manual/header.texi: Likewise.
48154 * manual/install.texi: Likewise.
48155 * manual/intro.texi: Likewise.
48156 * manual/io.texi: Likewise.
48157 * manual/job.texi: Likewise.
48158 * manual/lang.texi: Likewise.
48159 * manual/libc.texiinfo: Likewise.
48160 * manual/llio.texi: Likewise.
48161 * manual/locale.texi: Likewise.
48162 * manual/maint.texi: Likewise.
48163 * manual/math.texi: Likewise.
48164 * manual/memory.texi: Likewise.
48165 * manual/message.texi: Likewise.
48166 * manual/nss.texi: Likewise.
48167 * manual/pattern.texi: Likewise.
48168 * manual/process.texi: Likewise.
48169 * manual/resource.texi: Likewise.
48170 * manual/search.texi: Likewise.
48171 * manual/setjmp.texi: Likewise.
48172 * manual/signal.texi: Likewise.
48173 * manual/socket.texi: Likewise.
48174 * manual/startup.texi: Likewise.
48175 * manual/stdio.texi: Likewise.
48176 * manual/string.texi: Likewise.
48177 * manual/sysinfo.texi: Likewise.
48178 * manual/syslog.texi: Likewise.
48179 * manual/terminal.texi: Likewise.
48180 * manual/time.texi: Likewise.
48181 * manual/users.texi: Likewise.
48182 * INSTALL: Regenerated.
48183 * NOTES: Regenerated.
d40c5d54 48184 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48185
450bf206
AS
481862012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48187
48188 * include/dirent.h: Include <dirstream.h> before
48189 <dirent/dirent.h>.
48190
741a235b
DM
481912012-02-28 David S. Miller <davem@davemloft.net>
48192
48193 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48194 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48195 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48196 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48197
d6b5aa58
DM
481982012-02-27 David S. Miller <davem@davemloft.net>
48199
1aff59a3
DM
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48202 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48203 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48204
d6b5aa58
DM
48205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48206 frame pointer instead of stack pointer relative arg slot.
48207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48208 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48209 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48210
433f48bf
CD
482112012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48212
48213 [BZ #3992]
48214 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48215
d674b76d
DM
482162012-02-27 David S. Miller <davem@davemloft.net>
48217
48218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48222 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48223 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48224 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48225 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48226
0e7727f7
JM
482272012-02-27 Joseph Myers <joseph@codesourcery.com>
48228
48229 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48230 later. Allow versions 5-9.
43be4ca2 48231 * configure: Regenerated.
0e7727f7
JM
48232 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48233 required minimum version and 4.6 as recommended version. Do not
48234 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48235 * INSTALL: Regenerated.
0e7727f7 48236
a78bc654
DM
482372012-02-27 David S. Miller <davem@davemloft.net>
48238
428d5830
DM
48239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48243 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48244 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48245 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48247
a78bc654
DM
48248 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48249 manipulate bits before adding and subtracting TWO112[sx].
48250 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48251
4579f81c
RM
482522012-02-27 Roland McGrath <roland@hack.frob.com>
48253
36c8acb4
RM
48254 [BZ #13775]
48255 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48256 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48257 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48258 being in POSIX, because they are in 1003.1-2008.
48259
84ad622b
RM
48260 * rt/tst-aio.c: Include <fcntl.h>.
48261 * rt/tst-aio7.c: Likewise.
48262 * rt/tst-aio64.c: Likewise.
48263
4579f81c
RM
48264 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48265
abd923db
JM
482662012-02-27 Joseph Myers <joseph@codesourcery.com>
48267
48268 * manual/install.texi (--with-headers): Describe headers as
48269 interface headers, not private headers.
48270 (Specific advice for GNU/Linux systems): Describe use of headers
48271 from "make headers_install", not private headers from older
48272 kernels.
43be4ca2 48273 * INSTALL: Regenerated.
abd923db
JM
48274 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48275 Change to 2.6.19.
48276 * sysdeps/unix/sysv/linux/configure: Regenerated.
48277
6664049b
JM
48278 * manual/llio.texi (fclean): Remove documentation.
48279
bb8b6697
JM
48280 * manual/Makefile (libc-texi-generated): New variable. Include
48281 version.texi.
48282 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48283 $(libc-texi-generated), not duplicated list of files.
48284 (version.texi, stamp-version): New rules.
48285 (realclean): Remove $(libc-texi-generated), not individual files
48286 from that list. Do not remove dir-add.texinfo.
48287 * manual/libc.texinfo: Comment out uses of edition numbers and
48288 references to printed manual. Remove last-updated dates.
48289 (EDITION): Comment out.
48290 (ISBN): Likewise.
48291 (VERSION, UPDATED): Remove.
48292 (version.texi): Include.
48293
12e5c3b9
AS
482942012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48295
48296 * sysdeps/posix/spawni.c: Include <signal.h>.
48297 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48298 * sysdeps/pthread/aio_fsync.c: Likewise.
48299
4efeffc1 483002012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48301
ba63ba08
UD
48302 * conform/Makefile (tests): Run only when not cross-compiling and
48303 when fast-check is not defined.
48304
d94a4670
UD
48305 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48306 * conform/data/limits.h-data: Fixes for POSIX2008.
48307 * conform/run-conformtest.sh: Run all tests.
48308 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48309 headers.
48310 * include/bits/dlfcn.h: Likewise.
48311 * include/langinfo.h: Likewise.
48312 * include/monetary.h: Likewise.
48313 * include/sys/poll.h: Likewise.
48314
48315 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48316 for __USE_GNU.
48317 * posix/spawn.h: Define __need_sigset_t.
48318 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48319 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48320 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48321 to get sigevent_t only.
48322 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48323 only for __USE_GNU.
48324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48325 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48326 process_vm_writev only for __USE_GNU.
48327 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48328
48329 * conform/Makefile: For now ignore errors from run-conformtest.
48330 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48331 POSIX to avoid namespace pollution. Don't prepend headers.
48332 * conform/data/aio.h-data: Fixes for POSIX testing.
48333 * conform/data/fcntl.h-data: Likewise.
48334 * conform/data/glob.h-data: Likewise.
48335 * conform/data/grp.h-data: Likewise.
48336 * conform/data/pthread.h-data: Likewise.
48337 * conform/data/pwd.h-data: Likewise.
48338 * conform/data/signal.h-data: Likewise.
48339 * conform/data/spawn.h-data: Likewise.
48340 * conform/data/stdio.h-data: Likewise.
48341 * conform/data/stdlib.h-data: Likewise.
48342 * conform/data/stropts.h-data: Likewise.
48343 * conform/data/sys/mman.h-data: Likewise.
48344 * conform/data/sys/stat.h-data: Likewise.
48345 * conform/data/sys/types.h-data: Likewise.
48346 * conform/data/sys/wait.h-data: Likewise.
48347 * conform/data/time.h-data: Likewise.
48348 * conform/data/unistd.h-data: Likewise.
48349 * conform/data/utime.h-data: Likewise.
48350
48351 * io/sys/stat.h: fchmod was always in POSIX.
48352 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48353 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48354 * rt/aio.h: Define __need_timespec before including <time.h>.
48355 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48356 struct. Add forward declaration of pthread_attr_t and use it in
48357 sigevent.
48358 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48359 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48360 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48361 always remove CLK_TCK definition.
48362
c20105c3
AS
483632012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48364
48365 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48366
7a270350
UD
483672012-02-25 Ulrich Drepper <drepper@gmail.com>
48368
31341567
UD
48369 * conform/run-conformtest.sh: New file.
48370 * conform/Makefile: Run run-conformtest for tests.
48371 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48372 support.
48373
48374 * conform/data/uchar.h-data: New file.
48375 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48376 * conform/data/arpa/inet.h-data: Likewise.
48377 * conform/data/assert.h-data: Likewise.
48378 * conform/data/complex.h-data: Likewise.
48379 * conform/data/cpio.h-data: Likewise.
48380 * conform/data/ctype.h-data: Likewise.
48381 * conform/data/dirent.h-data: Likewise.
48382 * conform/data/dlfcn.h-data: Likewise.
48383 * conform/data/errno.h-data: Likewise.
48384 * conform/data/fcntl.h-data: Likewise.
48385 * conform/data/float.h-data: Likewise.
48386 * conform/data/fmtmsg.h-data: Likewise.
48387 * conform/data/fnmatch.h-data: Likewise.
48388 * conform/data/ftw.h-data: Likewise.
48389 * conform/data/glob.h-data: Likewise.
48390 * conform/data/grp.h-data: Likewise.
48391 * conform/data/iconv.h-data: Likewise.
48392 * conform/data/inttypes.h-data: Likewise.
48393 * conform/data/langinfo.h-data: Likewise.
48394 * conform/data/libgen.h-data: Likewise.
48395 * conform/data/limits.h-data: Likewise.
48396 * conform/data/locale.h-data: Likewise.
48397 * conform/data/math.h-data: Likewise.
48398 * conform/data/monetary.h-data: Likewise.
48399 * conform/data/mqueue.h-data: Likewise.
48400 * conform/data/ndbm.h-data: Likewise.
48401 * conform/data/net/if.h-data: Likewise.
48402 * conform/data/netdb.h-data: Likewise.
48403 * conform/data/netinet/in.h-data: Likewise.
48404 * conform/data/nl_types.h-data: Likewise.
48405 * conform/data/poll.h-data: Likewise.
48406 * conform/data/pthread.h-data: Likewise.
48407 * conform/data/pwd.h-data: Likewise.
48408 * conform/data/regex.h-data: Likewise.
48409 * conform/data/sched.h-data: Likewise.
48410 * conform/data/search.h-data: Likewise.
48411 * conform/data/semaphore.h-data: Likewise.
48412 * conform/data/setjmp.h-data: Likewise.
48413 * conform/data/signal.h-data: Likewise.
48414 * conform/data/spawn.h-data: Likewise.
48415 * conform/data/stdarg.h-data: Likewise.
48416 * conform/data/stdio.h-data: Likewise.
48417 * conform/data/stdlib.h-data: Likewise.
48418 * conform/data/string.h-data: Likewise.
48419 * conform/data/strings.h-data: Likewise.
48420 * conform/data/stropts.h-data: Likewise.
48421 * conform/data/sys/ipc.h-data: Likewise.
48422 * conform/data/sys/mman.h-data: Likewise.
48423 * conform/data/sys/msg.h-data: Likewise.
48424 * conform/data/sys/resource.h-data: Likewise.
48425 * conform/data/sys/select.h-data: Likewise.
48426 * conform/data/sys/sem.h-data: Likewise.
48427 * conform/data/sys/shm.h-data: Likewise.
48428 * conform/data/sys/socket.h-data: Likewise.
48429 * conform/data/sys/stat.h-data: Likewise.
48430 * conform/data/sys/statvfs.h-data: Likewise.
48431 * conform/data/sys/time.h-data: Likewise.
48432 * conform/data/sys/timeb.h-data: Likewise.
48433 * conform/data/sys/times.h-data: Likewise.
48434 * conform/data/sys/types.h-data: Likewise.
48435 * conform/data/sys/uio.h-data: Likewise.
48436 * conform/data/sys/un.h-data: Likewise.
48437 * conform/data/sys/utsname.h-data: Likewise.
48438 * conform/data/sys/wait.h-data: Likewise.
48439 * conform/data/syslog.h-data: Likewise.
48440 * conform/data/tar.h-data: Likewise.
48441 * conform/data/termios.h-data: Likewise.
48442 * conform/data/utime.h-data: Likewise.
48443 * conform/data/utmpx.h-data: Likewise.
48444 * conform/data/varargs.h-data: Likewise.
48445 * conform/data/wchar.h-data: Likewise.
48446 * conform/data/wctype.h-data: Likewise.
48447 * conform/data/wordexp.h-data: Likewise.
48448
48449 * include/stropts.h: New file.
48450 * include/uchar.h: New file.
48451 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48452 * include/assert.h: Likewise.
48453 * include/ctype.h: Likewise.
48454 * include/dirent.h: Likewise.
48455 * include/dlfcn.h: Likewise.
48456 * include/fcntl.h: Likewise.
48457 * include/fnmatch.h: Likewise.
48458 * include/glob.h: Likewise.
48459 * include/grp.h: Likewise.
48460 * include/libio.h: Likewise.
48461 * include/locale.h: Likewise.
48462 * include/math.h: Likewise.
48463 * include/net/if.h: Likewise.
48464 * include/netdb.h: Likewise.
48465 * include/netinet/in.h: Likewise.
48466 * include/pthread.h: Likewise.
48467 * include/pwd.h: Likewise.
48468 * include/regex.h: Likewise.
48469 * include/sched.h: Likewise.
48470 * include/search.h: Likewise.
48471 * include/setjmp.h: Likewise.
48472 * include/signal.h: Likewise.
48473 * include/stdio.h: Likewise.
48474 * include/stdlib.h: Likewise.
48475 * include/string.h: Likewise.
48476 * include/sys/cdefs.h: Likewise.
48477 * include/sys/mman.h: Likewise.
48478 * include/sys/msg.h: Likewise.
48479 * include/sys/resource.h: Likewise.
48480 * include/sys/select.h: Likewise.
48481 * include/sys/socket.h: Likewise.
48482 * include/sys/stat.h: Likewise.
48483 * include/sys/statvfs.h: Likewise.
48484 * include/sys/time.h: Likewise.
48485 * include/sys/times.h: Likewise.
48486 * include/sys/uio.h: Likewise.
48487 * include/sys/utsname.h: Likewise.
48488 * include/sys/wait.h: Likewise.
48489 * include/termios.h: Likewise.
48490 * include/time.h: Likewise.
48491 * include/ulimit.h: Likewise.
48492 * include/unistd.h: Likewise.
48493 * include/utime.h: Likewise.
48494 * include/wchar.h: Likewise.
48495 * include/wctype.h: Likewise.
48496 * include/wordexp.h: Likewise.
48497
48498 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48499
7a270350
UD
48500 * time/time.h: TIME_UTC must be a macro.
48501 Make timespec_get available for ISO C11 only as well.
48502
7724defc
UD
485032012-02-24 Ulrich Drepper <drepper@gmail.com>
48504
48505 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48506 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48507
6b1d1d46
JM
485082012-02-24 Joseph Myers <joseph@codesourcery.com>
48509
48510 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48511
0f8bbd69
JM
485122012-02-24 Joseph Myers <joseph@codesourcery.com>
48513
48514 * manual/texinfo.tex: Update to version 2012-01-19.16.
48515
66ab80bc
JM
485162012-02-24 Joseph Myers <joseph@codesourcery.com>
48517
48518 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48519
74981cc5
RM
485202012-02-24 Roland McGrath <roland@hack.frob.com>
48521
ee968201
RM
48522 [BZ #13738]
48523 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48524 * manual/fdl-1.3.texi: New file.
48525 * manual/fdl-1.1.texi: File removed.
48526
74981cc5
RM
48527 [BZ #13738]
48528 * manual/libc.texinfo (FDL_VERSION): New @set.
48529 Use it for mention of FDL in cover text.
48530 (Documentation License): Use it in @include file name.
48531
7bb764bc
JM
485322012-02-22 Joseph Myers <joseph@codesourcery.com>
48533 Roland McGrath <roland@hack.frob.com>
48534
48535 [BZ #5461]
57f41c40
AS
48536 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48537 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48538 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48539 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48540 name.
48541 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48542
6cbeae47
JM
485432012-02-22 Joseph Myers <joseph@codesourcery.com>
48544
48545 [BZ #2547]
48546 [BZ #11365]
48547 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48548 manipulate bits before adding and subtracting TWO23[sx].
48549 * math/libm-test.inc (nearbyint_test): Add more tests.
48550
fe45ce09
JM
485512012-02-22 Joseph Myers <joseph@codesourcery.com>
48552
48553 [BZ #2548]
48554 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48555 bits before adding and subtracting TWO23[sx].
48556 * math/libm-test.inc (rint_test): Add more tests.
48557 (rint_test_tonearest): Likewise.
48558 (rint_test_towardzero): Likewise.
48559 (rint_test_downward): Likewise.
48560 (rint_test_upward: Likewise.
48561
ff3b3d82
JM
485622012-02-22 Joseph Myers <joseph@codesourcery.com>
48563
48564 [BZ #10110]
48565 * include/stdc-predef.h: New file. Extracted from features.h.
48566 * include/features.h: Include stdc-predef.h.
48567 * Makefile (headers): Add stdc-predef.h.
48568 * CONFORMANCE (Compiler limitations): Update.
48569
ef0aab35
JM
485702012-02-22 Joseph Myers <joseph@codesourcery.com>
48571
48572 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48573
58639409
DM
485742012-02-21 David S. Miller <davem@davemloft.net>
48575
48576 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48578
c0e70b25
DM
485792012-02-20 David S. Miller <davem@davemloft.net>
48580
48581 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48582 using a normal save/restore sequence, rather than allocating a
48583 dummy stack frame just to store a frame pointer and restore.
48584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48585
fb06851d
JM
485862012-02-21 Joseph Myers <joseph@codesourcery.com>
48587
48588 * manual/install.texi: Fix stray word in line-wrapped comment.
48589
7a8b71c3
DM
485902012-02-20 David S. Miller <davem@davemloft.net>
48591
d510c123
DM
48592 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48593 both binutils and gcc support GOTDATA.
48594
0722d7c2
DM
48595 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48596 "rd %pc" in the PIC register setup sequences.
48597
3d2b3019
DM
48598 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48599 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48600 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48601 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48602 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48606 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48607 (SYSCALL_ERROR_HANDLER): Likewise.
48608 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48609 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48611 (SYSCALL_ERROR_HANDLER): Likewise.
48612
c80098a9
DM
48613 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48614 (HAVE_GCC_GOTDATA): New.
48615 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48616 relocation support in both binutils and gcc.
48617 * sysdeps/sparc/elf/configure: Regenerate.
48618
3a2545a0
DM
48619 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48620 * sysdeps/sparc/sparc32/elf/configure: Delete.
48621 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48622 * sysdeps/sparc/sparc64/elf/configure: Delete.
48623 * sysdeps/sparc/elf/configure.in: New file.
48624 * sysdeps/sparc/elf/configure: Generate.
48625
7a8b71c3
DM
48626 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48627 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48628 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48629 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48630 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48631
f1e86fca
JM
486322012-02-21 Joseph Myers <joseph@codesourcery.com>
48633
48634 * manual/install.texi: Do not mention specific glibc version
48635 numbers.
48636 * manual/libc.texinfo (VERSION, UPDATED): Update.
48637 (@copying): Use @copyright{} and range of years.
48638
0e7dfaef
JM
486392012-02-21 Joseph Myers <joseph@codesourcery.com>
48640
48641 [BZ #13695]
48642 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48643 [crti.S not in sysdirs] (generated): Do not append.
48644 [crti.S not in sysdirs] (omit-deps): Likewise.
48645 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48646 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48647 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48648 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48649 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48650 Likewise.
48651 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48652 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48653 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48654 * csu/defs.awk: Remove file.
48655 * sysdeps/generic/initfini.c: Likewise.
48656 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48657 variable.
48658 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48659 Likewise.
48660
599af3ca
JM
486612012-02-20 Joseph Myers <joseph@codesourcery.com>
48662
48663 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48664 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48665 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48666 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48667 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48668 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48669 <bits/epoll.h>.
48670 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48671 (__EPOLL_PACKED): Define to empty if not defined by
48672 <bits/epoll.h>.
48673 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48675 bits/epoll.h.
48676
0e499750
JM
486772012-02-20 Joseph Myers <joseph@codesourcery.com>
48678
48679 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48680 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48681 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48683 <bits/timerfd.h>.
48684 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48686 bits/timerfd.h.
48687
5ad91f6e
JM
486882012-02-20 Joseph Myers <joseph@codesourcery.com>
48689
48690 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48691 in C locale.
48692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48693 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48696
06b99b02
AJ
486972012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48698
48699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48700 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48701
7638c0fd
AS
487022012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48703
48704 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48705 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48706 defined.
48707 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48708 Likewise.
48709 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48710 entry for 2.16.
48711
92221550
AJ
487122012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48713
48714 * math/w_acos.c: Use non-signaling floating-point comparisons.
48715 * math/w_acosf.c: Likewise.
48716 * math/w_acosh.c: Likewise.
48717 * math/w_acoshf.c: Likewise.
48718 * math/w_acoshl.c: Likewise.
48719 * math/w_acosl.c: Likewise.
48720 * math/w_asin.c: Likewise.
48721 * math/w_asinf.c: Likewise.
48722 * math/w_asinl.c: Likewise.
48723 * math/w_atanh.c: Likewise.
48724 * math/w_atanhf.c: Likewise.
48725 * math/w_atanhl.c: Likewise.
48726 * math/w_exp2.c: Likewise.
48727 * math/w_exp2f.c: Likewise.
48728 * math/w_exp2l.c: Likewise.
48729 * math/w_j0.c: Likewise.
48730 * math/w_j0f.c: Likewise.
48731 * math/w_j0l.c: Likewise.
48732 * math/w_j1.c: Likewise.
48733 * math/w_j1f.c: Likewise.
48734 * math/w_j1l.c: Likewise.
48735 * math/w_jn.c: Likewise.
48736 * math/w_jnf.c: Likewise.
48737 * math/w_log.c: Likewise.
48738 * math/w_log10.c: Likewise.
48739 * math/w_log10f.c: Likewise.
48740 * math/w_log10l.c: Likewise.
48741 * math/w_log2.c: Likewise.
48742 * math/w_log2f.c: Likewise.
48743 * math/w_log2l.c: Likewise.
48744 * math/w_logf.c: Likewise.
48745 * math/w_logl.c: Likewise.
48746 * math/w_sqrt.c: Likewise.
48747 * math/w_sqrtf.c: Likewise.
48748 * math/w_sqrtl.c: Likewise.
48749 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48750 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48752 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48753 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48754
ebaf36eb
JM
487552012-02-19 Joseph Myers <joseph@codesourcery.com>
48756
48757 [BZ #9739]
48758 * manual/string.texi (strnlen): Use correct parameter name in
48759 equivalent expression.
48760
71c254a6
JM
487612012-02-19 Joseph Myers <joseph@codesourcery.com>
48762
48763 [BZ #11174]
48764 * manual/users.texi (seteuid): Consistently use neweuid for
48765 argument name.
48766
16d2c631
JM
487672012-02-19 Joseph Myers <joseph@codesourcery.com>
48768
48769 [BZ #13704]
48770 * manual/nss.texi (Services in the NSS configuration): Correct
48771 list of services in example configuration file.
48772
cd837b09
NB
487732012-02-19 Nick Bowler <nbowler@draconx.ca>
48774
48775 [BZ #11322]
48776 * manual/arith.texi: Remove statements about negative zero
48777 behaving identically to zero.
48778
02c4bbad
JM
487792012-02-18 Joseph Myers <joseph@codesourcery.com>
48780
48781 [BZ #5993]
48782 * manual/install.texi: Do not document upgrading from libc5.
48783
366842e7
JM
487842012-02-18 Joseph Myers <joseph@codesourcery.com>
48785
48786 [BZ #4596]
48787 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48788
dd54084d
DM
487892012-02-18 David S. Miller <davem@davemloft.net>
48790
48791 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48792 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48793 %o7 across the call.
48794 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48795 instead.
48796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48797 SETUP_PIC_REG_LEAF.
48798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48799 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48800 * sysdeps/sparc/crtn.S: Likewise.
48801
2bcc53a3
UD
488022012-02-17 Ulrich Drepper <drepper@gmail.com>
48803
48804 * aout/Makefile: Remove.
48805
09c093b5
RK
488062012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48807
48808 [BZ #13058]
48809 * manual/examples/argp-ex1.c (main): Format definition in GNU
48810 style.
48811 * manual/examples/argp-ex2.c (main): Likewise.
48812 * manual/examples/argp-ex3.c (main): Likewise.
48813 * manual/examples/argp-ex4.c (main): Likewise.
48814 * manual/examples/longopt.c (main): Use new-style prototype
48815 definition.
48816 * manual/examples/strncat.c (main): Specify return type and use
48817 (void) for arguments.
48818 * manual/examples/subopt.c (main): Use char **argv argument.
48819
2ee633a2
JM
488202012-02-17 Joseph Myers <joseph@codesourcery.com>
48821
48822 [BZ #5077]
48823 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48824 rounding modes.
48825
0520adde
FB
488262012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48827
48828 [BZ #6907]
48829 * manual/string.texi (strchr): Change when strchrnul is
48830 recommended.
48831
3f4081cd
DGM
488322012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48833
48834 [BZ #174]
48835 * manual/locale.texi (setlocale): Document LOCPATH.
48836
d1b10e78
JM
488372012-02-17 Joseph Myers <joseph@codesourcery.com>
48838
48839 [BZ #10210]
48840 * manual/process.texi (execle): Move @dots{} before last argument.
48841
79c6869c
PB
488422012-02-17 Paul Bolle <pebolle@tiscali.nl>
48843
48844 [BZ #12047]
48845 * manual/charset.texi (Generic Charset Conversion): Fix typo
48846 (LC_TYPE -> LC_CTYPE).
48847
cc6e48bc
NB
488482012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48849
48850 [BZ #5805]
48851 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48852 (scalbnf): Likewise.
48853 (scalbnl): Likewise.
48854 (scalbln): Likewise.
48855 (scalblnf): Likewise.
48856 (scalblnl): Likewise.
48857 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48858 (vwarnx): Likewise.
48859 (verr): Likewise.
48860 (verrx): Likewise.
48861 * manual/filesys.texi (telldir): Use braces around return type.
48862 * manual/llio.texi (mmap): Add space after comma.
48863 (mmap64): Likewise.
48864 * manual/math.texi (jn): Use @var{} on parameter names.
48865 (jnf): Likewise.
48866 (jnl): Likewise.
48867 (yn): Likewise.
48868 (ynf): Likewise.
48869 (ynl): Likewise.
48870 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48871 line.
48872 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48873 "...".
48874 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48875 (sched_get_priority_max): Likewise.
48876 * manual/signal.texi (sigvec): Add space after comma.
48877 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48878 names.
48879 (if_indextoname): Likewise.
48880 (if_freenameindex): Likewise.
48881 (sendto): Use ',' instead of '.' in prototype.
48882 * manual/startup.texi (syscall): Use @dots{} instead of literal
48883 "...".
48884 * manual/stdio.texi (__fpending): Separate initial words of
48885 paragraph from @deftypefun line.
48886 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48887 "...".
48888 (vsyslog): Use @var{} on parameter names.
48889 * manual/terminal.texi (stty): Use @var{} on parameter names.
48890 * manual/users.texi (getutmp): Use @var{} on parameter names.
48891 (getutmpx): Likewise.
48892
5b23062f
JM
488932012-02-17 Joseph Myers <joseph@codesourcery.com>
48894
48895 [BZ #6884]
48896 * manual/stdio.texi (fopen): Fix typos in description of
48897 ",ccs=STRING".
48898
8dee4833
AJ
488992012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48900
48901 [BZ #4026]
48902 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48903 get clock_id definition.
48904
9078ce93
TS
489052012-02-17 Thomas Schwinge <thomas@schwinge.name>
48906
48907 [BZ #4822]
48908 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48909 (madvise): Cast every argument to void on its own.
48910
3835c55f
JM
489112012-02-17 Joseph Myers <joseph@codesourcery.com>
48912
48913 [BZ #9902]
48914 * manual/startup.texi (Exit Status): Fix typo.
48915
35c47e37
JM
489162012-02-17 Joseph Myers <joseph@codesourcery.com>
48917
48918 [BZ #10140]
48919 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48920 * manual/examples/argp-ex2.c: Likewise.
48921 * manual/examples/argp-ex3.c: Likewise.
48922
e3b69ca7
RH
489232012-02-16 Richard Henderson <rth@redhat.com>
48924
48925 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48926 * sysdeps/s390/s390-32/initfini.c: Remove.
48927 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48928 * sysdeps/s390/s390-64/initfini.c: Remove.
48929
df83af67
KK
489302012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48931
48932 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48933 compiler output for sysdeps/generic/initfini.c.
48934 * sysdeps/sh/elf/initfini.c: Remove file.
48935
f63f3380
DM
489362012-02-16 David S. Miller <davem@davemloft.net>
48937
fb59b3a4
DM
48938 [BZ #11494]
48939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48940
f63f3380
DM
48941 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48942 * sysdeps/sparc/crti.S: New file.
48943 * sysdeps/sparc/crtn.S: New file.
48944 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48945 * sysdeps/sparc/sparc64/Makefile: Likewise.
48946
df6a4a4a
MF
489472012-02-15 Mike Frysinger <vapier@gentoo.org>
48948
6dd8f3dc 48949 [BZ #3335]
df6a4a4a
MF
48950 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48951
1cac7236
RM
489522012-02-15 Roland McGrath <roland@hack.frob.com>
48953
d2c736f8
RM
48954 [BZ #4822]
48955 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48956
1cac7236
RM
48957 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48958 (write, read, close): Likewise.
48959 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48960
8e475601
JM
489612012-02-15 Joseph Myers <joseph@codesourcery.com>
48962
48963 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48964 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48965 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48966 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48967 <bits/signalfd.h>.
48968 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48970 bits/signalfd.h.
48971
ed656b40
MP
489722012-02-14 Marek Polacek <polacek@redhat.com>
48973
48974 * sysdeps/x86_64/crti.S: New file.
48975 * sysdeps/x86_64/crtn.S: New file.
48976 * sysdeps/x86_64/elf/initfini.c: Remove file.
48977
2a979d3a
JM
489782012-02-13 Joseph Myers <joseph@codesourcery.com>
48979
48980 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48981 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48982 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48983 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48984 <bits/inotify.h>.
48985 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48987 bits/inotify.h.
48988
2a418ac3
JM
489892012-02-13 Joseph Myers <joseph@codesourcery.com>
48990
48991 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48992 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48993 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48994 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48995 <bits/eventfd.h>.
48996 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48998 bits/eventfd.h.
48999
fb779be7
TS
490002012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49001
e19e83c5
RM
49002 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49003 __feraiseexcept instead of feraiseexcept.
7c35ffed 49004
fb779be7
TS
49005 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49006 nanosleep invocations.
49007 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49008 strings, and add error checking for a nanosleep invocations.
49009
59ba27a6
PE
490102012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49011
49012 Replace FSF snail mail address with URLs, as per GNU coding standards.
49013 Most of the snail mail addresses were wrong anyway, and omitting
49014 them makes the source code easier to maintain. Almost all of the
49015 changes are to license notices and to locale LC_IDENTIFICATION
49016 addresses, except for this one:
49017 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49018 not its snail mail address.
49019
57b957eb
RH
490202012-02-09 Richard Henderson <rth@twiddle.net>
49021
af850b1c
RH
49022 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49023 of kernel-features.h.
49024
57b957eb
RH
49025 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49026
6b73181a
MP
490272012-02-08 Marek Polacek <polacek@redhat.com>
49028
49029 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49030 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49031 * sysdeps/gnu/_G_config.h: Likewise.
49032 * sysdeps/generic/_G_config.h: Likewise.
49033
26ecc33a
AS
490342012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49035
6c6dbc63
AS
49036 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49037 tests.
49038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49039
e216c012
AS
49040 * sysdeps/powerpc/powerpc32/crti.S: New file.
49041 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49042 * sysdeps/powerpc/powerpc64/crti.S: New file.
49043 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49044
26ecc33a
AS
49045 * Makeconfig (have-initfini): Don't set.
49046 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49047 * configure.in (nopic_initfini): Don't substitute.
49048 * config.h.in (HAVE_INITFINI): Don't #undef.
49049 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49050 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49051
3add8e13
JM
490522012-02-08 Joseph Myers <joseph@codesourcery.com>
49053
49054 Support crti.S and crtn.S provided directly by architectures.
49055 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49056 [crti.S in sysdirs] (omit-deps): Likewise.
49057 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49058 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49059 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49060 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49061 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49062 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49063 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49064 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49065 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49066 compiler output for sysdeps/generic/initfini.c.
49067 * sysdeps/i386/elf/Makefile: Remove file.
49068 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49069
a22f12b4
MP
490702012-02-07 Marek Polacek <polacek@redhat.com>
49071
49072 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49073 * sysdeps/gnu/_G_config.h: Likewise.
49074 * sysdeps/mach/hurd/_G_config.h: Likewise.
49075
148cf100
MP
490762012-02-07 Marek Polacek <polacek@redhat.com>
49077
49078 * math/Makefile (tests): Add tst-CMPLX2.
49079 * math/tst-CMPLX2.c: New file.
49080
cfdc0dd7
AS
490812012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49082
84ba42c4
AS
49083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49084
cfdc0dd7
AS
49085 * math/libm-test.inc (jn_test): Add missing L suffix.
49086
622c86f4
MP
490872012-02-06 Marek Polacek <polacek@redhat.com>
49088
49089 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49090 * sysdeps/i386/fpu/e_powf.S: Likewise.
49091 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49092 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49093 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49094 * sysdeps/i386/fpu/e_pow.S: Likewise.
49095 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49096 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49097 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49098 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49099 * sysdeps/i386/fpu/e_log2.S: Likewise.
49100 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49101 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49102 * sysdeps/i386/fpu/e_powl.S: Likewise.
49103 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49104 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49105 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49106 * sysdeps/i386/fpu/e_logl.S: Likewise.
49107 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49108 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49109 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49110 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49112 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49113 * sysdeps/i386/fpu/e_log.S: Likewise.
49114 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49116 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49117 * sysdeps/i386/fpu/e_logf.S: Likewise.
49118 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49119 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49120 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49121 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49122 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49123 * sysdeps/i386/fpu/e_log10.S: Likewise.
49124 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49125 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49126 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49127 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49128 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49129 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49130 * sysdeps/i386/asm-syntax.h: Likewise.
49131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49132 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49133 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49134 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49135 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49137 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49138 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49140 * sysdeps/powerpc/sysdep.h: Likewise.
49141 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49143
d4a54ac6
JM
491442012-02-06 Joseph Myers <joseph@codesourcery.com>
49145
49146 [BZ #411]
49147 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49148
314054ea
JM
491492012-02-06 Joseph Myers <joseph@codesourcery.com>
49150
49151 * sysdeps/i386/sysdep.h: Include <features.h>.
49152 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49153 version.
49154
d8e0ca50
JM
491552012-02-05 Joseph Myers <joseph@codesourcery.com>
49156
49157 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49158 Define.
49159 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49160 LOAD_PIC_REG_STR.
49161
b1da7dd9
JM
491622012-02-03 Joseph Myers <joseph@codesourcery.com>
49163
49164 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49165 (SETUP_PIC_REG): Use GET_PC_THUNK.
49166 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49167 macro.
49168
9a1d9254
JM
491692012-02-03 Joseph Myers <joseph@codesourcery.com>
49170
49171 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49172 for non-PIC compilation.
49173 (SETUP_PIC_REG): Add .p2align directive.
49174 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49175 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49176 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49177 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49179 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49180 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49182 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49183 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49184 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49185 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49186 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49187 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49188 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49189 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49190 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49191 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49192 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49193 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49195 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49196 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49197 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49198 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49200 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49201 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49202 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49203 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49204 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49205 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49206 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49207 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49208 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49209 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49210 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49211 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49212 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49213 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49214 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49215
65dc3b75
JM
492162012-02-03 Joseph Myers <joseph@codesourcery.com>
49217
49218 * math/tst-CMPLX.c: Include <stdio.h>.
49219
d55bf177
JM
492202012-01-31 Joseph Myers <joseph@codesourcery.com>
49221
49222 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49223 float.
49224 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49225 * sysdeps/sparc/bits/mathdef.h: Likewise.
49226
69db4f8f
MP
492272012-01-31 Marek Polacek <polacek@redhat.com>
49228
49229 * libio/libio.h: Don't define _PARAMS.
49230 * locale/programs/config.h: Don't define PARAMS.
49231 * stdlib/strtol_l.c: Likewise.
49232 (__strtol_l): Remove PARAMS from the prototype.
49233
41b81892
UD
492342012-01-31 Ulrich Drepper <drepper@gmail.com>
49235
3b49edc0
UD
49236 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49237 names. Just use the correct names. Remove unnecessary wrapper
49238 functions.
49239 * malloc/arena.c: Likewise.
49240 * malloc/hooks.c: Likewise.
49241
41b81892
UD
49242 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49243 ARENA_TEST says not to. Simplify test for creation of a new arena.
49244 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49245
27a25b6e
UD
492462012-01-30 Ulrich Drepper <drepper@gmail.com>
49247
49248 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49249 into tail calls.
49250 (update_get_addr): New function.
49251 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49252 GET_ADDR_MODULE parameter.
49253
c8a89e7d
JM
492542012-01-30 Joseph Myers <joseph@codesourcery.com>
49255
49256 * crypt/cert.c: Remove __STDC__ conditionals.
49257 * crypt/crypt-entry.c: Likewise.
49258 * crypt/crypt_util.c: Likewise.
49259 * libio/filedoalloc.c: Likewise.
49260 * libio/fileops.c: Likewise.
49261 * libio/genops.c: Likewise.
49262 * libio/iofclose.c: Likewise.
49263 * libio/iofdopen.c: Likewise.
49264 * libio/iofopen.c: Likewise.
49265 * libio/iofopen64.c: Likewise.
49266 * libio/iogetdelim.c: Likewise.
49267 * libio/iopopen.c: Likewise.
49268 * libio/obprintf.c: Likewise.
49269 * libio/oldfileops.c: Likewise.
49270 * libio/oldiofclose.c: Likewise.
49271 * libio/oldiofdopen.c: Likewise.
49272 * libio/oldiofopen.c: Likewise.
49273 * libio/oldiopopen.c: Likewise.
49274 * libio/wfiledoalloc.c: Likewise.
49275 * libio/wgenops.c: Likewise.
49276 * locale/programs/xmalloc.c: Likewise.
49277 * misc/syslog.c: Likewise.
49278 * stdio-common/xbug.c: Likewise.
49279 * string/memchr.c: Likewise.
49280 * string/memcmp.c: Likewise.
49281 * string/memrchr.c: Likewise.
49282 * string/rawmemchr.c: Likewise.
49283 * sysdeps/posix/getcwd.c: Likewise.
49284 * time/strftime_l.c: Likewise.
49285
3b100462
JM
492862012-01-30 Joseph Myers <joseph@codesourcery.com>
49287
49288 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49289 * config.make.in (config-cflags-sse2avx): Define.
49290 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49291 Fix typo.
49292
607998af
CM
492932012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49294
49295 * scripts/config.guess: Update from upstream config git repository.
49296 * scripts/config.sub: Likewise.
49297
3601428f
CM
492982012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49299
3ac8b282
CM
49300 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49301 (EM_NUM): Update.
49302 (R_TILEPRO_*, R_TILEGX_*): New macros.
49303
e034841e
CM
49304 * scripts/firstversions.awk: Fix bug in version range handling.
49305
540d7568
CM
49306 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49307
3601428f
CM
49308 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49309
463de862
CM
49310 * include/sys/epoll.h: New file.
49311 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49312 libc_hidden_def.
49313
73139a76
UD
493142012-01-28 Ulrich Drepper <drepper@gmail.com>
49315
96bc5b45
UD
49316 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49317 Avoid unnecessary __WORDSIZE == 64 test.
49318 (fmaxf): Use VEX format if possible.
49319 (fmax): Likewise.
49320 (fminf): Likewise.
49321 (fmin): Likewise.
49322
56f6f6a2
UD
49323 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49324 * math/math_private.h: Remove libc_fegetround* and
49325 libc_fesetround*.
49326 * sysdeps/i386/configure.in: Check for -msse2avx.
49327 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49328 also if SSE2AVX is defined.
49329 Remove libc_fegetround* and libc_fesetround*.
49330 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49331 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49332 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49333 of HAS_YMM_USABLE.
49334 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49335 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49336 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49337 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49338 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49339
73139a76
UD
49340 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49341
d73f93a4
AZ
493422012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49343
49344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49345 size is not set.
49346 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49347
6ee65ed6
UD
493482012-01-27 Ulrich Drepper <drepper@gmail.com>
49349
49350 [BZ #13618]
49351 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49352 relocation.
49353 * Makeconfig (libm): Define.
49354 * elf/Makefile: Add rules to build and run tst-relsort1.
49355 * elf/tst-relsort1.c: New file.
49356 * elf/tst-relsort1mod1.c: New file.
49357 * elf/tst-relsort1mod2.c: New file.
49358
8db21882
JM
493592012-01-27 Joseph Myers <joseph@codesourcery.com>
49360
49361 * math/s_ldexp.c: Remove __STDC__ conditionals.
49362 * math/s_ldexpf.c: Likewise.
49363 * math/s_ldexpl.c: Likewise.
49364 * math/s_nextafter.c: Likewise.
49365 * math/s_nexttowardf.c: Likewise.
49366 * math/s_significand.c: Likewise.
49367 * math/s_significandf.c: Likewise.
49368 * math/s_significandl.c: Likewise.
49369 * math/w_jnl.c: Likewise.
49370 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49371 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49372 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49373 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49374 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49376 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49377 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49379 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49380 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49382 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49383 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49384 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49385 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49387 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49391 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49392 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49393 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49394 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49395 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49396 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49397 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49398 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49399 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49400 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49401 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49402 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49403 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49404 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49405 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49406 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49407 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49408 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49409 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49410 * sysdeps/ieee754/k_standard.c: Likewise.
49411 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49412 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49413 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49414 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49415 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49416 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49417 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49418 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49419 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49420 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49421 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49423 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49430 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49433 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49434 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49435 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49436 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49439 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49440 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49441 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49442 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49443 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49446 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49447 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49448 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49450 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49451 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49452 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49453 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49454 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49456 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49458 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49459 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49460 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49461 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49462 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49463 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49464 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49465 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49466 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49467 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49468 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49471 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49472 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49473 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49474 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49475 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49476 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49477 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49478 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49479 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49480 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49481 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49483 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49486 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49487 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49488 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49489 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49490 * sysdeps/ieee754/s_matherr.c: Likewise.
49491 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49492 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49495
965a54a4
JM
494962012-01-26 Joseph Myers <joseph@codesourcery.com>
49497
49498 * crypt/md5.h: Remove __STDC__ conditionals.
49499 * libio/libioP.h: Likewise.
49500 * locale/programs/config.h: Likewise.
49501 * sysdeps/generic/sysdep.h: Likewise.
49502 * sysdeps/i386/asm-syntax.h: Likewise.
49503 * sysdeps/s390/asm-syntax.h: Likewise.
49504 * sysdeps/unix/sysdep.h: Likewise.
49505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49507
7071ad79
JM
495082012-01-26 Joseph Myers <joseph@codesourcery.com>
49509
49510 * libio/libio.h: Remove __STDC__ conditionals.
49511 * malloc/obstack.h: Likewise.
49512 * math/complex.h: Likewise.
49513 * math/math.h: Likewise.
49514 * sysdeps/generic/_G_config.h: Likewise.
49515 * sysdeps/gnu/_G_config.h: Likewise.
49516 * sysdeps/mach/hurd/_G_config.h: Likewise.
49517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49518 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49519 * sysdeps/sparc/bits/mathdef.h: Likewise.
49520
afc5ed09
UD
495212012-01-26 Ulrich Drepper <drepper@gmail.com>
49522
49523 [BZ #13583]
49524 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49525 Clean up HAS_* macros.
afc5ed09 49526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49527 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49528 possible.
49529 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49530 HAS_AVX.
49531 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49532 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49533 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49534 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49535 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49536
bdb6de1d
JM
495372012-01-25 Joseph Myers <joseph@codesourcery.com>
49538
49539 * elf/tst-unique3.cc (gets): Remove declaration.
49540 * elf/tst-unique3lib.cc (gets): Likewise.
49541 * elf/tst-unique3lib2.cc (gets): Likewise.
49542 * elf/tst-unique4.cc (gets): Likewise.
49543
b15549e6
UD
495442012-01-24 Ulrich Drepper <drepper@gmail.com>
49545
49546 * include/stdio.h: Add C++ protection. Add gets declarations and
49547 definitions.
49548 * debug/tst-chk1.c: Don't declare gets here.
49549 * stdio-common/tst-gets.c: Likewise.
49550
a037381f
JM
495512012-01-24 Joseph Myers <joseph@codesourcery.com>
49552
49553 * posix/glob: Remove directory.
49554
f1d4aa75
JM
495552012-01-24 Joseph Myers <joseph@codesourcery.com>
49556
49557 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49558
81c0c964
PT
495592012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49560
49561 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49562 of the non-standard EPFNOSUPPORT.
49563
0ea698ae
ST
495642011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49565
49566 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49567 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49568 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49569
d220b117
UD
495702012-01-21 Ulrich Drepper <drepper@gmail.com>
49571
49572 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49573
3e1aa84e
UD
495742012-01-20 Ulrich Drepper <drepper@gmail.com>
49575
49576 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49577 transient errors.
49578 * nscd/grpcache.c (cache_addgr): Likewise.
49579 * nscd/hstcache.c (cache_addhst): Likewise.
49580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49581 * nscd/pwdcache.c (cache_addpw): Likewise.
49582 * nscd/servicescache.c (cache_addserv): Likewise.
49583
400aa020
UD
495842012-01-16 Ulrich Drepper <drepper@gmail.com>
49585
d77e7869
UD
49586 * malloc/malloc.c: Various cleanups.
49587 * malloc/hooks.c: Likewise.
49588
400aa020
UD
49589 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49590 * stdlib/bug-fmtmsg1.c: New file.
49591
49592 * stdlib/fmtmsg.c (init): Add missing unlock.
49593 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49594
e0a309cf
MP
495952012-01-12 Marek Polacek <polacek@redhat.com>
49596
49597 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49598 and _GNU_SOURCE.
49599
929d11c7
WS
496002012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49601
49602 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49603 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49604 macro to ensure uniqueness of label name.
49605 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49606 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49607
41d0e869
UD
496082012-01-11 Ulrich Drepper <drepper@gmail.com>
49609
0cc5ed3b
UD
49610 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49611
41d0e869
UD
49612 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49613 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49614 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49616
a47a831a
UD
496172012-01-10 Ulrich Drepper <drepper@gmail.com>
49618
daa891c0
UD
49619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49620
49621 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49622 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49623 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49624
e58ef0f2
UD
49625 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49626
a47a831a 49627 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49629 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49630 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49631
49632 * math/bits/math-finite.h: Add ldexp support.
49633
a0bfc9c7
MP
496342012-01-10 Marek Polacek <polacek@redhat.com>
49635
49636 * locale/programs/localedef.h (show_archive_content): Add noreturn
49637 attribute.
49638
d6e97a1d
UD
496392012-01-09 Ulrich Drepper <drepper@gmail.com>
49640
49641 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49642
d5835c26
UD
496432012-01-08 Ulrich Drepper <drepper@gmail.com>
49644
e5f484c6
UD
49645 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49646
d5835c26
UD
49647 * io/Makefile (headers): Add bits/poll2.h.
49648
d1f741e9
WS
496492011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49650
49651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49652 typo #include statement.
49653
ec09c1c4
UD
496542012-01-08 Ulrich Drepper <drepper@gmail.com>
49655
49656 * include/sys/cdefs.h: Define __attribute_alloc_size.
49657 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49658 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49659 * elf/pldd.c: Likewise.
49660 * iconv/iconv_charmap.c: Likewise.
49661 * iconv/iconvconfig.c: Likewise.
49662 * iconv/strtab.c: Likewise.
49663 * locale/programs/locale.c: Likewise.
49664 * locale/programs/localedef.h: Likewise.
49665 * locale/programs/simple-hash.c: Likewise.
49666 * nscd/nscd.h: Likewise.
49667 * nss/makedb.c: Likewise.
49668 * sysdeps/generic/ldconfig.h: Likewise.
49669 * locale/programs/localedef.c: Remove xmalloc prototype.
49670 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49671
20b38e03
PP
496722012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49673
49674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49675 appropriate.
49676
a0da5fe1
UD
496772012-01-08 Ulrich Drepper <drepper@gmail.com>
49678
1d5a644a 49679 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49680 * math/tst-CMPLX.c: New file.
1d5a644a 49681
8784a6db
UD
49682 * math/complex.h (CMPLXL): Fix typo.
49683
d9a216c0
UD
49684 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49685 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49686 GLIBC_2.16.
49687 * debug/tst-chk1.c: Add poll and ppoll tests.
49688 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49689 * include/sys/poll.h: Add hidden proto for ppoll.
49690 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49691 * sysdeps/mach/hurd/ppoll.c: Likewise.
49692 * io/ppoll.c: Likewise.
49693 * debug/poll_chk.c: New file.
49694 * debug/ppoll_chk.c: New file.
49695 * include/bits/poll2.h: New file.
49696 * io/bits/poll2.h: New file.
49697
ac097f5c
UD
49698 [BZ #1350]
49699 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49700
2119dcfa
UD
49701 * configure.in: static is always set to yes. Remove.
49702 * config.make.in: Don't set build-static.
49703 * Makeconfig: Remove use of build-static.
49704 * dlfcn/Makefile: Likewise.
49705 * elf/Makefile: Likewise.
49706 * math/Makefile: Likewise.
49707 * misc/Makefile: Likewise.
49708 * nptl/Makefile: Likewise.
49709 * sysdeps/mach/hurd/Makefile: Likewise.
49710
121766a9
UD
49711 * configure.in: PWD_P is not used anymore.
49712 * config.make.in: Remove PWD_P entry.
49713
51a1d39c 49714 * configure.in: Remove last remnants of RANLIB.
8720d066 49715 No need to check for signed size_t anymore.
215f4bdc
UD
49716 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49717 and IA-64.
3857022a 49718 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49719 * aclocal.m4: Likewise.
49720
d3ed7225
UD
49721 * wcsmbs/mbrtoc16.c: Implement using towc function.
49722 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49723 * wcsmbs/wcsmbsload.c: Likewise.
49724 * iconv/gconv_simple.c: Likewise.
49725 * iconv/gconv_int.h: Likewise.
49726 * iconv/gconv_builtin.h: Likewise.
49727 * iconv/iconv_prog.c: Remove CHAR16 handling.
49728
49729 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49730
49731 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49732
a0da5fe1
UD
49733 * configure.in: Remove --with-elf and --enable-bounded options.
49734 Dont set base_machine for ia64. More non-ELF conditions removed.
49735 Remove testing and setting of leading underscore information.
49736 * config.make.in (build-bounded): Set to no.
49737 * config.h.in: Remove NO_UNDERSCORES entry.
49738 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49739 them.
49740 * csu/start.c: Remove !NO_UNDERSCORE code.
49741 * locale/localeinfo.h: Likewise.
49742 * sysdeps/generic/machine-gmon.h: Likewise.
49743 * sysdeps/generic/sysdep.h: Likewise.
49744 * sysdeps/i386/sysdep.h: Likewise.
49745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49746 * sysdeps/mach/sysdep.h: Likewise.
49747 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49749 * sysdeps/sh/sysdep.h: Likewise.
49750 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49751 * sysdeps/unix/i386/sysdep.S: Likewise.
49752 * sysdeps/unix/sparc/start.c: Likewise.
49753 * sysdeps/unix/sparc/sysdep.S: Likewise.
49754 * sysdeps/unix/sparc/sysdep.h: Likewise.
49755 * sysdeps/unix/start.c: Likewise.
49756 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49757 * sysdeps/x86_64/sysdep.h: Likewise.
49758
df78418a
UD
497592012-01-07 Ulrich Drepper <drepper@gmail.com>
49760
a784e502
UD
49761 [BZ #13553]
49762 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49763 for non-gcc.
49764 * argp/argp-fmtstream.h: Use const instead __const.
49765 * argp/argp.h: Likewise.
49766 * assert/assert.h: Likewise.
49767 * bits/fenv.h: Likewise.
49768 * bits/sched.h: Likewise.
49769 * bits/sigset.h: Likewise.
49770 * bits/sigthread.h: Likewise.
49771 * catgets/nl_types.h: Likewise.
49772 * conform/data/pthread.h-data: Likewise.
49773 * crypt/crypt-private.h: Likewise.
49774 * crypt/crypt.h: Likewise.
49775 * crypt/crypt_util.c: Likewise.
49776 * ctype/ctype.h: Likewise.
49777 * debug/execinfo.h: Likewise.
49778 * debug/mbsnrtowcs_chk.c: Likewise.
49779 * debug/mbsrtowcs_chk.c: Likewise.
49780 * debug/wcsnrtombs_chk.c: Likewise.
49781 * debug/wcsrtombs_chk.c: Likewise.
49782 * debug/wcstombs_chk.c: Likewise.
49783 * dirent/dirent.h: Likewise.
49784 * dlfcn/dlfcn.h: Likewise.
49785 * elf/neededtest4.c: Likewise.
49786 * grp/grp.h: Likewise.
49787 * gshadow/gshadow.h: Likewise.
49788 * iconv/gconv.h: Likewise.
49789 * iconv/gconv_int.h: Likewise.
49790 * iconv/gconv_simple.c: Likewise.
49791 * iconv/iconv.h: Likewise.
49792 * iconv/loop.c: Likewise.
49793 * iconv/skeleton.c: Likewise.
49794 * include/aio.h: Likewise.
49795 * include/aliases.h: Likewise.
49796 * include/argz.h: Likewise.
49797 * include/arpa/inet.h: Likewise.
49798 * include/assert.h: Likewise.
49799 * include/dirent.h: Likewise.
49800 * include/dlfcn.h: Likewise.
49801 * include/execinfo.h: Likewise.
49802 * include/fcntl.h: Likewise.
49803 * include/fenv.h: Likewise.
49804 * include/glob.h: Likewise.
49805 * include/grp.h: Likewise.
49806 * include/libintl.h: Likewise.
49807 * include/mntent.h: Likewise.
49808 * include/netdb.h: Likewise.
49809 * include/pwd.h: Likewise.
49810 * include/rpc/netdb.h: Likewise.
49811 * include/sched.h: Likewise.
49812 * include/search.h: Likewise.
49813 * include/shadow.h: Likewise.
49814 * include/signal.h: Likewise.
49815 * include/stdio.h: Likewise.
49816 * include/stdlib.h: Likewise.
49817 * include/string.h: Likewise.
49818 * include/sys/socket.h: Likewise.
49819 * include/sys/stat.h: Likewise.
49820 * include/sys/statfs.h: Likewise.
49821 * include/sys/statvfs.h: Likewise.
49822 * include/sys/syslog.h: Likewise.
49823 * include/sys/time.h: Likewise.
49824 * include/sys/uio.h: Likewise.
49825 * include/time.h: Likewise.
49826 * include/unistd.h: Likewise.
49827 * include/utmp.h: Likewise.
49828 * include/wchar.h: Likewise.
49829 * include/wctype.h: Likewise.
49830 * inet/aliases.h: Likewise.
49831 * inet/arpa/inet.h: Likewise.
49832 * inet/netinet/ether.h: Likewise.
49833 * inet/netinet/in.h: Likewise.
49834 * intl/libintl.h: Likewise.
49835 * io/bits/fcntl2.h: Likewise.
49836 * io/fcntl.h: Likewise.
49837 * io/ftw.h: Likewise.
49838 * io/sys/poll.h: Likewise.
49839 * io/sys/stat.h: Likewise.
49840 * io/sys/statfs.h: Likewise.
49841 * io/sys/statvfs.h: Likewise.
49842 * io/utime.h: Likewise.
49843 * libio/bits/stdio.h: Likewise.
49844 * libio/bits/stdio2.h: Likewise.
49845 * libio/libio.h: Likewise.
49846 * libio/libioP.h: Likewise.
49847 * libio/stdio.h: Likewise.
49848 * locale/lc-ctype.c: Likewise.
49849 * locale/locale.h: Likewise.
49850 * login/utmp.h: Likewise.
49851 * malloc/arena.c: Likewise.
49852 * malloc/malloc.c: Likewise.
49853 * malloc/malloc.h: Likewise.
49854 * malloc/mcheck.c: Likewise.
49855 * malloc/mtrace.c: Likewise.
49856 * math/bits/mathcalls.h: Likewise.
49857 * math/fenv.h: Likewise.
49858 * math/math_private.h: Likewise.
49859 * misc/bits/error.h: Likewise.
49860 * misc/bits/syslog.h: Likewise.
49861 * misc/err.h: Likewise.
49862 * misc/error.h: Likewise.
49863 * misc/fstab.h: Likewise.
49864 * misc/mntent.h: Likewise.
49865 * misc/regexp.h: Likewise.
49866 * misc/search.h: Likewise.
49867 * misc/sgtty.h: Likewise.
49868 * misc/sys/mman.h: Likewise.
49869 * misc/sys/syslog.h: Likewise.
49870 * misc/sys/uio.h: Likewise.
49871 * misc/sys/xattr.h: Likewise.
49872 * misc/ttyent.h: Likewise.
49873 * nis/rpcsvc/ypclnt.h: Likewise.
49874 * nss/nss.h: Likewise.
49875 * posix/bits/unistd.h: Likewise.
49876 * posix/fnmatch.h: Likewise.
49877 * posix/glob.h: Likewise.
49878 * posix/sched.h: Likewise.
49879 * posix/spawn.h: Likewise.
49880 * posix/sys/wait.h: Likewise.
49881 * posix/unistd.h: Likewise.
49882 * posix/wordexp.h: Likewise.
49883 * pwd/pwd.h: Likewise.
49884 * resolv/netdb.h: Likewise.
49885 * resource/sys/resource.h: Likewise.
49886 * rt/aio.h: Likewise.
49887 * rt/bits/mqueue2.h: Likewise.
49888 * rt/mqueue.h: Likewise.
49889 * shadow/shadow.h: Likewise.
49890 * signal/signal.h: Likewise.
49891 * socket/send.c: Likewise.
49892 * socket/sendto.c: Likewise.
49893 * socket/sys/socket.h: Likewise.
49894 * stdio-common/printf.h: Likewise.
49895 * stdlib/bits/stdlib.h: Likewise.
49896 * stdlib/fmtmsg.h: Likewise.
49897 * stdlib/monetary.h: Likewise.
49898 * stdlib/stdlib.h: Likewise.
49899 * stdlib/ucontext.h: Likewise.
49900 * streams/stropts.h: Likewise.
49901 * string/argz.h: Likewise.
49902 * string/bits/string2.h: Likewise.
49903 * string/string.h: Likewise.
49904 * string/strings.h: Likewise.
49905 * sunrpc/rpc/auth.h: Likewise.
49906 * sunrpc/rpc/auth_des.h: Likewise.
49907 * sunrpc/rpc/clnt.h: Likewise.
49908 * sunrpc/rpc/netdb.h: Likewise.
49909 * sunrpc/rpc/pmap_clnt.h: Likewise.
49910 * sunrpc/rpc/xdr.h: Likewise.
49911 * sysdeps/generic/inttypes.h: Likewise.
49912 * sysdeps/generic/net/if.h: Likewise.
49913 * sysdeps/generic/sys/swap.h: Likewise.
49914 * sysdeps/gnu/net/if.h: Likewise.
49915 * sysdeps/gnu/utmpx.h: Likewise.
49916 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49917 * sysdeps/i386/i486/bits/string.h: Likewise.
49918 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49919 * sysdeps/s390/bits/string.h: Likewise.
49920 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49921 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49922 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49923 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49924 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49925 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49926 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49927 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49928 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49929 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49930 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49932 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49933 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49934 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49935 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49936 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49937 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49941 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49942 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49943 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49944 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49945 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49948 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49949 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49950 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49951 * sysvipc/sys/ipc.h: Likewise.
49952 * sysvipc/sys/msg.h: Likewise.
49953 * sysvipc/sys/sem.h: Likewise.
49954 * sysvipc/sys/shm.h: Likewise.
49955 * termios/termios.h: Likewise.
49956 * time/sys/time.h: Likewise.
49957 * time/time.h: Likewise.
49958 * wcsmbs/bits/wchar2.h: Likewise.
49959 * wcsmbs/uchar.h: Likewise.
49960 * wcsmbs/wchar.h: Likewise.
49961 * wctype/wctype.h: Likewise.
49962
0269750c
UD
49963 [BZ #13551]
49964 * Makeconfig: Remove all but ELF support including AIX support.
49965 * Makerules: Likewise.
49966 * config.h.in: Likewise.
49967 * config.make.in: Likewise.
49968 * configure: Likewise.
49969 * configure.in: Likewise.
49970 * csu/Makefile: Likewise.
49971 * csu/version.c: Likewise.
49972 * debug/Makefile: Likewise.
49973 * dlfcn/Makefile: Likewise.
49974 * elf/Makefile: Likewise.
49975 * extra-lib.mk: Likewise.
49976 * iconv/Makefile: Likewise.
49977 * include/libc-symbols.h: Likewise.
49978 * include/shlib-compat.h: Likewise.
49979 * resolv/Makefile: Likewise.
49980 * resolv/res_libc.c: Likewise.
49981 * rt/Makefile: Likewise.
49982 * sysdeps/i386/asm-syntax.h: Likewise.
49983 * sysdeps/i386/sysdep.h: Likewise.
49984 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49985 * sysdeps/mach/sysdep.h: Likewise.
49986 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49987 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49988 * sysdeps/s390/asm-syntax.h: Likewise.
49989 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49990 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49991 * sysdeps/sh/sysdep.h: Likewise.
49992 * sysdeps/unix/sparc/sysdep.h: Likewise.
49993 * sysdeps/wordsize-32/divdi3.c: Likewise.
49994 * sysdeps/x86_64/sysdep.h: Likewise.
49995
00bbd29b
UD
49996 * argp/Versions: Remove _argp_unlock_xxx.
49997
49998 [BZ #13559]
49999 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50000 * abilist/libBrokenLocale.abilist: Likewise.
50001 * abilist/libanl.abilist: Likewise.
50002 * abilist/libc.abilist: Likewise.
50003 * abilist/libcrypt.abilist: Likewise.
50004 * abilist/libdl.abilist: Likewise.
50005 * abilist/libm.abilist: Likewise.
50006 * abilist/libnsl.abilist: Likewise.
50007 * abilist/libpthread.abilist: Likewise.
50008 * abilist/libresolv.abilist: Likewise.
50009 * abilist/librt.abilist: Likewise.
50010 * abilist/libthread_db.abilist: Likewise.
50011 * abilist/libutil.abilist: Likewise.
50012 * abilist/libnss_db.abilist: New file.
50013
50014 * scripts/abilist.awk: Add support for indirect functions.
50015
a2693a0e
UD
50016 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50017
3f05895f
UD
50018 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50019
ecb6fb48
UD
50020 * shlib-versions: Remove entries for ports architectures.
50021
664f8cb9
UD
50022 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50023 files in ports.
50024 * elf/stackguard-macros.h: Remove support for IA-64.
50025 * elf/tst-auditmod1.c: Likewise.
50026 * sysdeps/generic/ldsodefs.h: Likewise.
50027
7ae81d88
UD
50028 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50029 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50030 configure files.
50031
bdeba135
UD
50032 [BZ #13552]
50033 * configure.in: Remove --enable-omitfp support.
50034 * FAQ.in: Adjust.
50035 * config.make.in: Likewise.
50036 * Makeconfig: Likewise.
50037 * manual/install.texi: Likewise.
50038
d75a0a62
UD
50039 In case anyone cares, the IA-64 architecture could move to ports.
50040 * sysdeps/ia64/*: Removed.
50041 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50042 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50043
dcc9756b
UD
50044 [BZ #13555]
50045 * configure.in: Remove entries for unsupported architectures.
50046
d3761ebc 50047 [BZ #13533]
9954432e
UD
50048 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50049 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50050 routines.
50051 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50052 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50053 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50054 fall back to using wcrtomb.
50055 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50056 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50057 renaming.
50058 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50059 * wcsmbs/tst-c16c32-1.c: New file.
50060
50061 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50062 local variable.
50063
c3a87236
UD
50064 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50065
28926a1b
UD
50066 * elf/tst-unique3.cc: Add explicit declaration of gets.
50067 * elf/tst-unique3lib.cc: Likewise.
50068 * elf/tst-unique3lib2.cc: Likewise.
50069 * elf/tst-unique4.cc: Likewise.
50070
df78418a
UD
50071 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50072
8ecd6b2a
JM
500732012-01-06 Joseph Myers <joseph@codesourcery.com>
50074
50075 [BZ #13566]
50076 * assert/assert.h (static_assert): Don't define for C++.
50077 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50078 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50079
9f115170
UD
500802012-01-03 Ulrich Drepper <drepper@gmail.com>
50081
5e0d0300
UD
50082 * iconv/loop.c (single loop): Fix assertion in storing of
50083 remaining bytes.
50084
9f115170
UD
50085 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50086
81fb02b0
UD
500872012-01-01 Ulrich Drepper <drepper@gmail.com>
50088
50089 * posix/getconf.c: Update copyright year.
50090 * nss/getent.c: Likewise.
a316c1f6 50091 * nss/makedb.c: Likewise.
81fb02b0
UD
50092 * iconv/iconvconfig.c: Likewise.
50093 * iconv/iconv_prog.c: Likewise.
50094 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50095 * elf/pldd.c: Likewise.
50096 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50097 * catgets/gencat.c: Likewise.
50098 * csu/version.c: Likewise.
50099 * elf/ldd.bash.in: Likewise.
50100 * elf/sprof.c (print_version): Likewise.
50101 * locale/programs/locale.c: Likewise.
50102 * locale/programs/localedef.c: Likewise.
a316c1f6 50103 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50104 * nscd/nscd.c (print_version): Likewise.
50105 * debug/xtrace.sh: Likewise.
50106 * malloc/memusage.sh: Likewise.
50107 * malloc/mtrace.pl: Likewise.
50108 * debug/catchsegv.sh: Likewise.
50109
2ba92745
JJ
501102011-12-30 Jakub Jelinek <jakub@redhat.com>
50111
50112 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50113 pure attribute.
50114
dadebdae
UD
501152011-12-24 Ulrich Drepper <drepper@gmail.com>
50116
d3761ebc 50117 [BZ #13533]
db6af3eb
UD
50118 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50119 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50120 transformations.
50121 * iconv/gconv_int.h: Likewise.
50122 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50123 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50124 from libc for GLIBC_2.16.
50125 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50126 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50127 * wcsmbs/uchar.h: Really define mbstate_t.
50128 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50129 * wcsmbs/c16rtomb.c: New file.
50130 * wcsmbs/mbrtoc16.c: New file.
50131 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50132 for C/POSIX locale.
50133 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50134 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50135
dadebdae
UD
50136 * wcsmbs/wchar.h: Add missing __restrict.
50137
67371b56
UD
501382011-12-23 Ulrich Drepper <drepper@gmail.com>
50139
74033a25
UD
50140 [BZ #13532]
50141 * time/Makefile (routines): Add timespec_get.
50142 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50143 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50144 timespec for ISO C11.
50145 * time/timespec_get.c: New file.
50146 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50147 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50148
380d7e87
UD
50149 [BZ #13531]
50150 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50151 * stdlib/stdlib.h: Declare aligned_alloc.
50152 * Versions.def: Add GLIBC_2.16 for libc.
50153 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50154
4e9e7a35
UD
50155 [BZ 13527]
50156 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50157 ISO C11.
50158
380d7e87 50159 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50160 code.
50161
03a71829
UD
50162 [BZ #13528]
50163 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50164
839e283e
UD
50165 [BZ #13529]
50166 * assert/assert.h (static_assert): Define.
50167
ce5294e2 50168 * version.h: Update for 2.16 development version.
90fa7312 50169
8d44e150 50170 [BZ #13526]
d7809905
UD
50171 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50172 _ISOC11_SOURCE.
50173
c0da14cd
UD
50174 * version.h (RELEASE): Bump for 2.15 release.
50175 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50176
530a3249
MP
50177 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50178 Patch by Marek Polacek <mpolacek@redhat.com>.
50179
67371b56
UD
50180 * bits/byteswap.h: Protect long long constants with __extension__.
50181 * sysdeps/i386/bits/byteswap.h: Likewise.
50182 * sysdeps/ia64/bits/byteswap.h: Likewise.
50183 * sysdeps/s390/bits/byteswap.h: Likewise.
50184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50185
15db4de1
LD
501862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50187
50188 [BZ #13540]
bbe315ea
LD
50189 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50190 destination buffer.
15db4de1
LD
50191 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50192
2b2596b1
MP
501932011-12-23 Marek Polacek <polacek@redhat.com>
50194
50195 * elf/dl-addr.c (determine_info): Add inline keyword.
50196 * elf/tst-auditmod4b.c (check_avx): Likewise.
50197 * elf/tst-auditmod6b.c (check_avx): Likewise.
50198 * elf/tst-auditmod6c.c (check_avx): Likewise.
50199 * elf/tst-auditmod7b.c (check_avx): Likewise.
50200
70c6c246
UD
502012011-12-23 Ulrich Drepper <drepper@gmail.com>
50202
50203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50204 !__SSE_MATH__.
50205
c044cf14
LD
502062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50207
15db4de1 50208 [BZ #13540]
c044cf14
LD
50209 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50210 processing for last bytes.
50211
6b13d9d9
BH
502122011-08-06 Bruno Haible <bruno@clisp.org>
50213
d455f537
BH
50214 [BZ #13061]
50215 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50216 U+0385, not to U+1FEE.
50217
6b13d9d9
BH
50218 [BZ #13062]
50219 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50220 entry for U+00A5 U+0301.
50221
db910efd
UD
502222011-12-22 Ulrich Drepper <drepper@gmail.com>
50223
27deeafc
UD
50224 [BZ #13166]
50225 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50226 buffer for the output is too small.
50227
aed9d171
UD
50228 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50229 optimization.
50230
db910efd
UD
50231 [BZ #13185]
50232 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50233 SSE flags if possible.
50234
2bd779ae
LD
502352011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50236
e7f9dac3 50237 [BZ #13540]
2bd779ae
LD
50238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50239 processing for last bytes.
50240
154bfc16
JM
502412011-12-22 Joseph Myers <joseph@codesourcery.com>
50242
50243 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50244 (syscall-list-default-options, syscall-list-default-condition)
50245 (syscall-list-includes): Define.
50246 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50247 list of ABIs and options and #if conditions for each ABI. Do not
50248 handle common syscalls between ABIs specially.
50249 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50250 Remove.
50251 (syscall-list-variants, syscall-list-32bit-options)
50252 (syscall-list-32bit-condition, syscall-list-64bit-options)
50253 (syscall-list-64bit-condition): Define.
50254 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50255 (syscall-list-variants, syscall-list-32bit-options)
50256 (syscall-list-32bit-condition, syscall-list-64bit-options)
50257 (syscall-list-64bit-condition): Define.
50258 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50259 Remove.
50260 (syscall-list-variants, syscall-list-32bit-options)
50261 (syscall-list-32bit-condition, syscall-list-64bit-options)
50262 (syscall-list-64bit-condition): Define.
50263 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50264 Remove.
50265 (syscall-list-variants, syscall-list-32bit-options)
50266 (syscall-list-32bit-condition, syscall-list-64bit-options)
50267 (syscall-list-64bit-condition): Define.
50268
21eaf3a5
UD
502692011-12-22 Ulrich Drepper <drepper@gmail.com>
50270
16c6f992
UD
50271 * locale/iso-639.def: Add brx entry.
50272
41043168
UD
50273 [BZ #13328]
50274 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50275 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50276
21eaf3a5
UD
50277 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50278 __feraiseexcept_renamed.
50279
e3a851a2
UD
502802011-12-21 Ulrich Drepper <drepper@gmail.com>
50281
4920765e
UD
50282 [BZ #13538]
50283 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50284 EPOLLET with unsigned values.
50285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50286 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50287
e3a851a2
UD
50288 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50289 to large cancellation.
50290 * math/s_cacoshf.c: Likewise.
50291 * math/s_cacoshl.c: Likewise.
50292
b27e24b8
RK
502932011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50294
50295 [BZ #13305]
aebefeee 50296 [BZ #12786]
b27e24b8
RK
50297 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50298 * math/s_cacoshf.c: Likewise.
50299 * math/s_cacoshl.c: Likewise.
50300
ee190f67
UD
503012011-12-21 Ulrich Drepper <drepper@gmail.com>
50302
50303 [BZ #13439]
50304 * iconv/gconv.h: Define __GCONV_SWAP.
50305 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50306 * iconvdata/utf-16.c: Likewise.
50307 * iconvdata/utf-32.c: Likewise.
50308
707f25df
AS
503092011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50310
50311 [BZ #13524]
50312 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50313 numerator after shifting it by one limb.
50314
d2daaa1e
RÁE
503152011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50316
50317 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50318 under [__USE_EXTERN_INLINES].
50319
a4647e72
UD
503202011-12-17 Ulrich Drepper <drepper@gmail.com>
50321
50322 [BZ #13446]
50323 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50324
f0b264f1
AZ
503252011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50326
50327 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50328 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50329 optimized code.
50330 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50331 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50332 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50333 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50334 for strncasecmp/strncasecmp_l compilation.
50335 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50336 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50337
8ef4f244
MP
503382011-12-08 Marek Polacek <mpolacek@redhat.com>
50339
50340 [BZ #13484]
50341 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50342 of __asm__.
50343
97ac2654
UD
503442011-12-17 Ulrich Drepper <drepper@gmail.com>
50345
50346 [BZ #13506]
50347 * time/tzfile.c (__tzfile_read): Check values from file header.
50348
91d2a845
WS
503492011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50350
50351 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50352 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50353 * powerpc/powerpc32/dl-start.S: Likewise.
50354 * powerpc/powerpc32/elf/start.S: Likewise.
50355 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50356 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50357 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50358 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50359 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50360 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50361 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50362 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50363 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50364 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50365 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50366 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50367 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50368 * powerpc/powerpc32/memset.S: Likewise.
50369 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50370 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50371 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50372 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50373 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50374 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50375 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50376 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50377 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50378 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50379 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50380 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50381 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50382
a1267ba1
AZ
503832011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50384
50385 * math/libm-test.inc: Added more nearbyint tests.
50386 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50390
ad8ac1bd
RL
503912011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50392
50393 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50394 FD_CLOEXEC.
50395
1d3e4b61
UD
503962011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50397
50398 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50399 Add wcscpy-ssse3 wcscpy-c.
50400 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50401 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50402 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50403 * sysdeps/x86_64/wcschr.S: New file.
50404 * sysdeps/x86_64/wcsrchr.S: New file.
50405 * string/test-strcmp.c: Remove checking of wcscmp function for
50406 wrong alignments.
50407 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50408 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50409 wcsrchr-sse2 wcsrchr-c.
50410 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50411 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50412 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50413 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50414 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50415 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50416 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50417 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50418 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50419 * wcsmbc/wcschr.c (WCSCHR): New macro.
50420
5b330a2d
UD
504212011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50422
50423 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50424 * wcsmbs/test-wcsrchr.c: New file.
50425 * string/test-strrchr.c: Add wcsrchr support.
50426 (WIDE): New macro.
50427 * wcsmbs/test-wcscpy.c: New file.
50428 * string/test-strcpy.c: Add wcscpy support.
50429 (WIDE): New macro.
26428b7c 50430
f039c043
UD
504312011-12-10 Ulrich Drepper <drepper@gmail.com>
50432
50433 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50434 the inner loop.
50435
850fb039
AS
504362011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50437
50438 [BZ #13472]
50439 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50440
4efbd5cb
UD
504412011-12-04 Ulrich Drepper <drepper@gmail.com>
50442
52ff5dd0 50443 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50444 Minor optimizations.
52ff5dd0 50445
4efbd5cb
UD
50446 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50447 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50448 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50449
8a426e12
UD
504502011-12-03 Ulrich Drepper <drepper@gmail.com>
50451
aff2453d
UD
50452 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50453 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50454 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50455 for gcc to avoid warnings.
50456 * inet/Makefile (tests): Add tst-checks.
50457 * inet/tst-checks.c: New file.
50458
50459 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50460 warning.
50461
50462 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50463 __wmemcmp_sse2.
50464
50465 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50466 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50467
8a426e12
UD
50468 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50469
9bea3473
UD
504702011-12-02 Ulrich Drepper <drepper@gmail.com>
50471
3a965496
UD
50472 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50473 problem.
50474
9bea3473
UD
50475 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50476
f101631b
UD
504772011-11-29 Joseph Myers <joseph@codesourcery.com>
50478
50479 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50480 conditional on GCC version.
50481 (__arch_compare_and_exchange_val_8_acq)
50482 (__arch_compare_and_exchange_val_16_acq)
50483 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50484 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50485 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50486
a98275aa
UD
504872011-12-02 Joseph Myers <joseph@codesourcery.com>
50488
50489 * sysdeps/sh/backtrace.c: New file.
50490
d4cc29a2
AS
504912011-12-02 Andreas Schwab <schwab@redhat.com>
50492
50493 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50494 parenthesis.
50495
6257af2d
AS
504962011-12-01 Andreas Schwab <schwab@redhat.com>
50497
50498 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50499 falling back to utime.
50500
b5f44c1a
AS
505012011-11-30 Andreas Schwab <schwab@redhat.com>
50502
50503 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50504 expectations for float.
50505
f3a6cc0a
AS
505062011-11-29 Andreas Schwab <schwab@redhat.com>
50507
50508 * locale/weight.h (findidx): Add parameter len.
50509 * locale/weightwc.h (findidx): Likewise.
50510 * posix/fnmatch_loop.c (FCT): Adjust caller.
50511 * posix/regcomp.c (build_equiv_class): Likewise.
50512 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50513 * posix/regexec.c (check_node_accept_bytes): Likewise.
50514 * string/strcoll_l.c (STRCOLL): Likewise.
50515 * string/strxfrm_l.c (STRXFRM): Likewise.
50516
9d65ea3a
UD
505172011-11-17 Ulrich Drepper <drepper@gmail.com>
50518
50519 * Makefile.in: Remove CVSOPT handling.
50520 * configure.in: Remove use of AC_REVISION.
50521 * iconvdata/Makefile (distribute): No need to filter out CVS.
50522 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50523 handling.
50524
5583a086
AS
505252011-11-16 Andreas Schwab <schwab@redhat.com>
50526
50527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50528 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50529 [USE_AS_STRNCASECMP_L]: Likewise.
50530 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50531 NO_TLS_DIRECT_SEG_REFS.
50532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50533 Fix argument offsets for non-PIC.
50534 [USE_AS_STRNCASECMP_L]: Likewise.
50535 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50536 NO_TLS_DIRECT_SEG_REFS.
50537
d62a8200
UD
505382011-11-15 Ulrich Drepper <drepper@gmail.com>
50539
9d65ea3a 50540 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50541 O_CLOEXEC.
50542 * locale/loadlocale.c (_nl_load_locale): Likewise.
50543
09f93bd3
AS
505442011-11-15 Andreas Schwab <schwab@redhat.com>
50545
446514f9
AS
50546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50547 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50548 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50549 (SYSCALL_GETTIME): Set errno on error.
50550
09f93bd3
AS
50551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50552 count references to noai6ai_cached.
50553
312be3f9
UD
505542011-11-15 Ulrich Drepper <drepper@gmail.com>
50555
50556 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50557
50558 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50559 FD_CLOEXEC for /proc/self/maps.
50560
50561 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50562 FD_CLOEXEC for /proc/meminfo.
50563
50564 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50565 gai.conf.
50566
50567 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50568 FD_CLOEXEC for given file.
50569
50570 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50571
50572 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50573 FD_CLOEXEC for /etc/hosts.
50574 (_gethtent): Likewise.
50575
50576 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50577
50578 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50579 cancellation and set FD_CLOEXEC for /etc/netgroup.
50580
50581 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50582 reading /etc/publickey.
50583
50584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50585 allow cancellation when reading /etc/group.
50586
50587 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50588 cancellation.
50589 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50590
50591 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50592 when using data file.
50593
50594 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50595
50596 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50597 (write_nis_obj): Use "c" and "e" in fopen.
50598
50599 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50600
50601 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50602
50603 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50604
50605 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50606
50607 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50608 locale.alias.
50609
50610 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50611
50612 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50613
50614 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50615
50616 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50617 file parsing and set FD_CLOEXEC.
50618
82af0fa8
UD
506192011-11-14 Ulrich Drepper <drepper@gmail.com>
50620
50621 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50622
a5fb313c
AS
506232011-11-14 Andreas Schwab <schwab@redhat.com>
50624
50625 * malloc/arena.c (arena_get2): Don't call reused_arena when
50626 _int_new_arena failed.
50627
6abf3465
UD
506282011-11-14 Ulrich Drepper <drepper@gmail.com>
50629
50630 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50631 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50632 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50633 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50634 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50635 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50636 to compile strcasecmp and strncasecmp.
50637 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50638 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50639
50640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50641
76e3966e
UD
506422011-11-13 Ulrich Drepper <drepper@gmail.com>
50643
50644 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50645 locale-defines.sym to gen-as-const-headers.
50646 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50647 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50649 to compile strcasecmp and strncasecmp.
50650 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50651 strcasecmp_l and strncasecmp_l.
50652 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50653 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50654 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50655 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50656 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50657 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50658 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50659 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50660 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50661 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50662 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50663
ab26144e
UD
506642011-11-12 Ulrich Drepper <drepper@gmail.com>
50665
7edb22ef
UD
50666 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50667 result of SYSDEP_GETTIME_CPU to retval.
50668 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50669 parameter list to macro. Remove trailing semicolon. Adjust users.
50670
9694fc44
UD
50671 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50672 variable.
50673
8ad89ef8
UD
50674 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50675 mantissa words.
50676 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50677
0c822ef9
UD
50678 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50679 from unused variable.
50680
874e0564
UD
50681 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50682 DWARF definitions.
50683 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50684 for assembling.
50685
3a2edc79
UD
50686 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50687 over namespaces.
50688
f3c2577f
UD
50689 * sunrpc/rpc_prot.c (rejected): Fix case value.
50690
294ce126
UD
50691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50692 unsigned long long int to avoid warnings in shift.
50693
5e2b63c6
UD
50694 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50695 of use of trans.
50696 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50697 variable tmp.
50698
e7f4b08e
UD
50699 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50700 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50701 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50702
ab26144e
UD
50703 * nis/nis_table.c (nis_list): Use variable of correct type for
50704 result of __follow_path call.
50705
8a6d5255
AZ
507062011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50707
50708 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50709 of math functions ceil, trunc, floor, round, and sqrt, when
50710 avaliable on the platform.
50711 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50712 name clash.
50713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50716
aaddc98c
MP
507172011-10-30 Marek Polacek <mpolacek@redhat.com>
50718
50719 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50720 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50721
95b7042b
RM
507222011-11-11 Roland McGrath <roland@hack.frob.com>
50723
50724 * include/unistd.h: Fix __readlink return type.
50725 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50726
57769839
UD
507272011-11-11 Ulrich Drepper <drepper@gmail.com>
50728
50729 * stdlib/ucontext.h: Undo last change for makecontext.
50730
edc5984d
AS
507312011-11-11 Andreas Schwab <schwab@redhat.com>
50732
98591e58
AS
50733 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50734
edc5984d
AS
50735 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50736 * setjmp/setjmp.h: Mark functions as non-leaf.
50737 * setjmp/bits/setjmp2.h: Likewise.
50738 * stdlib/ucontext.h: Likewise.
50739
77cdc054
AS
507402011-11-10 Andreas Schwab <schwab@redhat.com>
50741
50742 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50743 (reused_arena): Don't check arena limit.
50744 (arena_get2): Atomically check arena limit.
50745
fe72eebd
UD
507462011-11-08 Ulrich Drepper <drepper@gmail.com>
50747
5f078c32
UD
50748 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50749 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50750
fe72eebd
UD
50751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50752 instructions.
50753
ae1bc2fa
AS
507542011-11-07 Andreas Schwab <schwab@redhat.com>
50755
7583a88d
AS
50756 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50757 handler when locking.
50758
ae1bc2fa
AS
50759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50760 Fix size of allocated buffer.
50761
10fb0bfa
AS
507622011-11-04 Andreas Schwab <schwab@redhat.com>
50763
998832a4
AS
50764 [BZ #10103]
50765 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50766 declarations for long double functions.
50767 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50768
10fb0bfa
AS
50769 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50770
3d7ba52b
AS
507712011-11-03 Andreas Schwab <schwab@redhat.com>
50772
a9ae54a1
AS
50773 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50774 installed.
50775
3d7ba52b
AS
50776 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50777 is disabled.
50778
bc8db248
ST
507792011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50780
50781 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50782
45b96dd6
AS
507832011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50784
647776f6
AS
50785 * include/alloca.h (stackinfo_alloca_round): Define.
50786 (extend_alloca): Use it.
50787 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50788 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50789 here.
50790
d91a8b93
AS
50791 * scripts/check-local-headers.sh: Ignore libaudit.h.
50792
45b96dd6
AS
50793 * nscd/Makefile (extra-objs): Make recursively expanded.
50794
432d41ce
UD
507952011-11-01 Ulrich Drepper <drepper@gmail.com>
50796
34372fc6
UD
50797 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50799
fadb59f8
UD
50800 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50801 * posix/tst-rfc3484-2.c: Likewise.
50802 * posix/tst-rfc3484-3.c: Likewise.
50803
78239589
UD
50804 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50805 process_vm_writev.
50806 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50807 process_vm_writev.
50808 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50809 process_vm_writev from libc using GLIBC_2.15 version.
50810
432d41ce
UD
50811 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50812
02f9c6cf
PP
508132011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50814
50815 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50816 stack usage.
50817
3a2c0242
UD
508182011-10-31 Ulrich Drepper <drepper@gmail.com>
50819
f4ec4833
UD
50820 [BZ #13367]
50821 * nss/getent.c (initgroups_keys): Show error message in case no group
50822 names are given.
50823
3a2c0242
UD
50824 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50825 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50826 __bump_nl_timestamp.
50827 * nscd/connections (nscd_init): When host database is served open
50828 netlink socket and request notification about configuration changes.
50829 (main_loop_poll): Track netlink file descriptor and bump timestamp
50830 in case data becomes available.
50831 (main_loop_epoll): Likewise.
50832 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50833 (database_pers_head): Add extra_data fileds.
50834 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50835 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50836 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50837 Adjust caller.
50838 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50839 in6ai data, call __free_in6ai.
50840 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50841 Add -DHAVE_NETLINK.
50842 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50843 interface information. Reuse previous data if netlink timestamp
50844 is not changed.
50845 (__bump_nl_timestamp): New function.
50846 (__free_in6ai): New function.
50847
636064eb
UD
508482011-10-30 Ulrich Drepper <drepper@gmail.com>
50849
50850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50851 close_not_cancel_no_status here.
50852 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50853
9beb2334
UD
508542011-10-29 Ulrich Drepper <drepper@gmail.com>
50855
6ef76f3b
UD
50856 [BZ #13276]
50857 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50858 return value.
50859
0ffc4f3e 50860 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50861 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50862 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50863
cb95113e
UD
508642011-07-03 Andreas Jaeger <aj@suse.de>
50865
50866 [BZ #10709]
50867 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50868 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50869 * math/libm-test.inc (sin_test): Add test case.
50870
a1b560ff
UD
508712011-10-29 Ulrich Drepper <drepper@gmail.com>
50872
c9aaface
UD
50873 [BZ #13337]
50874 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50875 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50876
d272e7f1
UD
50877 * elf/chroot_canon.c (chroot_canon): Cleanups.
50878
1bc33071
UD
50879 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50880
1760874d
TJ
50881 [BZ #13335]
50882 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50883 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50884
51d91b18
UD
50885 * string/test-strchr.c: Make usable for strchrnul testing.
50886 * string/test-strchrnul.c: New file.
50887 * string/Makefile (strop-tests): Add strchrnul.
50888
a1b560ff 50889 * po/it.po: Update from translation team.
b611fb81 50890 * po/es.po: Likewise.
a1b560ff 50891
a5b81e1f
UD
508922011-10-28 Ulrich Drepper <drepper@gmail.com>
50893
fd52bc6d
UD
50894 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50895 the three constants needed as parameters. Drop the others.
50896 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50897 __m128i_strloadu_tolower.
52e4b9eb
UD
50898 Create and initialize variable zero and use it in all the places
50899 where _mm_setzero_si128 was used.
fd52bc6d 50900
a5b81e1f
UD
50901 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50902 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50903 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50904 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50905 anymore.
50906 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50907 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50908 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50909 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50910 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50911 __mpranred, __mptan.
50912 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50913 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50914 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50915 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50916 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50917 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50919 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50920 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50921
b4343346
AS
509222011-10-28 Andreas Schwab <schwab@redhat.com>
50923
0c92d8a8
AS
50924 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50925 redefine if SHARED.
50926 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50927
b4343346
AS
50928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50929 wide char related routines to wcsmbs subdir.
50930
3871f58f
AS
509312011-10-27 Andreas Schwab <schwab@redhat.com>
50932
50933 [BZ #13344]
50934 * misc/sys/cdefs.h (__THROWNL): Define.
50935 * posix/unistd.h: Use __THREADNL instead of __THREAD
50936 for memory synchronization functions.
50937
94d44d9f
RM
509382011-10-26 Roland McGrath <roland@hack.frob.com>
50939
21b64b15 50940 [BZ #13349]
94d44d9f
RM
50941 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50942 doesn't exist.
50943 * manual/stdio.texi (Obstack Streams): Node removed.
50944
f6ce9294
AS
509452011-10-26 Andreas Schwab <schwab@redhat.com>
50946
80479147
AS
50947 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50948 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50950
f6ce9294
AS
50951 * math/math_private.h (math_force_eval): Allow non-addressable
50952 arguments.
50953 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50954
618280a1
UD
509552011-10-25 Ulrich Drepper <drepper@gmail.com>
50956
e0016b11
UD
50957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50958 file is not needed.
50959
50960 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50961 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50962 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50963 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50964 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50965 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50967 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50968 Add AVX variants.
50969 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50970 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50971 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50972 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50973 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50974 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50975 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50976 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50977 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50978 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50979 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50980 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50981 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50982 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50983 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50984 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50985 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50986 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50987 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50988
50989 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50990 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50991
618280a1
UD
50992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50993 place. Use VEX encoding when compiling for AVX.
50994
37822576
AS
509952011-10-25 Andreas Schwab <schwab@redhat.com>
50996
1f1e1947
AS
50997 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50998 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50999
37822576
AS
51000 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51001
31ea014d
UD
510022011-10-25 Ulrich Drepper <drepper@gmail.com>
51003
d7826aa1 51004 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51005 useless if() expression.
d7826aa1
UD
51006 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51007 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51017 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51018 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51019 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51020 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51023 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51024 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51025
31ea014d
UD
51026 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51027
16437fec
AS
510282011-10-25 Andreas Schwab <schwab@redhat.com>
51029
51030 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51031 condition.
51032 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51033
31d3cc00
UD
510342011-10-25 Ulrich Drepper <drepper@gmail.com>
51035
51036 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51037 .text section. Avoid duplicate constants.
51038 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51042 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51046 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51047 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51048 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51049 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51050 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51051 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51052 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51053 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51054 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51056 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51057 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51058 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51059 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51060 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51061 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51062 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51063 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51064 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51065 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51066 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51067 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51068 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51069 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51070 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51071 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51072 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51073 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51074 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51075 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51076 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51077 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51078 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51079 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51080 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51081 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51082 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51083
58985aa9
UD
510842011-10-24 Ulrich Drepper <drepper@gmail.com>
51085
202c9deb
UD
51086 * sysdeps/x86_64/dla.h: Move to ...
51087 * sysdeps/x86_64/fpu/dla.h: ...here.
51088 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51089 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51090
af968f62
UD
51091 * config.make.in: Add have-mfma4 entry.
51092 * configure.in: Substitute libc_cv_cc_fma4.
51093 * math/Makefile (dbl-only-routines): Add sincostab.
51094 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51095 Use __sincostab not sincos.
51096 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51097 name is a macro.
51098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51102 using __copysign.
51103 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51104 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51105 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51106 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51107 and __inv.
51108 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51109 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51110 __copysign.
51111 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51112 define aliases when function name is a macro.
51113 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51114 sysdeps/ieee754/dbl-64/sincos.tbl.
51115 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51116 fma4-enabled routines.
51117 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51118 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51119 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51120 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51121 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51122 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51123 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51124 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51126 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51127 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51128 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51129 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51130 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51131 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51132 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51133 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51134 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51135 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51136 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51137 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51138 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51139 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51140 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51141 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51142 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51144 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51145 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51146 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51147
58985aa9
UD
51148 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51149 rename.
51150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51153 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51158
a201fbcf
AS
511592011-10-24 Andreas Schwab <schwab@redhat.com>
51160
51161 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51162
fc2ee42a
LD
511632011-10-23 Ulrich Drepper <drepper@gmail.com>
51164
bb3129bd
UD
51165 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51166
0275fff8
UD
51167 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51168 prediction.
51169 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51170
2fa2ae85
UD
51171 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51172 Remove unused variable magic_bits.
51173 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51174
fc2ee42a
LD
51175 * string/strnlen.c: Define and use STRNLEN macro.
51176 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51177 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51179 * wcsmbs/wcslen.c: Define and use WCSLEN.
51180 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51181 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51182 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51183 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51184 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51185 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51186 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51187
ce7dd29f
LD
511882011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51189
51190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51191 strnlen-sse2-no-bsf.
51192 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51193 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51194 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51195 Add strnlen support.
51196 (USE_AS_STRNLEN): New macro.
51197 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51198 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51199 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51200 * sysdeps/x86_64/wcslen.S: New file.
51201
979c70a3
MZ
512022011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51203
51204 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51205 XMM-moves are used for copying on small sizes.
51206
2d09f82f
LD
512072011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51208
51209 * wcsmbs/Makefile (strop-tests): Add wcschr.
51210 * wcsmbs/test-wcschr.c: New file.
51211 * string/test-strchr.c: Update.
51212 Add wcschr support.
51213 (WIDE): New macro.
51214
619fccca
LD
512152011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51216
2d09f82f 51217 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51218 * wcsmbs/test-wcslen.c: New file.
51219 * string/test-strlen.c: Update.
51220 Add wcslen support.
51221 (WIDE): New macro.
51222
09f699ea
UD
512232011-10-23 Ulrich Drepper <drepper@gmail.com>
51224
51225 * po/it.po: Update from translation team.
51226
95584d3b
LD
512272011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51228
51229 * sysdeps/x86_64/wcscmp.S: Update.
51230 Fix wrong comparison semantics.
51231 wcscmp shall use signed comparison not unsigned.
51232 Don't use substraction to avoid overflow bug.
51233 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51234 * wcsmbc/wcscmp.c: Likewise.
51235 * string/test-strcmp.c: Likewise.
51236 Add new tests to check cases with negative values.
51237
c8b3296b
UD
512382011-10-23 Ulrich Drepper <drepper@gmail.com>
51239
51240 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51241 * sysdeps/x86_64/dla.h: ...here. New file.
51242 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51251
246ad57a
AS
512522011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51253
51254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51255 __ynl_finite aliases.
51256
a1a87169
UD
512572011-10-22 Ulrich Drepper <drepper@gmail.com>
51258
0d355eb7
UD
51259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51260
a1a87169
UD
51261 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51262 define DLA_FMA.
51263 [DLA_FMA] (EMULV): Use DLA_FMA.
51264 [DLA_FMA] (MUL12): Use EMULV.
51265 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51266 that are not needed.
51267 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51271 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51274
ee2aafe0
AS
512752011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51276
51277 * math/s_nan.c: Undef __nan.
51278 * math/s_nanf.c: Undef __nanf.
51279 * math/s_nanl.c: Undef __nanl.
51280 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51281 "math_private.h".
51282
bc62c2fb
UD
512832011-10-22 Ulrich Drepper <drepper@gmail.com>
51284
77425c63
UD
51285 * math/s_catan.c: Add branch predictions.
51286 * math/s_catanf.c: Likewise.
51287 * math/s_catanh.c: Likewise.
51288 * math/s_catanhf.c: Likewise.
51289 * math/s_catanhl.c: Likewise.
51290 * math/s_catanl.c: Likewise.
51291 * math/s_cexp.c: Likewise.
51292 * math/s_cexpf.c: Likewise.
51293 * math/s_cexpl.c: Likewise.
51294 * math/s_clog.c: Likewise.
51295 * math/s_clog10.c: Likewise.
51296 * math/s_clog10f.c: Likewise.
51297 * math/s_clog10l.c: Likewise.
51298 * math/s_clogf.c: Likewise.
51299 * math/s_clogl.c: Likewise.
51300 * math/s_csqrt.c: Likewise.
51301 * math/s_csqrtf.c: Likewise.
51302 * math/s_csqrtl.c: Likewise.
51303 * math/s_ctanf.c: Likewise.
51304 * math/s_ctanh.c: Likewise.
51305 * math/s_ctanhf.c: Likewise.
51306 * math/s_ctanhl.c: Likewise.
51307 * math/s_ctanl.c: Likewise.
51308
bc62c2fb
UD
51309 * math/math_private.h: Define __nan, __nanf, __nanl.
51310 * math/s_cacosh.c: Include <math_private.h>.
51311 * math/s_cacoshl.c: Likewise.
51312 * math/s_casinh.c: Likewise.
51313 * math/s_casinhf.c: Likewise.
51314 * math/s_casinhl.c: Likewise.
51315 * math/s_ccos.c: Rely entire on ccosh.
51316 * math/s_ccosf.c: Rely entire on ccoshf.
51317 * math/s_ccosl.c: Rely entirely on ccoshl.
51318 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51319 Remove tests for FE_INVALID.
51320 * math/s_ccoshf.c: Likewise.
51321 * math/s_ccoshl.c: Likewise.
51322 * math/s_csin.c: Likewise.
51323 * math/s_csinf.c: Likewise.
51324 * math/s_csinh.c Likewise.
51325 * math/s_csinhf.c: Likewise.
51326 * math/s_csinhl.c: Likewise.
51327 * math/s_csinl.c: Likewise.
51328 * math/s_ctan.c: Likewise.
51329 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51330 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51331 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51332
8ec250a4
UD
513332011-10-21 Ulrich Drepper <drepper@gmail.com>
51334
c196fed8
UD
51335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51336 compilation problems.
51337
8ec250a4
UD
51338 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51339 __builtin_expect.
51340
8d4f46c6
UD
513412011-10-20 Ulrich Drepper <drepper@gmail.com>
51342
ed72b654
UD
51343 * sysdeps/i386/configure.in: Test for -mfma4 option.
51344 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51345 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51346 COMMON_CPUID_INDEX_80000001.
51347 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51348 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51349 use it if FMA3 is not supported.
51350 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51351
8d4f46c6
UD
51352 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51353 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51354
d45c60c2
AS
513552011-10-20 Andreas Schwab <schwab@redhat.com>
51356
51357 [BZ #12892]
51358 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51359 it would create a cycle with a link time dependency.
51360
d9a4d2ab
UD
513612011-10-19 Ulrich Drepper <drepper@gmail.com>
51362
855d1560
UD
51363 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51364 instruction.
51365 * string/Makefile (strop-tests): Add rawmemchr.
51366 * string/test-rawmemchr.c: New file.
51367
d9a4d2ab
UD
51368 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51369 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51370 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51371 when compiling str{,n}casecmp and when AVX is available. Hook up
51372 new optimized code in initializers.
51373
8f3b1ffe
AS
513742011-10-19 Andreas Schwab <schwab@redhat.com>
51375
51376 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51377 __feraiseexcept instead of feraiseexcept.
51378
d38f1dba
UD
513792011-10-18 Ulrich Drepper <drepper@gmail.com>
51380
d9a8d0ab
UD
51381 * math/math_private.h: Define defaults for libc_fetestexcept and
51382 libc_feupdateenv.
51383 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51384 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51385 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51387 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51388 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51389 libc_fetestexcept and libc_feupdateenv.
51390
4855e3dd
UD
51391 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51392 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51393 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51394 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51395 libc_feholdexcept_setround.
51396
581d30e3
UD
51397 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51398 Add s_nearbyint-c and s_nearbyintf-c.
51399 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51400 nearbyintf inlines.
51401 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51402 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51403 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51404 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51405
d38f1dba
UD
51406 * math/math_private.h: Define defaults for libc_fegetround,
51407 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51408 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51409 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51410 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51411 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51412 standard functions.
51413 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51414 Remove comments and hacks for old compiler versions.
51415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51416 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51417 libc_feholdexceptl.
51418
caa6c9d8
AS
514192011-10-18 Andreas Schwab <schwab@redhat.com>
51420
51421 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51422 (__feraiseexcept_renamed): Add __NTH.
51423 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51424 namespace violations.
51425
97c066e6
UD
514262011-10-17 Ulrich Drepper <drepper@gmail.com>
51427
99ce7b04
UD
51428 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51429
1004d182
UD
51430 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51431
228a984d
UD
51432 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51433 recently added interfaces.
51434 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51435
c8553a6a
UD
51436 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51437 about macro parameter expansion.
51438
ed22dcf6
UD
51439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51440 __NO_MATH_INLINES is defined. Cleanups.
51441
51442 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51443 and __floorf is target has SSE4.1.
51444 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51445 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51446 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51448
b171c137
UD
51449 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51450 name.
51451 (floorf): Likewise.
51452
97c066e6
UD
51453 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51454
629f62ef
AS
514552011-10-17 Andreas Schwab <schwab@redhat.com>
51456
49a43d80
AS
51457 * misc/sys/cdefs.h: Fix last change.
51458
629f62ef
AS
51459 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51460 database lookup.
51461
e453f6cd
UD
514622011-10-16 Ulrich Drepper <drepper@gmail.com>
51463
aa78043a
UD
51464 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51465
ad0f5cad
UD
51466 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51467 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51468 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51469 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51470 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51472 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51473 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51474 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51475 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51476 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51477 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51478 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51479 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51480 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51481 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51482 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51483 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51484 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51485 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51486 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51487 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51488
51489 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51490 ceil, ceilf, floor, floorf.
51491
51492 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51493 Perform IRELATIVE relocations last.
51494
e453f6cd
UD
51495 * elf/do-rel.h: Add another parameter nrelative, replacing the
51496 local variable with the same name. Change name of the function
51497 to end in Rel or Rela (uppercase).
51498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51499 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51500 elf_dynamic_do_##reloc function.
51501
fd5bdc09
UD
515022011-10-15 Ulrich Drepper <drepper@gmail.com>
51503
79b195b5
UD
51504 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51505 is sufficient, at least on modern CPUs.
51506
d4a28569
UD
51507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51508
b61099b5
UD
51509 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51510 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51511
bcf01e6d
UD
51512 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51513 __expl_finite.
51514 * math/bits/math-finite.h: Add entries for exp.
51515 * math/e_expl.c: Add __*_finite alias.
51516 * sysdeps/i386/fpu/e_exp.S: Likewise.
51517 * sysdeps/i386/fpu/e_expf.S: Likewise.
51518 * sysdeps/i386/fpu/e_expl.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51520 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51523 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51526
ba1a0d59
UD
51527 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51528 is sufficient, at least on modern CPUs.
51529
fd5bdc09
UD
51530 * ctype/ctype-info.c (__ctype_init): Define.
51531 * include/ctype.h (__ctype_init): Declare.
51532 (__ctype_b_loc): The variable is always initialized.
51533 (__ctype_toupper_loc): Likewise.
51534 (__ctype_tolower_loc): Likewise.
51535 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51536 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51537
7872cfb0
AS
515382011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51539
b468825a
AS
51540 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51541
7872cfb0
AS
51542 * configure.in: Also look in $cxxmachine/include for C++ system
51543 headers.
51544
be13f7bf
LD
515452011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51546
51547 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51548 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51549 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51550 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51552 (USE_AS_WMEMCMP): New macro.
51553 Fixing indents.
51554 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51555 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51556 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51557 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51559 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51560 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51561 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51562 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51563 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51564 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51565 (USE_AS_WMEMCMP): New macro.
51566 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51567 * sysdeps/string/test-memcmp.c: Update.
51568 Fix simple_wmemcmp.
51569 Add new tests.
51570 * wcsmbs/wmemcmp.c: Update.
51571 (WMEMCMP): New macro.
51572 Fix overflow bug.
51573
556a2007
AJ
515742011-10-12 Andreas Jaeger <aj@suse.de>
51575
51576 [BZ #13268]
51577 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51578
538faaa7
UD
515792011-10-15 Ulrich Drepper <drepper@gmail.com>
51580
ab6737ff
UD
51581 * libio/iofwide.c (do_length): Avoid warning.
51582
538faaa7
UD
51583 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51584
396a21b1
UD
515852011-10-14 Ulrich Drepper <drepper@gmail.com>
51586
cdf2901f
UD
51587 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51588
38ad40ce
UD
51589 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51590 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51591 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51592 * sysdeps/i386/i686/fpu/e_log.S: New file.
51593 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51594 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51595
396a21b1
UD
51596 * ctype/ctype.h: Add support for inlined isXXX functions when
51597 compiling C++ code.
51598
6b1f68c9
AS
515992011-10-14 Andreas Schwab <schwab@redhat.com>
51600
349290c0
AS
51601 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51602
6b1f68c9
AS
51603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51604
f2282d42
RM
516052011-10-13 Roland McGrath <roland@hack.frob.com>
51606
51607 [BZ #13291]
51608 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51609
5298ffa8
AS
516102011-10-13 Andreas Schwab <schwab@redhat.com>
51611
714fad23
AS
51612 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51613 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51614 feraiseexcept.
51615
81dcc7fb
AS
51616 * sysdeps/x86_64/memrchr.S: Check for zero size.
51617
5298ffa8
AS
51618 * string/stratcliff.c: Add memrchr tests.
51619
951fbcec
LD
516202011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51621
51622 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51623 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51624 rawmemchr-sse2 rawmemchr-sse2-bsf.
51625 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51626 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51627 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51628 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51629 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51630 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51631 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51632 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51633 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51634 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51635 * string/memrchr.c (MEMRCHR): New macro.
51636
0ac5ae23
UD
516372011-10-12 Ulrich Drepper <drepper@gmail.com>
51638
51639 Add integration with gcc's -ffinite-math-only and optimize wrapper
51640 functions in libm.
51641 * Versions.def: Define GLIBC_2.15 version for libm.
51642 * math/Makefile (headers): Add bits/math-finite.h.
51643 * math/bits/math-finite.h: New file.
51644 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51645 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51646 * math/e_acoshl.c: Add __*_finite alias.
51647 * math/e_acosl.c: Likewise.
51648 * math/e_asinl.c: Likewise.
51649 * math/e_atan2l.c: Likewise.
51650 * math/e_atanhl.c: Likewise.
51651 * math/e_coshl.c: Likewise.
51652 * math/e_exp10.c: Likewise.
51653 * math/e_exp10f.c: Likewise.
51654 * math/e_exp10l.c: Likewise.
51655 * math/e_exp2l.c: Likewise.
51656 * math/e_fmodl.c: Likewise.
51657 * math/e_gammal_r.c: Likewise.
51658 * math/e_hypotl.c: Likewise.
51659 * math/e_j0l.c: Likewise.
51660 * math/e_j1l.c: Likewise.
51661 * math/e_jnl.c: Likewise.
51662 * math/e_lgammal_r.c: Likewise.
51663 * math/e_log10l.c: Likewise.
51664 * math/e_log2l.c: Likewise.
51665 * math/e_logl.c: Likewise.
51666 * math/e_powl.c: Likewise.
51667 * math/e_sinhl.c: Likewise.
51668 * math/e_sqrtl.c: Likewise.
51669 * math/e_scalb.c: Completely rewritten and optimized.
51670 * math/e_scalbf.c: Likewise.
51671 * math/e_scalbl.c: Likewise.
51672 * math/w_acos.c: Likewise.
51673 * math/w_acosf.c: Likewise.
51674 * math/w_acosl.c: Likewise.
51675 * math/w_acosh.c: Likewise.
51676 * math/w_acoshf.c: Likewise.
51677 * math/w_acoshl.c: Likewise.
51678 * math/w_asin.c: Likewise.
51679 * math/w_asinf.c: Likewise.
51680 * math/w_asinl.c: Likewise.
51681 * math/w_atan2.c: Likewise.
51682 * math/w_atan2f.c: Likewise.
51683 * math/w_atan2l.c: Likewise.
51684 * math/w_atanh.c: Likewise.
51685 * math/w_atanhf.c: Likewise.
51686 * math/w_atanhl.c: Likewise.
51687 * math/w_exp10.c: Likewise.
51688 * math/w_exp10f.c: Likewise.
51689 * math/w_exp10l.c: Likewise.
51690 * math/w_fmod.c: Likewise.
51691 * math/w_fmodf.c: Likewise.
51692 * math/w_fmodl.c: Likewise.
51693 * math/w_j0.c: Likewise.
51694 * math/w_j0f.c: Likewise.
51695 * math/w_j0l.c: Likewise.
51696 * math/w_j1.c: Likewise.
51697 * math/w_j1f.c: Likewise.
51698 * math/w_j1l.c: Likewise.
51699 * math/w_jn.c: Likewise.
51700 * math/w_jnf.c: Likewise.
51701 * math/w_log.c: Likewise.
51702 * math/w_logf.c: Likewise.
51703 * math/w_logl.c: Likewise.
51704 * math/w_log10.c: Likewise.
51705 * math/w_log10f.c: Likewise.
51706 * math/w_log10l.c: Likewise.
51707 * math/w_log2.c: Likewise.
51708 * math/w_log2f.c: Likewise.
51709 * math/w_log2l.c: Likewise.
51710 * math/w_pow.c: Likewise.
51711 * math/w_powf.c: Likewise.
51712 * math/w_powl.c: Likewise.
51713 * math/w_remainder.c: Likewise.
51714 * math/w_remainderf.c: Likewise.
51715 * math/w_remainderl.c: Likewise.
51716 * math/w_scalb.c: Likewise.
51717 * math/w_scalbf.c: Likewise.
51718 * math/w_scalbl.c: Likewise.
51719 * math/w_sqrt.c: Likewise.
51720 * math/w_sqrtf.c: Likewise.
51721 * math/w_sqrtl.c: Likewise.
51722 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51723 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51724 used.
51725 * math/math_private.h: Declare __kernel_standard_f.
51726 * math/w_cosh.c: Remove cruft and optimize a bit.
51727 * math/w_coshf.c: Likewise.
51728 * math/w_coshl.c: Likewise.
51729 * math/w_exp2.c: Likewise.
51730 * math/w_exp2f.c: Likewise.
51731 * math/w_exp2l.c: Likewise.
51732 * math/w_hypot.c: Likewise.
51733 * math/w_hypotf.c: Likewise.
51734 * math/w_hypotl.c: Likewise.
51735 * math/w_lgamma.c: Likewise.
51736 * math/w_lgamma_r.c: Likewise.
51737 * math/w_lgammaf.c: Likewise.
51738 * math/w_lgammaf_r.c: Likewise.
51739 * math/w_lgammal.c: Likewise.
51740 * math/w_lgammal_r.c: Likewise.
51741 * math/w_sinh.c: Likewise.
51742 * math/w_sinhf.c: Likewise.
51743 * math/w_sinhl.c: Likewise.
51744 * math/w_tgamma.c: Likewise.
51745 * math/w_tgammaf.c: Likewise.
51746 * math/w_tgammal.c: Likewise.
51747 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51749 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51750 Minor optimizations. Pretty printing. Remove cruft.
51751 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51752 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51753 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51754 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51755 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51756 * sysdeps/i386/fpu/e_asin.S: Likewise.
51757 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51758 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51759 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51760 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51761 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51763 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51764 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51765 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51766 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51767 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51768 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51769 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51770 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51771 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51772 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51773 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51774 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51775 * sysdeps/i386/fpu/e_log.S: Likewise.
51776 * sysdeps/i386/fpu/e_log10.S: Likewise.
51777 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51779 * sysdeps/i386/fpu/e_log2.S: Likewise.
51780 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51782 * sysdeps/i386/fpu/e_logf.S: Likewise.
51783 * sysdeps/i386/fpu/e_logl.S: Likewise.
51784 * sysdeps/i386/fpu/e_pow.S: Likewise.
51785 * sysdeps/i386/fpu/e_powf.S: Likewise.
51786 * sysdeps/i386/fpu/e_powl.S: Likewise.
51787 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51788 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51789 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51790 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51791 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51793 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51794 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51795 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51796 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51799 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51800 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51801 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51802 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51805 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51806 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51807 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51809 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51810 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51811 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51812 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51813 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51814 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51815 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51816 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51817 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51818 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51819 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51820 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51821 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51822 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51823 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51824 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51825 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51826 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51827 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51828 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51829 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51830 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51831 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51832 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51833 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51834 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51835 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51836 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51837 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51838 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51842 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51845 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51846 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51849 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51851 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51852 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51853 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51854 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51855 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51864 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51870 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51871 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51873 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51874 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51875 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51876 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51877 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51878 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51879 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51880 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51881 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51882 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51883 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51884 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51885 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51886 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51887 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51888 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51889 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51890 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51891 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51892 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51893 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51894 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51895 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51896 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51897 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51898 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51899 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51900 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51901 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51902 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51904 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51906 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51907 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51908 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51909 (__isnanf): Likewise.
51910 (__isinf_ns): Likewise.
51911 (__isinf_nsf): Likewise.
51912 (__finite): Likewise.
51913 (__finitef): Likewise.
51914 (__ieee754_sqrt): Define as macro.
51915 (__ieee754_sqrtf): Define as macro.
51916 (__ieee754_sqrtl): Define as macro.
51917 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51918 inlined copy.
51919 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51920 __FINITE_MATH_ONLY__ consistent.
51921 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51922
12cc2fcd
AS
519232011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51924
a843a204
AS
51925 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51926 of rawmemchr.
51927
12cc2fcd
AS
51928 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51929
c853acd5
UD
519302011-10-09 Ulrich Drepper <drepper@gmail.com>
51931
51932 * po/ja.po: Update from translation team.
51933
c658d255
RM
519342011-10-08 Roland McGrath <roland@hack.frob.com>
51935
110946e4
RM
51936 * locale/programs/locarchive.c (prepare_address_space): New function.
51937 (create_archive, enlarge_archive, open_archive): Use it.
51938
50604220
RM
51939 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51940 inside [SHARED], where it is used.
51941
c658d255
RM
51942 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51943
51944 * nss/getent.c (netgroup_keys): Remove unused variable.
51945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51946
6a621eb7
UD
519472011-10-08 Ulrich Drepper <drepper@gmail.com>
51948
7edb55ce
UD
51949 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51950 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51954 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51955 * math/Makefile (libm-calls): Add s_isinf_ns.
51956 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51957 * math/multc3.c: Likewise.
51958 * math/s_casin.c: Likewise.
51959 * math/s_casinf.c: Likewise.
51960 * math/s_casinl.c: Likewise.
51961 * math/s_ccos.c: Likewise.
51962 * math/s_ccosf.c: Likewise.
51963 * math/s_ccosl.c: Likewise.
51964 * math/s_ctan.c: Likewise.
51965 * math/s_ctanf.c: Likewise.
51966 * math/s_ctanh.c: Likewise.
51967 * math/s_ctanhf.c: Likewise.
51968 * math/s_ctanhl.c: Likewise.
51969 * math/s_ctanl.c: Likewise.
51970 * math/w_fmod.c: Likewise.
51971 * math/w_fmodf.c: Likewise.
51972 * math/w_fmodl.c: Likewise.
51973 * math/w_remainder.c: Likewise.
51974 * math/w_remainderf.c: Likewise.
51975 * math/w_remainderl.c: Likewise.
51976 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51977 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51980 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51981 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51982 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51983 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51984
187da0ae
UD
51985 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51986 of the number.
51987 * stdio-common/printf_fphex.c: Likewise.
51988 * stdio-common/printf_size.c: Likewise.
51989
9277c064
UD
51990 * math/e_exp10.c: Include math_private.h using <...> not "...".
51991 * math/e_exp10f.c: Likewise.
51992 * math/e_exp10l.c: Likewise.
51993 * math/e_exp2l.c: Likewise.
51994 * math/e_j0l.c: Likewise.
51995 * math/e_j1l.c: Likewise.
51996 * math/e_jnl.c: Likewise.
51997 * math/e_lgammal_r.c: Likewise.
51998 * math/e_rem_pio2l.c: Likewise.
51999 * math/e_scalb.c: Likewise.
52000 * math/e_scalbf.c: Likewise.
52001 * math/e_scalbl.c: Likewise.
52002 * math/k_cosl.c: Likewise.
52003 * math/k_sinl.c: Likewise.
52004 * math/k_tanl.c: Likewise.
52005 * math/s_cacoshf.c: Likewise.
52006 * math/s_catan.c: Likewise.
52007 * math/s_catanf.c: Likewise.
52008 * math/s_catanh.c: Likewise.
52009 * math/s_catanhf.c: Likewise.
52010 * math/s_catanhl.c: Likewise.
52011 * math/s_catanl.c: Likewise.
52012 * math/s_ccosh.c: Likewise.
52013 * math/s_ccoshf.c: Likewise.
52014 * math/s_ccoshl.c: Likewise.
52015 * math/s_cexp.c: Likewise.
52016 * math/s_cexpf.c: Likewise.
52017 * math/s_cexpl.c: Likewise.
52018 * math/s_clog.c: Likewise.
52019 * math/s_clog10.c: Likewise.
52020 * math/s_clog10f.c: Likewise.
52021 * math/s_clog10l.c: Likewise.
52022 * math/s_clogf.c: Likewise.
52023 * math/s_clogl.c: Likewise.
52024 * math/s_csin.c: Likewise.
52025 * math/s_csinf.c: Likewise.
52026 * math/s_csinh.c: Likewise.
52027 * math/s_csinhf.c: Likewise.
52028 * math/s_csinhl.c: Likewise.
52029 * math/s_csinl.c: Likewise.
52030 * math/s_csqrt.c: Likewise.
52031 * math/s_csqrtf.c: Likewise.
52032 * math/s_csqrtl.c: Likewise.
52033 * math/s_ctan.c: Likewise.
52034 * math/s_ctanf.c: Likewise.
52035 * math/s_ctanh.c: Likewise.
52036 * math/s_ctanhf.c: Likewise.
52037 * math/s_ctanhl.c: Likewise.
52038 * math/s_ctanl.c: Likewise.
52039 * math/s_ldexp.c: Likewise.
52040 * math/s_ldexpf.c: Likewise.
52041 * math/s_ldexpl.c: Likewise.
52042 * math/s_significand.c: Likewise.
52043 * math/s_significandf.c: Likewise.
52044 * math/s_significandl.c: Likewise.
52045 * math/w_acos.c: Likewise.
52046 * math/w_acosf.c: Likewise.
52047 * math/w_acosh.c: Likewise.
52048 * math/w_acoshf.c: Likewise.
52049 * math/w_acoshl.c: Likewise.
52050 * math/w_acosl.c: Likewise.
52051 * math/w_asin.c: Likewise.
52052 * math/w_asinf.c: Likewise.
52053 * math/w_asinl.c: Likewise.
52054 * math/w_atan2.c: Likewise.
52055 * math/w_atan2f.c: Likewise.
52056 * math/w_atan2l.c: Likewise.
52057 * math/w_atanh.c: Likewise.
52058 * math/w_atanhf.c: Likewise.
52059 * math/w_atanhl.c: Likewise.
52060 * math/w_cosh.c: Likewise.
52061 * math/w_coshf.c: Likewise.
52062 * math/w_coshl.c: Likewise.
52063 * math/w_dremf.c: Likewise.
52064 * math/w_exp10.c: Likewise.
52065 * math/w_exp10f.c: Likewise.
52066 * math/w_exp10l.c: Likewise.
52067 * math/w_exp2.c: Likewise.
52068 * math/w_exp2f.c: Likewise.
52069 * math/w_fmod.c: Likewise.
52070 * math/w_fmodf.c: Likewise.
52071 * math/w_fmodl.c: Likewise.
52072 * math/w_hypot.c: Likewise.
52073 * math/w_hypotf.c: Likewise.
52074 * math/w_hypotl.c: Likewise.
52075 * math/w_j0.c: Likewise.
52076 * math/w_j0f.c: Likewise.
52077 * math/w_j0l.c: Likewise.
52078 * math/w_j1.c: Likewise.
52079 * math/w_j1f.c: Likewise.
52080 * math/w_j1l.c: Likewise.
52081 * math/w_jn.c: Likewise.
52082 * math/w_jnf.c: Likewise.
52083 * math/w_jnl.c: Likewise.
52084 * math/w_lgamma.c: Likewise.
52085 * math/w_lgamma_r.c: Likewise.
52086 * math/w_lgammaf.c: Likewise.
52087 * math/w_lgammaf_r.c: Likewise.
52088 * math/w_lgammal.c: Likewise.
52089 * math/w_lgammal_r.c: Likewise.
52090 * math/w_log.c: Likewise.
52091 * math/w_log10.c: Likewise.
52092 * math/w_log10f.c: Likewise.
52093 * math/w_log10l.c: Likewise.
52094 * math/w_log2.c: Likewise.
52095 * math/w_log2f.c: Likewise.
52096 * math/w_log2l.c: Likewise.
52097 * math/w_logf.c: Likewise.
52098 * math/w_logl.c: Likewise.
52099 * math/w_pow.c: Likewise.
52100 * math/w_powf.c: Likewise.
52101 * math/w_powl.c: Likewise.
52102 * math/w_remainder.c: Likewise.
52103 * math/w_remainderf.c: Likewise.
52104 * math/w_remainderl.c: Likewise.
52105 * math/w_scalb.c: Likewise.
52106 * math/w_scalbf.c: Likewise.
52107 * math/w_scalbl.c: Likewise.
52108 * math/w_sinh.c: Likewise.
52109 * math/w_sinhf.c: Likewise.
52110 * math/w_sinhl.c: Likewise.
52111 * math/w_sqrt.c: Likewise.
52112 * math/w_sqrtf.c: Likewise.
52113 * math/w_sqrtl.c: Likewise.
52114 * math/w_tgamma.c: Likewise.
52115 * math/w_tgammaf.c: Likewise.
52116 * math/w_tgammal.c: Likewise.
52117
6a621eb7
UD
52118 * po/ja.po: Update from translation team.
52119
bf582445
AJ
521202011-09-29 Andreas Jaeger <aj@suse.de>
52121
f9efbf3a
AJ
52122 [BZ #13179]
52123 * sunrpc/netname.c (netname2host): Fix logic.
52124
bf582445
AJ
52125 [BZ #6779]
52126 [BZ #6783]
52127 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52128 correctly.
52129 * math/w_remainder.c (__remainder): Likewise.
52130 * math/w_remainderf.c (__remainderf): Likewise.
52131 * math/libm-test.inc (remainder_test): Add test cases.
52132
48693bea
AK
521332011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52134
52135 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52136 sdiv_qrnnd.
52137
42622229
LD
521382011-10-07 Ulrich Drepper <drepper@gmail.com>
52139
52140 * string/test-memcmp.c: Avoid unncessary #defines.
52141 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52142
093ecf92
LD
521432011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52144
52145 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52146 Use new sse2 version for core i3 - i7 as it's faster
52147 than sse42 version.
52148 (bit_Prefer_PMINUB_for_stringop): New.
52149 * sysdeps/x86_64/rawmemchr.S: Update.
52150 Replace with faster SSE2 version.
52151 * sysdeps/x86_64/memrchr.S: New file.
52152 * sysdeps/x86_64/memchr.S: Update.
52153 Replace with faster SSE2 version.
52154
fde56e5c
MP
521552011-09-12 Marek Polacek <mpolacek@redhat.com>
52156
52157 * elf/dl-load.c (lose): Add cast to avoid warning.
52158
21fd49a9
UD
521592011-10-07 Ulrich Drepper <drepper@gmail.com>
52160
5a06e643
UD
52161 * po/ca.po: Update from translation team.
52162
684ae515
UD
52163 * inet/getnetgrent_r.c: Hook up nscd.
52164 * nscd/Makefile (routines): Add nscd_netgroup.
52165 (nscd-modules): Add netgroupcache.
52166 (CFLAGS-netgroupcache.c): Define.
52167 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52168 (cache_search): Add const to second parameter.
52169 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52170 INNETGR.
52171 (dbs): Add netgrdb entry.
52172 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52173 (verify_persistent_db): Handle netgrdb.
52174 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52175 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52176 GETFDNETGR.
52177 (netgroup_response_header): Define.
52178 (innetgroup_response_header): Define.
52179 (datahead): Add netgroup_response_header and innetgroup_response_header
52180 elements.
52181 * nscd/nscd.conf: Add entries for netgroup cache.
52182 * nscd/nscd.h (dbtype): Add netgrdb.
52183 (_PATH_NSCD_NETGROUP_DB): Define.
52184 (netgroup_iov_disabled): Declare.
52185 (xmalloc, xcalloc, xrealloc): Move declarations here.
52186 (cache_search): Adjust prototype.
52187 Add netgroup-related prototypes.
52188 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52189 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52190 (__nscd_innetgr): Declare.
52191 * nscd/selinux.c (perms): Use access_vector_t as element type and
52192 add netgroup-related initializers.
52193 * nscd/netgroupcache.c: New file.
52194 * nscd/nscd_netgroup.c: New file.
52195 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52196 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52197 For four parameters use innetgr.
52198 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52199 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52200 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52201 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52202
21fd49a9
UD
52203 * nscd/connections.c (register_traced_file): Don't register file
52204 for disabled databases.
52205
054c0457
UD
522062011-10-06 Ulrich Drepper <drepper@gmail.com>
52207
32b63198
UD
52208 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52209
054c0457
UD
52210 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52211 from tree and freeing node.
52212
64031225
JO
522132011-09-25 Jiri Olsa <jolsa@redhat.com>
52214
52215 * nss/nsswitch.c (__nss_database_lookup): Handle
52216 nss_parse_service_list out of memory case.
52217
0490345c
JO
522182011-09-15 Jiri Olsa <jolsa@redhat.com>
52219
52220 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52221 out of memory case.
52222
3a62d00d
AS
522232011-10-04 Andreas Schwab <schwab@redhat.com>
52224
52225 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52226 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52227 pass it down.
52228 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52229 elf_machine_rela, elf_machine_lazy_rel.
52230 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52231 (ELF_DYNAMIC_DO_REL): Likewise.
52232 (ELF_DYNAMIC_DO_RELA): Likewise.
52233 (ELF_DYNAMIC_RELOCATE): Likewise.
52234 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52235 to ELF_DYNAMIC_DO_REL.
52236 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52237 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52238 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52239 elf_machine_rela.
52240 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52241 skip_ifunc, don't call ifunc function if non-zero.
52242 (elf_machine_rela): Likewise.
52243 (elf_machine_lazy_rel): Likewise.
52244 (elf_machine_lazy_rela): Likewise.
52245 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52246 (elf_machine_lazy_rel): Likewise.
52247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52248 Likewise.
52249 (elf_machine_lazy_rel): Likewise.
52250 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52251 Likewise.
52252 (elf_machine_lazy_rel): Likewise.
52253 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52254 (elf_machine_lazy_rel): Likewise.
52255 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52256 (elf_machine_lazy_rel): Likewise.
52257 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52258 (elf_machine_lazy_rel): Likewise.
52259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52260 (elf_machine_lazy_rel): Likewise.
52261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52262 (elf_machine_lazy_rel): Likewise.
52263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52264 (elf_machine_lazy_rel): Likewise.
52265
68577918
UD
522662011-09-28 Ulrich Drepper <drepper@gmail.com>
52267
52268 * nss/nss_files/files-init.c (_nss_files_init): Use static
52269 initialization for all the *_traced_file variables.
52270
68822d74
AS
522712011-09-28 Andreas Schwab <schwab@redhat.com>
52272
52273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52274
2056100b
RM
522752011-09-27 Roland McGrath <roland@hack.frob.com>
52276
52277 [BZ #13226]
52278 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52279
32c76b63
AS
522802011-09-27 Andreas Schwab <schwab@redhat.com>
52281
52282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52283 Reread the line before reparsing it.
52284
bf972c9d
AS
522852011-09-26 Andreas Schwab <schwab@redhat.com>
52286
52287 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52288
e057a1b5
JM
522892011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52290 Maxim Kuvyrkov <maxim@codesourcery.com>
52291 Joseph Myers <joseph@codesourcery.com>
52292
52293 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52294 if needed for __stack_chk_guard.
52295
bc7e1c36
RM
522962011-09-19 Roland McGrath <roland@hack.frob.com>
52297
ecb1482f
RM
52298 * sysdeps/posix/spawni.c (script_execute): Always define it.
52299 It will be optimized away if unused.
52300 (maybe_script_execute): New function.
52301 (__spawni): Call it.
52302
bc7e1c36
RM
52303 * Makerules: Don't include tls.make.
52304 (config-tls): Always set to thread.
52305 * tls.make.c: File removed.
52306
1c3b002b
MF
523072011-09-19 Mike Frysinger <vapier@gentoo.org>
52308
52309 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52310 * config.make.in (CPPFLAGS-config): New substituted variable.
52311
2840865d
UD
523122011-09-15 Ulrich Drepper <drepper@gmail.com>
52313
88738eb6
UD
52314 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52315
cbf645a6 52316 [BZ #13192]
2840865d
UD
52317 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52318 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52319
b402e91a
RM
523202011-09-15 Roland McGrath <roland@hack.frob.com>
52321
52322 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52323 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52325 (CALL_FAIL): Likewise.
52326 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52327 (CALL_FAIL): Macro removed.
52328 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52329
4c1a1f71
UD
523302011-09-15 Ulrich Drepper <drepper@gmail.com>
52331
52332 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52333 for __FINITE_MATH_ONLY__ == 1.
52334
edc121be
AS
523352011-09-15 Andreas Schwab <schwab@redhat.com>
52336
52337 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52338 __ieee754_sqrt instead of sqrt.
52339 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52340 __ieee754_sqrtf instead of sqrtf.
52341 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52342 __floorf instead of floorf.
52343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52344 __floorf, __truncf instead of floorf, truncf.
52345
cd205654
UD
523462011-09-14 Ulrich Drepper <drepper@gmail.com>
52347
ee4d0315
UD
52348 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52349
cd205654
UD
52350 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52351 __extern_always_inline.
52352 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52353 32-bit.
52354
48b67d71
AS
523552011-09-14 Andreas Schwab <schwab@redhat.com>
52356
52357 * elf/rtld.c (dl_main): Also relocate in dependency order when
52358 doing symbol dependency testing.
52359
1ae12c75
AS
523602011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52361
52362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52363 Always define `refsym'.
52364
995a80df
AS
523652011-09-13 Andreas Schwab <schwab@redhat.com>
52366
e529793b
AS
52367 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52368 (__FD_ELT): Renamed from __FDELT.
52369 * misc/bits/select2.h (__FD_ELT): Likewise.
52370 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52371 __FD_MASK instead of __FDELT, __FDMASK.
52372 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52373 Likewise.
52374 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52375 Likewise.
52376
52d4fef8
AS
52377 * elf/Makefile (gen-ldd): Fix pattern.
52378
995a80df
AS
52379 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52380 (init_tls): Likewise.
52381
8682f8b0
UD
523822011-09-12 Ulrich Drepper <drepper@gmail.com>
52383
52384 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52385
de82006d
AS
523862011-09-12 Andreas Schwab <schwab@redhat.com>
52387
a7c8e6a1
AS
52388 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52389 `struct cmsghdr *' instead of `void *'.
52390 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52391 Likewise.
52392
0f31fe77
AS
523932011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52394
52395 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52396 if non-absolute.
52397 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52398 ldd_rewrite_script.
0f31fe77 52399
32b4c839
UD
524002011-09-11 Ulrich Drepper <drepper@gmail.com>
52401
83cd1420
UD
52402 * configure.in: Remove --with-tls option.
52403 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52404 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52405 out in case it is missing.
52406 * sysdeps/ia64/elf/configure.in: Likewise.
52407 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52408 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52409 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52410 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52411 * sysdeps/sh/elf/configure.in: Likewise.
52412 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52413 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52414 * sysdeps/x86_64/elf/configure.in: Likewise.
52415 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52416 * sysdeps/mach/hurd/tls.h: Likewise.
52417
633f745d
UD
52418 [BZ #13067]
52419 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52420
f318beb8
UD
52421 [BZ #13090]
52422 * configure.in: Fix use of AC_INIT.
52423
32b4c839
UD
52424 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52425
3ce1f295
UD
524262011-09-10 Ulrich Drepper <drepper@gmail.com>
52427
bb016596
UD
52428 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52429 __set_errno.
8e58439c
UD
52430 * malloc/hooks.c: Likewise.
52431
aebae053 52432 [BZ #11929]
02d46fc4
UD
52433 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52434 variables statically.
52435 (narenas): Initialize.
52436 (list_lock): Initialize.
bb016596
UD
52437 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52438 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52439 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52440 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52441 Add initializers to main_arena and mp_.
52442 (malloc_state): Remove pagesize member. Change all users to use
52443 GLRO(dl_pagesize).
52444
52445 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52446 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52447 is always initialized.
52448
22a89187
UD
52449 * malloc/malloc.c: Removed unused configurations and dead code.
52450 * malloc/arena.c: Likewise.
52451 * malloc/hooks.c: Likewise.
02d46fc4 52452 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52453
d063d164
UD
52454 * include/tls.h: Removed. USE___THREAD must always be defined.
52455 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52456 * elf/dl-libc.c: Likewise.
52457 * elf/dl-tsd.c: Likewise.
52458 * include/errno.h: Likewise.
52459 * include/netdb.h: Likewise.
52460 * include/resolv.h: Likewise.
52461 * inet/herrno-loc.c: Likewise.
52462 * inet/herrno.c: Likewise.
52463 * malloc/arena.c: Likewise.
52464 * malloc/hooks.c: Likewise.
52465 * malloc/malloc.c: Likewise.
52466 * resolv/res-state.c: Likewise.
52467 * resolv/res_libc.c: Likewise.
52468 * sysdeps/i386/dl-machine.h: Likewise.
52469 * sysdeps/ia64/dl-machine.h: Likewise.
52470 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52471 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52472 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52473 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52474 * sysdeps/sh/dl-machine.h: Likewise.
52475 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52476 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52477 * sysdeps/unix/i386/sysdep.S: Likewise.
52478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52479 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52484 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52486 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52488 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52489 * sysdeps/x86_64/dl-machine.h: Likewise.
52490 * tls.make.c: Likewise.
52491
3ce1f295
UD
52492 * configure.in: Remove --with-__thread option. Make tests for
52493 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52494 tls_model attribute fail if no support is available. Remove
52495 USE_IN_LIBIO.
52496 * Makeconfig: Adjust for dropped configure option. All features are
52497 now mandatory.
52498 * Makerules: Likewise.
52499 * Versions.def: Likewise.
52500 * argp/argp-fmtstream.c: Likewise.
52501 * argp/argp-fmtstream.h: Likewise.
52502 * argp/argp-help.c: Likewise.
52503 * assert/assert.c: Likewise.
52504 * config.h.in: Likewise.
52505 * config.make.in: Likewise.
52506 * configure: Likewise.
52507 * configure.in: Likewise.
52508 * csu/Versions: Likewise.
52509 * csu/init.c: Likewise.
52510 * elf/tst-audit2.c: Likewise.
52511 * elf/tst-tls10.c: Likewise.
52512 * elf/tst-tls10.h: Likewise.
52513 * elf/tst-tls11.c: Likewise.
52514 * elf/tst-tls12.c: Likewise.
52515 * elf/tst-tls14.c: Likewise.
52516 * elf/tst-tlsmod11.c: Likewise.
52517 * elf/tst-tlsmod12.c: Likewise.
52518 * elf/tst-tlsmod13.c: Likewise.
52519 * elf/tst-tlsmod13a.c: Likewise.
52520 * elf/tst-tlsmod14a.c: Likewise.
52521 * elf/tst-tlsmod15b.c: Likewise.
52522 * elf/tst-tlsmod16a.c: Likewise.
52523 * elf/tst-tlsmod16b.c: Likewise.
52524 * elf/tst-tlsmod7.c: Likewise.
52525 * elf/tst-tlsmod8.c: Likewise.
52526 * elf/tst-tlsmod9.c: Likewise.
52527 * gmon/gmon.c: Likewise.
52528 * grp/fgetgrent_r.c: Likewise.
52529 * grp/putgrent.c: Likewise.
52530 * hurd/fopenport.c: Likewise.
52531 * include/libc-symbols.h: Likewise.
52532 * include/tls.h: Likewise.
52533 * intl/gettextP.h: Likewise.
52534 * intl/loadinfo.h: Likewise.
52535 * locale/global-locale.c: Likewise.
52536 * locale/localeinfo.h: Likewise.
52537 * mach/devstream.c: Likewise.
52538 * malloc/arena.c: Likewise.
52539 * malloc/set-freeres.c: Likewise.
52540 * misc/err.c: Likewise.
52541 * misc/getttyent.c: Likewise.
52542 * misc/mntent_r.c: Likewise.
52543 * posix/getopt.c: Likewise.
52544 * posix/wordexp.c: Likewise.
52545 * pwd/fgetpwent_r.c: Likewise.
52546 * resolv/Versions: Likewise.
52547 * resolv/res_hconf.c: Likewise.
52548 * shadow/fgetspent_r.c: Likewise.
52549 * shadow/putspent.c: Likewise.
52550 * stdio-common/printf_fphex.c: Likewise.
52551 * stdio-common/tmpfile.c: Likewise.
52552 * stdlib/abort.c: Likewise.
52553 * stdlib/fmtmsg.c: Likewise.
52554 * sunrpc/auth_unix.c: Likewise.
52555 * sunrpc/clnt_perr.c: Likewise.
52556 * sunrpc/clnt_tcp.c: Likewise.
52557 * sunrpc/clnt_udp.c: Likewise.
52558 * sunrpc/clnt_unix.c: Likewise.
52559 * sunrpc/openchild.c: Likewise.
52560 * sunrpc/svc_simple.c: Likewise.
52561 * sunrpc/svc_tcp.c: Likewise.
52562 * sunrpc/svc_udp.c: Likewise.
52563 * sunrpc/svc_unix.c: Likewise.
52564 * sunrpc/xdr.c: Likewise.
52565 * sunrpc/xdr_array.c: Likewise.
52566 * sunrpc/xdr_rec.c: Likewise.
52567 * sunrpc/xdr_ref.c: Likewise.
52568 * sunrpc/xdr_stdio.c: Likewise.
52569
1248c1c4
PB
525702011-09-09 Ulrich Drepper <drepper@gmail.com>
52571
52572 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52573
525742011-07-03 Andreas Jaeger <aj@suse.de>
52575
52576 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52577 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52578 regenerate with gen-libm-tests.pl.
52579
525802010-05-12 Petr Baudis <pasky@suse.cz>
52581
52582 [BZ #11589]
52583 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52584 around j0() zero points by switching to j1().
52585 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52589
f22e1074
UD
525902011-09-09 Ulrich Drepper <drepper@gmail.com>
52591
f19009c1
UD
52592 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52593 instead of 0.
52594 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52595 instead of 0.
f19009c1
UD
52596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52597 Patch in part by Pavel Roskin <proski@gnu.org>.
52598
3f8cc204
UD
52599 [BZ #13138]
52600 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52601 realloc.
52602 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52603 Free memory block if necessary.
52604
f22e1074
UD
52605 [BZ #12847]
52606 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52607 be NULL. Don't lock in this case.
52608
0a2349f9
RM
526092011-09-09 Roland McGrath <roland@hack.frob.com>
52610
52611 * elf/elf.h (ELFOSABI_GNU): New macro.
52612 (ELFOSABI_LINUX): Define to that.
52613
f3cdd467
DZ
526142011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52615
52616 * string/strncat.c (strncat): Undef the symbol in case it has been
52617 defined in bits/string.h.
52618
74718d13
UD
526192011-09-09 Ulrich Drepper <drepper@gmail.com>
52620
633e9e0f
UD
52621 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52622
0a2349f9 52623 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52624 link map.
52625
f9924780
AJ
526262011-08-17 Andreas Jaeger <aj@suse.de>
52627
52628 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52629
7f5517aa
PP
526302011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52631 Ian Lance Taylor <iant@google.com>
52632
52633 * math/libm-test.inc (lround_test): New testcase.
52634 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52635
762011fe
UD
526362011-09-08 Ulrich Drepper <drepper@gmail.com>
52637
92963737
UD
52638 * Makefile: Remove support for automatic cvs check-ins.
52639 * Makerules: Likewise.
52640 * config.make.in: Likewise.
52641 * configure.in: Likewise.
52642 * intl/Makefile: Likewise.
52643 * locale/Makefile: Likewise.
52644 * po/Makefile: Likewise.
52645 * posix/Makefile: Likewise.
52646 * sysdeps/gnu/Makefile: Likewise.
52647 * sysdeps/mach/hurd/Makefile: Likewise.
52648 * sysdeps/sparc/sparc32/Makefile: Likewise.
52649
b0727fd8
JS
52650 [BZ #13118]
52651 * posix/Makefile (bug-regex32-ENV): Define.
52652 Patch by John Stanley <jpsinthemix@verizon.net>.
52653
a0f33f99
UD
52654 * misc/Makefile (headers): Add bits/select2.h.
52655 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52656 * misc/bits/select2.h: New file.
52657 * include/bits/select2.h: New file.
52658 * debug/Makefile (routines): Add fdelt_chk.
52659 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52660 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52661 FD_ISSET.
52662 * debug/fdelt_chk.c: New file.
52663
762011fe
UD
52664 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52665 * wcsmbs/test-wmemcmp.c: Likewise.
52666 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52667 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52668
526692011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52670
52671 * string/Makefile (strop-tests): Add memcmp.
52672 * string/test-wmemcmp.c: New file.
52673 * string/test-memcmp.c: Add wmemcmp support.
52674
7f513ec8
RM
526752011-09-08 Roland McGrath <roland@hack.frob.com>
52676
0442afb4
RM
52677 [BZ #13153]
52678 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52679 2011-07-19 change.
52680
7f513ec8
RM
52681 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52682 garbage value in a __mach_port_mod_refs call in the cases of the
52683 task-self and thread-self ports.
52684
a12b2239
ST
526852011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52686
52687 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52688
610f9ab4
AS
526892011-09-08 Andreas Schwab <schwab@redhat.com>
52690
7f513ec8 52691 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52692
48882a1a
LD
526932011-09-07 Ulrich Drepper <drepper@gmail.com>
52694
b49865be
UD
52695 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52696
fdc86bc9
UD
52697 * elf/dl-libc.c (dlerror_run): Pass back error code from
52698 dl_catch_error.
52699
c966526a
UD
52700 [BZ #13123]
52701 * elf/dl-load.c (lose): Free l_origin if it is valid.
52702
48882a1a
LD
52703 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52704 names.
52705 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52706 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52707 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52708 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52709 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52710 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52711
77a2a8b4
AZ
527122011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52713
52714 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52715 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52716 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52717 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52718 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52719 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52720 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52721 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52722 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52723 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52724
24f579d8
AM
527252011-08-15 Alan Modra <amodra@gmail.com>
52726
52727 [BZ #13092]
52728 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52729 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52730 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52731 ppc_mcount to static-only-routines.
52732 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52733 __mcount_internal.
52734 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52735 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52736
3d4837df
UD
527372011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52738
52739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52740 for finite and infinity parameters.
52741
22700377
WS
527422011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52743
52744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52745 and add nop instructions for throughput optimization.
52746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52747
5025581e
WS
527482011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52749
52750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52751 aligned copy for power7 with vector-scalar instructions.
52752 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52753
08a300c9
L
527542011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52755
52756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52757 AVX check.
52758
59178ef9
AS
527592011-09-07 Andreas Schwab <schwab@redhat.com>
52760
52761 [BZ #13144]
52762 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52763 last change.
52764
e38ba7ab
UD
527652011-09-07 Ulrich Drepper <drepper@gmail.com>
52766
52767 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52768 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52769 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52770 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52771 clock_gettime.
52772
d53a73ac
UD
527732011-09-06 Ulrich Drepper <drepper@gmail.com>
52774
fc8bffcc
UD
52775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52776 Forgot to demangle the pointer.
52777
ceaa0c5d
UD
52778 * sysdeps/i386/sysdep.h: Define atom_text_section.
52779 * sysdeps/x86_64/sysdep.h: Likewise.
52780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52781 section with atom_text_section.
52782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52783 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52784 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52786 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52787
a77d3c17
UD
52788 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52789 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52790 already be defined. Change to take two parameters and don't assign
52791 result to variable. Adjust all users.
52792 Define INTERNAL_GETTIME if not already defined.
52793 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52794 call.
52795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52796 HAVE_CLOCK_GETTIME_VSYSCALL.
52797 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52798
d53a73ac
UD
52799 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52800 gettimeofday vsyscall, just use time.
52801
a8f84144
AS
528022011-09-06 Andreas Schwab <schwab@redhat.com>
52803
52804 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52805 <errno.h>.
52806
ef606249
UD
528072011-09-06 Ulrich Drepper <drepper@gmail.com>
52808
52809 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52810 syscall on x86-64.
52811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52812 syscall.
52813 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52814 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52815 syscall if possible.
52816
6585cb60
UD
528172011-09-05 Ulrich Drepper <drepper@gmail.com>
52818
52819 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52820 e_ident. Don't pass to find_mapsXX.
52821 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52822
a5f524e4
LD
528232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52824
52825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52826 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52827 * sysdeps/x86_64/multiarch/strchr.S: Update.
52828 Check bit_slow_BSF bit.
52829 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52830 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52831 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52832
554881ef
UD
528332011-09-05 Ulrich Drepper <drepper@gmail.com>
52834
d96de963
UD
52835 [BZ #13134]
52836 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52837 before glibc 2.15.
52838 (tryshell): Define.
52839 (__spawni): Change last parameter to be flag. Test
52840 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52841 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52842 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52843 * posix/spawni.c: Likewise.
52844 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52845 * posix/spawnp.c: Likewise. Change normal version to use
52846 SPAWN_XFLAGS_USE_PATH.
52847 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52848 SPAWN_XFLAGS_TRY_SHELL.
52849
d48e5868
UD
52850 [BZ #13150]
52851 * posix/glob.h: Remove gcc 1.x support.
52852
554881ef
UD
52853 [BZ #13068]
52854 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52855
693fb948
LD
528562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52857
52858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52859 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52860 strrchr-sse2-bsf
52861 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52862 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52863 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52864 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52865 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52866 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52867
1b48c537
UD
528682011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52869
49d42c37
UD
52870 * sysdeps/x86_64/wcscmp.S: New file.
52871
1b48c537
UD
52872 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52873 wcscmp-c wcscmp-sse2
52874 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52875 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52877 * wcsmbs/wcscmp.c: Allow renaming.
52878
15c95c5d
DM
528792011-09-05 David S. Miller <davem@davemloft.net>
52880
52881 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52882 stack slot, rather than the struct return pointer slot.
52883 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52884 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52887
2f0ad8f3
UD
528882011-09-05 Ulrich Drepper <drepper@gmail.com>
52889
d88ae418
UD
52890 * po/ja.po: Update from translation team.
52891
2f0ad8f3
UD
52892 [BZ #13144]
52893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52894 kernel in 64-bit binaries.
52895
5f4318d1
DM
528962011-09-01 David S. Miller <davem@davemloft.net>
52897
52898 * elf/elf.h (HWCAP_SPARC_*): Move to..
52899 * sysdeps/sparc/sysdep.h: this new file and add new values.
52900 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52901 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52902 _DL_HWCAP_COUNT to 24.
52903 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52904 entries.
52905 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52906 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52907 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52909 instead of magic constants.
52910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52911
3ba57516
DM
529122011-08-31 David S. Miller <davem@davemloft.net>
52913
52914 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52916 Reimplement to do errno handling inline.
52917 (SYSCALL_ERROR_HANDLER): New macro.
52918 (__SYSCALL_STRING): Do not do errno handling in asm.
52919 (__CLONE_SYSCALL_STRING): Delete.
52920 (__INTERNAL_SYSCALL_STRING): Delete.
52921 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52922 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52923 (PSEUDO): Reimplement to do errno handling inline.
52924 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52925 (SYSCALL_ERROR_HANDLER): New macro.
52926 (__SYSCALL_STRING): Do not do errno handling in asm.
52927 (__CLONE_SYSCALL_STRING): Delete.
52928 (__INTERNAL_SYSCALL_STRING): Delete.
52929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52930 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52931 i386.
52932 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52933 (inline_syscall*): Add 'err' argument.
52934 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52935 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52936 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52937 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52938
52939 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52940 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52941
2bc17433
AS
529422011-08-30 Andreas Schwab <schwab@redhat.com>
52943
52944 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52945
fbeb5f4d
JO
529462011-08-29 Jiri Olsa <jolsa@redhat.com>
52947
52948 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52949 directive.
52950
ad69cc26
DM
529512011-08-24 David S. Miller <davem@davemloft.net>
52952
52953 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52954
39dd69df
AS
529552011-08-24 Andreas Schwab <schwab@redhat.com>
52956
52957 * elf/Makefile: Add rules to build and run unload8 test.
52958 * elf/unload8.c: New file.
52959 * elf/unload8mod1.c: New file.
52960 * elf/unload8mod1x.c: New file.
52961 * elf/unload8mod2.c: New file.
52962 * elf/unload8mod3.c: New file.
52963
52964 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52965 it wasn't used.
52966
2c0b250a
DM
529672011-08-23 David S. Miller <davem@davemloft.net>
52968
52969 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52970 subtract stack bias.
52971 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52972 %sp not %fp in calculations.
52973 (_JMPBUF_UNWINDS_ADJ): Likewise.
52974
22044b48
DM
52975 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52976 (aio_suspend): Call it to force an exception region around the
52977 AIO_MISC_WAIT() invocation.
52978
2cae4995
AS
529792011-08-23 Andreas Schwab <schwab@redhat.com>
52980
52981 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52982 backslash.
52983
873a772e
AJ
529842011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52985
52986 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52987 protection macro.
52988 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52989 and <dl-machine.h>.
52990 (Elf64_FuncDesc): Remove.
52991
25ad0df1
DM
529922011-08-22 David S. Miller <davem@davemloft.net>
52993
52994 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52995 sigaltstack check, add missing cfi directives.
52996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52997 missing cfi directives, and sigaltstack handling.
52998
e888bcbe
AS
529992011-08-16 Andreas Schwab <schwab@redhat.com>
53000
53001 [BZ #11724]
53002 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53003 object is seen twice.
53004 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53005
53006 * elf/Makefile (distribute): Add tst-initorder2.c.
53007 (tests): Add tst-initorder2.
53008 (modules-names): Add tst-initorder2a tst-initorder2b
53009 tst-initorder2c tst-initorder2d. Add rules to build them.
53010 ($(objpfx)tst-initorder2.out): New rule.
53011 * elf/tst-initorder2.c: New file.
53012 * elf/tst-initorder2.exp: New file.
53013
87162f46
AS
530142011-08-22 Andreas Schwab <schwab@redhat.com>
53015
70538b7f
AS
53016 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53017
f55ffe58
AS
53018 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53019 dependencies back to end of function.
53020
87162f46
AS
53021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53022 $(elfobjdir)/ld.so.
53023
91b392a4
UD
530242011-08-21 Ulrich Drepper <drepper@gmail.com>
53025
53026 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53027 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53028 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53029 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53030 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53031 of __vdso_gettimeofday.
53032 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53033 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53034 attribute_hidden.
53035 (_libc_vdso_platform_setup): Remove initialization of
53036 __vdso_gettimeofday and __vdso_time.
53037
5c43483f
UD
530382011-08-20 Ulrich Drepper <drepper@gmail.com>
53039
775a77e7
UD
53040 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53041 and fgetc_unlocked.
53042 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53043 getc_unlocked.
89f447ed 53044
49c74ba9
UD
53045 * elf/dl-open.c (add_to_global): Report additions to the global scope
53046 for LD_DEBUG=scopes.
53047 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53048 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53049
5c43483f
UD
53050 [BZ #13114]
53051 * stdio-common/Makefile (tests): Add bug24.
53052 * stdio-common/bug24.c: New file.
53053
a101b025
AJ
530542011-08-19 Andreas Jaeger <aj@suse.de>
53055
53056 [BZ #13114]
53057 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53058 non-existant file when using close-on-exec mode.
53059
c88f1766
UD
530602011-08-20 Ulrich Drepper <drepper@gmail.com>
53061
0276a718
UD
53062 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53063 the very first instruction.
53064
c88f1766
UD
53065 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53066 the CFI state in the end.
53067 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53068 inclusion of dl-trampoline.h.
53069 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53070
51ccffa0
AS
530712011-08-19 Andreas Schwab <schwab@redhat.com>
53072
94d7165f
AS
53073 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53074 expectations for long double.
53075
51ccffa0
AS
53076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53077 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53078
fd708658 530792011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53080
53081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53082 artificual limit depends upon the system page size.
53083
44f0a71e
UD
530842011-08-17 Ulrich Drepper <drepper@gmail.com>
53085
53086 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53087 * resolv/Makefile: Define CFLAGS-libresolv.
53088
8de79a24
AS
530892011-08-17 Andreas Schwab <schwab@redhat.com>
53090
53091 * nss/makedb.c (compute_tables): Make variables used in nested
53092 function static.
53093
27724598
UD
530942011-08-17 Ulrich Drepper <drepper@gmail.com>
53095
c5305d88
UD
53096 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53097 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53098 if buffer was too small.
53099
27724598
UD
53100 * elf/pldd.c (main): Attach to all threads in the process.
53101 Rewrite /proc handling to use *at functions.
53102
076fe015
UD
531032011-08-16 Ulrich Drepper <drepper@gmail.com>
53104
174baab3
UD
53105 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53106 specifies first scope to show.
53107 (dl_open_worker): Update callers. Move printing scope of new
53108 object to before the relocation.
44f0a71e 53109 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53110 * sysdeps/generic/ldsodefs.h: Update declaration.
53111
076fe015
UD
53112 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53113 string for the scope number.
53114
a60df2c3
UD
531152011-08-14 Ulrich Drepper <drepper@gmail.com>
53116
53117 * nscd/servicescache.c (cache_addserv): Make sure written is always
53118 initialized.
53119
5e4287d1
RM
531202011-08-14 Roland McGrath <roland@hack.frob.com>
53121
85ae0589
RM
53122 * sysdeps/i386/i486/bits/atomic.h
53123 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53124 statement expression, so as to suppress "set but not used" warning.
53125 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53126
69f63097
RM
53127 * string/strncat.c (STRNCAT): Use prototype definition.
53128
675456ef
RM
53129 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53130 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53131 -Iprograms here.
53132 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53133 (localedef-modules): Add localedef.
53134 (locale-modules): Add locale.
53135
5e4287d1
RM
53136 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53137 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53138 to avoid a warning.
53139
9c96ff23
DM
531402011-08-14 David S. Miller <davem@davemloft.net>
53141
53142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53143 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53144
f9ddf089
UD
531452011-08-13 Ulrich Drepper <drepper@gmail.com>
53146
44f0a71e 53147 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53148 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53149 * elf/rtld.c (dl_main): Set l_name of vDSO.
53150 Call _dl_show_scope when DL_DEBUG_SCOPES.
53151 (process_dl_debug): Recognize scopes flag and also set it for all.
53152 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53153 Declare _dl_show_scope.
53154
1dc27704
UD
53155 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53156 (do_dlopen): Pass caller_dlopen to dl_open.
53157 (__libc_dlopen_mode): Initialize caller_dlopen.
53158
f9ddf089
UD
53159 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53160 of libc. Make tolower call locale-independent. Optimize a bit by
53161 using isdigit instead of isalnum.
53162 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53163
9ac533d3
UD
531642011-08-12 Ulrich Drepper <drepper@gmail.com>
53165
53166 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53167 was a dependency or dynamically loaded.
53168
89edf2e9
UD
531692011-08-11 Ulrich Drepper <drepper@gmail.com>
53170
8e999d29
UD
53171 * intl/l10nflist.c: Allow architecture-specific pop function.
53172 * sysdeps/x86_64/l10nflist.c: New file.
53173
89edf2e9
UD
53174 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53175 classification.
53176
14d96785
AS
531772011-08-10 Andreas Schwab <schwab@redhat.com>
53178
53179 * include/dirent.h: Add libc_hidden_proto for scandirat and
53180 scandirat64. Don't declare __scandirat64.
53181 * dirent/scandirat.c: Add libc_hidden_def.
53182 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53183 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53184
6761ac04
DM
531852011-08-10 David S. Miller <davem@davemloft.net>
53186
53187 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53188 enum.
53189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53190 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53192
c55fbd1e
UD
531932011-08-09 Ulrich Drepper <drepper@gmail.com>
53194
53195 * Versions.def [libc]: Add GLIBC_2.15.
53196 * dirent/Makefile (routines): Add scandirat and scandirat64.
53197 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53198 GLIBC_2.15.
53199 * dirent/dirent.h: Declare scandirat and scandirat64.
53200 * dirent/scandirat.c: New file.
53201 * dirent/scandirat64.c: New file.
53202 * sysdeps/wordsize-64/scandirat.c: New file.
53203 * sysdeps/wordsize-64/scandirat64.c: New file.
53204 * dirent/opendir.c: Define opendirat.
53205 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53206 using scandirat.
53207 * dirent/scandir64.c: Adjust for scandir.c change.
53208 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53209 __scandirat64, and __scandir_cancel_handler.
53210 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53211 additional parameter and use openat instead of open (outside of ld.so).
53212 Add new __opendir as wrapper around __opendirat.
53213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53214 here without requiring old scandirat implementation.
53215
879165f2
UD
532162011-08-08 Ulrich Drepper <drepper@gmail.com>
53217
53218 * dirent/scandir.c (cancel_handler): Renamed to
53219 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53220 defined. Adjust users.
53221 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53222 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53223
cb7e923b
UD
532242011-08-04 Ulrich Drepper <drepper@gmail.com>
53225
16292edd
UD
53226 * string/test-string.h (IMPL): Use __STRING to expand name and then
53227 stringify it.
53228
cb7e923b
UD
53229 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53230 of cleanups.
53231
cff82933
LD
532322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53233
53234 * string/Makefile: Update.
53235 (strop-tests): Append strncat.
53236 * string/test-wcscmp.c: New file.
53237 New comprehensive test for wcscmp.
53238 * string/test-strcmp.c: Update.
53239 (WIDE): New define.
53240
9be9bfcc
AS
532412011-07-22 Andreas Schwab <schwab@redhat.com>
53242
53243 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53244 line.
53245
2e96f1c7
AS
532462011-07-26 Andreas Schwab <schwab@redhat.com>
53247
53248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53249 encoding to ACE if AI_IDN.
53250
85188888
JJ
532512011-08-01 Jakub Jelinek <jakub@redhat.com>
53252
53253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53254 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53255
5fa16e9b
LD
532562011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53257
53258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53259 Fix overflow bug in strncat.
53260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53261
53262 * string/test-strncat.c: Update.
53263 Add new tests for checking overflow bugs.
53264
532652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53266
53267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53268 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53269 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53270 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53271 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53272 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53273 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53274 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53275 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53276
53277 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53278 (USE_AS_STRCAT): Define.
53279 Add strcat and strncat support.
53280 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53281
8c1a459f
AS
532822011-07-25 Andreas Schwab <schwab@redhat.com>
53283
53284 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53285 __n bigger than INT_MAX+1.
53286 (__strncmp_g): Likewise.
53287
bba33c28
UD
532882011-07-23 Ulrich Drepper <drepper@gmail.com>
53289
798be72d
UD
53290 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53291 * libio/stido.h: Likewise.
53292
8accd4dc
UD
53293 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53294 (AF_NFC): Define.
53295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53296 (AF_NFC): Define.
53297
cbff0d96
UD
53298 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53301 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53303
9191c04a
UD
53304 [BZ #13021]
53305 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53306 installed.
53307
bba33c28
UD
53308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53309 typo.
53310 (_dl_x86_64_save_sse): Likewise.
53311
90f139dd
UD
533122011-07-22 Ulrich Drepper <drepper@gmail.com>
53313
1aae088a
UD
53314 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53315 OSXSAVE.
53316 (_dl_x86_64_save_sse): Likewise.
53317
8e2045f5
UD
53318 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53319
90f139dd
UD
53320 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53321
1d002f25
AS
533222011-07-21 Andreas Schwab <schwab@redhat.com>
53323
53324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53325 change.
53326 (_dl_x86_64_save_sse): Use correct AVX check.
53327
21137f89
UD
533282011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53329
53330 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53331 bug in strncpy/strncat.
53332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53333
a65c0b7a
UD
533342011-07-21 Ulrich Drepper <drepper@gmail.com>
53335
53336 * string/tester.c (test_strcat): Add tests for different alignments
53337 of source and destination.
53338 (test_strncat): Likewise.
53339
6986b98a
UD
533402011-07-20 Ulrich Drepper <drepper@gmail.com>
53341
90bb2039
UD
53342 [BZ #12852]
53343 * posix/glob.c (glob): Check passed in values before using them in
53344 expressions to avoid some overflows.
53345 (glob_in_dir): Likewise.
53346
5644ef54
UD
53347 [BZ #13007]
53348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53349 check for AVX enablement so that we don't crash with old kernels and
53350 new hardware.
53351 * elf/tst-audit4.c: Add same checks here.
53352 * elf/tst-audit6.c: Likewise.
53353
53354 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53355
bfc9dc9b
AS
533562011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53357
53358 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53359
702e64bb
UD
533602011-07-20 Ulrich Drepper <drepper@gmail.com>
53361
53362 * po/cs.po: Update from translation team.
53363 * po/bg.po: Likewise.
53364
295e904f
MP
533652011-07-12 Marek Polacek <mpolacek@redhat.com>
53366
53367 * misc/sys/cdefs.h: Add support for const attribute.
53368 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53369 to gnu_dev_{major,minor,makedev} functions.
53370
3ff94596
MP
533712011-07-20 Marek Polacek <mpolacek@redhat.com>
53372
53373 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53374
28b59fca
AS
533752011-07-20 Andreas Schwab <schwab@redhat.com>
53376
53377 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53378 strlen results.
53379
19df733e
AK
533802011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53381
53382 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53383 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53384 register in order to avoid conflicts with the soft frame pointer
53385 being held in r11 when necessary.
53386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53387 (INTERNAL_VSYSCALL_NCS): Likewise.
53388
c8835729
MP
533892011-07-14 Marek Polacek <mpolacek@redhat.com>
53390
53391 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53392 * elf/dl-fini.c (_dl_fini): Adjust caller.
53393 * elf/dl-close.c (_dl_close_worker): Likewise.
53394 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53395
b902330c
MP
533962011-07-15 Marek Polacek <mpolacek@redhat.com>
53397
8991e135
MP
53398 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53399 "aux_cache->nlibs < 0".
53400
b902330c
MP
53401 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53402 in the reload-count case.
53403
99710781
LD
534042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53405
53406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53407 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53408 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53409 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53410 * sysdeps/x86_64/multiarch/strcat.S: New file.
53411 * sysdeps/x86_64/multiarch/strncat.S: New file.
53412 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53413 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53414 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53415 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53417 (USE_AS_STRCAT): Define.
53418 Add strcat and strncat support.
53419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53421 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53422 * string/strncat.c: Update.
53423 (USE_AS_STRNCAT): Define.
53424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53425 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53426 and i7.
53427 * sysdeps/x86_64/multiarch/init-arch.h
53428 (bit_Prefer_PMINUB_for_stringop): New.
53429 (index_Prefer_PMINUB_for_stringop): Likewise.
53430 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53431 bit_Prefer_PMINUB_for_stringop.
53432
7dc6bd90
UD
534332011-07-19 Ulrich Drepper <drepper@gmail.com>
53434
53435 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53436 buffer64.
53437 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53438 of casting of buffer.
53439 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53440 buffer32 and buffer64.
53441 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53442 writes instead of casting of buffer.
53443 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53444 buffer32.
53445 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53446 casting of buffer.
53447
e0e72284
AS
534482011-07-19 Andreas Schwab <schwab@redhat.com>
53449
53450 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53451
feb1eb0b
UD
534522011-07-19 Ulrich Drepper <drepper@gmail.com>
53453
53454 * nscd/nscd.c (termination_handler): Don't do anything for a database
53455 if it has not yet been initialized.
53456
298711ff
UD
534572011-07-18 Ulrich Drepper <drepper@gmail.com>
53458
53459 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53460
534612011-07-15 Marek Polacek <mpolacek@redhat.com>
53462
53463 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53464
f9d68389
UD
534652011-07-18 Ulrich Drepper <drepper@gmail.com>
53466
53467 * po/nl.po: Update from translation team.
53468 * po/sv.po: Likewise.
53469
db290cf5
RM
534702011-07-16 Roland McGrath <roland@hack.frob.com>
53471
53472 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53473 now disallowed by GCC.
5c550700 53474
fd5e21c7
RM
53475 * configure.in (use-default-link): Default to yes if a test -shared
53476 link meets our qualifications.
53477 * configure: Regenerated.
53478
5c550700
RM
53479 * config.make.in (output-format): New variable.
53480 * configure.in: Check for ld --print-output-format support.
53481 * configure: Regenerated.
53482 * Makerules ($(common-objpfx)format.lds)
53483 [$(output-format) != unknown]: Just use $(output-format),
53484 instead of the linker-script munging.
53485
9fa2c032
RM
534862011-07-14 Roland McGrath <roland@hack.frob.com>
53487
a6928d51
RM
53488 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53489 of $(common-objpfx)shlib.lds.
53490 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53491
661607b3
RM
53492 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53493 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53494
9fa2c032
RM
53495 * configure.in (-z relro check): Adjust test code to add a large
53496 writable data section after it.
53497 * configure: Regenerated.
53498
defe9061
RM
534992011-07-11 Roland McGrath <roland@hack.frob.com>
53500
53501 * configure.in (-z relro check): Fix test code to make the variable
53502 truly const.
53503 * configure: Regenerated.
53504
319b9ad4
UD
535052011-07-11 Ulrich Drepper <drepper@gmail.com>
53506
53507 * nscd/nscd.h (struct traced_file): Define.
53508 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53509 elements. Add traced_files.
53510 (inotify_fd): Declare.
53511 (register_traced_file): Declare.
53512 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53513 (inotify_fd): Export.
53514 (resolv_conf_descr): Remove.
53515 (nscd_init): Move inotify descriptor creation to main.
53516 Don't register files for notification here.
53517 (register_traced_file): New function.
53518 (invalidate_cache): Don't use reset_res to determine whether to call
53519 res_init, go through the list of registered files.
53520 (main_loop_poll): The inotify descriptors are now stored in the
53521 structures for the traced files.
53522 (main_loop_epoll): Likewise
53523 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53524 to __nss_disable_nscd.
53525 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53526 for a database anymore. Check the records for all the registered
53527 files instead.
53528 * nss/Makefile (libnss_files-routines): Add files-init.
53529 (libnss_db-routines): Add db-init.
53530 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53531 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53532 * nss/nss_db/db-init.c: New file.
53533 * nss/nss_files/files-init.c: New file.
53534 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53535 __nss_lookup_function.
53536 (__nss_lookup_function): Call nss_load_library.
53537 (nss_load_all_libraries): New function.
53538 (__nss_disable_nscd): Take parameter with callback function for files
53539 to register. Set is_nscd. Load all the DSOs for the NSS modules
53540 used for the cached services.
53541 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53542 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53543 options for features to all the files in nscd.
53544
53545 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53546
23bee3e8
RM
535472011-07-10 Roland McGrath <roland@hack.frob.com>
53548
53549 * csu/elf-init.c (__libc_csu_init): Comment typo.
53550
46a5b7f0
UD
535512011-07-09 Ulrich Drepper <drepper@gmail.com>
53552
53553 * po/pl.po: Update from translation team.
53554 * po/ja.po: Likewise.
53555 * po/ru.po: Likewise.
53556 * po/ko.po: Likewise.
53557 * po/fr.po: Likewise.
53558
d30cf5bb
RM
535592011-07-09 Roland McGrath <roland@hack.frob.com>
53560
113ddea4
RM
53561 * configure.in (.ctors/.dtors header and trailer check):
53562 Use an empirical test on a built program.
53563 * configure: Regenerated.
53564
574920b4
RM
53565 * configure.in (-z relro check): Use an empirical test on a built DSO.
53566 Detect, but do not require, on ia64.
53567 * configure: Regenerated.
53568
d30cf5bb
RM
53569 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53570 Update tests that use readelf to use $READELF instead.
53571 * configure: Regenerated.
53572
8538fdb3
UD
535732011-07-08 Ulrich Drepper <drepper@gmail.com>
53574
53575 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53576 if the result is not used.
53577
04d08991
AJ
535782011-07-05 Andreas Jaeger <aj@suse.de>
53579
53580 [BZ#9696]
53581 * stdlib/tst-strtod.c: Add testcase.
53582
de283087
AD
535832011-07-07 Ulrich Drepper <drepper@gmail.com>
53584
4e5f31c8 53585 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53586 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53587 The latter has a higher limit. Take additional parameter to pass to
53588 the new function.
53589 (__pathconf): Pass file to __statfs_link_max.
53590 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53591 __statfs_link_max.
53592 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53593 __statfs_link_max.
53594
de283087
AD
53595 [BZ #12868]
53596 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53598 Handle Lustre.
53599 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53600 (__statfs_filesize_max): Likewise.
53601 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53602
c75fa153
AJ
536032011-07-05 Andreas Jaeger <aj@suse.de>
53604
53605 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53606
1a544854
UD
536072011-07-06 Marek Polacek <mpolacek@redhat.com>
53608
53609 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53610 `status' variable.
53611 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53612 Likewise.
53613
6f0eec67
UD
536142011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53615
53616 * Makefile (strop-tests): Add strncat.
53617 * string/test-strncat.c: New file.
53618
aae30307
UD
536192011-06-30 Marek Polacek <mpolacek@redhat.com>
53620
53621 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53622
c0cfb5eb
UD
536232011-06-21 Andreas Jaeger <aj@suse.de>
53624
53625 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53626 Copy rule from iconvdata/Makefile.
53627
01636b21
UD
536282011-07-06 Ulrich Drepper <drepper@gmail.com>
53629
53630 [BZ #12922]
53631 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53632 but no long options are defined, just return 'W'.
53633
9895c8bc
UD
536342011-06-22 Marek Polacek <mpolacek@redhat.com>
53635
53636 [BZ #9696]
53637 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53638
5d4cf042
UD
536392011-07-06 Ulrich Drepper <drepper@gmail.com>
53640
53641 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53642 netgroups to read.
960e5535 53643 (innetgr): Likewise.
5d4cf042 53644
751eb97e
RM
536452011-07-05 Roland McGrath <roland@hack.frob.com>
53646
53647 * config.make.in (install_root): Default to $(DESTDIR).
53648
f15f1e45
UD
536492011-07-05 Ulrich Drepper <drepper@gmail.com>
53650
53651 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53652
4e34ac6a
RM
536532011-07-02 Roland McGrath <roland@hack.frob.com>
53654
5e9b6af4
RM
53655 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53656
84f9ea0f
RM
53657 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53658 containing directory rather than embedding absolute directory names.
53659
ea5ee9f7
RM
53660 * scripts/check-local-headers.sh: Rewritten using awk.
53661 Match by word, not by line. Print error messages for matches.
53662 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53663
1b74661a
RM
53664 * Makerules [shlib-lds-flags empty]:
53665 ($(common-objpfx)libc_pic.opts): New target.
53666 ($(common-objpfx)libc_pic.os.clean): New target.
53667 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53668
53669 * config.make.in (OBJCOPY): New variable.
53670 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53671 * configure: Regenerated.
53672
f781ef40
RM
53673 * config.make.in (use-default-link): New variable.
53674 * configure.in (use_default_link): Grok --with-default-link to set it.
53675 * configure: Regenerated.
53676 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53677 (shlib-lds, shlib-lds-flags): Define to empty.
53678
2d4fa81e
RM
53679 * Makerules (shlib-lds): New variable.
53680 (shlib-lds-flags): New variable.
53681 (build-shlib, build-moduile, build-module-asneeded): Use it.
53682 ($(common-objpfx)libc.so): Use $(shlib-lds).
53683 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53684 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53685
31fffa6b
RM
53686 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53687 DT_FLAGS/DT_FLAGS_1 with zero flags.
53688
4e34ac6a
RM
53689 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53690 linker script munging.
53691
fcfc776b
UD
536922011-07-02 Ulrich Drepper <drepper@gmail.com>
53693
53694 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53695 as 128-bit value.
53696 * crypt/sha512.c (sha512_process_block): Perform total addition using
53697 128-bit if possible.
53698 (__sha512_finish_ctx): Likewise.
53699 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53700 as 64-bit value.
53701 * crypt/sha256.c (SWAP64): Define.
53702 (sha256_process_block): Perform total addition using 64-bit if
53703 possible.
53704 (__sha256_finish_ctx): Likewise.
53705
99231d9a
UD
537062011-07-01 Ulrich Drepper <drepper@gmail.com>
53707
53708 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53710 * nscd/hstcache.c (cache_addhst): Likewise.
53711 * nscd/grpcache.c (cache_addgr): Likewise.
53712 * nscd/aicache.c (addhstaiX): Likewise
53713 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53714
445b4a53
TK
537152011-07-01 Thorsten Kukuk <kukuk@suse.de>
53716
53717 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53719 * nscd/hstcache.c (cache_addhst): Likewise.
53720 * nscd/grpcache.c (cache_addgr): Likewise.
53721 * nscd/aicache.c (addhstaiX): Likewise
53722
6d4d8e8e
AS
537232011-07-01 Andreas Schwab <schwab@redhat.com>
53724
53725 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53726 domain only when needed.
53727
89f654c5
AS
537282011-06-30 Andreas Schwab <schwab@redhat.com>
53729
53730 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53731 is always restored.
53732
cf3b23ff
UD
537332011-06-29 Ulrich Drepper <drepper@gmail.com>
53734
53735 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53736 are re-adding the entry.
53737 * nscd/servicescache.c (cache_addserv): Likewise.
53738
751626f9
AJ
537392011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53740
53741 * sysdeps/generic/dl-irel.h: fix protection against multiple
53742 inclusions.
53743 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53744
9113ea1f
UD
537452011-06-28 Ulrich Drepper <drepper@gmail.com>
53746
5c0b8d90
UD
53747 [BZ #12935]
53748 * malloc/memusage.sh: Fix quoting in message.
53749 * debug/xtrace.sh: Likewise.
53750
9113ea1f
UD
53751 * configure.in: Remove support for --experimental-malloc option, make
53752 it the default.
53753 * config.make.in: Likewise.
53754 * malloc/Makefile: Likewise.
53755
a4172181
AS
537562011-06-27 Andreas Schwab <schwab@redhat.com>
53757
53758 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53759 two-byte characters.
53760
78a7eee7
RM
537612011-06-27 Roland McGrath <roland@hack.frob.com>
53762
62bede13
RM
53763 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53764 AC_CACHE_CHECK invocation.
53765 * configure: Regenerated.
53766
78a7eee7
RM
53767 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53768
5ce33a62
UD
537692011-06-27 Ulrich Drepper <drepper@gmail.com>
53770
034807a9
UD
53771 [BZ #12350]
53772 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53773 bit from old_res_options.
53774
4902da17
UD
53775 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53776
5ce33a62
UD
53777 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53778 value type for setfct.
53779
c2344f56
L
537802011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53781
53782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53783 __gettimeofday instead of gettimeofday.
53784
68468076
UD
537852011-06-26 Ulrich Drepper <drepper@gmail.com>
53786
53787 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53788
acb0d739
L
537892011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53790
53791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53792
53793 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53794 info.
53795
8912479f
L
537962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53797
53798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53799 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53800 strcpy-sse2-unaligned strncpy-sse2-unaligned
53801 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53802 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53803 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53804 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53805 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53806 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53808 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53809 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53810 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53811 (STRCPY): Support SSE2 and SSSE3 versions.
53812
d5495a11
UD
538132011-06-24 Ulrich Drepper <drepper@gmail.com>
53814
53815 [BZ #12874]
53816 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53817 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53818 kernels which artificially limit size of requests.
53819
0b1cbaae
L
538202011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53821
53822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53823 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53824 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53825 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53826 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53827 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53828 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53829 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53831 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53832 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53833 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53834 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53835 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53836 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53838 Enable unaligned load optimization for Intel Core i3, i5 and i7
53839 processors.
53840 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53841 Define.
53842 (index_Fast_Unaligned_Load): Define.
53843 (HAS_FAST_UNALIGNED_LOAD): Define.
53844
07f494a0
MP
538452011-06-23 Marek Polacek <mpolacek@redhat.com>
53846
53847 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53848
fa3fc0fe
UD
538492011-06-22 Ulrich Drepper <drepper@gmail.com>
53850
53851 [BZ #12907]
53852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53853 until it is clear that the information is realy needed.
53854 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53855
e12df166
AS
538562011-06-22 Andreas Schwab <schwab@redhat.com>
53857
53858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53859
852eb34d
UD
538602011-06-22 Ulrich Drepper <drepper@gmail.com>
53861
84e2a551
UD
53862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53863 /sys/devices/system/cpu/online if it is usable.
53864
852eb34d
UD
53865 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53866 reading the information from the /proc filesystem to once a second.
53867
6e502e19
UD
538682011-06-21 Andreas Jaeger <aj@suse.de>
53869
53870 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53871 NULL after inclusion of kernel headers.
53872
75d39ff2
UD
538732011-06-21 Ulrich Drepper <drepper@gmail.com>
53874
51f9aa6a
UD
53875 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53876 calls to internal_setent.
53877
c0244a9d
UD
53878 [BZ #12885]
53879 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53880 addresses using gethostbyname4_r ignore IPv4 addresses.
53881
c5e3c2ae
UD
53882 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53883 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53884
75d39ff2
UD
53885 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53886
42675c6f
DM
538872011-06-20 David S. Miller <davem@davemloft.net>
53888
53889 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53890 inclusions.
53891 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53892
53893 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53894 (elf_irel): Use it.
53895 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53896 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53897 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53898 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53899 * sysdeps/x86_64/dl-irel.h: Likewise.
53900
53901 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53902 * elf/dl-sym.c: Likewise.
53903
57912a71
UD
539042011-06-15 Ulrich Drepper <drepper@gmail.com>
53905
53906 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53907 need to dereference resplen2.
53908
ee22793d
AS
539092011-06-14 Andreas Schwab <schwab@redhat.com>
53910
53911 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53912
a9e836b0
UD
539132011-06-15 Ulrich Drepper <drepper@gmail.com>
53914
77fb9117
UD
53915 * Makeconfig: Define vardbdir and inst_vardbdir.
53916 * nss/Makefile: Add rules to install db-Makefile.
53917
40c1b22c
UD
53918 * nss/nss_db/db-XXX.c: Cleanup.
53919
9f2da732
UD
53920 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53921 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53922 GLIBC_PRIVATE.
53923 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53924 * nss/makedb.c: Implement -g option to specify that value strings
53925 are generated and should not be added to table iterated over for
53926 get*ent calls.
53927 * nss/nss_db/db-initgroups.c: New file.
53928
82e9a1f7
UD
53929 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53930 interface.
53931
c41af17e
UD
53932 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53933 (internal_getgrouplist): Adjust to name change.
53934 Update use_initgroups_entry if this is not the first call.
53935 * nss/databases.def: Add initgroups entry.
53936
a9e836b0
UD
53937 * nss/makedb.c (compute_tables): Check result of multiple hash table
53938 sizes to minimize maximum chain length.
53939
2666d441
UD
539402011-06-14 Ulrich Drepper <drepper@gmail.com>
53941
53942 * Versions.def: Add entry for libnss_db.
53943 * shlib-versions: Likewise.
53944 * nss/Makefile: Add rules to build libnss_db.
53945 * nss/Versions: Add libnss_db information. Organize libnss_files
53946 entries better.
53947 * nss/db-Makefile: Add gshadow support. Change rules for the new
53948 makedb progra. Some minor improvements to generate smaller files.
53949 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53950 here from...
53951 * nss/makedb.c: ...here.
53952 Improve database format to be smaller and require less memory at
53953 runtime.
53954 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53955 db anymore.
53956 * nss/nss_db/db-netgrp.c: Likewise.
53957 * nss/nss_db/db-open.c: Likewise.
53958 * nss/nss_files/flies-XXX.x: Adjust comments.
53959 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53960 * nss/nss_files/files-grp.c: Likewise.
53961 * nss/nss_files/files-hosts.c: Likewise.
53962 * nss/nss_files/files-network.c: Likewise.
53963 * nss/nss_files/files-proto.c: Likewise.
53964 * nss/nss_files/files-pwd.c: Likewise.
53965 * nss/nss_files/files-rpc.c: Likewise.
53966 * nss/nss_files/files-service.c: Likewise.
53967 * nss/nss_files/files-sgrp.c: Likewise.
53968 * nss/nss_files/files-spwd.c: Likewise.
53969 * nss/nss_db/db-alias.c: Removed.
53970 * nss/nss_db/dummy-db.h: Removed.
53971
9ee76b5a
UD
539722011-06-02 Ulrich Drepper <drepper@gmail.com>
53973
53974 * nss/makedb.c: Rewritten to not use database library.
53975 * nss/Makefile: Update to build new makedb program.
53976
c71ca1f8
AJ
539772011-06-14 Andreas Jaeger <aj@suse.de>
53978
53979 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53980 memset declaration.
53981
3154bfb8
UD
539822011-06-10 Andreas Schwab <schwab@redhat.com>
53983
53984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53985 tmpbuf.
53986
b350afab
RM
539872011-06-10 Roland McGrath <roland@hack.frob.com>
53988
decd4e50
RM
53989 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53990 * elf/Makefile ($(objpfx)ld.so): Likewise.
53991
5615eaf2
RM
53992 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53993 Don't list ld.so twice in dependencies.
53994
53995 * posix/bug-regex31.c: Include <stdlib.h>.
53996
53997 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53998
53999 * nis/nss_compat/compat-spwd.c
54000 (getspent_next_nss_netgr): Remove unused variable.
54001 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54002
54003 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54004 nonmembers" output to use the right array.
54005
54006 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54007
54008 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54009
54010 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54011 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54012 * catgets/gencat.c (read_input_file): Likewise.
54013 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54014
54015 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54016 variable definition inside #if's controlling its use.
54017
54018 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54019
54020 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54021
54022 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54023
54024 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54025 unreachable code.
54026
54027 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54028
b68e08db
RM
54029 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54030 * configure: Regenerated.
54031
b350afab
RM
54032 * Makerules: Revert last change.
54033 * elf/Makefile: Likewise.
54034
28368601
RM
540352011-06-09 Roland McGrath <roland@hack.frob.com>
54036
54037 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54038 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54039 (reloc-link): Likewise.
54040
11988f8f
UD
540412011-06-09 Ulrich Drepper <drepper@gmail.com>
54042
54043 * elf/Makefile: Add rules to build pldd.
54044 * elf/pldd.c: New file.
54045 * elf/pldd-xx.c: New file.
54046
e80fab37
UD
540472011-06-07 Ulrich Drepper <drepper@gmail.com>
54048
54049 * version.h: Update for 2.15 development version.
54050
9b849836
DM
540512011-06-07 David S. Miller <davem@davemloft.net>
54052
54053 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54054 ifuncs.
54055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54056 elf_machine_lazy_rel): Likewise.
54057 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54059 elf_machine_lazy_rel): Likewise.
54060 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54061 dl_hwcap via passed in argument.
54062 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54063 Likewise.
54064
5a31b283
AK
540652011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54066
54067 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54068
069e52f8
RM
540692011-06-06 Roland McGrath <roland@hack.frob.com>
54070
54071 [BZ #12849]
54072 * manual/fdl-1.1.texi: New file, verbatim from:
54073 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54074 * manual/lgpl-2.1.texi: New file, verbatim from:
54075 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54076 * manual/Makefile (licenses): New variable, list those new file names.
54077 (texis): Use it.
54078 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54079
54080 * manual/fdl.texi: File removed.
54081 * manual/lesser.texi: File removed.
54082 * manual/libc.texinfo (Copying, Documentation License):
54083 Use new @include file names, put @appendix directive before @include.
54084
f16846a5
JJ
540852011-06-04 Jakub Jelinek <jakub@redhat.com>
54086
54087 [BZ #12841]
54088 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54089 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54090 (mq_open): Add __NTH.
54091
3d29045b
L
540922011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54093
54094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54095 Assume Intel Core i3/i5/i7 processor if AVX is available.
54096
8c297311
UD
540972011-05-31 Ulrich Drepper <drepper@gmail.com>
54098
54099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54100 typo.
54101
c8fc0c91
UD
541022011-05-31 Andreas Schwab <schwab@redhat.com>
54103
54104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54105 memory. Use alloca_account. Fix memory leak when retrying.
54106
5b27a807
UD
541072011-05-31 Ulrich Drepper <drepper@gmail.com>
54108
356f8bc6
UD
54109 * version.h (RELEASE): Bump for 2.14 release.
54110 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54111
5b27a807
UD
54112 * config.make.in (RANLIB): Remove entry.
54113
01f16ab0
UD
541142011-05-30 Ulrich Drepper <drepper@gmail.com>
54115
41fce8bd
UD
54116 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54117 (libc.pot): Work around missing support for .ksh extension in xgettext.
54118
4769ae77
UD
54119 [BZ #12684]
54120 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54121 if both request failed.
54122 (send_dg): In case of server errors clear resplen or *resplen2.
54123
6b1e7d19
UD
54124 [BZ #12454]
54125 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54126 when there are multiple maps.
54127 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54128 (_dl_fini): Remove test here.
54129
01f16ab0
UD
54130 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54131
b1ebd700
UD
541322011-05-29 Ulrich Drepper <drepper@gmail.com>
54133
7ae22829
UD
54134 [BZ #12350]
54135 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54136 bit from old_res_options.
54137 (gaih_inet): Likewise.
54138
553149f6 54139 [BZ #11099]
18a84741 54140 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54141 as signed.
54142
652ffab1
UD
54143 * resolv/res_init.c (res_setoptions): Make the code more compact.
54144
16985fd0
UD
54145 [BZ #11558]
54146 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54147 set RES_USEVC.
54148
0464f746
UD
54149 [BZ #11634]
54150 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54151
7d17596c
UD
54152 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54153
cf6bbbd7
UD
54154 [BZ #11781]
54155 * malloc/malloc.h: Declare malloc hook variables as volatile.
54156
13f1ab36
UD
54157 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54158 in last patch.
54159
b1ebd700
UD
54160 [BZ #11799]
54161 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54162 raise in the comment.
80e2212d
UD
54163 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54164 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54165 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54166
ce67228d
UD
541672011-05-28 Ulrich Drepper <drepper@gmail.com>
54168
8887a920
UD
54169 [BZ #12811]
54170 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54171 grow the buffers more if it already has to be sufficient.
54172 (build_wcs_upper_buffer): Likewise.
54173 * posix/regexec.c (check_matching): Likewise.
54174 (clean_state_log_if_needed): Likewise.
54175 (extend_buffers): Don't enlarge buffers beyond size of the input
54176 buffer.
54177 Patches mostly by Emil Wojak <emil@wojak.eu>.
54178 * posix/bug-regex32.c: New file.
54179 * posix/Makefile (tests): Add bug-regex32.
54180
4f031072
UD
54181 * locale/findlocale.c (_nl_find_locale): Return right away if
54182 _nl_explode_name failed.
54183 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54184
d0478f0c
UD
54185 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54186
de81b246
UD
54187 * debug/xtrace.sh: Unify messages.
54188 * malloc/memusage.sh: Likewise.
54189
c738465a
UD
54190 [BZ #12813]
54191 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54192 time symbol from vDSO. Substitute with vsyscall if not available.
54193 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54194 __vdso_time.
54195
f1f929d7
UD
54196 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54197 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54198 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54199 Add sendmmsg and internal_sendmmsg.
54200 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54201 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54202 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54203
ce67228d
UD
54204 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54205 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54206 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54207
e57420c6
UD
542082011-05-27 Ulrich Drepper <drepper@gmail.com>
54209
a8509ca5
UD
54210 [BZ #12813]
54211 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54212 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54213 available.
54214 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54215 __vdso_getcpu.
54216
e57420c6
UD
54217 [BZ #12814]
54218 * iconvdata/Makefile (tests): Add bug-iconv9.
54219 * iconvdata/bug-iconv9.c: New file.
54220
4d07db15
AS
542212011-05-27 Andreas Schwab <schwab@redhat.com>
54222
54223 [BZ #12814]
54224 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54225
ea486f69
JJ
542262011-05-25 Jakub Jelinek <jakub@redhat.com>
54227
54228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54229 (struct user_regs_struct): Change intcs field back to cs.
54230
6f038433
UD
542312011-05-25 Ulrich Drepper <drepper@gmail.com>
54232
54233 * po/ja.po: Update from translation team.
54234
67f86a25
UD
542352011-05-23 Ulrich Drepper <drepper@gmail.com>
54236
54237 [BZ #12795]
54238 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54239 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54240
def7fbd6
AS
542412011-05-20 Andreas Schwab <schwab@redhat.com>
54242
54243 * stdlib/longlong.h: Update from GCC.
54244
f50ef8f1
AS
542452011-05-23 Andreas Schwab <schwab@redhat.com>
54246
54247 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54248 parameter name.
54249 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54250 Add parameter name.
54251 (__sysconf): Pass it down.
54252
de7ce8f1
UD
542532011-05-22 Ulrich Drepper <drepper@gmail.com>
54254
f2962a71
UD
54255 [BZ #12671]
54256 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54257 some situations.
54258 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54259 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54260 add in in __libc_use_alloca calls. Adjust callers.
54261 (glob): Use malloc in some situations.
54262
de7ce8f1
UD
54263 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54264 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54265 pltexit.
54266
aec84f53
UD
542672011-05-21 Ulrich Drepper <drepper@gmail.com>
54268
05bb4a68
UD
54269 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54270 and CLOCK_BOOTTIME_ALARM.
54271
7ea72f99
UD
54272 [BZ #12782]
54273 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54274 is returned.
54275
7e4afad5
UD
54276 * string/_strerror.c (__strerror_r): Print negative errors as signed
54277 numbers.
54278
8e211fec
UD
54279 [BZ #12777]
54280 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54281 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54282 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54283
f7d82dc9
UD
54284 * configure.in: Fix typo in redirection and correct removal of test
54285 files in two cases.
54286
cc9e536d
UD
54287 [BZ #12788]
54288 * locale/setlocale.c (new_composite_name): Fix test to check for
54289 identical name of all categories.
54290
aec84f53
UD
54291 [BZ #12792]
54292 * libio/filedoalloc.c (local_isatty): New function.
54293 (_IO_file_doallocate): Use local_isatty.
54294 * stdio-common/perror.c (perror): In case a new stream is used
54295 forward the stream error.
54296 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54297 error flag.
54298
78e64fdc
RT
542992011-05-20 Ulrich Drepper <drepper@gmail.com>
54300
34a9094f
UD
54301 [BZ #11869]
54302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54303 alloca.
54304 * include/alloca.h (extend_alloca_account): Define.
54305
78e64fdc
RT
54306 [BZ #11857]
54307 * posix/regex.h: Fix comments with documentation of user-accessible
54308 fields after compilation and describe correct free'ing of pattern
54309 after re_compile_pattern.
54310 Patch by Reuben Thomas <rrt@sc3d.org>.
54311
457bddfc
RA
543122011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54313
54314 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54315 and -mno-altivec to prevent the compiler from using Altivec and/or
54316 VSX instructions when the corresponding registers are not available.
54317
a4527b51
AS
543182011-05-19 Andreas Schwab <schwab@redhat.com>
54319
54320 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54321
ed690b2f
UD
543222011-05-19 Ulrich Drepper <drepper@gmail.com>
54323
54324 * libio/freopen.c (freopen): Use __dup2, not dup2.
54325 * libio/freopen64.c (freopen64): Likewise.
54326
8db73634
L
543272011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54328
54329 [BZ #12775]
54330 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54331 * math/Makefile (tests): Add test-powl.
54332 (CFLAGS-test-powl.c): Define.
54333 * math/test-powl.c: New file.
54334
0a197a9d
L
543352011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54336
54337 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54338
ee30c380
UD
543392011-05-17 Ulrich Drepper <drepper@gmail.com>
54340
54341 [BZ #11837]
54342 * iconvdata/gb18030.c: Update to GB18020-2005.
54343
6ce75379
UD
543442011-05-16 Ulrich Drepper <drepper@gmail.com>
54345
a4b89fd8
AR
54346 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54347 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54348 Patch by Aharon Robbins <arnold@skeeve.com>.
54349
ea389b12
UD
54350 [BZ #11892]
54351 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54352 on the stack.
54353
68a3f91f
UD
54354 [BZ #11895]
54355 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54356 through underflows.
54357
15cc7dd1
UD
54358 [BZ #12766]
54359 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54360 point to strings before performing equality test for error_one_per_line
54361 mode.
54362
f3799213
UD
54363 [BZ #11697]
54364 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54365
d79a9c94
UD
54366 [BZ #11820]
54367 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54368 (struct user_fpregs_struct): Avoid __uint*_t types.
54369
56e5eb46
UD
54370 [BZ #6420]
54371 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54372 symbol info. Use it instead of calling _dl_addr locally.
54373 (lock_and_info): New function.
54374 (tr_freehook): Call lock_and_info and pass symbol info as additional
54375 parameter to tr_where.
54376 (tr_mallochook): Likewise.
54377 (tr_reallochook): Likewise.
54378 (tr_memalignhook): Likewise.
54379
6ce75379
UD
54380 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54381 used and couldn't be at all thread-safe.
54382
f8a3b5bf
UD
543832011-05-15 Ulrich Drepper <drepper@gmail.com>
54384
94b7cc37
UD
54385 * libio/freopen.c (freopen): Don't close old file descriptor
54386 before the new one is opened. Instead dup the new file descriptor
54387 to the old one after the new stream is created.
54388 * libio/freopen64.c (freopen64): Likewise.
54389 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54390 * libio/fileops.c (_IO_new_file_close_it): Handle new
54391 _IO_FLAGS2_NOCLOSE flag.
54392 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54393 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54394 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54395 _IO_FLAGS2_NOCLOSE flag.
54396 * include/unistd.h: Add hidden_proto for dup3.
54397 Define __have_dup3.
54398 * io/dup3.c: Define hidden symbol.
54399 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54400
bd25564e
UD
54401 [BZ #7101]
54402 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54403 when an incomplete long option is used.
54404 * posix/tst-getopt_long1.c: New file.
54405 * posix/Makefile (tests): Add tst-getopt_long1.
54406
c84cfef4
UD
54407 [BZ #10138]
54408 * scripts/config.guess: Update from autoconf-2.68.
54409 * scripts/config.sub: Likewise.
54410
3b85df27
UD
54411 [BZ #10157]
54412 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54413 tests into ...
54414 (has_cpuclock): ...this. New function.
54415 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54416 macro here based on has_cpuclock code.
54417
15a856b1
UD
54418 [BZ #10149]
54419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54420 First byte (not low byte) is now always NUL.
54421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54422
05f399e6
UD
54423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54424 Use non-cancelable interfaces.
54425
10a52685 54426 [BZ #9809]
94ecc67d
UD
54427 * locale/iso-639.def: Add entry for Sorani.
54428
f8a3b5bf
UD
54429 [BZ #11901]
54430 * include/stdlib.h: Move include protection to the right place.
54431 Define abort_msg_s. Declare __abort_msg with it.
54432 * stdlib/abort.c (__abort_msg): Adjust type.
54433 * assert/assert.c (__assert_fail_base): New function. Majority
54434 of code from __assert_fail. Allocate memory for __abort_msg with
54435 mmap.
54436 (__assert_fail): Now call __assert_fail_base.
54437 * assert/assert-perr.c: Remove bulk of implementation. Use
54438 __assert_fail_base.
54439 * include/assert.hL Declare __assert_fail_base.
54440 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54441 mmap.
54442 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54443
1af4e298
UD
544442011-05-14 Ulrich Drepper <drepper@gmail.com>
54445
f8a3b5bf 54446 [BZ #11952]
d26dfc60
MG
54447 [BZ #12453]
54448 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54449 until all modules are registered in the DTV.
54450 * elf/Makefile: Add rules to build and run tst-tls19.
54451 * elf/tst-tls19.c: New file.
54452 * elf/tst-tls19mod1.c: New file.
54453 * elf/tst-tls19mod2.c: New file.
54454 * elf/tst-tls19mod3.c: New file.
54455 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54456
2fc54d6f
UD
54457 [BZ #12083]
54458 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54459 correctly.
54460
98d76b46
UD
54461 [BZ #12601]
54462 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54463 two-byte sequence errors.
54464 * iconvdata/Makefile (tests): Add bug-iconv8.
54465 * iconvdata/bug-iconv8.c: New file.
54466
da3c19ef
UD
54467 [BZ #12626]
54468 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54469 buf2 definition.
54470
ca408c15
UD
54471 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54472
d6f67f7d
UD
54473 [BZ #12432]
54474 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54475 (dummy_getcfa): New function.
54476 (init): Get _Unwind_GetCFA address, use dummy if not found.
54477 (backtrace_helper): In recursion check, also check whether CFA changes.
54478 (__backtrace): Completely initialize arg.
54479
1af4e298 54480 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54481 storing incomplete byte sequence in state object. Avoid testing for
54482 guaranteed too small input if we know there is enough data available.
1af4e298 54483
da62f81b
AS
544842011-05-11 Andreas Schwab <schwab@redhat.com>
54485
54486 * Makeconfig (+link-pie): Indent.
54487 * Rules (binaries-pie): Define if $(have-fpie) and
54488 $(build-shared).
54489 (binaries-shared): Also filter out $(binaries-pie).
54490 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54491 * nscd/Makefile (others-pie): Add nscd.
54492 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54493 ($(objpfx)nscd): Remove command override.
54494 * login/Makefile (others-pie): Add pt_chown.
54495 ($(objpfx)pt_chown): Remove command override.
54496 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54497 remove command overrides.
54498
fcabc0f8
UD
544992011-05-13 Ulrich Drepper <drepper@gmail.com>
54500
20030ae6
UD
54501 * libio/tst_putwc.c: Fix error messages.
54502
fcabc0f8
UD
54503 [BZ #12724]
54504 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54505 currently writing and seek to current position when not.
54506 * libio/Makefile (tests): Add bug-fclose1.
54507 * libio/bug-fclose1.c: New file.
54508
320a5dc0
PB
545092011-05-12 Ulrich Drepper <drepper@gmail.com>
54510
54511 [BZ #12511]
54512 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54513 don't set DF_1_NODELETE here.
54514 (do_lookup_x): When entering new entry test for copy relocation
54515 and if necessary set DF_1_NODELETE flag.
54516 * elf/tst-unique4.cc: New file.
54517 * elf/tst-unique4.h: New file.
54518 * elf/tst-unique4lib.cc: New file.
54519 * elf/Makefile: Add rules to build and run tst-unique4.
54520 Patch by Piotr Bury <pbury@goahead.com>.
54521
22836f52
UD
545222011-05-11 Ulrich Drepper <drepper@gmail.com>
54523
f574184a
UD
54524 [BZ #12052]
54525 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54526
e1fb097f
UD
54527 [BZ #12625]
54528 * misc/mntent_r.c (addmntent): Flush the stream after the output
54529
22836f52
UD
54530 [BZ #12393]
54531 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54532 (is_trusted_path_normalize): Skip initial colon. Append slash
54533 to empty buffer. Duplicate is_trusted_path code but allow
54534 constructed patch to be prefix.
54535 (is_dst): Allow $ORIGIN followed by /.
54536 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54537 Correct testing of result of is_trusted_path_normalize
54538 (decompose_rpath): Fix warning.
54539
7b3b0b2a
UD
545402011-05-10 Ulrich Drepper <drepper@gmail.com>
54541
54542 [BZ #11257]
54543 * grp/initgroups.c (internal_getgrouplist): When we found the service
54544 list through the initgroups entry in nsswitch.conf do not always
54545 continue on a successful lookup. Don't always use the
eac80ce2 54546 __nss_group_database value if it is set.
7b3b0b2a
UD
54547 * nss/nsswitch.conf (initgroups): Change action for successful db
54548 lookup to continue for compatibility.
54549
2a81eaa5
UD
545502011-05-09 Ulrich Drepper <drepper@gmail.com>
54551
be97a69e
UD
54552 [BZ #11532]
54553 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54554 and CP774 modules.
54555 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54556 and CP774 modules.
54557 * iconvdata/tst-tables.sh: Likewise.
54558 * iconvdata/cp770.c: New file.
54559 * iconvdata/cp771.c: New file.
54560 * iconvdata/cp772.c: New file.
54561 * iconvdata/cp773.c: New file.
54562 * iconvdata/cp774.c: New file.
54563 * iconvdata/testdata/CP770: New file.
54564 * iconvdata/testdata/CP770..UTF8: New file.
54565 * iconvdata/testdata/CP771: New file.
54566 * iconvdata/testdata/CP771..UTF8: New file.
54567 * iconvdata/testdata/CP772: New file.
54568 * iconvdata/testdata/CP772..UTF8: New file.
54569 * iconvdata/testdata/CP773: New file.
54570 * iconvdata/testdata/CP773..UTF8: New file.
54571 * iconvdata/testdata/CP774: New file.
54572 * iconvdata/testdata/CP774..UTF8: New file.
54573
54574 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54575 END CHARMAP line.
54576 * iconvdata/gen-8bit-gap.sh: Likewise.
54577 * iconvdata/gen-8bit.sh: Likewise.
54578
c1e9e399
UD
54579 * locale/iso-639.def: Add ary entry.
54580
24c55fb3 54581 [BZ #11258]
96b4b1b0
UD
54582 * locale/C-translit.h.in: Add U20A1 transliteration.
54583
bdc2f971
KB
54584 [BZ #12178]
54585 * locale/iso-639.def: Add wae entry.
54586 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54587
2952b117
UD
54588 [BZ #12545]
54589 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54590 for n.
54591
2a81eaa5
UD
54592 [BZ #12711]
54593 * locale/C-translit.h.in: Add entry for U20B9.
54594 Patch by pravin.d.s@gmail.com.
54595
28377d1b
UD
545962011-05-08 Ulrich Drepper <drepper@gmail.com>
54597
7fb90fb8
UD
54598 [BZ #12713]
54599 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54600 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54601 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54602 in rtld. Use *stat64.
7fb90fb8 54603 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54604 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54605 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54606 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54607 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54608 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54609 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54610 __fstatat64 macros.
7fb90fb8
UD
54611 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54612 * dirent/rewinddir.c: Add libc_hidden_def.
54613 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54614 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54615
28377d1b
UD
54616 * include/dirent.h (__alloc_dir): Add flags parameter.
54617 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54618 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54619 __alloc_dir.
54620 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54621 from fdopendir if O_CLOEXEC is already set.
54622
66bdbaa4
AM
546232011-03-15 Alan Modra <amodra@gmail.com>
54624
54625 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54626 l_tls_firstbyte_offset non-zero. Save padding offset in
54627 l_tls_firstbyte_offset for later use.
54628 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54629 freeing static tls block.
54630
95721191
JN
546312011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54632
54633 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54634 where #ifdef was intended. The intent is to prevent ARG_MAX from
54635 being defined by the kernel headers.
54636
f87dfb1f
UD
546372011-05-07 Ulrich Drepper <drepper@gmail.com>
54638
54639 [BZ #12734]
54640 * resolv/resolv.h: Define RES_NOTLDQUERY.
54641 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54642 no-tld-query and set RES_NOTLDQUERY.
54643 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54644 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54645 modern BIND to search name as TLD unless forbidden.
54646
47c3cd7a
UD
546472011-05-07 Petr Baudis <pasky@suse.cz>
54648 Ulrich Drepper <drepper@gmail.com>
54649
54650 [BZ #12393]
54651 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54652 (is_trusted_path): ...to here.
c1e9ea35 54653 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54654 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54655 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54656
8a35c912
PP
546572011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54658
54659 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54660 __BEGIN/__END_DECLS.
54661
acd41f47
UD
546622011-05-06 Ulrich Drepper <drepper@gmail.com>
54663
54664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54665 NSS_STATUS_NOTFOUND if no record was found.
54666
597df647
AS
546672011-05-05 Andreas Schwab <schwab@redhat.com>
54668
54669 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54670 (headers-not-in-tirpc): Remove rpc/netdb.h
54671 * resolv/netdb.h: Revert last change.
54672
b9af1301
PP
546732011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54674
54675 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54676 circular dependency between libgcc.a and libc.a.
54677
4e34d5f5
AS
546782011-05-05 Andreas Schwab <schwab@redhat.com>
54679
54680 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54681 * nis/Makefile: Don't install rpcsvc/*.
54682 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54683 instead of <rpc/types.h>.
54684 (MAXHOSTNAMELEN): Define.
54685
00ee369c
AS
546862011-05-03 Andreas Schwab <schwab@redhat.com>
54687
54688 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54689
0b592a30
MB
546902011-04-28 Maciej Babinski <mbabinski@google.com>
54691
54692 [BZ #12714]
54693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54694 gethostbyname4_r when IPv6 results are possible.
54695
6e04cbbe
UD
546962011-05-02 Ulrich Drepper <drepper@gmail.com>
54697
54698 [BZ #12723]
54699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54700 _PC_PIPE_BUF handling.
54701
e4ecafe0
BH
547022011-04-30 Bruno Haible <bruno@clisp.org>
54703
54704 [BZ #12717]
54705 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54706 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54707 to 'int'.
54708 * inet/getnameinfo.c (getnameinfo): Likewise.
54709
125ee683
UD
547102011-04-29 Ulrich Drepper <drepper@gmail.com>
54711
54712 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54713 to groups setting in database lookup.
54714 * nss/nsswitch.conf: Add initgroups entry.
54715
b722481a
EB
547162011-04-22 Ulrich Drepper <drepper@gmail.com>
54717
54718 [BZ #12685]
54719 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54720 mode string.
54721 Patch by Eric Blake <eblake@redhat.com>.
54722
4df46dbd
L
547232011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54724
54725 * sunrpc/Makefile (need-export-routines): Add svc_run.
54726 (routines): Remove svc_run.
54727 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54728 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54729 * sunrpc/svc_run.c (svc_run): Likewise.
54730 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54731
e84142d2
UD
547322011-04-21 Ulrich Drepper <drepper@gmail.com>
54733
54734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54735 problem in reallocation in last patch.
54736
877175d8
UD
547372011-04-20 Ulrich Drepper <drepper@gmail.com>
54738
54739 * sunrpc/Makefile: Move inclusion of Rules.
54740
ab8eed78
UD
547412011-04-19 Ulrich Drepper <drepper@gmail.com>
54742
54743 * nss/nss_files/files-initgroups.c: New file.
54744 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54745 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54746 _nss_files_initgroups_dyn.
54747
e3d8f584
RS
547482011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54749
54750 * elf/elf.h (R_ARM_IRELATIVE): Define.
54751
af190f45
UD
547522011-04-19 Ulrich Drepper <drepper@gmail.com>
54753
54754 * po/ru.po: Update from translation team.
54755
53cf59ef
UD
547562011-04-17 Ulrich Drepper <drepper@gmail.com>
54757
54758 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54759 dependencies.
54760
4c559bcd
MF
547612011-02-06 Mike Frysinger <vapier@gentoo.org>
54762
54763 [BZ #12653]
54764 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54765 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54767 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54769
4420675c
AS
547702011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54771
54772 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54773 differing bytes.
54774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54777
75ea32ab
UD
547782011-04-17 Ulrich Drepper <drepper@gmail.com>
54779
54780 [BZ #12420]
54781 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54782 storing it.
54783 * stdlib/bug-getcontext.c: New file.
54784 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54785
27390476
AK
547862011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54787
54788 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54789 instructions into .machine "z9-109".
54790 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54791 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54792
10442705
AK
547932011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54794
54795 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54796 between environment variables and auxiliary vector.
54797
7b57bfe5
UD
547982011-04-16 Ulrich Drepper <drepper@gmail.com>
54799
54800 * Makefile: Add rules to build linkobj/libc.so.
54801 * include/libc-symbols.h: Define libc_hidden_nolink.
54802 * include/rpc/auth.h: Mark functions which are to be hidden.
54803 * include/rpc/auth_des.h: Likewise.
54804 * include/rpc/auth_unix.h: Likewise.
54805 * include/rpc/clnt.h: Likewise.
54806 * include/rpc/des_crypt.h: Likewise.
54807 * include/rpc/key_prot.h: Likewise.
54808 * include/rpc/pmap_clnt.h: Likewise.
54809 * include/rpc/pmap_prot.h: Likewise.
54810 * include/rpc/pmap_rmt.h: Likewise.
54811 * include/rpc/rpc_msg.h: Likewise.
54812 * include/rpc/svc.h: Likewise.
54813 * include/rpc/svc_auth.h: Likewise.
54814 * include/rpc/xdr.h: Likewise.
54815 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54816 * nss/Makefile: Likewise.
54817 * sunrpc/Makefile: Don't install headers. Build library with normal
54818 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54819 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54820 for the compat linking library. Remove use of INTDEF/INTUSE.
54821 * sunrpc/auth_none.c: Likewise.
54822 * sunrpc/auth_unix.c: Likewise.
54823 * sunrpc/authdes_prot.c: Likewise.
54824 * sunrpc/authuxprot.c: Likewise.
54825 * sunrpc/clnt_gen.c: Likewise.
54826 * sunrpc/clnt_perr.c: Likewise.
54827 * sunrpc/clnt_raw.c: Likewise.
54828 * sunrpc/clnt_simp.c: Likewise.
54829 * sunrpc/clnt_tcp.c: Likewise.
54830 * sunrpc/clnt_udp.c: Likewise.
54831 * sunrpc/clnt_unix.c: Likewise.
54832 * sunrpc/des_crypt.c: Likewise.
54833 * sunrpc/des_soft.c: Likewise.
54834 * sunrpc/get_myaddr.c: Likewise.
54835 * sunrpc/key_call.c: Likewise.
54836 * sunrpc/key_prot.c: Likewise.
54837 * sunrpc/netname.c: Likewise.
54838 * sunrpc/pm_getmaps.c: Likewise.
54839 * sunrpc/pm_getport.c: Likewise.
54840 * sunrpc/pmap_clnt.c: Likewise.
54841 * sunrpc/pmap_prot.c: Likewise.
54842 * sunrpc/pmap_prot2.c: Likewise.
54843 * sunrpc/pmap_rmt.c: Likewise.
54844 * sunrpc/publickey.c: Likewise.
54845 * sunrpc/rpc_cmsg.c: Likewise.
54846 * sunrpc/rpc_common.c: Likewise.
54847 * sunrpc/rpc_dtable.c: Likewise.
54848 * sunrpc/rpc_prot.c: Likewise.
54849 * sunrpc/rpc_thread.c: Likewise.
54850 * sunrpc/rtime.c: Likewise.
54851 * sunrpc/svc.c: Likewise.
54852 * sunrpc/svc_auth.c: Likewise.
54853 * sunrpc/svc_authux.c: Likewise.
54854 * sunrpc/svc_raw.c: Likewise.
54855 * sunrpc/svc_run.c: Likewise.
54856 * sunrpc/svc_simple.c: Likewise.
54857 * sunrpc/svc_tcp.c: Likewise.
54858 * sunrpc/svc_udp.c: Likewise.
54859 * sunrpc/svc_unix.c: Likewise.
54860 * sunrpc/svcauth_des.c: Likewise.
54861 * sunrpc/xcrypt.c: Likewise.
54862 * sunrpc/xdr.c: Likewise.
54863 * sunrpc/xdr_array.c: Likewise.
54864 * sunrpc/xdr_float.c: Likewise.
54865 * sunrpc/xdr_intXX_t.c: Likewise.
54866 * sunrpc/xdr_mem.c: Likewise.
54867 * sunrpc/xdr_rec.c: Likewise.
54868 * sunrpc/xdr_ref.c: Likewise.
54869 * sunrpc/xdr_sizeof.c: Likewise.
54870 * sunrpc/xdr_stdio.c: Likewise.
54871
e6c61494
UD
548722011-04-10 Ulrich Drepper <drepper@gmail.com>
54873
54874 [BZ #12650]
54875 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54876 * sysdeps/ia64/dl-tls.h: Likewise.
54877 * sysdeps/powerpc/dl-tls.h: Likewise.
54878 * sysdeps/s390/dl-tls.h: Likewise.
54879 * sysdeps/sh/dl-tls.h: Likewise.
54880 * sysdeps/sparc/dl-tls.h: Likewise.
54881 * sysdeps/x86_64/dl-tls.h: Likewise.
54882 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54883
34fe483e
AS
548842011-03-14 Andreas Schwab <schwab@redhat.com>
54885
54886 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54887 rpath element also skip the following colon.
54888 (expand_dynamic_string_token): Add is_path parameter and pass
54889 down to DL_DST_REQUIRED and _dl_dst_substitute.
54890 (decompose_rpath): Call expand_dynamic_string_token with
54891 non-zero is_path. Ignore empty rpaths.
54892 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54893 with zero is_path.
54894
f12a32e6
AS
548952011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54896
54897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54898 Make cancelable.
54899
38a7d692
UD
549002011-04-09 Ulrich Drepper <drepper@gmail.com>
54901
54902 [BZ #12655]
54903 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54904 Patch by Filipe David Manana <fdmanana@apache.org>.
54905
e451d22b
AS
549062011-04-07 Andreas Schwab <schwab@redhat.com>
54907
54908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54909 Maintain aligned stack.
54910 (CHECK_RSP): Remove unused macro.
54911
dedc7c7b
UD
549122011-04-03 Ulrich Drepper <drepper@gmail.com>
54913
54914 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54915 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54916
94521213
UD
549172011-04-02 Ulrich Drepper <drepper@gmail.com>
54918
54919 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54920
8cb700c0 54921 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54922
0354e355
L
549232011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54924
54925 [BZ #12518]
54926 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54927 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54928 * sysdeps/x86_64/memmove.c: New file.
54929 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54930 (memcpy): Renamed to ...
54931 (__new_memcpy): This.
54932 (memcpy): Provide GLIBC_2_14 memcpy.
54933 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54934 (memcpy): Provide GLIBC_2_2_5 memcpy.
54935
8593482f
UD
549362011-04-01 Ulrich Drepper <drepper@gmail.com>
54937
54938 [BZ #12631]
54939 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54940
81a5726b
AS
549412011-03-30 Andreas Schwab <schwab@redhat.com>
54942
54943 * misc/syncfs.c: New file.
54944 * misc/Makefile (routines): Add syncfs.
54945 * posix/unistd.h: Declare syncfs.
54946 * sysdeps/unix/syscalls.list: Add syncfs.
54947
00e5419f
AS
549482011-04-01 Andreas Schwab <schwab@redhat.com>
54949
54950 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54951 open_by_handle_at.
54952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54956 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54957 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54958 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54959
748876bf
UD
549602011-04-01 Ulrich Drepper <drepper@gmail.com>
54961
658e451d
UD
54962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54964 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54969
748876bf
UD
54970 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54971 sync_file_range.c with -fexceptions.
54972 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54973 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54974 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54975 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54976 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54977 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54979 sync_file_range as cancellation point
54980 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54981 now a wrapper around __call_sync_file_range with cancellation handling.
54982 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54983 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54984 function name to __call_sync_file_range.
54985 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54986 Add call_sync_file_range.
748876bf 54987
6e63d5e1
AS
549882011-04-01 Andreas Schwab <schwab@redhat.com>
54989
54990 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54991 bits/timex.h.
6e63d5e1 54992
46998f74
UD
549932011-04-01 Ulrich Drepper <drepper@gmail.com>
54994
4c1423ed
UD
54995 * iconv/iconv.h: Fix typo in comment.
54996 * io/fcntl.h: Likewise.
54997 * libio/stdio.h: Likewise.
54998 * posix/spawn.h: Likewise.
54999 * posix/unistd.h: Likewise.
55000 * stdlib/stdlib.h: Likewise.
55001 * time/time.h: Likewise.
55002 * wcsmbs/wchar.h: Likewise.
55003
158648c0
UD
55004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55005 open_by_handle): Add.
55006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55007 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55008 Augment a few comments.
55009 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55011 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55013 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55014 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55015 open_by_handle.
55016
46998f74
UD
55017 * io/fcntl.h (AT_EMPTY_PATH): Define.
55018
83fe108b
UD
550192011-03-30 Ulrich Drepper <drepper@gmail.com>
55020
55021 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55022 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55023 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55024 to...
55025 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55026 * Versions.def: Add GLIBC_2.14.
55027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55028 Export.
83fe108b 55029
bb242059
UD
550302011-03-22 Ulrich Drepper <drepper@gmail.com>
55031
55032 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55033 round counter.
55034 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55035
c97a1282
L
550362011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55037
55038 [BZ #12597]
55039 * string/test-strncmp.c (do_page_test): New function.
55040 (check2): Likewise.
55041 (test_main): Call check2.
55042 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55043
2a115601
UD
550442011-03-20 Ulrich Drepper <drepper@gmail.com>
55045
55046 [BZ #12587]
55047 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55048 Handle cache information in CPU leaf 4.
55049 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55050
8126d904
UD
550512011-03-18 Ulrich Drepper <drepper@gmail.com>
55052
042c49c6 55053 [BZ #12583]
8126d904
UD
55054 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55055 character representation.
55056 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55057
ccfe366e
RA
550582011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55059
55060 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55061 END(__isnan) to END(__isnanf) to match function entry point/label
55062 EALIGN(__isnanf,...).
55063
c6e13027
JJ
550642011-03-10 Jakub Jelinek <jakub@redhat.com>
55065
55066 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55067
33f85a3f
UD
550682011-03-10 Ulrich Drepper <drepper@gmail.com>
55069
028478fa
UD
55070 [BZ #12510]
55071 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55072 copy from the symbol referenced in the relocation to initialize the
55073 used variable.
55074 Patch by Piotr Bury <pbury@goahead.com>.
55075 * elf/Makefile: Add rules to build and tst-unique3.
55076 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55077 * elf/tst-unique3.cc: New file.
55078 * elf/tst-unique3.h: New file.
55079 * elf/tst-unique3lib.cc: New file.
55080 * elf/tst-unique3lib2.cc: New file.
55081
33f85a3f
UD
55082 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55083
03592fc7
MF
550842011-03-10 Mike Frysinger <vapier@gentoo.org>
55085
55086 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55087 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55088 to _start.
03592fc7 55089
6a5ee102
UD
550902011-03-06 Ulrich Drepper <drepper@gmail.com>
55091
55092 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55093 to-be-loaded object along a path to loader is ld.so.
55094
7e4ba49c
HJ
550952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55096 Ulrich Drepper <drepper@gmail.com>
55097
55098 * sysdeps/x86_64/memset.S: After aligning destination, code
55099 branches to different locations depending on the value of
55100 misalignment, when multiarch is enabled. Fix this.
55101
551022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55103
55104 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55105 Set _x86_64_preferred_memory_instruction for AMD processsors.
55106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55107 Set bit_Prefer_SSE_for_memop for AMD processors.
55108
13a804de
UD
551092011-03-04 Ulrich Drepper <drepper@gmail.com>
55110
55111 * libio/fmemopen.c (fmemopen): Optimize a bit.
55112
9d25c392
AS
551132011-03-03 Andreas Schwab <schwab@redhat.com>
55114
55115 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55116
a5543c6a
RM
551172011-03-03 Roland McGrath <roland@redhat.com>
55118
55119 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55120
012d35f7
DM
551212011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55122
7e4ba49c 55123 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55124 __bzero_ultra1 instead of __memset_ultra1.
55125
4bff6e01
AS
551262011-02-23 Andreas Schwab <schwab@redhat.com>
55127 Ulrich Drepper <drepper@gmail.com>
55128
55129 [BZ #12509]
55130 * include/link.h (struct link_map): Add l_orig_initfini.
55131 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55132 returning unsuccessfully.
55133 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55134 close of a file loaded at startup, restore the original l_initfini
55135 list.
55136 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55137 list, store the pointer.
55138 * elf/Makefile ($(objpfx)noload-mem): New rule.
55139 (noload-ENV): Define.
55140 (tests): Add $(objpfx)noload-mem.
55141 * elf/noload.c: Include <memcheck.h>.
55142 (main): Call mtrace. Close all opened handles.
55143
f2092faf
AS
551442011-02-17 Andreas Schwab <schwab@redhat.com>
55145
55146 [BZ #12454]
55147 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55148 dependencies are missing.
55149
6c8a2e88
ST
551502011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55151
f2092faf 55152 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55153 Hurd needs munmap.
55154 * sysdeps/mach/hurd/ifreq.h: New file.
55155
84a42118
PB
551562011-01-27 Petr Baudis <pasky@suse.cz>
55157 Ulrich Drepper <drepper@gmail.com>
55158
071f805e 55159 [BZ 12445]#
84a42118
PB
55160 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55161 to extend_alloca().
55162 * stdio-common/bug23.c: New file.
55163 * stdio-common/Makefile (tests): Add bug23.
55164
e23fe25b
AS
551652010-09-28 Andreas Schwab <schwab@redhat.com>
55166 Ulrich Drepper <drepper@gmail.com>
55167
55168 [BZ #12489]
55169 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55170 before performing relro protection. At old place add assertion
55171 to make sure nothing changed.
55172
d3f02e10
NS
551732011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55174 Glauber de Oliveira Costa <glommer@gmail.com>
55175
55176 * elf/elf.h: Add new ARM TLS relocs.
55177
d55fd7a5
RA
551782011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55179
55180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55181 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55182 cast from r3.
55183 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55184 'tests' variable.
55185 * sysdeps/wordsize-64/tst-writev.c: New file.
55186
2206397e
RA
551872011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55188
55189 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55190 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55191 insns in _dl_start to prevent a TOC reference before relocs are
55192 resolved.
55193
e9433893
UD
551942011-02-15 Ulrich Drepper <drepper@gmail.com>
55195
55196 [BZ #12469]
55197 * Makeconfig: Remove RANLIB definition.
55198 * Makerules: Don't use RANLIB.
55199 * aclocal.m4: Remove ranlib test.
55200 * configure.in: No need to check for ranlib.
55201 * elf/rtld-Rules: Don't use RANLIB.
55202
f75286c6
ST
552032011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55204
8e31c82d
ST
55205 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55206 protection macro.
55207 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55208 inclusion protection macro.
55209
f75286c6
ST
55210 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55211 SIGRTMIN and SIGRTMAX and print information in that case only when
55212 SIGRTMIN is defined.
55213
c1d0e639
JJ
552142011-02-11 Jakub Jelinek <jakub@redhat.com>
55215
55216 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55217 arginfo fn returning -1.
55218
55219 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55220 and thousands string is zero terminated.
55221
edf9294e
AS
552222011-02-03 Andreas Schwab <schwab@redhat.com>
55223
55224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55225 sysdeps/unix/sysv/linux/bits/socket.h.
55226
2b7e92df
ST
552272011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55228
edf9294e
AS
55229 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55230 (__CPU_COUNT): Remove old macros.
55231 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55232 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55233 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55234 (__sched_cpualloc, __sched_cpufree): Add declarations.
55235
a4c7ea7b
UD
552362011-02-05 Ulrich Drepper <drepper@gmail.com>
55237
55238 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55239 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55240 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55241 (readdhstai): Return value of addhstaiX call.
55242 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55243 (addgrbyX): Return value returned by cache_addgr.
55244 (readdgrbyname): Return value returned by addgrbyX.
55245 (readdgrbygid): Likewise.
55246 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55247 (addpwbyX): Return value returned by cache_addpw.
55248 (readdpwbyname): Return value returned by addhstbyX.
55249 (readdpwbyuid): Likewise.
55250 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55251 (addservbyX): Return value returned by cache_addserv.
55252 (readdservbyname): Return value returned by addservbyX:
55253 (readdservbyport): Likewise.
55254 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55255 (addhstbyX): Return value returned by cache_addhst.
55256 (readdhstbyname): Return value returned by addhstbyX.
55257 (readdhstbyaddr): Likewise.
55258 (readdhstbynamev6): Likewise.
55259 (readdhstbyaddrv6): Likewise.
55260 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55261 (readdinitgroups): Return value returned by addinitgroupsX.
55262 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55263 (prune_cache): Keep track of timeout value of re-added entries.
55264 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55265 * nscd/nscd.h: Adjust prototypes of readd* functions.
55266
a0bf67cc
RM
552672011-02-04 Roland McGrath <roland@redhat.com>
55268
55269 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55270 (nis_stats): Likewise.
55271 * nis/nis_modify.c (nis_modify): Likewise.
55272 * nis/nis_remove.c (nis_remove): Likewise.
55273 * nis/nis_add.c (nis_add): Likewise.
55274
55275 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55276
55277 * posix/fnmatch_loop.c: Add some consts.
55278
55279 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55280
435b95eb
L
552812011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55282
55283 [BZ #12460]
55284 * config.make.in (config-cflags-novzeroupper): Define.
55285 * configure.in: Substitute libc_cv_cc_novzeroupper.
55286 * elf/Makefile (AVX-CFLAGS): Define.
55287 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55288 (CFLAGS-tst-auditmod4a.c): Likewise.
55289 (CFLAGS-tst-auditmod4b.c): Likewise.
55290 (CFLAGS-tst-auditmod6b.c): Likewise.
55291 (CFLAGS-tst-auditmod6c.c): Likewise.
55292 (CFLAGS-tst-auditmod7b.c): Likewise.
55293 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55294
8517b15e
UD
552952011-02-02 Ulrich Drepper <drepper@gmail.com>
55296
55297 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55298 function to the callback.
55299 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55300
10a656fe
AS
553012011-02-02 Andreas Schwab <schwab@redhat.com>
55302
55303 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55304 of errno.
55305
968dad0a
UD
553062011-01-19 Ulrich Drepper <drepper@gmail.com>
55307
9f94d2ea 55308 [BZ #11724]
968dad0a
UD
55309 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55310 of constructors.
55311 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55312 of destructors.
55313 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55314
55315 [BZ #11724]
55316 * elf/Makefile: Add rules to build and run new test.
55317 * elf/tst-initorder.c: New file.
55318 * elf/tst-initorder.exp: New file.
55319 * elf/tst-initordera1.c: New file.
55320 * elf/tst-initordera2.c: New file.
55321 * elf/tst-initordera3.c: New file.
55322 * elf/tst-initordera4.c: New file.
55323 * elf/tst-initorderb1.c: New file.
55324 * elf/tst-initorderb2.c: New file.
55325 * elf/tst-order-a1.c: New file.
55326 * elf/tst-order-a2.c: New file.
55327 * elf/tst-order-a3.c: New file.
55328 * elf/tst-order-a4.c: New file.
55329 * elf/tst-order-b1.c: New file.
55330 * elf/tst-order-b2.c: New file.
55331 * elf/tst-order-main.c: New file.
55332 New test case by George Gensure <werkt0@gmail.com>.
55333
86e92359
UD
553342010-10-01 Andreas Schwab <schwab@redhat.com>
55335
55336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55337 decoding ACE if AI_CANONIDN.
55338
5d5732b0
UD
553392011-01-18 Ulrich Drepper <drepper@gmail.com>
55340
55341 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55342
a77e8cbc
UD
553432011-01-17 Ulrich Drepper <drepper@gmail.com>
55344
6392473f
UD
55345 * version.h (RELEASE): Bump for 2.13 release.
55346 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55347
620a0529
UD
55348 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55349
18ba70a5
UD
55350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55351 MADV_NOHUGEPAGE.
32465c3e
UD
55352 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55353 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55354 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55355 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55356 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55357 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55358
c0dafcf1
UD
55359 * posix/getconf.c: Update copyright year.
55360 * catgets/gencat.c: Likewise.
55361 * csu/version.c: Likewise.
55362 * debug/catchsegv.sh: Likewise.
55363 * debug/xtrace.sh: Likewise.
55364 * elf/ldconfig.c: Likewise.
55365 * elf/ldd.bash.in: Likewise.
55366 * elf/sprof.c (print_version): Likewise.
55367 * iconv/iconv_prog.c: Likewise.
55368 * iconv/iconvconfig.c: Likewise.
55369 * locale/programs/locale.c: Likewise.
55370 * locale/programs/localedef.c: Likewise.
55371 * malloc/memusage.sh: Likewise.
55372 * malloc/mtrace.pl: Likewise.
55373 * nscd/nscd.c (print_version): Likewise.
55374 * nss/getent.c: Likewise.
55375
a77e8cbc
UD
55376 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55377 PF_CAIF, and PF_ALG.
55378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55379
77e8bddf
AS
553802011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55381
1f20b93a
AS
55382 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55383 (modules-names): Use them.
55384 (ifunc-test-modules, ifunc-pie-tests): Define.
55385 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55386 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55387 (test-extras): Likewise.
55388 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55389 $(compile-command.c).
55390 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55391 (all-built-dso): Define.
55392 (check-textrel.out, check-execstack.out): Depend on it.
55393
77e8bddf
AS
55394 * configure.in: Don't override --enable-multi-arch.
55395
bc425b33
UD
553962011-01-15 Ulrich Drepper <drepper@gmail.com>
55397
55398 [BZ #6812]
55399 * nscd/hstcache.c (tryagain): Define.
55400 (cache_addhst): Return tryagain not notfound for temporary errors.
55401 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55402 failed.
55403
794c3ad3
UD
554042011-01-14 Ulrich Drepper <drepper@gmail.com>
55405
70181fdd
UD
55406 [BZ #10563]
55407 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55408 to make the syscall.
55409 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55410
794c3ad3
UD
55411 [BZ #12378]
55412 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55413 and fall back to matching as normal character if the string ends before
55414 the matching ']' is found. This is what POSIX requires.
55415 * posix/testfnm.c: Adjust test result.
55416 * posix/globtest.sh: Adjust test result. Add new test.
55417 * posix/tst-fnmatch.input: Likewise.
55418 * posix/tst-fnmatch2.c: Add new test.
55419
68dc9497
AS
554202010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55421
55422 * elf/Makefile (check-execstack): Revert last change. Depend on
55423 check-execstack.h.
55424 (check-execstack.h): New target.
55425 (generated): Add check-execstack.h.
55426 * elf/check-execstack.c: Include "check-execstack.h".
55427 (main): Revert last change.
55428 (handle_file): Return zero if GNU_STACK is absent and
55429 DEFAULT_STACK_PERMS doesn't include PF_X.
55430
451f001b
UD
554312011-01-13 Ulrich Drepper <drepper@gmail.com>
55432
cfa28e56
UD
55433 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55434 in child fails because the descriptor is already closed.
8cf8ce17
UD
55435 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55436 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55437 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55438
1086d70d
UD
55439 [BZ #12397]
55440 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55441 syscall.
55442
451f001b
UD
55443 [BZ #10484]
55444 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55445 temporary buffer used to handle multi lookups locally.
a85b5cb4 55446 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55447
08769175
UD
554482011-01-12 Ulrich Drepper <drepper@gmail.com>
55449
55450 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55451 loader is ld.so.
55452
5e49c52e
UD
554532011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55454
55455 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55456 alignment for SSE2.
55457
60522a5f
UD
554582011-01-12 Ulrich Drepper <drepper@gmail.com>
55459
55460 [BZ #12394]
55461 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55462 characters. When rounding increased number of integer digits recompute
55463 number of groups.
55464 * stdio-common/tst-grouping.c: New file.
55465 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55466
f257bbd7
UD
554672011-01-09 Ulrich Drepper <drepper@gmail.com>
55468
55469 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55470 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55471
55472 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55473 void.
55474 * bits/select.h: Likewise.
55475
fa9c15cb
UD
554762011-01-08 Ulrich Drepper <drepper@gmail.com>
55477
55478 * po/ja.po: Update from translation team.
55479
16c2895f
DM
554802011-01-04 David S. Miller <davem@sunset.davemloft.net>
55481
55482 [BZ #11155]
55483 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55484 implementation just like for lxstat, fxstatat, et al.
55485
2543fef2
JM
554862010-12-27 Jim Meyering <meyering@redhat.com>
55487
55488 [BZ #12348]
55489 * posix/regexec.c (build_trtable): Return failure indication upon
55490 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55491
98727dbe
UD
554922010-12-25 Ulrich Drepper <drepper@gmail.com>
55493
5bd6dc5c
UD
55494 [BZ #12201]
55495 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55496 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55497 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55499
97983464
UD
55500 [BZ #12207]
55501 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55502
98727dbe
UD
55503 [BZ #12204]
55504 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55505 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55506
4a531bb0
L
555072010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55508
55509 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55510 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55511 script has SORT_BY_INIT_PRIORITY.
55512 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55513 NO_CTORS_DTORS_SECTIONS is defined.
55514 * elf/soinit.c: Likewise.
55515 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55516 NO_CTORS_DTORS_SECTIONS is defined.
55517 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55518 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55519 * sysdeps/sh/init-first.c: Likewise.
55520 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55521
07eb4b71
UD
555222010-12-24 Ulrich Drepper <drepper@gmail.com>
55523
55524 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55525 always use the slow path.
55526
30950a5f
RA
555272010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55528
55529 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55530 similar rule which adds the sysdep directories to the header search in
55531 order to pick up the correct platform stackinfo.h.
55532 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55533 perform test if it is, otherwise return successfully without testing.
55534 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55535 DEFAULT_STACK_PERMS define in stackinfo.h.
55536 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55537 defined in stackinfo.h.
55538 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55539 DEFAULT_STACK_PERMS defined in stackinfo.h.
55540 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55541 * sysdeps/ia64/stackinfo.h: Likewise.
55542 * sysdeps/s390/stackinfo.h: Likewise.
55543 * sysdeps/sh/stackinfo.h: Likewise.
55544 * sysdeps/sparc/stackinfo.h: Likewise.
55545 * sysdeps/x86_64/stackinfo.h: Likewise.
55546 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55547 PF_X for powerpc64. Retain PF_X for powerpc32.
55548
db753e2c
UD
555492010-12-19 Ulrich Drepper <drepper@gmail.com>
55550
14b697f7
UD
55551 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55552 accurately.
db753e2c
UD
55553 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55554 GETDENTS_64BIT_ALIGNED.
55555
28300719
UD
555562010-12-14 Ulrich Drepper <dreper@gmail.com>
55557
14b697f7 55558 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55559
4f197237
AS
555602010-12-10 Andreas Schwab <schwab@redhat.com>
55561
dbb0472f
AS
55562 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55563 _GNU_SOURCE.
55564
4f197237
AS
55565 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55566 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55567 Remove __restrict.
55568 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55569 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55570
fb88ac72
UD
555712010-12-09 Ulrich Drepper <drepper@gmail.com>
55572
55573 [BZ #11655]
55574 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55575 are initialized.
55576
42acbb92
JJ
555772010-12-09 Jakub Jelinek <jakub@redhat.com>
55578
55579 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55580
c038d98d
UD
555812010-12-03 Ulrich Drepper <drepper@gmail.com>
55582
55583 * po/it.po: Update from translation team.
55584
3a4a2499
L
555852010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55586
55587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55588 unused codes.
55589
1e24cf6e
UD
555902010-11-30 Ulrich Drepper <drepper@gmail.com>
55591
55592 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55593
a7690819
AS
555942010-11-24 Andreas Schwab <schwab@redhat.com>
55595
55596 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55597 specially.
55598 (gaih_getanswer_slice): Likewise.
55599
3bf8d1b1
JJ
556002010-10-20 Jakub Jelinek <jakub@redhat.com>
55601
55602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55603
6db52fbb
PB
556042010-05-31 Petr Baudis <pasky@suse.cz>
55605
55606 [BZ #11149]
55607 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55608 silently even in the chroot mode.
55609
eaca7569
UD
556102010-11-22 Ulrich Drepper <drepper@gmail.com>
55611
55612 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55613 last patch a bit. Pretty printing
55614
3056dcdb
UD
556152010-05-31 Petr Baudis <pasky@suse.cz>
55616
55617 [BZ #10085]
55618 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55619 initialization of skip_initgroups_dyn.
55620
cf7c9078
UD
556212010-11-19 Ulrich Drepper <drepper@gmail.com>
55622
55623 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55624 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55625
a1fb5e3e
UD
556262010-11-16 Ulrich Drepper <drepper@gmail.com>
55627
55628 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55629
3540d66b
AS
556302010-11-11 Andreas Schwab <schwab@redhat.com>
55631
55632 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55633 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55634 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55635 ($(objpfx)tst-fnmatch-mem): New rule.
55636 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55637 * posix/tst-fnmatch.c (main): Call mtrace.
55638
13b69574
L
556392010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55640
55641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55642 Support Intel processor model 6 and model 0x2c.
55643
da93d214
LM
556442010-11-10 Luis Machado <luisgpm@br.ibm.com>
55645
55646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55647 signed comparison.
55648
8ca52c6e
L
556492010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55650
55651 [BZ #12205]
55652 * string/test-strncasecmp.c (check_result): New function.
55653 (do_one_test): Use it.
55654 (check1): New function.
55655 (test_main): Use it.
55656 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55657 Support strcasecmp and strncasecmp.
55658
69da074d
UD
556592010-11-08 Ulrich Drepper <drepper@gmail.com>
55660
55661 [BZ #12194]
55662 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55663 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55664
ff02d528
L
556652010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55666
55667 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55668 IFUNC support.
55669 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55670 memset-x86-64.
55671 * sysdeps/x86_64/multiarch/bzero.S: New file.
55672 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55673 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55674 * sysdeps/x86_64/multiarch/memset.S: New file.
55675 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55677 Set bit_Prefer_SSE_for_memop for Intel processors.
55678 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55679 Define.
55680 (index_Prefer_SSE_for_memop): Define.
55681 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55682
344d0b54
LM
556832010-11-04 Luis Machado <luisgpm@br.ibm.com>
55684
55685 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55686 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55687
c0dde15b
UD
556882010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55689
55690 [BZ #12191]
55691 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55692 (__x86_64_raw_data_cache_size_half): Likewise.
55693 (__x86_64_raw_shared_cache_size): Likewise.
55694 (__x86_64_raw_shared_cache_size_half): Likewise.
55695
55696 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55697 (__x86_64_raw_data_cache_size_half): Likewise.
55698 (__x86_64_raw_shared_cache_size): Likewise.
55699 (__x86_64_raw_shared_cache_size_half): Likewise.
55700 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55701 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55702 and __x86_64_raw_shared_cache_size_half. Round
55703 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55704 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55705 to multiple of 256 bytes.
55706
0e516e0e
MS
557072010-11-03 Ulrich Drepper <drepper@gmail.com>
55708
55709 [BZ #12167]
55710 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55711 of inacessible symlinks. Verify result of symlink before returning it.
55712 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55713 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55714
0e012e87
ER
557152010-10-28 Erich Ritz <erichritz@gmail.com>
55716
55717 * math/math.h (isinf): Fix typo in comment.
55718
de0ff7bc
UD
557192010-11-01 Ulrich Drepper <drepper@gmail.com>
55720
55721 * po/da.po: Update from translation team.
55722
fa41c84d
UD
557232010-10-26 Ulrich Drepper <drepper@gmail.com>
55724
55725 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55726 is added to the list.
55727
f0967738
AK
557282010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55729 Ulrich Drepper <drepper@gmail.com>
55730
55731 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55732 the global list here. Move code to...
55733 (_dl_add_to_namespace_list): ...here. New function.
55734 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55735 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55736 * elf/dl-load.c (lose): Don't remove the element from the list.
55737 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55738 (_dl_map_object): Likewise.
55739
557402010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55741
55742 [BZ #12159]
55743 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55744 into all bytes of SSE register.
55745 Patch by Richard Li <richardpku@gmail.com>.
55746
f0967738 557472010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55748
55749 [BZ #12140]
55750 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55751 perturbing.
55752
d0b9e94f
MB
557532010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55754
55755 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55756 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55758 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55760 submachine.
55761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55762
8e9f92e9
AS
557632010-10-22 Andreas Schwab <schwab@redhat.com>
55764
55765 * include/dlfcn.h (__RTLD_SECURE): Define.
55766 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55767 mode & __RTLD_SECURE instead.
55768 (open_path): Rename preloaded parameter to secure.
55769 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55770 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55771 * elf/dl-deps.c (openaux): Likewise.
55772 * elf/rtld.c (struct map_args): Remove is_preloaded.
55773 (map_doit): Don't use it.
55774 (dl_main): Likewise.
55775 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55776 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55777
bc96fbda
AS
557782010-09-09 Andreas Schwab <schwab@redhat.com>
55779
55780 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55781 (sysd-rules-targets): Remove duplicates.
55782 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55783 rtld-%.$o dependency.
55784
22cd1c9b
AS
557852010-10-18 Andreas Schwab <schwab@redhat.com>
55786
55787 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55788 _dl_map_object do it.
55789
18edac48
UD
557902010-10-19 Ulrich Drepper <drepper@gmail.com>
55791
55792 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55793 fast fma builtins, define the macros in the C99 standard.
55794 (FP_FAST_FMAF): Likewise.
55795 (FP_FAST_FMAL): Likewise.
55796 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55797
55798 * bits/mathdef.h: Update copyright year.
55799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55800
d2050124
MM
558012010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55802
55803 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55804 builtins, define the macros in the C99 standard.
55805 (FP_FAST_FMAF): Likewise.
55806 (FP_FAST_FMAL): Likewise.
55807 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55808 multiply/add.
55809 (FP_FAST_FMAF): Likewise.
55810
475facd1
JJ
558112010-10-15 Jakub Jelinek <jakub@redhat.com>
55812
55813 [BZ #3268]
55814 * math/libm-test.inc (fma_test): Some new testcases.
55815 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55817 y and infinite z. Do multiplication by C already in long double.
55818 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55820 y and infinite z. Do bitwise or of inexact bit into u.d.
55821 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55822 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55823 * sysdeps/i386/fpu/s_fma.S: Removed.
55824 * sysdeps/i386/fpu/s_fmal.S: Removed.
55825
7c08a05c
JJ
558262010-10-16 Jakub Jelinek <jakub@redhat.com>
55827
55828 [BZ #3268]
55829 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55831 computation is not scheduled after fetestexcept. Fix value
55832 of minimum denormal long double.
55833
f3f7372d
JJ
558342010-10-14 Jakub Jelinek <jakub@redhat.com>
55835
55836 [BZ #3268]
55837 * math/libm-test.inc (fma_test): Add some more tests.
55838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55839 correctly.
55840
14d43591
AS
558412010-10-15 Andreas Schwab <schwab@redhat.com>
55842
55843 * scripts/data/localplt-s390-linux-gnu.data: New file.
55844 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55845
5e908464
JJ
558462010-10-13 Jakub Jelinek <jakub@redhat.com>
55847
55848 [BZ #3268]
55849 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55850 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55851 instead of dbl-64.
55852 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55853 inlines.
55854 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55856 if one of x and y is very large and the other is subnormal.
55857 * sysdeps/s390/fpu/s_fmaf.c: New file.
55858 * sysdeps/s390/fpu/s_fma.c: New file.
55859 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55860 * sysdeps/powerpc/fpu/s_fma.S: New file.
55861 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55862 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55863 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55864
558652010-10-12 Jakub Jelinek <jakub@redhat.com>
55866
55867 [BZ #3268]
55868 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55869 fma tests.
55870 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55871 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55872 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55873 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55874 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55875 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55876 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55877
b833d51f
UD
558782010-10-12 Ulrich Drepper <drepper@redhat.com>
55879
55880 [BZ #12078]
55881 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55882 * posix/bug-regex31.input: Add test case.
55883
1751705d
UD
558842010-10-11 Ulrich Drepper <drepper@gmail.com>
55885
e9b9cbf5
UD
55886 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55887 * posix/bug-regex31.input: New file.
55888
55889 [BZ #12078]
55890 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55891 (parse_sub_exp): Fix last change, use postorder.
55892
ef06edbe
UD
55893 * posix/bug-regex31.c: New file.
55894 * posix/Makefile: Add rules to build and run bug-regex31.
55895
a129c80d
UD
55896 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55897
55898 [BZ #12078]
55899 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55900
b76b818e
UD
55901 [BZ #12108]
55902 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55903 to have entries in sys_siglist.
55904
1751705d
UD
55905 [BZ #12093]
55906 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55907 be NULL.
55908
9ff8d36f
JJ
559092010-10-07 Jakub Jelinek <jakub@redhat.com>
55910
55911 [BZ #3268]
55912 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55913 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55914 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55915 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55916 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55917 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55918 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55919 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55920 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55921 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55922 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55923 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55925 * math/ftestexcept.c (fetestexcept): Likewise.
55926 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55927 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55928 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55929 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55930 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55931 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55932 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55933
af325969
UD
559342010-10-11 Ulrich Drepper <drepper@gmail.com>
55935
c579b202 55936 [BZ #12107]
af325969
UD
55937 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55938 newline.
55939
67a67b95
UD
559402010-10-06 Ulrich Drepper <drepper@gmail.com>
55941
55942 * string/bug-strstr1.c: New file.
55943 * string/Makefile: Add rules to build and run bug-strstr1.
55944
5fb308bc
EB
559452010-10-05 Eric Blake <eblake@redhat.com>
55946
55947 [BZ #12092]
55948 * string/str-two-way.h (two_way_long_needle): Always clear memory
55949 when skipping input due to the shift table.
55950
45db99c7
UD
559512010-10-03 Ulrich Drepper <drepper@gmail.com>
55952
3b111893
UD
55953 [BZ #12005]
55954 * malloc/mcheck.c: Handle large requests.
55955
45db99c7
UD
55956 [BZ #12077]
55957 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55958 for strncmp and strncasecmp.
55959 * string/stratcliff.c: Add tests for strcmp and strncmp.
55960 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55961
cf7a1eb8
NI
559622010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55963
55964 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55965 __set_fpscr.
55966
6484ba5e
AJ
559672010-09-30 Andreas Jaeger <aj@suse.de>
55968
55969 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55970 (CGROUP_SUPER_MAGIC): Define.
55971 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55972 Handle btrfs and cgroup file systems.
55973 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55974 Likewise.
55975
91c42559
LM
559762010-09-27 Luis Machado <luisgpm@br.ibm.com>
55977
55978 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55979 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55980
87a97932
AK
559812010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55982
55983 [BZ #12067]
55984 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55985 trying to locate the ELF header.
55986
c21cc9bc
AS
559872010-09-27 Andreas Schwab <schwab@redhat.com>
55988
55989 [BZ #11611]
55990 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55991 Mask out sign-bit copies when constructing f_fsid.
55992
315970f6
PB
559932010-09-24 Petr Baudis <pasky@suse.cz>
55994
55995 * debug/stack_chk_fail_local.c: Add missing licence exception.
55996 * debug/warning-nop.c: Likewise.
55997
1ac7a2c7
JM
559982010-09-15 Joseph Myers <joseph@codesourcery.com>
55999
56000 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56001 implementing getdents64 using getdents syscall, set d_type if
56002 __ASSUME_GETDENTS32_D_TYPE.
56003
56801c50
AS
560042010-09-16 Andreas Schwab <schwab@redhat.com>
56005
56006 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56007 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56008
dda51327
UD
560092010-09-21 Ulrich Drepper <drepper@redhat.com>
56010
56011 [BZ #12037]
56012 * posix/unistd.h: Undo change of feature selection for ftruncate from
56013 2010-01-11.
56014
8ffcee4a
UD
560152010-09-20 Ulrich Drepper <drepper@redhat.com>
56016
a545ecd9 56017 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56018 detection.
56019
e24f0a8b
AS
560202010-09-20 Andreas Schwab <schwab@redhat.com>
56021
56022 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56023 fanotify_mark.
56024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56025
7291c56f
AS
560262010-09-14 Andreas Schwab <schwab@redhat.com>
56027
56028 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56029 variables after CHECK_SP call.
56030 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56031
bc5fb037
AS
560322010-09-13 Andreas Schwab <schwab@redhat.com>
56033 Ulrich Drepper <drepper@redhat.com>
56034
56035 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56036 re-relocationg ld.so.
56037 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56038 _dl_init_paths call.
56039 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56040 here anymore.
56041
e66e7419
UD
560422010-09-14 Ulrich Drepper <drepper@redhat.com>
56043
56044 * resolv/res_init.c (__res_vinit): Count the default server we added.
56045
c044aa75
CLT
560462010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56047 Ulrich Drepper <drepper@redhat.com>
56048
56049 [BZ #11968]
56050 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56051 (____longjmp_chk): Use %ebx for saving value across system call.
56052 Add unwind info.
56053
32cf4069
AS
560542010-09-06 Andreas Schwab <schwab@redhat.com>
56055
56056 * manual/Makefile: Don't mix pattern rules with normal rules.
56057
817328ee
AS
560582010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56059
56060 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56061 operation.
56062 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56063 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56064 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56065 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56066 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56067 Likewise.
56068
29fddf61
UD
560692010-09-04 Ulrich Drepper <drepper@redhat.com>
56070
56071 [BZ #11979]
56072 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56073 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56074
0959ffc9
UD
560752010-09-02 Ulrich Drepper <drepper@redhat.com>
56076
56077 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56078 * sysdeps/x86_64/addmul_1.S: Likewise.
56079 * sysdeps/x86_64/lshift.S: Likewise.
56080 * sysdeps/x86_64/mul_1.S: Likewise.
56081 * sysdeps/x86_64/rshift.S: Likewise.
56082 * sysdeps/x86_64/sub_n.S: Likewise.
56083 * sysdeps/x86_64/submul_1.S: Likewise.
56084
ece29840
ST
560852010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56086
0959ffc9
UD
56087 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56088 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56089 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56090 * bits/sched.h [__need_schedparam]
ece29840 56091 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56092 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56093 (__defined_schedparam): Define to 1.
ece29840
ST
56094 (__sched_param): New structure, identical to sched_param.
56095 (__need_schedparam): Undefine.
56096
e53a31fe
MF
560972010-08-31 Mike Frysinger <vapier@gentoo.org>
56098
fdc0c10d
MF
56099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56100 (epoll_create1): Declare.
56101
e53a31fe
MF
56102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56103
a726d796
AS
561042010-08-31 Andreas Schwab <schwab@redhat.com>
56105
56106 [BZ #7066]
56107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56108 shifting retval into place.
56109
2f3e3dc7
UD
561102010-09-01 Ulrich Drepper <drepper@redhat.com>
56111
f2933da9
UD
56112 * nis/rpcsvc/nis.h: Update copyright notice.
56113 * nis/rpcsvc/nis.x: Likewise.
56114 * nis/rpcsvc/nis_callback.h: Likewise.
56115 * nis/rpcsvc/nis_callback.x: Likewise.
56116 * nis/rpcsvc/nis_object.x: Likewise.
56117 * nis/rpcsvc/nis_tags.h: Likewise.
56118 * nis/rpcsvc/yp.h: Likewise.
56119 * nis/rpcsvc/yp.x: Likewise.
56120 * nis/rpcsvc/ypupd.h: Likewise.
56121 * nis/yp_xdr.c: Likewise.
56122 * nis/ypupdate_xdr.c: Likewise.
56123
2f3e3dc7
UD
56124 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56125 mainly the body of pmap_getport. Add parameters to specify timeouts.
56126 (pmap_getport): Use __libc_rpc_getport.
56127 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56128 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56129 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56130
f3dcc2f9
AS
561312010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56132
56133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56134 fanotify_mark.
56135
6d34eb5b
RM
561362010-08-27 Roland McGrath <roland@redhat.com>
56137
56138 * sysdeps/i386/i686/multiarch/Makefile
56139 (CFLAGS-varshift.c): New variable.
56140
9ea3de11
UD
561412010-08-27 Ulrich Drepper <drepper@redhat.com>
56142
c96d23fc
UD
56143 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56144 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56145
9ea3de11
UD
56146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56147
56148 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56149
623aac7f
L
561502010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56151
56152 * sysdeps/x86_64/strlen.S: Unroll the loop.
56153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56154 strlen-sse2 strlen-sse2-bsf.
56155 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56156 __strlen_no_bsf if bit_Slow_BSF is set.
56157 (__strlen_sse42): Removed.
56158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56159 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56160
8b2b7715
RM
561612010-08-25 Roland McGrath <roland@redhat.com>
56162
56163 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56164 * sysdeps/x86_64/multiarch/varshift.c: New file.
56165 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56166 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56167 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56168 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56169
e73015f2
L
561702010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56171
56172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56173 strlen-sse2 strlen-sse2-bsf.
56174 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56175 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56176 (__strlen_sse2): Removed.
56177 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56178 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56180 bit_Slow_BSF for Atom.
56181 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56182 (index_Slow_BSF): Define.
56183 (HAS_SLOW_BSF): Define.
56184
df24a73e
UD
561852010-08-25 Ulrich Drepper <drepper@redhat.com>
56186
56187 [BZ #10851]
56188 * resolv/res_init.c (__res_vinit): When no server address at all
56189 is given default to loopback.
56190
f2ac4868
RM
561912010-08-24 Roland McGrath <roland@redhat.com>
56192
09055553
RM
56193 * configure.in: Remove config-name.h generation.
56194 * configure: Regenerated.
56195 * config-name.in: File removed.
56196 * scripts/config-uname.sh: New file.
56197 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56198 ($(objdir)config-name.h): New target.
56199
f2ac4868
RM
56200 * sunrpc/rpc_parse.h: Avoid nested comment.
56201
73f27d5e
RH
562022010-08-24 Richard Henderson <rth@redhat.com>
56203 Ulrich Drepper <drepper@redhat.com>
56204 H.J. Lu <hongjiu.lu@intel.com>
56205
56206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56208 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56209 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56210 _mm_alignr_epi8 with _mm_loadu_si128.
56211 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56212 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56213 (__m128i_shift_right): Removed.
56214 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56215 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56216 * sysdeps/x86_64/multiarch/varshift.h: New file.
56217 * sysdeps/x86_64/multiarch/varshift.S: New file.
56218
84b9230c
MF
562192010-08-21 Mike Frysinger <vapier@gentoo.org>
56220
56221 * configure.in: Move assembler checks to before sysdep dir checking.
56222
9bbd0ddc
PB
562232010-08-20 Petr Baudis <pasky@suse.cz>
56224
56225 * LICENSES: Sync the sunrpc license.
56226
9da4bb31
UD
562272010-08-19 Ulrich Drepper <drepper@redhat.com>
56228
a7ab6ec8
UD
56229 * sunrpc/auth_des.c: Update copyright notice once again.
56230 * sunrpc/auth_none.c: Likewise.
56231 * sunrpc/auth_unix.c: Likewise.
56232 * sunrpc/authdes_prot.c: Likewise.
56233 * sunrpc/authuxprot.c: Likewise.
56234 * sunrpc/bindrsvprt.c: Likewise.
56235 * sunrpc/clnt_gen.c: Likewise.
56236 * sunrpc/clnt_perr.c: Likewise.
56237 * sunrpc/clnt_raw.c: Likewise.
56238 * sunrpc/clnt_simp.c: Likewise.
56239 * sunrpc/clnt_tcp.c: Likewise.
56240 * sunrpc/clnt_udp.c: Likewise.
56241 * sunrpc/clnt_unix.c: Likewise.
56242 * sunrpc/des_crypt.c: Likewise.
56243 * sunrpc/des_soft.c: Likewise.
56244 * sunrpc/get_myaddr.c: Likewise.
56245 * sunrpc/getrpcport.c: Likewise.
56246 * sunrpc/key_call.c: Likewise.
56247 * sunrpc/key_prot.c: Likewise.
56248 * sunrpc/openchild.c: Likewise.
56249 * sunrpc/pm_getmaps.c: Likewise.
56250 * sunrpc/pm_getport.c: Likewise.
56251 * sunrpc/pmap_clnt.c: Likewise.
56252 * sunrpc/pmap_prot.c: Likewise.
56253 * sunrpc/pmap_prot2.c: Likewise.
56254 * sunrpc/pmap_rmt.c: Likewise.
56255 * sunrpc/rpc/auth.h: Likewise.
56256 * sunrpc/rpc/auth_unix.h: Likewise.
56257 * sunrpc/rpc/clnt.h: Likewise.
56258 * sunrpc/rpc/des_crypt.h: Likewise.
56259 * sunrpc/rpc/key_prot.h: Likewise.
56260 * sunrpc/rpc/netdb.h: Likewise.
56261 * sunrpc/rpc/pmap_clnt.h: Likewise.
56262 * sunrpc/rpc/pmap_prot.h: Likewise.
56263 * sunrpc/rpc/pmap_rmt.h: Likewise.
56264 * sunrpc/rpc/rpc.h: Likewise.
56265 * sunrpc/rpc/rpc_des.h: Likewise.
56266 * sunrpc/rpc/rpc_msg.h: Likewise.
56267 * sunrpc/rpc/svc.h: Likewise.
56268 * sunrpc/rpc/svc_auth.h: Likewise.
56269 * sunrpc/rpc/types.h: Likewise.
56270 * sunrpc/rpc/xdr.h: Likewise.
56271 * sunrpc/rpc_clntout.c: Likewise.
56272 * sunrpc/rpc_cmsg.c: Likewise.
56273 * sunrpc/rpc_common.c: Likewise.
56274 * sunrpc/rpc_cout.c: Likewise.
56275 * sunrpc/rpc_dtable.c: Likewise.
56276 * sunrpc/rpc_hout.c: Likewise.
56277 * sunrpc/rpc_main.c: Likewise.
56278 * sunrpc/rpc_parse.c: Likewise.
56279 * sunrpc/rpc_parse.h: Likewise.
56280 * sunrpc/rpc_prot.c: Likewise.
56281 * sunrpc/rpc_sample.c: Likewise.
56282 * sunrpc/rpc_scan.c: Likewise.
56283 * sunrpc/rpc_scan.h: Likewise.
56284 * sunrpc/rpc_svcout.c: Likewise.
56285 * sunrpc/rpc_tblout.c: Likewise.
56286 * sunrpc/rpc_util.c: Likewise.
56287 * sunrpc/rpc_util.h: Likewise.
56288 * sunrpc/rpcinfo.c: Likewise.
56289 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56290 * sunrpc/rpcsvc/key_prot.x: Likewise.
56291 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56292 * sunrpc/rpcsvc/mount.x: Likewise.
56293 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56294 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56295 * sunrpc/rpcsvc/rex.x: Likewise.
56296 * sunrpc/rpcsvc/rstat.x: Likewise.
56297 * sunrpc/rpcsvc/rusers.x: Likewise.
56298 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56299 * sunrpc/rpcsvc/spray.x: Likewise.
56300 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56301 * sunrpc/rtime.c: Likewise.
56302 * sunrpc/svc.c: Likewise.
56303 * sunrpc/svc_auth.c: Likewise.
56304 * sunrpc/svc_authux.c: Likewise.
56305 * sunrpc/svc_raw.c: Likewise.
56306 * sunrpc/svc_run.c: Likewise.
56307 * sunrpc/svc_simple.c: Likewise.
56308 * sunrpc/svc_tcp.c: Likewise.
56309 * sunrpc/svc_udp.c: Likewise.
56310 * sunrpc/svc_unix.c: Likewise.
56311 * sunrpc/svcauth_des.c: Likewise.
56312 * sunrpc/xcrypt.c: Likewise.
56313 * sunrpc/xdr.c: Likewise.
56314 * sunrpc/xdr_array.c: Likewise.
56315 * sunrpc/xdr_float.c: Likewise.
56316 * sunrpc/xdr_mem.c: Likewise.
56317 * sunrpc/xdr_rec.c: Likewise.
56318 * sunrpc/xdr_ref.c: Likewise.
56319 * sunrpc/xdr_sizeof.c: Likewise.
56320 * sunrpc/xdr_stdio.c: Likewise.
56321
9da4bb31
UD
56322 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56323 handling.
56324
bdaa77bc
AS
563252010-08-19 Andreas Schwab <schwab@redhat.com>
56326
56327 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56328
fe2f79db
LM
563292010-08-19 Luis Machado <luisgpm@br.ibm.com>
56330
56331 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56333 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56334 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56335 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56336 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56337 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56338 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56339 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56340 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56341 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56342 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56343 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56344 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56345
b9b42ee0
AB
563462010-07-26 Anton Blanchard <anton@samba.org>
56347
56348 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56349 * malloc/arena.c (heap_trim): Likewise.
56350
1c06ba31
UD
563512010-08-16 Ulrich Drepper <drepper@redhat.com>
56352
56353 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56354 here. Not...
56355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56356 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56357
f8392f40
L
563582010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56359
56360 * sysdeps/i386/elf/Makefile: New file.
56361
3162f12e
AS
563622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56363
56364 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56365 from fanotify_init.
56366 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56367 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56368
28c90b2c
UD
563692010-08-15 Ulrich Drepper <drepper@redhat.com>
56370
56371 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56372 of strncasecmp_l.
1feccb6c 56373 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56374
ca6bb004
UD
563752010-08-14 Ulrich Drepper <drepper@redhat.com>
56376
e9f82e0d
UD
56377 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56378 strncase_l-nonascii.
56379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56380 Add strncase_l-ssse3.
56381 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56382 * sysdeps/x86_64/strcmp.S: Likewise.
56383 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56384 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56385 * sysdeps/x86_64/strncase.S: New file.
56386 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56387 * sysdeps/x86_64/strncase_l.S: New file.
56388 * string/Makefile (strop-tests): Add strncasecmp.
56389 * string/test-strncasecmp.c: New file.
56390
56391 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56392 warning.
56393
ca6bb004
UD
56394 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56395 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56396
052fa7b3
AS
563972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56398
56399 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56400
962dba78
UD
564012010-08-12 Ulrich Drepper <drepper@redhat.com>
56402
56403 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56404 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56405 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56406
bebff237
AM
564072010-05-01 Alan Modra <amodra@gmail.com>
56408
56409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56410 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56411 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56412 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56413 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56414 tidying. Don't tail-call __sigjmp_save for static lib.
56415 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56416 save location.
56417 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56418 (CALL_MCOUNT): Add eh info, and nop after bl.
56419 (TAIL_CALL_SYSCALL_ERROR): New macro.
56420 (PSEUDO_RET): Use it.
56421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56422 Correct save location of integer regs and cr.
56423 (_dl_profile_resolve): Correct cr save location. Delete nops
56424 after bl when SHARED. Reduce cfi size a little by better
56425 placement of cfi directives.
56426 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56427 make a stack frame. Instead use parm save area as a temp.
56428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56429 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56431 Don't make a stack frame for parent, use parm save area.
56432 Increase child stack frame to 112 bytes. Don't save unused reg,
56433 and adjust reg usage. Set up cfi on error recovery and
56434 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56436 (__makecontext): Add dummy nop after jump to exit.
56437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56438 Use correct parm save area and cr save, reduce stack frame.
56439 Correct cfi for possible PSEUDO_RET frame setup.
56440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56441 Branch to local label emitted by PSEUDO_RET rather than
56442 __syscall_error.
56443
02637374
AS
564442010-08-12 Andreas Schwab <schwab@redhat.com>
56445
56446 [BZ #11904]
56447 * locale/programs/locale.c (print_assignment): New function.
56448 (show_locale_vars): Use it.
56449
c3e2f19b
UD
564502010-08-11 Ulrich Drepper <drepper@redhat.com>
56451
3cdaa6ad
UD
56452 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56453 field.
56454 (struct statfs64): Likewise.
56455 (_STATFS_F_FLAGS): Define.
56456 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56457 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56458 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56459 (ST_VALID): Define locally.
56460 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56461 __statvfs_getflags, use the provided value.
56462 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56463 __ASSUME_STATFS_F_FLAGS.
56464
754f7da3
UD
56465 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56466
10b3bedc
UD
56467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56468 Add sys/fanotify.h.
56469 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56470 fanotify_mask for GLIBC_2.13.
56471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56472 fanotify_init and fanotify_mark.
56473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56474 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56475
c08fb0d7
UD
56476 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56477 Add prlimit.
56478 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56479 prlimit64 for GLIBC_2.13.
56480 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56481 prlimit64.
56482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56483 syscall.
56484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56486 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56487 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56489 add prlimit alias.
56490 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56491
15bac72b
UD
56492 [BZ #11903]
56493 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56494 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56495
c3e2f19b
UD
56496 * nss/Makefile: Add rules to build and run tst-nss-test1.
56497 * shlib-versions: Add entry for libnss_test1.
56498 * nss/nss_test1.c: New file.
56499 * nss/tst-nss-test1.c: New file.
56500
56501 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56502 (__nss_configure_lookup): Set appropriate entry in
56503 __nss_configure_lookup to true.
56504 * nss/nsswitch.h: Define enum with indeces of databases in
56505 databases and __nss_database_custom arrays. Declare
56506 __nss_database_custom.
56507 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56508 to avoid using nscd when custom rules are installed.
56509 * nss/getXXbyYY_r.c: Likewise.
56510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56511
56512 * nss/nss_files/files-parse.c: Whitespace fixes.
56513
f15ce4d8
UD
565142010-08-09 Ulrich Drepper <drepper@redhat.com>
56515
56516 [BZ #11883]
56517 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56518 * posix/fnmatch_loop.c: Likewise.
56519
d22e4cc9
AK
565202010-07-17 Andi Kleen <ak@linux.intel.com>
56521
56522 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56523 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56524 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56525 * Versions.def [GLIBC_2.13]: Add.
56526
805bc17d
UD
565272010-08-06 Ulrich Drepper <drepper@redhat.com>
56528
56529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56530 Also fail if tpwd after pwuid call is NULL.
56531
5a42321d
ST
565322010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56533
56534 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56535 when converting to ms.
56536
fd3ebeda
ST
565372010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56538
56539 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56540 EOPNOTSUPP errors with ENOTTY.
56541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56542 EOPNOTSUPP errors with ENOTTY.
56543
73507d3a
UD
565442010-07-31 Ulrich Drepper <drepper@redhat.com>
56545
56546 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56547 Add strcasecmp_l-ssse3.
56548 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56549 strcasecmp.
56550 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56551 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56552 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56553
fe36dd02
UD
565542010-07-30 Ulrich Drepper <drepper@redhat.com>
56555
66f6765a
UD
56556 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56557
42e08a54
UD
56558 * string/Makefile (strop-tests): Add strcasecmp.
56559 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56560 strcasecmp_l-nonascii.
56561 (gen-as-const-headers): Add locale-defines.sym.
56562 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56563 * sysdeps/x86_64/strcasecmp.S: New file.
56564 * sysdeps/x86_64/strcasecmp_l.S: New file.
56565 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56566 * sysdeps/x86_64/locale-defines.sym: New file.
56567 * string/test-strcasecmp.c: New file.
56568
fe36dd02
UD
56569 * string/test-strcasestr.c: Test both ends of the range of characters.
56570 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56571
48cbc0d6
RM
565722010-07-29 Roland McGrath <roland@redhat.com>
56573
76e6d6bc 56574 [BZ #11856]
48cbc0d6
RM
56575 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56576
880113d9
UD
565772010-07-27 Ulrich Drepper <drepper@redhat.com>
56578
56579 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56580 for ld.so.
56581
deb9cabb
AS
565822010-07-27 Andreas Schwab <schwab@redhat.com>
56583
56584 * manual/memory.texi (Malloc Tunable Parameters): Document
56585 M_PERTURB.
56586
1c7570ff
RM
565872010-07-26 Roland McGrath <roland@redhat.com>
56588
56589 [BZ #11840]
56590 * configure.in (-fgnu89-inline check): Set and substitute
56591 gnu89_inline, not libc_cv_gnu89_inline.
56592 * configure: Regenerated.
56593 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56594
24fb0f88
UD
565952010-07-26 Ulrich Drepper <drepper@redhat.com>
56596
56597 * string/test-strnlen.c: New file.
56598 * string/Makefile (strop-tests): Add strnlen.
56599 * string/tester.c (test_strnlen): Add a few more test cases.
56600 * string/tst-strlen.c: Better error reporting.
56601
56602 * sysdeps/x86_64/strnlen.S: New file.
56603
8e96b93a
UD
566042010-07-24 Ulrich Drepper <drepper@redhat.com>
56605
56606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56607 lower-latency instructions.
56608
dbc676d4
UD
566092010-07-23 Ulrich Drepper <drepper@redhat.com>
56610
56611 * string/test-strcasestr.c: New file.
56612 * string/test-strstr.c: New file.
56613 * string/Makefile (strop-tests): Add strstr and strcasestr.
56614 * string/str-two-way.h: Don't undefine MAX.
56615 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56616
f6a31e0e
AS
566172010-07-21 Andreas Schwab <schwab@redhat.com>
56618
56619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56620 strcasestr-nonascii.
56621 (CFLAGS-strcasestr-nonascii.c): Define.
56622 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56624 Remove unused attribute.
56625
5dbc3b6c
RM
566262010-07-20 Roland McGrath <roland@redhat.com>
56627
56628 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56629 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56630 ld.so.cache was broken. With it, there is no way to disable dsocaps
56631 like LD_HWCAP_MASK can disable hwcaps.
56632
23d101d8
EPM
566332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56634
56635 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56636
cc9f2e47
UD
566372010-07-16 Ulrich Drepper <drepper@redhat.com>
56638
56639 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56640 call in strcasestr.
56641 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56642 __strcasestr_sse42_nonascii.
56643 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56644 strcasestr-nonascii.c.
56645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56646
77c1b069
LM
566472010-06-15 Luis Machado <luisgpm@br.ibm.com>
56648
56649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56650 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56652 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56653
440566c3
UD
566542010-07-09 Ulrich Drepper <drepper@redhat.com>
56655
56656 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56657 fcntl.
56658
5be9d05d
AS
566592010-07-06 Andreas Schwab <schwab@redhat.com>
56660
c30b7ee2 56661 [BZ #11577]
5be9d05d
AS
56662 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56663 dl_signal_cerror.
56664
8a492a67
UD
566652010-07-06 Ulrich Drepper <drepper@redhat.com>
56666
56667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56668 _PC_PIPE_BUF using F_GETPIPE_SZ.
56669
713df3d5
RM
566702010-07-05 Roland McGrath <roland@redhat.com>
56671
56672 * manual/arith.texi (Rounding Functions): Fix rint description
56673 implicit in round description.
56674
702e8f14
UD
566752010-07-02 Ulrich Drepper <drepper@redhat.com>
56676
56677 * elf/Makefile: Fix linking for a few tests to make recent linker
56678 happy.
56679
52ed8be9
AS
566802010-06-30 Andreas Schwab <schwab@redhat.com>
56681
56682 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56683 $(common-objpfx)libc_nonshared.a.
56684
f47c9a11
LM
566852010-06-21 Luis Machado <luisgpm@br.ibm.com>
56686
56687 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56688 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56689 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56690 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56691 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56692 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56693 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56694 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56709 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56710 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56711 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56712 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56713 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56714 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56715 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56716 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56717 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56718 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56719 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56720 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56735
6fb8cbcb
L
567362010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56737
56738 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56739 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56740 * string/memmove.c (memmove): Renamed to ...
56741 (MEMMOVE): ...this. Default to memmove.
56742 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56743 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56744 (END_CHK): Define.
56745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56746 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56747 mempcpy-ssse3-back memmove-ssse3-back.
56748 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56751 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56752 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56753 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56754 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56755 * sysdeps/x86_64/multiarch/memmove.c: New file.
56756 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56757 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56758 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56759 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56762 Define.
56763 (index_Fast_Copy_Backward): Define.
56764 (HAS_ARCH_FEATURE): Define.
56765 (HAS_FAST_REP_STRING): Define.
56766 (HAS_FAST_COPY_BACKWARD): Define.
56767
4e733bac 567682010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56769
56770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56771 Restore proper fallback handling.
56772
63c4ed22
UD
567732010-06-19 Ulrich Drepper <drepper@redhat.com>
56774
ac2b484c
UD
56775 [BZ #11701]
56776 * posix/group_member.c (__group_member): Correct checking loop.
56777
63c4ed22
UD
56778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56779 OOM in getpwuid_r correctly. Return error number when the caller
56780 should return, otherwise -1.
56781 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56782 call returning > 0 value.
56783 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56784
765ade4b
AS
567852010-06-07 Andreas Schwab <schwab@redhat.com>
56786
56787 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56788 libc_nonshared.a from targets in modules-names.
56789
80da2e09
KS
567902010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56791
56792 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56793 requires it.
56794
158db122
LM
567952010-06-10 Luis Machado <luisgpm@br.ibm.com>
56796
56797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56799 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56801
caa78cf8
AS
568022010-06-02 Andreas Schwab <schwab@redhat.com>
56803
56804 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56805
b2ef2c01
UD
568062010-06-14 Ulrich Drepper <drepper@redhat.com>
56807
56808 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56809 and F_GETPIPE_SZ.
56810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56814 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56816
fbd643b6
RM
568172010-06-14 Roland McGrath <roland@redhat.com>
56818
56819 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56820
f32f2869
JJ
568212010-06-07 Jakub Jelinek <jakub@redhat.com>
56822
56823 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56824 __REDIRECT followed by __THROW.
56825 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56826 * posix/getopt.h (getopt): Likewise.
56827
2a50c078
EPM
568282010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56829
56830 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56831 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56832 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56833 in AT_FLAGS.
56834 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56835 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56836
eb5ad2eb
LM
568372010-05-28 Luis Machado <luisgpm@br.ibm.com>
56838
56839 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56840
3c88fe1e
L
568412010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56842
56843 [BZ #11640]
56844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56845 Properly check family and model.
56846
d2f73151
TY
568472010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56848
56849 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56850
ebd2e13d
LM
568512010-05-24 Luis Machado <luisgpm@br.ibm.com>
56852
56853 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56854
b32b8b45
UD
568552010-05-21 Ulrich Drepper <drepper@redhat.com>
56856
56857 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56858 symbol reference.
56859
9acbe24d
AS
568602010-05-19 Andreas Schwab <schwab@redhat.com>
56861
56862 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56863 symbol reference.
56864
f0ccf6ea
AS
568652010-05-21 Andreas Schwab <schwab@redhat.com>
56866
3d04ff3a
AS
56867 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56868 and internal_recvmmsg.
56869 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56870 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56871 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56872 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56873
f0ccf6ea
AS
56874 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56875 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56876 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56877
5b08ac57
AS
568782010-05-20 Andreas Schwab <schwab@redhat.com>
56879
56880 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56881
4828935d
LM
568822010-05-17 Luis Machado <luisgpm@br.ibm.com>
56883
56884 POWER7 optimizations.
56885 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56886 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56887
373d545e
UD
568882010-05-19 Ulrich Drepper <drepper@redhat.com>
56889
56890 * version.h: Update for 2.13 development version.
56891
21a2b1ae
AS
568922010-05-12 Andrew Stubbs <ams@codesourcery.com>
56893
56894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56895 exceptions. Return 0.
56896
3f7dcb2b
RM
568972010-05-07 Roland McGrath <roland@redhat.com>
56898
56899 * elf/ldconfig.c (main): Add a const.
56900
5f24d53a 569012010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56902
a160f8d8
UD
56903 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56904 (args_options): Add no-idn option.
56905 (ahosts_keys_int): Add idn_flags to ai_flags.
56906 (parse_option): Handle 'i' option to clear idn_flags.
56907
5f24d53a
UD
56908 * malloc/malloc.c (_int_free): Possible race in the most recently
56909 added check. Only act on the data if no current modification
56910 happened.
265bb1ce
UD
56911
56912See ChangeLog.17 for earlier changes.