]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Consolidate arena_lookup and arena_lock into a single arena_get
[thirdparty/glibc.git] / ChangeLog
CommitLineData
94c5a52a
SP
12015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4 arena_lock into a single arena_get.
5
8a35c3fe
CD
62015-02-17 Carlos O'Donell <carlos@redhat.com>
7
8 * dl-reloc.c: Inlucde libc-internal.h.
9 (_dl_try_allocate_static_tls): Call ALIGN_UP.
10 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
11 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13 (grow_heap): Likewise.
14 * malloc/malloc.c: Include libc-internal.h.
15 (do_check_malloc): Call powerof2.
16 (sysmalloc): Use pagesize. Call ALIGN_UP.
17 (systrim): Use pagesize.
18 (mremap_chunk): Use pagesize. Call ALIGN_UP.
19 (__libc_valloc): Use pagesize.
20 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21
1a2325c0
JM
222015-02-17 Joseph Myers <joseph@codesourcery.com>
23
24 [BZ #17991]
25 * include/sys/resource.h (__getrlimit64): Declare. Use
26 libc_hidden_proto.
27 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
30 getrlimit64.
31 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32 __getrlimit64.
33 [!getrlimit64] (getrlimit64): Define as weak alias of
34 __getrlimit64. Use libc_hidden_weak.
35 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36 using __getrlimit64 not __new_getrlimit64.
37 (__GI_getrlimit64): Likewise.
38 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39 Likewise.
40 (__GI_getrlimit64): Likewise.
41 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
42 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
43 (getrlimit): Add __getrlimit64 alias.
44 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
45 Likewise.
46 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
47 Remove variable.
48 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
49 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
50
8ae4bb5a
PP
512015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
52
53 * libio/fileops.c: Add missing sys/mman.h
54 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
55
18a218b7
JM
562015-02-17 Joseph Myers <joseph@codesourcery.com>
57
58 * manual/math.texi (Errors in Math Functions): Clarify goals
59 regarding inexact and underflow exceptions.
60
e72ad0ef
SE
612015-02-17 Steve Ellcey <sellcey@imgtec.com>
62
63 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
64 * sysdeps/mips/memset.S: Ditto.
65
2caa4099
SE
662015-02-17 Steve Ellcey <sellcey@imgtec.com>
67
68 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
69
f20bfc9b
SL
702015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
71
72 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
73 (__v1longjmp): Remove versioned symbol.
74 (__v1siglongjmp): Remove alias and versioned symbol.
75 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
76 (__v2siglongjmp): Likewise.
77
71c06b69
TR
782015-02-16 Torvald Riegel <triegel@redhat.com>
79
80 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
81
a9a05adb
MF
822015-02-16 Mike Frysinger <vapier@gentoo.org>
83
84 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
85
ce8fc784
JM
862015-02-16 Joseph Myers <joseph@codesourcery.com>
87
88 [BZ #17987]
89 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
90 zero result does not depend on the sign resulting from
91 subtraction.
92 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
93 Likewise.
94 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
95 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
96 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
97 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
98 * math/libm-test.inc (remquo_test_data): Add more tests.
99
0d7036bd
PE
1002015-02-16 Paul Eggert <eggert@cs.ucla.edu>
101
102 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
103 Problem reported by J William Piggott.
104
86c56b16
JM
1052015-02-16 Joseph Myers <joseph@codesourcery.com>
106
a820f9b3
JM
107 [BZ #17978]
108 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
109 products 4 * y and 2 * y where those would overflow.
110 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
111 Likewise.
112 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
113 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
115 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
116 * math/libm-test.inc (remquo_test_data): Add more tests.
117
be802953
JM
118 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
119
e5e72fe9
JM
120 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
121 [defined _COMPILING_NEWLIB].
122 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
123 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
124
86c56b16
JM
125 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
126 [!defined __mips_isa_rev || __mips_isa_rev < 6].
127
35264d14
TR
1282015-02-16 Torvald Riegel <triegel@redhat.com>
129
130 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
131 acquired.
132
6f49e32a
MF
1332015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
134
135 [BZ #17792]
136 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
137 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
138 HOST_STACK_END_ADDR): Likewise.
139
e525154e
SE
1402015-02-13 Steve Ellcey <sellcey@imgtec.com>
141
142 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
143 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
144 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
145
4ab770b7
RM
1462015-02-13 Roland McGrath <roland@hack.frob.com>
147
148 * sysdeps/generic/c++-types.data: New file.
149 * sysdeps/generic/ld.abilist: New file.
150 * sysdeps/generic/libBrokenLocale.abilist: New file.
151 * sysdeps/generic/libanl.abilist: New file.
152 * sysdeps/generic/libc.abilist: New file.
153 * sysdeps/generic/libcrypt.abilist: New file.
154 * sysdeps/generic/libdl.abilist: New file.
155 * sysdeps/generic/libm.abilist: New file.
156 * sysdeps/generic/libpthread.abilist: New file.
157 * sysdeps/generic/libresolv.abilist: New file.
158 * sysdeps/generic/librt.abilist: New file.
159
d9afe48d
JM
1602015-02-13 Joseph Myers <joseph@codesourcery.com>
161
162 [BZ #17569]
163 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
164 Compute absolute value of x as modified by fmod, not original
165 value of x.
166 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
167 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
168 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
169 RUN_TEST_ffI_f1_mod8.
170 (remquo_test_data): Add more tests.
171
3846188b
RM
1722015-02-13 Roland McGrath <roland@hack.frob.com>
173
174 * sysdeps/init_array/pt-crti.S: New file.
175
95c26233
JM
1762015-02-13 Joseph Myers <joseph@codesourcery.com>
177
178 [BZ #17967]
179 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
180 __builtin_fmaf instead of relying on contraction of a * b + c.
181
3f293d61
WP
1822015-02-12 J William Piggott <elseifthen@gmx.com>
183
184 [BZ #17969]
185 * manual/time.texi: correct the zoneinfo path in the TZ Variable
186 node.
187
e8bd5286
JM
1882015-02-12 Joseph Myers <joseph@codesourcery.com>
189
190 [BZ #17964]
191 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
192 __builtin_fma instead of relying on contraction of a * b + c.
193
04f5a636
RM
1942015-02-12 Roland McGrath <roland@hack.frob.com>
195
96a15749
RM
196 * Makeconfig (ASFLAGS): Add -Werror=undef.
197 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
198 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
199 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
200
04f5a636
RM
201 * Makeconfig (after-link): New variable.
202 (+link-pie, +link-pie-tests): Use it.
203 (+link-static, +link-static-tests): Likewise.
204 (+link, +link-tests): Likewise.
205 * Makerules (build-module, build-module-asneeded): Likewise.
206 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
207 Likewise.
208 * elf/Makefile ($(objpfx)ld.so): Likewise.
209
87a629c5
RS
2102015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
211
212 [BZ #17965]
213 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
214 both struct timeval and struct timespec.
215
03d95bd4
JM
2162015-02-12 Joseph Myers <joseph@codesourcery.com>
217
218 [BZ #16560]
219 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
220 and redefine.
221 (__ieee754_exp2l): Do not multiply small fractional parts by
222 M_LN2l.
223 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
224 small argument.
225 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
226 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
227 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
228 * math/auto-libm-test-in: Add more tests of exp2.
229 * math/auto-libm-test-out: Regenerated.
230
98408b95
RS
2312015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
232
233 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
234 unaligned path.
235
6f741503
AZ
2362015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
237
238 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
239 little endian.
240
2868e070
AS
2412015-02-12 Andreas Schwab <schwab@suse.de>
242
243 [BZ #15790]
244 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
245 Filter out elision flags from value returned in kind.
246 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
247 * nptl/tst-pthread-mutexattr.c: New file.
248
ebf27d12
ST
2492015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
250
251 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
252 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
253 into gnu-gnu, and update comment to refer to abi-tags.
254
d435569c
JM
2552015-02-11 Joseph Myers <joseph@codesourcery.com>
256
257 [BZ #15467]
258 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
259 (__sincos): Set errno to EDOM for infinite argument.
260 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
261 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
262 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
263 (__sincosl): Set errno to EDOM for infinite argument.
264 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
265 (__sincosl): Set errno to EDOM for infinite argument.
266 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
267 (__sincosl): Set errno to EDOM for infinite argument.
268 * math/libm-test.inc (sincos_test_data): Test errno setting.
269
d35273f2
LH
2702015-02-11 Leonhard Holz <leonhard.holz@web.de>
271
272 * string/strxfrm_l.c: Remove #define STRCMP.
273 * string/strcoll_l.c: Remove #define STRLEN.
274 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
275 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
276
306bc0d1
JM
2772015-02-10 Joseph Myers <joseph@codesourcery.com>
278
279 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
280 * sysdeps/mips/mips32/sfp-machine.h: ... here.
281 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
282 * sysdeps/mips/mips64/Makefile: ... here.
283 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
284 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
285 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
286 * sysdeps/mips/mips64/sfp-machine.h: ... here.
287 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
288 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
289 * sysdeps/mips/mips64/n64/Implies: Likewise.
290
92b67e8d
RM
2912015-02-10 Roland McGrath <roland@hack.frob.com>
292
293 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
294 <sys/time.h>, <string.h>, and <errno.h>.
295 (dest_offset, dest_address, value, zero): Remove unused variables.
296 (ldouble): Remove typedef.
297 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
298 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
299 1). Fix code style.
300 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
301 (check): Function removed.
302 (CHECK): New macro.
303 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
304 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
305 Don't call set_sigaction_FP and remove_sigaction_FP here.
306 (ldouble_test): Just use 'long double' as macro argument, no need for
307 the 'ldouble' typedef.
308 (do_test): Set up SIGFPE handler at start, using plain signal rather
309 than sigaction. Fix code style.
310
132a1328
EF
3112015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
312
313 [BZ #17949]
314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
315 jump label.
316
3001e54c
AZ
3172015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
318
bc0cdc49
AZ
319 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
320 * sysdeps/powerpc/powerpc32/configure: Regenerated.
321
83658961
AZ
322 * sysdeps/powerpc/configure.ac: Remove file.
323 * sysdeps/powerpc/configure: Likewise.
324
10169938
AZ
325 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
326 [sysdep_routines]: Remove wordcopy-power6 object.
327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
328 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
330 (__memmove_ppc32): Likewise.
331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
332 file.
333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
334 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
335 Remove preprocessor.
336
8548a53d
AZ
337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
338 [sysdep_routines]: Remove wide chars objects.
339 [wcsmbs]: New rule for wide char objects.
340
b2692114
AZ
341 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
342 Remove wordcopy-power6 obejct.
343 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
344 Use local call for wordcopy and memcpy symbols.
345 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
346 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
347 implementation for loader.
348 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
349
18e270aa
AZ
350 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
351 Remove wordcopy-power7 object.
352 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
353 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
354 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
355 (_wordcopy_fwd_dest_aligned): Likewise.
356 (_wordcopy_bwd_aligned): Likewise.
357 (_wordcopy_bwd_dest_aligned): Likewise.
358
6f0993a6
AZ
359 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
360 Rewrite to call __memmove_ppc instead of include default
361 implementation.
362
3001e54c
AZ
363 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
364 Remove wide chars objects.
365 [wcsmbs]: New rule for wide char objects.
366
59b61c82
AS
3672015-02-09 Andreas Schwab <schwab@suse.de>
368
369 [BZ #17912]
370 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
371 in terms of __O_DIRECTORY.
372
ebd7aede
ST
3732015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
374
375 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
376 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
377 call PTR_MANGLE.
378 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
379 PTR_DEMANGLE.
ebd7aede 380
3999d26e
PE
3812015-02-07 Paul Eggert <eggert@cs.ucla.edu>
382
383 Add ersatz _Static_assert on older C hosts
384 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
385 pre-C11 C platform that is not known to support _Static_assert.
386
e9a5bc1c
ST
3872015-02-07 Richard Braun <rbraun@sceen.net>
388
389 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
390 sigstate.
e86c5b64 391 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 392
e2049d17
ST
3932015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
394
395 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
396 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
397 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
398 instead of int.
399 * misc/fchflags.c (fchflags): Likewise.
400 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
401 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
402 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
403 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
404 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
405 Declare macros.
406 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
407 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
408 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
409 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
410 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
411 45.
a9a002fb
ST
412 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
413 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
414 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
415 MACH_RCV_TIMED_OUT.
f96ec27a
ST
416 * hurd/hurd/signal.h (_hurd_self_sigstate,
417 _hurd_critical_section_lock, _hurd_critical_section_unlock):
418 Explicit casts from void *.
4fc81a77 419 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 420 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 421
f05826f0
ST
422 [BZ #4719]
423 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
424 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
425 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
426 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
427 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
428 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
429
a5eb23de
ST
430 [BZ #17944]
431 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
432 duplicates ADDR->sun_path with sockaddr LEN limitation.
433 * sysdeps/mach/hurd/connect.c: Include <string.h>
434 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
435 * sysdeps/mach/hurd/sendmsg.c: Likewise.
436 * sysdeps/mach/hurd/sendto.c: Likewise.
437 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
438 implementing it by hand.
439
ac9e0e5e
RM
4402015-02-06 Roland McGrath <roland@hack.frob.com>
441
f8d1bb4c
RM
442 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
443 Use sfi_breg on ldr.
444 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
445 Likewise.
446
022f4812
RM
447 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
448 it's defined.
449 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
450 Test SIGSETXID only if it's defined.
451
1ac074e6
RM
452 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
453
f50ad78b
RM
454 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
455 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
456
9e7265f4
RM
457 * nptl/tst-align2.c: Moved ...
458 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
459 * nptl/Makefile (tests): Remove tst-align2.
460 * sysdeps/unix/sysv/linux/Makefile
461 [$(subdir) = nptl] (tests): Add tst-align-clone.
462 * nptl/tst-getpid1.c: Moved ...
463 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
464 * nptl/tst-getpid2.c: Moved ...
465 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
466 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
467 * sysdeps/unix/sysv/linux/Makefile
468 [$(subdir) = nptl] (tests): ... here.
469 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
470 * sysdeps/unix/sysv/linux/Makefile
471 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
472
62ad2abc
RM
473 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
474 Drop trailing \n from perror argument. Use return rather than exit.
475
cfa69b0b
RM
476 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
477 on [SA_SIGINFO].
478 * nptl/tst-cancel21.c (do_test): Likewise.
479 * debug/tst-backtrace6.c: Include <signal.h> first thing.
480 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
481 [!SA_SIGINFO]: Make it a stub test.
482
82727806
RM
483 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
484 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
485
da3a1594
RM
486 * posix/tst-getlogin.c: Move to ...
487 * login/tst-getlogin.c: ... here.
488 * posix/Makefile (tests): Move tst-getlogin to ...
489 * login/Makefile (tests): ... here.
490
b65c0ff9
RM
491 * libio/tst-atime.c (do_test): Move local variables SV and E
492 inside [ST_NOATIME] conditional.
493
56606ab3
RM
494 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
495
ebf7d6ee
RM
496 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
497
ca0e0675
RM
498 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
499 (wait_code): New function replaces macro.
500 Call nanosleep rather than syscall.
501
8c28bbc6
RM
502 * nptl/pt-system.c: Rewritten. Put everything under
503 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
504 Use IFUNC to redirect when possible.
505
ec2a88b3
RM
506 * nptl/pt-longjmp.c: Rewritten. Put everything under
507 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
508 Use IFUNC to redirect when possible.
509
beff1d13
RM
510 * nptl/pt-fork.c: Rewritten. Put everything under
511 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
512 Use IFUNC to redirect when possible.
513 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
514
ea02c6b8
RM
515 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
516 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
517 unconditionally nowadays. This included the only reference to
518 __vdso_clock_gettime that appears outside libc proper.
519 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
520 Remove version set (containing only __vdso_clock_gettime).
521 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
522 Add attribute_hidden.
523 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
524 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
525 libc_hidden_data_def.
526 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
528
a1309c2b
RM
529 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
530 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
531 setrpcent, and getrpcport to ...
532 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
533 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
534 getrpcbynumber_r, and getrpcent_r to ...
535 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
536 * inet/getrpcbyname.c: Moved ...
537 * sunrpc/getrpcbyname.c: ... here.
538 * inet/getrpcbyname_r.c: Moved ...
539 * sunrpc/getrpcbyname_r.c: ... here.
540 * inet/getrpcbynumber.c: Moved ...
541 * sunrpc/getrpcbynumber.c: ... here.
542 * inet/getrpcbynumber_r.c: Moved ...
543 * sunrpc/getrpcbynumber_r.c: ... here.
544 * inet/getrpcent.c: Moved ...
545 * sunrpc/getrpcent.c: ... here.
546 * inet/getrpcent_r.c: Moved ...
547 * sunrpc/getrpcent_r.c: ... here.
548 * inet/Makefile (routines): Move those to ...
549 * sunrpc/Makefile (routines): ... here.
550 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
551 the $(subdirs) list.
552 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
553 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
554 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
555 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
556
ac9e0e5e
RM
557 * elf/Makefile (routines): Include $(all-dl-routines), not just
558 $(dl-routines).
559 (rtld-routines): Likewise. Use = rather than :=.
560 * sysdeps/aarch64/Makefile [$(subdir) = elf]
561 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
562 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
563 * sysdeps/arm/Makefile: Likewise.
564 * sysdeps/i386/Makefile: Likewise.
565 * sysdeps/x86_64/Makefile: Likewise.
566 * sysdeps/hppa/Makefile [$(subdir) = elf]
567 (sysdep_routines, sysdep-rtld-routines): Don't add
568 $(sysdep-dl-routines) to these.
569 * sysdeps/ia64/Makefile: Likewise.
570 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
571 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
572 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
573 Don't add dl-static to these; sysdep-dl-routines alone is enough.
574 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
575 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
576 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
577 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
578 * sysdeps/powerpc/Makefile [$(subdir) = elf]
579 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
580 these; sysdep-dl-routines alone is enough.
581
639e42eb
JM
5822015-02-06 Joseph Myers <joseph@codesourcery.com>
583
1c7a4a51
JM
584 [BZ #17932]
585 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
586 where multiplication results in zero and third argument is finite
587 and nonzero.
588 * math/auto-libm-test-in: Add more tests of fma.
589 * math/auto-libm-test-out: Regenerated.
590
61f006c1
JM
591 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
592 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
593 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
594 (_FP_CMP_EQ): Likewise.
595 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
596
639e42eb
JM
597 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
598 extra argument CHECK_NAN. Redefine as wrapper around
599 _FP_EXTEND_CNAN.
600
3c0c543b
CD
6012015-02-06 Carlos O'Donell <carlos@systemhalted.org>
602
4e42b5b8
CD
603 * version.h (RELEASE): Set to "stable".
604 (VERSION): Set to "2.21"
605 * include/features.h (__GLIBC_MINOR__): Set to 21.
606
3c0c543b
CD
607 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
608
5bd80bfe 6092015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 610 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
611
612 [BZ #16618]
613 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
614 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
615 size in bytes. Store needed elements in wpmax. Use needed size
616 in bytes for extend_alloca.
617
3f823f48
CD
6182015-02-05 Carlos O'Donell <carlos@systemhalted.org>
619
04cb913d
CD
620 * manual/install.texi: Latest tested versions are GCC 4.9.2,
621 binutls 2.25, and texinfo 5.2.
622 * INSTALL: Regenerate.
623 * sysdeps/nios2/configure: Regenerate.
624 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
625 * manual/contrib.texi: Update.
626 * po/be.po: Update.
627 * po/bg.po: Update.
628 * po/ca.po: Update.
629 * po/cs.po: Update.
630 * po/da.po: Update.
631 * po/de.po: Update.
632 * po/el.po: Update.
633 * po/eo.po: Update.
634 * po/es.po: Update.
635 * po/fi.po: Update.
636 * po/fr.po: Update.
637 * po/gl.po: Update.
638 * po/hr.po: Update.
639 * po/hu.po: Update.
640 * po/ia.po: Update.
641 * po/id.po: Update.
642 * po/it.po: Update.
643 * po/ja.po: Update.
644 * po/ko.po: Update.
645 * po/lt.po: Update.
646 * po/nb.po: Update.
647 * po/nl.po: Update.
648 * po/pl.po: Update.
649 * po/pt_BR.po: Update.
650 * po/ru.po: Update.
651 * po/rw.po: Update.
652 * po/sk.po: Update.
653 * po/sl.po: Update.
654 * po/sv.po: Update.
655 * po/tr.po: Update.
656 * po/uk.po: Update.
657 * po/vi.po: Update.
658 * po/zh_CN.po: Update.
659 * po/zh_TW.po: Update.
660
3f823f48
CD
661 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
662 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
663 * sysdeps/hppa/dl-irel.h: Remove #warning.
664 * sysdeps/hppa/entry.h: Provide prototype for
665 __canonicalize_funcptr_for_compare and cast argument.
666 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
667 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
668 * sysdeps/hppa/sotruss-lib.c: New file.
669 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
670 (atomic_compare_and_exchange_val_acq): Use __typeof__.
671 (atomic_compare_and_exchange_bool_acq): Likewise.
672 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
673 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
674
675 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
676 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
677 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
678
34c56048
CLT
6792015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
680
681 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
682 called function in non-PIC case.
683
d4abeca5
DM
6842015-01-31 David S. Miller <davem@davemloft.net>
685
edac0a60
DM
686 * sysdeps/sparc/sparc32/bits/atomic.h
687 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
688 unlock not after it.
689 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
690 volatile register usage warnings from the compiler.
691
d4abeca5
DM
692 * sysdeps/sparc/nptl/sem_init.c: Delete.
693 * sysdeps/sparc/nptl/sem_post.c: Delete.
694 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
695 * sysdeps/sparc/nptl/sem_wait.c: Delete.
696 * sysdeps/sparc/sparc32/sem_init.c: New file.
697 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
698 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
699 padding explicitly initialized.
700 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
701 padding for in-semaphore spinlock.
702 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
703 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
704 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
705 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
706 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
707 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
708 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
709 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
710 version.
711 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
712 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
713
5f3d0b78
L
7142015-01-30 H.J. Lu <hongjiu.lu@intel.com>
715
716 [BZ #17801]
717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
718 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
719 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
720 New.
721 (index_AVX_Fast_Unaligned_Load): Likewise.
722 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
723 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
724 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
725 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
726 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
727 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
728 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
729 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
730 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
731
b658fdd8
AS
7322015-01-29 Andreas Schwab <schwab@suse.de>
733
734 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
735
3cb26316
SP
7362015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
737
738 [BZ #17892]
739 * nscd/nscd_stat.c (send_stats): Initialize DATA.
740
527de9e4
MS
7412015-01-28 Martin Sebor <msebor@redhat.com>
742
743 * math/README.libm-test: Clarify. Add "How to read the test output."
744
06991eb8
CM
7452015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
746
747 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
748 Define to 0.
749
df341342
JM
7502015-01-28 Joseph Myers <joseph@codesourcery.com>
751
752 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
753 (__HAVE_64B_ATOMICS): Define to 0.
754
08cee2a4
AZ
7552015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
756
d4d0ecb2
AZ
757 [BZ #17885]
758 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
759 value to set as new flag.
760
08cee2a4
AZ
761 [BZ #16576]
762 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
763 and use _ARCH_PPCSQ instead.
764 (__ieee754_sqrt): Likewise.
765 (__ieee754_sqrtf): Likewise.
766 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
767 _ARCH_PPCSQ is defined.
768 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
769 fsqrt instruction.
770 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
771 _ARCH_PPCSQ is defined.
772 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
773 fsqrts instruction.
774 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
775
5fe8e359
AK
7762015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
777
778 * iconv/loop.c: Suppress array out of bound warning caused by GCC
779 bug (GCC BZ #64739).
780
24bb7432
AS
7812015-01-25 Andreas Schwab <schwab@linux-m68k.org>
782
fa20da31
AS
783 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
784 Mark _retval as used.
785 (lll_futex_wake_unlock): Likewise.
786 (lll_futex_timed_wait_requeue_pi): Likewise.
787
45819cbc
AS
788 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
789 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
790 register variables.
791
403cc231
AS
792 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
793 libm_hidden_def.
794
24bb7432
AS
795 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
796 (__bswap_64): Mark as __always_inline.
797
9317ea65
B
7982015-01-25 Bram <bug_rh@spam.wizbit.be>
799
800 [BZ #15378]
801 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
802 when none of the search directories exist.
803
0e87343e
AZ
8042015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
805
bea58013
AZ
806 [BZ #17869]
807 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
808 power8 in .machine directive.
809
0e87343e
AZ
810 [BZ #17868]
811 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
812 set dependency from opd value.
813
ede0236c
L
8142015-01-23 H.J. Lu <hongjiu.lu@intel.com>
815
816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
817 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
818 architecture.
ede0236c 819
22971c35
L
8202015-01-23 H.J. Lu <hongjiu.lu@intel.com>
821
822 [BZ #17870]
823 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
824 with uint64_t.
825 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
826 (uint64_t) 1.
e0da28a1 827 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
828 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
829 Replace 1UL with (uint64_t) 1.
830 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
831 int with uint64_t.
832
da5bf245
RM
8332015-01-23 Roland McGrath <roland@hack.frob.com>
834
2ec2d703
RM
835 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
836 (if_freenameindex): Likewise.
837
da5bf245
RM
838 * resource/getrlimit64.c: Add missing libc_hidden_def.
839
d7423856
JM
8402015-01-22 Joseph Myers <joseph@codesourcery.com>
841
842 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
843 __label__.
844 (_FP_FMA): Likewise.
845 (_FP_TO_INT_ROUND): Likewise.
846 (_FP_FROM_INT): Likewise.
847
6b2ba95b
AZ
8482015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 [BZ #16418]
851 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
852 Make code racy and cancel safe.
853
ccdb048d
CD
8542015-01-21 Carlos O'Donell <carlos@redhat.com>
855
191220b3
CD
856 * sysdeps/arm/unwind-resume.h: Fix copyright year.
857 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
858 attribution.
859
0897c551
CD
860 * pwd/tst-getpw.c: Rewrite.
861
ccdb048d
CD
862 [BZ #17702]
863 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
864 (modules-names): Add moddummy1 and moddummy2.
865 ($(objpfx)tst-rec-dlopen): Define.
866 * dlfcn/moddummy1.c: New file.
867 * dlfcn/moddummy2.c: New file.
868 * dlfcn/tst-rec-dlopen.c: New file.
869 * elf/dl-cache.c (_dl_load_cache_lookup):
870 Return char*. Copy result with alloca/strcpy/strdup.
871 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
872 returns char*. Free cached. If not saving realname
873 free cached.
874 * elf/dl-open.c (dl_open_worker): Do not assert that
875 _r_debug->r_state is RT_CONSISTENT.
876 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
877 returns char*.
878
042e1521
CD
8792015-01-21 Torvald Riegel <triegel@redhat.com>
880 Carlos O'Donell <carlos@redhat.com>
881
882 [BZ #12674]
883 * nptl/sem_waitcommon.c: New file.
884 * nptl/sem_wait.c: Include sem_waitcommon.c.
885 (__sem_wait_cleanup, do_futex_wait): Remove.
886 (__new_sem_wait): Adapt.
887 (__new_sem_trywait): New function.
888 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
889 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
890 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
891 (sem_timedwait): Adapt.
892 * nptl/sem_post.c (__new_sem_post): Adapt.
893 (futex_wake): New function.
894 (__old_sem_post): Add release MO fence.
895 * nptl/sem_open.c (sem_open): Adapt.
896 * nptl/sem_init.c (__new_sem_init): Adapt.
897 (futex_private_if_supported): New function.
898 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
899 (__old_sem_getvalue): Add using previous code.
900 * sysdeps/nptl/internaltypes.h: Adapt.
901 * nptl/tst-sem13.c (do_test): Adapt.
902 * nptl/tst-sem11.c (main): Adapt.
903 * nptl/sem_trywait.c: Remove.
904 * nptl/DESIGN-sem.txt: Remove.
905 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
906 (gen-as-const-headers): Remove structsem.sym.
907 * nptl/structsem.sym: Remove.
908 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
909 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
910 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
911 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
912 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
913 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
914 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
915 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
916 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
917 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
918 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
919 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
920 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
921 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
922 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
923 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
924 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
925 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
926 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
927 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
928 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
929 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
930
fe0e85af
CD
9312015-01-20 Carlos O'Donell <carlos@redhat.com>
932
a8db092e
CD
933 * INSTALL: Regenerated.
934
fe0e85af
CD
935 * po/libc.pot: Regenerated.
936
522e6ee3
CLT
9372015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
938 Sandra Loosemore <sandra@codesourcery.com>
939 Andrew Jenner <andrew@codesourcery.com>
940 Joseph Myers <joseph@codesourcery.com>
941 Nathan Sidwell <nathan@codesourcery.com>
942
943 * NEWS: Mention new Nios II port.
944 * sysdeps/nios2/Implies: New file.
945 * sysdeps/nios2/Makefile: New file.
946 * sysdeps/nios2/Subdirs: New file.
947 * sysdeps/nios2/Versions: New file.
948 * sysdeps/nios2/__longjmp.S: New file.
949 * sysdeps/nios2/abort-instr.h: New file.
950 * sysdeps/nios2/backtrace.c: New file.
951 * sysdeps/nios2/bits/endian.h: New file.
952 * sysdeps/nios2/bits/fenv.h: New file.
953 * sysdeps/nios2/bits/link.h: New file.
954 * sysdeps/nios2/bits/setjmp.h: New file.
955 * sysdeps/nios2/bsd-_setjmp.S: New file.
956 * sysdeps/nios2/bsd-setjmp.S: New file.
957 * sysdeps/nios2/configure: New generated file.
958 * sysdeps/nios2/configure.ac: New file.
959 * sysdeps/nios2/crti.S: New file.
960 * sysdeps/nios2/crtn.S: New file.
961 * sysdeps/nios2/dl-init.c: New file.
962 * sysdeps/nios2/dl-machine.h: New file.
963 * sysdeps/nios2/dl-sysdep.h: New file.
964 * sysdeps/nios2/dl-tls.h: New file.
965 * sysdeps/nios2/dl-trampoline.S: New file.
966 * sysdeps/nios2/gccframe.h: New file.
967 * sysdeps/nios2/gmp-mparam.h: New file.
968 * sysdeps/nios2/jmpbuf-offsets.h: New file.
969 * sysdeps/nios2/jmpbuf-unwind.h: New file.
970 * sysdeps/nios2/ldsodefs.h: New file.
971 * sysdeps/nios2/libc-tls.c: New file.
972 * sysdeps/nios2/libm-test-ulps: New file.
973 * sysdeps/nios2/machine-gmon.h: New file.
974 * sysdeps/nios2/math-tests.h: New file.
975 * sysdeps/nios2/math_private.h: New file.
976 * sysdeps/nios2/memusage.h: New file.
977 * sysdeps/nios2/nptl/Makefile: New file.
978 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
979 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
980 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
981 * sysdeps/nios2/nptl/pthreaddef.h: New file.
982 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
983 * sysdeps/nios2/nptl/tls.h: New file.
984 * sysdeps/nios2/preconfigure: New file.
985 * sysdeps/nios2/s_fma.c: New file.
986 * sysdeps/nios2/s_fmaf.c: New file.
987 * sysdeps/nios2/setjmp.S: New file.
988 * sysdeps/nios2/sfp-machine.h: New file.
989 * sysdeps/nios2/sotruss-lib.c: New file.
990 * sysdeps/nios2/stackguard-macros.h: New file.
991 * sysdeps/nios2/stackinfo.h: New file.
992 * sysdeps/nios2/start.S: New file.
993 * sysdeps/nios2/sysdep.h: New file.
994 * sysdeps/nios2/tls-macros.h: New file.
995 * sysdeps/nios2/tst-audit.h: New file.
996 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
997 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
998 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
999 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1000 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1001 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1002 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1003 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1004 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1005 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1006 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1007 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1008 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1009 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1010 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1011 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1012 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1013 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1014 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1015 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1016 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1017 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1018 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1019 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1020 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1021 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1022 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1023 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1024 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1025 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1026 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1027 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1028 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1029 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1030 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1031 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1032 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1033 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1034 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1035 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1036 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1037 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1038 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1039 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1040
026eb207
SL
10412015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1042
1043 [BZ #17844]
1044 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1045 (getutent): Use weak_alias in non SHARED case
1046 and default_symbol_version in SHARED case.
1047 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1048 (getutent_r, pututline): Likewise.
1049 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1050 (getutid): Likewise.
1051 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1052 (getutid_r): Likewise.
1053 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1054 (getutline): Likewise.
1055 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1056 (getutline_r): Likewise.
1057 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1058 (updwtmp): Likewise.
1059
1d532483
SL
10602015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1061
1062 [BZ #17848]
1063 * sysdeps/s390/s390-32/memcmp.S
1064 (memcmp_g5): Rename to __memcmp_g5.
1065 * sysdeps/s390/s390-32/memcpy.S
1066 (memcpy_g5): Rename to __memcpy_g5.
1067 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1068 (memcpy_mvcle) Rename to __memcpy_mvcle.
1069 * sysdeps/s390/s390-32/memset.S
1070 (memset_g5): Rename to __memset_g5.
1071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1072 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1073 and use prefixed functions.
1074 * sysdeps/s390/s390-32/multiarch/memcmp.S
1075 (memcmp_z196): Rename to __memcmp_z196.
1076 (memcmp_z10): Rename to __memcmp_z10.
1077 (memcmp): Set alias to __memcmp_g5.
1078 (bcmp): Set alias to __memcmp_g5.
1079 * sysdeps/s390/s390-32/multiarch/memcpy.S
1080 (memcpy_z196): Rename to __memcpy_z196.
1081 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1082 (memcpy_z10): Rename to __memcpy_z10.
1083 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1084 (memcpy): Set alias to __memcpy_g5.
1085 * sysdeps/s390/s390-32/multiarch/memset.S
1086 (memset_z196): Rename to __memset_z196.
1087 Jump to __memset_mvcle instead of memset_mvcle.
1088 (memset_z10): Rename to __memset_z10.
1089 Jump to __memset_mvcle instead of memset_mvcle.
1090 (memset_mvcle) Rename to __memset_mvcle.
1091 (memset): Set alias to __memset_g5.
1092 * sysdeps/s390/s390-64/memcmp.S
1093 (memcmp_z900): Rename to __memcmp_z900.
1094 * sysdeps/s390/s390-64/memcpy.S
1095 (memcpy_z900): Rename to __memcpy_z900.
1096 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1097 (memcpy_mvcle) Rename to __memcpy_mvcle.
1098 * sysdeps/s390/s390-64/memset.S
1099 (memset_z900): Rename to __memset_z900.
1100 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1101 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1102 and use prefixed functions.
1103 * sysdeps/s390/s390-64/multiarch/memcmp.S
1104 (memcmp_z196): Rename to __memcmp_z196.
1105 (memcmp_z10): Rename to __memcmp_z10.
1106 (memcmp): Set alias to __memcmp_z900.
1107 (bcmp): Set alias to __memcmp_z900.
1108 * sysdeps/s390/s390-64/multiarch/memcpy.S
1109 (memcpy_z196): Rename to __memcpy_z196.
1110 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1111 (memcpy_z10): Rename to __memcpy_z10.
1112 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1113 (memcpy): Set alias to __memcpy_z900.
1114 * sysdeps/s390/s390-64/multiarch/memset.S
1115 (memset_z196): Rename to __memset_z196.
1116 Jump to __memset_mvcle instead of memset_mvcle.
1117 (memset_z10): Rename to __memset_z10.
1118 Jump to __memset_mvcle instead of memset_mvcle.
1119 (memset_mvcle) Rename to __memset_mvcle.
1120 (memset): Set alias to __memset_z900.
1121
53fbd169
JM
11222015-01-14 Joseph Myers <joseph@codesourcery.com>
1123
1124 [BZ #17748]
1125 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1126 __fesetenv instead of fesetenv.
1127
d639a363
SP
11282015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1129
1130 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1131 macro.
1132
d3b00f46
AZ
11332015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1134
ce6615c9
AZ
1135 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1136 regression on LE.
1137
d3b00f46
AZ
1138 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1139 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1141 strncmp-power8 object.
1142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1143 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1144 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1145 * NEWS: Update.
1146
72607db0
RS
11472015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1148 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1149
1150 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1151 trailing byte check.
1152
54dc5461
DM
11532015-01-13 David S. Miller <davem@davemloft.net>
1154
1155 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1156
1c6e6f23
RM
11572015-01-13 Roland McGrath <roland@hack.frob.com>
1158
1159 * login/logout.c (logout): Use memset rather than bzero.
1160 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1161 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1162 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1163 (_gethtbyaddr): Likewise.
1164 * locale/programs/simple-hash.c (bcopy): Macro removed.
1165
96d6fd6c
AZ
11662015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1167
8bedcb5f
AZ
1168 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1169 Add strcmp-power8 object.
1170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1171 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1172 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1173 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1174 __strcmp_power8 implementation.
1175 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1176 * NEWS: Update.
1177
f06a4faf
AZ
1178 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1179 Add strncpy-power8 and stpncpy-power8 objects.
1180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1181 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1182 implementations.
1183 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1184 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1185 __stpncpy_power8 implementation.
1186 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1187 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1188 __strncpy_power8 implementation.
1189 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1190 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1191 * NEWS: Update.
1192
9f2f36e5
AZ
1193 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1195 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1196
96d6fd6c 1197 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1198 strncat-power8 object.
1199 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1200 __strcat_power8 implementation.
1201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1202 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1203 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1204 optimized strcat for power8.
1205
1206 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1207 strcpy-power8 and stpcpy-power8 objects.
1208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1209 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1210 implementations.
1211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1212 multiarch stpcpy implementation for POWER8.
1213 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1214 multiarch strcpy implementation for POWER8.
1215 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1216 __strcpy_power8 function.
1217 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1218 stpcpy for POWER8.
1219 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1220 strcpy for POWER8.
1221 * NEWS: Update.
1222
0f9e5854
LH
12232015-01-13 Leonhard Holz <leonhard.holz@web.de>
1224
1225 [BZ #16009]
1226 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1227 weights and rules. Use do_xfrm_cached if data fits in cache,
1228 do_xfrm otherwise. Moved former main loop to...
1229 * (do_xfrm_cached): New function.
1230 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1231 find_idx, find_position and stack_push.
1232 * (find_idx): New function.
1233 * (find_position): Likewise.
1234 * localedata/sort-test.sh: Added test run for do_xfrm.
1235 * localedata/xfrm-test.c (main): Added command line option
1236 -nocache to run the test with strings that are too large for
1237 the STRXFRM cache.
1238
c60ec0e0
TR
12392015-01-13 Torvald Riegel <triegel@redhat.com>
1240
1241 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1242 variable to lll_futex_wake call, not the value itself.
1243
34e93d6c
JM
12442015-01-12 Joseph Myers <joseph@codesourcery.com>
1245
5a9e4c09
JM
1246 [BZ #17803]
1247 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1248 twom64. Adjust value to 0x1p-64L.
1249 (__scalblnl): Only return standard underflowing result for K <=
1250 -64 not K <= -63; adjust exponent for underflowing result by 64
1251 not 63.
1252 * math/libm-test.inc (scalbn_test_data): Add more tests.
1253 (scalbln_test_data): Likewise.
1254
34e93d6c
JM
1255 [BZ #17834]
1256 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1257 0x1p63L.
1258 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1259 not HX.
1260 * math/libm-test.inc (scalbn_test_data): Add more tests.
1261 (scalbln_test_data): Likewise.
1262
ca677d3c
AZ
12632015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1264 Stefani Seibold <stefani@seibold.net>
1265
1266 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1267 (sysdep_routines): Add dl-vdso here, ...
1268 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1269 (sysdep_routines): ... not here.
1270 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1271 fallback when vDSO is not presented.
1272 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1273 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1274 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1275 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1276 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1277 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1278 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1279 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1280 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1282 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1283 fallback configurable symbol when vDSO is not available.
1284 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1285 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1286 be able to redefine fallback symbol when vDSO is not available.
1287 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1288 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1289
49a9f6ab 12902015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1291
56cf2763
AZ
1292 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1293 (TLS_INIT_TP): Add tm_capable initialization.
1294 (TLS_DEFINE_INIT_TP): Likewise.
1295 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1296 TCB.
1297 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1298 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1299 calculation.
1300 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1301 transactoion is lock elision is built and TCB tm_capable is set.
1302 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1304 (INTERNAL_SYSCALL_NCS): Likewise.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1306 (INTERNAL_SYSCALL_NCS): Likewise.
1307 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1308
4b45943a
AZ
1309 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1310 for powerpc.
1311 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1312 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1313 and remove it for 32 bits case.
1314 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1316 initialization.
1317 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1318 Disable lock elision with rdlocks if elision is not available.
1319
8d2c0a59
AZ
1320 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1321 (sysdep_routines): Add lock elision objects.
1322 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1323 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1324 [pthread_mutex_t] (__elision): Add field.
1325 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1326 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1327 elision definitions for powerpc.
1328 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1329 implementation of lock elision for powerpc.
1330 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1331 implementation of timed lock elision for powerpc.
1332 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1333 implementation of trylock with lock elision for powerpc.
1334 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1335 implementaion of unlock for lock elision for powerpc.
1336 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1337 automatic enable lock elision for mutexes.
1338 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1339 transaction execution definitions for powerpc.
1340 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1341 definitions.
1342 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1343 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1344 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1345 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1346 * NEWS: Update.
1347
bc0ed9f7
RM
13482015-01-09 Roland McGrath <roland@hack.frob.com>
1349
1350 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1351 for #include of <shm-directory.h>.
1352
585d9c18
CLT
13532015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1354
1355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1356 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1357
aee6626c
MF
13582015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1359
1360 [BZ #17791]
1361 * NEWS: Mention bug fix.
1362 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1363 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1364 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1365
9e560f48
TR
13662015-01-09 Torvald Riegel <triegel@redhat.com>
1367
1368 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1369
e1cfbd0c
TR
13702015-01-09 Torvald Riegel <triegel@redhat.com>
1371
1372 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1373
cf71e44f
DH
13742015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1375
1376 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1377 pointer and cast to uintptr_t.
1378
b360ee62
DH
13792015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1380
1381 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1382 removed.
1383 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1384
caff764e
DH
13852015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1386
1387 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1388 of 0.
1389
59ff172f
RM
13902015-01-08 Roland McGrath <roland@hack.frob.com>
1391
c97d27f1
RM
1392 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1393 <nptl/pthreadP.h> instead.
1394 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1395
08734ccd
RM
1396 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1397 already defined.
1398 [__SIGRTMIN] (init): Function removed.
1399 [__SIGRTMIN] (initialized): Variable removed.
1400 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1401 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1402 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1403 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1404 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1405 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1406 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1407 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1408 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1409 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1410 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1411 * sysdeps/nptl/allocrtsig.c: New file.
1412 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1413 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1414 * sysdeps/generic/testrtsig.h: File removed.
1415
7b052e33
RM
1416 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1417 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1418
cc40d25e
RM
1419 * nptl/nptl-init.c (pthread_functions): Conditionalize
1420 .ptr__nptl_setxid initialization on [SIGSETXID].
1421
9287adf0
RM
1422 * sysdeps/nptl/sys/procfs.h: New file.
1423 * nptl_db/Makefile (headers): Add it.
1424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1425
59ff172f
RM
1426 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1427 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1428 * nptl/pthread_attr_setaffinity.c: Include it.
1429 * nptl/pthread_setattr_default_np.c: Likewise.
1430 * nptl/check-cpuset.h: New file.
1431
b9205857
RH
14322015-01-08 Richard Henderson <rth@redhat.com>
1433
1434 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1435 (CFLAGS-tst-execstack-prog.c): Likewise.
1436 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1437
1a0a8d15
CLT
14382015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1439 Sandra Loosemore <sandra@codesourcery.com>
1440 Andrew Jenner <andrew@codesourcery.com>
1441 Joseph Myers <joseph@codesourcery.com>
1442 Nathan Sidwell <nathan@codesourcery.com>
1443
1444 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1445 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1446 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1447 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1448 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1449 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1450 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1451 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1452 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1453 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1454 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1455 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1456 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1457 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1458 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1459 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1460 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1461
dd6e8af6
AZ
14622015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1463
1464 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1465 timespec struct member in syscall macro.
1466 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1467 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1468 first timeval struct member in syscall macro.
1469 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1470
8116321f
JM
14712015-01-07 Joseph Myers <joseph@codesourcery.com>
1472
1473 [BZ #17748]
1474 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1475 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1476 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1477 __feupdateenv and define as weak alias of __feupdateenv. Use
1478 libm_hidden_weak.
1479 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1480 libm_hidden_def.
1481 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1482 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1483 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1484 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1485 libm_hidden_def.
1486 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1487 __feupdateenv and define as weak alias of __feupdateenv. Use
1488 libm_hidden_weak.
1489 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1490 libm_hidden_def.
1491 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1492 __feupdateenv and define as weak alias of __feupdateenv. Use
1493 libm_hidden_weak.
1494 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1495 libm_hidden_def.
1496 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1497 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1498 (__feupdateenv): Likewise.
1499 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1500 __feupdateenv and define as weak alias of __feupdateenv. Use
1501 libm_hidden_weak.
1502 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1503 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1504 libm_hidden_def.
1505 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1506 function.
1507 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1508 libm_hidden_def.
1509 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1510 __feupdateenv instead of feupdateenv.
1511 (default_libc_feupdateenv_test): Likewise.
1512 (libc_feresetround_ctx): Likewise.
1513
882dfe18
AZ
15142015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1517 prototype.
1518
39a12f8d
CM
15192015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1520
1521 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1522 COLL_SYM in a couple of places to avoid uninitialized variable
1523 wanings on tilegx gcc 4.8.2.
1524
dc400d7b
RE
15252015-01-07 Richard Earnshaw <rearnsha@arm.com>
1526
1527 * sysdeps/aarch64/strcpy.S: New file.
1528 * sysdeps/aarch64/stpcpy.S: New file.
1529 * NEWS: Updated.
1530
ec582ca0
RE
15312015-01-07 Richard Earnshaw <rearnsha@arm.com>
1532
1533 * sysdeps/aarch64/strrchr.S: New file.
1534 * NEWS: Updated.
1535
d5b1c5ed
EB
15362015-01-07 Eric Biggers <ebiggers3@gmail.com>
1537
1538 [BZ #17658]
1539 * stdlib/setenv.c: Fix memory leak when setting large,
1540 duplicate string.
1541
fb87ee96
VN
15422015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1543
60f046a8 1544 [BZ #17273]
fb87ee96
VN
1545 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1546 and tabs from buffer before parsing fstab entry.
1547 * misc/tst-mntent.c (main): Add test for mount entry with
1548 trailing spaces and tabs.
1549
cd42798a
JM
15502015-01-06 Joseph Myers <joseph@codesourcery.com>
1551
01238691
JM
1552 [BZ #17748]
1553 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1554 * math/fesetround.c (fesetround): Rename to __fesetround and
1555 define as weak alias of __fesetround. Use libm_hidden_weak.
1556 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1557 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1558 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1559 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1560 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1561 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1562 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1563 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1564 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1565 __fesetround_inline.
1566 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1567 __fesetround_inline instead of __fesetround.
1568 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1569 __fesetround and define as weak alias of __fesetround. Use
1570 libm_hidden_weak. Call __fesetround_inline instead of
1571 __fesetround.
1572 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1573 __fesetround and define as weak alias of __fesetround. Use
1574 libm_hidden_weak.
1575 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1576 Likewise.
1577 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1578 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1579 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1580 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1581 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1582 __fesetround and define as weak alias of __fesetround. Use
1583 libm_hidden_weak.
1584 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1585 __fesetround instead of fesetround.
1586 (default_libc_feholdexcept_setround): Likewise.
1587 (libc_feholdsetround_ctx): Likewise.
1588 (libc_feholdsetround_noex_ctx): Likewise.
1589
cd42798a
JM
1590 [BZ #17748]
1591 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1592 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1593 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1594 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1595 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1596 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1597 define as weak alias of __fesetenv. Use libm_hidden_weak.
1598 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1599 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1600 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1601 define as weak alias of __fesetenv. Use libm_hidden_weak.
1602 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1603 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1604 define as weak alias of __fesetenv. Use libm_hidden_weak.
1605 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1606 libm_hidden_def.
1607 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1608 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1609 Likewise.
1610 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1611 define as weak alias of __fesetenv. Use libm_hidden_weak.
1612 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1613 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1614 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1615 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1616 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1617 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1618 __fesetenv instead of fesetenv.
1619 (libc_feresetround_noex_ctx): Likewise.
1620 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1621 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1622 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1623 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1624 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1625 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1626 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1627 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1628 (__feupdateenv): Likewise.
1629 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1630 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1631 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1632 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1633
38949026
AJ
16342015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1635
1cf98e27 1636 [BZ #17806]
38949026
AJ
1637 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1638 addresses have been freed.
1639
5fe55e9c
AJ
16402015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1641
1642 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1643 and nservall.
1644
dc8ab018
OB
16452015-01-06 Ondřej Bílka <neleai@seznam.cz>
1646
1647 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1648 Clean up check_pf allocation pattern. addresses
1649
14bb4e57
AZ
16502015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1653 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1654 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1655 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1656 * nptl/pthread_join.c (pthread_join): Likewise.
1657 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1658 * sysdeps/posix/waitid.c (__waitid): Likewise.
1659 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1660 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1661 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1662 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1663 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1664 Likewise.
1665 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1666 (__libc_pread64): Likewise.
1667 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1668 (__libc_pwrite): Likewise.
1669 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1670 (__libc_pwrite64): Likewsie.
1671 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1672 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1673 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1674 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1675 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1676 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1677 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1679 Likewise.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1681 (__libc_pread64): Likewise.
1682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1685 (__libc_pwrite64): Likewise.
1686 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1687 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1688 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1689 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1690 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1691 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1692 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1693 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1694 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1695 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1696 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1697 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1698 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1699 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1700 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1702 Likewise.
1703
10a5e112
AS
17042015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1705
1706 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1707 (CFLAGS-test-double.c): Likewise.
1708 (CFLAGS-test-ldouble.c): Likewise.
1709 (CPPFLAGS-test-ifloat.c): Likewise.
1710 (CPPFLAGS-test-idouble.c): Likewise.
1711 (CPPFLAGS-test-ildoubl.c): Likewise.
1712 (CFLAGS-test-test-fenv.c): Remove variable.
1713 (CFLAGS-test-misc.c): Likewise.
1714
57ada0e7
L
17152015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1716
1717 [BZ #17797]
1718 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1719 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1720 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1721 CLOCKS_PER_SEC == 1000000.
1722 * time/clocktest.c (main): Replace %ld with %jd and cast to
1723 intmax_t.
1724
46abb64d
RM
17252015-01-05 Roland McGrath <roland@hack.frob.com>
1726
1727 * sysdeps/generic/unwind-resume.h: New file.
1728 * sysdeps/gnu/unwind-resume.c: Include it.
1729 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1730 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1731 argument list.
1732 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1733 global rather than static.
1734 (_Unwind_Resume): Update user.
1735 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1736 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1737 rather than static. Add __attribute__ ((cold)).
1738 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1739 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1740 * sysdeps/arm/arm-unwind-resume.S: New file.
1741 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1742 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1743 * sysdeps/arm/Makefile [$(subdir) = csu]
1744 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1745 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1746 Add rt-arm-unwind-resume.
1747 [$(subdir) = nptl]
1748 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1749 Add pt-arm-unwind-resume.
1750 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1751 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1752
ef9faf13
JM
17532015-01-05 Joseph Myers <joseph@codesourcery.com>
1754
1755 [BZ #17748]
1756 * include/fenv.h (__feholdexcept): Declare. Use
1757 libm_hidden_proto.
1758 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1759 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1760 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1761 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1762 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1763 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1764 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1765 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1766 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1767 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1768 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1769 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1770 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1771 (feholdexcept): Likewise.
1772 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1773 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1774 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1775 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1776 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1777 __feholdexcept instead of feholdexcept.
1778 (default_libc_feholdexcept_setround): Likewise.
1779
295a453e
SE
17802015-01-05 Steve Ellcey <sellcey@imgtec.com>
1781
1782 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1783 to avoid using stl/str to align destination.
1784
882c4b9f
SE
17852015-01-05 Steve Ellcey <sellcey@imgtec.com>
1786
1787 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1788
ac4c11f5
JM
17892015-01-05 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #17796]
1792 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1793 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1794 Define as weak alias not strong alias.
1795
03403e30
SE
17962015-01-05 Steve Ellcey <sellcey@imgtec.com>
1797
1798 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1799 bltzal with addiupc.
1800 (RTLD_START): Ditto.
1801
1dca195e
CM
18022015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1803
00b8b9ba
SP
1804 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1805 for __vdso_* functions in declarations.
1806 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1807 definitions.
1808 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1809 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1810
1dca195e
CM
1811 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1812 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1813 function with cast from llround().
1814 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1815 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1816 Define.
1817
a287953a
JM
18182015-01-05 Joseph Myers <joseph@codesourcery.com>
1819
ab70da77
JM
1820 [BZ #17793]
1821 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1822 Define as weak alias not strong alias.
1823
b8986484
JM
1824 [BZ #17635]
1825 * ctype/ctype-c99.c: New file. isblank implementation moved from
1826 ...
1827 * ctype/ctype-extn.c: ... here.
1828 (__isblank_l): Move to ...
1829 * ctype/ctype-c99_l.c: ... here. New file.
1830 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1831 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1832 Remove variable.
1833 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1834 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1835 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1836 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1837 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1838
a287953a
JM
1839 [BZ #17777]
1840 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1841 (posix_fadvise64): Define as weak alias not strong alias.
1842 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1843 (posix_fallocate64): Likewise.
1844 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1845 Remove variable.
1846 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1847 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1848 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1849 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1850 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1851
b1efe3bb
MF
18522015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1853
1854 [BZ #16191]
1855 * NEWS: Mention bug fix.
1856 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1857 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1858 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1859 (HOST_STACK_END_ADDR): Likewise.
1860
9706dc5f
JM
18612015-01-02 Joseph Myers <joseph@codesourcery.com>
1862
b93c2205
JM
1863 [BZ #17748]
1864 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1865 * math/fegetround.c (fegetround): Rename to __fegetround and
1866 define as weak alias of __fegetround. Use libm_hidden_weak.
1867 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1868 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1869 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1870 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1871 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1872 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1873 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1874 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1875 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1876 Undefine after rather than before function definition; use
1877 parentheses around function name in definition.
1878 (__fegetround): Also undefine macro after function definition.
1879 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1880 __fegetround and define as weak alias of __fegetround. Use
1881 libm_hidden_weak. Do not undefine as macro.
1882 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1883 Likewise.
1884 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1885 __fegetround and define as weak alias of __fegetround. Use
1886 libm_hidden_weak.
1887 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1888 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1889 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1890 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1891 __fegetround and define as weak alias of __fegetround. Use
1892 libm_hidden_weak.
1893 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1894 __fegetround instead of fegetround.
1895
253a59cc
JM
1896 [BZ #17782]
1897 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1898 Condition macro definition on [__USE_MISC].
1899
27dae011
JM
1900 [BZ #17781]
1901 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1902 (struct sigaction): Change type of sa_flags field to int.
1903
172019c0
JM
1904 [BZ #17780]
1905 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1906 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1907 __glibc_reserved0.
1908
522ad1d6
JM
1909 * nptl/version.c (banner): Use single year in copyright notice.
1910
9706dc5f
JM
1911 * NEWS: Update copyright dates.
1912 * catgets/gencat.c (print_version): Likewise.
1913 * csu/version.c (banner): Likewise.
1914 * debug/catchsegv.sh: Likewise.
1915 * debug/pcprofiledump.c (print_version): Likewise.
1916 * debug/xtrace.sh (do_version): Likewise.
1917 * elf/ldconfig.c (print_version): Likewise.
1918 * elf/ldd.bash.in: Likewise.
1919 * elf/pldd.c (print_version): Likewise.
1920 * elf/sotruss.sh: Likewise.
1921 * elf/sprof.c (print_version): Likewise.
1922 * iconv/iconv_prog.c (print_version): Likewise.
1923 * iconv/iconvconfig.c (print_version): Likewise.
1924 * locale/programs/locale.c (print_version): Likewise.
1925 * locale/programs/localedef.c (print_version): Likewise.
1926 * login/programs/pt_chown.c (print_version): Likewise.
1927 * malloc/memusage.sh (do_version): Likewise.
1928 * malloc/memusagestat.c (print_version): Likewise.
1929 * malloc/mtrace.pl: Likewise.
1930 * manual/libc.texinfo: Likewise.
1931 * nptl/version.c (banner): Likewise.
1932 * nscd/nscd.c (print_version): Likewise.
1933 * nss/getent.c (print_version): Likewise.
1934 * nss/makedb.c (print_version): Likewise.
1935 * posix/getconf.c (main): Likewise.
1936 * scripts/test-installation.pl: Likewise.
1937 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1938
b8607aac
WN
19392015-01-02 Will Newton <will.newton@linaro.org>
1940
1941 * sysdeps/arm/armv7/configure: Removed.
1942 * sysdeps/arm/armv7/configure.ac: Likewise.
1943
b168057a
JM
19442015-01-02 Joseph Myers <joseph@codesourcery.com>
1945
1946 * All files with FSF copyright notices: Update copyright dates
1947 using scripts/update-copyrights.
1948 * intl/plural.c: Regenerated.
1949 * locale/programs/charmap-kw.h: Likewise.
1950 * locale/programs/locfile-kw.h: Likewise.
1951
b217c15f
SP
19522015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1953
1954 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1955
73a268c7
JM
19562014-12-31 Joseph Myers <joseph@codesourcery.com>
1957
1958 [BZ #17748]
1959 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1960 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1961 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1962 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1963 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1964 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1965 define as weak alias of __fegetenv. Use libm_hidden_weak.
1966 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1967 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1968 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1969 define as weak alias of __fegetenv. Use libm_hidden_weak.
1970 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1971 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1972 define as weak alias of __fegetenv. Use libm_hidden_weak.
1973 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1974 libm_hidden_def.
1975 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1976 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1977 Likewise.
1978 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1979 define as weak alias of __fegetenv. Use libm_hidden_weak.
1980 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1981 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1982 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1983 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1984 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1985 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1986 __fegetenv instead of fegetenv.
1987 (libc_feholdsetround_noex_ctx): Likewise.
1988
0bd95672
MF
19892014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1990
1991 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1992 (Elf_MIPS_ABIFlags_v0): New structure.
1993 (EF_MIPS_FP64): Define.
1994 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1995 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1996 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1997 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1998 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1999 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2000 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2001 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2002 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2003 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2004 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2005 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2006 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2007 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2008 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2009 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2010 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2011 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2012 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2013 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2014 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2015 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2016 field.
2017 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2018 EF_MIPS_FP64.
2019 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2020 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2021 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2022 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2023 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2024 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2025 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2026 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2027 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2028 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2029 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2030 record the current FP ABI extension.
2031 (mips-mode-switch): Define to show if kernel headers support mode
2032 switching.
2033 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2034 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2035 supported SYSV ABI version to 3.
2036 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2037 feature.
2038
f59ad976
RS
20392014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2040 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2041
2042 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2043 path.
2044 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2045
4a3d3999
JM
20462014-12-31 Joseph Myers <joseph@codesourcery.com>
2047
2048 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2049 __fegetround and redefine to call __fegetround. Remove condition
2050 on [!__NO_MATH_INLINES].
2051 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2052 function.
2053 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2054 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2055 Remove macro.
2056 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2057 instead of <fenv_libc.h>.
2058 (__llrintl): Call fegetround instead of __fegetround.
2059 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2060 instead of <fenv_libc.h>.
2061 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2062 (__lrintl): Call fegetround instead of __fegetround.
2063 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2064 instead of <fenv_libc.h>.
2065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2066 (__rintl): Call fegetround instead of __fegetround.
2067
195f3afc
SP
20682014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2069
2070 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2071 arrays.
2072
7062bd42
L
20732014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2074
2075 [BZ #17775]
2076 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2077 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2078 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2079
07256e18
AS
20802014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2081
2082 * sysdeps/i386/tls-macros.h: Include <features.h>.
2083 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2084 (TLS_IE): Likewise.
2085 (TLS_LD): Likewise.
2086 (TLS_GD): Likewise.
2087 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2088 define for GCC >= 5.0.
2089
1ff950ad
CM
20902014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2091
2092 * math/test-fenv.c (test_single_exception, set_single_exc,
2093 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2094 feexcp_mask_test, feenable_test, fe_single_test): Add
2095 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2096 case where they are not used.
2097 * math/libm-test.inc: Likewise.
2098 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2099 unused in the absence of FP rounding/exception support.
2100 * stdio-common/tst-printf-round.c: Likewise.
2101 * stdlib/tst-strtod-round.c: Likewise.
2102 * stdlib/tst-strtod-underflow.c: Likewise.
2103
0747f818
JM
21042014-12-30 Joseph Myers <joseph@codesourcery.com>
2105
2106 [BZ #17723]
2107 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2108 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2109 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2110 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2111 libm_hidden_weak.
2112 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2113 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2114 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2115 libm_hidden_def.
2116 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2117 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2118 libm_hidden_weak.
2119 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2120 Likewise.
2121 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2122 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2123 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2124 libm_hidden_weak.
2125 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2126 libm_hidden_def.
2127 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2128 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2129 (__feraiseexcept): Likewise.
2130 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2131 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2132 libm_hidden_weak.
2133 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2134 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2135 libm_hidden_def.
2136 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2137 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2138 Use libm_hidden_def.
2139 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2140 libm_hidden_def.
2141 (feraiseexcept): Define as weak not strong alias. Use
2142 libm_hidden_weak.
2143 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2144 New inline function. Factored out of ...
2145 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2146 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2147 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2148 feraiseexcept.
2149 * math/w_acos.c (__acos): Likewise.
2150 * math/w_asin.c (__asin): Likewise.
2151 * math/w_ilogb.c (__ilogb): Likewise.
2152 * math/w_j0.c (y0): Likewise.
2153 * math/w_j1.c (y1): Likewise.
2154 * math/w_jn.c (yn): Likewise.
2155 * math/w_log.c (__log): Likewise.
2156 * math/w_log10.c (__log10): Likewise.
2157 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2158 * sysdeps/aarch64/fpu/math_private.h
2159 (libc_feupdateenv_test_aarch64): Likewise.
2160 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2161 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2162 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2163 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2164 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2165 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2166 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2167 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2168 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2169 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2170
8d2b2763
L
21712014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2172
2173 [BZ #17732]
2174 * io/test-utime.c (main): Replace %ld with %jd and cast to
2175 intmax_t.
41fad830 2176 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2177 * nptl/tst-mutex5.c: Include <stdint.h>.
2178 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2179 * posix/tst-regex.c (run_test): Likewise.
2180 (run_test_backwards): Likewise.
5d619de4
L
2181 * rt/tst-clock.c: Include <stdint.h>.
2182 (clock_test): Replace %ld with %jd and cast to intmax_t.
2183 * rt/tst-cpuclock1.c: Include <stdint.h>.
2184 (do_test): Replace %lu with %ju and cast to uintmax_t.
2185 * rt/tst-cpuclock2.c: Include <stdint.h>.
2186 (do_test): Replace %lu with %ju and cast to uintmax_t.
2187 * rt/tst-mqueue1.c: Include <stdint.h>.
2188 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2189 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2190 intmax_t.
2191 * rt/tst-mqueue4.c (do_test): Likewise.
2192 * rt/tst-timer4.c: Include <stdint.h>.
2193 (check_ts): Replace %ld with %jd and cast to intmax_t.
2194 (do_test): Likewise.
ad86fbc3
L
2195 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2196 and cast to intmax_t.
37f46900 2197 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2198 * time/clocktest.c (main): Likewise.
2199 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2200 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2201
8b4416d8
AS
22022014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2203 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2206 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2207 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2208 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2209 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2210 version if bit_Fast_Unaligned_Load is set.
2211 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2212 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2213 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2214 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2215 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2216 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2218 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2219 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2220 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2221 to 4.
2222 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2223 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2224 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2225 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2226
e47b8d3b
CM
22272014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2228
6d6d7fde
CM
2229 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2230 instead of #if to avoid a Wundef warning.
2231 * stdlib/tst-limits.c (do_test): Likewise.
2232
cd2c37c9
CM
2233 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2234 parallel other exception macros.
2235 (fegetenv): Convert from macro to extern inline so that it applies
2236 retroactively to inline functions already seen by the compiler.
2237 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2238
e47b8d3b
CM
2239 * posix/Makefile (before-compile): Use $(objpfx) for
2240 posix-conf-vars-def.h.
2241
4a6aca7b
SP
22422014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2243
7910c2ae
SP
2244 * posix/getconf.c (main): Use size_t for type of I.
2245 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2246 NSPEC.
2247
50cbbaa9
SP
2248 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2249 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2250 * posix/posix-envs.def: Likewise.
2251 * sysdeps/posix/sysconf.c: Likewise.
2252 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2253 (specs): Remove array.
2254 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2255 array.
2256
3b566046
SP
2257 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2258 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2259 (__sysconf): Use CONF_IS_* macros.
2260
4a6aca7b
SP
2261 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2262 ($(objpfx)posix-conf-vars-def.h): New target.
2263 * posix/posix-conf-vars.list: New file.
2264 * posix/posix-conf-vars.h: New file.
2265 * posix/confstr.c: Include posix-conf-vars.h.
2266 (confstr): Use CONF_IS_* macros.
2267 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2268 CONF_IS_* macros.
2269 * scripts/gen-posix-conf-vars.awk: New file.
2270
7c1395a7
CM
22712014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2272
0025b4cc
CM
2273 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2274 fegetround): Add no-op macros to avoid linknamespace issues.
2275
d8aaf74b
CM
2276 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2277 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2278
5d24aa60
CM
2279 * sysdeps/unix/sysv/linux/tile/sysdep.h
2280 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2281 assembly-specific section to avoid a redefinition warning.
2282
7c1395a7
CM
2283 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2284 long before casting to pointer to avoid a cast warning.
2285
3c87c616
CM
22862014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2287
2288 * sysdeps/tile/tilegx/Implies: New file.
2289
f559d8cf
RE
22902014-12-23 Richard Earnshaw <rearnsha@arm.com>
2291
2292 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2293
7d81e8d6
FW
22942014-12-23 Florian Weimer <fweimer@redhat.com>
2295
2296 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2297
90aa3d09
JM
22982014-12-22 Joseph Myers <joseph@codesourcery.com>
2299
2300 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2301 not define.
2302 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2303 <kernel-features.h>.
2304 (__utimes) [__NR_utimes]: Make code unconditional.
2305 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2306 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2307 (__ASSUME_UTIMES): Do not undefine.
2308 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2309 (__ASSUME_UTIMES): Likewise.
2310 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2311 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2312 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2313 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2314
4c0c0e2a
SE
23152014-12-22 Steve Ellcey <sellcey@imgtec.com>
2316
2317 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2318
0dacd7a3
CM
23192014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2320
b638f96a
CM
2321 [BZ #17747]
2322 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2323 alias to weak alias for j0l, y0l.
2324 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2325 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2326
0dacd7a3
CM
2327 [BZ #17746]
2328 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2329 conversion.
2330
528479c4
SE
23312014-12-22 Steve Ellcey <sellcey@imgtec.com>
2332
2333 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2334 to zero if not already defined.
2335
f56f9124
JM
23362014-12-22 Joseph Myers <joseph@codesourcery.com>
2337
2338 [BZ #17724]
2339 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2340 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2341 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2342 (char *) casts added.
2343 * sysdeps/ieee754/k_standardf.c: New file.
2344 * sysdeps/ieee754/k_standardl.c: Likewise.
2345 * math/Makefile (libm-support): Remove k_standard.
2346 (libm-calls): Add k_standard.
2347
8622d556
WD
23482014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2349
2350 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2351 Optimize to avoid an unnecessary FPCR read.
2352
f3806bdb
WD
23532014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2354
2355 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2356 Optimize to reduce FPCR/FPSR accesses.
2357
9b47df58
WD
23582014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2359
2360 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2361 Call libc_fetestexcept_aarch64.
2362
97be3cac
WD
23632014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2364
2365 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2366 Call libc_fesetround_aarch64.
2367
935ab817
JM
23682014-12-22 Joseph Myers <joseph@codesourcery.com>
2369
2370 [BZ #17733]
2371 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2372 (__bind): Do not define as weak alias.
2373 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2374 define.
2375 (__getsockname): Do not define as weak alias.
2376
cc8623f1
WN
23772014-12-22 Will Newton <will.newton@linaro.org>
2378
2379 * manual/install.texi: Document that we require bison 2.7
2380 or above.
2381 * INSTALL: Regenerate.
2382 * configure.ac: Use AC_CHECK_PROG_VER instead of
2383 AC_PATH_PROG when checking for bison and check for
2384 version 2.7 or above.
2385 * configure: Regenerate.
2386
a19ca65a
CM
23872014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2388
92901170 2389 [BZ #17745]
e969965a
CM
2390 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2391 * sysdeps/tile/ffsll.c (ffsll): To here.
2392
a19ca65a
CM
2393 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2394
050f7298
L
23952014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2396
2397 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2398 if not defined.
2399 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2400 definition.
2401 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2402 hidden ___tls_get_addr.
2403 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2404 hidden __tls_get_addr.
2405 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2406 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2407 Likewise.
2408
6df5547e
AS
24092014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2410
2411 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2412 _dl_init call.
2413
7432d613
L
24142014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2415
2416 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2417 from "call _dl_init@PLT".
2418 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2419
98fe149e
AK
24202014-12-21 Anders Kaseorg <andersk@mit.edu>
2421
2422 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2423 guarantees.
2424
d12455f5
CM
24252014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2426
2427 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2428
95dee05f
CM
24292014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2430
92901170 2431 [BZ #17744]
95dee05f
CM
2432 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2433 strnlen.
2434
2ef4b74a
SE
24352014-12-19 Steve Ellcey <sellcey@imgtec.com>
2436
2437 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2438 of multu on MIPSr6.
2439 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2440 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2441 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2442 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2443 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2444
24452014-12-19 Steve Ellcey <sellcey@imgtec.com>
2446
2447 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2448 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2449 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2450 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2451 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2452 mips32r6/mips64r6.
2453 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2454
3eb38795
OB
24552014-12-19 Ondřej Bílka <neleai@seznam.cz>
2456
2457 * string/strncat.c (STRNCAT): Simplify implementation.
2458
6d4188dd
DM
24592014-12-19 David S. Miller <davem@davemloft.net>
2460
0d4ba8be
DM
2461 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2462 access the quad as both a long double and as a series of 4 words.
2463
6d4188dd
DM
2464 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2465 link_map->l_info array access.
2466
4ef91cdc
CM
24672014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2468
804c54f7
CM
2469 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2470
4ef91cdc
CM
2471 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2472 * math/atest-exp2.c (TIMEOUT): Likewise.
2473 * math/atest-sincos.c (TIMEOUT): Likewise.
2474
afd176d6
L
24752014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2478 -Wno-error with -fno-builtin-lround.
2479
a4a43a90
TR
24802014-12-19 Torvald Riegel <triegel@redhat.com>
2481
2482 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2483 Contains futex constants and functions moved over from ...
2484 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2485 <lowlevellock-futex.h>.
2486 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2487 (lll_timedwait_tid): Add comments and parentheses around macro
2488 arguments.
2489
76f71081
TR
24902014-12-19 Torvald Riegel <triegel@redhat.com>
2491
2492 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2493 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2494 (__lll_private_flag): Remove.
2495 (lll_futex_wait): Likewise.
2496 (lll_futex_timed_wait): Likewise.
2497 (lll_futex_wake): Likewise.
2498 (lll_futex_requeue): Likewise.
2499 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2500 (__lll_timedwait_tid): Spell out argument names.
2501 (lll_timedwait_tid): Add comments and parentheses around macro
2502 arguments.
2503 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2504 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2505
6b814909
TR
25062014-12-19 Torvald Riegel <triegel@redhat.com>
2507
2508 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2509 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2510 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2511 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2512 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2513 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2514 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2515 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2516 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2517 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2518 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2519 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2520 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2521 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2522 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2523 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2524 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2525 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2526 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2527
9cd4d4ab
L
25282014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2529
2530 * sysdeps/x86_64/x32/Makefile: New file.
2531
c9c1a2d0
L
25322014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2533
2534 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2535 1L with (mp_limb_t) 1.
2536
af102d95
RM
25372014-12-17 Roland McGrath <roland@hack.frob.com>
2538
dd690454
RM
2539 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2540 * nptl/libc_pthread_init.c: ... here.
2541 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2542 * nptl/register-atfork.c: ... here.
2543
74eb826c
RM
2544 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2545 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2546 Use assert_perror to check its return value.
2547 (__gai_create_helper_thread): Likewise.
2548
c9ce306b
RM
2549 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2550
af102d95
RM
2551 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2552
8ac5a76a
JM
25532014-12-17 Joseph Myers <joseph@codesourcery.com>
2554
ea41469b
JM
2555 [BZ #17725]
2556 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2557 __profil_counter.
2558 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2559 Likewise.
2560 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2561 Likewise.
2562 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2565 (profil_counter): Likewise.
2566 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2567 (profil_counter): Likewise.
2568 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2569 Likewise.
2570 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2571 Likewise.
2572 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2573 (profil_counter): Likewise.
2574 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2575 Likewise.
2576 [!__profil_counter] (profil_counter): Define as weak alias of
2577 __profil_counter.
2578 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2579 (profil_counter): Rename to __profil_counter.
2580 [!__profil_counter] (profil_counter): Define as weak alias of
2581 __profil_counter.
2582 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2583 (profil_counter): Rename to __profil_counter.
2584 [!__profil_counter] (profil_counter): Define as weak alias of
2585 __profil_counter.
2586 * sysdeps/posix/profil.c: Update comment referring to
2587 profil_counter.
2588 (__profil): Use __profil_counter instead of profil_counter.
2589 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2590 __profil_counter. Use __profil_counter_ushort and
2591 __profil_counter_uint in definitions.
2592 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2593 instead of profil_counter_uint and profil_counter_ushort.
2594
8ac5a76a
JM
2595 [BZ #17722]
2596 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2597 define as weak alias of __inet_makeaddr.
2598 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2599 as weak alias of __inet_addr.
2600 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2601 as weak alias of __inet_pton. Use libc_hidden_weak.
2602 * include/arpa/inet.h (__inet_pton): Declare. Use
2603 libc_hidden_proto.
2604 (inet_makeaddr): Don't use libc_hidden_proto.
2605 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2606 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2607 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2608 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2609 Remove variable.
2610 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2611 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2612
66ce3cb1
SE
26132014-12-17 Steve Ellcey <sellcey@imgtec.com>
2614
2615 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2616
d22ce01b
SL
26172014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2618
2619 * stdio-common/bug-vfprintf-nargs.c (do_test):
2620 Cast value to intptr_t to avoid format warning
2621 for usage with PRIdPTR printing macro.
2622
eca2772b
SL
26232014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2624
2625 * libio/tst-widetext.c (do_test):
2626 Use format type %td instead of %Zd for ptrdiff_t
2627 in order to avoid format warning.
2628
bdf079da
AS
26292014-12-17 Andreas Schwab <schwab@suse.de>
2630
2631 * nscd/mem.c (gc): Add size_t cast to match printf format.
2632
3eb5d2fc
RM
26332014-12-16 Roland McGrath <roland@hack.frob.com>
2634
2635 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2636 (init): Apply PTR_MANGLE to pointers before storing them.
2637 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2638 before using them.
2639
d003ada2
JM
26402014-12-16 Joseph Myers <joseph@codesourcery.com>
2641
380292ba
JM
2642 [BZ #17719]
2643 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2644 define as weak alias of __memrchr.
2645 (__memrchr): Do not define as strong alias of memrchr.
2646 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2647 Remove variable.
2648 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2649 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2650 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2651
9a44d530
JM
2652 [BZ #17717]
2653 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2654 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2655 (if_indextoname): Rename to __if_indextoname and define as weak
2656 alias of __if_indextoname. Use libc_hidden_weak.
2657 (if_freenameindex): Rename to __if_freenameindex and define as
2658 weak alias of __if_freenameindex.
2659 (if_nameindex): Rename to __if_nameindex and define as weak alias
2660 of __if_nameindex.
2661 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2662 __if_nametoindex and define as weak alias of __if_nametoindex.
2663 Use libc_hidden_weak.
2664 (if_freenameindex): Rename to __if_freenameindex and define as
2665 weak alias of __if_freenameindex.
2666 (if_nameindex): Rename to __if_nameindex and define as weak alias
2667 of __if_nameindex.
2668 (if_indextoname): Rename to __if_indextoname and define as weak
2669 alias of __if_indextoname. Use libc_hidden_weak.
2670 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2671 __if_nametoindex and define as weak alias of __if_nametoindex.
2672 Use libc_hidden_weak.
2673 (if_freenameindex): Rename to __if_freenameindex and define as
2674 weak alias of __if_freenameindex. Use libc_hidden_weak.
2675 (if_nameindex_netlink): Use __if_freenameindex instead of
2676 if_freenameindex.
2677 (if_nameindex): Rename to __if_nameindex and define as weak alias
2678 of __if_nameindex. Use libc_hidden_weak.
2679 (if_indextoname): Rename to __if_indextoname and define as weak
2680 alias of __if_indextoname. Use libc_hidden_weak.
2681 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2682 libc_hidden_proto.
2683 [!_ISOMAC] (__if_freenameindex): Likewise.
2684 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2685 if_nametoindex.
2686 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2687 variable.
2688 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2689 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2690 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2691 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2692 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2693 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2694 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2695
d003ada2
JM
2696 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2697 Remove variable.
2698 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2699 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2700
a0d424ef
SP
27012014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
0cd85520
SP
2703 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2704 subscript above bounds'
2705
a0d424ef
SP
2706 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2707 bounds.
2708
0e426475
AS
27092014-12-16 Arjun Shankar <arjun.is@lostca.se>
2710
8b460906
AS
2711 * libio/tst-fopenloc.c: Use test-skeleton.c.
2712
fa13e15b
AS
2713 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2714 (entry): Rename to ITEM.
2715 (do_test, comp): Adjust.
2716
0e426475
AS
2717 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2718
4f646bce
TR
27192014-12-16 Torvald Riegel <triegel@redhat.com>
2720
2721 * string/tester.c: Include <libc-internal.h>.
2722 (test_memset): Ignore -Wmemset-transposed-args.
2723
a07c4427
TR
27242014-12-16 Torvald Riegel <triegel@redhat.com>
2725
2726 * misc/tst-mntent2.c (do_test): Fix warning.
2727
1469f466
TR
27282014-12-16 Torvald Riegel <triegel@redhat.com>
2729
2730 * elf/tst-unique4lib.cc(a): Mark as used.
2731
11e3417a
FW
27322014-12-16 Florian Weimer <fweimer@redhat.com>
2733
2734 [BZ #17630]
2735 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2736 names.
2737
ae61fc7b
AM
27382014-12-16 Allan McRae <allan@archlinux.org>
2739
2740 * stdio-common/Makefile (tests): Re-add bug26.
2741
363a9899
OB
27422014-12-15 Ondřej Bílka <neleai@seznam.cz>
2743
2744 [BZ #17657]
2745 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2746 static array.
2747
d52c62df
TR
27482014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2749
2750 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2751 (__lll_lock_wait): Likewise.
2752 (__lll_timedlock_wait): Likewise.
2753 (__lll_timedwait_tid): Likewise.
2754 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2755 (__lll_robust_timedlock_wait): Likewise.
2756 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2757 (lll_cond_trylock): Likewise.
2758 (__lll_lock): Likewise.
2759 (__lll_robust_lock): Likewise.
2760 (__lll_cond_lock): Likewise.
2761 (lll_robust_cond_lock): Likewise.
2762 (__lll_timedlock): Likewise.
2763 (__lll_robust_timedlock): Likewise.
2764 (__lll_unlock): Likewise.
2765 (__lll_robust_unlock): Likewise.
2766 (lll_wait_tid): Likewise.
2767 (lll_timedwait_tid): Likewise.
2768
045a6bcd
TR
27692014-12-15 Torvald Riegel <triegel@redhat.com>
2770
2771 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2772
7f786dc1
TR
27732014-12-15 Torvald Riegel <triegel@redhat.com>
2774
2775 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2776
e7e21cba
AZ
27772014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2778
2779 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2780 * stdio-common/tst-sprintf.c: Likewise.
2781
bc89c0fc
TR
27822014-12-15 Torvald Riegel <triegel@redhat.com>
2783
2784 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2785
a5357b7c
JL
27862014-12-15 Jeff Law <law@redhat.com>
2787
2788 [BZ #16617]
2789 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2790 on the heap. (CVE-2012-3406)
2791 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2792 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2793 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2794
3a12c70f
WN
27952014-12-15 Will Newton <will.newton@linaro.org>
2796
2797 * manual/install.texi: Bump required version of texinfo
2798 to 4.7 from 4.5.
2799 * INSTALL: Regenerated.
2800 * configure.ac: Check for makeinfo version 4.7 and above.
2801 * configure: Regenerated.
2802
e4f639e4
RM
28032014-12-12 Roland McGrath <roland@hack.frob.com>
2804
2805 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2806 PREFIX, string constant to insert between directory and name.
2807 * sysdeps/posix/shm_open.c: Update caller.
2808 * sysdeps/posix/shm_unlink.c: Likewise.
2809 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2810 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2811 (SEM_SHM_PREFIX): New macro.
2812 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2813 [$(have-thread-library) = no].
2814 * nptl/Makefile (libpthread-routines): Add shm-directory.
2815 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2816 * sysdeps/nptl/shm-directory.h: New file.
2817 * sysdeps/posix/shm-directory.c
2818 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2819 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2820 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2821 INTERNAL_SYSCALL.
2822 (__where_is_shmfs): Function removed.
2823 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2824 Variables removed.
2825 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2826 Use SHM_GET_NAME.
2827 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2828
2829 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2830 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2831 unconditional for use inside libpthread.
2832 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2833
439c43f6
RM
28342014-12-12 Roland McGrath <roland@hack.frob.com>
2835
c76d1ff5
RM
2836 * nptl/pthread_getaffinity.c: New file.
2837 * nptl/pthread_setaffinity.c: New file.
2838 * nptl/pthread_getname.c: New file.
2839 * nptl/pthread_setname.c: New file.
2840
439c43f6
RM
2841 * nptl/pthread_create.c (START_THREAD_DEFN)
2842 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2843
48e435cd
SL
28442014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2845 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2846
2847 * resolv/res_send.c (send_vc): Disable warning resplen may
2848 be used uninitialized.
2849
9d9c0019
SL
28502014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2851
2852 * nptl/tst-mutex6.c
2853 (ATTR_NULL): New define checks ATTR against NULL.
2854 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2855 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2856
9173840b
JL
28572014-12-11 James Lemke <jwlemke@codesourcery.com>
2858
2859 [BZ #17581]
2860 * malloc/hooks.c
2861 (mem2mem_check): Revert my previous change.
2862 (malloc_check_get_size): Revert my previous change.
2863 (mem2chunk_check): Revert my previous change.
2864
78e21c5d
RM
28652014-12-11 Roland McGrath <roland@hack.frob.com>
2866
2867 * sysdeps/posix/shm-directory.c: New file.
2868 * sysdeps/posix/shm-directory.h: New file.
2869 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2870 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2871 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2872 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2873 Transmute EPERM to EACCES.
2874 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2875 from ...
2876 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2877 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2878
f82c43af
KK
28792014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2880
2881 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2882 pointer and cast to uintptr_t.
2883 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2884 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2885 Add cast to avoid warning.
2886 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2887
fc00cf7b
JM
28882014-12-11 Joseph Myers <joseph@codesourcery.com>
2889
2890 * nptl/semaphore.h: Move to ...
2891 * sysdeps/pthread/semaphore.h: ... here.
2892 * Makefile (installed-headers): Change nptl/semaphore.h to
2893 sysdeps/pthread/semaphore.h.
2894
1c4053db
RM
28952014-12-11 Roland McGrath <roland@hack.frob.com>
2896
73b0c1a1
RM
2897 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2898 generated error format strings.
2899
1c4053db
RM
2900 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2901 -Wformat-extra-args warnings for scanf formats.
2902 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2903 test of zero-length format (duh).
2904 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2905 corner-case scanf format test.
2906 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2907 generated fprintf format string.
2908 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2909 corner-case sprintf format tests.
2910 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2911 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2912 -Wformat-extra-args warnings throughout.
2913 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2914 (CFLAGS-scanf4.c): Likewise.
2915 (CFLAGS-scanf7.c): Likewise.
2916 (CFLAGS-tst-sprintf.c): Likewise.
2917 (CFLAGS-tst-printf.c): Likewise.
2918 (CFLAGS-tst-printfsz.c): Likewise.
2919
47d51f4f
JM
29202014-12-11 Joseph Myers <joseph@codesourcery.com>
2921
a1edbf3c
JM
2922 * include/cpio.h: New file.
2923 * include/fmtmsg.h: Likewise.
2924
47d51f4f
JM
2925 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2926 corresponding format argument to size_t.
2927 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2928 arguments.
2929 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2930 corresponding format argument to size_t.
2931 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2932 arguments.
2933 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2934 corresponding format argument to size_t.
2935 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2936 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2937 (CFLAGS-tst-mbswcs2.c): Likewise.
2938 (CFLAGS-tst-mbswcs3.c): Likewise.
2939 (CFLAGS-tst-mbswcs4.c): Likewise.
2940 (CFLAGS-tst-mbswcs5.c): Likewise.
2941 (CFLAGS-tst-trans.c): Likewise
2942
e9813cfb
RM
29432014-12-11 Roland McGrath <roland@hack.frob.com>
2944
2945 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2946 rather than assuming they won't contain any '%'s.
2947
f627ca82
CM
29482014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2949
2950 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2951 inhibit_loop_to_libcall to avoid recursive calls.
2952 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2953 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2954
7f296942
AZ
29552014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2956
2957 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2958 prototype.
2959
d0276e18
SE
29602014-12-11 Steve Ellcey <sellcey@imgtec.com>
2961
2962 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2963 integer value instead of boolean.
2964
fc56e970
SE
29652014-12-11 Steve Ellcey <sellcey@imgtec.com>
2966
2967 * malloc/malloc.c: Fix powerof2 check.
2968
40e53917
SL
29692014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2970
2971 * locale/programs/locfile.h (maybe_swap_uint32):
2972 Remove inline and add unused attribute.
2973
1ea166df
SL
29742014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2975
9d9c0019 2976 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2977 Truncating assembler expression to a .long expression.
2978
acf869f4
AS
29792014-12-11 Andreas Schwab <schwab@suse.de>
2980
2981 * elf/rtld.c (struct map_args): Constify str member.
2982 (do_preload): Constify fname argument.
2983
9d969099
AZ
29842014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2985
2986 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2987 constants definition.
2988
da5bcaa4
AS
29892014-12-11 Andreas Schwab <schwab@suse.de>
2990
b0a3c164
AS
2991 [BZ #16657]
2992 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2993 FORCE_ELISION instead of DO_ELISION.
2994 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2995 Remove.
2996 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2997 Likewise.
2998
da5bcaa4
AS
2999 * iconvdata/gconv-modules: Remove duplicate entry.
3000
6d248857
WN
30012014-12-11 Will Newton <will.newton@linaro.org>
3002
3003 Merge gettext 0.19.3 into intl/.
3004
3005 This involves a number of cosmetic changes to comments
3006 and ANSI function definitions and prototypes throughout
3007 all the files. The gettext copyright header is used but
3008 with the date ranges taken from the glibc copy.
3009
3010 * NEWS: Add gettext merge to 2.21.
3011 * intl/bindtextdom.c: Switch to gettext copyright.
3012 Use ANSI definitions and prototypes.
3013 Use gl_* locking primitives rather than __libc_* ones.
3014 Use __builtin_expect rather than __glibc_likely/unlikely.
3015 * intl/dcgettext.c: Switch to gettext copyright.
3016 Use ANSI definitions and prototypes.
3017 * intl/dcigettext.c: Switch to gettext copyright.
3018 Use ANSI definitions and prototypes.
3019 (INTDIV0_RAISES_SIGFPE): New define.
3020 Use gl_* locking primitives rather than __libc_* ones.
3021 Include eval-plural.h instead of plural-eval.c.
3022 Use __builtin_expect rather than __glibc_likely/unlikely.
3023 * intl/dcngettext.c: Switch to gettext copyright.
3024 Use ANSI definitions and prototypes.
3025 * intl/dgettext.c: Likewise.
3026 * intl/dngettext.c: Likewise.
3027 * intl/plural-eval.c: Renamed to...
3028 * intl/eval-plural.h: ...this.
3029 * intl/explodename.c: Switch to gettext copyright.
3030 Use ANSI definitions and prototypes.
3031 (_nl_explode_name): Use strchr instead of __rawmemchr.
3032 * intl/finddomain.c: Switch to gettext copyright.
3033 Use ANSI definitions and prototypes.
3034 Use gl_* locking primitives rather than __libc_* ones.
3035 (_nl_find_domain): Use malloc rather than alloca for
3036 allocation of temporary locale name.
3037 * intl/gettext.c: Switch to gettext copyright.
3038 Use ANSI definitions and prototypes.
3039 * intl/gettextP.h: Switch to gettext copyright.
3040 Use ANSI definitions and prototypes.
3041 Use gl_* locking primitives rather than __libc_* ones.
3042 * intl/gmo.h: Switch to gettext copyright.
3043 (struct sysdep_string): Move struct segment_pair outside of
3044 struct definition.
3045 * intl/hash-string.c: Use ANSI definitions and prototypes.
3046 * intl/hash-string.h: Switch to gettext copyright.
3047 Use ANSI definitions and prototypes.
3048 * intl/l10nflist.c: Switch to gettext copyright.
3049 Use ANSI definitions and prototypes.
3050 (_nl_normalize_codeset): Avoid integer overflow.
3051 * intl/loadinfo.h: Switch to gettext copyright.
3052 Use ANSI definitions and prototypes.
3053 (LIBINTL_DLL_EXPORTED): New define.
3054 (PATH_SEPARATOR): New define.
3055 * intl/loadmsgcat.c: Switch to gettext copyright.
3056 * intl/localealias.c: Switch to gettext copyright.
3057 Use ANSI definitions and prototypes.
3058 (_nl_expand_alias): Use PATH_SEPARATOR.
3059 * intl/ngettext.c: Switch to gettext copyright.
3060 Use ANSI definitions and prototypes.
3061 * intl/plural-exp.c: Likewise.
3062 * intl/plural-exp.h: Switch to gettext copyright.
3063 Use ANSI definitions and prototypes.
3064 (struct expression): Move definition of enum operator outside
3065 of struct definition.
3066 * intl/plural.c: Regenerate.
3067 * intl/plural.y: Switch to gettext copyright.
3068 Use ANSI definitions and prototypes.
3069 Port to bison 3.0.
3070 * intl/textdomain.c: Switch to gettext copyright.
3071 Use ANSI definitions and prototypes.
3072 Use gl_* locking primitives rather than __libc_* ones.
3073
48c43298
SE
30742014-12-10 Steve Ellcey <sellcey@imgtec.com>
3075
3076 * debug/warning-nop.c: Add used atrribute.
3077
2b89bce9
JM
30782014-12-10 Joseph Myers <joseph@codesourcery.com>
3079
c153ac9f
JM
3080 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3081
2b89bce9
JM
3082 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3083 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3084 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3085
2cfbdb9a
JM
30862014-12-10 Joseph Myers <joseph@codesourcery.com>
3087 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3088
3089 [BZ #17634]
3090 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3091 Undefine after defining function. Define as weak alias of
3092 __wcschr. Use libc_hidden_weak.
3093 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3094 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3095 (libc_hidden_def): Also define __GI___wcschr alias.
3096 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3097 __wcschr and define as weak alias of __wcschr.
3098 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3099 __wcschr.
3100 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3101 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3102 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3103 libc_hidden_weak. Do not use libc_hidden_def.
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3105 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3106 __GI___wcschr alias.
3107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3108 [IS_IN (libc)] (wcschr): Define as macro expanding to
3109 __redirect_wcschr.
3110 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3111 [IS_IN (libc)] (__wcschr_power6): Likewise.
3112 [IS_IN (libc)] (__wcschr_power7): Likewise.
3113 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3114 instead of wcschr.
3115 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3116 __libc_wcschr.
3117 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3118 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3119 __wcschr and define as weak alias of __wcschr. Use
3120 libc_hidden_builtin_def.
3121 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3122 as weak alias of __wcschr. Use libc_hidden_weak.
3123 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3124 wcschr.
3125 * time/era.c (_nl_init_era_entries): Likewise.
3126 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3127 variable.
3128 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3129 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3130
1b8bf351
JM
31312014-12-10 Joseph Myers <joseph@codesourcery.com>
3132
3133 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3134 format for long int variable.
3135
f5f46d51
AK
31362014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3137
3138 [BZ #10672]
07008f7d 3139 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3140 qsort stable.
3141
217a74a8
AS
31422014-12-10 Andreas Schwab <schwab@suse.de>
3143
3144 [BZ #12847]
3145 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3146 user-controlled locks.
3147
aa76a5c7
RE
31482014-12-10 Richard Earnshaw <rearnsha@arm.com>
3149
3150 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3151 register.
3152
2084e7ca
JM
31532014-12-10 Joseph Myers <joseph@codesourcery.com>
3154
a4ecc9eb
JM
3155 * configure.ac (--disable-werror): New configure option.
3156 (enable_werror): New AC_SUBST.
3157 * configure: Regenerated.
3158 * config.make.in (enable-werror): New variable.
3159 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3160 -Wno-error=undef.
3161 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3162 * manual/install.texi (Configuring and compiling): Document
3163 --disable-werror.
3164 * INSTALL: Regenerated.
3165 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3166 (CFLAGS-tst-chk2.c): Likewise.
3167 (CFLAGS-tst-chk3.c): Likewise.
3168 (CFLAGS-tst-chk4.cc): Likewise.
3169 (CFLAGS-tst-chk5.cc): Likewise.
3170 (CFLAGS-tst-chk6.cc): Likewise.
3171 (CFLAGS-tst-lfschk1.c): Likewise.
3172 (CFLAGS-tst-lfschk2.c): Likewise.
3173 (CFLAGS-tst-lfschk3.c): Likewise.
3174 (CFLAGS-tst-lfschk4.cc): Likewise.
3175 (CFLAGS-tst-lfschk5.cc): Likewise.
3176 (CFLAGS-tst-lfschk6.cc): Likewise.
3177
0f88636c
JM
3178 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3179 (main): Disable -Wdeprecated-declarations around calls to
3180 register_printf_function.
3181
c81e9deb
JM
3182 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3183 (do_test): Disable -Wdiv-by-zero around some calls to
3184 fwrite_unlocked and fread_unlocked.
3185
2084e7ca
JM
3186 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3187 (DIAG_POP_NEEDS_COMMENT): Likewise.
3188 (_DIAG_STR1): Likewise.
3189 (_DIAG_STR): Likewise.
3190 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3191 * stdio-common/bug21.c: Include <libc-internal.h>.
3192 (do_test): Disable -Wformat around call to sscanf.
3193 * stdio-common/scanf14.c: Include <libc-internal.h>.
3194 (main): Disable -Wformat around some calls to scanf functions.
3195
df7ecc6b
TR
31962014-12-09 Torvald Riegel <triegel@redhat.com>
3197
3198 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3199
2aa3862e
AZ
32002014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3201
3202 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3203 stack variable alignment.
3204
c5c2b7c3
JM
32052014-12-06 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #17682]
3208 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3209 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3210 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3211 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3212 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3213 __getrlimit instead of getrlimit.
3214 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3215 __gettimeofday instead of gettimeofday.
3216 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3217 Likewise.
3218 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3219 Likewise.
3220 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3221 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3222 Remove variable.
3223 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3224 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3225
9752c3cd
AZ
32262014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3227
3228 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3229 for wide-character tests.
3230
4bee4cd9
RM
32312014-12-04 Roland McGrath <roland@hack.frob.com>
3232
3233 * io/openat64.c: #include <libc-internal.h>
3234 (__openat64): Prototypify. Use ignore_value on MODE.
3235 * io/openat.c: Likewise.
3236 * misc/reboot.c: #include <libc-internal.h>
3237 (reboot): Prototypify. Use ignore_value on HOWTO.
3238 * misc/ptrace.c: #include <libc-internal.h>
3239 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3240
84dbedb6
JM
32412014-12-04 Joseph Myers <joseph@codesourcery.com>
3242
3243 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3244 XPG4, UNIX98 and XOPEN2K.
3245 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3246 Remove variable.
3247 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3248
b7a3e1c4 32492014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3250
af50dfc1 3251 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3252 * libio/iofopen.c: Likewise.
3253 * libio/wfileops.c: Likewise.
3254
fe8b4d98
SP
3255 [BZ #17653]
3256 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3257 offset on EOF.
3258 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3259 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3260 (fgets_func): Function pointer to fgets and fgetws.
3261 (do_ftell_test): Add test to verify ftell value after read
3262 EOF.
3263 (do_test): Set fgets_func.
3264
61b4f792
SP
3265 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3266 O_TRUNC flag for w and w+ modes.
3267 (do_rewind_test): Likewise.
3268 (do_ftell_test): Likewise.
3269 (do_write_test): Likewise.
3270
be349d70
SP
3271 [BZ #17647]
3272 * libio/fileops.c (do_ftell): Seek only when there are
3273 unflushed writes.
3274 * libio/wfileops.c (do_ftell_wide): Likewise.
3275 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3276 test case.
3277 (do_one_test): Call it.
3278
e3d6dba5
JM
32792014-12-03 Joseph Myers <joseph@codesourcery.com>
3280
3281 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3282 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3283 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3284 Remove variable.
3285 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3286 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3287 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3288
7f994279
JM
32892014-12-02 Joseph Myers <joseph@codesourcery.com>
3290
28a91e8f
JM
3291 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3292 Remove variable.
3293 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3294
7f994279
JM
3295 [BZ #17668]
3296 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3297 as weak alias of __getifaddrs. Use libc_hidden_weak.
3298 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3299 __freeifaddrs. Use libc_hidden_weak.
3300 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3301 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3302 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3303 __freeifaddrs. Use libc_hidden_weak.
3304 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3305 __getifaddrs and define as weak alias of __getifaddrs. Use
3306 libc_hidden_weak.
3307 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3308 __freeifaddrs. Use libc_hidden_weak.
3309 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3310 Remove variable.
3311 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3312 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3313
bbe4c142
PJ
33142014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3315
3316 [BZ #17601]
3317 * sysdeps/mips/start.S (__start): Use indirect jump to call
3318 __libc_start_main.
3319
66cadc05
JM
33202014-12-02 Joseph Myers <joseph@codesourcery.com>
3321
909e16d9
JM
3322 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3323
4e0b9016
JM
3324 * nptl/tst-mutex1.c: Include <stdbool.h>.
3325 [!ATTR] (ATTR_NULL): New macro.
3326 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3327 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3328 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3329
b1aff6a4
JM
3330 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3331 to char *.
3332
266865c0
JM
3333 [BZ #17665]
3334 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3335 Change conditional to [__USE_MISC].
3336
84e5e756
JM
3337 [BZ #17664]
3338 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3339 fgets_unlocked.
3340 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3341 __fgets_unlocked.
3342 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3343 fgets_unlocked.
3344 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3345 Remove variable.
3346 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3347 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3348 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3349 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3350 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3351 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3352 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3353 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3354 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3355
66cadc05
JM
3356 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3357
2e8a2de2 33582014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3359
3360 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3361 Remove strpbrk objects.
3362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3363 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3364 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3365 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3366 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3367 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3368
bb2542e0
AZ
3369 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3370 Remove strcspn objects.
3371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3372 (__libc_ifunc_impl_list): Remove strcspn implementation.
3373 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3374 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3375 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3376 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3377
3378 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3379 Remove strspn objetcs.
3380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3381 (__libc_ifunc_impl_list): Remove strspn implementation.
3382 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3383 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3384 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3385 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3386
08f1e1d2
JL
33872014-12-01 James Lemke <jwlemke@codesourcery.com>
3388
3389 [BZ #17581]
3390 * malloc/hooks.c
3391 (mem2mem_check): Add a terminator to the chain of checking blocks.
3392 (malloc_check_get_size): Use it here.
3393 (mem2chunk_check): Ditto.
3394
a8a7d7d2
RS
33952014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3396
3397 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3398 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3399
97114a38
CD
34002014-11-29 Carlos O'Donell <carlos@redhat.com>
3401
c8dc1727
CD
3402 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3403
6d03458e
CD
3404 * nptl/nptl-init.c: Include libc-internal.h.
3405 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3406
97114a38
CD
3407 * elf/ldconfig.c (search_dir): Expand comment.
3408
0e7e69ba
JM
34092014-11-29 Joseph Myers <joseph@codesourcery.com>
3410
3411 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3412 variable.
3413 (linknamespace-symlist-stdlibs-tests): Likewise.
3414 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3415 instead of $(objpfx)symlist-stdlibs.
3416 (linknamespace-libs-isoc): New variable.
3417 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3418 (linknamespace-libs-ISO): New variable.
3419 (linknamespace-libs-ISO99): Likewise.
3420 (linknamespace-libs-ISO11): Likewise.
3421 (linknamespace-libs-XPG3): Likewise.
3422 (linknamespace-libs-XPG4): Likewise.
3423 (linknamespace-libs-POSIX): Likewise.
3424 (linknamespace-libs-UNIX98): Likewise.
3425 (linknamespace-libs-XOPEN2K): Likewise.
3426 (linknamespace-libs-POSIX2008): Likewise.
3427 (linknamespace-libs-XOPEN2K8): Likewise.
3428 ($(objpfx)symlist-stdlibs): Replace by
3429 $(linknamespace-symlist-stdlibs-tests). Use
3430 $(linknamespace-libs-$*) as set of libraries.
3431 ($(linknamespace-header-tests)): Update dependencies. Use
3432 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3433 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3434 * conform/linknamespace.pl: Remove comment about considering
3435 definitions of symbols from irrelevant libraries.
3436
d8dd0080
L
34372014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3438
3439 [BZ #13862]
3440 * elf/dl-tls.c: Include <atomic.h>.
3441 (oom): Remove #ifdef SHARED/#endif.
3442 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3443 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3444 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3445 big enough.
3446 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3447 * nptl/Makefile (tests): Add tst-stack4.
3448 (modules-names): Add tst-stack4mod.
3449 ($(objpfx)tst-stack4): New.
3450 (tst-stack4mod.sos): Likewise.
3451 ($(objpfx)tst-stack4.out): Likewise.
3452 ($(tst-stack4mod.sos)): Likewise.
3453 (clean): Likewise.
3454 * nptl/tst-stack4.c: New file.
3455 * nptl/tst-stack4mod.c: Likewise.
3456
167da422
B
34572014-11-27 J. Brown <jb999@gmx.de>
3458
3459 * sysdeps/x86/bits/string.h: Add recent CPUs.
3460
9114625b
JM
34612014-11-27 Joseph Myers <joseph@codesourcery.com>
3462
6b5189eb
JM
3463 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3464 sigblock.
3465
49051f8e
JM
3466 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3467 feof.
3468
9114625b
JM
3469 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3470 variable.
3471
e7300fef
SL
34722014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3473
3474 * nscd/connections.c: Include libc-internal.h because of macro
3475 usage ignore_value.
3476
1721f0a4
SP
34772014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3478
3479 * string/bits/string3.h (__warn_memset_zero_len): Don't
3480 declare for gcc newer than 5.0.
3481 (memset): Don't test for zero-length __LEN for gcc newer than
3482 5.0.
3483
be970916
JM
34842014-11-27 Joseph Myers <joseph@codesourcery.com>
3485
d88548f4
JM
3486 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3487 size_t for %zu format.
3488
be970916
JM
3489 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3490 difference, not %ju.
3491
3b20fd5c
JM
34922014-11-26 Joseph Myers <joseph@codesourcery.com>
3493
8915eace
JM
3494 * include/libc-internal.h (ignore_value): New macro.
3495 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3496 with ignore_value.
3497
f1a5a0e3
JM
3498 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3499 definition.
3500
59ef1715
JM
3501 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3502 pthread_cleanup_push to void *.
3503
a6f3079b
JM
3504 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3505 Undefine.
3506
706688aa
JM
3507 [BZ #16619]
3508 [BZ #16740]
3509 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3510 instead of 1L << 52.
3511
12da14a5
JM
3512 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3513 * libio/bug-rewind2.c (do_test): Likewise.
3514
bd5dadac
JM
3515 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3516 * debug/test-strcpy_chk-ifunc.c: Likewise.
3517 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3518 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3519 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3520 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3521 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3522 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3523 * Rules [$(multi-arch) = no] (tests): Do not filter out
3524 $(tests-ifunc).
3525 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3526 * debug/Makefile (tests-ifunc): Remove variable.
3527 (tests): Do not add $(tests-ifunc).
3528 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3529 (tests): Do not add $(tests-ifunc).
3530 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3531 [TEST_IFUNC]: Remove conditionals.
3532 * string/test-string.h (TEST_IFUNC): Remove macro.
3533 [TEST_IFUNC]: Remove conditionals.
3534
3b20fd5c
JM
3535 * string/test-strchr.c [!WIDE] (L): New macro.
3536 [WIDE] (L): Likewise.
3537 (check1): Use CHAR instead of char. Use L on string and character
3538 constants.
3539
704f7947
AZ
35402014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3541
3542 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3543 tests.
3544 * sysdeps/powerpc/bits/atomic.h
3545 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3546 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3547 (atomic_exchange_and_add_acq): Likewise.
3548 (atomic_exchange_and_add_rel): Likewise.
3549 * sysdeps/powerpc/powerpc32/bits/atomic.h
3550 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3551 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3552 * sysdeps/powerpc/powerpc64/bits/atomic.h
3553 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3554 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3555
cdcb42d7
TR
35562014-11-26 Torvald Riegel <triegel@redhat.com>
3557
3558 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3559 Change synchronization of __sched_fifo_min_prio and
3560 __sched_fifo_max_prio.
3561 * nptl/pthread_mutexattr_getprioceiling.c
3562 (pthread_mutexattr_getprioceiling): Likewise.
3563 * nptl/pthread_mutexattr_setprioceiling.c
3564 (pthread_mutexattr_setprioceiling): Likewise.
3565 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3566 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3567 Likewise.
3568
c82f5c0c
JM
35692014-11-26 Joseph Myers <joseph@codesourcery.com>
3570
3571 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3572 void.
3573
439e1ad6
JM
35742014-11-25 Joseph Myers <joseph@codesourcery.com>
3575
3576 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3577 third argument const.
3578
b1eda10e
PE
35792014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3580
3581 fnmatch: work around GCC compiler warning bug with uninit var
3582 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3583 This works around a bug with x86-64 GCC 4.9.2 and earlier
3584 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3585 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3586 used uninitialized in this function [-Wmaybe-uninitialized]".
3587
bde2667a
JM
35882014-11-25 Joseph Myers <joseph@codesourcery.com>
3589
3590 * posix/bug-regex31.c (main): Return RES not 0.
3591
5fbb5691
AB
35922014-11-25 Anton Blanchard <anton@samba.org>
3593
3594 * sysdeps/powerpc/bits/atomic.h
3595 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3596
467fec0b
BM
35972014-11-24 Sterling Augustine <saugustine@google.com>
3598
3599 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3600
e9ff8efb
RC
36012014-11-24 Ryan Cumming <etaoins@gmail.com>
3602
3603 [BZ #17608]
3604 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3605
9744496f
JM
36062014-11-24 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #17633]
3609 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3610 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3611 variable.
3612 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3613 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3614
6423d475
WD
36152014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3616
3617 * string/strncpy.c (strncpy): Improve performance by using memset.
3618
36192014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3620
3621 * string/strcpy.c (strcpy):
3622 Improve performance by using strlen and memcpy.
3623
5d178c37
LH
36242014-11-24 Leonhard Holz <leonhard.holz@web.de>
3625
3626 * string/strcoll_l.c (get_next_seq): __always_inline.
3627 * string/strcoll_l.c (do_compare): __always_inline.
3628
279bc5b3
SP
36292014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3630
7a9ebfa1
SP
3631 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3632 defined.
3633 * include/mqueue.h: Likewise.
3634 * include/stdlib.h: Likewise.
3635
4f41c682
SP
3636 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3637 (get_null_defines): Adjust.
3638 * sunrpc/Makefile: Adjust comment.
3639 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3640 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3641 (CFLAGS-interp.c): Likewise.
3642 (CFLAGS-ldconfig.c): Likewise.
3643 (CPPFLAGS-.os): Likewise.
3644 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3645 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3646 * extra-modules.mk (extra-modules.mk): Likewise.
3647 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3648 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3649 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3650 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3651 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3652 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3653 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3654 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3655 * iconvdata/Makefile (CPPFLAGS): Likewise.
3656 (cpp-srcs-left): Add libof for all iconvdata routines.
3657 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3658 * include/assert.h: Likewise.
3659 * include/ctype.h: Likewise.
3660 * include/errno.h: Likewise.
3661 * include/libc-symbols.h: Likewise.
3662 * include/math.h: Likewise.
3663 * include/netdb.h: Likewise.
3664 * include/resolv.h: Likewise.
3665 * include/stdio.h: Likewise.
3666 * include/stdlib.h: Likewise.
3667 * include/string.h: Likewise.
3668 * include/sys/stat.h: Likewise.
3669 * include/wctype.h: Likewise.
3670 * intl/l10nflist.c: Likewise.
3671 * libidn/idn-stub.c: Likewise.
3672 * libio/libioP.h: Likewise.
3673 * nptl/libc_multiple_threads.c: Likewise.
3674 * nptl/pthreadP.h: Likewise.
3675 * posix/regex_internal.h: Likewise.
3676 * resolv/res_hconf.c: Likewise.
3677 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3678 * sysdeps/arm/memmove.S: Likewise.
3679 * sysdeps/arm/sysdep.h: Likewise.
3680 * sysdeps/generic/_itoa.h: Likewise.
3681 * sysdeps/generic/symbol-hacks.h: Likewise.
3682 * sysdeps/gnu/errlist.awk: Likewise.
3683 * sysdeps/gnu/errlist.c: Likewise.
3684 * sysdeps/i386/i586/memcpy.S: Likewise.
3685 * sysdeps/i386/i586/memset.S: Likewise.
3686 * sysdeps/i386/i686/memcpy.S: Likewise.
3687 * sysdeps/i386/i686/memmove.S: Likewise.
3688 * sysdeps/i386/i686/mempcpy.S: Likewise.
3689 * sysdeps/i386/i686/memset.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3702 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3703 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3705 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3706 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3707 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3708 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3709 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3710 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3711 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3712 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3713 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3714 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3715 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3716 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3717 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3718 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3719 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3720 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3721 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3723 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3724 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3726 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3727 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3729 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3730 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3731 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3732 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3733 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3734 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3735 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3736 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3737 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3738 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3741 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3742 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3743 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3744 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3745 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3746 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3747 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3748 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3749 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3750 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3751 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3752 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3753 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3754 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3755 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3756 * sysdeps/posix/closedir.c: Likewise.
3757 * sysdeps/posix/opendir.c: Likewise.
3758 * sysdeps/posix/readdir.c: Likewise.
3759 * sysdeps/posix/rewinddir.c: Likewise.
3760 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3761 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3769 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3772 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3773 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3774 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3776 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3777 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3778 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3779 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3780 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3781 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3782 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3783 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3785 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3787 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3796 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3797 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3798 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3799 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3800 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3801 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3802 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3803 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3804 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3805 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3806 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3807 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3808 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3809 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3810 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3811 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3812 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3814 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3815 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3816 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3817 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3818 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3819 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3820 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3822 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3823 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3824 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3825 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3826 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3827 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3828 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3829 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3830 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3831 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3832 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3833 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3834 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3835 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3836 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3837 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3838 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3839 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3840 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3841 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3842 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3843 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3844 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3845 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3846 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3847 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3848 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3849 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3850 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3851 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3852 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3856 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3858 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3859 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3861 * sysdeps/unix/alpha/sysdep.S: Likewise.
3862 * sysdeps/unix/alpha/sysdep.h: Likewise.
3863 * sysdeps/unix/make-syscalls.sh: Likewise.
3864 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3866 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3867 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3868 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3869 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3870 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3871 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3872 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3873 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3875 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3877 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3878 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3879 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3880 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3881 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3882 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3883 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3884 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3885 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3886 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3887 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3888 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3889 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3893 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3894 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3897 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3898 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3902 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3903 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3904 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3905 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3911 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3914 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3915 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3916 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3917 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3918 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3919 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3920 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3922 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3923 * sysdeps/x86_64/memcpy.S: Likewise.
3924 * sysdeps/x86_64/memmove.c: Likewise.
3925 * sysdeps/x86_64/memset.S: Likewise.
3926 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3927 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3928 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3929 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3930 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3933 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3934 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3935 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3936 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3937 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3938 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3939 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3940 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3941 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3942 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3943 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3944 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3945 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3946 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3947 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3949 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3950 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3951 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3952 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3953 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3955 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3956 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3957 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3958 * sysdeps/x86_64/strcmp.S: Likewise.
3959
76ca86a5
SP
3960 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3961
a3848485
SP
3962 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3963 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3964 * elf/rtld-Rules: Likewise.
3965 * elf/setup-vdso.h: Likewise.
3966 * include/assert.h: Likewise.
3967 * include/bits/stdlib-float.h: Likewise.
3968 * include/errno.h: Likewise.
3969 * include/sys/stat.h: Likewise.
3970 * include/unistd.h: Likewise.
3971 * sysdeps/aarch64/setjmp.S: Likewise.
3972 * sysdeps/alpha/setjmp.S: Likewise.
3973 * sysdeps/arm/__longjmp.S: Likewise.
3974 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3975 * sysdeps/arm/setjmp.S: Likewise.
3976 * sysdeps/arm/sysdep.h: Likewise.
3977 * sysdeps/generic/_itoa.h: Likewise.
3978 * sysdeps/generic/dl-sysdep.h: Likewise.
3979 * sysdeps/generic/ldsodefs.h: Likewise.
3980 * sysdeps/i386/dl-tls.h: Likewise.
3981 * sysdeps/i386/setjmp.S: Likewise.
3982 * sysdeps/m68k/setjmp.c: Likewise.
3983 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3984 * sysdeps/mach/hurd/opendir.c: Likewise.
3985 * sysdeps/posix/getcwd.c: Likewise.
3986 * sysdeps/posix/opendir.c: Likewise.
3987 * sysdeps/posix/profil.c: Likewise.
3988 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3989 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3990 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3991 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3992 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3995 * sysdeps/s390/dl-tls.h: Likewise.
3996 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3997 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3998 * sysdeps/sh/sh3/setjmp.S: Likewise.
3999 * sysdeps/sh/sh4/setjmp.S: Likewise.
4000 * sysdeps/unix/alpha/sysdep.h: Likewise.
4001 * sysdeps/unix/arm/sysdep.S: Likewise.
4002 * sysdeps/unix/i386/sysdep.S: Likewise.
4003 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4004 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4005 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4006 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4007 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4008 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4009 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4010 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4011 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4012 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4013 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4014 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4015 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4018 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4021 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4022 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4026 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4027 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4028 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4030 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4031 * sysdeps/x86_64/setjmp.S: Likewise.
4032
a109996e
SP
4033 * include/math.h: Use IS_IN instead of IS_IN_libm.
4034 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4046 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4054 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4055 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4056 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4057 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4058 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4059 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4061 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4062 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4063 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4064 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4065 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4066 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4068 Likewise.
4069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4070 Likewise.
4071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4072 Likewise.
4073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4074 Likewise.
4075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4076 Likewise.
4077 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4078 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4079 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4080 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4081 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4082 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4088 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4090 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4091 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4093 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4094 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4095 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4096 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4097 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4098 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4099 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4100 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4101 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4103 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4104
ce9f10f7
SP
4105 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4106 * nptl/pthreadP.h: Likewise.
4107 * nptl_db/structs.def: Likewise.
4108 * sysdeps/arm/sysdep.h: Likewise.
4109 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4110 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4111 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4112 * sysdeps/unix/alpha/sysdep.h: Likewise.
4113 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4114 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4115 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4116 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4117 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4118 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4120 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4121 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4122 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4123 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4124 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4125 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4126 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4129 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4130 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4131 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4134 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4135 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4136 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4137 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4138 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4139
016afc75
SP
4140 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4141 * nptl/pthreadP.h: Likewise.
4142 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4143 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4144 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4145 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4146 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4147 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4148 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4149 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4150 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4151 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4152 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4153 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4155 Likewise.
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4157 Likewise.
4158 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4159 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4160 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4163 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4164 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4166
9b42a0b3
SP
4167 * dlfcn/dladdr.c: Use IS_IN.
4168 * dlfcn/dladdr1.c: Likewise.
4169 * dlfcn/dlclose.c: Likewise.
4170 * dlfcn/dlerror.c: Likewise.
4171 * dlfcn/dlinfo.c: Likewise.
4172 * dlfcn/dlmopen.c: Likewise.
4173 * dlfcn/dlopen.c: Likewise.
4174 * dlfcn/dlsym.c: Likewise.
4175 * dlfcn/dlvsym.c: Likewise.
4176
85f36372
SP
4177 * include/ifaddrs.h: Use IS_IN.
4178 * inet/check_pf.c: Likewise.
4179 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4180 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4181
fb6784e3
SP
4182 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4183 IS_IN_ldconfig.
4184 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4185 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4186
2886d2d1
SP
4187 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4188 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4189 IS_IN (libc).
4190
9a484857
SP
4191 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4192
a10178bd
SP
4193 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4194 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4195 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4196 * include/libc-symbols.h (IS_IN_LIB): New macro.
4197 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4198 * include/netdb.h: Likewise.
4199 * include/stap-probe.h: Remove all uses of IN_LIB.
4200
279bc5b3
SP
4201 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4202 instead of IN_MODULE.
4203 * include/libc-symbols.h (IN_MODULE): Define using
4204 MODULE_NAME.
4205 (PASTE_NAME, PASTE_NAME1): New macros.
4206 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4207 of IN_LIB.
4208 (STAP_PROBE_ASM): Likewise.
4209
e0cfa510
ST
42102014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4211
4212 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4213 __mach_init in dlopened libc.
4214
34d97d87
MF
42152014-11-22 Mike Frysinger <vapier@gentoo.org>
4216
4217 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4218 * sysdeps/arm/preconfigure: Regenerate.
4219
33cd1f74
RM
42202014-11-21 Roland McGrath <roland@hack.frob.com>
4221
4222 * nptl/pthread_create.c (__pthread_create_2_1): Set
4223 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4224 when copying values from IATTR into PD.
4225
8c230039
WN
42262014-11-21 Will Newton <will.newton@linaro.org>
4227 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4228
6d3db89b
AP
4229 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4230 Refactor inline-asm. Also add comment.
4231
01194ba1
WN
4232 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4233 ElfW macro instead of hardcoded Elf64 types.
4234 (la_aarch64_gnu_pltenter): Likewise.
4235 * sysdeps/aarch64/dl-machine.h
4236 (elf_machine_runtime_setup): Use ElfW(Addr).
4237
8c230039
WN
4238 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4239 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4240 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4241 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4242 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4243 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4244 (R_AARCH64_TLS_DTPMOD): This.
4245 (R_AARCH64_TLS_DTPREL64): Rename to ...
4246 (R_AARCH64_TLS_DTPREL): This.
4247 (R_AARCH64_TLS_TPREL64): Rename to ...
4248 (R_AARCH64_TLS_TPREL): This.
4249 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4250 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4251 R_AARCH64_TLS_TPREL64.
4252 (elf_machine_rela): Likewise.
4253
0d79fa53
TR
42542014-11-21 Torvald Riegel <triegel@redhat.com>
4255
4256 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4257 by setting it to 0. 64b atomics are not supported currently.
4258
b59d114b
AO
42592014-11-21 Alexandre Oliva <aoliva@redhat.com>
4260
4261 [BZ #16469]
4262 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4263 search domain names.
4264
f3d945d5
AO
42652014-11-21 Alexandre Oliva <aoliva@redhat.com>
4266
4267 [BZ #16469]
4268 * NEWS: Update.
4269 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4270 trailing dot.
4271 * posix/tst-getaddrinfo5.c: New.
4272 * posix/Makefile (tests): Add it.
4273
49698902
AO
42742014-11-21 Alexandre Oliva <aoliva@redhat.com>
4275
4276 [BZ #14498]
4277 * NEWS: Fixed.
4278 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4279 after parsing line but before break_if_match.
4280 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4281 if there is a protocol mismatch.
4282
81959214
MS
42832014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4284
4285 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4286 because the potential race is on the user-supplied stream.
4287
7729e0e9
AO
42882014-11-21 Alexandre Oliva <aoliva@redhat.com>
4289
4290 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4291 string literal if not passed a buffer.
4292 * manual/job.texi (ctermid): Update reasoning, note deviation
4293 from posix, suggest mtasurace when not passed a buffer, for
4294 future non-preliminary safety notes.
4295
a4ea5e28
AO
42962014-11-21 Alexandre Oliva <aoliva@redhat.com>
4297
4298 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4299 of not passing it a buffer.
4300 Reported by Peng Haitao.
4301
a2b581cb
AO
43022014-11-21 Alexandre Oliva <aoliva@redhat.com>
4303
4304 * manual/Makefile ($(objpfx)stamp-summary): Require
4305 check-safety.sh to pass.
4306 * manual/check-safety.sh: Wish for verification that every
4307 @deftypefn and @deftypefun is followed by a @safety remark.
4308
f214ff74
RM
43092014-11-20 Roland McGrath <roland@hack.frob.com>
4310
7f0dfae0
RM
4311 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4312
2f531bbb
RM
4313 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4314 PTHREAD_CANCEL_ASYNCHRONOUS.
4315 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4316 send SIGCANCEL.
4317
f214ff74
RM
4318 * nptl/default-sched.h: New file.
4319 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4320 * nptl/pthread_create.c: Include it.
4321 (__pthread_create_2_1): Use collect_default_sched instead of making
4322 Linux syscalls here directly.
4323
e37c91d4
TR
43242014-11-20 Torvald Riegel <triegel@redhat.com>
4325
4326 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4327 __pthread_once): Use C11 atomics.
4328
1eccfecd
TR
43292014-11-20 Torvald Riegel <triegel@redhat.com>
4330
4331 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4332
ff871426
TR
43332014-11-20 Torvald Riegel <triegel@redhat.com>
4334
4335 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4336 atomic_thread_fence_acquire, atomic_thread_fence_release,
4337 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4338 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4339 atomic_compare_exchange_weak_relaxed,
4340 atomic_compare_exchange_weak_acquire,
4341 atomic_compare_exchange_weak_release,
4342 atomic_exchange_acquire, atomic_exchange_release,
4343 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4344 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4345 atomic_fetch_and_acquire,
4346 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4347
1ea339b6
TR
43482014-11-20 Torvald Riegel <triegel@redhat.com>
4349
4350 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4351 USE_ATOMIC_COMPILER_BUILTINS): Define.
4352 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4353 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4354 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4355 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4356 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4357 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4358 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4359 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4360 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4361 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4362 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4363 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4364 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4365 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4366 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4367 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4368 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4369 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4370 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4371 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4372 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4373 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4374 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4375 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4376 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4377 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4378 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4379 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4380 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4381 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4382 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4383 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4384 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4385 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4386 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4387 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4388 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4389 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4390 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4391 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4392
cbd463e2
RM
43932014-11-19 Roland McGrath <roland@hack.frob.com>
4394
d960211f
RM
4395 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4396 the sched_priority value here. It was already checked when the user
4397 called pthread_attr_setschedparam.
4398
cbd463e2
RM
4399 * nptl/tst-bad-schedattr.c: New file.
4400 * nptl/Makefile (tests): Add it.
4401
a39208bd
CD
44022014-11-19 Carlos O'Donell <carlos@redhat.com>
4403 Florian Weimer <fweimer@redhat.com>
4404 Joseph Myers <joseph@codesourcery.com>
4405 Adam Conrad <adconrad@0c3.net>
4406 Andreas Schwab <schwab@suse.de>
4407 Brooks <bmoses@google.com>
4408
4409 [BZ #17625]
4410 * wordexp-test.c (__dso_handle): Add prototype.
4411 (__register_atfork): Likewise.
4412 (__app_register_atfork): New function.
4413 (registered_forks): New global.
4414 (register_fork): New function.
4415 (test_case): Add 3 new tests for WRDE_CMDSUB.
4416 (main): Call __app_register_atfork.
4417 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4418 fork count is non-zero fail the test.
4419 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4420 is set.
4421 (parse_dollars): Remove check for WRDE_NOCMD.
4422 (parse_dquote): Likewise.
4423
9cd47470
SP
44242014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4425
130ac68c
SP
4426 * Makeconfig (built-modules): List non-library modules to be
4427 built.
4428 (module-cppflags): Include libc-modules.h for
4429 everything except shlib-versions.v.i.
4430 (CPPFLAGS): Use it.
4431 (before-compile): Add libc-modules.h.
4432 ($(common-objpfx)libc-modules.h,
4433 $(common-objpfx)libc-modules.stmp): New targets.
4434 (common-generated): Add libc-modules.h and libc-modules.stmp.
4435 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4436 * include/libc-symbols.h: Don't include libc-modules.h.
4437 * include/libc-modules.h: Remove file.
4438 * scripts/gen-libc-modules.awk: New script to generate
4439 libc-modules.h.
4440 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4441 Depend on libc-modules.stmp.
4442
286663c3
SP
4443 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4444
9cd47470
SP
4445 * Makeconfig (in-module): Get value of libof set for the
4446 translation unit.
4447 (CPPFLAGS): Use $(in-module).
4448 * Makerules: Don't suffix routine names for nonlib.
4449 * include/libc-modules.h: New file.
4450 * include/libc-symbols.h: Include libc-modules.h
4451 (IS_IN): New macro to replace IS_IN_* macros.
4452 * elf/Makefile: Set libof-* for each routine.
4453 * elf/rtld-Rules: Likewise.
4454 * extra-modules.mk: Likewise.
4455 * iconv/Makefile: Likewise.
4456 * iconvdata/Makefile: Likewise.
4457 * locale/Makefile: Likewise.
4458 * malloc/Makefile: Likewise.
4459 * nss/Makefile: Likewise.
4460 * sysdeps/gnu/Makefile: Likewise.
4461 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4462 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4463 * sysdeps/s390/s390-64/Makefile: Likewise.
4464 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4465 CPPFLAGS for nscd instead of nonlib.
4466
32fed10f
RM
44672014-11-18 Roland McGrath <roland@hack.frob.com>
4468
d71035bd
RM
4469 * nptl/createthread.c: New file.
4470
6540b991
RM
4471 * nptl/createthread.c: Moved ...
4472 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4473
32fed10f
RM
4474 * nptl/createthread.c: Add proper top-line comment.
4475 (do_clone): Folded into ...
4476 (create_thread): ... here. Take new arguments STOPPED_START and
4477 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4478 increment __nptl_threads, do event-reporting logic, do
4479 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4480 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4481 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4482 just send SIGCANCEL.
4483 * nptl/pthread_create.c: Forward-declare create_thread before
4484 including createthread.c.
4485 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4486 declaration, and new macro START_THREAD_SELF to replace argument.
4487 Remove return statement.
4488 (report_thread_creation): New function.
4489 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4490 synchronization logic, and __nptl_nthreads increment here, around
4491 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4492 PD->parent_cancelhandling here, before create_thread. When
4493 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4494 __deallocate_stack, and ENOMEM translation here.
4495
107a5bf0
JM
44962014-11-18 Joseph Myers <joseph@codesourcery.com>
4497
4498 [BZ #17616]
4499 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4500 (mptwo): Rename to __mptwo.
4501 (__inv): Use __mptwo instead of mptwo.
4502 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4503 (mptwo): Rename to __mptwo.
4504 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4505 of mpone and __mptwo instead of mptwo.
4506 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4507 instead of mpone.
4508 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4509 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4510 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4511 of mpone and __mptwo instead of mptwo.
4512 (__mpranred): Use __mpone instead of mpone.
4513 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4514 variable.
4515 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4516 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4517 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4518 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4519 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4520 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4521 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4522 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4523 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4524 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4525 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4526 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4527 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4528 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4529 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4530 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4532 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4533 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4534
3b679ab3
TV
45352014-11-18 Tom de Vries <tom@codesoucery.com>
4536
4537 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4538 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4539
45402014-11-17 Richard Henderson <rth@redhat.com>
4541
4542 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4543 (_FP_PACK_RAW_2): Remove.
4544 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4545 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4546 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4547 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4548 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4549 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4550 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4551 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4552 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4553 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4554 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4555 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4556 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4557 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4558 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4559 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4560
0781a777
RM
45612014-11-14 Roland McGrath <roland@hack.frob.com>
4562
4563 * signal/signal.h [__USE_MISC]
4564 (struct sigvec): Remove type.
4565 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4566 (sigvec): Remove declaration.
4567 * sysdeps/posix/sigvec.c: Moved ...
4568 * signal/sigvec.c: ... here, replacing old file.
4569 (struct sigvec): New type, copied from old signal.h definition.
4570 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4571 (__sigvec): Convert definition to prototype.
4572 (sigvec): Replace weak_alias with compat_symbol.
4573 * signal/Versions (libc: GLIBC_2.21): New version set.
4574 * include/signal.h: Remove __sigvec declaration.
4575 * sysdeps/unix/bsd/sigvec.c: Remove file.
4576 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4577 * manual/signal.texi (BSD Handler): Remove subsection.
4578 Move siginterrupt up to ...
4579 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4580 (Blocking in BSD): Fold subsection into its parent.
4581 * NEWS: Mention sigvec removal.
4582
a4733812
JM
45832014-11-14 Joseph Myers <joseph@codesourcery.com>
4584
5ae4fe60
JM
4585 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4586 (DLA_FMS): Make definition conditional only on [__FMA4__].
4587 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4588 definition.
4589
6a0dd472
JM
4590 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4591 Make definition conditional only on [PROF].
4592 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4593 definition.
4594 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4595 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4596
a4733812
JM
4597 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4598 !__GNUC__].
4599 * include/signal.h (__sigpause): Move declaration above call to
4600 libc_hidden_proto.
4601 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4602 variable.
4603 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4604 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4605
cf7246dd
DM
46062014-11-14 David S. Miller <davem@davemloft.net>
4607
4608 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4609 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4610
c1b0aadc
JM
46112014-11-14 Joseph Myers <joseph@codesourcery.com>
4612
4863355a
JM
4613 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4614 * configure: Regenerated.
4615 * manual/install.texi (Tools for Compilation): Document a
4616 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4617 compiler verified to work.
4618 * INSTALL: Regenerated.
4619
c1b0aadc
JM
4620 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4621 redeclare with asm name.
4622 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4623 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4624 including <string.h>.
4625 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4626 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4627 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4629 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4630 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4631 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4632
2a1cfd94
JM
46332014-11-13 Joseph Myers <joseph@codesourcery.com>
4634
bf438382
JM
4635 * stdlib/strtol.c (__strtol): Use prototype definition.
4636
2a1cfd94
JM
4637 [BZ #17594]
4638 * stdlib/strtol.c (SYM__): New macro.
4639 (SYM__1): Likewise.
4640 (__strtol): Likewise.
4641 (strtol): Rename to __strtol and define as weak alias of
4642 __strtol. Use libc_hidden_weak.
4643
20ed0d26
SL
46442014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4645
4646 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4647 Use numbered labels in inline assembly.
4648
53244a4e
SL
46492014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4650
4651 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4652 Add setjmp LIBC_PROBE.
4653 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4654 Likewise.
4655 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4656 Add longjmp, longjmp_target LIBC_PROBE.
4657 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4658 Likewise.
4659
47df8251
SL
46602014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4661
4662 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4663 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4664 to get rid of unused variable warning.
4665
618cebef
SL
46662014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4667
4668 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4669 Check for unwind_backtrace == NULL only in SHARED case.
4670 (__backchain_backtrace): Compile only in SHARED case.
4671 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4672 Likewise.
4673 (__backchain_backtrace): Declare as static.
4674
c6aab2cb
RM
46752014-11-12 Roland McGrath <roland@hack.frob.com>
4676
4677 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4678 (__libc_multiple_threads_ptr): Variable moved ...
4679 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4680
5a6fa4d7
JM
46812014-11-12 Joseph Myers <joseph@codesourcery.com>
4682
24f4f825
JM
4683 * conform/GlibcConform.pm: New file.
4684 * conform/conformtest.pl: Use GlibcConform module.
4685 * conform/linknamespace.pl: New file.
4686 * conform/list-header-symbols.pl: Likewise.
4687 * conform/Makefile (linknamespace-symlists-base): New variable.
4688 (linknamespace-symlists-tests): Likewise.
4689 (linknamespace-header-base): Likewise.
4690 (linknamespace-header-tests): Likewise.
4691 (tests-special): Add new tests.
4692 ($(linknamespace-symlists-tests)): New rule.
4693 (linknamespace-libs): New variable.
4694 ($(objpfx)symlist-stdlibs): New rule.
4695 ($(linknamespace-header-tests)): Likewise.
4696 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4697 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4698 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4699 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4700 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4701 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4702 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4703 (test-xfail-ISO/math.h/linknamespace): Likewise.
4704 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4705 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4706 (test-xfail-ISO/time.h/linknamespace): Likewise.
4707 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4708 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4709 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4710 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4711 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4712 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4713 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4714 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4715 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4716 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4717 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4718 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4719 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4720 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4721 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4722 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4723 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4724 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4725 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4726 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4727 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4728 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4729 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4730 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4731 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4732 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4733 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4734 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4735 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4736 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4737 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4738 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4739 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4740 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4741 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4742 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4743 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4744 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4745 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4746 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4747 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4748 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4749 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4750 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4751 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4752 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4753 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4754 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4755 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4756 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4757 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4758 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4759 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4760 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4761 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4762 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4763 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4764 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4765 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4766 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4767 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4768 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4769 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4770 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4771 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4772 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4773 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4774 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4775 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4776 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4777 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4778 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4779 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4780 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4781 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4782 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4783 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4784 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4785 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4787 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4788 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4789 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4790 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4791 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4792 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4793 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4794 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4795 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4796 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4797 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4798 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4799 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4800 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4801 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4802 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4803 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4804 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4805 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4806 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4807 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4808 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4809 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4810 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4811 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4812 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4813 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4814 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4815 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4816 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4817 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4818 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4819 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4820 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4821 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4822 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4823 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4824 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4825 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4826 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4827 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4828 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4829 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4830 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4831 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4832 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4833 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4834 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4835 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4836 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4837 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4838 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4839 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4840 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4841 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4842 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4843 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4844 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4845 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4846 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4847 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4848 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4849 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4850 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4851 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4852 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4853 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4854 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4855 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4856 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4857
cc67478e
JM
4858 [BZ #17589]
4859 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4860 of fgets_unlocked.
4861
9975e3d3
JM
4862 [BZ #17585]
4863 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4864 (memmem): Rename to __memmem and define as weak alias of
4865 __memmem. Use libc_hidden_weak.
4866 (__memmem): Use libc_hidden_def.
4867 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4868 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4869 memmem.
4870
c4eae752
JM
4871 [BZ #17582]
4872 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4873 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4874 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4875 and define as weak alias of __fgets_unlocked. Use
4876 libc_hidden_weak.
4877 (__fgets_unlocked): Use libc_hidden_def.
4878 * include/stdio.h (__fgets_unlocked): Declare. Use
4879 libc_hidden_proto.
4880 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4881 __fgets_unlocked instead of fgets_unlocked.
4882 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4883 (GET_NPROCS_CONF_PARSER): Likewise.
4884 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4885 (GET_NPROCS_CONF_PARSER): Likewise.
4886
01cad84e
JM
4887 [BZ #17574]
4888 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4889 weak alias of __wmemset. Use libc_hidden_weak.
4890 (__wmemset): Use libc_hidden_def.
4891 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4892 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4893 of wmemset.
4894
939da411
JM
4895 [BZ #17573]
4896 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4897 with asm name __mempcpy.
4898 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4899
293d9a41
JM
4900 [BZ #17572]
4901 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4902 and define as weak alias of __rawmemchr.
4903 (__rawmemchr): Do not define as strong alias of rawmemchr.
4904
bef8fd60
JM
4905 [BZ #17571]
4906 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4907 alias of __qsort_r.
4908 (qsort): Call __qsort_r instead of qsort_r.
4909 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4910 (__qsort_r): Declare. Call libc_hidden_proto.
4911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4912 instead of qsort_r.
4913 * nscd/gai.c (__qsort_r): Define to qsort_r.
4914 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4915 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4916 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4917
c52ff39e
JM
4918 [BZ #17570]
4919 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4920 define as weak alias of __malloc_info.
4921
2f5c1b00
JM
4922 [BZ #17584]
4923 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4924 as weak alias of __rewinddir. Don't use libc_hidden_def.
4925 (__rewinddir): Use libc_hidden_def.
4926 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4927 as weak alias of __rewinddir. Don't use libc_hidden_def.
4928 (__rewinddir): Use libc_hidden_def.
4929 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4930 weak alias of __rewinddir. Don't use libc_hidden_def.
4931 (__rewinddir): Use libc_hidden_def.
4932 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4933 (__rewinddir): Use libc_hidden_proto.
4934 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4935 rewinddir.
4936 (__getcwd): Use __rewinddir instead of rewinddir.
4937
5a6fa4d7
JM
4938 [BZ #17583]
4939 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4940 alias of __fileno. Use libc_hidden_weak.
4941 (__fileno): Use libc_hidden_def.
4942 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4943 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4944 alias of __ftello.
4945 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4946 __ftello.
4947 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4948 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4949 libc_hidden_def.
4950 (fread_unlocked): Don't use libc_hidden_ver.
4951 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4952 and define as weak alias of __fread_unlocked. Don't use
4953 libc_hidden_def.
4954 (__fread_unlocked): Use libc_hidden_def.
4955 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4956 (ftello): Don't use libc_hidden_proto.
4957 (__ftello): Declare. Use libc_hidden_proto.
4958 (fread_unlocked): Don't use libc_hidden_proto.
4959 (__fread_unlocked): Declare. Use libc_hidden_proto.
4960 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4961 and __ftello instead of fileno, fread_unlocked and ftello.
4962
2581b98e
SP
49632012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4964
4965 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4966 GOT12.
4967 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4968 Likewise.
4969 (_dl_start_user): Likewise.
4970 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4971
533bb7c2
SP
49722014-11-12 Carlos O'Donell <carlos@redhat.com>
4973 Siddhesh Poyarekar <siddhesh@redhat.com>
4974
4975 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4976 Move argv and envp down instead of moving argc up.
4977 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4978
fffa1cf8
LH
49792014-11-12 Leonhard Holz <leonhard.holz@web.de>
4980
4981 [BZ #17506]
4982 * test-skeleton.c (main): Return successful if one of
4983 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4984 * string/tst-strcoll-overflow.c: Define expected status.
4985
fb89b46d
TU
49862014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4987
4988 [BZ #17475]
4989 * locale/iso-639.def: Define Bhili and Tulu language codes.
4990
5c40c3ba
AH
49912014-11-11 Alan Hayward <alan.hayward@arm.com>
4992
4993 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4994
b17fe01b 49952014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4996
4997 [BZ #17555]
4998 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4999
bd805071
AS
50002014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5001
5002 * configure.ac: Updated check of minimal required version to
5003 2.22.
5004 * manual/install.texi (Tools for Compilation): Updated version
5005 number.
5006 * configure: Regenerated.
5007 * INSTALL: Likewise.
5008
1400983e
AS
50092014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5010
5011 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5012 __tls_get_addr.
5013
2c46a66a
JM
50142014-11-07 Joseph Myers <joseph@codesourcery.com>
5015
5016 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5017 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5018 (__waitpid): Don't define as alias. Use libc_hidden_def not
5019 libc_hidden_weak.
5020 (waitpid): Define as alias of __waitpid.
5021 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5022 __waitpid.
5023 (__waitpid): Don't define as alias. Use libc_hidden_def not
5024 libc_hidden_weak.
5025 (waitpid): Define as alias of __waitpid.
5026 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5027 __libc_waitpid alias.
5028 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5029 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5030 Likewise.
5031 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5033 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5034 alias.
5035 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5036 __waitpid.
5037 (__waitpid): Don't define as alias. Use libc_hidden_def not
5038 libc_hidden_weak.
5039 (waitpid): Define as alias of __waitpid.
5040
da53d6db
CD
50412014-11-06 Carlos O'Donell <carlos@redhat.com>
5042
a2887bdb
CD
5043 * manual/llio.texi: Add comment that write safety has been
5044 fixed in Linux.
5045
da53d6db
CD
5046 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5047 (localplt-build-dso): Add elf/ld.so.
5048 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5049 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5050 and free for ld.so.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5052 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5054 Likewise.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5058 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5059 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5060 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5061 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5062 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5063 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5064 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5065 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5066 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5067 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5068
9cf27b8d
JM
50692014-11-05 Joseph Myers <joseph@codesourcery.com>
5070
5071 [BZ #14132]
5072 * include/libc-symbols.h (INTUSE): Remove macro.
5073 (INTDEF): Likewise.
5074 (INTVARDEF): Likewise.
5075 (_INTVARDEF): Likewise.
5076 (INTDEF2): Likewise.
5077 (INTVARDEF2): Likewise.
5078 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5079 rtld_hidden_def instead of INTVARDEF.
5080 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5081 (_dl_starting_up_internal): Remove declaration.
5082 (_dl_starting_up): Use rtld_hidden_proto.
5083 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5084 declaration.
5085 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5086 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5087 _dl_starting_up.
5088 * elf/dl-writev.h (_dl_writev): Likewise.
5089 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5090 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5091 _dl_starting_up_internal.
5092
af83568d
AZ
50932014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5094
5095 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5096 test-skeleton.c.
5097
b01ee67c
WN
50982014-11-05 Will Newton <will.newton@linaro.org>
5099
5100 * benchtests/Makefile: (bench-malloc): Add malloc thread
5101 scalability benchmark.
5102 * benchtests/bench-malloc-threads.c: New file.
5103
be9d4ccc
RE
51042014-11-05 Richard Earnshaw <rearnsha@arm.com>
5105
5106 * sysdeps/aarch64/strchrnul.S: New file.
5107
7110166d
AZ
51082014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5109
5110 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5111 definition.
5112 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5113 Likwise.
5114 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5115 Likewise.
5116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5117 Likewise.
5118 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5119 Likewise.
5120 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5121 Likewise.
5122
51232014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5124
5125 * catgets/test-gencat.c: Use test-skeleton.c.
5126 * catgets/tst-catgets.c: Likewise.
5127 * csu/tst-empty.c: Likewise.
5128 * elf/tst-audit2.c: Likewise.
5129 * elf/tst-global1.c: Likewise.
5130 * elf/tst-pathopt.c: Likewise.
5131 * elf/tst-piemod1.c: Likewise.
5132 * elf/tst-tls10.c: Likewise.
5133 * elf/tst-tls11.c: Likewise.
5134 * elf/tst-tls12.c: Likewise.
5135 * gnulib/tst-gcc.c: Likewise.
5136 * iconvdata/tst-e2big.c: Likewise.
5137 * iconvdata/tst-loading.c: Likewise.
5138 * iconv/tst-iconv1.c: Likewise.
5139 * iconv/tst-iconv2.c: Likewise.
5140 * inet/test-inet6_opt.c: Likewise.
5141 * inet/tst-gethnm.c: Likewise.
5142 * inet/tst-network.c: Likewise.
5143 * inet/tst-ntoa.c: Likewise.
5144 * intl/tst-codeset.c: Likewise.
5145 * intl/tst-gettext2.c: Likewise.
5146 * intl/tst-gettext3.c: Likewise.
5147 * intl/tst-ngettext.c: Likewise.
5148 * intl/tst-translit.c: Likewise.
5149 * io/test-stat.c: Likewise.
5150 * libio/test-fmemopen.c: Likewise.
5151 * libio/tst-freopen.c: Likewise.
5152 * libio/tst-sscanf.c: Likewise.
5153 * libio/tst-ungetwc1.c: Likewise.
5154 * libio/tst-ungetwc2.c: Likewise.
5155 * libio/tst-widetext.c: Likewise.
5156 * localedata/tst-ctype.c: Likewise.
5157 * localedata/tst-digits.c: Likewise.
5158 * localedata/tst-leaks.c: Likewise.
5159 * localedata/tst-mbswcs1.c: Likewise.
5160 * localedata/tst-mbswcs2.c: Likewise.
5161 * localedata/tst-mbswcs3.c: Likewise.
5162 * localedata/tst-mbswcs4.c: Likewise.
5163 * localedata/tst-mbswcs5.c: Likewise.
5164 * localedata/tst-setlocale.c: Likewise.
5165 * localedata/tst-trans.c: Likewise.
5166 * localedata/tst-wctype.c: Likewise.
5167 * localedata/tst-xlocale1.c: Likewise.
5168 * login/tst-grantpt.c: Likewise.
5169 * malloc/tst-calloc.c: Likewise.
5170 * malloc/tst-malloc.c: Likewise.
5171 * malloc/tst-mallocstate.c: Likewise.
5172 * malloc/tst-mcheck.c: Likewise.
5173 * malloc/tst-mtrace.c: Likewise.
5174 * malloc/tst-obstack.c: Likewise.
5175 * math/atest-exp2.c: Likewise.
5176 * math/atest-exp.c: Likewise.
5177 * math/atest-sincos.c: Likewise.
5178 * math/test-matherr.c: Likewise.
5179 * math/test-misc.c: Likewise.
5180 * math/test-powl.c: Likewise.
5181 * math/tst-definitions.c: Likewise.
5182 * misc/tst-dirname.c: Likewise.
5183 * misc/tst-efgcvt.c: Likewise.
5184 * misc/tst-fdset.c: Likewise.
5185 * misc/tst-hsearch.c: Likewise.
5186 * misc/tst-mntent2.c: Likewise.
5187 * nptl/tst-sem7.c: Likewise.
5188 * nptl/tst-sem8.c: Likewise.
5189 * nptl/tst-sem9.c: Likewise.
5190 * nss/test-netdb.c: Likewise.
5191 * posix/tst-fnmatch.c: Likewise.
5192 * posix/tst-getlogin.c: Likewise.
5193 * posix/tst-gnuglob.c: Likewise.
5194 * posix/tst-mmap.c: Likewise.
5195 * pwd/tst-getpw.c: Likewise.
5196 * resolv/tst-inet_ntop.c: Likewise.
5197 * rt/tst-timer.c: Likewise.
5198 * stdio-common/test-fseek.c: Likewise.
5199 * stdio-common/test-popen.c: Likewise.
5200 * stdio-common/test-vfprintf.c: Likewise.
5201 * stdio-common/tst-cookie.c: Likewise.
5202 * stdio-common/tst-fileno.c: Likewise.
5203 * stdio-common/tst-gets.c: Likewise.
5204 * stdio-common/tst-obprintf.c: Likewise.
5205 * stdio-common/tst-perror.c: Likewise.
5206 * stdio-common/tst-sprintf2.c: Likewise.
5207 * stdio-common/tst-sprintf3.c: Likewise.
5208 * stdio-common/tst-sprintf.c: Likewise.
5209 * stdio-common/tst-swprintf.c: Likewise.
5210 * stdio-common/tst-tmpnam.c: Likewise.
5211 * stdio-common/tst-unbputc.c: Likewise.
5212 * stdio-common/tst-wc-printf.c: Likewise.
5213 * stdlib/tst-environ.c: Likewise.
5214 * stdlib/tst-fmtmsg.c: Likewise.
5215 * stdlib/tst-limits.c: Likewise.
5216 * stdlib/tst-rand48-2.c: Likewise.
5217 * stdlib/tst-rand48.c: Likewise.
5218 * stdlib/tst-random2.c: Likewise.
5219 * stdlib/tst-random.c: Likewise.
5220 * stdlib/tst-strtol.c: Likewise.
5221 * stdlib/tst-strtoll.c: Likewise.
5222 * stdlib/tst-tls-atexit.c: Likewise.
5223 * stdlib/tst-xpg-basename.c: Likewise.
5224 * string/test-ffs.c: Likewise.
5225 * string/tst-bswap.c: Likewise.
5226 * string/tst-inlcall.c: Likewise.
5227 * string/tst-strtok.c: Likewise.
5228 * string/tst-strxfrm.c: Likewise.
5229 * sysdeps/x86_64/tst-audit10.c: Likewise.
5230 * sysdeps/x86_64/tst-audit3.c: Likewise.
5231 * sysdeps/x86_64/tst-audit4.c: Likewise.
5232 * sysdeps/x86_64/tst-audit5.c: Likewise.
5233 * time/tst-ftime_l.c: Likewise.
5234 * time/tst-getdate.c: Likewise.
5235 * time/tst-mktime3.c: Likewise.
5236 * time/tst-mktime.c: Likewise.
5237 * time/tst-posixtz.c: Likewise.
5238 * time/tst-strptime2.c: Likewise.
5239 * time/tst-strptime3.c: Likewise.
5240 * wcsmbs/tst-btowc.c: Likewise.
5241 * wcsmbs/tst-mbrtowc.c: Likewise.
5242 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5243 * wcsmbs/tst-wchar-h.c: Likewise.
5244 * wcsmbs/tst-wcpncpy.c: Likewise.
5245 * wcsmbs/tst-wcrtomb.c: Likewise.
5246 * wcsmbs/tst-wcsnlen.c: Likewise.
5247 * wcsmbs/tst-wcstof.c: Likewise.
5248
2004e7fb
JM
52492014-11-04 Joseph Myers <joseph@codesourcery.com>
5250
ab97ee8f
JM
5251 [BZ #14132]
5252 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5253 INTDEF.
5254 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5255 declaration.
5256 (_dl_mcount): Use rtld_hidden_proto.
5257 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5258 _dl_mcount.
5259 * elf/rtld.c (_rtld_global_ro): Likewise.
5260
c5684fdb
JM
5261 [BZ #14132]
5262 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5263 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5264 of _dl_init_internal.
5265 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5266 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5267 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5268 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5269 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5270 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5271 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5272 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5273 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5274 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5275 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5276 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5277 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5278 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5279 * sysdeps/tile/dl-start.S (_start): Likewise.
5280 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5281 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5282
4243cbea
JM
5283 [BZ #14132]
5284 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5285 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5286 (rtld_progname): Make macro definition unconditional.
5287 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5288 INTDEF.
5289 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5290 (dl_main): Likewise.
5291 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5292 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5293 instead of _dl_argv_internal.
5294 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5295 __GI__dl_argv instead of INTUSE(_dl_argv).
5296 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5297 __GI__dl_argv instead of _dl_argv_internal.
5298
2004e7fb
JM
5299 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5300 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5301 macro.
5302 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5303 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5304 New macro.
5305 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5306 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5307 macro.
5308 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5309 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5310
97827bfc
AS
53112014-11-04 Andreas Schwab <schwab@suse.de>
5312
5313 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5314
5e4df284
AZ
53152014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
5317 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5318 mtvsrd instruction in binary form.
5319
04b76b5a
AS
53202014-11-03 Andreas Schwab <schwab@suse.de>
5321
5322 [BZ #17522]
5323 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5324 for less than MB_LEN_MAX use a local buffer of that size.
5325 * libio/tst-fputws.c: New file.
5326 * libio/Makefile (tests): Add tst-fputws.
5327
4c6da7da
JM
53282014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5329
5330 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5331 the size of the fpu_fr.fpu_dregs[] array.
5332
1679ba8e
JM
53332014-11-01 Joseph Myers <joseph@codesourcery.com>
5334
5335 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5336 (__nanosleep): Do not define as alias.
5337 (nanosleep): Define as alias of __nanosleep.
5338 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5339 __libc_nanosleep name.
5340
2626c183
JM
53412014-10-31 Joseph Myers <joseph@codesourcery.com>
5342
5343 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5344 install.texi in comment.
5345
7f981fc2
TR
53462014-10-31 Torvald Riegel <triegel@redhat.com>
5347
5348 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5349 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5350 ... add here and use lwsync or sync ...
5351 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5352 ... and add here using lwsync.
5353
d6f373d2
MF
53542014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5355
5356 * elf/dl-machine-reject-phdr.h: New file.
5357 * elf/dl-load.c: #include that.
5358 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5359 if that returned true.
5360
67c37987
RM
53612014-10-31 Roland McGrath <roland@hack.frob.com>
5362
5363 [BZ #17496]
5364 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5365 gen-as-const-headers chunk. Add a big scare comment after the last
5366 safe place to touch before-compile.
5367
94a42455 53682014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5369
f3f5d895
JM
5370 * manual/install.texi (Tools for Compilation): Update autoconf
5371 version requirements.
5372 * INSTALL: Regenerated.
5373
f62ff286
JM
5374 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5375 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5376 (__libc_pselect): Likewise.
94a42455
JM
5377
5378 [BZ #14138]
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5383
ff9dbdc0
TR
53842014-10-31 Torvald Riegel <triegel@redhat.com>
5385
5386 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5387 correct barrier instruction.
5388 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5389 Likewise.
5390 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5391 Likewise.
5392
b4f66884
RM
53932014-10-30 Roland McGrath <roland@hack.frob.com>
5394
5395 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5396 after defining inlines. Instead, just use parens to defeat macro
5397 expansion of __isctype in its declaration.
5398
e19c95fd
JM
53992014-10-30 Joseph Myers <joseph@codesourcery.com>
5400
5401 * include/sys/uio.h (__libc_readv): Remove declaration.
5402 (__libc_writev): Likewise.
5403 * misc/readv.c (__libc_readv): Rename to __readv.
5404 (__readv): Do not define as alias.
5405 (readv): Define as alias of __readv.
5406 * misc/writev.c (__libc_writev): Rename to __writev.
5407 (__writev): Do not define as alias.
5408 (writev): Define as alias of __writev.
5409 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5410 (__readv): Do not define as alias.
5411 (readv): Define unconditionally as alias of __readv.
5412 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5413 (__writev): Do not define as alias.
5414 (writev): Define unconditionally as alias of __writev.
5415 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5416 name.
5417 (writev): Do not define __libc_writev name.
5418
65b00b6c
RM
54192014-10-30 Roland McGrath <roland@hack.frob.com>
5420
5421 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5422 (convert_charseq): New function, broken out of ...
5423 (use_from_charmap): ... here. Call it.
5424 (use_to_charmap): Use convert_charseq and free instead of duplicating
5425 its code with a variable-length stack struct.
5426
d4e157aa
JM
54272014-10-30 Joseph Myers <joseph@codesourcery.com>
5428
5429 * include/fcntl.h (__libc_creat): Remove declaration.
5430 * io/creat.c (__libc_creat): Rename to creat.
5431 (creat): Do not define as alias.
5432 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5433 of creat instead of __libc_creat.
5434 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5435 to creat.
5436 (creat): Do not define as alias.
5437 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5438 __libc_creat.
5439 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5440 __libc_creat name.
5441 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5442 Likewise.
5443
0c6891a0
CD
54442014-10-29 Carlos O'Donell <carlos@redhat.com>
5445
5446 * manual/llio.texi: Add comments discussing why write() may be
5447 considered MT-unsafe on Linux.
5448
cc00cece
CD
54492014-10-28 Carlos O'Donell <carlos@redhat.com>
5450
5451 * dl-load.c (local_strdup): Remove.
5452 (expand_dynamic_string_token): Use __strdup.
5453 (decompose_rpath): Likewise.
5454 (_dl_map_object): Likewise.
5455
51e623f2
JM
54562014-10-28 Joseph Myers <joseph@codesourcery.com>
5457
5458 [BZ #14132]
5459 * sysdeps/generic/unwind-dw2-fde.c
5460 (__register_frame_info_bases_internal): Do not declare.
5461 (__register_frame_info_table_bases_internal): Likewise.
5462 (__deregister_frame_info_bases_internal): Likewise.
5463 (__register_frame_info_bases): Declare and use hidden_proto before
5464 definition. Use hidden_def instead of INTDEF.
5465 (__register_frame_info_table_bases): Likewise.
5466 (__deregister_frame_info_bases): Likewise.
5467 (__register_frame_info): Do not use INTUSE.
5468 (__register_frame): Likewise.
5469 (__register_frame_info_table): Likewise.
5470 (__register_frame_table): Likewise.
5471 (__deregister_frame_info): Likewise.
5472 (__deregister_frame): Likewise.
5473
03d41216
GC
54742014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5475
5476 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5477 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5478 not undefine.
5479 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5480 Likewise.
5481 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5482 Likewise.
5483
a4b3624d
JM
54842014-10-27 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #14138]
5487 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5488 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5489 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5490 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5491 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5492 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5493 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5494 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5495 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5496 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5497 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5498 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5499 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5500 syscall.
5501 (setfsuid): Likewise.
5502 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5503 (setfsuid): Likewise.
5504 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5505 (setfsuid): Likewise.
5506 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5507 Likewise.
5508 (setfsuid): Likewise.
5509 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5510 (setfsuid): Likewise.
5511 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5512 Likewise.
5513 (setfsuid): Likewise.
5514
3574f2fd
AS
55152014-10-27 Andreas Schwab <schwab@suse.de>
5516
5517 [BZ #17501]
5518 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5519 check for Slow_SSE4_2 feature bit.
5520 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5521 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5522 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5523 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5524
70996a37
RM
55252014-10-24 Roland McGrath <roland@hack.frob.com>
5526
461a7b1e
RM
5527 * configure.ac: Validate compiler version with a empirical test of
5528 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5529 $CC -v output.
5530 * configure: Regenerated.
5531
70996a37
RM
5532 * inet/htons.c (htons): Prototypify.
5533 * inet/htonl.c (htonl): Likewise.
5534
e80514b5
WD
55352014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5536
5537 * string/strncat.c (strncat): Improve performance by using strlen.
5538
6e46de42
WD
55392014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5540
5541 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5542
6a9ad2fa
WD
55432014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5544
5545 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5546 Call libc_fetestexcept_aarch64.
5547
1c8810ed
WD
55482014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5549
5550 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5551 Call libc_feholdexcept_aarch64.
5552
8b1af712
WD
55532014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5554
5555 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5556 Call get_rounding_mode.
5557
a7b00c11
WD
55582014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5559
5560 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5561 Simplify logic.
5562
3a84f1a6
WD
55632014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5564
5565 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5566 Simplify logic.
5567
48eb7a94
JM
55682014-10-24 Joseph Myers <joseph@codesourcery.com>
5569
c8bc4038
JM
5570 [BZ #14138]
5571 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5572 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5573 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5574 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5575 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5576 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5577 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5578 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5579 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5580 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5581 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5582 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5583 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5584 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5585 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5586 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5587 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5588 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5589 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5590 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5591 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5593 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5595 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5599 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5600 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5601 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5602 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5603 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5604 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5605 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5606 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5607 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5610 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5611 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5612 syscall.
5613 (geteuid): Likewise.
5614 (getgid): Likewise.
5615 (getuid): Likewise.
5616 (getresgid): Likewise.
5617 (getresuid): Likewise.
5618 (getgroups): Likewise.
5619 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5620 (geteuid): Likewise.
5621 (getgid): Likewise.
5622 (getuid): Likewise.
5623 (getresgid): Likewise.
5624 (getresuid): Likewise.
5625 (getgroups): Likewise.
5626 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5627 (geteuid): Likewise.
5628 (getgid): Likewise.
5629 (getuid): Likewise.
5630 (getresgid): Likewise.
5631 (getresuid): Likewise.
5632 (getgroups): Likewise.
5633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5634 Likewise.
5635 (geteuid): Likewise.
5636 (getgid): Likewise.
5637 (getuid): Likewise.
5638 (getresgid): Likewise.
5639 (getresuid): Likewise.
5640 (getgroups): Likewise.
5641 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5642 (geteuid): Likewise.
5643 (getgid): Likewise.
5644 (getuid): Likewise.
5645 (getresgid): Likewise.
5646 (getresuid): Likewise.
5647 (getgroups): Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5649 Likewise.
5650 (geteuid): Likewise.
5651 (getgid): Likewise.
5652 (getuid): Likewise.
5653 (getgroups): Likewise.
5654
48eb7a94
JM
5655 [BZ #14138]
5656 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5657 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5659 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5660 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5661 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5662 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5663 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5664 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5665 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5668 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5669 __chown.
5670 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5671 (lchown): Likewise.
5672 (fchown): Likewise.
5673 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5674 Likewise.
5675 (lchown): Likewise.
5676 (fchown): Likewise.
5677 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5678 (lchown): Likewise.
5679 (fchown): Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5681 Likewise.
5682 (lchown): Likewise.
5683 (fchown): Likewise.
5684
ea9a7c8b
WD
56852014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5686
5687 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5688 Simplify logic.
5689
e226de33
WD
56902014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5691
5692 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5693 Cleanup logic.
5694
6e3d8ed3
WD
56952014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5696
5697 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5698 Remove unused include.
5699
eb04247d
WD
57002014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5701
5702 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5703 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5704 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5705 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5706
13d84554
CD
57072014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5708 Helge Deller <deller@gmx.de>
5709
5710 [BZ #17508]
5711 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5712 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5713 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5714
15f9c5df
JM
57152014-10-23 Joseph Myers <joseph@codesourcery.com>
5716
5717 [BZ #14132]
5718 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5719 Remove macro definition.
5720 (__ashrdi3_v_glibc20): Likewise.
5721 (__lshrdi3_v_glibc20): Likewise.
5722 (__cmpdi2_v_glibc20): Likewise.
5723 (__ucmpdi2_v_glibc20): Likewise.
5724 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5725 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5726 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5727 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5728 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5729 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5730
c6dfed24
RM
57312014-10-22 Roland McGrath <roland@hack.frob.com>
5732
5733 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5734 old GNU extension [0] syntax.
5735 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5736 alloca rather than an array member with variable length.
5737 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5738 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5739 (parse_opt): ... here. Likewise use alloca there.
5740 Validate the -i argument before checking for rootness.
5741 (send_shutdown): New function, broken out of ...
5742 (parse_opt): ... here.
5743
8c2b1ed8
RM
57442014-10-22 Roland McGrath <roland@hack.frob.com>
5745
5746 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5747 macro to get at the _rt_local_ro field.
5748 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5749 ([PIC] case) or _dl_hwcap ([!PIC] case).
5750 * sysdeps/arm/setjmp.S: Likewise.
5751
5752 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5753 * sysdeps/arm/configure.ac: New check to define it.
5754 * sysdeps/arm/configure: Regenerated.
5755 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5756 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5757 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5758 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5759 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5760 Use move/movt pair instead of a load.
5761 (LDST_GLOBAL): Macro removed.
5762 (LDR_GLOBAL): New macro replaces it.
5763 (LDR_HIDDEN): New macro.
5764 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5765 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5766
5767 * setjmp/tst-setjmp-static.c: New file.
5768 * setjmp/Makefile (tests): Add it.
5769 (tests-static): New variable.
5770
b5af9297
MR
57712014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5772
5773 [BZ #17485]
5774 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5775
a13d0d74
JM
57762014-10-21 Joseph Myers <joseph@codesourcery.com>
5777
5778 [BZ #14132]
5779 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5780
f05e73f6
RM
57812014-10-21 Roland McGrath <roland@hack.frob.com>
5782
5783 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5784
6ab1d1ea
RM
57852014-10-20 Roland McGrath <roland@hack.frob.com>
5786
5787 * io/fts.c (dirent_not_directory): New function.
5788 (fts_build): Call it.
5789
ab49e763
RM
57902014-10-20 Roland McGrath <roland@hack.frob.com>
5791
e436eb79
RM
5792 * nptl/version.c (__nptl_main): Use normal __write rather than
5793 INTERNAL_SYSCALL.
5794 (banner): Update copyright years.
5795
6af246cf
RM
5796 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5797 gettimeofday.
5798 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5799 * nptl/pthread_cond_timedwait.c: Likewise.
5800 * nptl/pthread_mutex_timedlock.c: Likewise.
5801 * nptl/sem_timedwait.c: Likewise.
5802
ab49e763
RM
5803 * sysdeps/nptl/bits/libc-lock.h
5804 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5805 (__libc_lock_init_recursive): Return void, not 0.
5806 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5807 (__libc_rwlock_init): Likewise.
5808 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5809
f50277c1
TR
58102014-10-20 Torvald Riegel <triegel@redhat.com>
5811
5812 [BZ #15215]
5813 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5814 (__pthread_once_slow): ... here.
5815 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5816 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5817
63668b70
TR
58182014-10-20 Torvald Riegel <triegel@redhat.com>
5819
5820 [BZ #15215]
5821 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5822 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5823 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5824 * nptl/pthread_once.c (__pthread_once): Likewise.
5825 Update comments.
5826
42b7f5d4
JM
58272014-10-20 Joseph Myers <joseph@codesourcery.com>
5828
5829 [BZ #14138]
5830 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5831 name.
5832 (writev): Use __libc_writev as strong name.
5833 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5834 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5835
b0643088
RM
58362014-10-17 Roland McGrath <roland@hack.frob.com>
5837
114c4e09
RM
5838 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5839
674b8978
RM
5840 * sysdeps/i386/nptl/tls.h
5841 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5842 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5843 New macros.
5844 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5845 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5846 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5847 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5848 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5849 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5850
184ee940
RM
5851 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5852 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5853 on [__NR_futex].
5854 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5855 broken out of ...
5856 (__pthread_mutex_init): ... here. Call it.
5857 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5858 Conditionalize PI cases on [__NR_futex].
5859 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5860 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5861 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5862
327ae257
RM
5863 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5864 conditional on [SIGSETXID].
5865 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5866 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5867 is defined. Likewise for SIGSETXID.
5868 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5869 Conditionalize definitions on [SIGSETXID].
5870 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5871 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5872 unblocking on [SIGCANCEL].
5873
b0643088
RM
5874 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5875 [__NR_set_robust_list].
5876
33cc770b
SP
58772014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5878
5879 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5880 (do_compare): Likewise.
5881
0742aef6
LH
58822014-10-17 Leonhard Holz <leonhard.holz@web.de>
5883
5884 [BZ #15884]
5885 * string/strcoll_l.c: Don't include stdio.h.
5886 (coll_seq): Remove members idxarr and rulearr.
5887 (get_next_seq_cached): Remove function.
5888 (get_next_seq): Likewise.
5889 (get_next_seq_nocache): Rename to get_next_seq.
5890 (do_compare): Remove function.
5891 (do_compare_nocache): Rename to do_compare.
5892 (STRCOLL): Remove weight and rules cache.
5893
ee54ce44
RM
58942014-10-16 Roland McGrath <roland@hack.frob.com>
5895
5896 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5897 * sysdeps/arm/sfp-machine.h: ... to here.
5898 * sysdeps/arm/Implies: Remove arm/soft-fp.
5899
a75d3b02
JM
59002014-10-14 Joseph Myers <joseph@codesourcery.com>
5901
5902 * conform/data/sys/utsname.h-data (*_t): Allow.
5903 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5904 [POSIX] (WEXITED): Do not expect constant.
5905 [POSIX] (WSTOPPED): Likewise.
5906 [POSIX] (WNOHANG): Likewise.
5907 [POSIX] (WNOWAIT): Likewise.
5908 [POSIX] (siginfo_t): Do not expect type or elements.
5909 [POSIX] (pid_t): Do not expect type.
5910 [POSIX] (signal.h): Do not allow header.
5911 [POSIX] (sys/resource.h): Likewise.
5912 [POSIX] (si_*): Do not allow pattern.
5913 [POSIX] (W*): Likewise.
5914 [POSIX] (P_*): Likewise.
5915 [POSIX] (BUS_*): Likewise.
5916 [POSIX] (CLD_*): Likewise.
5917 [POSIX] (FPE_*): Likewise.
5918 [POSIX] (ILL_*): Likewise.
5919 [POSIX] (POLL_*): Likewise.
5920 [POSIX] (SEGV_*): Likewise.
5921 [POSIX] (SI_*): Likewise.
5922 [POSIX] (TRAP_*): Likewise.
5923 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5924 variable.
5925
fda389c8
SP
59262014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5927
5928 [BZ #12926]
5929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5930 infinite loop when __recvmsg returns 0.
5931
6bc6bd3b
JM
59322014-10-10 Joseph Myers <joseph@codesourcery.com>
5933
fcb32af1
JM
5934 * CANCEL-FCT-WAIVE: Remove file.
5935 * CANCEL-FILE-WAIVE: Likewise.
5936
6bc6bd3b
JM
5937 [BZ #14132]
5938 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5939 instead of INTVARDEF.
5940 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5941 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5942 rtld_hidden_data_def instead of INTVARDEF.
5943 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5944 * elf/dl-deps.c (expand_dst): Likewise.
5945 * elf/dl-load.c (_dl_dst_count): Likewise.
5946 (_dl_dst_substitute): Likewise.
5947 (decompose_rpath): Likewise.
5948 (_dl_init_paths): Likewise.
5949 (open_path): Likewise.
5950 (_dl_map_object): Likewise.
5951 * elf/rtld.c (dl_main): Likewise.
5952 (process_dl_audit): Likewise.
5953 (process_envvars): Likewise.
5954 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5955 Remove declaration.
5956 (__libc_enable_secure): Use rtld_hidden_proto.
5957
b8c80a7e
KS
59582014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5959
5960 * elf/dl-load.c
5961 (add_path): New function broken out of _dl_rtld_di_serinfo.
5962 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5963
ff12c11f
JM
59642014-10-09 Joseph Myers <joseph@codesourcery.com>
5965
5c0508a3
JM
5966 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5967 parentheses around macro arguments.
5968 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5969 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5971 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5972 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5973 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5974 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5975 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5976 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5977 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5978 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5979 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5980 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5981 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5982 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5983 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5984 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5985 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5986 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5987 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5988 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5989 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5990 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5991 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5992 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5993 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5994 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5995 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5996 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5997 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5998 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5999 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6000 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6001 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6002 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6003 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6004 Likewise.
6005 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6006 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6007 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6010 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6011 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6012 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6013 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6014 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6015 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6016 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6017 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6018 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6019 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6021 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6022 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6023 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6024 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6026 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6027 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6028 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6029 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6030 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6031 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6032 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6033 (_FP_FRAC_SRS_1): Likewise.
6034 (_FP_FRAC_CLZ_1): Likewise.
6035 (_FP_MUL_MEAT_1_imm): Likewise.
6036 (_FP_MUL_MEAT_1_wide): Likewise.
6037 (_FP_MUL_MEAT_1_hard): Likewise.
6038 (_FP_SQRT_MEAT_1): Likewise.
6039 (_FP_FRAC_ASSEMBLE_1): Likewise.
6040 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6041 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6042 (__FP_CLZ_2): Likewise.
6043 (_FP_MUL_MEAT_2_wide): Likewise.
6044 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6045 (_FP_MUL_MEAT_2_gmp): Likewise.
6046 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6047 (_FP_SQRT_MEAT_2): Likewise.
6048 (_FP_FRAC_ASSEMBLE_2): Likewise.
6049 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6050 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6051 (_FP_FRAC_CLZ_4): Likewise.
6052 (_FP_MUL_MEAT_4_wide): Likewise.
6053 (_FP_MUL_MEAT_4_gmp): Likewise.
6054 (_FP_SQRT_MEAT_4): Likewise.
6055 (_FP_FRAC_ASSEMBLE_4): Likewise.
6056 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6057 * soft-fp/op-common.h (_FP_CMP): Likewise.
6058 (_FP_CMP_EQ): Likewise.
6059 (_FP_CMP_UNORD): Likewise.
6060 (_FP_TO_INT): Likewise.
6061 (_FP_FROM_INT): Likewise.
6062 [!__FP_CLZ] (__FP_CLZ): Likewise.
6063 (_FP_DIV_HELP_imm): Likewise.
6064 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6065 Likewise.
6066 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6067 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6068 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6069 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6070 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6071 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6072 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6073 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6074 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6075 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6076 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6077 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6078 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6079 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6080 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6081 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6082 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6083 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6084 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6085 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6086 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6087 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6088 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6089 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6090 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6091 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6092 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6093 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6094 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6095 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6096 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6097 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6098 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6099 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6100 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6101 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6102 (FP_UNPACK_RAW_SP): Likewise.
6103 (FP_PACK_RAW_S): Likewise.
6104 (FP_PACK_RAW_SP): Likewise.
6105 (FP_UNPACK_S): Likewise.
6106 (FP_UNPACK_SP): Likewise.
6107 (FP_UNPACK_SEMIRAW_S): Likewise.
6108 (FP_UNPACK_SEMIRAW_SP): Likewise.
6109 (FP_PACK_S): Likewise.
6110 (FP_PACK_SP): Likewise.
6111 (FP_PACK_SEMIRAW_S): Likewise.
6112 (FP_PACK_SEMIRAW_SP): Likewise.
6113 (_FP_SQRT_MEAT_S): Likewise.
6114 (FP_CMP_S): Likewise.
6115 (FP_CMP_EQ_S): Likewise.
6116 (FP_CMP_UNORD_S): Likewise.
6117 (FP_TO_INT_S): Likewise.
6118 (FP_FROM_INT_S): Likewise.
6119
a736ec37
JM
6120 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6121
ff12c11f
JM
6122 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6123 (FP_EX_INVALID_IMZ): Likewise.
6124 (FP_EX_INVALID_IMZ_FMA): Likewise.
6125 (FP_EX_INVALID_ISI): Likewise.
6126 (FP_EX_INVALID_ZDZ): Likewise.
6127 (FP_EX_INVALID_IDI): Likewise.
6128 (FP_EX_INVALID_SQRT): Likewise.
6129 (FP_EX_INVALID_CVI): Likewise.
6130 (FP_EX_INVALID_VC): Likewise.
6131 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6132 "invalid" exceptions.
6133 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6134 (_FP_ADD_INTERNAL): Likewise.
6135 (_FP_MUL): Likewise.
6136 (_FP_FMA): Likewise.
6137 (_FP_DIV): Likewise.
6138 (_FP_CMP_CHECK_NAN): Likewise.
6139 (_FP_SQRT): Likewise.
6140 (_FP_TO_INT): Likewise.
6141 (FP_EXTEND): Likewise.
6142
b6dcfe8c
AM
61432014-10-09 Allan McRae <allan@archlinux.org>
6144
6145 * po/fr.po: Update French translation from translation project.
6146
2d6a47ba
JM
61472014-10-09 Joseph Myers <joseph@codesourcery.com>
6148
cb831245
JM
6149 [BZ #14132]
6150 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6151 of INTDEF.
6152 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6153 (__cxa_atexit): Use libc_hidden_proto.
6154 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6155
5deeb190
JM
6156 [BZ #14132]
6157 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6158 declaration.
6159 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6160 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6161 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6162 [!_ISOMAC] (__iswctype_internal): Likewise.
6163 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6164 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6165 alias.
6166 (fcntl): Remove __fcntl_internal alias.
6167 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6168 __connect_internal alias.
6169 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6170 Likewise.
6171
454ac701
JM
6172 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6173 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6174 FP_DENORM_ZERO.
6175 (_FP_CHECK_FLUSH_ZERO): New macro.
6176 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6177 (_FP_CMP): Likewise.
6178 (_FP_CMP_EQ): Likewise.
6179 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6180 FP_DENORM_ZERO.
6181 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6182 (FP_TRUNC): Likewise.
6183
0022e688
JM
6184 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6185 treated as invalid conversion, not as normal exponent.
6186
73e28d9c
JM
6187 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6188 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6189 (_FP_CMP_EQ): Likewise.
6190 (_FP_CMP_UNORD): Likewise.
6191 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6192 (FP_CMP_EQ_D): Likewise.
6193 (FP_CMP_UNORD_D): Likewise.
6194 * soft-fp/extended.h (FP_CMP_E): Likewise.
6195 (FP_CMP_EQ_E): Likewise.
6196 (FP_CMP_UNORD_E): Likewise.
6197 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6198 (FP_CMP_EQ_Q): Likewise.
6199 (FP_CMP_UNORD_Q): Likewise.
6200 * soft-fp/single.h (FP_CMP_S): Likewise.
6201 (FP_CMP_EQ_S): Likewise.
6202 (FP_CMP_UNORD_S): Likewise.
6203 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6204 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6205 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6206 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6207 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6208 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6209 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6210 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6211 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6212 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6213 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6214 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6215 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6216 to FP_CMP_Q.
6217 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6218 FP_CMP_Q.
6219 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6220 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6221 FP_CMP_EQ_Q.
6222 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6223 FP_CMP_Q.
6224 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6225 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6226 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6227 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6228 FP_CMP_EQ_Q.
6229 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6230 FP_CMP_Q.
6231 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6232 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6233 FP_CMP_EQ_Q.
6234 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6235 FP_CMP_Q.
6236 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6237 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6238 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6239 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6240 FP_CMP_EQ_Q.
6241
43059f42
JM
6242 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6243 a subnormal result, set the underflow exception if trapping on
6244 underflow is enabled.
6245 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6246 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6247 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6248 redefine to 0.
6249 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6250 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6251 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6252 * soft-fp/extendxftf2.c (__extendxftf2): Use
6253 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6254
2d6a47ba
JM
6255 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6256 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6257 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6258 FP_HANDLE_EXCEPTIONS.
6259 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6260 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6261 FP_HANDLE_EXCEPTIONS.
6262 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6263 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6264 FP_HANDLE_EXCEPTIONS.
6265 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6266 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6267 FP_HANDLE_EXCEPTIONS.
6268
620f462e
JM
62692014-10-08 Joseph Myers <joseph@codesourcery.com>
6270
6271 [BZ #14132]
6272 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6273 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6274 use INTUSE.
6275 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6276 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6277 Remove alias.
6278 (__adjtimex): Define using libc_hidden_ver.
6279 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6280 Remove declaration.
6281 (ntp_gettime): Call __adjtimex directly.
6282 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6283 Remove declaration.
6284 (ntp_gettimex): Call __adjtimex directly.
6285 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6286 __adjtimex_internal alias.
6287
c763c5d2
RM
62882014-10-08 Roland McGrath <roland@hack.frob.com>
6289
6290 [BZ #17460]
6291 * nscd/nscd.c (more_help): Rewrite list of tables collection
6292 using xstrdup and asprintf.
6293
6294 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6295
7b8fb2b8
RM
62962014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6297 Roland McGrath <roland@hack.frob.com>
6298
6299 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6300 (do_lookup_unique): ... local function 'enter' here; update callers.
6301
abb280f7
JM
63022014-10-06 Joseph Myers <joseph@codesourcery.com>
6303
f7b42517
JM
6304 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6305 compat_symbol calls on [SHARED].
6306 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6307 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6308 Remove.
6309 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6310 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6311 (oldsetrlimit): Remove.
6312 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6314 (lchown): New syscall entry.
6315 (oldsetrlimit): Remove.
6316 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6317 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6318 (oldsetrlimit): Remove.
6319 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6320
abb280f7
JM
6321 [BZ #14138]
6322 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6323 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6324 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6325 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6327 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6328 (fchown): Likewise.
6329 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6330 (fchown): Likewise.
6331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6332 Likewise.
6333
47d46237
AZ
63342014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6337 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6338 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6339 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6340 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6341 Likewise.
6342 (__old_sem_post): Likewise.
6343
63442014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6345
845a7343
CM
6346 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6347 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6348 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6349 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6350 Use INLINE_VSYSCALL macro.
6351 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6352 __vdso_clock_gettime.
6353 * sysdeps/unix/sysv/linux/tile/init-first.c
6354 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6355 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6356 __vdso_clock_gettime.
6357
83d641ef
CM
6358 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6359 to set up frame more cleanly.
6360
d9cd52e6
CM
6361 * sysdeps/tile/memcmp.c: New file.
6362
4b68ea11
CM
6363 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6364
c86f7b80
CM
6365 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6366 * sysdeps/tile/tilegx/strcasestr.c: New file.
6367 * sysdeps/tile/tilegx/strnlen.c: New file.
6368 * sysdeps/tile/tilegx/strstr.c: New file.
6369
1c4c1a6f
CM
6370 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6371
99d86ea3
AS
63722014-10-06 Arjun Shankar <arjun.is@lostca.se>
6373
6374 * nptl/tst-setuid3.c: Write errors to stdout.
6375
06210a44
KS
63762014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6377
6378 * elf/dl-deps.c
6379 (preload): New functions broken out of _dl_map_object_deps.
6380 (_dl_map_object_deps): Remove a nested function. Update call sites.
6381
6268f532
JM
63822014-10-01 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #14138]
6385 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6386 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6387
b925285f
SE
63882014-10-01 Steve Ellcey <sellcey@mips.com>
6389
6390 * sysdeps/mips/strcmp.S: New.
6391
754a15c6
JM
63922014-09-30 Joseph Myers <joseph@codesourcery.com>
6393
6394 [BZ #14138]
6395 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6396 (linkat): Likewise.
6397 (mkdirat): Likewise.
6398 (readlinkat): Likewise.
6399 (renameat): Likewise.
6400 (symlinkat): Likewise.
6401 (unlinkat): Likewise.
6402 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6403 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6404 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6405 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6406 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6407 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6408 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6409
85bb81c9
WN
64102014-09-30 Will Newton <will.newton@linaro.org>
6411
dc6fe23b
WN
6412 * math/math.h: Define long double math functions if
6413 _LIBC_TEST is defined.
6414 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6415
85bb81c9
WN
6416 * localedata/Makefile: Move assignment to tests-special
6417 into an ifdef testing run-built-tests.
6418 * timezone/Makefile: Likewise.
6419
b7e02da4
JM
64202014-09-29 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6423 with $(BASH) not $(SHELL).
6424
62058ce6
CD
64252014-09-29 Carlos O'Donell <carlos@redhat.com>
6426 Matthew LeGendre <legendre1@llnl.gov>
6427
6428 [BZ #17411]
6429 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6430 l_reloc_result.
6431
8e257a29
KS
64322014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6433
6434 * stdio-common/printf_fp.c
6435 (hack_digit): New function, broken out of ...
6436 (__printf_fp): ... local function here. Update call sites.
6437 hack_digit now takes an additional parameter that is a pointer
6438 to a struct of the referenced locals. Those locals moved inside
6439 the struct and references updated.
6440
f4a58f0d
L
64412014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6442
6443 * aclocal.m4: Require autoconf 2.69.
6444 * configure: Regenerated.
6445 * sysdeps/aarch64/configure: Likewise.
6446 * sysdeps/alpha/configure: Likewise.
6447 * sysdeps/arm/armv7/configure: Likewise.
6448 * sysdeps/arm/configure: Likewise.
6449 * sysdeps/ia64/configure: Likewise.
6450 * sysdeps/mach/configure: Likewise.
6451 * sysdeps/mips/configure: Likewise.
6452 * sysdeps/s390/configure: Likewise.
6453 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6455
6456 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6457 file.
6458 * sysdeps/ia64/configure.ac: Likewise.
6459
93ae1eba
JM
64602014-09-26 Joseph Myers <joseph@codesourcery.com>
6461
1810d3ab
JM
6462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6463 specify symbol version for ld.so. Do not include entry for
6464 libpthread.
6465 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6466 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6467 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6468
93ae1eba
JM
6469 [BZ #14171]
6470 * Makeconfig [$(build-shared) = yes]
6471 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6472 makefiles.
6473 [$(build-shared) = yes && $(soversions.mk-done) = t]
6474 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6475 [$(build-shared) = yes && $(soversions.mk-done) = t]
6476 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6477 to Makerules.
6478 [$(build-shared) = yes && $(soversions.mk-done) = t]
6479 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6480 here.
6481 [$(build-shared) = yes && $(soversions.mk-done) = t]
6482 (common-generated): Don't append gnu/lib-names.h and
6483 gnu/lib-names.stmp here.
6484 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6485 (lib-names-h-abi): New variable.
6486 [$(build-shared) = yes && $(soversions.mk-done) = t]
6487 (lib-names-stmp-abi): Likewise.
6488 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6489 abi-variants] (before-compile): Append
6490 $(common-objpfx)$(lib-names-h-abi).
6491 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6492 abi-variants] (common-generated): Append gnu/lib-names.h.
6493 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6494 abi-variants] (install-others-nosubdir): Depend on
6495 $(inst_includedir)/$(lib-names-h-abi).
6496 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6497 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6498 [$(build-shared) = yes && $(soversions.mk-done) = t]
6499 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6500 [$(build-shared) = yes && $(soversions.mk-done) = t]
6501 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6502 [$(build-shared) = yes && $(soversions.mk-done) = t]
6503 (common-generated): Append $(lib-names-h-abi) and
6504 $(lib-names-stmp-abi).
6505 * scripts/lib-names.awk: Do not handle multi being set.
6506 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6507 Remove variable.
6508 (abi-lp64_be-ld-soname): Likewise.
6509 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6510 Likewise.
6511 (abi-hard-ld-soname): Likewise.
6512 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6513 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6514 Remove variable.
6515 (abi-o32_hard-ld-soname): Likewise.
6516 (abi-o32_soft_2008-ld-soname): Likewise.
6517 (abi-o32_hard_2008-ld-soname): Likewise.
6518 (abi-n32_soft-ld-soname): Likewise.
6519 (abi-n32_hard-ld-soname): Likewise.
6520 (abi-n32_soft_2008-ld-soname): Likewise.
6521 (abi-n32_hard_2008-ld-soname): Likewise.
6522 (abi-n64_soft-ld-soname): Likewise.
6523 (abi-n64_hard-ld-soname): Likewise.
6524 (abi-n64_soft_2008-ld-soname): Likewise.
6525 (abi-n64_hard_2008-ld-soname): Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6527 Likewise.
6528 (abi-64-v2-ld-soname): Likewise.
6529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6530 ld.so entries.
6531 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6532 variable.
6533 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6534 entry.
6535 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6536 variable.
6537 (abi-64-ld-soname): Likewise.
6538 (abi-x32-ld-soname): Likewise.
6539 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6540 entry.
6541 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6542
68870f12
JM
65432014-09-23 Joseph Myers <joseph@codesourcery.com>
6544
6545 [BZ #14138]
6546 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6547 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6548 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6549 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6550 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6551 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6552 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6553 syscall entry for GLIBC_2.2 symbol version.
6554 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6555 Likewise.
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6557 (setrlimit): Likewise.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6559 Likewise.
6560
ea58f202
WN
65612014-09-23 Will Newton <will.newton@linaro.org>
6562
6563 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6564 _LINUX_ARM_SYSDEP_H include guard too.
6565 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6566 define.
6567
69eb9a18
RV
65682014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6569
6570 * sysdeps/unix/sysv/linux/eventfd.c:
6571 Make first argument unsigned.
6572 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6573 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6574
20e5a5f7
OB
65752014-09-20 Ondřej Bílka <neleai@seznam.cz>
6576
6577 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6578 * socket/sys/socket.h: Likewise
6579 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6580
d3c827e7
AK
65812014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6582
6583 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6584
fe1cc35a
AS
65852014-09-17 Arjun Shankar <arjun.is@lostca.se>
6586
6587 * time/tst-ftime.c: New test.
6588 * time/Makefile (tests): Add tst-ftime.
6589
4e8afe69
JM
65902014-09-17 Joseph Myers <joseph@codesourcery.com>
6591
c4fe3ea7
JM
6592 * soft-fp/extended.h: Fix comment formatting.
6593 * soft-fp/op-1.h: Likewise.
6594 * soft-fp/op-2.h: Likewise.
6595 * soft-fp/op-4.h: Likewise.
6596 * soft-fp/op-8.h: Likewise.
6597 * soft-fp/op-common.h: Likewise.
6598 * soft-fp/soft-fp.h: Likewise.
6599
4e8afe69
JM
6600 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6601
af296fcd
JM
66022014-09-16 Joseph Myers <joseph@codesourcery.com>
6603
6604 [BZ #6652]
6605 * Makeconfig (soversions-default-setname): Remove variable.
6606 ($(common-objpfx)soversions.i): Don't pass default_setname to
6607 soversions.awk.
6608 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6609 oldest_abi to abi-versions.awk.
6610 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6611 * config.make.in (oldest-abi): Remove variable.
6612 * configure.ac (--enable-oldest-abi): Remove configure option.
6613 * configure: Regenerated.
6614 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6615 text.
6616 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6617 * scripts/soversions.awk: Do not handle default_setname variable.
6618 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6619 variable.
6620 * sysdeps/mach/hurd/configure: Regenerated.
6621 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6622 variable.
6623 * sysdeps/unix/sysv/linux/configure: Regenerated.
6624
545583d6
SP
66252014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
d330b980
SP
6627 * elf/Makefile (CFLAGS-interp.c): Remove.
6628 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6629 path string.
6630 * elf/interp.c: Include generated runtime-linker.h
6631
02657da2
SP
6632 * Makerules (lib%.so): Don't include $(+interp) in
6633 prerequisites.
6634 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6635 * dlfcn/eval.c: Remove file.
6636
653b1080
SP
6637 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6638 macros.
6639
602f80ec
SP
6640 [BZ #17266]
6641 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6642 4.2 and newer.
6643
545583d6
SP
6644 [BZ #17370]
6645 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6646
884ddc50
SP
66472014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6648 Jakub Jelinek <jakub@redhat.com>
6649
6650 [BZ #17266]
6651 * libio/stdio.h: Check definition of __fortify_function
6652 instead of __extern_always_inline to include bits/stdio2.h.
6653 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6654 check if __extern_always_inline is defined.
6655 [__USE_MISC || __USE_XOPEN]: Likewise.
6656 [__USE_ISOC99] Likewise.
6657 * misc/sys/cdefs.h (__fortify_function): Define only if
6658 __extern_always_inline is defined.
6659 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6660 __extern_always_inline and __extern_inline only for g++-4.3
6661 and newer or a compatible gcc.
6662
a7b87268
AS
66632014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6664
6665 [BZ #17371]
6666 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6667 last change to handle zero prefix length.
6668
3f41521d
SP
66692014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6670
61fe374a
SP
6671 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6672 _SC_REGEX_VERSION.
6673
3f41521d
SP
6674 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6675 _POSIX_RAW_SOCKETS.
6676
d8f879ee
AM
66772014-09-13 Allan McRae <allan@archlinux.org>
6678
6679 * po/ru.po: Update Russian translation from translation project.
6680
c079afb7
RM
66812014-09-12 Roland McGrath <roland@hack.frob.com>
6682
a62b3c15
RM
6683 * locale/programs/locale.c (show_locale_vars): Inline local function
6684 into its sole call site. Clean up some style nits.
6685 (print_item): New function, broken out of ...
6686 (show_info): ... local function here. Clean up style nits.
6687
d7e49b19
RM
6688 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6689 out of ...
6690 (set_class_defaults): ... local function set_default here.
6691 Define set_default as a macro locally to pass constant parameters.
6692 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6693 rather than a shared local.
6694
c079afb7
RM
6695 * stdlib/rpmatch.c (try): New function, broken out of ...
6696 (rpmatch): ... local function here. Also, prototypify definition.
6697
0bd72468
JM
66982014-09-12 Joseph Myers <joseph@codesourcery.com>
6699
ba90e050
JM
6700 * scripts/soversions.awk: Do not handle configuration names.
6701 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6702 vendor and os variables to soversions.awk.
6703 * configure.ac: Do not modify gnu-* host_os.
6704 * configure: Regenerated
6705 * shlib-versions: Remove first column with configuration names.
6706 * nptl/shlib-versions: Likewise.
6707 * nptl_db/shlib-versions: Likewise.
6708 * sysdeps/hppa/shlib-versions: Likewise.
6709 * sysdeps/m68k/shlib-versions: Likewise.
6710 * sysdeps/mach/hurd/shlib-versions: Likewise.
6711 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6712 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6713 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6714 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6715 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6716 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6717 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6718 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6720 Likewise.
6721 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6722 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6723 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6724 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6725 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6726 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6727 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6729
73a39112
JM
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6731 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6733 Regenerated.
6734 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6736 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6737
c729e7c1
JM
6738 * shlib-versions: Remove OS-specific entries. Moved to files in
6739 sysdeps.
6740 * sysdeps/mach/hurd/shlib-versions: New file.
6741 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6742
dc932a24
JM
6743 * nptl/shlib-versions: Remove architecture-specific entries.
6744 Moved to files in sysdeps.
6745 * shlib-versions: Likewise.
6746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6747 file.
6748 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6749 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6750 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6751 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6752
0bd72468
JM
6753 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6754 (UDP_NO_CHECK6_RX): Likewise.
6755
920238e0
SP
67562014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6757
6758 * sysdeps/posix/sysconf.c (__sysconf): Spell
6759 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6760
ba7b4d29
FW
67612014-08-12 Florian Weimer <fweimer@redhat.com>
6762
6763 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6764 loading.
6765 * iconv/Versions (__gconv_transliterate): Export for use from
6766 gconv modules.
6767 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6768 (struct __gconv_trans_data, __gconv_trans_fct,
6769 __gconv_trans_context_fct, __gconv_trans_query_fct,
6770 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6771 definitions.
6772 (struct __gconv_step_data): Remove __trans member.
6773 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6774 longer hidden. Remove unused trans_data argument.
6775 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6776 (__gconv_translit_find): Remove declaration.
6777 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6778 prototype.
6779 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6780 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6781 trans_data argument. Add hidden definition.
6782 (__gconv_translit_find): Remove.
6783 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6784 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6785 * iconv/skeleton.c: Remove transliteration initialization.
6786 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6787 __gconv_step_data initialization.
6788 * libio/iofwide.c (__libio_translit_): Remove.
6789 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6790 * wcsmbs/btowc.c (__btowc): Likewise.
6791 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6792 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6793 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6794 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6795 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6796 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6797 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6798 * wcsmbs/wctob.c (wctob): Likewise.
6799
5379aebd
SP
68002014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6801
6802 [BZ #16194]
6803 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6804 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6805 register usage.
6806 * sysdeps/x86/Makefile: Adjust.
6807
8c0ab919
RM
68082014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6809 Roland McGrath <roland@hack.frob.com>
6810
6811 * locale/weight.h: Add include guard.
6812 (findidx): Make static rather than auto; take new parameters
6813 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6814 * locale/weightwc.h: Likewise.
6815 * posix/fnmatch_loop.c
6816 (FCT): Change type of EXTRA from int32_t to wint_t.
6817 Don't include either header inside the function.
6818 Call FINDIDX rather than findidx, and pass new arguments.
6819 #undef FINDIDX at the end of the file.
6820 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6821 FINDIDX before including fnmatch_loop.c for the non-wide version.
6822 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6823 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6824 for the wide version.
6825 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6826 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6827 Pass new arguments to findidx.
6828 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6829 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6830 Don't #include it inside the function. Pass new arguments to findidx.
6831 * posix/regex_internal.h
6832 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6833 (re_string_elem_size_at): Don't #include it inside the function.
6834 Pass new arguments to findidx.
6835 * string/strcoll_l.c: #include WEIGHT_H at top level.
6836 (get_next_seq): Don't #include it inside the function.
6837 Pass new arguments to findidx.
6838 (get_next_seq_nocache): Likewise.
6839 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6840 (STRXFRM): Don't #include it inside the function.
6841 Pass new arguments to findidx.
6842
52ffbdf2
FW
68432014-09-11 Florian Weimer <fweimer@redhat.com>
6844
6845 [BZ #17344]
6846 * malloc/malloc.c (unlink): Turn asserts into a call to
6847 malloc_printerr.
6848
984c0ea9
TL
68492014-09-11 Tim Lammens <tim.lammens@gmail.com>
6850
6851 [BZ #17370]
6852 * libio/wfileops (do_ftell_wide): Free OUT.
6853
3daee107
CM
68542014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6855
6856 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6857
58b930ae
SP
68582014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6859
6860 [BZ #17363]
6861 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6862 group if the current group is empty.
6863
3b473fec
AZ
68642014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
71ae8647
AZ
6866 * benchtests/bench-memset.c (test_main): Add more test from size
6867 from 32 to 512 bytes.
6868 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6869 Add POWER8 memset object.
6870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6871 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6872 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6873 implementation.
6874 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6875 Likewise.
6876 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6877 multiarch POWER8 memset optimization.
6878 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6879 POWER8 memset optimization.
6880
3b473fec
AZ
6881 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6882 Remove bzero multiarch objects.
6883 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6884 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6885 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6886 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6887 Remove define.
6888 [__bzero]: Redefine to specific name.
6889 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6890 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6891 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6892 define.
6893 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6894 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6895
e6fb9587
FW
68962014-09-10 Florian Weimer <fweimer@redhat.com>
6897
6898 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6899 warnings into errors.
6900
6901 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6902 __cxa_thread_atexit_impl prototype.
6903
9d3a350b
SE
69042014-09-09 Steve Ellcey <sellcey@mips.com>
6905
6906 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6907 Fix capitalization of error message.
6908
0febba23
SE
69092014-09-09 Steve Ellcey <sellcey@mips.com>
6910
6911 * sysdeps/mips/preconfigure: Modify ABI tests.
6912
645a0e9c
CD
69132014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6914
6915 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6916
d83f0734
CD
69172014-09-07 Roland McGrath <roland@hack.frob.com>
6918 Carlos O'Donell <carlos@systemhalted.org>
6919
6920 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6921 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6922 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6923 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6924 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6925 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6926 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6927 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6928 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6929 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6930 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6931 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6932 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6933 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6934 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6935 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6936 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6937 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6938 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6939 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6940 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6941 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6942 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6943 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6944 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6945 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6946 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6947 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6948 Deconditionalize the code that was previously under [RESET_PID].
6949 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6950 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6951 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6952 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6953 include sysdep.h.
6954
21c83793
AM
69552014-09-08 Allan McRae <allan@archlinux.org>
6956
6957 * version.h (RELEASE): Set to "development".
6958 (VERSION): Set to "2.20.90"
6959
1cd9b65c
AM
69602014-09-07 Allan McRae <allan@archlinux.org
6961
b8079dd0
AM
6962 * version.h (RELEASE): Set to "stable".
6963 (VERSION): Set to "2.20"
6964 * include/features.h (__GLIBC_MINOR__): Set to 20.
6965
c46303ef
AM
6966 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6967 Liebler.
6968
1cd9b65c
AM
6969 * po/ko.po: Update Korean translation from translation project.
6970
8622092d
CM
69712014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6972
6973 [BZ #17354]
6974 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6975 macro for handling signed relocations.
6976
41488498
FW
69772014-09-03 Florian Weimer <fweimer@redhat.com>
6978
6979 [BZ #17325]
6980 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6981 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6982 assert.
6983 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6984 * iconvdata/ibm935.c (BODY): Likewise.
6985 * iconvdata/ibm937.c (BODY): Likewise.
6986 * iconvdata/ibm939.c (BODY): Likewise.
6987 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6988 assert.
6989 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6990 script.
6991 * iconvdata/run-iconv-test.sh: New test loop for checking for
6992 decoder crashers.
6993
a78b712d
KR
69942014-09-02 Khem Raj <raj.khem@gmail.com>
6995
6996 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6997 libm_hidden_ver.
6998
cb08abc6
AM
69992014-09-01 Allan McRae <allan@archlinux.org>
7000
2c31e102
AM
7001 * po/eo.po: Update Esperanto translation from translation project.
7002
cb08abc6
AM
7003 * po/ca.po: Update Catalan translation from translation project.
7004
17a62de1
ST
70052014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7006
7007 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7008 __proc_dostop call.
7009
9570bc53
MW
70102014-08-27 Mark Wielaard <mjw@redhat.com>
7011
7012 [BZ #17319]
7013 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7014 to call set_thread_area instead of hand written asm.
7015 (__NR_set_thread_area): Removed define.
7016 (TLS_FLAG_WRITABLE): Likewise.
7017 (__ASSUME_SET_THREAD_AREA): Remove check.
7018 (TLS_EBX_ARG): Remove define.
7019 (TLS_LOAD_EBX): Likewise.
7020
b0f955c9
ST
70212014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7022
7023 Simplify atomicity of socket creation in bind.
7024
7025 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7026 looking up the name after linking the file.
7027
529bf515
AM
70282014-08-27 Allan McRae <allan@archlinux.org>
7029
7030 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7031
a1a6a401
FW
70322014-08-26 Florian Weimer <fweimer@redhat.com>
7033
7034 [BZ #17187]
7035 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7036 trans_compare, open_translit, __gconv_translit_find):
7037 Remove module loading code.
7038
686ab290
AM
70392014-08-26 Allan McRae <allan@archlinux.org>
7040
e4e7cfd2
AM
7041 * po/vi.po: Update Vietnamese translation from translation project.
7042
6aa09f71
AM
7043 * po/uk.po: Update Ukrainian translation from translation project.
7044
edc0660e
AM
7045 * po/fr.po: Update French translation from translation project.
7046
7eea72ac
AM
7047 * po/ru.po: Update Russian translation from translation project.
7048
93c49eff
AM
7049 * po/pl.po: Update Polish translation from translation project.
7050
46acaf63
AM
7051 * po/cs.po: Update Czech translation from translation project.
7052
a9f5ce98
AM
7053 * po/de.po: Update German translation from translation project.
7054
373f2b78
AM
7055 * po/bg.po: Update Bulgarian translation from translation project.
7056
e7548bd8
AM
7057 * po/sv.po: Update Sweedish translation from translation project.
7058
c526bf4d
AM
7059 * po/nl.po: Update Dutch translation from translation project.
7060
686ab290
AM
7061 * po/es.po: Update Spanish translation from translation project.
7062
eb72478a
SP
70632014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
dd763fdb
SP
7065 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7066
318c7a58
SP
7067 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7068 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7069 (CPPFLAGS-iconvconfig): Likewise.
7070 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7071
eb72478a
SP
7072 * include/libc-symbols.h: Remove unnecessary check for
7073 NOT_IN_libc.
7074 * nptl/pthreadP.h: Likewise.
7075 * sysdeps/aarch64/setjmp.S: Likewise.
7076 * sysdeps/alpha/setjmp.S: Likewise.
7077 * sysdeps/arm/sysdep.h: Likewise.
7078 * sysdeps/i386/setjmp.S: Likewise.
7079 * sysdeps/m68k/setjmp.c: Likewise.
7080 * sysdeps/posix/getcwd.c: Likewise.
7081 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7082 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7083 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7084 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7085 * sysdeps/sh/sh3/setjmp.S: Likewise.
7086 * sysdeps/sh/sh4/setjmp.S: Likewise.
7087 * sysdeps/unix/alpha/sysdep.h: Likewise.
7088 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7090 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7091 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7096 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7099 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7101 * sysdeps/x86_64/setjmp.S: Likewise.
7102
d44a052c
JM
71032014-08-13 Joseph Myers <joseph@codesourcery.com>
7104
7105 [BZ #17263]
7106 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7107 <stdint.h>.
7108 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7109 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7110
508ce3ac
SP
71112014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7112
e44c8b0e
SP
7113 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7114
508ce3ac
SP
7115 [BZ #17262]
7116 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7117 and __x86_64__ when disabling x87 inline functions.
7118
b4acef1f
L
71192014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7120
7121 [BZ #17259]
7122 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7123 asm statement with __cpuid_count.
7124
61b1ef6e
MF
71252014-08-12 Mike Frysinger <vapier@gentoo.org>
7126
7127 * configure.ac: Change __ehdr_start code to dereference the struct.
7128 Run readelf on the output to look for relocations.
7129 * configure: Regenerated.
7130
898c62f4
JM
71312014-08-12 Joseph Myers <joseph@codesourcery.com>
7132
7133 [BZ #17261]
7134 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7135 value to 0.
7136 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7137
9a8a5720
RM
71382014-08-12 Roland McGrath <roland@hack.frob.com>
7139
7140 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7141
4e75751c
BO
71422014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7143
7144 [BZ #16892]
7145 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7146 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7147
bb2ce416
SA
71482014-08-12 Sean Anderson <seanga2@gmail.com>
7149
7150 * malloc/malloc.c: Fix typo in comment.
7151
7950a4ee
AM
71522014-08-09 Allan McRae <allan@archlinux.org>
7153
7154 * Regenerate libc.po.
7155
f469c49f
MF
71562014-08-08 Mike Frysinger <vapier@gentoo.org>
7157
7158 * intl/tst-gettext2.sh: Check every lang file for creation.
7159
656b84c2
WD
71602014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7161
7162 * sysdeps/aarch64/fpu/math_private.h
7163 (libc_feholdsetround_noex_aarch64_ctx): New function.
7164
538e9e45
W
71652014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7166
7167 * sysdeps/arm/armv6/strcpy.S (strcpy):
7168 Fix performance issue in misaligned cases.
7169
d4795e4a
AZ
71702014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7171
7172 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7173 Move definition from termios.h.
7174 (struct termio): Likewise.
7175 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7176 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7177 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7178 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7179 Likewise.
7180 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7181 Move definition to ioctl-types.h
7182 (struct termio): Likewise.
7183 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7184 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7185 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7186 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7187 Likewise.
7188
64accb62
RH
71892014-08-05 Richard Henderson <rth@redhat.com>
7190
27bb6dc0
RH
7191 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7192 exceptions.
7193 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7194 Add fraiseexcpt.
7195 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7196 Use __feraiseexcept.
7197 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7198 Protect libm symbols with IS_IN_libm.
7199
64accb62
RH
7200 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7201
e5292691
BO
72022014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7203
7204 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7205
5b4bd2d4
WN
72062014-08-04 Will Newton <will.newton@linaro.org>
7207
7208 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7209 file.
7210
fcadaeef
MF
72112014-08-04 Mike Frysinger <vapier@gentoo.org>
7212
7213 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7214 variants for each function.
7215
43a94c64
RM
72162014-08-04 Roland McGrath <roland@hack.frob.com>
7217
7218 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7219 appended ...
7220 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7221 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7222 appended ...
7223 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7224 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7225 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7226 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7227 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7228 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7229 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7230 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7231 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7232 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7239 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7240 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7253 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7257 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7258 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7259 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7260 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7261 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7262 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7263 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7264 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7265 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7266 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7267 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7268 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7269 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7270 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7271 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7272 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7273 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7274 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7275 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7276 Update #include.
7277 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7278 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7279
8f3c1fa4
RM
72802014-08-04 Roland McGrath <roland@hack.frob.com>
7281
7282 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7283 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7284 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7285 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7286 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7287 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7288
ca08746f
RM
72892014-08-04 Roland McGrath <roland@hack.frob.com>
7290
7291 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7292 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7293 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7294 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7295
9c925ff9
RM
72962014-08-04 Roland McGrath <roland@hack.frob.com>
7297
7298 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7299 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7300 (__libc_vfork): Define function under this name.
7301 (__vfork): Define as an alias.
7302 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7303 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7304
e641054c
RM
73052014-08-04 Roland McGrath <roland@hack.frob.com>
7306
7307 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7308 that was previously under [RESET_PID].
7309 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7310
dacdc867
AS
73112014-08-04 Andreas Schwab <schwab@suse.de>
7312
7313 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7314
41f725ff
MF
73152014-08-03 Mike Frysinger <vapier@gentoo.org>
7316
7317 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7318 (main): Likewise.
7319
277cfb31
RM
73202014-08-01 Roland McGrath <roland@hack.frob.com>
7321
7322 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7323
4896f049
RH
73242014-08-01 Richard Henderon <rth@redhat.com>
7325
7326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7327 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7328 typo in exact zero test.
7329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7332
6f64e7d7
RM
73332014-08-01 Roland McGrath <roland@hack.frob.com>
7334
7335 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7336 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7337 * sysdeps/arm/sysdep.h: ... here.
7338 [!__ASSEMBLER__]: Include <stdint.h>.
7339
3f3dd810
SP
73402014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7341
a476ac4b
SP
7342 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7343 (HAVE_WCTYPE_H): Likewise.
7344 (HAVE_ISWCTYPE): Likewise.
7345 (ENABLE_NLS): Likewise.
7346 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7347 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7348
78dd658a
SP
7349 * posix/regex_internal.c: Check if DEBUG is defined and is
7350 set.
7351
3f3dd810
SP
7352 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7353 (HAVE_MBSRTOWCS): Likewise.
7354 * posix/fnmatch.c: Include string.h unconditionally.
7355
95ee7fb1
SL
73562014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7357
7358 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7359 reversal.
7360
23fe486b
RM
73612014-07-31 Roland McGrath <roland@hack.frob.com>
7362
f61a113f
RM
7363 * sysdeps/generic/safe-fatal.h: New file.
7364 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7365 * nptl/forward.c: Include it.
7366 (__pthread_unwind): Use __safe_fatal as default action, rather
7367 than a bogus use of INTERNAL_SYSCALL that could never work.
7368
9fe7e787
RM
7369 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7370 * configure.ac (libc_cv_builtin_trap): New test.
7371 * configure: Regenerated.
7372 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7373 (ABORT_INSTRUCTION): Define using __builtin_trap.
7374
23fe486b
RM
7375 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7376 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7377 * sysdeps/nptl/nptl-signals.h: New file.
7378 * nptl/pthreadP.h: Include <nptl-signals.h>.
7379
f349489e
SL
73802014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7381
7382 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7383 (ONE_DIRECTION): Define.
7384 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7385 (ONE_DIRECTION): Define.
7386 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7387 (ONE_DIRECTION): Define.
7388
2f438e20
SL
73892014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7390
7391 * sysdeps/s390/Makefile: Delete file.
7392 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7393 * sysdeps/s390/__longjmp.c: Delete file.
7394 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7395 Remove fields __flags and __reserved.
7396 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7397 and add versioning.
7398 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7399 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7400 * sysdeps/s390/rtld-setjmp.S: Likewise.
7401 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7402 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7403 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7404 * sysdeps/s390/s390-32/setjmp.S: ... here.
7405 Add versioning.
7406 (__sigsetjmp): Remove setting __flags field.
7407 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7408 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7409 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7410 * sysdeps/s390/s390-64/setjmp.S: ... here.
7411 Add versioning.
7412 (__sigsetjmp): Remove setting __flags field.
7413 * sysdeps/s390/setjmp.S: Delete file.
7414 * sysdeps/s390/sigjmp.c: Likewise.
7415 * sysdeps/s390/v1-longjmp.c: Likewise.
7416 * sysdeps/s390/v1-setjmp.h: Likewise.
7417 * sysdeps/s390/v1-sigjmp.c: Likewise.
7418 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7419 Remove v1-longjmp_chk.
7420 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7421 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7422 Include debug/longjmp_chk.c and add versioning.
7423 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7424 Include nptl/pt-longjmp.c and add versioning.
7425 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7426 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7427 Include __longjmp.c.
7428 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7429 Move to ...
7430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7431 (__getcontext): Remove setting __flags field.
7432 Add versioning.
7433 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7434 Don't restore upper high grps.
7435 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7436 Likewise.
7437 (__swapcontext): Remove setting uc_flags field.
7438 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7439 Delete file.
7440 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7441 Include __longjmp.c.
7442 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7443 Move to ...
7444 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7445 (__getcontext): Remove setting __flags field.
7446 Add versioning.
7447 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7448 (__swapcontext): Remove setting uc_flags field.
7449 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7450 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7451 Remove fields uc_high_gprs and __reserved.
7452 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7453 New file with reverted content.
7454 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7455 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7456 Regenerated.
7457 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7458 Regenerated.
7459
6c9578a2
AS
74602014-07-31 Andreas Schwab <schwab@suse.de>
7461
7462 * config.h.in (HAVE_IFUNC): Define to 0.
7463 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7464 definedness.
7465
05f3633d
LM
74662014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7467
7468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7469 memmove-avx-unaligned, memcpy-avx-unaligned and
7470 mempcpy-avx-unaligned.
7471 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7472 Add tests for AVX memcpy functions.
7473 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7474 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7475 memcpy_chk.
7476 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7477 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7478 memmove_chk.
7479 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7480 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7481 mempcpy_chk.
7482 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7483 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7484 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7485
a53fbd8e
AZ
74862013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487
7488 [BZ #17213]
7489 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7490 powerpc64le.
7491
0961f7e1
JL
74922014-07-29 Jeff Layton <jlayton@poochiereds.net>
7493
7494 [BZ #16839]
7495 * manual/llio.texi: Add section about open file description locks.
7496 * manual/examples/ofdlocks.c: Example of open file description
7497 lock usage.
7498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7499 F_OFD_SETLK, and F_OFD_SETLKW.
7500
cc5fb300
AM
75012014-07-23 Allan McRae <allan@archlinux.org>
7502
7503 * po/es.po: Update Spanish translation from translation project.
7504
23329dca
AS
75052014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7508
9c82da17
MR
75092014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7510
7511 [BZ #17078]
7512 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7513 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7514 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7515
29c4f53e
JM
75162014-07-17 Joseph Myers <joseph@codesourcery.com>
7517
831b9896
JM
7518 [BZ #17088]
7519 * math/fesetenv.c (__fesetenv)
7520 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7521 * math/feupdateenv.c (__feupdateenv)
7522 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7523
b21c2d50
JM
7524 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7525 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7526 (__ASSUME_SOCKETCALL): Do not define.
7527
067764ef
JM
7528 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7529 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7530 (__ASSUME_SOCKETCALL): Do not define.
7531 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7532 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7533 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7534 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7535 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7536 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7537 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7538 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7539
642530c1
JM
7540 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7541 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7542 (__ASSUME_SOCKETCALL): Do not define.
7543 (__ASSUME_IPC64): Define unconditionally.
7544 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7545 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7546 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7547 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7548 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7549 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7550 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7551 Likewise.
7552
03f77315
JM
7553 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7554 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7555 (__ASSUME_SOCKETCALL): Do not define.
7556 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7557 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7558 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7559 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7560 (__ASSUME_REQUEUE_PI): Define unconditionally.
7561 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7562 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7563 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7564 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7565 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7566 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7567
083b1f7c
JM
7568 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7569 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7570 (__ASSUME_SOCKETCALL): Do not define.
7571 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7572 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7573 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7574 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7575 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7576 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7577
5be44ea6
JM
7578 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7579 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7580 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7581 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7582 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7583 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7584 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7585 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7586 (__ASSUME_GETCPU_SYSCALL): Likewise.
7587
d95ffd4c
JM
7588 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7589 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7590 cases for individual architectures.
7591 * sysdeps/gnu/configure: Regenerated.
7592 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7593 LIBC_SLIBDIR_RTLDDIR.
7594 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7595 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7596 LIBC_SLIBDIR_RTLDDIR.
7597 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7599 LIBC_SLIBDIR_RTLDDIR.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7601 Regenerated.
7602 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7603 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7604 file.
7605 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7606 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7607 file.
7608 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7609 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7610 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7611 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7612
29c4f53e
JM
7613 * sysdeps/aarch64/shlib-versions: Move to ...
7614 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7615 * sysdeps/alpha/shlib-versions: Move to ...
7616 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7617 * sysdeps/arm/shlib-versions: Move to ...
7618 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7619 * sysdeps/hppa/shlib-versions: Move all contents except for
7620 libgcc_s entry to ...
7621 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7622 entry from ...
7623 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7624 * sysdeps/ia64/shlib-versions: Move to ...
7625 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7626 entry from ...
7627 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7628 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7629 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7630 * sysdeps/microblaze/shlib-versions: Move to ...
7631 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7632 * sysdeps/mips/shlib-versions: Move to ...
7633 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7634 entry from ...
7635 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7636 * sysdeps/tile/shlib-versions: Move to ...
7637 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7638 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7639 from ...
7640 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7641 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7642 entry from ...
7643 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7644
32bead5b
WN
76452014-07-17 Will Newton <will.newton@linaro.org>
7646
57977c4b
WN
7647 * sysdeps/arm/bits/atomic.h
7648 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7649 (__arch_compare_and_exchange_bool_16_int): Likewise.
7650 (__arch_compare_and_exchange_bool_64_int): Likewise.
7651
32bead5b
WN
7652 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7653 into an #else block.
7654
37fccd41
RM
76552014-07-16 Roland McGrath <roland@hack.frob.com>
7656
7657 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7658 just Linux configurations. Test empirically that the compiler sets
7659 __ARM_EABI__, rather than using the tuple to decide.
7660 * sysdeps/arm/preconfigure: Regenerated.
7661 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7662 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7663 contents appended ...
7664 * sysdeps/arm/configure.ac: ... here.
7665 * sysdeps/arm/configure: Regenerated.
7666
b365f3ec
RM
76672014-07-15 Roland McGrath <roland@hack.frob.com>
7668
8badf496
RM
7669 * nptl/pthread_kill.c: New file.
7670 * nptl/pthread_sigmask.c: New file.
7671 * nptl/pthread_sigqueue.c: New file.
7672
3df6f22e
RM
7673 * sysdeps/nptl/lowlevellock.h: New file.
7674 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7675 * sysdeps/nptl/lowlevellock-futex.h: New file.
7676
b365f3ec
RM
7677 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7678 Remove dead declarations.
7679
f2fef657
L
76802014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7683 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7684 config-cflags-avx2.
7685 * sysdeps/x86_64/configure.ac: Likewise.
7686 * sysdeps/i386/configure: Regenerated.
7687 * sysdeps/x86_64/configure: Likewise.
7688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7689 memset-avx2 only if config-cflags-avx2 is yes.
7690 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7691 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7692 defined.
7693 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7694 only if HAVE_AVX2_SUPPORT is defined.
7695 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7696
f6c44d47
AM
76972014-07-14 Alan Modra <amodra@gmail.com>
7698
7699 [BZ #17153]
7700 * elf/elf.h (DT_PPC64_NUM): Correct value.
7701 * NEWS: Add to fixed bug list.
7702
7ee03f00
JM
77032014-07-13 Jim Meyering <meyering@fb.com>
7704
7705 [BZ 17150]
7706 regex: don't deref NULL upon heap allocation failure
7707 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7708 failure in one more place.
7709 To trigger the segfault, configure grep -with-included-regex,
7710 build it, and run these commands:
7711 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7712
9d39d517
AS
77132014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7714
7715 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7716
a75b89b7
RH
77172014-07-11 Richard Henderson <rth@redhat.com>
7718
7719 * sysdeps/aarch64/libm-test-ulps: Update.
7720
771eb141
FW
77212014-07-10 Florian Weimer <fweimer@redhat.com>
7722
7723 [BZ #17135]
7724 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7725 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7726 (__nptl_setxid): Initialize error member. Call
7727 __nptl_setxid_error.
7728 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7729 * nptl/descr.h (struct xid_command): Add error member.
7730 * nptl/tst-setuid3.c: New file.
7731 * nptl/Makefile (tests): Add it.
7732
bc1da176
AZ
77332014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7734
7735 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7736 New define.
7737 (__lll_trylock): Use __lll_base_trylock.
7738 (__lll_cond_trylock): Likewise.
7739
887865fc
RM
77402014-07-10 Roland McGrath <roland@hack.frob.com>
7741
c0c6bac9
RM
7742 * nptl/pthread_create.c (start_thread): Use atomic_or and
7743 lll_futex_wake directly rather than lll_robust_dead.
7744 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7745 (lll_robust_dead): Macro removed.
6a42be57 7746 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7747 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7748 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7749 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7750 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7751 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7752 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7753 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7754 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7756 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7757 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7759 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7760 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7761
887865fc
RM
7762 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7763 Use atomic_compare_and_exchange_val_acq directly rather than
7764 lll_robust_trylock.
7765 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7766 (__lll_robust_trylock, lll_robust_trylock): Removed.
7767 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7768 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7769 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7770 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7771 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7772 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7773 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7774 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7776 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7778 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7779 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7780 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7781
58536726
FW
77822014-07-02 Florian Weimer <fweimer@redhat.com>
7783
7784 * manual/locale.texi (Locale Names): New section documenting
7785 locale name syntax. Adjust menu and node chaining accordingly.
7786 (Choosing Locale): Reference Locale Names, Locale Categories.
7787 Mention setting LC_ALL=C. Reflect that name syntax is now
7788 documented.
7789 (Locale Categories): New section title. Reference Locale Names.
7790 LC_ALL is an environment variable, but not a category.
7791 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7792 description, now in Locale Name. Reference that section. Locale
7793 name syntax is now documented.
7794
4e8f95a0
FW
77952014-07-02 Florian Weimer <fweimer@redhat.com>
7796
7797 [BZ #17137]
7798 * locale/findlocale.c (name_present, valid_locale_name): New
7799 functions.
7800 (_nl_find_locale): Use the loc_name variable to store name
7801 candidates. Call name_present and valid_locale_name to check and
7802 validate locale names. Return an error if the locale is invalid.
7803
d1836456
FW
78042014-07-02 Florian Weimer <fweimer@redhat.com>
7805
7806 * locale/setlocale.c (setlocale): Use strdup for allocating
7807 composite name copy.
7808
d69b7f5a
SP
78092014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
888c679b
SP
7811 Sync up with gnulib.
7812 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7813 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7814 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7815 and _GL_ARG_NONNULL.
7816 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7817 [!_LIBC]: Include code for Windows and Cygwin.
7818 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7819 Include prototype for int strerror_r.
7820 [!_LIBC] (is_open): New function.
7821 (flush_stdout): New function.
7822 (print_errno_message): Use it.
7823 (error): Likewise.
7824 (error_at_line): Likewise.
7825 (error_tail) Add function attribute macros. Use
7826 __builtin_expect.
7827
180e0e4b
SP
7828 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7829
d22f1fe2
SP
7830 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7831
12f2254b
SP
7832 * io/ftw.c: Include sys/param.h unconditionally.
7833
c3c7c360
SP
7834 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7835
d62aa75a
SP
7836 [BZ #17125]
7837 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7838 libc_freeres_ptr.
7839 (freecache): New function to free CACHE on exit.
7840
d69b7f5a
SP
7841 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7842 initialization.
7843
5efe06a1
DM
78442014-07-09 David S. Miller <davem@davemloft.net>
7845
7846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7847
7000d82e
DM
7848 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7849 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7850 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7851 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7852 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7853 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7854 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7855 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7856 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7857 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7858 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7859 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7860 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7861
c213442d
AS
78622014-07-09 Andreas Schwab <schwab@suse.de>
7863
4a2552c3
AS
7864 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7865 output.
7866 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7867 (do_test): Likewise.
7868
c213442d
AS
7869 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7870
82374e65
WN
78712014-07-09 Will Newton <will.newton@linaro.org>
7872
7873 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7874 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7875 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7876 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7877 * sysdeps/hppa/start.S (_start): Likewise.
7878
6680738a
SP
78792014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7880
6ee3eab4
SP
7881 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7882
6680738a
SP
7883 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7884 defined.
7885
80b5c505
SP
78862014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7887
e35c53e3
SP
7888 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7889 after checking that it is non-NULL.
7890
80b5c505
SP
7891 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7892
91f4b564
AZ
78932014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7894
27b75f56
AZ
7895 * sysdeps/powerpc/memmove.c: Remove file.
7896 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7897 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7898 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7899 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7900 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7901 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7902 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7903 string memmove instead of removed powerpc one.
7904
e7f95bb5
AZ
7905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7906 [weak_alias]: Fix compiler warning due trailing data.
7907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7908 [weak_alias]: Likewise.
7909 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7910 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7911
91f4b564
AZ
7912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7913 (__libc_ifunc_impl_list): Add memmove functions.
7914
7c33f1e5
SP
79152014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
7917 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7918 Remove code.
7919 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7920 Likewise
7921 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7922 Likewise
7923 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7924 Likewise
7925 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7926 Likewise
7927 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7928 Likewise
7929 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7930 Likewise
7931 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7932 Likewise
7933 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7934 Likewise
7935 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7936 Likewise
7937 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7938 Likewise
7939 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7940 Likewise
7941 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7942 Likewise
7943 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7944 Likewise
7945 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7946 Likewise
7947 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7948 Likewise
7949 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7950 Likewise
7951
3f17b03b
AZ
79522014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7953
87868c24
AZ
7954 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7955 to avoid alignment traps in non-cacheable memory.
7956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7957
07aedd78
AZ
7958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7959 multiarch objects.
7960 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7961 file: multiarch power7 memmove.
7962 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7963 multiarch default memmove.
7964 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7965 multiarch memove for powerpc32/power4.
7966
17762f66
AZ
7967 * string/bcopy.c: Use full path to include memmove.c.
7968 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7969 multiarch objects.
7970 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7971 bcopy for powerpc64.
7972 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7973 bcopy for powerpc64.
7974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7975 and memmove implementations.
7976 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7977 optimized multiarch memmove for POWER7/powerpc64.
7978 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7979 default multiarch memmove for powerpc64.
7980 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7981 multiarch for powerpc64.
7982 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7983 for POWER7/powerpc64.
7984 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7985 memmove for POWER7/powerpc64.
7986
d6f68bbe
AZ
7987 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7988 glibc default one.
7989
3f17b03b
AZ
7990 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7991 __ELF_NATIVE_CLASS equal to 64.
7992
08192659
RM
79932014-07-07 Roland McGrath <roland@hack.frob.com>
7994
f4c4021b
RM
7995 * sysdeps/nptl/lowlevellock.h: File removed.
7996
f083450f
RM
7997 * NEWS: NPTL is no longer an add-on!
7998 * nptl/internaltypes.h: Moved ...
7999 * sysdeps/nptl/internaltypes.h: ... here.
8000 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8001 * sysdeps/nptl/fork.c: Likewise.
8002 * sysdeps/nptl/gai_misc.h: Likewise.
8003 * sysdeps/nptl/librt-cancellation.c: Likewise.
8004 * sysdeps/nptl/jmp-unwind.c: Likewise.
8005 * sysdeps/nptl/setxid.h: Likewise.
8006 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8007 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8008 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8009 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8010 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8011 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8012 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8013 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8014 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8015 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8016 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8017 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8018 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8019 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8020 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8021 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8022 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8023 * nptl/Makeconfig: Moved ...
8024 * sysdeps/nptl/Makeconfig: ... here.
8025 * nptl/configure: File removed.
8026 * nptl/ANNOUNCE: File removed.
8027 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8028 * sysdeps/unix/sysv/linux/configure: Regenerated.
8029
08192659
RM
8030 * nptl/Makefile (routines): Add libc_pthread_init,
8031 libc_multiple_threads, register-atfork and unregister-atfork.
8032 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8033 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8034 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8035 pthread-pi-defines.sym, structsem.sym.
8036 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8037 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8038 [$(subdir) = nptl] (tests): Add tst-setgetname.
8039 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8040 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8041 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8042 [!LIBC_SIGACTION]: Remove aliases.
8043 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8044 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8045 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8046 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8047 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8048 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8052 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8053 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8054 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8055 __libc_allocate_rtsig_private.
8056 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8057 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8058 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8059 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8060 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8061 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8062 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8063 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8064 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8065 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8066 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8067 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8068 * nptl/internaltypes.h: ... here.
8069 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8070 * sysdeps/nptl/jmp-unwind.c: ... here.
8071 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8072 * nptl/libc-lowlevellock.c: ... here.
8073 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8074 * nptl/libc_multiple_threads.c: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8076 * nptl/libc_pthread_init.c: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8078 * nptl/lowlevelbarrier.sym: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8080 * nptl/lowlevelcond.sym: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8082 * nptl/lowlevellock.c: ... here.
8083 * nptl/lowlevellock.h: Moved ...
8084 * sysdeps/nptl/lowlevellock.h: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8086 * nptl/lowlevelrobustlock.c: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8088 * nptl/lowlevelrobustlock.sym: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8090 * nptl/lowlevelrwlock.sym: ... here.
8091 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8092 * nptl/pt-fork.c: ... here.
8093 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8094 * nptl/pthread-pi-defines.sym: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8096 * nptl/pthread_attr_getaffinity.c: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8098 * nptl/pthread_attr_setaffinity.c: ... here.
8099 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8100 * nptl/pthread_mutex_cond_lock.c: ... here.
8101 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8102 Update #include.
8103 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8104 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8105 * nptl/pthread_once.c: ... here, replacing old file.
8106 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8107 * nptl/pthread_yield.c: ... here.
8108 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8109 * nptl/register-atfork.c: ... here.
8110 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8111 * nptl/sem_post.c: ... here.
8112 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8113 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8114 * nptl/sem_timedwait.c: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8116 * nptl/sem_trywait.c: ... here.
8117 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8118 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8119 * nptl/sem_wait.c: ... here.
8120 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8121 * nptl/structsem.sym: ... here.
8122 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8123 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8124 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8125 * nptl/unregister-atfork.c: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8127 * nptl/unwindbuf.sym: ... here.
8128 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8129 * sysdeps/nptl/fork.c: ... here.
8130 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8131 * sysdeps/nptl/fork.h: ... here.
8132 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8133 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8134 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8136 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8138 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8140 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8142 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8144 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8146 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8147 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8148 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8150 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8151 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8152 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8154 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8155 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8156 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8158 * sysdeps/unix/sysv/linux/raise.c: ... here.
8159 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8160 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8162 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8163 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8164 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8166 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8168 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8170 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8172 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8173 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8174
96baf6ff
SP
81752014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8176
8177 * sysdeps/generic/memcopy.h: Add comment for
8178 MEMCPY_OK_FOR_FWD_MEMMOVE.
8179
6b7b14b2
WN
81802014-07-04 Will Newton <will.newton@linaro.org>
8181
1570a72b
WN
8182 * string/memchr.c: Merge from gnulib.
8183 [_LIBC]: Remove conditionals.
8184 (__ptr_t): Remove define.
8185 (LONG_MAX_32_BITS): Likewise.
8186 (LONG_MAX): Likewise.
8187 (MEMCHR): Use ANSI prototype and optimize algorithm.
8188
6b7b14b2
WN
8189 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8190
38851324
SP
81912014-07-03 Roland McGrath <roland@hack.frob.com>
8192
3d9eb57c
RM
8193 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8194 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8195
78b984ae
RM
8196 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8197 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8198 in a bare environment with no <stdlib.h> installed.
8199 * sysdeps/nptl/configure: Regenerated.
8200
2d5976a5
RM
8201 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8202
c1f5acd4
RM
8203 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8204 AC_EGREP_CPP for kernel header checks, so they only succeed if
8205 including <linux/version.h> actually works right.
8206 * sysdeps/unix/sysv/linux/configure: Regenerated.
8207
4d614fe5
RM
8208 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8209 value so it's not diagnosed as unused.
8210
38851324
SP
8211 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8212 thing) with "ifeq ($(subdir),rt)".
8213
b3ec00e5
RH
82142014-07-03 Richard Henderson <rth@redhat.com>
8215
69862e25
RH
8216 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8217 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8218 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8219
d5e16ade
RH
8220 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8221 (math_force_eval): New.
8222
ca7b945c
RH
8223 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8224 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8225
cd1175a3
RH
8226 * sysdeps/alpha/fpu/s_round.c: Remove file.
8227 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8228
b3ec00e5
RH
8229 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8230 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8231 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8232 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8233 (_dl_start, print_statistics): Likewise.
8234 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8235 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8236
8237 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8238 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8239 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8240 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8241 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8242 (HP_SMALL_TIMING_AVAIL): Define.
8243 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8244 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8245 (HP_SMALL_TIMING_AVAIL): Define.
8246 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8247 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8248
8249 * sysdeps/aarch64/hp-timing.h: New file.
8250
8251 * sysdeps/generic/hp-timing.h: Remove dead comment.
8252 * sysdeps/generic/hp-timing-common.h: New file.
8253 * sysdeps/alpha/hp-timing.h: Include it.
8254 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8255 * sysdeps/i386/i686/hp-timing.h: Likewise.
8256 * sysdeps/ia64/hp-timing.h: Likewise.
8257 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8258 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8259 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8260 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8261 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8262 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8263 (hp_timing_t): New.
8264
8265 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8266 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8267 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8268 * elf/rtld.c (_dl_start_final): Likewise.
8269 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8270 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8271 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8272 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8273 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8275 (HP_TIMING_DIFF_INIT): Remove.
8276 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8277 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8278 (HP_TIMING_DIFF_INIT): Remove.
8279 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8280 * sysdeps/i386/i686/hp-timing.c: Remove file.
8281 * sysdeps/x86_64/hp-timing.c: Remove file.
8282 * sysdeps/ia64/hp-timing.c: Remove file.
8283 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8284 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8285 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8286 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8287
8288 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8289 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8290 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8291 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8292 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8293 (HP_TIMING_ACCUM): Remove.
8294 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8295 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8296 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8297
8298 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8299 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8300 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8301 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8302 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8303 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8305 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8306
8307 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8308
225f410f
MR
83092014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8310
8311 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8312
3247f285
SP
83132014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8314
8315 Sync up with gettext.
8316 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8317 [_MSC_VER]: Include malloc.h
8318 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8319 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8320 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8321 TEMP_FAILURE_RETRY. Cast return of alloca.
8322 [!_LIBC] Call gl_rwlock_init.
8323 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8324
d12704c7
SP
83252014-07-02 Roland McGrath <roland@hack.frob.com>
8326
8327 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8328 before checking its value.
8329
99f8dc92
SP
83302014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8331
05fdac77
SP
8332 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8333
99f8dc92
SP
8334 * debug/memcpy_chk.c: Don't include pagecopy.h.
8335 * debug/mempcpy_chk.c: Likewise.
8336 * string/memcpy.c: Likewise.
8337 * string/memmove.c: Likewise.
8338 * sysdeps/powerpc/memmove.c: Likewise.
8339 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8340 definition of PAGE_COPY_FWD_MAYBE here...
8341 * sysdeps/generic/pagecopy.h: ... from here.
8342 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8343
bc8ea385
VR
83442014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8345 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8346
8347 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8349 optimizations.
8350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8351 (__libc_ifunc_impl_list): Likewise.
8352 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8353 multiarch strcat for PPC64.
8354 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8355 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8356
fe5f34e4
RM
83572014-07-02 Roland McGrath <roland@hack.frob.com>
8358
8359 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8360
256aa665
SP
83612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8362
d4eb8195
SP
8363 * intl/loadmsgcat.c: Remove declaration of
8364 get_sysdep_segment_value.
8365 (get_sysdep_segment_value): Use ISO C style.
8366 (_nl_load_domain): Use ISO C style. Get rid of redundant
8367 semicolon. Fix typo and formatting in comment.
8368 (_nl_unload_domain): Use ISO C style.
8369
256aa665
SP
8370 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8371
b100f9aa
WN
83722014-07-02 Will Newton <will.newton@linaro.org>
8373
8374 * malloc/obstack.c: Merge from gnulib master.
8375 [HAVE_CONFIG_H]: Remove conditional code.
8376 [!_LIBC]: Include config.h.
8377 [!ELIDE_CODE]: Don't include inttypes.h, include
8378 stdint.h unconditionally.
8379 (print_and_abort): Mark as _Noreturn.
8380 (_obstack_allocated_p): Mark as __attribute_pure__.
8381 (obstack_free): Rename to __obstack_free.
8382 [!__attribute__]: Remove conditional code.
8383 * malloc/obstack.h: Merge from gnulib master.
8384 [__cplusplus]: Move conditional down.
8385 [!__attribute_pure__]: Define __attribute_pure__ here
8386 if it is not already defined.
8387 (_obstack_memory_used): Mark as __attribute_pure__.
8388 [!__obstack_free]: Define as obstack_free.
8389 [__GNUC__]: Remove check for ancient NeXT gcc.
8390
c4c41244
PE
83912014-07-02 Will Newton <will.newton@linaro.org>
8392 Paul Eggert <eggert@cs.ucla.edu>
8393
8394 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8395
e1e041c4
SP
83962014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
8398 * resolv/gethnamaddr.c: Add comment warning that the file is
8399 not maintained.
8400
ccf431ff
CD
84012014-07-01 Carlos O'Donell <carlos@redhat.com>
8402
d34570a6
CD
8403 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8404 entries.
8405
ccf431ff
CD
8406 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8407 entry for aio_cancel and aio_cancel64.
8408 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8409 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8410 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8411 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8412 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8413 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8414 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8415 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8416 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8417 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8418 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8419 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8420 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8421
ca06321d
RM
84222014-07-01 Roland McGrath <roland@hack.frob.com>
8423
8424 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8425 * nptl/pthread_mutex_lock.c: Likewise.
8426 * nptl/pthread_mutex_timedlock.c: Likewise.
8427 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8428
a1ac3184
RH
84292014-07-01 Richard henderson <rth@redhat.com>
8430
631021e0
RH
8431 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8432 (__isnan, __isnanl): Remove.
8433 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8434
a1ac3184
RH
8435 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8436
0c1d731f
SL
84372014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8438
8439 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8440
76985d3e
SP
84412014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8442
8443 * resolv/nss_dns/dns-host.c (getanswer_r)
8444 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8445
b0cb3096
JM
84462014-07-01 Joseph Myers <joseph@codesourcery.com>
8447
8448 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8449 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8450 undefine.
8451 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8452 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8453
4d76cb39
RM
84542014-07-01 Roland McGrath <roland@hack.frob.com>
8455
8456 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8457 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8458
8459 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8460 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8461
8462 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8463 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8464 ... here.
8465 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8466 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8467
8468 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8469 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8470 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8471 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8472
8473 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8474 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8475 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8476 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8478 Moved ...
8479 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8480 ... here.
8481 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8482 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8484 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8486 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8490 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8492 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8494 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8495 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8496 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8497 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8498 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8501 ... here.
8502 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8503 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8505 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8506 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8507 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8508 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8509 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8510
0cdcad17
DH
85112014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8512
8513 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8514 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8515 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8516 Add sysdep.
8517
9b71d0e3
AZ
85182014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8519
8520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8521
665390c2
JM
85222014-06-30 Joseph Myers <joseph@codesourcery.com>
8523
ae05a9d7
JM
8524 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8525 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8526
a7672a2f
JM
8527 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8528
665390c2
JM
8529 * sysdeps/arm/libm-test-ulps: Regenerated.
8530
d7a05d07
MR
85312014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8532 Roland McGrath <roland@hack.frob.com>
8533
8534 * test-skeleton.c (signal_handler): Kill the whole process group
8535 before killing the child individually.
8536 (main): Report any failure on `setpgid'.
8537
46f1d8a6
RM
85382014-06-30 Roland McGrath <roland@hack.frob.com>
8539
8540 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8541 from _TLS_H to _ARM_NPTL_TLS_H.
8542 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8543 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8544
9c37ec0b
JM
85452014-06-30 Joseph Myers <joseph@codesourcery.com>
8546
ce9c5b3e
JM
8547 [BZ #16539]
8548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8549 (__expm1l): Return argument unchanged when small but not
8550 subnormal.
8551
3a6e9887
JM
8552 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8553 include macro name.
8554 (_FP_UNPACK_RAW_1_P): Likewise.
8555 (_FP_PACK_RAW_1): Likewise.
8556 (_FP_PACK_RAW_1_P): Likewise.
8557 (_FP_MUL_MEAT_1_wide): Likewise.
8558 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8559 (_FP_MUL_MEAT_1_hard): Likewise.
8560 (_FP_DIV_MEAT_1_imm): Likewise.
8561 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8562 (_FP_DIV_MEAT_1_udiv): Likewise.
8563 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8564 (_FP_UNPACK_RAW_2): Likewise.
8565 (_FP_UNPACK_RAW_2_P): Likewise.
8566 (_FP_PACK_RAW_2): Likewise.
8567 (_FP_PACK_RAW_2_P): Likewise.
8568 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8569 (_FP_MUL_MEAT_2_wide): Likewise.
8570 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8571 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8572 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8573 (_FP_MUL_MEAT_2_gmp): Likewise.
8574 (_FP_DIV_MEAT_2_udiv): Likewise.
8575 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8576 (_FP_FRAC_SRL_4): Likewise.
8577 (_FP_FRAC_SRST_4): Likewise.
8578 (_FP_FRAC_SRS_4): Likewise.
8579 (_FP_UNPACK_RAW_4): Likewise.
8580 (_FP_UNPACK_RAW_4_P): Likewise.
8581 (_FP_PACK_RAW_4): Likewise.
8582 (_FP_PACK_RAW_4_P): Likewise.
8583 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8584 (_FP_MUL_MEAT_4_wide): Likewise.
8585 (_FP_MUL_MEAT_4_gmp): Likewise.
8586 (umul_ppppmnnn): Likewise.
8587 (_FP_DIV_MEAT_4_udiv): Likewise.
8588 (__FP_FRAC_ADD_4): Likewise.
8589 (__FP_FRAC_SUB_3): Likewise.
8590 (__FP_FRAC_SUB_4): Likewise.
8591 (__FP_FRAC_DEC_3): Likewise.
8592 (__FP_FRAC_DEC_4): Likewise.
8593 (__FP_FRAC_ADDI_4): Likewise.
8594 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8595 (_FP_FRAC_SRL_8): Likewise.
8596 (_FP_FRAC_SRS_8): Likewise.
8597
9c37ec0b
JM
8598 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8599 include macro name.
8600 (FP_UNPACK_RAW_EP): Likewise.
8601 (FP_PACK_RAW_E): Likewise.
8602 (FP_PACK_RAW_EP): Likewise.
8603 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8604 (_FP_ISSIGNAN): Likewise.
8605 (_FP_ADD_INTERNAL): Likewise.
8606 (_FP_FMA): Likewise.
8607 (_FP_CMP): Likewise.
8608 (_FP_SQRT): Likewise.
8609 (_FP_TO_INT): Likewise.
8610 (_FP_FROM_INT): Likewise.
8611 (FP_EXTEND): Likewise.
8612 (_FP_DIV_MEAT_N_loop): Likewise.
8613
2125f674
MR
86142014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8615
8616 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8617 throughout.
8618
edea4028
JM
86192014-06-29 Joseph Myers <joseph@codesourcery.com>
8620
8621 [BZ #17097]
8622 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8623 result with correct sign in case of exponents that produce
8624 overflow except for X very close to 1.
8625
dd0ba018
PE
86262014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8627
8628 mktime: merge #if/#ifdef usage from glibc
8629 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8630 as that works with both Glibc's and Gnulib's style.
8631 See thread starting at Siddhesh Poyarekar's bug report at:
8632 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8633
64df73c2
SP
86342014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8635
8636 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8637 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8638 * sysdeps/tile/tilegx/memmove.c: Remove file.
8639
f1eafb41
JM
86402014-06-27 Joseph Myers <joseph@codesourcery.com>
8641
8642 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8643 abi-name definition.
8644 * scripts/soversions.awk: Do not handle or generate ABI lines.
8645 * shlib-versions: Remove ABI entries.
8646 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8647 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8648
58eb0862
RM
86492014-06-27 Roland McGrath <roland@hack.frob.com>
8650
37caf178
RM
8651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8652 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8653 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8654 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8656 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8658 Moved ...
8659 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8660 ... here.
8661 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8666 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8667 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8668 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8669 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8670 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8671 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8672 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8673 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8674 Moved ...
8675 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8681 Moved ...
8682 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8683 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8684 Moved ...
8685 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8687 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8689 Moved ...
8690 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8691 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8694 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8695 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8696 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8697 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8698 Moved ...
8699 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8703 Moved ...
8704 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8706 Moved ...
8707 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8708 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8711 Moved ...
8712 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8713 ... here.
8714 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8715 Identical file removed.
8716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8717 Moved ...
8718 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8719 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8720 Identical file removed.
8721 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8722 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8724 Moved ...
8725 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8727 Identical file removed.
8728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8731 Identical file removed.
8732 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8735 Identical file removed.
8736 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8739 Identical file removed.
8740 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8741 Moved ...
8742 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8744 Identical file removed.
8745 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8746 Moved ...
8747 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8751 Identical file removed.
8752 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8753 Moved ...
8754 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8755 ... here.
8756 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8757 Identical file removed.
8758 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8759 Moved ...
8760 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8761 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8762 Identical file removed.
8763 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8764 Moved ...
8765 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8769 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8771 Moved ...
8772 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8774 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8775
58eb0862
RM
8776 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8777 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8778 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8779 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8780 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8781
6f12d062
AS
87822014-06-27 Arjun Shankar <arjun.is@lostca.se>
8783
8784 [BZ #17092]
8785 * nscd/nscd.c (monitor_child): Return exit status of child
8786 instead of return value from wait syscall.
8787
be254932
JM
87882014-06-27 Joseph Myers <joseph@codesourcery.com>
8789
cb403c34
JM
8790 * configure.ac (libc_commonpagesize): Remove variable.
8791 (libc_relro_required): Likewise.
8792 (libc_cv_z_relro): Remove configure test.
8793 * configure: Regenerated.
8794 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8795 variable.
8796 (libc_relro_required): Likewise.
8797 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8798 (libc_relro_required): Likewise.
8799 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8800 (libc_relro_required): Likewise.
8801 * sysdeps/arm/preconfigure: Regenerated.
8802 * sysdeps/ia64/preconfigure: Remove file.
8803 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8804 variable.
8805 (libc_relro_required): Likewise.
8806
be254932
JM
8807 [BZ #16561]
8808 [BZ #16562]
8809 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8810 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8811 recompute overflowing results in original rounding mode.
8812 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8813 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8814 recompute overflowing results in original rounding mode.
8815 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8816 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8817 recompute overflowing results in original rounding mode.
8818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8819 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8820 recompute overflowing results in original rounding mode.
8821 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8822 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8823 recompute overflowing results in original rounding mode.
8824 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8825 (libc_feholdsetround_ctx): New macro.
8826 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8827 * sysdeps/i386/fpu/libm-test-ulps: Update.
8828 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8829
b351d85a
JM
88302014-06-26 Joseph Myers <joseph@codesourcery.com>
8831
8832 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8833 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8834 corresponding .cpsetup call.
8835
3cb4de47
RM
88362014-06-26 Roland McGrath <roland@hack.frob.com>
8837
8838 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8839 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8840 * sysdeps/arm/Makefile [$(subdir) = csu]
8841 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8842 (static-only-routines): Add aeabi_read_tp here.
8843 (shared-only-routines): Add libc-aeabi_read_tp here.
8844 (CFLAGS-libc-start.c): Add -fexceptions here.
8845 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8846 (sysdep_routines, static-only-routines, shared-only-routines):
8847 Don't add to these here.
8848 (CFLAGS-libc-start.c): Likewise.
8849
8850 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8851 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8852 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8853 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8854 * sysdeps/arm/Makefile [$(subdir) = rt]
8855 (librt-sysdep_routines, librt-shared-only-routines):
8856 Append rt-aeabi_unwind_cpp_pr1 here.
8857 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8858 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8859 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8860 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8861 Append nptl-aeabi_unwind_cpp_pr1 here.
8862 (tests): Filter out tst-cleanupx4 here.
8863 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8864 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8865 Don't do those here.
8866
354426bb
JM
88672014-06-26 Joseph Myers <joseph@codesourcery.com>
8868
8869 * scripts/list-sources.sh: Do not handle ports specially.
8870
28b0a8c9
RM
88712014-06-26 Roland McGrath <roland@hack.frob.com>
8872
a3dd035d
RM
8873 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8874 * sysdeps/arm/feupdateenv.c: Likewise.
8875
28b0a8c9
RM
8876 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8877
e66a8203
JM
88782014-06-26 Joseph Myers <joseph@codesourcery.com>
8879
8880 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8881 trailing whitespace removed.
8882 * scripts/config.guess: Update to version 2014-03-23.
8883 * scripts/config.sub: Update to version 2014-05-01
8884 * scripts/install-sh: Update to version 2013-12-25.23.
8885 * scripts/move-if-change: Update from gnulib.
8886
74171115
SP
88872014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8888
b97c9ce5
SP
8889 * debug/memmove_chk.c: Remove pagecopy.h include.
8890
4000f892
SP
88912014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8892
74171115
SP
8893 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8894 identical to gnulib mktime.
8895
a8779c28
JM
88962014-06-26 Joseph Myers <joseph@codesourcery.com>
8897
e64708de
JM
8898 * configure.ac: Do not test for machine being rs6000. Do not test
8899 for powerpc*-*soft.
8900 * configure: Regenerated.
8901
a8779c28
JM
8902 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8903 test.
8904 * configure: Regenerated.
8905 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8906 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8907 Remove configure test.
8908 * sysdeps/arm/configure: Regenerated.
8909 * sysdeps/nptl/configure.ac: Do not check
8910 libc_cv_asm_cfi_directives.
8911 * sysdeps/nptl/configure: Regenerated.
8912 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8913 * sysdeps/x86_64/nptl/configure: Remove generated file.
8914 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8915 unconditional.
8916 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8917
2aac0a86
SP
89182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8919
059bf913
SP
8920 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8921 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8922 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8923 it is defined.
8924
4cf5b6d0
SP
8925 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8926 instead of whether it is defined.
8927 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8928 * sysdeps/hppa/dl-machine.h: Likewise.
8929 * sysdeps/ia64/dl-machine.h: Likewise.
8930 * sysdeps/m68k/dl-machine.h: Likewise.
8931 * sysdeps/microblaze/dl-machine.h: Likewise.
8932 * sysdeps/mips/dl-machine.: Likewise.
8933 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8934 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8935 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8936 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8937 * sysdeps/sh/dl-machine.h: Likewise.
8938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8939 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8940 * sysdeps/tile/dl-machine.h: Likewise.
8941 * sysdeps/x86_64/dl-machine.h: Likewise.
8942
2aac0a86
SP
8943 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8944 code.
8945 (verify_persistent_db): Likewise.
8946
6ad2df0b
RM
89472014-06-26 Roland McGrath <roland@hack.frob.com>
8948
d8a483f3
RM
8949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8950 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8954 Moved ...
8955 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8956 ... here.
8957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8958 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8960 Identical file removed.
8961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8964 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8966 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8972 Moved ...
8973 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8975 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8977 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8979 Moved ...
8980 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8984 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8986 Identical file removed.
8987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8988 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8992 Moved ...
8993 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8994 ... here.
8995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9002 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9004 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9006 Moved ...
9007 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9012 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9014 Moved ...
9015 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9017 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9018
52ae23b4
RM
9019 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9020 folded into ...
9021 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9022 * sysdeps/unix/sysv/linux/s390/Versions
9023 (libpthread: GLIBC_2.19): New version set.
9024 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9025 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9026 (librt: GLIBC_2.3.3): New version set.
9027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9028 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9029 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9031 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9033 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9035 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9036 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9037 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9039 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9041 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9043 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9045 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9047 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9049 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9051 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9053 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9055 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9057 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9059 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9061 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9062 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9063 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9065 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9067 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9069 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9071 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9072
39507e4a
RM
9073 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9074 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9075 (__libc_vfork): Define the function under this name.
9076 [!NOT_IN_libc] (__vfork): Make this an alias.
9077 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9078 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9079 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9080 (__libc_vfork): Define the function under this name.
9081 [!NOT_IN_libc] (__vfork): Make this an alias.
9082 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9083 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9084 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9085 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9086 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9087 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9088
e549ee56
RM
9089 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9090 code that was previously under [RESET_PID].
9091 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9092 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9093 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9094
6ad2df0b
RM
9095 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9096 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9097 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9098 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9099 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9100 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9101 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9102 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9103 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9104 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9105 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9106 Moved ...
9107 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9108 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9109 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9110 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9111 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9113 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9115 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9121 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9129 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9131 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9132 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9133 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9135 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9136
7c1c1d8e
RM
91372014-06-25 Roland McGrath <roland@hack.frob.com>
9138
9139 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9140 that was previously under [RESET_PID].
9141 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9142
3e239be6
JM
91432014-06-25 Joseph Myers <joseph@codesourcery.com>
9144
74385da5
JM
9145 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9146 not undefine and redefine.
9147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9148 [O_CLOEXEC]: Make code unconditional.
9149 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9150 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9151 <kernel-features.h>.
9152 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9153 conditional variable definition.
9154 (shm_open) [O_CLOEXEC]: Make code unconditional.
9155 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9156 code.
9157
c2570a0b
JM
9158 * configure.ac (USE_REGPARMS): Don't define here.
9159 * configure: Regenerated.
9160 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9161 * sysdeps/i386/configure: Regenerated.
9162
11b076bb
JM
9163 * nptl/createthread.c: Don't include kernel-features.h.
9164 * nptl/pthread_cancel.c: Likewise.
9165 * nptl/pthread_condattr_setclock.c: Likewise.
9166 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9167 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9168 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9169 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9170 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9171 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9172 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9173 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9175 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9176 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9177 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9178 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9179 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9180 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9181 * nscd/gai.c: Likewise.
9182 * nss/nss_db/db-open.c: Likewise.
9183 * sysdeps/generic/ldsodefs.h: Likewise.
9184 * sysdeps/sh/nptl/tls.h: Likewise.
9185 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9186 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9187 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9188 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9189 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9190 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9191 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9192 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9194 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9195 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9196 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9197 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9198 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9199 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9200 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9201 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9202 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9203 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9204 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9205 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9207 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9208 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9209 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9210 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9211 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9212 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9213 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9214 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9215 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9216 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9217 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9218 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9219 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9220 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9221 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9222 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9223 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9224 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9225 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9226 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9227 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9228 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9229 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9230 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9231 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9232 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9233 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9234 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9235 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9236 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9237 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9238 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9239 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9240 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9241 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9242 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9265 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9266 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9267 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9268 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9269 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9270 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9271 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9272 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9273 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9274 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9275 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9276 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9277 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9278 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9279 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9280 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9281 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9282 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9283 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9284 * sysdeps/unix/sysv/linux/system.c: Likewise.
9285 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9286 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9287 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9288 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9289 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9291 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9292
92072d57
JM
9293 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9294 * configure: Regenerated.
9295 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9296
3e239be6
JM
9297 * configure.ac (base_machine): Do not set specially for particular
9298 machines here.
9299 * configure: Regenerated.
9300 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9301 settings from configure.ac.
9302 * sysdeps/i386/preconfigure: New file.
9303 * sysdeps/s390/preconfigure: Likewise.
9304 * sysdeps/sh/preconfigure: Likewise.
9305 * sysdeps/sparc/preconfigure: Likewise.
9306
06d50baa
RM
93072014-06-25 Roland McGrath <roland@hack.frob.com>
9308
74836003
RM
9309 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9310 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9311 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9312 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9313 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9314 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9315 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9316 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9317 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9318 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9319 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9320 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9321 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9322 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9323 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9324 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9325 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9326 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9327 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9328
9329 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9330 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9331 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9332 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9333 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9334 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9335 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9336 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9337 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9338 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9339 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9340 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9341 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9342 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9343 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9344 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9345 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9346 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9347 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9348 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9349 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9350 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9351 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9353 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9354 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9355 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9356 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9357 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9358 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9359 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9360 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9361 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9362 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9363 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9364 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9365 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9366 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9367
06d50baa
RM
9368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9369 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9371 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9373 Moved ...
9374 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9375 ... here.
9376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9381 Moved ...
9382 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9384 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9386 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9388 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9390 Moved ...
9391 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9393 Moved ...
9394 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9396 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9398 Moved ...
9399 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9401 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9403 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9405 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9407 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9409 Moved ...
9410 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9411 ... here.
9412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9413 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9415 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9417 Moved ...
9418 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9420 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9422 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9424 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9426 Moved ...
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9429 Moved ...
9430 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9432 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9434 Moved ...
9435 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9437 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9439 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9440
a4ccbc9b
JM
94412014-06-25 Joseph Myers <joseph@codesourcery.com>
9442
0828edbf
JM
9443 * timezone/checktab.awk: Update from tzcode 2014e.
9444 * timezone/private.h: Likewise.
9445 * timezone/tzfile.h: Likewise.
9446 * timezone/zdump.c: Likewise.
9447 * timezone/zic.c: Likewise.
9448
a4ccbc9b
JM
9449 * sysdeps/unix/sysv/linux/kernel-features.h
9450 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9451 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9452 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9453 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9454 Remove conditional code.
9455
9aea0cb8
WN
94562014-06-25 Will Newton <will.newton@linaro.org>
9457
9458 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9459 (_dl_arm_cap_flags): Add HWCAP2 values.
9460 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9461 (_DL_HWCAP_COUNT): Increase to 37.
9462 (_DL_HWCAP_LAST): New define.
9463 (_DL_HWCAP2_LAST): New define.
9464 (_dl_procinfo): Add support for printing
9465 AT_HWCAP2 entries.
9466 (_dl_string_hwcap): Use _dl_hwcap_string.
9467
6eaa65ce
AZ
94682014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9469
9470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9471
0f5b7185
JM
94722014-06-25 Joseph Myers <joseph@codesourcery.com>
9473
cfd2ea50
JM
9474 * README: Do not mention ports directory.
9475
cecf2ed4
JM
9476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9477 Remove macro.
9478 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9479 <kernel-features.h>.
9480 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9481 conditional variable definition.
9482 (__futimes): Update comment.
9483 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9484 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9485
a638de82
JM
9486 [BZ #16560]
9487 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9488 arguments close to 0.
9489 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9490 Likewise.
9491 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9492 Likewise.
9493 * math/auto-libm-test-in: Add more tests of exp10.
9494 * math/auto-libm-test-out: Regenerated.
9495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9496
0f5b7185
JM
9497 * sysdeps/unix/sysv/linux/kernel-features.h
9498 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9499 * sysdeps/unix/sysv/linux/readv.c: Do not include
9500 <kernel-features.h>.
9501 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9502 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9503 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9504 unconditional.
9505 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9506 conditional code.
9507 * sysdeps/unix/sysv/linux/writev.c: Do not include
9508 <kernel-features.h>.
9509 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9510 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9511 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9512 unconditional.
9513 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9514 conditional code.
9515
c7aec4be
WN
95162014-06-25 Will Newton <will.newton@linaro.org>
9517
9518 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9519 comment changes throughout the file. Remove checks
9520 for HAVE_*_H definitions that are not required.
9521 (__gen_tempname): Call abort if an unknown kind value is
9522 passed.
9523
c5241f95
AS
95242014-06-25 Andreas Schwab <schwab@suse.de>
9525
9526 [BZ #17086]
9527 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9528 scalbln, scalblnf, scalblnl in libc.
9529
911422da
SP
95302014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9531
9532 [BZ #17086]
9533 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9534 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9535 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9536
0d749bbe
RM
95372014-06-24 Roland McGrath <roland@hack.frob.com>
9538
9539 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9540 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9541 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9542 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9543 Update #include.
9544 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9545 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9546 Update #include.
9547 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9548 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9549 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9550 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9551 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9552 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9553 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9554 * sysdeps/x86/bits/semaphore.h: ... here.
9555 * sysdeps/x86/nptl/elide.h: Moved ...
9556 * sysdeps/x86/elide.h: ... here.
9557 * sysdeps/x86_64/nptl/Implies: File removed.
9558 * sysdeps/i386/nptl/Implies: File removed.
9559
0ea5d373
JM
95602014-06-24 Joseph Myers <joseph@codesourcery.com>
9561
4060283d
JM
9562 [BZ #16539]
9563 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9564 return the argument for normal arguments with exponent below -64.
9565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9566 Likewise.
9567 * math/auto-libm-test-in: Add another test of expm1.
9568 * math/auto-libm-test-out: Regenerated.
9569
e7dd3c8c
JM
9570 [BZ #16287]
9571 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9572 calling __erfcl for arguments at least 16.
9573 * math/auto-libm-test-in: Add more tests of erf.
9574 * math/auto-libm-test-out: Regenerated.
9575
0ea5d373
JM
9576 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9577 individual architectures.
9578 * sysdeps/unix/sysv/linux/configure: Regenerated.
9579 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9580 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9581 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9582 (ldd_rewrite_script): Define variable.
9583 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9585 file.
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9587 generated file.
9588 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9589 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9590 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9591 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9592 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9593 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9594 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9595 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9596
2307e126
SP
95972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9598
9599 [BZ #17084]
9600 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9601 Rename member __data.d to __data.__elision_data.
9602
c0a4ed77
W
96032014-06-24 Wilco <wdijkstr@arm.com>
9604
9605 * NEWS: Add 16918 to fixed bug list.
9606
b8c00573
W
96072014-06-24 Wilco <wdijkstr@arm.com>
9608
9609 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9610
b5570d92
W
96112014-06-24 Wilco <wdijkstr@arm.com>
9612
9613 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9614 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9615 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9616 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9617 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9618 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9619 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9620 Use _FPU_MASK_RM.
9621
947bdca2
W
96222014-06-24 Wilco <wdijkstr@arm.com>
9623
9624 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9625
00f669ed
W
96262014-06-24 Wilco <wdijkstr@arm.com>
9627
9628 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9629 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9630 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9631 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9632
db59bad3
W
96332014-06-24 Wilco <wdijkstr@arm.com>
9634
9635 [BZ #16918]
9636 * sysdeps/arm/feupdateenv.c (feupdateenv):
9637 Rewrite to reduce FPSCR accesses and fix return value.
9638
001f7b77
W
96392014-06-24 Wilco <wdijkstr@arm.com>
9640
9641 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9642 Optimize to avoid unnecessary FPSCR writes.
9643 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9644 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9645 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9646 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9647
4841e6a6
W
96482014-06-24 Wilco <wdijkstr@arm.com>
9649
9650 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9651 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9652 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9653 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9654 Call libc_fetestexcept_vfp.
9655 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9656 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9657 __SOFTFP__ ifdef so that they can be built for softfp.
9658
0813022c
SP
96592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9660
08e5862f
SP
9661 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9662 argument type signed char.
9663
0813022c
SP
9664 * Makerules (check-abi): Dump diff of symlist if the test
9665 fails.
9666
3fc7236a
RM
96672014-06-23 Roland McGrath <roland@hack.frob.com>
9668
aba8ef95
RM
9669 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9670 using abort.
9671
3fc7236a
RM
9672 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9673 Remove unused variable ST.
9674
4da6db51
JM
96752014-06-23 Joseph Myers <joseph@codesourcery.com>
9676
4648909d
JM
9677 [BZ #16354]
9678 [BZ #17061]
9679 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9680 small arguments before calling __expm1.
9681 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9682 small arguments before calling __expm1f.
9683 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9684 small arguments before calling __expm1l.
9685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9686 Likewise.
9687 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9688 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9689 spurious underflow for some cosh tests.
9690 * math/auto-libm-test-out: Regenerated.
9691 * sysdeps/i386/fpu/libm-test-ulps: Update.
9692
46a3d3c7
JM
9693 [BZ #17050]
9694 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9695 (__ieee754_y1): Set errno if return value overflows.
9696 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9697 (__ieee754_y1f): Set errno if return value overflows.
9698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9699 (__ieee754_y1l): Set errno if return value overflows.
9700 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9701 (__ieee754_y1l): Set errno if return value overflows.
9702 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9703 * math/auto-libm-test-out: Regenerated.
9704
863893ec
JM
9705 * math/gen-auto-libm-tests.c: Document use of
9706 ignore-zero-inf-sign.
9707 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9708 (input_flags): Add ignore-zero-inf-sign.
9709 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9710 * math/gen-libm-test.pl (generate_testfile): Handle
9711 ignore-zero-inf-sign.
9712 * math/auto-libm-test-in: Mark some cpow tests with
9713 ignore-zero-inf-sign and some with xfail-rounding.
9714 * math/auto-libm-test-out: Regenerated.
9715 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9716 * sysdeps/i386/fpu/libm-test-ulps: Update.
9717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9718
4da6db51
JM
9719 [BZ #16315]
9720 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9721 overflowing or underflowing operations take place with sign of
9722 result.
9723 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9724 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9725 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9726 (__ieee754_pow): Recompute overflowing and underflowing results in
9727 original rounding mode.
9728 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9729 (__powl_helper): Allow negative argument X and scale negated value
9730 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9731 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9732 overflowing or underflowing operations take place with sign of
9733 result.
9734 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9735 Include <math.h>.
9736 * math/auto-libm-test-in: Add more tests of pow.
9737 * math/auto-libm-test-out: Regenerated.
9738 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9739 (pow_tonearest_test_data): Remove.
9740 (pow_test_tonearest): Likewise.
9741 (pow_towardzero_test_data): Likewise.
9742 (pow_test_towardzero): Likewise.
9743 (pow_downward_test_data): Likewise.
9744 (pow_test_downward): Likewise.
9745 (pow_upward_test_data): Likewise.
9746 (pow_test_upward): Likewise.
9747 (main): Don't call removed functions.
9748 * sysdeps/i386/fpu/libm-test-ulps: Update.
9749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9750
5686b236
RM
97512014-06-23 Roland McGrath <roland@hack.frob.com>
9752
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9754 Moved ...
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9757 Moved ...
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9760 Moved ...
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9763 Moved ...
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9766 File removed.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9768 File removed.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9770 File removed.
9771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9772 File removed.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9774 File removed.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9776 File removed.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9778 File removed.
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9780 File removed.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9782 File removed.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9784 File removed.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9786 File removed.
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9788 File removed.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9790 Moved ...
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9793 Moved ...
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9795 ... here.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9797 Moved ...
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9800 Moved ...
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9803 Moved ...
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9806 Moved ...
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9812 Moved ...
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9815 Moved ...
9816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9819 ... here.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9821 Moved ...
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9824 Moved ...
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9826 ... here.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9828 Moved ...
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9830 ... here.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9832 Moved ...
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9834 ... here.
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9836 Moved ...
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9839 Moved ...
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9844 Moved ...
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9846 ... here.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9848 Moved ...
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9850 ... here.
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9852 Moved ...
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9855 Moved ...
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9858 Moved ...
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9861 Moved ...
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9864 Moved ...
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9866 ... here.
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9868 Moved ...
9869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9874 Moved ...
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9877 Moved ...
9878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9882 Moved ...
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9885 Moved ...
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9888 Moved ...
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9890 ... here.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9892 Moved ...
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9894 ... here.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9896 Moved ...
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9898 ... here.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9900 Moved ...
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9903 Moved ...
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9906 Moved ...
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9909 Moved ...
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9911 ... here.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9913 Moved ...
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9915 ... here.
9916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9917 Moved ...
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9919 ... here.
9920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9921 Moved ...
9922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9924 Moved ...
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9926
e6d90d67
WD
99272014-06-23 Will Newton <will.newton@linaro.org>
9928 Wilco <wdijkstr@arm.com>
9929
9930 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9931 implementation. Include get-rounding-mode.h.
9932 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9933 [!libc_feholdsetround_noex_ctx]: Define
9934 libc_feholdsetround_noex_ctx.
9935 [!libc_feholdsetround_noexf_ctx]: Define
9936 libc_feholdsetround_noexf_ctx.
9937 [!libc_feholdsetround_noexl_ctx]: Define
9938 libc_feholdsetround_noexl_ctx.
9939 (libc_feholdsetround_ctx): New function.
9940 (libc_feresetround_ctx): New function.
9941 (libc_feholdsetround_noex_ctx): New function.
9942 (libc_feresetround_noex_ctx): New function.
9943
d42df555
RM
99442014-06-23 Roland McGrath <roland@hack.frob.com>
9945
88a46474
RM
9946 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9947 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9948 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9949 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9950 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9951 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9952
15bed472
RM
9953 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9954 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9955 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9956 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9957 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9958 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9959 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9960 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9961 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9964 Moved ...
9965 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9966 ... here.
9967 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9972 Moved ...
9973 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9974 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9975 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9976 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9977 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9979 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9980 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9981 Moved ...
9982 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9984 Moved ...
9985 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9987 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9988 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9989 Moved ...
9990 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9991 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9992 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9993 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9994 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9995 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9996 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9997 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10000 Moved ...
10001 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10002 ... here.
10003 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10010 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10011 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10014 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10016 Moved ...
10017 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10019 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10020 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10021 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10022 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10023 Moved ...
10024 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10025 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10026 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10027 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10028 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10029
d42df555
RM
10030 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10031 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10033 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10034 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10035 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10037 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10039 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10040 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10041 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10042 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10043 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10044 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10045 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10046 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10047 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10048 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10049 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10051 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10052 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10053 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10054 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10055 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10056 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10057 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10058
76e5216e
JM
100592014-06-23 Joseph Myers <joseph@codesourcery.com>
10060
10061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10062 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10063 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10064 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10065 (IPV6_PMTUDISC_INTERFACE): Likewise.
10066 (IPV6_PMTUDISC_OMIT): Likewise.
10067
7a81cbcc
AS
100682014-06-23 Andreas Schwab <schwab@suse.de>
10069
10070 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10071 Remove unused errout label.
10072
db224009
AZ
100732014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10074
10075 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10076 macro: hardware supports Vector Crypto instructions.
10077
f393b4aa
WN
100782014-06-23 Will Newton <will.newton@linaro.org>
10079
cc7d0447
WN
10080 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10081 rather than __builtin_expect.
10082
d6d06225
WN
10083 * elf/dl-lookup.c (undefined_msg): Remove variable.
10084 (_dl_lookup_symbol_x): Replace undefined_msg with string
10085 literal.
10086
f393b4aa
WN
10087 * elf/dl-lookup.c (do_lookup_unique): New function.
10088 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10089 to a separate function.
10090
ac60763e
AS
100912014-06-23 Andreas Schwab <schwab@suse.de>
10092
10093 [BZ #17079]
10094 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10095 before reading the next line.
10096
c5c13355
WN
100972014-06-23 Will Newton <will.newton@linaro.org>
10098
10099 * test-skeleton.c (signal_handler): Use printf and %m
10100 rather than perror. Use printf rather than fprintf to
10101 stderr. Use puts rather than fputs to stderr.
10102 (main): Likewise.
10103
bd3675f9
LC
101042014-06-22 Ludovic Courtès <ludo@gnu.org>
10105
10106 * nscd/nscd.c (thread_info_t): Remove typedef.
10107 (thread_info): Remove variable.
10108
d03efb2f
AM
101092014-06-21 Allan McRae <allan@archlinux.org>
10110
10111 * NEWS: Mention CVE-2014-4043.
10112
bc4a86fa
RM
101132014-06-20 Roland McGrath <roland@hack.frob.com>
10114
dc9a54f8
RM
10115 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10116 * nptl/smp.h: ... here.
10117
bd7022c4
RM
10118 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10119
26ffd5e6
RM
10120 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10121 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10122 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10123 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10124
93a6d082
RM
10125 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10126 * nptl/stack-aliasing.h: New file.
10127 * sysdeps/i386/i686/stack-aliasing.h: New file.
10128 * sysdeps/i386/i686/nptl/Makefile: File removed.
10129 * sysdeps/x86_64/stack-aliasing.h: New file.
10130 * sysdeps/x86_64/nptl/Makefile
10131 (CFLAGS-pthread_create.c): Variable removed.
10132
bc4a86fa
RM
10133 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10134 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10135 old file.
10136 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10137 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10138 old file.
10139
2272ffc1
JM
101402014-06-21 Joseph Myers <joseph@codesourcery.com>
10141
10142 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10143 (__ASSUME_SIGFRAME_V2): Remove macro.
10144 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10145 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10146 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10147 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10148 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10149 Declare as function. Remove conditional macro definitions.
10150 (__default_rt_sa_restorer): Likewise.
10151 (__default_sa_restorer_v1): Remove declaration.
10152 (__default_sa_restorer_v2): Likewise.
10153 (__default_rt_sa_restorer_v1): Likewise.
10154 (__default_rt_sa_restorer_v2): Likewise.
10155 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10156 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10157 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10158
4b88139b
RM
101592014-06-20 Roland McGrath <roland@hack.frob.com>
10160
10161 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10162 (libpthread-routines): Add sysdep.
10163 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10164 * sysdeps/unix/sysv/linux/sparc/Versions
10165 (libpthread: GLIBC_2.3.3): New version set.
10166 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10167 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10168 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10169 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10170 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10171 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10172 Moved ...
10173 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10174 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10175 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10176 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10177 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10178 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10179 * sysdeps/sparc/nptl/sem_init.c: ... here.
10180 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10181 * sysdeps/sparc/nptl/sem_post.c: ... here.
10182 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10183 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10184 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10185 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10186 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10187 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10188 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10189 (libpthread-routines): Add cpu_relax.
10190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10191 File removed.
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10193 (librt: GLIBC_2.3.3): New version set.
10194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10195 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10196 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10197 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10200 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10202 Moved ...
10203 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10205 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10207 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10209 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10210 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10211 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10212 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10213 Moved ...
10214 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10215 Update #include.
10216 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10217 Moved ...
10218 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10219 Update #include.
10220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10221 Moved ...
10222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10223 Update #include.
10224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10225 Moved ...
10226 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10227 Update #include.
10228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10229 Moved ...
10230 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10231 Update #include.
10232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10233 Moved ...
10234 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10235 Update #include.
10236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10237 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10243 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10247 Moved ...
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10252 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10253
d7109027
JM
102542014-06-20 Joseph Myers <joseph@codesourcery.com>
10255
9bc6103d
JM
10256 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10257 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10258 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10259 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10260 * nscd/nscd.c: Likewise.
10261 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10262 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10263 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10264 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10265
d7109027
JM
10266 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10267 <kernel-features.h>.
10268 (init_mq_netlink): Remove conditional have_sock_cloexec
10269 definitions. Remove code conditional on have_sock_cloexec < 0.
10270 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10271 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10272 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10273 <kernel-features.h>.
10274 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10275 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10276
d92d8f8a
L
102772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10280 Add tests for memset_chk and memset.
10281
10282 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10283 with AVX2_Usable.
10284
4e6d2347
MR
102852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10286
257ce712
MR
10287 [BZ #16046]
10288 * elf/tst-dl-iter-static.c: New file.
10289 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10290
4e6d2347
MR
10291 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10292 error.
10293
a2a76afe
JM
102942014-06-20 Joseph Myers <joseph@codesourcery.com>
10295
7fd00f99
JM
10296 * sysdeps/unix/sysv/linux/kernel-features.h
10297 (__ASSUME_F_GETOWN_EX): Remove macro.
10298 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10299 <kernel-features.h>.
10300 (miss_F_GETOWN_EX): Remove variable or macro.
10301 (do_fcntl): Do not check miss_F_GETOWN_EX.
10302 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10303
4a103975
JM
10304 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10305 Remove macro.
10306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10307 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10308 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10309
a2a76afe
JM
10310 * sysdeps/unix/sysv/linux/kernel-features.h
10311 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10312 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10313 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10314 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10315
90e5dd48
MR
103162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10317
10318 [BZ #17075]
10319 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10320 Fix calculation of the symbol's value.
10321 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10322 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10323 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10324 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10325 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10326 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10327 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10328 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10329 (modules-names): Add `tst-armtlsdescmod',
10330 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10331 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10332 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10333 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10334 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10335 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10336 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10337 ($(objpfx)tst-armtlsdescloc): New dependency.
10338 ($(objpfx)tst-armtlsdescextnow): Likewise.
10339 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10340 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10341 TLS scheme support.
10342 * sysdeps/arm/configure: Regenerate.
10343
809fdf0d
JM
103442014-06-20 Joseph Myers <joseph@codesourcery.com>
10345
10346 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10347 (__atfct_seterrno_2): Likewise.
10348 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10349 <kernel-features.h>.
10350 (__ASSUME_ATFCTS): Do not undefine and redefine.
10351 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10352 (__have_atfcts): Remove conditional definition.
10353 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10354 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10355 unreachable if [__ASSUME_ATFCTS].
10356 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10357 not undefine and redefine.
10358 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10359 <kernel-features.h>.
10360 (faccessat) [__NR_faccessat]: Make code unconditional.
10361 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10362 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10363 <kernel-features.h>.
10364 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10365 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10366 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10367 <kernel-features.h>.
10368 (fchownat) [__NR_fchownat]: Make code unconditional.
10369 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10370 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10371 <kernel-features.h>.
10372 (futimesat) [__NR_futimesat]: Make code unconditional.
10373 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10374 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10375 <kernel-features.h>.
10376 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10377 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10378 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10379 <kernel-features.h>.
10380 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10381 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10382 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10383 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10384 <kernel-features.h>.
10385 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10386 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10387 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10388 <kernel-features.h>.
10389 (linkat) [__NR_linkat]: Make code unconditional.
10390 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10391 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10392 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10393 <kernel-features.h>.
10394 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10395 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10396 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10397 <kernel-features.h>.
10398 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10399 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10400 * sysdeps/unix/sysv/linux/openat.c: Do not include
10401 <kernel-features.h>.
10402 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10403 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10404 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10405 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10406 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10407 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10408 <kernel-features.h>.
10409 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10410 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10411 result of INLINE_SYSCALL directly, not via int variable.
10412 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10413 <kernel-features.h>.
10414 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10415 (renameat) [__NR_renameat]: Make code unconditional.
10416 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10417 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10418 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10419 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10420 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10421 (__ASSUME_ATFCTS): Do not undefine and redefine.
10422 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10423 <kernel-features.h>.
10424 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10425 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10426 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10427 <kernel-features.h>.
10428 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10429 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10430 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10431 (__ASSUME_ATFCTS): Do not undefine and redefine.
10432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10433 <kernel-features.h>.
10434 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10435 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10436 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10437 <kernel-features.h>.
10438 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10439 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10440
224c6c51
L
104412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10444
aa6ec754
AS
104452014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10446
10447 [BZ #17069]
10448 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10449 constructed tree before returning error.
10450 * posix/bug-regexp36.c: Expand test case.
10451
d8c2869d
SL
104522014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10453
3ef6b850
SL
10454 [BZ #6803]
10455 * math/libm-test.inc (scalbln_test_date):
10456 Add errno expectations.
10457 * math/w_scalblnf.c: New File.
10458 Add wrapper which checks for setting errno to ERANGE.
10459 Add weak_alias for corresponding scalbln function.
10460 * math/w_scalbln.c: Likewise.
10461 * math/w_scalblnl.c: Likewise.
10462 * math/Makefile (libm-calls): Add w_scalbln.
10463 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10464 Remove weak_alias for corresponding scalbln function.
10465 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10469 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10470 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10471 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10472 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10473 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10474 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10475 Remove long_double_symbol for scalblnl function in libm, libc.
10476 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10477 Add wrapper which checks for setting errno to ERANGE.
10478 Add long_double_symbol for scalblnl function in libm, libc.
10479 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10480 Remove long_double_symbol for scalblnl in libm.
10481 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10482 Add wrapper which checks for setting errno to ERANGE.
10483 Add long_double_symbol for scalblnl function in libm.
10484 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10485 Do not use wrapper because of own implementation.
10486
c8daec5c
L
104872014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10488
10489 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10490 3 bytes for __pad1 for x32.
10491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10492
5c74e47c
LM
104932014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10494 H.J. Lu <hongjiu.lu@intel.com>
10495
10496 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10497 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10498 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10499 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10500 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10501
4d43ef1e
AS
105022014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10503
10504 [BZ #17069]
10505 * posix/regcomp.c (parse_expression): Deallocate partially
10506 constructed tree before returning error.
10507 * posix/Makefile.c (tests): Add bug-regex36.
10508 (generated): Add bug-regex36.mtrace.
10509 (tests-special): Add $(objpfx)bug-regex36-mem.out
10510 (bug-regex36-ENV): New variable.
10511 ($(objpfx)bug-regex36-mem.out): New rule.
10512 * posix/bug-regex36.c: New file.
10513
51a7380b
WN
105142014-06-19 Will Newton <will.newton@linaro.org>
10515
10516 * malloc/malloc.c (systrim): If extra is zero then return
10517 early.
10518
91b84fe5
SP
105192014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10520
10521 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10522
f940b965
RE
105232014-06-19 Richard Earnshaw <rearnsha@arm.com>
10524
10525 * sysdeps/aarch64/strchr.S: New file.
10526
4ba7a00f
JM
105272014-06-18 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #17022]
10530 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10531 from arguments -2 or below.
10532 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10533 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10534
b3a9f56b
AS
105352014-06-18 Andreas Schwab <schwab@suse.de>
10536
10537 [BZ #17062]
10538 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10539 of a bracket expr not to run off the end of the string.
10540 * posix/Makefile (tests): Add tst-fnmatch3.
10541 * posix/tst-fnmatch3.c: New file.
10542
85d89278
JM
105432014-06-18 Joseph Myers <joseph@codesourcery.com>
10544
10545 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10546 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10547 [$(cross-compiling) = no]: Likewise.
10548 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10549 [$(cross-compiling) = no]: Likewise.
10550
754c5a08
RS
105512014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10552
10553 [BZ #17031]
10554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10555 double, adjusted for any remainder from the high double.
10556 * math/libm-test.inc (nearbyint): Add tests.
10557 (rint): Likewise.
10558
556f529d
AZ
105592014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10560
10561 * nptl/sysdeps/powerpc/Makefile: Moved ...
10562 * sysdeps/powerpc/nptl/Makefile: ... here.
10563 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10564 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10565 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10566 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10567 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10568 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10569 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10570 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10571 * nptl/sysdeps/powerpc/tls.h: Moved ...
10572 * sysdeps/powerpc/nptl/tls.h: ... here.
10573
91c03c53
JM
105742014-06-16 Joseph Myers <joseph@codesourcery.com>
10575
10576 [BZ #16681]
10577 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10578 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10579 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10580 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10581 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10582 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10583 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10584 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10585 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10586
a76e63c5
AS
105872014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10588
10589 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10590
f2f6d82f
AS
105912014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10592
ea8a15f6
AS
10593 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10594 defined operator.
10595
f2f6d82f
AS
10596 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10597 $TIMEOUTFACTOR.
10598
a7291117
FW
105992014-06-16 Florian Weimer <fweimer@redhat.com>
10600
10601 [BZ #17058]
10602 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10603 non-executed part of the test.
10604
3d7c00e3
AS
106052014-06-16 Andreas Schwab <schwab@suse.de>
10606
10607 * string/bits/string2.h (strdup, strndup): Update feature guard.
10608
6957fb31
DM
106092014-06-14 David S. Miller <davem@davemloft.net>
10610
10611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10612
11b9e55b
AS
106132014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10614
1d2a0492
AS
10615 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10616 that was previously under [RESET_PID].
10617 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10618
11b9e55b
AS
10619 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10620 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10621 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10622 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10623 (__libc_vfork): New strong alias.
10624 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10625
0f6901d0
AK
106262014-06-14 Andi Kleen <ak@linux.intel.com>
10627
10628 * sysdeps/generic/elide.h: New file.
10629
38bbbb9f
SL
106302014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10631
10632 * Makefile (installed-headers): Adjust path of pthread.h header.
10633
45193bb8
RM
106342014-06-13 Roland McGrath <roland@hack.frob.com>
10635
9a25fd1e
RM
10636 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10637 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10638 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10639 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10640
4004f7e4
RM
10641 * nptl/sysdeps/s390/Makefile: Moved ...
10642 * sysdeps/s390/nptl/Makefile: ... here.
10643 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10644 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10645 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10646 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10647 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10648 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10649 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10650 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10651 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10652 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10653 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10654 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10655 * nptl/sysdeps/s390/tls.h: Moved ...
10656 * sysdeps/s390/nptl/tls.h: ... here.
10657
45193bb8
RM
10658 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10659 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10660
f6fdf533
DM
106612014-06-13 David S. Miller <davem@davemloft.net>
10662
10663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10664 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10666 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10668 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10670 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10671 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10672 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10673 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10674 Remove RESET_PID cpp guards.
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10676 Remove RESET_PID cpp guards.
10677 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10678
f5d71e14
AS
106792014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10680
10681 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10682 __sp to uintptr_t.
10683
b7aa8caa
AK
106842014-06-13 Andi Kleen <ak@linux.intel.com>
10685
4b266200
AZ
10686 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10687 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10688 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10689 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10690 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10691 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10693 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10694 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10695 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10696 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10697 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10698 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10699 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10700 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10701 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10702 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10703 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10704 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10705 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10706
10707 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10708 (pthread_rwlock_rdlock): Add elision.
10709 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10710 (pthread_rwlock_wrlock): Add elision.
10711 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10712 (pthread_rwlock_trywrlock): Add elision.
10713 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10714 (pthread_rwlock_tryrdlock): Add elision.
10715 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10716 (pthread_rwlock_tryrdlock): Add elision unlock.
10717 * nptl/sysdeps/pthread/pthread.h:
10718 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10719 (PTHREAD_RWLOCK_INITIALIZER,
10720 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10721 Handle new elision field.
10722 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10723 * sysdeps/arm/nptl/bits/pthreadtypes.h
10724 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10725 * sysdeps/sh/nptl/bits/pthreadtypes.h
10726 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10727 * sysdeps/tile/nptl/bits/pthreadtypes.h
10728 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10729 * sysdeps/a/nptl/bits/pthreadtypes.h
10730 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10731 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10732 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10733 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10734 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10735 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10736 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10737 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10739 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10740 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10741 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10742 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10743 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10744 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10745 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10746 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10747 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10748 (elision_init): Set try_xbegin to zero when no RTM.
10749 * sysdeps/x86/nptl/bits/pthreadtypes.h
10750 (pthread_rwlock_t): Change __pad1 to __rwelision.
10751 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10752
a832bdd3
AK
107532014-06-13 Andi Kleen <ak@linux.intel.com>
10754
10755 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10756 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10757 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10758 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10759
995a46bb
MI
107602014-06-13 Meador Inge <meadori@codesourcery.com>
10761
10762 [BZ #16996]
03ed7738 10763 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10764 that the cached result has been set before returning it.
10765
45262aee
RM
107662014-06-12 Roland McGrath <roland@hack.frob.com>
10767
febf6cc5
RM
10768 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10769 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10771 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10773 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10774
e2682246
RM
10775 * nptl/sysdeps/sparc/Makefile: Moved ...
10776 * sysdeps/sparc/nptl/Makefile: ... here.
10777 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10778 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10779 * nptl/sysdeps/sparc/tls.h: Moved ...
10780 * sysdeps/sparc/nptl/tls.h: ... here.
10781 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10782 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10783 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10784 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10785 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10786 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10787 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10788 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10789 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10790 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10791 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10792 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10793 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10794 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10795 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10796 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10797 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10798 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10799 Update #include.
10800 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10801 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10802 Update #include.
10803 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10805 Update #include.
10806 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10807 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10808 Update #include.
10809
b0725f43
RM
10810 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10811
b14368b8
RM
10812 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10813 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10814
c5620eb3
RM
10815 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10816 (struct list_links): Type removed.
10817 (struct thread_node, struct timer_node): Replace struct list_links
10818 with struct list_head.
10819 (list_unlink_ip): Likewise.
10820 * sysdeps/pthread/timer_routines.c
10821 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10822 (list_append, list_insbefore): Likewise.
10823 (list_init): Function removed.
10824 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10825 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10826 * sysdeps/pthread/Makefile: ... here, new file.
10827
10828 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10829 * sysdeps/nptl/Implies: ... here.
10830 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10831 * nptl/sysdeps/pthread/list.h: Moved ...
10832 * include/list.h: ... here.
10833 * nptl/sysdeps/pthread/createthread.c: Moved ...
10834 * nptl/createthread.c: ... here.
10835 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10836 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10837 * nptl/pt-longjmp.c: ... here.
10838 * nptl/sysdeps/pthread/Makefile: Moved ...
10839 * sysdeps/nptl/Makefile: ... here.
10840 * nptl/sysdeps/pthread/Subdirs: Moved ...
10841 * sysdeps/nptl/Subdirs: ... here.
10842 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10843 * sysdeps/nptl/aio_misc.h: ... here.
10844 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10845 * sysdeps/nptl/bits/libc-lock.h: ... here.
10846 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10847 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10848 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10849 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10850 * nptl/sysdeps/pthread/configure: Moved ...
10851 * sysdeps/nptl/configure: ... here.
10852 * nptl/sysdeps/pthread/configure.ac: Moved ...
10853 * sysdeps/nptl/configure.ac: ... here.
10854 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10855 * sysdeps/nptl/gai_misc.h: ... here.
10856 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10857 * sysdeps/nptl/librt-cancellation.c: ... here.
10858 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10859 * sysdeps/nptl/malloc-machine.h: ... here.
10860 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10861 * sysdeps/nptl/pthread-functions.h: ... here.
10862 * nptl/sysdeps/pthread/pthread.h: Moved ...
10863 * sysdeps/nptl/pthread.h: ... here.
10864 * nptl/sysdeps/pthread/setxid.h: Moved ...
10865 * sysdeps/nptl/setxid.h: ... here.
10866 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10867 * sysdeps/nptl/sigfillset.c: ... here.
10868 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10869 * sysdeps/nptl/tcb-offsets.h: ... here.
10870 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10871 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10872 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10873 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10874 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10875 * sysdeps/pthread/allocalim.h: ... here.
10876 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10877 * sysdeps/pthread/bits/sigthread.h: ... here.
10878 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10879 * sysdeps/pthread/flockfile.c: ... here.
10880 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10881 * sysdeps/pthread/ftrylockfile.c: ... here.
10882 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10883 * sysdeps/pthread/funlockfile.c: ... here.
10884 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10885 * sysdeps/pthread/posix-timer.h: ... here.
10886 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10887 * sysdeps/pthread/timer_create.c: ... here.
10888 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10889 * sysdeps/pthread/timer_delete.c: ... here.
10890 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10891 * sysdeps/pthread/timer_getoverr.c: ... here.
10892 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10893 * sysdeps/pthread/timer_gettime.c: ... here.
10894 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10895 * sysdeps/pthread/timer_routines.c: ... here.
10896 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10897 * sysdeps/pthread/timer_settime.c: ... here.
10898 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10899 * sysdeps/pthread/tst-timer.c: ... here.
10900 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10901 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10902
e876b090
RM
10903 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10904 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10905
f6b07b3d
RM
10906 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10907 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10908 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10909 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10910 Update #include target.
10911 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10912 * sysdeps/i386/i686/nptl/Makefile: ... here.
10913 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10914 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10915 Update #include target.
10916 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10917 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10918 * nptl/sysdeps/i386/Makefile: Moved ...
10919 * sysdeps/i386/nptl/Makefile: ... here.
10920 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10921 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10922 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10923 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10924 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10925 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10926 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10927 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10928 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10929 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10930 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10931 * nptl/sysdeps/i386/tls.h: Moved ...
10932 * sysdeps/i386/nptl/tls.h: ... here.
10933
45262aee
RM
10934 * sysdeps/sh/Makefile [$(subdir) = csu]
10935 (gen-as-const-headers): Add tcb-offsets.sym.
10936 * nptl/sysdeps/sh/Makefile: File removed.
10937 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10938 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10939 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10940 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10941 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10942 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10943 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10944 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10945 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10946 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10947 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10948 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10949 * nptl/sysdeps/sh/tls.h: Moved ...
10950 * sysdeps/sh/nptl/tls.h: ... here.
10951 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10952 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10954 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10955 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10956 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10957 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10958 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10959 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10960 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10962 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10963 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10964 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10965 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10966 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10967 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10968 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10969 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10970 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10971 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10972 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10973 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10974 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10975 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10976 Moved ...
10977 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10978 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10979 Moved ...
10980 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10981 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10982 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10983 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10984 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10985 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10986 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10988 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10990 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10992 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10994 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10996 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10997 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10998 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10999
35a5e3e3
SL
110002014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11001
11002 * posix/spawn_faction_addopen.c: Include string.h.
11003
14642b85
RM
110042014-06-11 Roland McGrath <roland@hack.frob.com>
11005
11006 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11007 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11008 * nptl/sysdeps/x86_64/Makefile: Moved ...
11009 * sysdeps/x86_64/nptl/Makefile: ... here.
11010 * nptl/sysdeps/x86_64/configure: Moved ...
11011 * sysdeps/x86_64/nptl/configure: ... here.
11012 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11013 * sysdeps/x86_64/nptl/configure.ac: ... here.
11014 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11015 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11016 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11017 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11018 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11019 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11020 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11021 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11022 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11023 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11024 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11025 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11026 * nptl/sysdeps/x86_64/tls.h: Moved ...
11027 * sysdeps/x86_64/nptl/tls.h: ... here.
11028 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11029 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11030 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11031 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11032
11033 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11034
31c44fea
AZ
110352014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11036
11037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11038
e81a4f9a
JM
110392014-06-11 Joseph Myers <joseph@codesourcery.com>
11040
11041 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11042 type.
11043 [POSIX] (off_t): Likewise.
11044 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11045 [POSIX] (S_ISBLK): Require macro.
11046 [POSIX] (S_ISCHR): Likewise.
11047 [POSIX] (S_ISDIR): Likewise.
11048 [POSIX] (S_ISFIFO): Likewise.
11049 [POSIX] (S_ISREG): Likewise.
11050 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11051 optional-macro.
11052 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11053 type.
11054 [POSIX] (time_t): Likewise.
11055 [POSIX] (timer_t): Likewise.
11056
89e435f3
FW
110572014-06-11 Florian Weimer <fweimer@redhat.com>
11058
11059 [BZ #17048]
11060 * posix/spawn_int.h (struct __spawn_action): Make the path string
11061 non-const to support deallocation.
11062 * posix/spawn_faction_addopen.c
11063 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11064 * posix/spawn_faction_destroy.c
11065 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11066 path in all spawn_do_open actions.
11067 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11068 posix_spawn_file_actions_addopen.
11069
c3a2ebe1
CM
110702014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11071
11072 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11073 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11074 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11075 conditional code always true.
11076 (__libc_vfork): New alias.
11077
9503784a
RM
110782014-06-11 Roland McGrath <roland@hack.frob.com>
11079
c9cab3d2
RM
11080 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11081 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11082
d3996c79
RM
11083 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11084
ba5ec611
RM
11085 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11086 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11087
f12b4814
RM
11088 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11089 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11090
9503784a
RM
11091 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11092 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11093
e23d3d26
VR
110942014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11095
11096 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11097 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11098 multiarch strcmp for PPC64.
11099 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11100 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11102 multiarch optimizations.
11103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11104 (__libc_ifunc_impl_list): Likewise.
11105
42b1161e
SP
111062014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11107
11108 * benchtests/scripts/validate_benchout.py: New script.
11109 * benchtests/Makefile (bench-func): Call it.
11110 * benchtests/scripts/benchout.schema.json: New file.
11111
2d0fc4dc
CM
111122014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11113
4a594c34
AZ
11114 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11115 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11116 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11117 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11118 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11119 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11120 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11121 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11122 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11123 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11124 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11125 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11126 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11127 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11128 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11129 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11131 Moved ...
4a594c34 11132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11133 ... here.
4a594c34 11134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11135 Moved ...
4a594c34
AZ
11136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11138 Moved ...
4a594c34 11139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11140 ... here.
4a594c34 11141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11142 Moved ...
4a594c34 11143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11144 ... here.
4a594c34 11145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11146 Moved ...
4a594c34
AZ
11147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11149 Moved ...
4a594c34 11150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11151 ... here.
4a594c34 11152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11153 Moved ...
4a594c34 11154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11155 ... here.
4a594c34 11156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11157 Moved ...
4a594c34
AZ
11158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11160 Moved ...
4a594c34 11161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11162 ... here.
4a594c34 11163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11164 Moved ...
4a594c34 11165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11166 ... here.
4a594c34 11167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11168 Moved ...
4a594c34 11169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11170 ... here.
4a594c34 11171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11172 Moved ...
4a594c34
AZ
11173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11175 Moved ...
4a594c34 11176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11177 ... here.
4a594c34 11178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11179 Moved ...
4a594c34 11180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11181 ... here.
4a594c34 11182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11183 Moved ...
4a594c34 11184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11185 ... here.
4a594c34 11186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11187 Moved ...
4a594c34
AZ
11188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11190 Moved ...
4a594c34 11191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11192 ... here.
4a594c34 11193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11194 Moved ...
4a594c34 11195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11196 ... here.
4a594c34 11197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11198 Moved ...
4a594c34
AZ
11199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11201 Moved ...
4a594c34 11202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11203 ... here.
4a594c34 11204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11205 Moved ...
4a594c34
AZ
11206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11208 Moved ...
4a594c34
AZ
11209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11211 Moved ...
4a594c34 11212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11213 ... here.
4a594c34 11214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11215 Moved ...
4a594c34 11216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11217 ... here.
4a594c34 11218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11219 Moved ...
4a594c34 11220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11221 ... here.
4a594c34 11222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11223 Moved ...
4a594c34
AZ
11224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11226 Moved ...
4a594c34 11227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11228 ... here.
4a594c34 11229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11230 Moved ...
4a594c34 11231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11232 ... here.
4a594c34
AZ
11233 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11234 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11235 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11238 Moved ...
4a594c34 11239 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11240 ... here.
4a594c34
AZ
11241 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11252 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11254 Moved ...
4a594c34
AZ
11255 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11257 Moved ...
4a594c34
AZ
11258 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11262 Moved ...
4a594c34
AZ
11263 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11264 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11265 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11266 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11267 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11268 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11269 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11270
0570cfed
W
112712014-06-10 Wilco <wdijkstr@arm.com>
11272
11273 * math/test-fenv-return.c: New file.
11274 * math/Makefile: Add new test test-fenv-return.
11275
f8ba1b56
JM
112762014-06-10 Joseph Myers <joseph@codesourcery.com>
11277
11278 [BZ #17042]
11279 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11280 when x - 1 is zero.
11281 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11282 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11283 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11284 0.0L for an argument of 1.0L.
11285 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11286 Likewise.
11287 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11288 value when x - 1 is zero.
11289 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11290 * sysdeps/i386/fpu/libm-test-ulps: Update.
11291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11292
2c3520d9
BO
112932014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11294
11295 [BZ #15119]
11296 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11297
acaa4d24
RM
112982014-06-09 Roland McGrath <roland@hack.frob.com>
11299
11300 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11301 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11302
962b744d
RM
113032014-06-09 Roland McGrath <roland@hack.frob.com>
11304
d752f0cc
RM
11305 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11306 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11307
34eda6d1
RM
11308 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11309 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11310
50f0a637
RM
11311 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11312 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11313
08f41f04
RM
11314 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11315 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11316
962b744d
RM
11317 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11318 if not already defined.
11319 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11320 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11321 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11322 (TLS_INIT_TP): Use it.
11323 (TLS_DEFINE_INIT_TP): New macro.
11324 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11325
09f19b05
JM
113262014-06-09 Joseph Myers <joseph@codesourcery.com>
11327
11328 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11329 constant.
11330 [POSIX] (IXANY): Likewise.
11331 [POSIX] (OLCUC): Likewise.
11332 [POSIX || POSIX2008] (CBAUD): Do not allow.
11333 [POSIX || POSIX2008] (DEFECHO): Likewise.
11334 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11335 [POSIX || POSIX2008] (ECHOKE): Likewise.
11336 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11337 [POSIX || POSIX2008] (EXTA): Likewise.
11338 [POSIX || POSIX2008] (EXTB): Likewise.
11339 [POSIX || POSIX2008] (FLUSHO): Likewise.
11340 [POSIX || POSIX2008] (LOBLK): Likewise.
11341 [POSIX || POSIX2008] (PENDIN): Likewise.
11342 [POSIX || POSIX2008] (SWTCH): Likewise.
11343 [POSIX || POSIX2008] (VDISCARD): Likewise.
11344 [POSIX || POSIX2008] (VDSUSP): Likewise.
11345 [POSIX || POSIX2008] (VLNEXT): Likewise.
11346 [POSIX || POSIX2008] (VREPRINT): Likewise.
11347 [POSIX || POSIX2008] (VSTATUS): Likewise.
11348 [POSIX || POSIX2008] (VWERASE): Likewise.
11349 (B*): Change to B[0123456789]*.
11350 * conform/data/time.h-data [POSIX || UNIX98]
11351 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11352 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11353 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11354 [POSIX] (tm_*): Do not allow.
11355
686554bf
JM
113562014-06-07 Joseph Myers <joseph@codesourcery.com>
11357
11358 * Makefile (install): Don't set LANGUAGE.
11359 * Makefile.in (install): Likewise.
11360 * assert/Makefile (test-assert-ENV): Remove variable.
11361 (test-assert-perr-ENV): Likewise.
11362 * elf/Makefile (neededtest4-ENV): Likewise.
11363 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11364 [$(cross-compiling) = no]: Don't set LANGUAGE.
11365 * io/ftwtest-sh (LANG): Remove variable.
11366 * libio/Makefile (tst-widetext-ENV): Likewise.
11367 * manual/install.texi (Running make install): Don't refer to
11368 environment settings for make install.
11369 * INSTALL: Regenerated.
11370 * nptl/tst-tls6.sh: Don't set LANG.
11371 * posix/globtest.sh (LANG): Remove variable.
11372 * string/Makefile (tester-ENV): Likewise.
11373 (inl-tester-ENV): Likewise.
11374 (noinl-tester-ENV): Likewise.
11375 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11376 [$(cross-compiling) = no]: Don't set LANGUAGE.
11377 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11378 without explicit environment settings.
11379
68e6b6b1
RM
113802014-06-06 Roland McGrath <roland@hack.frob.com>
11381
11382 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11383 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11385 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11386
4d3ae034
CM
113872014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11388
11389 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11390 other files in the crypt directory.
11391 * crypt/crypt.c: Remove duplicate includes.
11392 * crypt/crypt-entry.c: Likewise.
11393 * crypt/crypt_util.c: Likewise.
11394
8540f6d2
JM
113952014-06-06 Joseph Myers <joseph@codesourcery.com>
11396
11397 * Makeconfig (run-program-env): New variable.
11398 (run-program-prefix-before-env): Likewise.
11399 (run-program-prefix-after-env): Likewise.
11400 (run-program-prefix): Define in terms of new variables.
11401 (built-program-cmd-before-env): New variable.
11402 (built-program-cmd-after-env): Likewise.
11403 (built-program-cmd): Define in terms of new variables.
11404 (test-program-prefix-before-env): New variable.
11405 (test-program-prefix-after-env): Likewise.
11406 (test-program-prefix): Define in terms of new variables.
11407 (test-program-cmd-before-env): New variable.
11408 (test-program-cmd-after-env): Likewise.
11409 (test-program-cmd): Define in terms of new variables.
11410 * Rules (make-test-out): Use $(run-program-env).
11411 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11412 (help): Do not mention environment variables. Mention
11413 --timeoutfactor option.
11414 (timeoutfactor): New variable.
11415 (blacklist_exports): Remove function.
11416 (exports): Remove variable.
11417 (command): Do not include ${exports}.
11418 * manual/install.texi (Configuring and compiling): Do not mention
11419 test wrappers preserving environment variables. Mention that last
11420 assignment to a variable must take precedence.
11421 * INSTALL: Regenerated.
11422 * benchtests/Makefile (run-bench): Use $(run-program-env).
11423 * catgets/Makefile ($(objpfx)test1.cat): Use
11424 $(built-program-cmd-before-env), $(run-program-env) and
11425 $(built-program-cmd-after-env).
11426 ($(objpfx)test2.cat): Do not specify environment variables
11427 explicitly.
11428 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11429 $(run-program-env) and $(built-program-cmd-after-env).
11430 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11431 $(run-program-env) and $(test-program-cmd-after-env).
11432 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11433 explicitly.
11434 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11435 run_program_env and test_program_cmd_after_env arguments.
11436 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11437 * elf/tst-pathopt.sh: Use run_program_env argument.
11438 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11439 $(test-wrapper-env) and $(run-program-env).
11440 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11441 run_program_env arguments.
11442 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11443 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11444 $(test-program-prefix-before-env), $(run-program-env) and
11445 $(test-program-prefix-after-env).
11446 ($(objpfx)tst-gettext2.out): Likewise.
11447 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11448 run_program_env and test_program_prefix_after_env arguments.
11449 * intl/tst-gettext2.sh: Likewise.
11450 * intl/tst-gettext4.sh: Do not set environment variables
11451 explicitly.
11452 * intl/tst-gettext6.sh: Likewise.
11453 * intl/tst-translit.sh: Likewise.
11454 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11455 $(test-program-prefix-before-env), $(run-program-env) and
11456 $(test-program-prefix-after-env).
11457 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11458 run_program_env and test_program_prefix_after_env arguments.
11459 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11460 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11461 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11462 explicitly with each use of ${test_wrapper_env}.
11463 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11464 $(test-program-prefix-before-env), $(run-program-env) and
11465 $(test-program-prefix-after-env).
11466 * posix/tst-getconf.sh: Do not set environment variables
11467 explicitly.
11468 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11469 run_program_env and test_program_prefix_after_env arguments.
11470 * stdio-common/tst-printf.sh: Do not set environment variables
11471 explicitly.
11472 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11473 $(test-program-prefix-before-env), $(run-program-env) and
11474 $(test-program-prefix-after-env).
11475 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11476 run_program_env and test_program_prefix_after_env arguments.
11477 Split $test calls into $test_pre and $test.
11478 * timezone/Makefile (build-testdata): Use
11479 $(built-program-cmd-before-env), $(run-program-env) and
11480 $(built-program-cmd-after-env).
11481
ed36bfa1
AZ
114822014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11483
11484 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11485 strlen for non SHARED builds.
11486
fc75bf46
SP
114872014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11488
11489 * nptl/allocatestack.c (check_list): Inlined function...
11490 (__reclaim_stacks): ... here.
11491
d89b3d80
OB
114922014-06-05 Ondřej Bílka <neleai@seznam.cz>
11493
11494 [BZ #15698]
11495 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11496 memory overrun.
11497
2bf18041
JM
114982014-06-05 Joseph Myers <joseph@codesourcery.com>
11499
11500 * Rules (make-test-out): Include
11501 LOCPATH=$(common-objpfx)localedata in default environment.
11502 * debug/Makefile (tst-chk1-ENV): Remove variable.
11503 (tst-chk2-ENV): Likewise.
11504 (tst-chk3-ENV): Likewise.
11505 (tst-chk4-ENV): Likewise.
11506 (tst-chk5-ENV): Likewise.
11507 (tst-chk6-ENV): Likewise.
11508 (tst-lfschk1-ENV): Likewise.
11509 (tst-lfschk2-ENV): Likewise.
11510 (tst-lfschk3-ENV): Likewise.
11511 (tst-lfschk4-ENV): Likewise.
11512 (tst-lfschk5-ENV): Likewise.
11513 (tst-lfschk6-ENV): Likewise.
11514 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11515 (tst-iconv7-ENV): Likewise.
11516 * intl/Makefile (LOCPATH-ENV): Likewise.
11517 (tst-codeset-ENV): Likewise.
11518 (tst-gettext3-ENV): Likewise.
11519 (tst-gettext5-ENV): Likewise.
11520 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11521 (tst-fopenloc-ENV): Likewise.
11522 (tst-fgetws-ENV): Remove variable.
11523 (tst-ungetwc1-ENV): Likewise.
11524 (tst-ungetwc2-ENV): Likewise.
11525 (bug-ungetwc2-ENV): Likewise.
11526 (tst-swscanf-ENV): Likewise.
11527 (bug-ftell-ENV): Likewise.
11528 (tst-fgetwc-ENV): Likewise.
11529 (tst-fseek-ENV): Likewise.
11530 (tst-ftell-partial-wide-ENV): Likewise.
11531 (tst-ftell-active-handler-ENV): Likewise.
11532 (tst-ftell-append-ENV): Likewise.
11533 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11534 (tst-regexloc-ENV): Likewise.
11535 (bug-regex1-ENV): Likewise.
11536 (tst-regex-ENV): Likewise.
11537 (tst-regex2-ENV): Likewise.
11538 (bug-regex5-ENV): Likewise.
11539 (bug-regex6-ENV): Likewise.
11540 (bug-regex17-ENV): Likewise.
11541 (bug-regex18-ENV): Likewise.
11542 (bug-regex19-ENV): Likewise.
11543 (bug-regex20-ENV): Likewise.
11544 (bug-regex22-ENV): Likewise.
11545 (bug-regex23-ENV): Likewise.
11546 (bug-regex25-ENV): Likewise.
11547 (bug-regex26-ENV): Likewise.
11548 (bug-regex30-ENV): Likewise.
11549 (bug-regex32-ENV): Likewise.
11550 (bug-regex33-ENV): Likewise.
11551 (bug-regex34-ENV): Likewise.
11552 (bug-regex35-ENV): Likewise.
11553 (tst-rxspencer-ENV): Likewise.
11554 (tst-rxspencer-no-utf8-ENV): Likewise.
11555 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11556 (tst-sscanf-ENV): Likewise.
11557 (tst-swprintf-ENV): Likewise.
11558 (tst-swscanf-ENV): Likewise.
11559 (test-vfprintf-ENV): Likewise.
11560 (scanf13-ENV): Likewise.
11561 (bug14-ENV): Likewise.
11562 (tst-grouping-ENV): Likewise.
11563 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11564 (tst-strtod3-ENV): Likewise.
11565 (tst-strtod4-ENV): Likewise.
11566 (tst-strtod5-ENV): Likewise.
11567 (testmb2-ENV): Likewise./
11568 * string/Makefile (tst-strxfrm-ENV): Likewise.
11569 (tst-strxfrm2-ENV): Likewise.
11570 (bug-strcoll1-ENV): Likewise.
11571 (test-strcasecmp-ENV): Likewise.
11572 (test-strncasecmp-ENV): Likewise.
11573 * time/Makefile (tst-strptime-ENV): Likewise.
11574 (tst-ftime_l-ENV): Likewise.
11575 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11576 (tst-mbrtowc-ENV): Likewise.
11577 (tst-wcrtomb-ENV): Likewise.
11578 (tst-mbrtowc2-ENV): Likewise.
11579 (tst-c16c32-1-ENV): Likewise.
11580 (tst-mbsnrtowcs-ENV): Likewise.
11581
cd1fb604
OB
115822014-06-05 Ondřej Bílka <neleai@seznam.cz>
11583
11584 * manual/resource.texi (How to get information about the memory
11585 subsystem?): Fix typo.
11586 Reported by Peon de la Parra Ivan <peon@keba.com>
11587
b42eca7d
GY
115882014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11589
11590 [BZ #16882]
11591 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11592 (pthread_spin_lock): Branch out of spin loop to proper location.
11593 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11594 (pthread_spin_lock): Likewise.
11595
902b71f9
DM
11596 * nptl/tst-spin4.c: New test.
11597 * nptl/Makefile (tests): Add tst-spin4.
11598
f9d2d032
AS
115992014-06-03 Andreas Schwab <schwab@suse.de>
11600
11601 [BZ #15946]
11602 * resolv/res_send.c (send_dg): Reload file descriptor after
11603 calling reopen.
11604
cf7bfd28
SL
116052014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11606
11607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11608
111cc714
RH
116092014-06-03 Richard Henderson <rth@redhat.com>
11610
89b4bd6b
RH
11611 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11612 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11613 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11614 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11615 in the SAVE_PID block.
11616 (__libc_vfork): New alias.
71840409 11617 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11618
111cc714
RH
11619 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11620 child in registers, not on the stack. Remove RESET_PID conditionals.
11621 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11622
ccc39911
MS
116232014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11624
11625 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11626
693096cc
W
116272014-06-03 Wilco <wdijkstr@arm.com>
11628
11629 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11630 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11631 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11632 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11633 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11634 Likewise.
11635
0b4366bc
W
116362014-06-03 Wilco <wdijkstr@arm.com>
11637
11638 * sysdeps/aarch64/fpu/math_private.h
11639 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11640 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11641 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11642 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11643 Fix declarations.
11644
8747cd03
KS
116452014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11646
11647 * crypt/crypt-private.h: Include ufc-crypt.h.
11648 (__b64_from_24bit): Declare extern.
11649 * crypt/crypt_util.c(__b64_from_24bit): New function.
11650 (b64t): New static const variable.
11651 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11652 (b64t): Remove variable.
11653 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11654 * crypt/sha256-crypt.c: Include crypt-private.h.
11655 (b64t): Remove variable.
11656 (__sha256_crypt_r): Remove b64_from_24bit and replace
11657 with __b64_from_24bit.
11658 * crypt/sha512-crypt.c: Likewise.
11659
d936d379
RM
116602014-06-02 Roland McGrath <roland@hack.frob.com>
11661
11662 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11663 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11664 Label the code __libc_vfork rather than __vfork.
11665 [!NOT_IN_libc] (vfork): Define as weak alias.
11666 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11667 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11668 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11669
9fa76613
SP
116702014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11671
11672 * malloc/malloc.c (malloc_info): Fix format specifier for
11673 n_mmaps.
11674
a88dadbe
W
116752014-06-02 Wilco <wdijkstr@arm.com>
11676
11677 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11678 FPCR write.
11679
c95b3011
W
116802014-06-02 Wilco <wdijkstr@arm.com>
11681
11682 [BZ #17009]
11683 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11684 Rewrite to reduce FPCR/FPSR accesses.
11685
6b4d7a90
DM
116862014-06-01 David S. Miller <davem@davemloft.net>
11687
11688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11689
30f3d07c
DM
116902014-05-31 David S. Miller <davem@davemloft.net>
11691
11692 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11693 to occur in round to nearest mode when |x| >= 2.0
11694
74f31c18
RH
116952014-05-30 Richard Henderson <rth@twiddle.net>
11696
f0712b54
RH
11697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11698 (PSEUDO_RET_NOERRNO): Remove.
11699 (ret): Don't redefine.
11700 (ret_NOERRNO): Define in terms of ret.
11701 (ret_ERRVAL): Likewise.
11702
74f31c18
RH
11703 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11704 use of PSEUDO_RET; perform the error check directly.
11705
30477995
MM
117062014-05-30 Marko Myllynen <myllynen@redhat.com>
11707
11708 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11709 with __int128_t.
11710
62a58816
SP
117112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11712
11713 * malloc/malloc (malloc_info): Fix formatting.
11714
4d653a59
SP
117152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11716 Roland McGrath <roland@hack.frob.com>
11717
11718 * malloc/malloc (malloc_info): Also print mmapped statistics.
11719
5190c17f
RM
117202014-05-30 Roland McGrath <roland@hack.frob.com>
11721
11722 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11723 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11724
987c0269
OB
117252014-05-30 Ondřej Bílka <neleai@seznam.cz>
11726
11727 * malloc/malloc.c (malloc_info): Inline mi_arena.
11728
af4e8ef9
RH
117292014-05-29 Richard Henderson <rth@twiddle.net>
11730
1670e207
RH
11731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11732 Remove comma before expanding ASM_ARGS_##nr.
11733 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11734 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11735 of ASM_ARGS_##nr.
11736 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11737 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11738 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11739 (ASM_ARGS_1): Add leading comma.
11740
11a28aee
RH
11741 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11742 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11743 to __errno_location.
11744 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11745 Remove the expected plt for __errno_location.
11746
a17e5ffb 11747 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11748 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11749 call to __read_tp.
11750
b5be4597
RH
11751 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11752 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11753 it and break it down.
11754 (DOCARGS_0, DOCARGS_1): Do nothing.
11755 (DOCARGS_2): Update to store into the new stack frame.
11756 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11757 (UNDOCARGS_1): Update to restore from the new stack frame.
11758 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11759 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11760
645d44ab
RH
11761 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11762 (SINGLE_THREAD_P): New parameter for result regno.
11763 (PSEUDO): Update to match; use cbz instead of beq.
11764
a8b4f04a
RH
11765 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11766 Use ENTRY to define the _nocancel entry point. Share the syscall
11767 and syscall error check paths with the cancel path.
11768 (PSEUDO_END): New.
11769
af4e8ef9
RH
11770 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11771 whitespace; tabs before and after asm mnemonics.
11772
26b0d2e1
EW
117732014-05-29 Eric Wong <normalperson@yhbt.net>
11774
11775 [BZ #15132]
11776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11777 Call fstat64 or stat64 internally, depending on arguments passed.
11778 Replace stat buffer argument with file descriptor argument.
11779 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11780 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11781 Pass fd to __internal_statvfs instead of calling fstat64.
11782 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11783 Pass fd to __internal_statvfs64 instead of calling fstat64.
11784 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11785 Pass -1 to __internal_statvfs instead of calling stat64.
11786 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11787 Pass -1 to __internal_statvfs64 instead of calling stat64.
11788
1efe2bd9
RM
117892014-05-28 Roland McGrath <roland@hack.frob.com>
11790
0d3b7a19
RM
11791 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11792 that was previously under [RESET_PID].
11793 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11794
1efe2bd9
RM
11795 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11796 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11797
a6bea3ca
RM
117982014-05-27 Roland McGrath <roland@hack.frob.com>
11799
30b6629e
RM
11800 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11801
a6bea3ca
RM
11802 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11803 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11804
3dfb9a5c
OB
118052014-05-27 Ondřej Bílka <neleai@seznam.cz>
11806
11807 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11808
774f9285
AS
118092014-05-27 Andreas Schwab <schwab@suse.de>
11810
11811 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11812 TLS_INIT_TP macro.
11813 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11814 * elf/rtld.c (init_tls, dl_main): Likewise.
11815 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11816 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11817 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11818 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11819 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11820 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11821 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11822 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11823 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11824 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11825 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11826 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11827 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11828 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11829 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11830 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11831 * sysdeps/generic/tls.h: Update description.
11832
36ffe739
WN
118332014-05-27 Will Newton <will.newton@linaro.org>
11834
11835 [BZ #16990]
11836 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11837 and restore r2 rather than just restoring.
11838
2482ae43
SP
118392014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11840
11841 [BZ #16724]
11842 * libio/tst-ftell-append.c: New test case.
11843 * libio/Makefile (tests): Add test case.
11844 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11845 append mode.
11846 * libio/wfileops.c (do_ftell_wide): Likewise.
11847
3d1024e8
AZ
118482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11849
bab90016
AZ
11850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11851
c7a8d667
AZ
11852 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11853 ...
11854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11856 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11857 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11858 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11859 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11861 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11862 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11863 Moved ...
11864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11866 Moved ...
11867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11869 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11871 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11873 ...
11874 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11875 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11876 Moved ...
11877 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11878 here.
11879 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11880 ...
11881 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11883 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11884
daee7851
AZ
11885 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11886 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11887 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11888 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11889
50a40819
AZ
11890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11891 merge into ...
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11894 ...
11895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11897 ...
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11899 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11900 Moved ...
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11902 here.
11903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11904 Moved ...
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11907 Moved ...
11908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11909
8464c2a1
AZ
11910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11911 conditional [RESET_PID].
11912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11913 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11914 removed.
11915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11916 removed.
11917
3d1024e8
AZ
11918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11919 <tcb-offsets.h>.
11920 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11921 (__libc_vfork): New strong alias.
11922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11923 removed.
11924 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11925 Removed.
11926
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11928 <tcb-offsets.h>.
11929 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11930 (__libc_vfork): New strong alias.
11931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11932 removed.
11933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11934 removed.
11935
fdfd175d
CD
119362014-05-26 Carlos O'Donell <carlos@redhat.com>
11937
11938 * malloc/malloc.c (mi_arena): New function.
11939 (malloc_info): Remove nested function mi_arena. Call non-nosted
11940 function mi_arena.
11941
d298c416
AZ
119422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11943
11944 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11945 by insrwi.
11946 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11947 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11948 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11949 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11950 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11951 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11952 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11953
b60ea6ff
AS
119542014-05-26 Andreas Schwab <schwab@suse.de>
11955
11956 [BZ #16984]
11957 * locale/programs/repertoire.c (repertoire_read): Add slash
11958 between I18NPATH element and file name.
11959 * locale/programs/locfile.c (locfile_read): Likewise.
11960
67365926
SL
119612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11962
11963 * nptl/pthread_mutexattr_settype.c
11964 (__pthread_mutexattr_settype):
11965 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11966
f8bdf1f0
SL
119672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11968
11969 * nptl/tst-mutex5 (do_test):
11970 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11971
15eaf6ff
SP
119722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11973
11974 * benchtests/README: Document 'init' directive.
11975 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11976 BENCH_INIT.
11977 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11978 (parse_file): Recognize 'init' directive.
11979
75f11331
KM
119802014-05-26 Kyle McMartin <kyle@redhat.com>
11981
11982 [BZ #16796]
11983 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11984 alignment of struct pthread.
11985
c3ec475c
SP
119862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
11988 [BZ #16878]
11989 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11990 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11991 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11992 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11993
82aab97c
RH
119942014-05-25 Richard Henderson <rth@twiddle.net>
11995
aa2f176d
RH
11996 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11997 (SINGLE_THREAD_P_PIC): Remove.
11998 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11999 (SINGLE_THREAD_P_PIC): Remove.
12000
ca3cfa40
RH
12001 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12002 branch to syscall error ...
12003 (PSEUDO): ... here.
12004 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12005 from __local_syscall_error to .Lsyscall_error.
12006 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12007 (SYSCALL_ERROR): Update label name.
12008
6e6c2d01
RH
12009 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12010 Do not use DOARGS/UNDOARGS.
12011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12012 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12013 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12014 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12015 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12016
c69abcee
RH
12017 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12018 block comment.
12019
82aab97c
RH
12020 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12021 define if !NOT_IN_libc.
12022 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12023 define with non-default symbol versions.
12024
8820e3ac
RH
120252014-05-23 Richard Henderson <rth@twiddle.net>
12026
900e445f
RH
12027 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12028 (vfork, __vfork): Define via compat_symbol.
12029
8820e3ac
RH
12030 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12031 [!HAVE_IFUNC] (vfork_compat): Remove.
12032 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12033
e59252a5
JM
120342014-05-23 Joseph Myers <joseph@codesourcery.com>
12035
12036 [BZ #16978]
12037 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12038 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12039 variable.
12040
132c7f5f
RH
120412014-05-23 Richard Henderson <rth@twiddle.net>
12042
bc89e962
RH
12043 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12044 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12045 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12046 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12047
12048 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12049 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12050 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12051 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12052 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12053 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12054 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12055 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12056 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12057 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12058 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12059 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12060 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12061 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12062 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12063 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12064 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12065 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12066 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12067 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12068 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12069 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12070 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12071 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12072 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12073 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12074 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12075 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12076 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12077 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12078 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12079 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12080 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12081 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12082 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12083 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12084 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12085 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12086 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12087 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12088 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12089 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12090 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12091 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12092 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12093 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12095 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12096 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12097 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12098 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12099 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12100 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12101 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12103 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12104
e2fa4bc2
RH
12105 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12106 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12107 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12108 before exiting on error.
12109 (__libc_vfork): New strong alias.
12110 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12111 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12112
279b24e2
RH
12113 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12114 that was previously under [RESET_PID].
12115 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12116
132c7f5f
RH
12117 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12118
b72592e7
JM
121192014-05-23 Joseph Myers <joseph@codesourcery.com>
12120
12121 [BZ #16977]
12122 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12123 value when x - 1 is zero.
12124 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12125 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12126 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12127 0.0L for an argument of 1.0L.
12128 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12129 Likewise.
12130 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12131 value when x - 1 is zero.
12132 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12133 * sysdeps/i386/fpu/libm-test-ulps: Update.
12134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12135
2302d679
RV
121362014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12137
12138 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12139 alphasort and versionsort.
12140
32999d63
AZ
121412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12142
12143 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12144 macro.
12145 [copysignf]: Likewise.
12146
019324d0
SP
121472014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12148
12149 * crypt/md5-crypt.c: Fix formatting.
12150
34fff5c2
KS
121512014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12152
12153 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12154 (b64_from_24bit): New function.
12155
3d2badac
AZ
121562014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12157
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12159 libc_hidden_builtin_def to ifunc.
12160 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12161 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12162
f7bb179f 121632014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12164
12165 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12166 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12167
4134b50d
JM
121682014-05-21 Joseph Myers <joseph@codesourcery.com>
12169
bb7d0337
JM
12170 * nscd/Depend (linuxthreads): Remove.
12171 (nptl): Add.
12172 * resolv/Depend (linuxthreads): Remove.
12173 * rt/Depend (linuxthreads): Remove.
12174
4134b50d
JM
12175 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12176 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12177 $(common-objpfx)elf/.
12178 (link-libc-before-gnulib): Likewise.
12179 (elfobjdir): Remove variable.
12180 * Makefile (install): Use $(elf-objpfx) instead of
12181 $(common-objpfx)elf/.
12182 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12183 $(elfobjdir)/.
12184 (link-libc-deps): Likewise.
12185 ($(common-objpfx)libc.so): Likewise.
12186 ($(common-objpfx)linkobj/libc.so): Likewise.
12187 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12188 instead of $(common-objpfx)elf/.
12189 (symbolic-link-list): Likewise.
12190 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12191 [$(cross-compiling) = no]: Likewise.
12192 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12193 $(elfobjdir)/.
12194 (static-gnulib-arch): Likewise.
12195 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12196 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12197 $(common-objpfx)elf/.
12198
3612eb8f
RH
121992014-05-21 Richard Henderson <rth@redhat.com>
12200
a6b3657b
RH
12201 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12202 (SINGLE_THREAD_P): Use the correct width load. Fold
12203 into the ldr offset.
12204
3612eb8f
RH
12205 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12206 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12207
175cef41
JM
122082014-05-20 Joseph Myers <joseph@codesourcery.com>
12209
12210 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12211 (libgcc_s_resume): Use __attribute_used__.
12212 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12213 Likewise.
12214
e13bccd3
AZ
122152014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12218 optimization when used with float constants.
12219
7c112a38
AZ
12220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12221
ae75a883
AJ
122222014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12223
12224 [BZ #16915]
12225 * locale/nl_langinfo_l.c: Make direct reference to every
12226 _nl_current_CATEGORY symbol.
12227 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12228 (tests-static): Add tst-langinfo-static.
12229 (tests-special): Add tst-langinfo-static.out.
12230 ($(objpfx)tst-langinfo.out): Redirect output.
12231 ($(objpfx)tst-langinfo-static.out): New.
12232 * localedata/tst-langinfo.sh: Send output to stdout.
12233 * localedata/tst-langinfo-static.c: New file.
12234
4406c41c
AJ
12235 [BZ #16965]
12236 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12237 when the shift amount is modulo the limb size.
12238
4c0a1e63
RH
122392014-05-20 Richard Henderson <rth@redhat.com>
12240
de9d8f20
RH
12241 [BZ #16967]
12242 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12243 Change type of sa_flags from unsigned int to int.
12244
4c0a1e63
RH
12245 [BZ #16966]
12246 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12247
12248 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12249
a60339aa
WN
122502014-05-20 Will Newton <will.newton@linaro.org>
12251
12252 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12253 Test the return value of the system call in the nocancel case.
12254
7d05a816
YR
122552014-05-20 Will Newton <will.newton@linaro.org>
12256 Yvan Roux <yvan.roux@linaro.org>
12257
12258 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12259 #include of asm/ptrace.h.
12260 (PTRACE_GET_THREAD_AREA): Remove #undef.
12261 (PTRACE_GETHBPREGS): Likewise.
12262 (PTRACE_SETHBPREGS): Likewise.
12263 (struct user_regs_struct): New structure.
12264 (struct user_fpsimd_struct): New structure.
12265 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12266 #include of asm/ptrace.h and second #include of sys/user.h.
12267 (PTRACE_GET_THREAD_AREA): Remove #undef.
12268 (PTRACE_GETHBPREGS): Likewise.
12269 (PTRACE_SETHBPREGS): Likewise.
12270 (ELF_NGREG): Use new struct user_regs_struct.
12271 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12272
af121e37
AZ
122732014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12274
12275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12277
834caf06
JM
122782014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12279
12280 [BZ #16958]
12281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12282 membar to avoid block loads/stores to overlap previous stores.
12283
e184a918
RH
122842014-05-17 Richard Henderson <rth@redhat.com>
12285
12286 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12287 Create the __##syscall_name##_nocancel entry point.
12288 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12289 Remove; let the sysdep-cancel.h code create it.
12290
f56c7a6a
DM
122912014-05-17 David S. Miller <davem@davemloft.net>
12292
12293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12294 Protect with __USE_GNU.
12295 (TIOCSET_TEMPT): Likewise.
12296 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12297 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12298 these are already provided in bits/ioctl-types.h
12299
f75616b2
RM
123002014-05-16 Roland McGrath <roland@hack.frob.com>
12301
3edeca86
RM
12302 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12303 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12304
f75616b2
RM
12305 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12306 Use wait4 regardless of [__NR_waitpid].
12307
deb0f7f6
MR
123082014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12309
12310 PR libgcc/60166
12311 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12312 (_FP_NANSIGN_Q): Set the quiet bit.
12313
79520f4b
JM
123142014-05-16 Joseph Myers <joseph@codesourcery.com>
12315
12316 * benchtests/Makefile
12317 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12318 not $(common-objpfx)math/libm.so.
12319 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12320 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12321 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12322 $(common-objpfx)dlfcn/libdl.so.
12323 ($(objpfx)tst-audit8): Depend on $(libm), not
12324 $(common-objpfx)math/libm.so.
12325 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12326 not $(common-objpfx)dlfcn/libdl.so.
12327 * math/Makefile
12328 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12329 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12330 [$(build-shared) = yes].
12331 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12332 $(common-objpfx)nptl/libpthread.so.
12333 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12334 $(common-objpfx)math/libm.so$(libm.so-version) or
12335 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12336 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12337 $(common-objpfx)dlfcn/libdl.so.
12338 * setjmp/Makefile (link-libm): Remove variable.
12339 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12340 * stdio-common/Makefile (link-libm): Remove variable.
12341 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12342 * stdlib/Makefile (link-libm): Remove variable.
12343 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12344 ($(objpfx)tst-strtod-round): Likewise.
12345 ($(objpfx)tst-tininess): Likewise.
12346 ($(objpfx)tst-strtod-underflow): Likewise.
12347 ($(objpfx)tst-strtod6): Likewise.
12348 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12349 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12350 $(common-objpfx)dlfcn/libdl.so.
12351
026b0fe4
AZ
123522014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353
12354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12355 BSD terminal modes definitions.
12356
def4bcb2
RM
123572014-05-16 Roland McGrath <roland@hack.frob.com>
12358
fe39b021
RM
12359 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12360 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12361
1d1fc46e 12362 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12363 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12364 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12365 Don't do #include_next.
12366 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12367 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12368 Don't do #include_next.
12369 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12370 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12371 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12372 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12373
c72399fb
AM
123742014-05-16 Allan McRae <allan@archlinux.org>
12375
d51d659d
AM
12376 * po/sv.po: Update Swedish translation from translation project.
12377
c72399fb
AM
12378 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12379 in sed expression.
12380
d0583c40
AJ
123812014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12382
12383 [BZ #16917]
12384 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12385 errno if the TIOCGPTN ioctl fails with an error different than
12386 EINVAL.
12387 * login/tst-ptsname.c: New file.
12388 * login/Makefile (tests): Add tst-ptsname.
12389
d16e6ec7
AJ
12390 [BZ #16943]
12391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12392 and prlimit64.
12393
cf26a0cb
SP
123942014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12395
12396 [BZ #16849]
12397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12398 herrno to return EAI_AGAIN.
12399
5675da1e
RM
124002014-05-14 Roland McGrath <roland@hack.frob.com>
12401
a5d87b3d
RM
12402 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12403 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12404 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12405 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12406 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12407 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12408 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12409 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12411 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12412 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12413 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12414 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12415 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12416 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12417 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12418 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12419 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12421 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12422 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12423 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12424 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12425 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12427 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12428 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12429 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12430 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12431 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12433 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12437 Moved ...
12438 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12450 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12452 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12454 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12456 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12458 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12460 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12462 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12464 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12466 Moved ...
12467 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12469 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12471 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12473 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12475 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12477 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12479 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12481 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12483 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12485 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12487 Moved ...
12488 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12490 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12491
039890a6
RM
12492 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12493 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12494 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12495 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12496 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12497 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12498 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12500 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12502 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12504 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12506 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12507 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12508 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12509 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12510 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12512 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12514 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12515 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12516 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12517 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12518 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12519 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12520 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12521 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12522 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12523
65c89320
RM
12524 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12525 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12526
348f8e8c
RM
12527 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12528 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12529 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12531 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12532 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12533 Moved ...
12534 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12536 Moved ...
12537 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12538 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12539 Moved ...
12540 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12542 Moved ...
12543 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12545 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12547 Moved ...
12548 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12549 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12550 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12551 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12552 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12553 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12554 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12555 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12556 Moved ...
12557 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12558 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12559 Moved ...
12560 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12561 ... here.
12562 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12563 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12564 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12565 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12567 Moved ...
12568 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12569 ... here.
12570 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12571 Moved ...
12572 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12573 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12574 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12575 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12576 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12577 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12578 Moved ...
12579 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12580 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12581 Moved ...
12582 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12583 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12584 Moved ...
12585 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12586 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12587 Moved ...
12588 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12589 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12590 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12591 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12592 Moved ...
12593 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12594 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12595 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12596 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12597 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12598 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12599 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12600 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12601 Moved ...
12602 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12603 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12604 Moved ...
12605 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12606 ... here.
12607 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12608 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12610 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12611 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12612 Moved ...
12613 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12614 ... here.
12615 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12616 Moved ...
12617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12618 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12619 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12620 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12621 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12622 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12624 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12625 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12627 Moved ...
12628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12629 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12630 Moved ...
12631 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12632 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12633 Moved ...
12634 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12636 Moved ...
12637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12638 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12639 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12640 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12641 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12642 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12643 Moved ...
12644 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12646 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12647 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12648 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12649 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12650 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12651 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12652 Moved ...
12653 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12654 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12655 Moved ...
12656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12657 ... here.
12658 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12659 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12660 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12661 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12662 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12663 Moved ...
12664 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12665 ... here.
12666 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12667 Moved ...
12668 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12669 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12670 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12671 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12672 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12673 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12674 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12675 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12676 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12677 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12678 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12679
5085af05
RM
12680 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12681 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12682
708f0813
RM
12683 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12684 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12685
c96067bc
RM
12686 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12687 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12688 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12689 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12690 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12691 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12692 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12693 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12694 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12695 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12696 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12697 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12698 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12699 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12700 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12701 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12702 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12703 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12704 Moved ...
12705 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12706 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12707 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12709 Moved ...
12710 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12711 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12712 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12713 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12714 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12715 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12716 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12718 Moved ...
12719 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12720 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12721 Moved ...
12722 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12723 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12724 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12725 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12727 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12728 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12729 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12730 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12731 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12732 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12733 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12734 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12735 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12736 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12737 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12738 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12739
ec136444
RM
12740 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12741 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12742 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12743 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12744 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12745
2fbdf533
RM
12746 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12747 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12748 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12749 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12750 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12751 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12752 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12753 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12754 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12755 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12756
4c68138b
RM
12757 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12759
4eaae765
RM
12760 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12761 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12762 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12763 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12764 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12765 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12766 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12767 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12768 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12769 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12770 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12771 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12772 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12773 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12774 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12775 Update #include.
12776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12777 Likewise.
12778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12779 Likewise.
12780 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12781 Likewise.
12782 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12783 Likewise.
12784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12785 Likewise.
12786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12787 Likewise.
12788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12789 Likewise.
12790 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12791 Likewise.
12792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12793 Likewise.
4ef6befa
RM
12794 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12795 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12798 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12799 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12800 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12801 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12803 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12804 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12805 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12806 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12807 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12808 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12809
941d7dfd
RM
12810 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12811 that was previously under [RESET_PID].
12812 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12813 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12814 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12815
1b731c35
RM
12816 * sysdeps/i386/nptl/Implies: New file.
12817 * sysdeps/x86_64/nptl/Implies: New file.
12818 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12819 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12820 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12821 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12822
e2787137
RM
12823 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12824 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12825 (__libc_vfork): New strong alias.
12826 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12827 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12828
12829 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12830 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12831 (__libc_vfork): New strong alias.
12832 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12833 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12834
5675da1e
RM
12835 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12836 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12837 (__libc_vfork): New strong alias.
12838 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12839 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12840 * nptl/pt-vfork.c: New file.
12841 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12842 (libpthread: GLIBC_2.20): New version set (empty).
12843
4f02e2b8
WN
128442014-05-14 Will Newton <will.newton@linaro.org>
12845
12846 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12847 rather than #if.
12848
0bf061d3
JM
128492014-05-14 Joseph Myers <joseph@codesourcery.com>
12850
1a84c3d6
JM
12851 [BZ #16564]
12852 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12853 arguments with exponent 65 or above.
12854 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12855 arguments 0x1p113L or above.
12856 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12857 to arguments 0x1p107L or above.
12858 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12859 positive arguments with exponent 65 or above.
12860 * math/auto-libm-test-in: Add more tests of log1p.
12861 * math/auto-libm-test-out: Regenerated.
12862
01dbacd2
JM
12863 [BZ #16928]
12864 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12865 non-finite arguments is +0.
12866 * math/s_cacosf.c (__cacosf): Likewise.
12867 * math/s_cacosl.c (__cacosl): Likewise.
12868 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12869 * sysdeps/i386/fpu/libm-test-ulps: Update.
12870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12871
913d03c8
JM
12872 [BZ #16927]
12873 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12874 value.
12875 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12876 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12877 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12878 for explicit high bit of mantissa when testing for argument equal
12879 to 1.
12880 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12881 * sysdeps/i386/fpu/libm-test-ulps: Update.
12882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12883
0bf061d3
JM
12884 [BZ #16516]
12885 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12886 (__erf): Scale by 16 instead of 8 in potentially underflowing
12887 case. Ensure exception if result actually underflows.
12888 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12889 (__erff): Scale by 16 instead of 8 in potentially underflowing
12890 case. Ensure exception if result actually underflows.
12891 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12892 (efx8): Remove variable.
12893 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12894 case. Ensure exception if result actually underflows.
12895 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12896 (efx8): Remove variable.
12897 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12898 case. Ensure exception if result actually underflows.
12899 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12900 (efx8): Remove variable.
12901 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12902 case. Ensure exception if result actually underflows.
12903 * math/auto-libm-test-in: Add more tests of erf.
12904 * math/auto-libm-test-out: Regenerated.
12905
73ba67cb
AS
129062014-05-14 Andreas Schwab <schwab@suse.de>
12907
3d8c8bff
AS
12908 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12909 Remove code conditionalized on USE___THREAD.
12910
73ba67cb
AS
12911 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12912 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12913 not definedness.
12914
5c521ecd
JM
129152014-05-14 Joseph Myers <joseph@codesourcery.com>
12916
5e7698c6
JM
12917 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12918 Define unconditionally.
12919 (__ASSUME_O_CLOEXEC): Likewise.
12920 (__ASSUME_SOCK_CLOEXEC): Likewise.
12921 (__ASSUME_IN_NONBLOCK): Likewise.
12922 (__ASSUME_PIPE2): Likewise.
12923 (__ASSUME_EVENTFD2): Likewise.
12924 (__ASSUME_SIGNALFD4): Likewise.
12925 (__ASSUME_DUP3): Likewise.
12926 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12927 (__ASSUME_DUP3): Do not define.
12928 (__ASSUME_EVENTFD2): Likewise.
12929 (__ASSUME_IN_NONBLOCK): Likewise.
12930 (__ASSUME_O_CLOEXEC): Likewise.
12931 (__ASSUME_PIPE2): Likewise.
12932 (__ASSUME_SIGNALFD4): Likewise.
12933 (__ASSUME_SOCK_CLOEXEC): Likewise.
12934 (__ASSUME_UTIMES): Undefine.
12935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12936 (__ASSUME_UTIMES): Do not define.
12937 (__ASSUME_O_CLOEXEC): Likewise.
12938 (__ASSUME_SOCK_CLOEXEC): Likewise.
12939 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12940 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12941 0x020621].
12942 (__ASSUME_PIPE2): Likewise.
12943 (__ASSUME_EVENTFD2): Likewise.
12944 (__ASSUME_SIGNALFD4): Likewise.
12945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12946 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12947 Do not define.
12948 (__ASSUME_EVENTFD2): Likewise.
12949 (__ASSUME_SIGNALFD4): Likewise.
12950 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12951 (__ASSUME_32BITUIDS): Likewise.
12952 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12953 (__ASSUME_IPC64): Likewise.
12954 (__ASSUME_ST_INO_64_BIT): Likewise.
12955 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12956 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12957 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12958 (__ASSUME_UTIMES): Do not define.
12959 (__ASSUME_PSELECT): Likewise.
12960 (__ASSUME_PPOLL): Likewise.
12961 (__ASSUME_O_CLOEXEC): Likewise.
12962 (__ASSUME_SOCK_CLOEXEC): Likewise.
12963 (__ASSUME_IN_NONBLOCK): Likewise.
12964 (__ASSUME_PIPE2): Likewise.
12965 (__ASSUME_EVENTFD2): Likewise.
12966 (__ASSUME_SIGNALFD4): Likewise.
12967 (__ASSUME_DUP3): Likewise.
12968 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12969 (__ASSUME_UTIMES): Likewise.
12970 (__ASSUME_O_CLOEXEC): Likewise.
12971 (__ASSUME_SOCK_CLOEXEC): Likewise.
12972 (__ASSUME_IN_NONBLOCK): Likewise.
12973 (__ASSUME_PIPE2): Likewise.
12974 (__ASSUME_EVENTFD2): Likewise.
12975 (__ASSUME_SIGNALFD4): Likewise.
12976 (__ASSUME_DUP3): Likewise.
12977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12978 (__ASSUME_UTIMES): Likewise.
12979 (__ASSUME_O_CLOEXEC): Likewise.
12980 (__ASSUME_SOCK_CLOEXEC): Likewise.
12981 (__ASSUME_IN_NONBLOCK): Likewise.
12982 (__ASSUME_PIPE2): Likewise.
12983 (__ASSUME_EVENTFD2): Likewise.
12984 (__ASSUME_SIGNALFD4): Likewise.
12985 (__ASSUME_DUP3): Likewise.
12986 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12987 Likewise.
12988 (__ASSUME_UTIMES): Likewise.
12989 (__ASSUME_EVENTFD2): Likewise.
12990 (__ASSUME_SIGNALFD4): Likewise.
12991 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12992 (__ASSUME_O_CLOEXEC): Likewise.
12993 (__ASSUME_SOCK_CLOEXEC): Likewise.
12994 (__ASSUME_IN_NONBLOCK): Likewise.
12995 (__ASSUME_PIPE2): Likewise.
12996 (__ASSUME_EVENTFD2): Likewise.
12997 (__ASSUME_SIGNALFD4): Likewise.
12998 (__ASSUME_DUP3): Likewise.
12999 (__ASSUME_UTIMES): Undefine.
13000
5c521ecd
JM
13001 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13002 feclearexcept. Remove symbol versioning code.
13003 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13004 symbol versioning code.
13005 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13006 symbol versioning code.
13007 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13008 feupdateenv. Remove symbol versioning code.
13009 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13010 fegetexceptflag. Remove symbol versioning code.
13011 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13012 fesetexceptflag. Remove symbol versioning code.
13013 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13014 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13015 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13016 (__posix_fadvise64_l32): Remove prototype.
13017 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13018 code.
13019
5da9dfad
RM
130202014-05-13 Roland McGrath <roland@hack.frob.com>
13021
13022 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13023 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13024 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13025 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13026
893b4f37
SK
130272014-05-13 Sami Kerola <kerolasa@iki.fi>
13028
13029 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13030 current working directory
13031
e0db6517
RM
130322014-05-13 Roland McGrath <roland@hack.frob.com>
13033
58aa195d
RM
13034 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13035 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13036 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13037 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13038 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13039 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13040 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13045 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13049 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13050 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13051 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13052 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13053 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13055 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13056 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13057 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13058 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13059 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13060 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13061 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13063 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13064 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13065 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13066 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13067 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13068 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13069 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13070 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13071 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13072 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13073 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13074 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13075 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13076
8c6d01f0
RM
13077 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13078 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13079
13080 * sysdeps/unix/sysv/linux/arm/Makefile
13081 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13082 Add rt-aeabi_unwind_cpp_pr1.
13083 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13084 Add nptl-aeabi_unwind_cpp_pr1.
13085 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13086 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13087 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13088 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13089 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13090 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13091
13092 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13093 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13094 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13095 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13096
bba6da4e
RM
13097 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13098 Deconditionalize the code that was previously under [RESET_PID].
13099 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13100
e0db6517
RM
13101 * sysdeps/generic/exit-thread.h: New file.
13102 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13103 * include/unistd.h (__exit_thread): Remove declaration.
13104 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13105 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13106 * csu/libc-start.c: Include <exit-thread.h>.
13107 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13108 * nptl/pthread_create.c: Include <exit-thread.h>.
13109 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13110 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13111 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13112 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13113 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13114 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13115 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13116 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13117 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13118 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13119 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13120 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13121 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13122 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13123 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13124 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13125 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13126
01eb16fd
AS
131272014-05-13 Andreas Schwab <schwab@suse.de>
13128
13129 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13130
637461d9
JM
131312014-05-12 Joseph Myers <joseph@codesourcery.com>
13132
13133 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13134 (__ASSUME_UTIMES): Do not condition on kernel version.
13135 (__ASSUME_PSELECT): Define unconditionally.
13136 (__ASSUME_PPOLL): Likewise.
13137 (__ASSUME_ATFCTS): Likewise.
13138 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13139 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13140 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13141 (__ASSUME_UTIMENSAT): Define unconditionally.
13142 (__ASSUME_PRIVATE_FUTEX): Likewise.
13143 (__ASSUME_FALLOCATE): Likewise.
13144 (__ASSUME_O_CLOEXEC): Likewise.
13145 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13146 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13147 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13148 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13149 (__ASSUME_IN_NONBLOCK): Likewise.
13150 (__ASSUME_PIPE2): Likewise.
13151 (__ASSUME_EVENTFD2): Likewise.
13152 (__ASSUME_SIGNALFD4): Likewise.
13153 (__ASSUME_DUP3): Likewise.
13154 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13155 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13156 (__ASSUME_AT_RANDOM): Likewise.
13157 (__ASSUME_PREADV): Likewise.
13158 (__ASSUME_PWRITEV): Likewise.
13159 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13160 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13161 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13162 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13163 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13164 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13165 (__ASSUME_O_CLOEXEC): Define unconditionally.
13166 (__ASSUME_PSELECT): Do not undefine conditionally.
13167 (__ASSUME_PPOLL): Likewise.
13168 (__ASSUME_ATFCTS): Likewise.
13169 (__ASSUME_SET_ROBUST_LIST): Likewise.
13170 (__ASSUME_UTIMENSAT): Likewise.
13171 (__ASSUME_FDATASYNC): Define unconditionally.
13172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13173 (__ASSUME_SIGFRAME_V2): Likewise.
13174 )__ASSUME_EVENTFD2): Likewise.
13175 (__ASSUME_SIGNALFD4): Likewise.
13176 (__ASSUME_PSELECT): Do not undefine conditionally.
13177 (__ASSUME_PPOLL): Likewise.
13178 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13179 (__ASSUME_PSELECT): Define unconditionally.
13180 (__ASSUME_PPOLL): Likewise.
13181 (__ASSUME_O_CLOEXEC): Likewise.
13182 (__ASSUME_SOCK_CLOEXEC): Likewise.
13183 (__ASSUME_IN_NONBLOCK): Likewise.
13184 (__ASSUME_PIPE2): Likewise.
13185 (__ASSUME_EVENTFD2): Likewise.
13186 (__ASSUME_SIGNALFD4): Likewise.
13187 (__ASSUME_DUP3): Likewise.
13188 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13189 (__ASSUME_O_CLOEXEC): Likewise.
13190 (__ASSUME_SOCK_CLOEXEC): Likewise.
13191 (__ASSUME_IN_NONBLOCK): Likewise.
13192 (__ASSUME_PIPE2): Likewise.
13193 (__ASSUME_EVENTFD2): Likewise.
13194 (__ASSUME_SIGNALFD4): Likewise.
13195 (__ASSUME_DUP3): Likewise.
13196 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13197 (__ASSUME_EVENTFD2): Likewise.
13198 (__ASSUME_SIGNALFD4): Likewise.
13199 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13200
315eb1d8
AS
132012014-05-12 Andreas Schwab <schwab@suse.de>
13202
13203 [BZ #16932]
13204 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13205 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13206 than maximum RPC packet size.
13207 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13208 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13209 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13210 (_nss_nis_getservbyport_r): Likewise.
13211
91df99f7
WN
132122014-05-12 Will Newton <will.newton@linaro.org>
13213
13214 * malloc/Makefile (tests): Add tst-mallopt.
13215 * malloc/tst-mallopt.c: New file.
13216
0a982a29
RM
132172014-05-09 Roland McGrath <roland@hack.frob.com>
13218
13219 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13220 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13221
0ded08a5
AZ
132222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13223
13224 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13225 (tst-tlsmod6.so): Likewise.
13226
55d4d550
RM
132272014-05-09 Roland McGrath <roland@hack.frob.com>
13228
13229 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13230
77d08aca
JM
132312014-05-09 Joseph Myers <joseph@codesourcery.com>
13232
13233 [BZ #16064]
13234 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13235 and <dl-procinfo.h>.
13236 (__fegetenv): Save SSE state in envp->__eip if supported.
13237 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13238 envp->__eip if supported.
13239 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13240 and <dl-procinfo.h>.
13241 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13242 __data_offset and __data_selector in environment to 0. Set SSE
13243 state if supported.
13244 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13245 test-fenv-sse.
13246 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13247 -mfpmath=sse.
13248 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13249
28162f4d
WN
132502014-05-09 Will Newton <will.newton@linaro.org>
13251
13252 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13253 and libc_relro_required for ARM.
13254 * sysdeps/arm/preconfigure: Regenerate.
13255
5a414ff7
DV
132562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13257 Stefan Liebler <stli@linux.vnet.ibm.com>
13258
13259 * config.make.in (enable-lock-elision): New Makefile variable.
13260 * configure.ac: Likewise.
13261 * configure: Regenerate.
13262 * sysdeps/s390/configure.ac:
13263 Add check for gcc transactions support.
13264 * sysdeps/s390/configure: Regenerate.
13265 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13266 Build elision files if enabled.
13267 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13268 Add lock elision support for s390.
13269 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13270 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13271 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13272 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13273 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13274 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13275 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13276 Likewise.
13277 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13278 Likewise.
13279 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13280 Likewise.
13281 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13282 Likewise.
13283 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13284 (__lll_timedlock_elision, __lll_lock_elision)
13285 (__lll_unlock_elision, __lll_trylock_elision)
13286 (lll_timedlock_elision, lll_lock_elision)
13287 (lll_unlock_elision, lll_trylock_elision): Add.
13288 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13289 (pthread_mutex_t): Add lock elision support for s390.
13290
1a2f40e5
W
132912014-05-14 Wilco <wdijkstr@arm.com>
13292
13293 * sysdeps/arm/fclrexcpt.c: Cleanup.
13294 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13295 * sysdeps/arm/feenablxcpt.c: Cleanup.
13296 * sysdeps/arm/fegetenv.c: Cleanup.
13297 * sysdeps/arm/fegetexcept.c: Cleanup.
13298 * sysdeps/arm/fegetround.c: Cleanup.
13299 * sysdeps/arm/feholdexcpt.c: Cleanup.
13300 * sysdeps/arm/fesetenv.c: Cleanup.
13301 * sysdeps/arm/fesetround.c: Cleanup.
13302 * sysdeps/arm/feupdateenv.c: Cleanup.
13303 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13304 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13305 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13306 * sysdeps/arm/ftestexcept.c: Cleanup.
13307 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13308 * sysdeps/arm/setfpucw.c: Cleanup.
13309
f63c86fe
WN
133102014-05-09 Will Newton <will.newton@linaro.org>
13311
13312 * sysdeps/arm/armv7/strcmp.S: New file.
13313 * NEWS: Mention addition of ARMv7 optimized strcmp.
13314
7a1a51b5
RM
133152014-05-08 Roland McGrath <roland@hack.frob.com>
13316
95afbbe5
RM
13317 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13318 look for %.ac rather than %.in.
13319
13320 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13321 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13322 * sysdeps/mach/hurd/configure: Regenerated.
13323 * sysdeps/unix/sysv/linux/configure: Regenerated.
13324
7a1a51b5
RM
13325 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13326
5057ad3b
SE
133272014-05-07 Steve Ellcey <sellcey@mips.com>
13328
13329 [BZ# 16922]
13330 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13331 (LONG_SUB): Ditto.
13332 (PTR_SUB): Ditto.
13333
8dc97517
AS
133342014-05-07 Andreas Schwab <schwab@suse.de>
13335
13336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13337 when skipping over non-matching result from nscd.
13338
ce0c5b8f
OB
133392014-05-07 Ondřej Bílka <neleai@seznam.cz>
13340
13341 [BZ #16876]
13342 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13343
a1189263
OB
13344 [BZ #16877]
13345 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13346 nscd security class.
ce0c5b8f 13347
0f58d252
RM
133482014-05-06 Roland McGrath <roland@hack.frob.com>
13349
13350 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13351 * sysdeps/arm/unwind.h: ... here.
13352
83df9ad0
AJ
133532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13354
ce0c5b8f
OB
13355 [BZ# 16916]
13356 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13357 Define.
83df9ad0 13358
f360f94a
VR
133592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13360
13361 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13362 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13363 multiarch strncpy for PPC64.
13364 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13365 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13367 multiarch optimizations.
13368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13369 (__libc_ifunc_impl_list): Likewise.
13370 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13371 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13372 multiarch stpncpy for PPC64.
13373 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13374 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13375
978a41c3
AS
133762014-05-06 Andreas Schwab <schwab@suse.de>
13377
13378 [BZ #16912]
13379 * gmon/mcount.c (_MCOUNT_DECL): Use
13380 atomic_compare_and_exchange_bool_acq instead of
13381 catomic_compare_and_exchange_bool_acq.
13382
eb1ed03d
RM
133832014-05-05 Roland McGrath <roland@hack.frob.com>
13384
fe658845
RM
13385 * elf/Makefile (others, install-bin): Remove pldd.
13386 (pldd-modules): Variable removed.
13387 ($(objpfx)pldd): Target removed.
13388 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13389 (others, install-bin): Append pldd here.
13390 ($(objpfx)pldd): New target.
13391
eb1ed03d
RM
13392 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13393 to 0, so the first #if test emitted later doesn't see it undefined.
13394 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13395 * sysdeps/gnu/errlist.c: Regenerated.
13396
19c4bec0
AZ
133972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13400 [libc_hidden_builtin_def]: Define to empty value.
13401 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13402 [libc_hidden_builtin_def]: Likewise.
13403 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13404 [libc_hidden_builtin_def]: Likewise.
13405 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13406 [libc_hidden_builtin_def]: Likewise.
13407 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13408 __redirect_memcpy and define ifunc as default hidden symbol.
13409 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13410 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13411
7776e669
AC
134122014-05-04 Adam Conrad <adconrad@0c3.net>
13413
13414 * locale/iso-4217.def: Reintroduce XDR currency.
13415
d69aeb12
AM
134162014-05-04 Allan McRae <allan@archlinux.org>
13417
13418 * po/eo.po: Update Esperanto translation from translation project.
13419
8f1df5cf
CD
134202014-05-02 Carlos O'Donell <carlos@redhat.com>
13421
13422 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13423 and FEATURE_INDEX_MAX to 1.
13424 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13425
13e402e7
SE
134262014-05-01 Steve Ellcey <sellcey@mips.com>
13427
13428 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13429 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13430 * iconvdata/big5.c (ONE_DIRECTION): Define.
13431 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13432 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13433 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13434 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13435 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13436 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13437 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13438 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13439 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13440 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13441 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13442 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13443 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13444 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13445 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13446 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13447 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13448 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13449 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13450 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13451 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13452 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13453 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13454 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13455 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13456 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13457 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13458 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13459 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13460 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13461 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13462 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13463 * iconvdata/johab.c (ONE_DIRECTION): Define.
13464 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13465 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13466 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13467 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13468 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13469 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13470 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13471 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13472 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13473 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13474
c727f032
RM
134752014-05-01 Roland McGrath <roland@hack.frob.com>
13476
8f2f08d0
RM
13477 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13478 (_IO_JUMPS_OFFSET): Define to 0.
13479
c727f032
RM
13480 * nptl/sysdeps/pthread/bits/libc-lock.h
13481 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13482 (__libc_lock_define_initialized_recursive): Always define using
13483 initializer. Modern compilers treat uninitialized (implicit zero) and
13484 explicit zero initializers the same (i.e. put the datum in bss).
13485
a849e800
AS
134862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13487
13488 * nscd/nscd-client.h: Include <string.h>.
13489
5331255b
DM
134902014-05-01 David S. Miller <davem@davemloft.net>
13491
13492 [BZ #16885]
13493 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13494 multiple zero bytes exist at the end of a string.
13495 Reported by Aurelien Jarno <aurelien@aurel32.net>
13496
13497 * string/test-strcmp.c (check): Add explicit test for situations where
13498 there are multiple zero bytes after the first.
13499
4fdfe821
AS
135002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 [BZ #16890]
13503 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13504 when compiling wprintf.
13505 * stdio-common/tstdiomisc.c (t3): New function.
13506 (main): Call it.
13507
0cdddc25
SE
135082014-05-01 Steve Ellcey <sellcey@mips.com>
13509
13510 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13511 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13512 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13513 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13514
6426d77e
SE
135152014-05-01 Steve Ellcey <sellcey@mips.com>
13516
13517 * stdlib/longlong.h: Updated from GCC.
13518
6d96f5e4
WN
135192014-05-01 Will Newton <will.newton@linaro.org>
13520 Bernard Ogden <bernie.ogden@linaro.org>
13521
7470db0c
WN
13522 * NEWS: Update fixed bug list.
13523
6d96f5e4
WN
13524 [BZ #15119]
13525 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13526
211d653c
DM
135272014-04-30 David S. Miller <davem@davemloft.net>
13528
4fa262fa
DM
13529 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13530 (libc_feholdexcept_setround_sparc_ctx): New function.
13531 (libc_fesetenv_sparc_ctx): Likewise.
13532 (libc_feupdateenv_sparc_ctx): Likewise.
13533 (libc_feholdsetround_sparc_ctx): Likewise.
13534 (libc_feholdexcept_setround_ctx): Define.
13535 (libc_feholdexcept_setroundf_ctx): Likewise.
13536 (libc_feholdexcept_setroundl_ctx): Likewise.
13537 (libc_fesetenv_ctx): Likewise.
13538 (libc_fesetenvf_ctx): Likewise.
13539 (libc_fesetenvl_ctx): Likewise.
13540 (libc_feupdateenv_ctx): Likewise.
13541 (libc_feupdateenvf_ctx): Likewise.
13542 (libc_feupdateenvl_ctx): Likewise.
13543 (libc_feresetround_ctx): Likewise.
13544 (libc_feresetroundf_ctx): Likewise.
13545 (libc_feresetroundl_ctx): Likewise.
13546 (libc_feholdsetround_ctx): Likewise.
13547 (libc_feholdsetroundf_ctx): Likewise.
13548 (libc_feholdsetroundl_ctx): Likewise.
13549
1d3d93ef
DM
13550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13551 with __USE_GNU instead of XOPEN cpp guards.
13552
8aa583c3
DM
13553 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13554 0.
13555
211d653c
DM
13556 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13557 with XOPEN cpp guards.
13558
60c8f1f6
JB
135592014-04-30 Julian Brown <julian@codesourcery.com>
13560
13561 [BZ #16888]
13562 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13563 handling.
13564
9a461d46
JM
135652014-04-30 Joseph Myers <joseph@codesourcery.com>
13566
d0f5b3f8
JM
13567 [BZ #9894]
13568 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13569 Change to 2.6.32.
13570 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13571 * sysdeps/unix/sysv/linux/configure: Regenerated.
13572 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13573 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13574 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13575 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13576 * README: Update reference to required Linux kernel version.
13577 * manual/install.texi (Linux): Update reference to required Linux
13578 kernel headers version.
13579 * INSTALL: Regenerated.
13580
9a461d46
JM
13581 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13582 header inclusion.
13583 [POSIX] (limits.h): Likewise.
13584 [POSIX] (math.h): Likewise.
13585 [POSIX] (sys/wait.h): Likewise.
13586 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13587 function.
13588 [POSIX] (stddef.h): Do not allow header inclusion.
13589
1775babf
AZ
135902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13591
57f41c40 13592 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13593
8f630cca
YY
135942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13595
13596 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13597 Return immediately after lll_futex_wake.
13598
1cdeb237
SP
135992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13600
bc8f194c
SP
13601 [BZ #16791]
13602 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13603 structure.
13604 (datahead_init_pos): Call datahead_init_common early.
13605 (datahead_init_neg): Likewise.
13606
1cdeb237
SP
13607 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13608 datahead_init_neg): New functions.
13609 * nscd/aicache.c (addhstaiX): Use them.
13610 * nscd/grpcache.c (cache_addgr): Likewise.
13611 * nscd/hstcache.c (cache_addhst): Likewise.
13612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13613 * nscd/netgroupcache.c (do_notfound): Likewise.
13614 (addgetnetgrentX): Likewise.
13615 (addinnetgrX): Likewise.
13616 * nscd/pwdcache.c (cache_addpw): Likewise.
13617 * nscd/servicescache.c (cache_addserv): Likewise.
13618
16b293a7
SP
136192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13620 Atsushi Onoe <atsushi@onoe.org>
13621
13622 [BZ #14308]
13623 [BZ #12994]
13624 [BZ #13651]
13625 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13626 one response is valid.
13627 * resolv/res_send.c (send_dg): Check for validity of other
13628 response if the current response is a referral.
13629
a28a9b94
SE
136302014-04-29 Steve Ellcey <sellcey@mips.com>
13631
13632 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13633
2ca180e9
SL
136342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13635
13636 [BZ #16823]
13637 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13638 Always divide by positive zero when computing -Inf result.
13639 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13640 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13641
18f2945a
AZ
136422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643
13644 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13645 FPSCR if value do not change.
13646 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13647 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13648 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13649 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13650 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13651 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13652 function.
13653
5abebba4
CD
136542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13655
13656 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13657 * sysdeps/unix/sysv/linux/hppa: Move directory from
13658 ports/systeps/unix/sysv/linux/hppa.
13659 * README: Update listing for hppa-*-linux-gnu.
13660
f7ed60c2
OB
136612014-04-28 Ondřej Bílka <neleai@seznam.cz>
13662
fff763a5
OB
13663 [BZ #16754]
13664 * manual/stdio.texi (Hook functions): Fix types of stream hook
13665 functions.
f7ed60c2
OB
13666 [BZ #16854]
13667 * socket/sys/socket.h: Fix typo in comment.
13668
df639d73
WD
136692014-04-28 Wilco <wdijkstr@arm.com>
13670
f7ed60c2 13671 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13672 * sysdeps/arm/math_private.h: New file.
13673 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13674
48332d82
L
136752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13676
13677 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13678 with __int128_t.
13679 (La_x86_64_retval): Likewise.
13680
e5e0d9a4
IB
136812014-04-24 Ian Bolton <ian.bolton@arm.com>
13682
13683 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13684 fpsr if value didn't change.
13685 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13686 to fpcr if value didn't change.
13687 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13688 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13689 fpsr or fpcr if value didn't change.
13690 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13691 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13692 fpcr if value didn't change.
13693 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13694 to fpsr if value didn't change.
13695
bacc75f7
SP
136962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13697
13698 * nptl/tst-sem3.c: Use test-skeleton.c
13699 (main): Rename to do_test. Use return instead of
13700 exit.
13701 * nptl/tst-sem4.c: Use test-skeleton.c
13702 (main): Rename to do_test.
13703
a059d359
DM
137042014-04-22 David S. Miller <davem@davemloft.net>
13705
13706 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13707 (struct sigaction): New struct member __glibc_reserved0, change
13708 type of sa_flags to int.
13709
ea6c92f3
YZ
137102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13711
13712 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13713 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13714
766c4a36
SP
137152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
13717 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13718 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13719
140cc7ab
VK
137202014-04-22 Will Newton <will.newton@linaro.org>
13721 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13722
13723 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13724 (__longjmp): Add longjmp and longjmp_target SystemTap
13725 probes.
13726 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13727 (__sigsetjmp): Add setjmp SystemTap probe.
13728
c54e5cf7
CD
137292014-04-17 Carlos O'Donell <carlos@redhat.com>
13730
13731 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13732 match manual order.
13733
75ffb047
AZ
137342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13735
13736 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13737
2cd925f7
AZ
13738 * sysdeps/powerpc/fpu/fenv_private.h
13739 (libc_feholdexcept_setroundl_ctx): Define to
13740 libc_feholdexcept_setround_ppc_ctx.
13741 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13742 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13743 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13744 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13745
39e6cd8d
IB
137462014-04-17 Ian Bolton <ian.bolton@arm.com>
13747
13748 * sysdeps/aarch64/math-tests.h: New file.
13749
f9281df9
SY
137502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13751
13752 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13753 New.
13754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13755 Check and set bit_AVX2_Usable.
13756 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13757 macro.
13758 (bit_AVX2): Likewise.
13759 (index_AVX2_Usable): Likewise.
13760 (CPUID_AVX2): Likewise.
13761 (HAS_AVX2): Likewise.
13762
37d35007
WN
137632014-04-17 Will Newton <will.newton@linaro.org>
13764
7c677662
WN
13765 * manual/setjmp.texi (System V contexts): Add note that
13766 calling setcontext on a context created by a call to a
13767 signal handler is undefined. Update text to note that
13768 setcontext from a signal handler is possible but not
13769 recommended.
13770
37d35007 13771 [BZ #16629]
e04a4e9d
WN
13772 * stdlib/tst-setcontext.c: Include signal.h.
13773 (main): Check that the signal stack before and
13774 after swapcontext is the same.
13775
37d35007
WN
13776 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13777 Re-implement to restore registers in user code and avoid
13778 rt_sigreturn system call.
13779
423a7160
W
137802014-04-17 Wilco <wdijkstr@arm.com>
13781
13782 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13783 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13784 * math/test-fenv.c: Skip exception trap tests on targets which only
13785 support non-stop mode.
13786
bc93ab29
IB
137872014-04-17 Ian Bolton <ian.bolton@arm.com>
13788 Wilco Dijkstra <wilco.dijkstra@arm.com>
13789
13790 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13791 (libc_feholdsetround_aarch64_ctx)
13792 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13793 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13794 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13795 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13796 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13797 (libc_feresetround_noexl_ctx): Define.
13798
95fc5fa3
RH
137992014-04-16 Richard Henderson <rth@redhat.com>
13800
ddb04724
RH
13801 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13802
d77c0899
RH
13803 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13804 unwind tables.
13805
a3df56fc
RH
13806 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13807 const from the non-libc, non-ldso copy.
13808
95fc5fa3
RH
13809 * sysdeps/alpha/libm-test-ulps: Regenerate.
13810
7e0b6763
IB
138112014-04-16 Ian Bolton <ian.bolton@arm.com>
13812 Wilco Dijkstra <wilco.dijkstra@arm.com>
13813
13814 * sysdeps/aarch64/fpu/math_private.h: New file.
13815
a9ea2e0c
MS
138162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13817
13818 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13819
ea8ba7cd
IZ
138202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13821
7e54fd04 13822 [BZ #16275]
ea8ba7cd
IZ
13823 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13824 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13826 Intel MPX bound registers before _dl_profile_fixup.
13827 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13828 registers after _dl_profile_fixup. Save and restore bound
13829 registers bnd0/bnd1 when calling _dl_call_pltexit.
13830 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13831 (LR_BND_OFFSET): Likewise.
13832 (LRV_BND0_OFFSET): Likewise.
13833 (LRV_BND1_OFFSET): Likewise.
13834
9f2a4fbc
ST
138352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13836
13837 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13838 to...
13839 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13840 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13841 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13842 fields.
9f2a4fbc 13843
fd15a59b
ST
138442014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13845
13846 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13847
f19dfa0a
SL
138482014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13849
13850 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13851
4fa8bc3b
SL
138522014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13853
13854 [BZ #14770]
13855 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13856 * sysdeps/s390/configure: Regenerate.
13857
8ea587db
SL
13858 [BZ #16824]
13859 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13860 Set round-to-nearest internally to reduce error accumulation.
13861
aa5f0ff1
AM
138622014-04-16 Alan Modra <amodra@gmail.com>
13863
13864 [BZ #16740]
13865 [BZ #16619]
13866 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13867 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13868 * NEWS: Update fixed bug list.
aa5f0ff1 13869
bb9c256f
SP
138702014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13871
13872 * benchtests/Makefile: Depend on libraries in build directory.
13873 (bench-math): Separate out math tests.
13874 (bench-pthread): Separate out pthread tests.
13875 (bench): Include math and pthread tests.
13876
f737dfd0
CD
138772014-04-14 Carlos O'Donell <carlos@redhat.com>
13878
13879 [BZ #16831]
13880 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13881 _dl_debug_initialize.
13882
0699f766
CD
13883 * configure.ac: Remove SELinux header check.
13884 * configure: Regenerate.
13885 * nscd/selinux.c (perms): Array of const char* to permission names.
13886 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13887 default policy. Call string_to_security_class and string_to_av_perm to
13888 translate strings. Enforce default policy and call avs_has_perm with
13889 results of translated strings.
13890
809bd45f
DM
138912014-04-13 David S. Miller <davem@davemloft.net>
13892
13893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13894
89e691f2
AM
138952014-04-12 Allan McRae <allan@archlinux.org>
13896
13897 [BZ #16838]
13898 * manual/string.texi (Collation Functions): Fix qsort argument
13899 order in example.
13900 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13901
9c9daaeb
CM
139022014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13903
13904 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13905 Make the test a no-op if there are no exceptions defined.
13906
95561fb9
PP
139072014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13908
fe8d072c 13909 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13910 enable-hardcoded-path-in-tests
13911
970c602a
WN
139122014-04-11 Will Newton <will.newton@linaro.org>
13913
13914 * benchtests/Makefile (extra-objs): Add json-lib.o.
13915 (bench-func): Tidy up JSON output.
13916 * benchtests/bench-skeleton.c: Include json-lib.h.
13917 (main): Use JSON library functions to do output of
13918 benchmark results.
13919 * benchtests/bench-timing-type.c (main): Output the
13920 timing type simply, leaving formatting to the user.
13921 * benchtests/json-lib.c: New file.
13922 * benchtests/json-lib.h: Likewise.
13923
36875b06
TR
139242014-04-11 Torvald Riegel <triegel@redhat.com>
13925
13926 [BZ #15215]
13927 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13928 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13929 memory barriers. Add comments.
13930 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13931 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13932 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13933 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13934 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13935 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13936
579db35a
SL
139372014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13938
13939 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13940 * sysdeps/s390/s390-64/configure.ac: ... this ...
13941 * sysdeps/s390/configure.ac: ... to here.
13942 * sysdeps/s390/s390-32/configure: Delete file.
13943 * sysdeps/s390/s390-64/configure: Delete file.
13944 * sysdeps/s390/configure: Regenerate.
13945
c12e9f37
JAPH
139462014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13947
13948 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13949
439bda32
WN
139502014-04-11 Will Newton <will.newton@linaro.org>
13951
13952 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13953 to zero if it is not defined elsewhere. (mtrim): Test
13954 the value of MALLOC_DEBUG with #if rather than #ifdef.
13955
6a5d6ea1
TR
139562014-04-10 Torvald Riegel <triegel@redhat.com>
13957
13958 * benchtests/pthread_once-inputs: New file.
13959 * benchtests/pthread_once-source.c: New file.
13960 * benchtests/README: Update documentation.
13961
a4c75cfd
IZ
139622014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13963 H.J. Lu <hongjiu.lu@intel.com>
13964
7e54fd04 13965 [BZ #16275]
a4c75cfd
IZ
13966 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13967 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13968 * sysdeps/x86_64/configure: Regenerated.
13969 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13970 macro.
13971 (REGISTER_SAVE_RAX): Likewise.
13972 (REGISTER_SAVE_RCX): Likewise.
13973 (REGISTER_SAVE_RDX): Likewise.
13974 (REGISTER_SAVE_RSI): Likewise.
13975 (REGISTER_SAVE_RDI): Likewise.
13976 (REGISTER_SAVE_R8): Likewise.
13977 (REGISTER_SAVE_R9): Likewise.
13978 (REGISTER_SAVE_BND0): Likewise.
13979 (REGISTER_SAVE_BND1): Likewise.
13980 (REGISTER_SAVE_BND2): Likewise.
13981 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13982 bound registers when calling _dl_fixup.
13983
27822ce6
AZ
139842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13985
13986 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13987 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13988 of its definition.
27822ce6
AZ
13989 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13990 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13991 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13992 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13993 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13994 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13995 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13996
a88ddc90
PTB
139972014-04-09 Peter Brett <peter@peter-b.co.uk>
13998
13999 [BZ #15514]
14000 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14001 pathconf(_PC_NAME_MAX).
14002
01f8eac2
AZ
140032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004
14005 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14006 Remove macro usage.
14007 (__PTHREAD_SPINS): Move definition to ...
14008 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14009 (__PTHREAD_SPINS): ... here.
14010 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14011 (__PTHREAD_SPIN): Likewise.
14012 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14013 (__PTHREAD_SPIN): Likewise.
14014 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14015 (__PTHREAD_SPIN): Likewise.
14016 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14017 (__PTHREAD_SPIN): Likewise.
14018 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14019 (__PTHREAD_SPIN): Likewise.
14020 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14021 (__PTHREAD_SPIN): Likewise.
14022 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14023 (__PTHREAD_SPIN): Likewise.
14024 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14025 (__PTHREAD_SPIN): Likewise.
14026 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14027 (__PTHREAD_SPIN): Likewise.
14028 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14029 (__PTHREAD_SPIN): Likewise.
14030 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14031 (__PTHREAD_SPIN): Likewise.
14032 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14033 (__PTHREAD_SPIN): Likewise.
14034
de21c33c
AZ
14035 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14036 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14037 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14038 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14039 imply folder.
14040 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14041 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14042 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14043 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14044 correct imply path.
14045 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14046 strlen symbol for non multi-arch builds.
14047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14048 missing hidden_def and weak_alias.
14049
862c472e
CD
140502014-04-08 Carlos O'Donell <carlos@redhat.com>
14051
14052 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14053
8667f90e
WN
140542014-04-07 Will Newton <will.newton@linaro.org>
14055
14056 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14057 and contents. [!_LIBC] Remove #ifndef and contents.
14058 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14059 * string/memccpy.c (__memccpy): Use ANSI prototype.
14060 * string/memfrob.c (memfrob): Likewise.
14061 * string/strcoll.c (STRCOLL): Likewise.
14062 * string/strlen.c (strlen): Likewise.
14063 * string/strtok.c (STRTOK): Likewise.
14064 * string/strcat.c: Remove unused #include of memcopy.h.
14065 (strcat): Use ANSI prototype.
14066 * string/strchr.c: Remove unused #include of memcopy.h.
14067 (strchr): Use ANSI prototype.
14068 * string/strcmp.c: Remove unused #include of memcopy.h.
14069 (strcmp): Use ANSI prototype.
14070 * string/strcpy.c: Remove unused #include of memcopy.h.
14071 (strcpy): Use ANSI prototype.
14072
7ffa9423
AZ
140732014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14074
14075 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14076 * config.make.in (config-extra-cppflags): Set it from
14077 libc_extra_cppflags.
14078 * configure.ac (libc_extra_cflags): Make it accumulate over
14079 configure fragments.
14080 (libc_extra_cppflags): New flag.
14081 * configure. Regenerate.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14083 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14084 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14086
8bd70862
AZ
14087 [BZ #16815]
14088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14089 result for FE_DOWNWARD rounding mode.
14090 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14091 Likewise.
14092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14093
d42f3448
CM
140942014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14095
14096 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14097 in function argument name.
14098
1c21d115
DS
140992014-04-03 David Svoboda <svoboda@cert.org>
14100
14101 [BZ #5666]
14102 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14103 explicitly.
14104
fcccd512
RM
141052014-04-03 Roland McGrath <roland@hack.frob.com>
14106
14107 * elf/dl-unmap-segments.h: New file.
14108 * sysdeps/generic/ldsodefs.h
14109 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14110 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14111 * elf/dl-fptr.c: Likewise.
14112 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14113 * sysdeps/aarch64/tlsdesc.c: Likewise.
14114 * sysdeps/arm/tlsdesc.c: Likewise.
14115 * sysdeps/i386/tlsdesc.c: Likewise.
14116 * sysdeps/tile/dl-runtime.c: Likewise.
14117 * sysdeps/x86_64/tlsdesc.c: Likewise.
14118 * elf/dl-load.h: New file.
14119 * elf/dl-load.c: Include it.
14120 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14121 Macros moved to dl-load.h.
14122 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14123 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14124 Use _dl_unmap_segments in place of __munmap.
14125 Break out segment-mapping loop into ...
14126 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14127
f6488e2b
WN
141282014-04-03 Will Newton <will.newton@linaro.org>
14129
14130 * elf/dl-lookup.c (do_lookup_x): Remove comment
14131 referring to nested function and move variable
14132 declarations down to before first use.
14133
6f05bafe
JM
141342014-04-02 Joseph Myers <joseph@codesourcery.com>
14135
a84e78c8
JM
14136 [BZ #16799]
14137 [BZ #16800]
14138 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14139 with 0 numerator.
14140 * math/s_catanf.c (__catanf): Likewise.
14141 * math/s_catanh.c (__catanh): Likewise.
14142 * math/s_catanhf.c (__catanhf): Likewise.
14143 * math/s_catanhl.c (__catanhl): Likewise.
14144 * math/s_catanl.c (__catanl): Likewise.
14145 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14146 by positive zero when computing -Inf result.
14147 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14148 (catanh_test): Likewise.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14151
6f05bafe
JM
14152 [BZ #16789]
14153 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14154 instead of using underflowing value in computing result.
14155 * math/s_clog10.c (__clog10): Likewise.
14156 * math/s_clog10f.c (__clog10f): Likewise.
14157 * math/s_clog10l.c (__clog10l): Likewise.
14158 * math/s_clogf.c (__clogf): Likewise.
14159 * math/s_clogl.c (__clogl): Likewise.
14160 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14161 (clog10_test): Likewise.
14162 * sysdeps/i386/fpu/libm-test-ulps: Update.
14163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14164
b0abbc21
AM
141652014-04-02 Alan Modra <amodra@gmail.com>
14166
14167 [BZ #16739]
14168 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14169 output when value is near a power of two. Use int64_t for lx and
14170 remove casts. Use decimal rather than hex exponent constants.
14171 Don't use long double multiplication when double will suffice.
14172 * math/libm-test.inc (nextafter_test_data): Add tests.
14173 * NEWS: Add 16739 and 16786 to bug list.
14174
af6b1797
AM
14175 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14176
483818d7
AM
14177 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14178
f6c55796
WN
141792014-04-01 Will Newton <will.newton@linaro.org>
14180
14181 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14182 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14183
13f7fe35
FW
141842014-04-01 Florian Weimer <fweimer@redhat.com>
14185
14186 [BZ #13347]
14187 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14188 * nptl/tst-setuid2.c: New file.
14189 * nptl/Makefile (xtests): Add tst-setuid2.
14190
c859b32e
AM
141912014-04-01 Alan Modra <amodra@gmail.com>
14192
14193 [BZ #16786]
14194 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14195
54fa2475
JM
141962014-03-31 Joseph Myers <joseph@codesourcery.com>
14197
8795b4a4
JM
14198 [BZ #6803]
14199 [BZ #6804]
14200 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14201 set errno as appropriate.
14202 * math/w_scalbf.c (__scalbf): Likewise.
14203 * math/w_scalbl.c (__scalbl): Likewise.
14204 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14205 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14206 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14207 Add more NaN tests.
14208
54fa2475
JM
14209 [BZ #16349]
14210 * math/w_atan2.c: Include <errno.h>.
14211 (__atan2): Set errno for result underflowing to zero.
14212 * math/w_atan2f.c: Include <errno.h>.
14213 (__atan2f): Set errno for result underflowing to zero.
14214 * math/w_atan2l.c: Include <errno.h>.
14215 (__atan2l): Set errno for result underflowing to zero.
14216 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14217 tests.
14218 * math/auto-libm-test-out: Regenerated.
14219
757d9dd5
AZ
142202014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14221
14222 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14223 Encode instruction correctly in little endian.
14224 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14225 Likewise.
14226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14227 Likewise.
14228 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14229 Likewise.
14230 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14231 Likewise.
14232
d7a68734
JM
142332014-03-31 Joseph Myers <joseph@codesourcery.com>
14234
47c5adeb
JM
14235 [BZ #9894]
14236 * sysdeps/unix/sysv/linux/kernel-features.h
14237 [__sparc__ && !__arch64__ && !__sparc_v9__]
14238 (__ASSUME_SET_ROBUST_LIST): Do not define.
14239 [__sparc__ && !__arch64__ && !__sparc_v9__]
14240 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14241 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14242 Likewise.
14243 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14244 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14245 (__ASSUME_REQUEUE_PI): Likewise.
14246 (__ASSUME_SET_ROBUST_LIST): Likewise.
14247 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14248 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14249 Undefine.
14250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14252 Likewise.
14253 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14254 Likewise.
14255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14256 Likewise.
14257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14258 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14259 Undefine.
14260 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14261 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14262 Likewise.
14263
d7a68734
JM
14264 [BZ #16648]
14265 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14266 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14267 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14268
c760f5c2
WN
142692014-03-31 Will Newton <will.newton@linaro.org>
14270
14271 * benchtests/Makefile (bench): Add ffs and ffsll to list
14272 of tests.
14273 * benchtests/ffs-inputs: New file.
14274 * benchtests/ffsll-inputs: Likewise.
14275
ea6029b1
JM
142762014-03-29 Joseph Myers <joseph@codesourcery.com>
14277
14278 [BZ #16770]
14279 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14280 too large before casting to int.
14281 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14282 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14283 * math/libm-test.inc (scalb_test_data): Add more tests.
14284
cf806aff
SP
142852014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14286
56737508
SP
14287 * benchtests/Makefile (DETAILED_OPT): New make option.
14288 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14289 set.
14290 * benchtests/bench-skeleton.c: Include stdbool.h.
14291 (main): Store and print timings per input.
14292 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14293 member to each argument value.
14294 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14295 (_print_arg_data): Initialize per-input timing to 0.
14296
cb5e4aad
SP
14297 * benchtests/Makefile (timing-type): New binary.
14298 (bench-clean): Also remove bench-timing-type.
14299 (bench): New target for timing-type.
14300 (bench-func): Print output in JSON format.
14301 * benchtests/bench-skeleton.c (main): Print output in JSON
14302 format.
14303 * benchtests/bench-timing-type.c: New file.
14304 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14305 (TIMING_PRINT_STATS): Remove.
14306 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14307 name separately.
14308
cf806aff
SP
14309 * benchtests/bench-modf.c: Remove.
14310 * benchtests/modf-inputs: New inputs file.
14311
289e0779
JM
143122014-03-28 Joseph Myers <joseph@codesourcery.com>
14313
14314 [BZ #16362]
14315 * math/s_clog10.c (M_PI_LOG10E): New macro.
14316 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14317 imaginary parts are 0.
14318 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14319 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14320 imaginary parts are 0.
14321 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14322 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14323 imaginary parts are 0.
14324 * math/libm-test.inc (clog10_test_data): Update expected results
14325 for when real and imaginary parts are 0.
14326
277ae3f1
PP
143272014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14328
14329 * elf/dl-load.c: Finish conversion of __builtin_expect into
14330 __glibc_{un}likely.
14331
03a7091f
JM
143322014-03-27 Joseph Myers <joseph@codesourcery.com>
14333
14334 [BZ #16348]
14335 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14336 1+x for argument with exponent below -67.
14337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14338 Likewise.
14339 * math/auto-libm-test-in: Add more tests of exp.
14340 * math/auto-libm-test-out: Regenerated.
14341
ea7d8b95
SP
143422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
dd3022d7
SP
14344 [BZ #16759]
14345 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14346 (nscd_getnetgrent): Use it.
14347
ea7d8b95
SP
14348 [BZ #16760]
14349 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14350 of stpcpy.
14351
df5b85da
AK
143522014-03-27 Andi Kleen <ak@linux.intel.com>
14353
57f41c40
AS
14354 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14355 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14356 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14357 (lll_robust_unlock): Remove out of line section. Use cfi
14358 intrinsics.
df5b85da 14359 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14360 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14361 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14362 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14363 (lll_robust_unlock): Remove out of line section. Use cfi
14364 intrinsics.
df5b85da
AK
14365 (LLL_STUB_UNWIND_INFO*): Remove.
14366
fbd6b5a4
SP
143672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14368
14369 [BZ #16758]
14370 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14371 blank values.
14372
1b26b855
PP
143732014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14374
14375 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14376
9be36fb8
JM
143772014-03-26 Joseph Myers <joseph@codesourcery.com>
14378
14379 [BZ #16198]
14380 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14381 fnstenv.
14382 * math/test-fenv-preserve.c: New file.
14383 * math/Makefile (tests): Add test-fenv-preserve.
14384
60a2f3c1
WN
143852014-03-26 Will Newton <will.newton@linaro.org>
14386
14387 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14388
a5e5f1e2
RM
143892014-03-25 Roland McGrath <roland@hack.frob.com>
14390
14391 * scripts/versionlist.awk: Partition the version sets and emit all
14392 GLIBC_* (sorted) before all others (sorted).
14393
00f4012a
JM
143942014-03-25 Joseph Myers <joseph@codesourcery.com>
14395
14396 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14397 GLIBC_2.2.5 version.
14398
7bc5a741
AZ
143992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14400
14401 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14402 calls.
14403
7578473b
AZ
14404 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14405 previous change.
14406
f3f1dab3
AZ
14407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14408
6da36183
AS
144092014-03-25 Andreas Schwab <schwab@suse.de>
14410
14411 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14412 label to be used after in6ailist is initialized.
14413
f3f1dab3 144142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14415
7578473b 14416 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14417 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14418
046651c1
JM
144192014-03-25 Joseph Myers <joseph@codesourcery.com>
14420
14421 [BZ #16357]
14422 [BZ #16599]
14423 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14424 min_plus_half.
14425 (fp_formats): Update initializers.
14426 (init_fp_formats): Initialize new field.
14427 (output_for_one_input_case): Allow underflow for results up to
14428 min_plus_half.
14429 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14430 * math/auto-libm-test-in: Don't mark some underflows from asin and
14431 atanh as spurious.
14432 * math/auto-libm-test-out: Regenerated.
14433 * sysdeps/i386/fpu/libm-test-ulps: Update.
14434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14435
003e49ed
AS
144362014-03-25 Andreas Schwab <schwab@suse.de>
14437
14438 * libio/Makefile (tst-ftell-partial-wide-ENV)
14439 (tst-ftell-active-handler-ENV): Define.
14440
de031874
SL
144412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14442
14443 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14444
55a81e3b
PP
144452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14446
14447 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14448
f3426898
JM
144492014-03-24 Joseph Myers <joseph@codesourcery.com>
14450
14451 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14452 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14453 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14454
a42faf59
PP
144552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14456
14457 [BZ #16634]
a42faf59 14458 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14459 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14460 (open_path): Change from boolean 'secure' to complete flag 'mode'
14461 (_dl_map_object): Adjust.
a42faf59
PP
14462 * elf/Makefile (tests): Add tst-dlopen-aout.
14463 * elf/tst-dlopen-aout.c: New test.
14464
50936127
SL
144652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14466
14467 [BZ #16714]
14468 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14469 (struct stat): Rename member pad0 to __glibc_reserved0.
14470
26011b5c
SL
14471 [BZ #16712]
14472 * sysdeps/s390/s390-32/bits/wordsize.h
14473 (__WORDSIZE32_SIZE_ULONG): New define.
14474 * sysdeps/s390/s390-64/bits/wordsize.h
14475 (__WORDSIZE32_SIZE_ULONG): Likewise.
14476 * sysdeps/generic/stdint.h (SIZE_MAX):
14477 Define as UL if __WORDSIZE32_SIZE_ULONG.
14478
a2d86bf1
SL
14479 [BZ #16713]
14480 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14481 (__glibc_reserved0): New variable.
14482 (sa_flags): Change type to int.
14483
78b6eebc
SL
14484 * posix/Makefile (before-compile): Use += before-compile instead
14485 of a :=.
14486
f1399b5a
SL
14487 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14488 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14489
a071766e
AS
144902014-03-20 Andreas Schwab <schwab@suse.de>
14491
14492 [BZ #16743]
14493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14494 non-matching result from nscd.
14495
27c673b8
SP
144962014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14497
14498 * scripts/bench.py: Moved to ...
14499 * benchtests/scripts/bench.py: ... here.
14500 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14501
44152e4b
AS
145022014-03-24 Andreas Schwab <schwab@suse.de>
14503
14504 [BZ #16002]
14505 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14506 alloca_account and account alloca use for struct in6ailist.
14507
b376a11a
JM
145082014-03-24 Joseph Myers <joseph@codesourcery.com>
14509
14510 [BZ #16284]
14511 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14512 rounding mode to recompute results that overflow to infinity or
14513 underflow to zero.
14514 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14515 bug 16284.
14516 * math/auto-libm-test-out: Regenerated.
14517 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14518 (ccosh_test): Likewise.
14519 (csin_test_data): Use plus_oflow.
14520 (csin_test): Use ALL_RM_TEST.
14521 (csinh_test_data): Use plus_oflow.
14522 (csinh_test): Use ALL_RM_TEST.
14523 * sysdeps/i386/fpu/libm-test-ulps: Update.
14524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14525
f7be7376
JM
145262014-03-21 Joseph Myers <joseph@codesourcery.com>
14527
1ca2d03e
JM
14528 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14529 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14530 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14531
f7be7376
JM
14532 [BZ #16731]
14533 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14534 when x - 1 is zero.
14535 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14536 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14537 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14539 argument is 1.
14540 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14541 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14542 zero.
14543 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14544 * sysdeps/i386/fpu/libm-test-ulps: Update.
14545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14546
fdf4534d
SP
145472014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14548
df26ea53
SP
14549 * scripts/bench.pl: Remove file.
14550 * scripts/bench.py: New benchmark script.
14551 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14552 * benchtests/README: Mention python dependency.
14553 * scripts/pylintrc: New file.
14554 * scripts/pylint: New file.
14555
fdf4534d
SP
14556 * bits/mathdef.h: Use #ifdef instead of #if.
14557 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14558 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14559 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14560 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14561 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14562 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14563
6f23d093
AZ
145642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14565 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14566
14567 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14569 and strpbrk-ppc64 objects.
14570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14571 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14572 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14573 multiarch strpbrk for POWER7.
14574 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14575 multiarch strpbrk for PPC64.
14576 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14577 ifunc selector.
14578 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14579 strpbrk for POWER7.
14580
8c92dfff
JM
145812014-03-20 Joseph Myers <joseph@codesourcery.com>
14582
14583 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14584 (atan_test): Likewise.
14585 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14586 (atanh_test): Use ALL_RM_TEST.
14587 (atan2_test_data): Likewise.
14588 (cabs_test): Likewise.
14589 (cacosh_test): Likewise.
14590 (carg_test): Likewise.
14591 (casin_test): Likewise.
14592 (casinh_test): Likewise.
14593 (cbrt_test): Likewise.
14594 (csqrt_test): Likewise.
14595 (erf_test): Likewise.
14596 (erfc_test): Likewise.
14597 (pow10_test): Likewise.
14598 (exp2_test): Likewise.
14599 (hypot_test): Likewise.
14600 (j0_test): Likewise.
14601 (j1_test): Likewise.
14602 (lgamma_test): Likewise.
14603 (gamma_test): Likewise.
14604 (sincos_test): Likewise.
14605 (tanh_test): Likewise.
14606 (y0_test): Likewise.
14607 (y1_test): Likewise.
14608 * sysdeps/i386/fpu/libm-test-ulps: Update.
14609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14610
6eaf95cb
AZ
146112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14612
a387428c
SP
14613 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14615 and strcspn-ppc64 objects.
14616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14617 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14618 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14619 multiarch strcspn for POWER7.
14620 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14621 multiarch strcspn for PPC64.
14622 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14623 ifunc selector.
14624 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14625 strcspn for POWER7.
14626
ae3a5dff
JM
146272014-03-20 Joseph Myers <joseph@codesourcery.com>
14628
14629 * math/gen-libm-test.pl (generate_testfile): Expect only function
14630 name as argument to AUTO_TESTS_* and pass results for all rounding
14631 modes to parse_args.
14632 (parse_auto_input): Separate inputs of automatic tests from
14633 outputs before storing in %auto_tests.
14634 * math/libm-test.inc (acos_test_data): Update call to
14635 AUTO_TESTS_f_f.
14636 (acos_test): Use ALL_RM_TEST.
14637 (acos_tonearest_test_data): Remove.
14638 (acos_test_tonearest): Likewise.
14639 (acos_towardzero_test_data): Likewise.
14640 (acos_test_towardzero): Likewise.
14641 (acos_downward_test_data): Likewise.
14642 (acos_test_downward): Likewise.
14643 (acos_upward_test_data): Likewise.
14644 (acos_test_upward): Likewise.
14645 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14646 (asin_test_data): Likewise.
14647 (asin_test): Use ALL_RM_TEST.
14648 (asin_tonearest_test_data): Remove.
14649 (asin_test_tonearest): Likewise.
14650 (asin_towardzero_test_data): Likewise.
14651 (asin_test_towardzero): Likewise.
14652 (asin_downward_test_data): Likewise.
14653 (asin_test_downward): Likewise.
14654 (asin_upward_test_data): Likewise.
14655 (asin_test_upward): Likewise.
14656 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14657 (atan_test_data): Likewise.
14658 (atanh_test_data): Likewise.
14659 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14660 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14661 (carg_test_data): Likewise.
14662 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14663 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14664 (ccosh_test_data): Likewise.
14665 (cexp_test_data): Likewise.
14666 (clog_test_data): Likewise.
14667 (clog10_test_data): Likewise.
14668 (cos_test_data): Update call to AUTO_TESTS_f_f.
14669 (cos_test): Use ALL_RM_TEST.
14670 (cos_tonearest_test_data): Remove.
14671 (cos_test_tonearest): Likewise.
14672 (cos_towardzero_test_data): Likewise.
14673 (cos_test_towardzero): Likewise.
14674 (cos_downward_test_data): Likewise.
14675 (cos_test_downward): Likewise.
14676 (cos_upward_test_data): Likewise.
14677 (cos_test_upward): Likewise.
14678 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14679 (cosh_test): Use ALL_RM_TEST.
14680 (cosh_tonearest_test_data): Remove.
14681 (cosh_test_tonearest): Likewise.
14682 (cosh_towardzero_test_data): Likewise.
14683 (cosh_test_towardzero): Likewise.
14684 (cosh_downward_test_data): Likewise.
14685 (cosh_test_downward): Likewise.
14686 (cosh_upward_test_data): Likewise.
14687 (cosh_test_upward): Likewise.
14688 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14689 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14690 (ctan_test_data): Likewise.
14691 (ctan_test): Use ALL_RM_TEST.
14692 (ctan_tonearest_test_data): Remove.
14693 (ctan_test_tonearest): Likewise.
14694 (ctan_towardzero_test_data): Likewise.
14695 (ctan_test_towardzero): Likewise.
14696 (ctan_downward_test_data): Likewise.
14697 (ctan_test_downward): Likewise.
14698 (ctan_upward_test_data): Likewise.
14699 (ctan_test_upward): Likewise.
14700 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14701 (ctanh_test): Use ALL_RM_TEST.
14702 (ctanh_tonearest_test_data): Remove.
14703 (ctanh_test_tonearest): Likewise.
14704 (ctanh_towardzero_test_data): Likewise.
14705 (ctanh_test_towardzero): Likewise.
14706 (ctanh_downward_test_data): Likewise.
14707 (ctanh_test_downward): Likewise.
14708 (ctanh_upward_test_data): Likewise.
14709 (ctanh_test_upward): Likewise.
14710 (erf_test_data): Update call to AUTO_TESTS_f_f.
14711 (erfc_test_data): Likewise.
14712 (exp_test_data): Likewise.
14713 (exp_test): Use ALL_RM_TEST.
14714 (exp_tonearest_test_data): Remove.
14715 (exp_test_tonearest): Likewise.
14716 (exp_towardzero_test_data): Likewise.
14717 (exp_test_towardzero): Likewise.
14718 (exp_downward_test_data): Likewise.
14719 (exp_test_downward): Likewise.
14720 (exp_upward_test_data): Likewise.
14721 (exp_test_upward): Likewise.
14722 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14723 (exp10_test): Use ALL_RM_TEST.
14724 (exp10_tonearest_test_data): Remove.
14725 (exp10_test_tonearest): Likewise.
14726 (exp10_towardzero_test_data): Likewise.
14727 (exp10_test_towardzero): Likewise.
14728 (exp10_downward_test_data): Likewise.
14729 (exp10_test_downward): Likewise.
14730 (exp10_upward_test_data): Likewise.
14731 (exp10_test_upward): Likewise.
14732 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14733 (expm1_test_data): Likewise.
14734 (expm1_test): Use ALL_RM_TEST.
14735 (expm1_tonearest_test_data): Remove.
14736 (expm1_test_tonearest): Likewise.
14737 (expm1_towardzero_test_data): Likewise.
14738 (expm1_test_towardzero): Likewise.
14739 (expm1_downward_test_data): Likewise.
14740 (expm1_test_downward): Likewise.
14741 (expm1_upward_test_data): Likewise.
14742 (expm1_test_upward): Likewise.
14743 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14744 (fma_test): Use ALL_RM_TEST.
14745 (fma_towardzero_test_data): Remove.
14746 (fma_test_towardzero): Likewise.
14747 (fma_downward_test_data): Likewise.
14748 (fma_test_downward): Likewise.
14749 (fma_upward_test_data): Likewise.
14750 (fma_test_upward): Likewise.
14751 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14752 (j0_test_data): Update call to AUTO_TESTS_f_f.
14753 (j1_test_data): Likewise.
14754 (jn_test_data): Update call to AUTO_TESTS_if_f.
14755 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14756 (log_test_data): Update call to AUTO_TESTS_f_f.
14757 (log10_test_data): Likewise.
14758 (log1p_test_data): Likewise.
14759 (log2_test_data): Likewise.
14760 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14761 (pow_tonearest_test_data): Likewise.
14762 (sin_test_data): Update call to AUTO_TESTS_f_f.
14763 (sin_test): Use ALL_RM_TEST.
14764 (sin_tonearest_test_data): Remove.
14765 (sin_test_tonearest): Likewise.
14766 (sin_towardzero_test_data): Likewise.
14767 (sin_test_towardzero): Likewise.
14768 (sin_downward_test_data): Likewise.
14769 (sin_test_downward): Likewise.
14770 (sin_upward_test_data): Likewise.
14771 (sin_test_upward): Likewise.
14772 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14773 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14774 (sinh_test): Use ALL_RM_TEST.
14775 (sinh_tonearest_test_data): Remove.
14776 (sinh_test_tonearest): Likewise.
14777 (sinh_towardzero_test_data): Likewise.
14778 (sinh_test_towardzero): Likewise.
14779 (sinh_downward_test_data): Likewise.
14780 (sinh_test_downward): Likewise.
14781 (sinh_upward_test_data): Likewise.
14782 (sinh_test_upward): Likewise.
14783 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14784 (sqrt_test): Use ALL_RM_TEST.
14785 (sqrt_tonearest_test_data): Remove.
14786 (sqrt_test_tonearest): Likewise.
14787 (sqrt_towardzero_test_data): Likewise.
14788 (sqrt_test_towardzero): Likewise.
14789 (sqrt_downward_test_data): Likewise.
14790 (sqrt_test_downward): Likewise.
14791 (sqrt_upward_test_data): Likewise.
14792 (sqrt_test_upward): Likewise.
14793 (tan_test_data): Update call to AUTO_TESTS_f_f.
14794 (tan_test): Use ALL_RM_TEST.
14795 (tan_tonearest_test_data): Remove.
14796 (tan_test_tonearest): Likewise.
14797 (tan_towardzero_test_data): Likewise.
14798 (tan_test_towardzero): Likewise.
14799 (tan_downward_test_data): Likewise.
14800 (tan_test_downward): Likewise.
14801 (tan_upward_test_data): Likewise.
14802 (tan_test_upward): Likewise.
14803 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14804 (tgamma_test_data): Likewise.
14805 (y0_test_data): Likewise.
14806 (y1_test_data): Likewise.
14807 (yn_test_data): Update call to AUTO_TESTS_if_f.
14808 (main): Do not call removed functions.
14809
d71aeee8
JM
148102014-03-19 Joseph Myers <joseph@codesourcery.com>
14811
14812 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14813 (ldexp_test_data): Remove.
14814 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14815 scalbn_test_data.
14816 (scalb_test): Use ALL_RM_TEST.
14817
baaf1ded
AS
148182014-03-19 Andreas Schwab <schwab@suse.de>
14819
14820 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14821
b1115e91
JM
148222014-03-19 Joseph Myers <joseph@codesourcery.com>
14823
14824 [BZ #16649]
14825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14826 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14827 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14828 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14829 (__ASSUME_PREADV): Undefine.
14830 (__ASSUME_PWRITEV): Likewise.
14831
0283ecca
RM
148322014-03-18 Roland McGrath <roland@hack.frob.com>
14833
7d375303
RM
14834 * bits/mman-linux.h: Add comment about non-Linux use.
14835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14836 bits/mman-linux.h resting place.
14837
0283ecca
RM
14838 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14839 * bits/mman-linux.h: ... here.
14840
aebe1003
AZ
148412014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14842
14843 * conform/conformtest.pl: Add standard definition when calling C
14844 preprocessor on data files.
14845 (checknamespace): Remove unused variable.
14846
b29b6bb8
JM
148472014-03-18 Joseph Myers <joseph@codesourcery.com>
14848
14849 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14850 minus_oflow, plus_uflow and minus_uflow in expected results.
14851 * math/libm-test.inc (scalbn_test_data): Add more tests of
14852 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14853 minus_uflow.
14854 (scalbn_test): Use ALL_RM_TEST.
14855 (scalbln_test_data): Add more tests of negative arguments. Use
14856 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14857 (scalbln_test): Use ALL_RM_TEST.
14858
c8f8fa15
RM
148592014-03-18 Roland McGrath <roland@hack.frob.com>
14860
14861 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14862
fede7a5f
WN
148632014-03-18 Will Newton <will.newton@linaro.org>
14864
14865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14866 inaccurate comment.
14867
80cf0a58
JM
148682014-03-18 Joseph Myers <joseph@codesourcery.com>
14869
14870 * Makerules [!subdir] (check-abi): Exit with error status if a
14871 test failed.
14872
b3620862
JM
148732014-03-17 Joseph Myers <joseph@codesourcery.com>
14874
14875 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14876 for rint. Include results for all rounding modes.
14877 (nearbyint_test): Use ALL_RM_TEST.
14878 (rint_test_data): Include all tests used for nearbyint.
14879
788bba36
WN
148802014-03-17 Will Newton <will.newton@linaro.org>
14881
04ec140a
WN
14882 * nptl/sysdeps/pthread/pthread.h: Revert previous
14883 change.
14884
7579d8d5
WN
14885 * sysdeps/generic/ldsodefs.h: Revert previous
14886 change.
14887
c15cf13a
WN
14888 * libio/genops.c: Revert previous change.
14889 * libio/libioP.h: Likewise.
14890 * stdio-common/vfprintf.c: Likewise.
14891
d0ac1324
WN
14892 * sysdeps/generic/math_private.h: Revert previous
14893 change.
14894
9290130a
WN
14895 * sysdeps/generic/math_private.h: Check whether
14896 HAVE_RM_CTX is defined with #ifdef rather
14897 than #if.
14898
afb466fc
WN
14899 * argp/argp-fmtstream.h: Check whether
14900 __STRICT_ANSI__ is defined with #ifdef rather
14901 than #if.
14902 * argp/argp.h: Likewise.
14903
f7efd7c3
WN
14904 * libio/genops.c: Check whether
14905 _IO_JUMPS_OFFSET is defined with #ifdef rather
14906 than #if.
14907 * libio/libioP.h: Likewise.
14908 * stdio-common/vfprintf.c: Likewise.
14909
53f1bed3
WN
14910 * sysdeps/generic/ldsodefs.h: Check whether
14911 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14912 than #if.
14913
788bba36
WN
14914 * nptl/sysdeps/pthread/pthread.h: Check
14915 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14916 its value.
14917
fcd89ebe
SP
149182014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14919
ae42bbc5
SP
14920 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14921 setting O_APPEND.
14922 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14923 test case.
14924
ea33158c
SP
14925 [BZ #16680]
14926 * libio/fileops.c (_IO_file_open): Seek to end of file but
14927 don't cache the offset.
14928 (get_file_offset): Remove function.
14929 (do_ftell): Use cached offset when available.
14930 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14931 don't cache the offset.
14932 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14933 case.
14934 (do_one_test): Call it.
14935 (do_ftell_test): Fix up expected old offset for a+ mode.
14936 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14937 available.
14938
b1dbb426
SP
14939 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14940 up test status with function return status.
14941 (do_write_test): Likewise.
14942 (do_append_test): Likewise.
14943
fcd89ebe
SP
14944 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14945 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14946 Remove.
14947
9962a2d3
JM
149482014-03-17 Joseph Myers <joseph@codesourcery.com>
14949
14950 * math/gen-libm-test.pl (parse_args): Handle results specified for
14951 each rounding mode separately.
14952 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14953 tests and results from lrint_tonearest_test_data,
14954 lrint_towardzero_test_data, lrint_downward_test_data and
14955 lrint_upward_test_data.
14956 (lrint_test): Use ALL_RM_TEST.
14957 (lrint_tonearest_test_data): Remove.
14958 (lrint_test_tonearest): Likewise.
14959 (lrint_towardzero_test_data): Likewise.
14960 (lrint_test_towardzero): Likewise.
14961 (lrint_downward_test_data): Likewise.
14962 (lrint_test_downward): Likewise.
14963 (lrint_upward_test_data): Likewise.
14964 (lrint_test_upward): Likewise.
14965 (llrint_test_data): Merge in per-rounding-mode tests and results
14966 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14967 llrint_downward_test_data and llrint_upward_test_data.
14968 (llrint_test): Use ALL_RM_TEST.
14969 (llrint_tonearest_test_data): Remove.
14970 (llrint_test_tonearest): Likewise.
14971 (llrint_towardzero_test_data): Likewise.
14972 (llrint_test_towardzero): Likewise.
14973 (llrint_downward_test_data): Likewise.
14974 (llrint_test_downward): Likewise.
14975 (llrint_upward_test_data): Likewise.
14976 (llrint_test_upward): Likewise.
14977 (rint_test_data): Merge in per-rounding-mode tests and results
14978 from rint_tonearest_test_data, rint_towardzero_test_data,
14979 rint_downward_test_data and rint_upward_test_data. Add
14980 per-rounding-mode results for tests not in those arrays.
14981 (rint_test): Use ALL_RM_TEST.
14982 (rint_tonearest_test_data): Remove.
14983 (rint_test_tonearest): Likewise.
14984 (rint_towardzero_test_data): Likewise.
14985 (rint_test_towardzero): Likewise.
14986 (rint_downward_test_data): Likewise.
14987 (rint_test_downward): Likewise.
14988 (rint_upward_test_data): Likewise.
14989 (rint_test_upward): Likewise.
14990 (main): Don't call removed functions.
14991
5006148e
RM
149922014-03-14 Roland McGrath <roland@hack.frob.com>
14993
14994 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14995 "Compiled on ..." crapola. It is anti-useful.
14996
d6fe5e58
JM
149972014-03-14 Joseph Myers <joseph@codesourcery.com>
14998
14999 * scripts/evaluate-test.sh: Handle fourth argument to determine
15000 whether test run should stop on failure.
15001 * Makeconfig (stop-on-test-failure): New variable.
15002 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15003 $(stop-on-test-failure).
15004 * Makefile (tests): Give a summary of results from testing and
15005 exit with failure status if they include an ERROR or FAIL.
15006 (xtests): Likewise.
15007 * manual/install.texi (Configuring and compiling): Mention
15008 stop-on-test-failure=y.
15009 * INSTALL: Regenerated.
15010
498a2233
RM
150112014-03-14 Roland McGrath <roland@hack.frob.com>
15012
22dbc19d
RM
15013 * scripts/versionlist.awk: New file.
15014 * Makerules [$(build-shared) = yes]
15015 (postclean-generated): Add Versions.def, not Versions.def.v and
15016 Versions.def.v.i.
15017 ($(common-objpfx)Versions.def.v.i): Target removed.
15018 ($(common-objpfx)Versions.def): New target.
15019 ($(common-objpfx)Versions.all): Depend on that rather that
15020 $(common-objpfx)Versions.def.v.
15021 * Versions.def: File removed.
15022
498a2233
RM
15023 * Makeconfig (+gccwarn): Add -Wundef.
15024 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15025 a dl-sysdep.h breaking its contract.
15026 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15027 * include/stackinfo.h: New file.
15028 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15029 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15030 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15031 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15032 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15033 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15034 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15035 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15036 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15037 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15038 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15039 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15040 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15041 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15042 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15043
c7de5025
AZ
150442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15045
15046 [BZ #16707]
15047 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15048 implementation.
15049 * math/libm-test.inc (round_test_data): Add more tests.
15050
98fb27a3
AZ
15051 [BZ #16706]
15052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15053 implementation.
15054 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15055
374f7f61
AZ
15056 [BZ #16701]
15057 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15058 implementation.
15059 * math/libm-test.inc (ceil_test_data): Add more tests.
15060
4655c291
AZ
15061 * math/libm-test.inc (trunc_test_data): Add more tests related to
15062 BZ#16414.
15063
d7329d4b
RM
150642014-03-14 Roland McGrath <roland@hack.frob.com>
15065
15066 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15067 with #if rather than #ifdef.
15068 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15069
aa4de9ce
L
150702014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15071
15072 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15073 first. Disable AVX-512 GCC support if assembler doesn't support
15074 it.
15075 * sysdeps/x86_64/configure: Regenerated.
15076
2e03fae7
CD
150772014-03-13 Carlos O'Donell <carlos@redhat.com>
15078
15079 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15080 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15081 (__old_pthread_attr_setstack): Likewise.
15082 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15083 [!_STACK_GROWS_DOWN]: Likewise.
15084
43ca83ec
MF
150852014-03-13 Mike Frysinger <vapier@gentoo.org>
15086
15087 * config.make.in (have-bash2): Delete.
15088 * configure.ac (libc_cv_have_bash2): Delete.
15089 * configure: Regenerate.
15090 * elf/Makefile (common-ldd-rewrite): Rename to ...
15091 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15092 (sh-ldd-rewrite): Delete.
15093 (bash-ldd-rewrite): Delete.
15094 (have-bash2): Delete checks.
57f41c40
AS
15095 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15096 ldd-rewrite.
c66e48b4
MF
15097
15098 * config.make.in (have-ksh): Delete.
15099 (KSH): Delete.
15100 * configure.ac (libc_cv_have_ksh): Delete.
15101 * configure: Regenerate.
15102
b93834ef
MF
15103 * elf/Makefile: Delete $(have-ksh) check.
15104 ($(objpfx)sotruss): Change KSH to BASH.
15105 * elf/sotruss.ksh: Rename to ...
15106 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15107 function style to match POSIX. Drop ksh vim mode setting.
15108
f3a4632a
MF
15109 * manual/time.texi (Specifying the Time Zone with TZ): Change
15110 Tuesday to Thursday.
15111
5896c8bd
MF
15112 * debug/tst-longjmp_chk2.c: Update header comment.
15113 (stackoverflow_handler): Add comment. Call assert on pass value.
15114
2d63a517
IZ
151152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15116
7e54fd04 15117 [BZ #16194]
2d63a517
IZ
15118 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15119 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15120 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15121 (La_x86_64_vector): Add zmm.
15122 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15123 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15124 ($(objpfx)tst-audit10): New target.
15125 ($(objpfx)tst-audit10.out): Likewise.
15126 (tst-audit10-ENV): New.
15127 (AVX512-CFLAGS): Likewise.
15128 (CFLAGS-tst-audit10.c): Likewise.
15129 (CFLAGS-tst-auditmod10a.c): Likewise.
15130 (CFLAGS-tst-auditmod10b.c): Likewise.
15131 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15132 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15133 * sysdeps/x86_64/configure: Regenerated.
15134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15135 AVX-512 zmm register support.
15136 (_dl_x86_64_save_sse): Likewise.
15137 (_dl_x86_64_restore_sse): Likewise.
15138 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15139 size vector registers.
15140 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15141 (ZMM_SIZE): Likewise.
15142 * sysdeps/x86_64/tst-audit10.c: New file.
15143 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15144 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15145
44c4e5d5
RM
151462014-03-13 Roland McGrath <roland@hack.frob.com>
15147
15148 * configure.ac (HAVE_EHDR_START): New check.
15149 * configure: Regenerated.
15150 * config.h.in (HAVE_EHDR_START): New #undef.
15151 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15152 assuming the lowest-addressed segment maps the start of the file.
15153
acd6e389
JM
151542014-03-13 Joseph Myers <joseph@codesourcery.com>
15155
15156 * INSTALL: Regenerated.
15157
6f918f36
WN
151582014-03-13 Will Newton <will.newton@linaro.org>
15159
15160 * manual/setjmp.texi (System V contexts): Improve
15161 clarity and grammar of documentation.
15162
798212a0
PP
151632014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15164
15165 [BZ #16381]
798212a0 15166 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15167 (tests-pie): Add tst-pie2.
798212a0
PP
15168 * elf/tst-pie2.c: New file.
15169 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15170 for ET_EXEC.
15171 * elf/rtld.c (map_doit): Load executable as lt_executable.
15172 (dl_main): Likewise.
15173
abe6d90c
JM
151742014-03-12 Joseph Myers <joseph@codesourcery.com>
15175
15176 [BZ #16642]
15177 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15178 (__ASSUME_PSELECT): Undefine.
15179
dd3946c6
AZ
151802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15181
15182 [BZ #16689]
15183 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15184 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15185 static build.
15186 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15187 selector for static builds.
15188
c44496df
SP
151892014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15190
15191 [BZ #16695]
15192 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15193 key in the buffer.
15194
27c7220a
AZ
151952014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15196
57f41c40
AS
15197 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15198 IFUNC selector for static builds.
27c7220a 15199
600fa361
JM
152002014-03-11 Joseph Myers <joseph@codesourcery.com>
15201
76c96cf7
JM
15202 * sysdeps/mips/math_private.h [__mips_hard_float]
15203 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15204 libc_feresetround_mips_ctx.
15205 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15206 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15207 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15208
600fa361
JM
15209 [BZ #16677]
15210 * math/s_nextafter.c (__nextafter): Do not return value from
15211 overflowing computation.
15212 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15213 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15215 Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15217 Likewise.
15218 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15219 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15220
d7706c32
RM
152212014-03-11 Roland McGrath <roland@hack.frob.com>
15222
15223 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15224 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15225 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15226 the new mov targetting sp.
15227
4facea47
AZ
152282014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229
15230 [BZ #16683]
15231 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15232 Define it for static builds as well.
15233 (NO_BZERO_IMPL): Likewise.
15234
e65caf1f
VR
152352014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15236
15237 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15238 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15239 multiarch strspn for PPC64.
15240 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15241 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15243 (__libc_ifunc_impl_list): Likewise.
15244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15245 multiarch optimizations
15246 * string/strspn.c (strspn): Using macro to redefine symbol name.
15247
ba9cc071
AZ
152482014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15249 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15250
15251 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15252 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15253 multiarch strncat for PPC64.
15254 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15255 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15257 (__libc_ifunc_impl_list): Likewise.
15258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15259 multiarch optimizations
15260
8b4ff974
SP
152612014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15262
15263 [BZ #16639]
15264 * nscd/nscd.service: Make service type forking.
15265
54b46a4b
AZ
152662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15267
15268 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15269 sign in non default rounding modes.
15270 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15271
e9996ef7
JM
152722014-03-08 Joseph Myers <joseph@codesourcery.com>
15273
15274 * math/libm-test.inc (ALL_RM_TEST): New macro.
15275 (ceil_test): Use ALL_RM_TEST.
15276 (cimag_test): Likewise.
15277 (conj_test): Likewise.
15278 (copysign_test): Likewise.
15279 (cproj_test): Likewise.
15280 (creal_test): Likewise.
15281 (fabs_test): Likewise.
15282 (floor_test): Likewise.
15283 (fmax_test): Likewise.
15284 (fmin_test): Likewise.
15285 (fmod_test): Likewise.
15286 (fpclassify_test): Likewise.
15287 (frexp_test): Likewise.
15288 (ilogb_test): Likewise.
15289 (isfinite_test): Likewise.
15290 (finite_test): Likewise.
15291 (isgreater_test): Likewise.
15292 (isgreaterequal_test): Likewise.
15293 (isinf_test): Likewise.
15294 (isless_test): Likewise.
15295 (islessequal_test): Likewise.
15296 (islessgreater_test): Likewise.
15297 (isnan_test): Likewise.
15298 (isnormal_test): Likewise.
15299 (issignaling_test): Likewise.
15300 (isunordered_test): Likewise.
15301 (logb_test): Likewise.
15302 (logb_downward_test_data): Remove.
15303 (logb_test_downward): Likewise.
15304 (lround_test): Use ALL_RM_TEST.
15305 (llround_test): Likewise.
15306 (modf_test): Likewise.
15307 (nexttoward_test): Likewise.
15308 (remainder_test): Likewise.
15309 (drem_test): Likewise.
15310 (remainder_tonearest_test_data): Likewise.
15311 (remainder_test_tonearest): Likewise.
15312 (drem_test_tonearest): Likewise.
15313 (remainder_towardzero_test_data): Likewise.
15314 (remainder_test_towardzero): Likewise.
15315 (drem_test_towardzero): Likewise.
15316 (remainder_downward_test_data): Likewise.
15317 (remainder_test_downward): Likewise.
15318 (drem_test_downward): Likewise.
15319 (remainder_upward_test_data): Likewise.
15320 (remainder_test_upward): Likewise.
15321 (drem_test_upward): Likewise.
15322 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15323 (round_test): Use ALL_RM_TEST.
15324 (signbit_test): Likewise.
15325 (trunc_test): Likewise.
15326 (significand_test): Likewise.
15327 (main): Don't call removed functions.
15328
bc61d27c
JM
153292014-03-07 Joseph Myers <joseph@codesourcery.com>
15330
5c780849
JM
15331 [BZ #16674]
15332 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15333 || __USE_XOPEN2K8].
15334 (ILL_ILLOPN): Likewise.
15335 (ILL_ILLADR): Likewise.
15336 (ILL_ILLTRP): Likewise.
15337 (ILL_PRVOPC): Likewise.
15338 (ILL_PRVREG): Likewise.
15339 (ILL_COPROC): Likewise.
15340 (ILL_BADSTK): Likewise.
15341 (FPE_INTDIV): Likewise.
15342 (FPE_INTOVF): Likewise.
15343 (FPE_FLTDIV): Likewise.
15344 (FPE_FLTOVF): Likewise.
15345 (FPE_FLTUND): Likewise.
15346 (FPE_FLTRES): Likewise.
15347 (FPE_FLTINV): Likewise.
15348 (FPE_FLTSUB): Likewise.
15349 (SEGV_MAPERR): Likewise.
15350 (SEGV_ACCERR): Likewise.
15351 (BUS_ADRALN): Likewise.
15352 (BUS_ADRERR): Likewise.
15353 (BUS_OBJERR): Likewise.
15354 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15355 (TRAP_TRACE): Likewise.
15356 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15357 __USE_XOPEN2K8].
15358 (CLD_KILLED): Likewise.
15359 (CLD_DUMPED): Likewise.
15360 (CLD_TRAPPED): Likewise.
15361 (CLD_STOPPED): Likewise.
15362 (CLD_CONTINUED): Likewise.
15363 (POLL_IN): Likewise.
15364 (POLL_OUT): Likewise.
15365 (POLL_MSG): Likewise.
15366 (POLL_ERR): Likewise.
15367 (POLL_PRI): Likewise.
15368 (POLL_HUP): Likewise.
15369 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15370 Likewise.
15371 (ILL_ILLOPN): Likewise.
15372 (ILL_ILLADR): Likewise.
15373 (ILL_ILLTRP): Likewise.
15374 (ILL_PRVOPC): Likewise.
15375 (ILL_PRVREG): Likewise.
15376 (ILL_COPROC): Likewise.
15377 (ILL_BADSTK): Likewise.
15378 (FPE_INTDIV): Likewise.
15379 (FPE_INTOVF): Likewise.
15380 (FPE_FLTDIV): Likewise.
15381 (FPE_FLTOVF): Likewise.
15382 (FPE_FLTUND): Likewise.
15383 (FPE_FLTRES): Likewise.
15384 (FPE_FLTINV): Likewise.
15385 (FPE_FLTSUB): Likewise.
15386 (SEGV_MAPERR): Likewise.
15387 (SEGV_ACCERR): Likewise.
15388 (BUS_ADRALN): Likewise.
15389 (BUS_ADRERR): Likewise.
15390 (BUS_OBJERR): Likewise.
15391 (BUS_MCEERR_AR): Likewise.
15392 (BUS_MCEERR_AO): Likewise.
15393 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15394 (TRAP_TRACE): Likewise.
15395 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15396 __USE_XOPEN2K8].
15397 (CLD_KILLED): Likewise.
15398 (CLD_DUMPED): Likewise.
15399 (CLD_TRAPPED): Likewise.
15400 (CLD_STOPPED): Likewise.
15401 (CLD_CONTINUED): Likewise.
15402 (POLL_IN): Likewise.
15403 (POLL_OUT): Likewise.
15404 (POLL_MSG): Likewise.
15405 (POLL_ERR): Likewise.
15406 (POLL_PRI): Likewise.
15407 (POLL_HUP): Likewise.
15408 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15409 (ILL_ILLOPN): Likewise.
15410 (ILL_ILLADR): Likewise.
15411 (ILL_ILLTRP): Likewise.
15412 (ILL_PRVOPC): Likewise.
15413 (ILL_PRVREG): Likewise.
15414 (ILL_COPROC): Likewise.
15415 (ILL_BADSTK): Likewise.
15416 (FPE_INTDIV): Likewise.
15417 (FPE_INTOVF): Likewise.
15418 (FPE_FLTDIV): Likewise.
15419 (FPE_FLTOVF): Likewise.
15420 (FPE_FLTUND): Likewise.
15421 (FPE_FLTRES): Likewise.
15422 (FPE_FLTINV): Likewise.
15423 (FPE_FLTSUB): Likewise.
15424 (SEGV_MAPERR): Likewise.
15425 (SEGV_ACCERR): Likewise.
15426 (BUS_ADRALN): Likewise.
15427 (BUS_ADRERR): Likewise.
15428 (BUS_OBJERR): Likewise.
15429 (BUS_MCEERR_AR): Likewise.
15430 (BUS_MCEERR_AO): Likewise.
15431 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15432 (TRAP_TRACE): Likewise.
15433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15434 __USE_XOPEN2K8].
15435 (CLD_KILLED): Likewise.
15436 (CLD_DUMPED): Likewise.
15437 (CLD_TRAPPED): Likewise.
15438 (CLD_STOPPED): Likewise.
15439 (CLD_CONTINUED): Likewise.
15440 (POLL_IN): Likewise.
15441 (POLL_OUT): Likewise.
15442 (POLL_MSG): Likewise.
15443 (POLL_ERR): Likewise.
15444 (POLL_PRI): Likewise.
15445 (POLL_HUP): Likewise.
15446 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15447 Likewise.
15448 (ILL_ILLOPN): Likewise.
15449 (ILL_ILLADR): Likewise.
15450 (ILL_ILLTRP): Likewise.
15451 (ILL_PRVOPC): Likewise.
15452 (ILL_PRVREG): Likewise.
15453 (ILL_COPROC): Likewise.
15454 (ILL_BADSTK): Likewise.
15455 (ILL_BADIADDR): Likewise.
15456 (ILL_BREAK): Likewise.
15457 (FPE_INTDIV): Likewise.
15458 (FPE_INTOVF): Likewise.
15459 (FPE_FLTDIV): Likewise.
15460 (FPE_FLTOVF): Likewise.
15461 (FPE_FLTUND): Likewise.
15462 (FPE_FLTRES): Likewise.
15463 (FPE_FLTINV): Likewise.
15464 (FPE_FLTSUB): Likewise.
15465 (FPE_DECOVF): Likewise.
15466 (FPE_DECDIV): Likewise.
15467 (FPE_DECERR): Likewise.
15468 (FPE_INVASC): Likewise.
15469 (FPE_INVDEC): Likewise.
15470 (SEGV_MAPERR): Likewise.
15471 (SEGV_ACCERR): Likewise.
15472 (SEGV_PSTKOVF): Likewise.
15473 (BUS_ADRALN): Likewise.
15474 (BUS_ADRERR): Likewise.
15475 (BUS_OBJERR): Likewise.
15476 (BUS_MCEERR_AR): Likewise.
15477 (BUS_MCEERR_AO): Likewise.
15478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15479 (TRAP_TRACE): Likewise.
15480 (TRAP_BRANCH): Likewise.
15481 (TRAP_HWBKPT): Likewise.
15482 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15483 __USE_XOPEN2K8].
15484 (CLD_KILLED): Likewise.
15485 (CLD_DUMPED): Likewise.
15486 (CLD_TRAPPED): Likewise.
15487 (CLD_STOPPED): Likewise.
15488 (CLD_CONTINUED): Likewise.
15489 (POLL_IN): Likewise.
15490 (POLL_OUT): Likewise.
15491 (POLL_MSG): Likewise.
15492 (POLL_ERR): Likewise.
15493 (POLL_PRI): Likewise.
15494 (POLL_HUP): Likewise.
15495 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15496 (ILL_ILLOPN): Likewise.
15497 (ILL_ILLADR): Likewise.
15498 (ILL_ILLTRP): Likewise.
15499 (ILL_PRVOPC): Likewise.
15500 (ILL_PRVREG): Likewise.
15501 (ILL_COPROC): Likewise.
15502 (ILL_BADSTK): Likewise.
15503 (FPE_INTDIV): Likewise.
15504 (FPE_INTOVF): Likewise.
15505 (FPE_FLTDIV): Likewise.
15506 (FPE_FLTOVF): Likewise.
15507 (FPE_FLTUND): Likewise.
15508 (FPE_FLTRES): Likewise.
15509 (FPE_FLTINV): Likewise.
15510 (FPE_FLTSUB): Likewise.
15511 (SEGV_MAPERR): Likewise.
15512 (SEGV_ACCERR): Likewise.
15513 (BUS_ADRALN): Likewise.
15514 (BUS_ADRERR): Likewise.
15515 (BUS_OBJERR): Likewise.
15516 (BUS_MCEERR_AR): Likewise.
15517 (BUS_MCEERR_AO): Likewise.
15518 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15519 (TRAP_TRACE): Likewise.
15520 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15521 __USE_XOPEN2K8].
15522 (CLD_KILLED): Likewise.
15523 (CLD_DUMPED): Likewise.
15524 (CLD_TRAPPED): Likewise.
15525 (CLD_STOPPED): Likewise.
15526 (CLD_CONTINUED): Likewise.
15527 (POLL_IN): Likewise.
15528 (POLL_OUT): Likewise.
15529 (POLL_MSG): Likewise.
15530 (POLL_ERR): Likewise.
15531 (POLL_PRI): Likewise.
15532 (POLL_HUP): Likewise.
15533 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15534 (ILL_ILLOPN): Likewise.
15535 (ILL_ILLADR): Likewise.
15536 (ILL_ILLTRP): Likewise.
15537 (ILL_PRVOPC): Likewise.
15538 (ILL_PRVREG): Likewise.
15539 (ILL_COPROC): Likewise.
15540 (ILL_BADSTK): Likewise.
15541 (FPE_INTDIV): Likewise.
15542 (FPE_INTOVF): Likewise.
15543 (FPE_FLTDIV): Likewise.
15544 (FPE_FLTOVF): Likewise.
15545 (FPE_FLTUND): Likewise.
15546 (FPE_FLTRES): Likewise.
15547 (FPE_FLTINV): Likewise.
15548 (FPE_FLTSUB): Likewise.
15549 (SEGV_MAPERR): Likewise.
15550 (SEGV_ACCERR): Likewise.
15551 (BUS_ADRALN): Likewise.
15552 (BUS_ADRERR): Likewise.
15553 (BUS_OBJERR): Likewise.
15554 (BUS_MCEERR_AR): Likewise.
15555 (BUS_MCEERR_AO): Likewise.
15556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15557 (TRAP_TRACE): Likewise.
15558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15559 __USE_XOPEN2K8].
15560 (CLD_KILLED): Likewise.
15561 (CLD_DUMPED): Likewise.
15562 (CLD_TRAPPED): Likewise.
15563 (CLD_STOPPED): Likewise.
15564 (CLD_CONTINUED): Likewise.
15565 (POLL_IN): Likewise.
15566 (POLL_OUT): Likewise.
15567 (POLL_MSG): Likewise.
15568 (POLL_ERR): Likewise.
15569 (POLL_PRI): Likewise.
15570 (POLL_HUP): Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15572 (ILL_ILLOPN): Likewise.
15573 (ILL_ILLADR): Likewise.
15574 (ILL_ILLTRP): Likewise.
15575 (ILL_PRVOPC): Likewise.
15576 (ILL_PRVREG): Likewise.
15577 (ILL_COPROC): Likewise.
15578 (ILL_BADSTK): Likewise.
15579 (FPE_INTDIV): Likewise.
15580 (FPE_INTOVF): Likewise.
15581 (FPE_FLTDIV): Likewise.
15582 (FPE_FLTOVF): Likewise.
15583 (FPE_FLTUND): Likewise.
15584 (FPE_FLTRES): Likewise.
15585 (FPE_FLTINV): Likewise.
15586 (FPE_FLTSUB): Likewise.
15587 (SEGV_MAPERR): Likewise.
15588 (SEGV_ACCERR): Likewise.
15589 (BUS_ADRALN): Likewise.
15590 (BUS_ADRERR): Likewise.
15591 (BUS_OBJERR): Likewise.
15592 (BUS_MCEERR_AR): Likewise.
15593 (BUS_MCEERR_AO): Likewise.
15594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15595 (TRAP_TRACE): Likewise.
15596 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15597 __USE_XOPEN2K8].
15598 (CLD_KILLED): Likewise.
15599 (CLD_DUMPED): Likewise.
15600 (CLD_TRAPPED): Likewise.
15601 (CLD_STOPPED): Likewise.
15602 (CLD_CONTINUED): Likewise.
15603 (POLL_IN): Likewise.
15604 (POLL_OUT): Likewise.
15605 (POLL_MSG): Likewise.
15606 (POLL_ERR): Likewise.
15607 (POLL_PRI): Likewise.
15608 (POLL_HUP): Likewise.
15609 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15610 (ILL_ILLOPN): Likewise.
15611 (ILL_ILLADR): Likewise.
15612 (ILL_ILLTRP): Likewise.
15613 (ILL_PRVOPC): Likewise.
15614 (ILL_PRVREG): Likewise.
15615 (ILL_COPROC): Likewise.
15616 (ILL_BADSTK): Likewise.
15617 (ILL_DBLFLT): Likewise.
15618 (ILL_HARDWALL): Likewise.
15619 (FPE_INTDIV): Likewise.
15620 (FPE_INTOVF): Likewise.
15621 (FPE_FLTDIV): Likewise.
15622 (FPE_FLTOVF): Likewise.
15623 (FPE_FLTUND): Likewise.
15624 (FPE_FLTRES): Likewise.
15625 (FPE_FLTINV): Likewise.
15626 (FPE_FLTSUB): Likewise.
15627 (SEGV_MAPERR): Likewise.
15628 (SEGV_ACCERR): Likewise.
15629 (BUS_ADRALN): Likewise.
15630 (BUS_ADRERR): Likewise.
15631 (BUS_OBJERR): Likewise.
15632 (BUS_MCEERR_AR): Likewise.
15633 (BUS_MCEERR_AO): Likewise.
15634 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15635 (TRAP_TRACE): Likewise.
15636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15637 __USE_XOPEN2K8].
15638 (CLD_KILLED): Likewise.
15639 (CLD_DUMPED): Likewise.
15640 (CLD_TRAPPED): Likewise.
15641 (CLD_STOPPED): Likewise.
15642 (CLD_CONTINUED): Likewise.
15643 (POLL_IN): Likewise.
15644 (POLL_OUT): Likewise.
15645 (POLL_MSG): Likewise.
15646 (POLL_ERR): Likewise.
15647 (POLL_PRI): Likewise.
15648 (POLL_HUP): Likewise.
15649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15650 (ILL_ILLOPN): Likewise.
15651 (ILL_ILLADR): Likewise.
15652 (ILL_ILLTRP): Likewise.
15653 (ILL_PRVOPC): Likewise.
15654 (ILL_PRVREG): Likewise.
15655 (ILL_COPROC): Likewise.
15656 (ILL_BADSTK): Likewise.
15657 (FPE_INTDIV): Likewise.
15658 (FPE_INTOVF): Likewise.
15659 (FPE_FLTDIV): Likewise.
15660 (FPE_FLTOVF): Likewise.
15661 (FPE_FLTUND): Likewise.
15662 (FPE_FLTRES): Likewise.
15663 (FPE_FLTINV): Likewise.
15664 (FPE_FLTSUB): Likewise.
15665 (SEGV_MAPERR): Likewise.
15666 (SEGV_ACCERR): Likewise.
15667 (BUS_ADRALN): Likewise.
15668 (BUS_ADRERR): Likewise.
15669 (BUS_OBJERR): Likewise.
15670 (BUS_MCEERR_AR): Likewise.
15671 (BUS_MCEERR_AO): Likewise.
15672 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15673 (TRAP_TRACE): Likewise.
15674 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15675 __USE_XOPEN2K8].
15676 (CLD_KILLED): Likewise.
15677 (CLD_DUMPED): Likewise.
15678 (CLD_TRAPPED): Likewise.
15679 (CLD_STOPPED): Likewise.
15680 (CLD_CONTINUED): Likewise.
15681 (POLL_IN): Likewise.
15682 (POLL_OUT): Likewise.
15683 (POLL_MSG): Likewise.
15684 (POLL_ERR): Likewise.
15685 (POLL_PRI): Likewise.
15686 (POLL_HUP): Likewise.
15687 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15688 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15689
bc61d27c
JM
15690 [BZ #16670]
15691 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15692 before #include of <time.h>.
15693 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15694 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15695 (test-xfail-UNIX98/sched.h/conform): Likewise.
15696
302949e2
MS
156972014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15698
15699 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15700 error absence of trapping exception support.
15701 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15702
a00f522a
JM
157032014-03-07 Joseph Myers <joseph@codesourcery.com>
15704
6f99f280
JM
15705 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15706 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15707 * timezone/Makefile (testdata): Move definition above include of
15708 Rules.
15709 (test-zones): New variable.
15710 (tests-special): Add zone files.
15711 (build-testdata): Use $(evaluate-test).
15712
0b20a9e8
JM
15713 * elf/Makefile (tests-special): Rename tests to end with .out.
15714 ($(objpfx)noload-mem): Likewise.
15715 ($(objpfx)tst-leaks1-mem): Likewise.
15716 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15717 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15718 $(objpfx)test-iconvconfig.out.
15719 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15720 set -e inside subshell and redirect output to file.
15721 * iconvdata/Makefile (generated): Rename tests to end with .out.
15722 Correct type.
15723 (tests-special): Rename tests to end with .out.
15724 ($(objpfx)mtrace-tst-loading): Likewise.
15725 * intl/Makefile (generated): Likewise.
15726 (tests-special): Likewise.
15727 ($(objpfx)mtrace-tst-gettext): Likewise.
15728 * misc/Makefile (generated): Likewise.
15729 (tests-special): Likewise.
15730 ($(objpfx)tst-error1-mem): Likewise.
15731 * nptl/Makefile (tests-special): Likewise.
15732 ($(objpfx)tst-stack3-mem): Likewise.
15733 (generated): Likewise.
15734 * posix/Makefile (generated): Likewise.
15735 (tests-special): Likewise.
15736 (xtests-special): Likewise.
15737 ($(objpfx)tst-fnmatch-mem): Likewise.
15738 ($(objpfx)bug-regex2-mem): Likewise.
15739 ($(objpfx)bug-regex14-mem): Likewise.
15740 ($(objpfx)bug-regex21-mem): Likewise.
15741 ($(objpfx)bug-regex31-mem): Likewise.
15742 ($(objpfx)tst-vfork3-mem): Likewise.
15743 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15744 ($(objpfx)tst-pcre-mem): Likewise.
15745 ($(objpfx)tst-boost-mem): Likewise.
15746 ($(objpfx)bug-ga2-mem): Likewise.
15747 ($(objpfx)bug-glob2-mem): Likewise.
15748 * resolv/Makefile (generate): Likewise.
15749 (tests-special): Likewise.
15750 (xtests-special): Likewise.
15751 (generated): Likewise.
15752 ($(objpfx)mtrace-tst-leaks): Likewise.
15753 ($(objpfx)mtrace-tst-leaks2): Likewise.
15754
265d52ab
JM
15755 * scripts/merge-test-results.sh: New file.
15756 * Makefile (tests-special-notdir): New variable.
15757 (tests): Run merge-test-results.sh.
15758 (xtests): Likewise.
15759 * Rules (tests-special-notdir): New variable.
15760 (xtests-special-notdir): Likewise.
15761 (tests): Run merge-test-results.sh
15762 (xtests): Likewise.
15763
54ee292d
JM
15764 * Makeconfig (test-xfail-name): New variable.
15765 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15766 compute variable name for expected failures.
15767 * conform/Makefile (conformtest-headers-data): New variable.
15768 (conformtest-standards): Likewise.
15769 (conformtest-headers-ISO): Likewise.
15770 (conformtest-headers-ISO99): Likewise.
15771 (conformtest-headers-ISO11): Likewise.
15772 (conformtest-headers-POSIX): Likewise.
15773 (conformtest-headers-XPG3): Likewise.
15774 (conformtest-headers-XPG4): Likewise.
15775 (conformtest-headers-UNIX98): Likewise.
15776 (conformtest-headers-XOPEN2K): Likewise.
15777 (conformtest-headers-POSIX2008): Likewise.
15778 (conformtest-headers-XOPEN2K8): Likewise.
15779 (conformtest-header-list-base): Likewise.
15780 (conformtest-header-list-tests): Likewise.
15781 (conformtest-header-base): Likewise.
15782 (conformtest-header-tests): Likewise.
15783 (tests-special): Add $(conformtest-header-list-tests). If
15784 [$(fast-check) && !$(cross-compiling)], add
15785 $(conformtest-header-tests) instead of
15786 $(objpfx)run-conformtest.out.
15787 (generated): Add $(conformtest-header-list-base). If
15788 [$(fast-check) && !$(cross-compiling)], add
15789 $(conformtest-header-base). Remove previous setting.
15790 ($(conformtest-header-list-tests)): New target.
15791 (test-xfail-run-conformtest): Remove variable.
15792 ($(objpfx)run-conformtest.out): Remove target.
15793 (test-xfail-ISO11/complex.h/conform): New variable.
15794 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15795 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15796 (test-xfail-XPG3/varargs.h/conform): Likewise.
15797 (test-xfail-XPG4/varargs.h/conform): Likewise.
15798 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15799 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15800 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15801 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15802 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15803 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15804 (test-xfail-XPG3/ftw.h/conform): Likewise.
15805 (test-xfail-XPG3/grp.h/conform): Likewise.
15806 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15807 (test-xfail-XPG3/limits.h/conform): Likewise.
15808 (test-xfail-XPG3/pwd.h/conform): Likewise.
15809 (test-xfail-XPG3/search.h/conform): Likewise.
15810 (test-xfail-XPG3/signal.h/conform): Likewise.
15811 (test-xfail-XPG3/stdio.h/conform): Likewise.
15812 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15813 (test-xfail-XPG3/string.h/conform): Likewise.
15814 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15815 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15816 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15817 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15818 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15819 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15820 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15821 (test-xfail-XPG3/termios.h/conform): Likewise.
15822 (test-xfail-XPG3/time.h/conform): Likewise.
15823 (test-xfail-XPG3/unistd.h/conform): Likewise.
15824 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15825 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15826 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15827 (test-xfail-XPG4/netdb.h/conform): Likewise.
15828 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15829 (test-xfail-XPG4/signal.h/conform): Likewise.
15830 (test-xfail-XPG4/stdio.h/conform): Likewise.
15831 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15832 (test-xfail-XPG4/stropts.h/conform): Likewise.
15833 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15834 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15835 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15836 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15837 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15838 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15839 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15840 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15841 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15842 (test-xfail-XPG4/termios.h/conform): Likewise.
15843 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15844 (test-xfail-XPG4/unistd.h/conform): Likewise.
15845 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15846 (test-xfail-POSIX/sched.h/conform): Likewise.
15847 (test-xfail-POSIX/signal.h/conform): Likewise.
15848 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15849 (test-xfail-POSIX/tar.h/conform): Likewise.
15850 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15851 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15852 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15853 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15854 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15855 (test-xfail-UNIX98/sched.h/conform): Likewise.
15856 (test-xfail-UNIX98/signal.h/conform): Likewise.
15857 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15858 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15859 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15860 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15861 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15862 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15863 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15864 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15865 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15866 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15867 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15868 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15869 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15870 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15871 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15872 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15873 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15874 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15875 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15876 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15877 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15878 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15879 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15880 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15881 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15882 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15883 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15884 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15885 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15886 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15887 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15888 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15889 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15890 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15891 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15892 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15893 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15894 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15895 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15896 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15897 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15898 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15899 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15900 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15901 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15902 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15903 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15904 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15905 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15906 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15907 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15908 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15909 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15910 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15911 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15912 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15913 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15914 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15915 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15916 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15917 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15918 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15919 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15920 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15921 (conformtest-cc-flags): Likewise.
15922 ($(conformtest-header-tests): New target.
15923 * conform/check-header-lists.sh: New file.
15924 * conform/run-conformtest.sh: Remove.
15925
a00f522a
JM
15926 * conform/conformtest.pl: Allow ' and \ in values given for
15927 constants.
15928 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15929 inclusion.
15930 [POSIX] (sys/types.h): Likewise.
15931 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15932 inclusion.
15933 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15934 inclusion.
15935 * conform/data/signal.h-data (SIGIO): Remove expectation.
15936 [XPG3] (SIGBUS): Do not expect.
15937 [POSIX || XPG3] (SIGPOLL): Likewise.
15938 [POSIX || XPG3] (SIGPROF): Likewise.
15939 [POSIX || XPG3] (SIGSYS): Likewise.
15940 [XPG3] (SIGTRAP): Likewise.
15941 [POSIX || XPG3] (SIGURG): Likewise.
15942 [POSIX || XPG3] (SIGVTALRM): Likewise.
15943 [POSIX || XPG3] (SIGXCPU): Likewise.
15944 [POSIX || XPG3] (SIGXFSZ): Likewise.
15945 [POSIX] (SA_SIGINFO): Expect.
15946 [XPG3] (siginfo_t): Do not expect type or contents.
15947 [POSIX] (si_pid): Do not expect element.
15948 [POSIX] (si_uid): Likewise.
15949 [POSIX] (si_addr): Likewise.
15950 [POSIX] (si_status): Likewise.
15951 [POSIX] (si_band): Likewise.
15952 [XPG4] (si_value): Likewise.
15953 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15954 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15955 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15956 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15957 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15958 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15959 [POSIX || XPG3] (ILL_COPROC): Likewise.
15960 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15961 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15962 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15963 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15964 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15965 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15966 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15967 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15968 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15969 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15970 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15971 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15972 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15973 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15974 [POSIX || XPG3] (CLD_EXITED): Likewise.
15975 [POSIX || XPG3] (CLD_KILLED): Likewise.
15976 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15977 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15978 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15979 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15980 [POSIX || XPG3] (POLL_IN): Likewise.
15981 [POSIX || XPG3] (POLL_OUT): Likewise.
15982 [POSIX || XPG3] (POLL_MSG): Likewise.
15983 [POSIX || XPG3] (POLL_ERR): Likewise.
15984 [POSIX || XPG3] (POLL_PRI): Likewise.
15985 [POSIX || XPG3] (POLL_HUP): Likewise.
15986 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15987 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15988 (SIG*): Do not allow.
15989 [XPG3] (si_*): Likewise.
15990 [XPG3] (SI_*): Likewise.
15991 [XPG3 || XPG4] (sigev_*): Likewise.
15992 [XPG3 || XPG4] (SIGEV_*): Likewise.
15993 [XPG3 || XPG4] (sival_*): Likewise.
15994 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15995 [POSIX || XPG3] (BUS_*): Likewise.
15996 [POSIX || XPG3] (CLD_*): Likewise.
15997 [POSIX || XPG3] (FPE_*): Likewise.
15998 [POSIX || XPG3] (ILL_*): Likewise.
15999 [POSIX || XPG3] (POLL_*): Likewise.
16000 [POSIX || XPG3] (SEGV_*): Likewise.
16001 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16002 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16003 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16004 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16005 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16006 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16007 Specify type and value.
16008 (TVERSLEN): Likewise.
16009 (REGTYPE): Likewise.
16010 (AREGTYPE): Likewise.
16011 (LNKTYPE): Likewise.
16012 (SYMTYPE): Likewise.
16013 (CHRTYPE): Likewise.
16014 (BLKTYPE): Likewise.
16015 (DIRTYPE): Likewise.
16016 (FIFOTYPE): Likewise.
16017 (CONTTYPE): Likewise.
16018 (TSUID): Likewise.
16019 (TSGID): Likewise.
16020 (TSVTX): Likewise.
16021 (TUREAD): Likewise.
16022 (TUWRITE): Likewise.
16023 (TUEXEC): Likewise.
16024 (TGREAD): Likewise.
16025 (TGWRITE): Likewise.
16026 (TGEXEC): Likewise.
16027 (TOREAD): Likewise.
16028 (TOWRITE): Likewise.
16029 (TOEXEC): Likewise.
16030 [POSIX] (TSVTX): Expect constant.
16031
aa97dee1
JM
160322014-03-06 Joseph Myers <joseph@codesourcery.com>
16033
f214606a
JM
16034 * Makefile (tests): Change dependencies to ....
16035 (tests-special): ... additions to this variable.
16036 (tests): Depend on $(tests-special).
16037 * Makerules (check-abi-list): New variable.
16038 (check-abi): Depend on $(check-abi-list).
16039 [$(subdir) = elf] (tests-special): Add
16040 $(objpfx)check-abi-libc.out.
16041 [$(build-shared) = yes && subdir] (tests-special): Add
16042 $(check-abi-list).
16043 [$(build-shared) = yes && subdir] (tests): Do not depend on
16044 check-abi.
16045 * Rules (tests): Depend on $(tests-special).
16046 (xtests): Depend on $(xtests-special).
16047 * catgets/Makefile (tests): Change dependencies to ....
16048 (tests-special): ... additions to this variable.
16049 * conform/Makefile (tests): Change dependencies to ....
16050 (tests-special): ... additions to this variable.
16051 * elf/Makefile (tests): Change dependencies to ....
16052 (tests-special): ... additions to this variable.
16053 * grp/Makefile (tests): Change dependencies to ....
16054 (tests-special): ... additions to this variable.
16055 * iconv/Makefile (xtests): Change dependencies to ....
16056 (xtests-special): ... additions to this variable.
16057 * iconvdata/Makefile (tests): Change dependencies to ....
16058 (tests-special): ... additions to this variable.
16059 * intl/Makefile (tests): Change dependencies to ....
16060 (tests-special): ... additions to this variable. Also add
16061 $(objpfx)tst-gettext.out.
16062 * io/Makefile (tests): Change dependencies to ....
16063 (tests-special): ... additions to this variable.
16064 * libio/Makefile (tests): Change dependencies to ....
16065 (tests-special): ... additions to this variable.
16066 * malloc/Makefile (tests): Change dependencies to ....
16067 (tests-special): ... additions to this variable.
16068 * misc/Makefile (tests): Change dependencies to ....
16069 (tests-special): ... additions to this variable.
16070 * nptl/Makefile (tests): Change dependencies to ....
16071 (tests-special): ... additions to this variable.
16072 * nptl_db/Makefile (tests): Change dependencies to ....
16073 (tests-special): ... additions to this variable.
16074 * posix/Makefile (tests): Change dependencies to ....
16075 (tests-special): ... additions to this variable.
16076 (xtests): Change dependencies to ....
16077 (xtests-special): ... additions to this variable.
16078 * resolv/Makefile (tests): Change dependencies to ....
16079 (tests-special): ... additions to this variable.
16080 (xtests): Change dependencies to ....
16081 (xtests-special): ... additions to this variable.
16082 * stdio-common/Makefile (tests): Change dependencies to ....
16083 (tests-special): ... additions to this variable.
16084 (do-tst-unbputc): Remove target.
16085 (do-tst-printf): Likewise.
16086 * stdlib/Makefile (tests): Change dependencies to ....
16087 (tests-special): ... additions to this variable.
16088 * string/Makefile (tests): Change dependencies to ....
16089 (tests-special): ... additions to this variable.
16090 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16091 (tests-special): ... additions to this variable.
16092
81700b53
JM
16093 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16094 whole file.
16095 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16096 whole file.
16097 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16098 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16099
2ea18461
JM
16100 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16101 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16102 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16103 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16104 * conform/data/libgen.h-data [XPG3]: Likewise.
16105 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16106 * conform/data/ndbm.h-data [XPG3]: Likewise.
16107 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16108 * conform/data/netdb.h-data [XPG3]: Likewise.
16109 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16110 * conform/data/poll.h-data [XPG3]: Likewise.
16111 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16112 * conform/data/strings.h-data [XPG3]: Likewise.
16113 * conform/data/stropts.h-data [XPG3]: Likewise.
16114 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16115 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16116 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16117 Likewise.
16118 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16119 * conform/data/sys/time.h-data [XPG3]: Likewise.
16120 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16121 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16122 * conform/data/sys/un.h-data [XPG3]: Likewise.
16123 * conform/data/syslog.h-data [XPG3]: Likewise.
16124 * conform/data/ucontext.h-data [XPG3]: Likewise.
16125 * conform/data/utmpx.h-data [XPG3]: Likewise.
16126 * conform/data/varargs.h-data [UNIX98]: Enable file.
16127
355bc986
JM
16128 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16129
215db402
JM
16130 * math/libm-test.inc (struct test_f_f_data): Move expected results
16131 into structure for each rounding mode.
16132 (struct test_ff_f_data): Likewise.
16133 (struct test_ff_f_data_nexttoward): Likewise.
16134 (struct test_fi_f_data): Likewise.
16135 (struct test_fl_f_data): Likewise.
16136 (struct test_if_f_data): Likewise.
16137 (struct test_fff_f_data): Likewise.
16138 (struct test_c_f_data): Likewise.
16139 (struct test_f_f1_data): Likewise.
16140 (struct test_fF_f1_data): Likewise.
16141 (struct test_ffI_f1_data): Likewise.
16142 (struct test_c_c_data): Likewise.
16143 (struct test_cc_c_data): Likewise.
16144 (struct test_f_i_data): Likewise.
16145 (struct test_ff_i_data): Likewise.
16146 (struct test_f_l_data): Likewise.
16147 (struct test_f_L_data): Likewise.
16148 (struct test_fFF_11_data): Likewise.
16149 (RM_): New macro.
16150 (RM_FE_DOWNWARD): Likewise.
16151 (RM_FE_TONEAREST): Likewise.
16152 (RM_FE_TOWARDZERO): Likewise.
16153 (RM_FE_UPWARD): Likewise.
16154 (RUN_TEST_LOOP_f_f): Update references to expected results.
16155 (RUN_TEST_LOOP_2_f): Likewise.
16156 (RUN_TEST_LOOP_fff_f): Likewise.
16157 (RUN_TEST_LOOP_c_f): Likewise.
16158 (RUN_TEST_LOOP_f_f1): Likewise.
16159 (RUN_TEST_LOOP_fF_f1): Likewise.
16160 (RUN_TEST_LOOP_fI_f1): Likewise.
16161 (RUN_TEST_LOOP_ffI_f1): Likewise.
16162 (RUN_TEST_LOOP_c_c): Likewise.
16163 (RUN_TEST_LOOP_cc_c): Likewise.
16164 (RUN_TEST_LOOP_f_i): Likewise.
16165 (RUN_TEST_LOOP_f_i_tg): Likewise.
16166 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16167 (RUN_TEST_LOOP_f_b): Likewise.
16168 (RUN_TEST_LOOP_f_b_tg): Likewise.
16169 (RUN_TEST_LOOP_f_l): Likewise.
16170 (RUN_TEST_LOOP_f_L): Likewise.
16171 (RUN_TEST_LOOP_fFF_11): Likewise.
16172 * math/gen-libm-test.pl (parse_args): Output four copies of
16173 expected results for each test.
16174
67737b8f
JM
16175 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16176 (__ASSUME_UTIMES): Remove.
16177 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16178 (__ASSUME_UTIMES): Likewise.
16179
aa97dee1
JM
16180 * math/gen-auto-libm-tests.c: Update comment on output format.
16181 (output_for_one_input_case): Generate before-rounding and
16182 after-rounding information as conditions on output flags not
16183 floating-point format.
16184 * math/auto-libm-test-out: Regenerated.
16185 * math/gen-libm-test.pl (cond_value): New function.
16186 (or_cond_value): Use cond_value.
16187 (generate_testfile): Handle conditional exceptions.
16188
e6b6a857
JM
161892014-03-05 Joseph Myers <joseph@codesourcery.com>
16190
2f0a0f44
JM
16191 * math/libm-test.inc (max_valid_error): New variable.
16192 (init_max_error): Take new argument specifying whether function
16193 results are exactly determined. Set max_valid_error and bound
16194 other variables for errors based on this argument.
16195 (set_max_error): Do not record results above max_valid_error.
16196 (check_float_internal): Only accept errors of up to 0.5ulps if
16197 also at most max_valid_error.
16198 (START): Take new argument EXACT and pass it to init_max_error.
16199 (acos_test): Update call to START.
16200 (acos_test_tonearest): Likewise.
16201 (acos_test_towardzero): Likewise.
16202 (acos_test_downward): Likewise.
16203 (acos_test_upward): Likewise.
16204 (acosh_test): Likewise.
16205 (asin_test): Likewise.
16206 (asin_test_tonearest): Likewise.
16207 (asin_test_towardzero): Likewise.
16208 (asin_test_downward): Likewise.
16209 (asin_test_upward): Likewise.
16210 (asinh_test): Likewise.
16211 (atan_test): Likewise.
16212 (atanh_test): Likewise.
16213 (atan2_test): Likewise.
16214 (cabs_test): Likewise.
16215 (cacos_test): Likewise.
16216 (cacosh_test): Likewise.
16217 (carg_test): Likewise.
16218 (casin_test): Likewise.
16219 (casinh_test): Likewise.
16220 (catan_test): Likewise.
16221 (catanh_test): Likewise.
16222 (cbrt_test): Likewise.
16223 (ccos_test): Likewise.
16224 (ccosh_test): Likewise.
16225 (ceil_test): Likewise.
16226 (cexp_test): Likewise.
16227 (cimag_test): Likewise.
16228 (clog_test): Likewise.
16229 (clog10_test): Likewise.
16230 (conj_test): Likewise.
16231 (copysign_test): Likewise.
16232 (cos_test): Likewise.
16233 (cos_test_tonearest): Likewise.
16234 (cos_test_towardzero): Likewise.
16235 (cos_test_downward): Likewise.
16236 (cos_test_upward): Likewise.
16237 (cosh_test): Likewise.
16238 (cosh_test_tonearest): Likewise.
16239 (cosh_test_towardzero): Likewise.
16240 (cosh_test_downward): Likewise.
16241 (cosh_test_upward): Likewise.
16242 (cpow_test): Likewise.
16243 (cproj_test): Likewise.
16244 (creal_test): Likewise.
16245 (csin_test): Likewise.
16246 (csinh_test): Likewise.
16247 (csqrt_test): Likewise.
16248 (ctan_test): Likewise.
16249 (ctan_test_tonearest): Likewise.
16250 (ctan_test_towardzero): Likewise.
16251 (ctan_test_downward): Likewise.
16252 (ctan_test_upward): Likewise.
16253 (ctanh_test): Likewise.
16254 (ctanh_test_tonearest): Likewise.
16255 (ctanh_test_towardzero): Likewise.
16256 (ctanh_test_downward): Likewise.
16257 (ctanh_test_upward): Likewise.
16258 (erf_test): Likewise.
16259 (erfc_test): Likewise.
16260 (exp_test): Likewise.
16261 (exp_test_tonearest): Likewise.
16262 (exp_test_towardzero): Likewise.
16263 (exp_test_downward): Likewise.
16264 (exp_test_upward): Likewise.
16265 (exp10_test): Likewise.
16266 (exp10_test_tonearest): Likewise.
16267 (exp10_test_towardzero): Likewise.
16268 (exp10_test_downward): Likewise.
16269 (exp10_test_upward): Likewise.
16270 (pow10_test): Likewise.
16271 (exp2_test): Likewise.
16272 (expm1_test): Likewise.
16273 (expm1_test_tonearest): Likewise.
16274 (expm1_test_towardzero): Likewise.
16275 (expm1_test_downward): Likewise.
16276 (expm1_test_upward): Likewise.
16277 (fabs_test): Likewise.
16278 (fdim_test): Likewise.
16279 (floor_test): Likewise.
16280 (fma_test): Likewise.
16281 (fma_test_towardzero): Likewise.
16282 (fma_test_downward): Likewise.
16283 (fma_test_upward): Likewise.
16284 (fmax_test): Likewise.
16285 (fmin_test): Likewise.
16286 (fmod_test): Likewise.
16287 (fpclassify_test): Likewise.
16288 (frexp_test): Likewise.
16289 (hypot_test): Likewise.
16290 (ilogb_test): Likewise.
16291 (isfinite_test): Likewise.
16292 (finite_test): Likewise.
16293 (isgreater_test): Likewise.
16294 (isgreaterequal_test): Likewise.
16295 (isinf_test): Likewise.
16296 (isless_test): Likewise.
16297 (islessequal_test): Likewise.
16298 (islessgreater_test): Likewise.
16299 (isnan_test): Likewise.
16300 (isnormal_test): Likewise.
16301 (issignaling_test): Likewise.
16302 (isunordered_test): Likewise.
16303 (j0_test): Likewise.
16304 (j1_test): Likewise.
16305 (jn_test): Likewise.
16306 (ldexp_test): Likewise.
16307 (lgamma_test): Likewise.
16308 (gamma_test): Likewise.
16309 (lrint_test): Likewise.
16310 (lrint_test_tonearest): Likewise.
16311 (lrint_test_towardzero): Likewise.
16312 (lrint_test_downward): Likewise.
16313 (lrint_test_upward): Likewise.
16314 (llrint_test): Likewise.
16315 (llrint_test_tonearest): Likewise.
16316 (llrint_test_towardzero): Likewise.
16317 (llrint_test_downward): Likewise.
16318 (llrint_test_upward): Likewise.
16319 (log_test): Likewise.
16320 (log10_test): Likewise.
16321 (log1p_test): Likewise.
16322 (log2_test): Likewise.
16323 (logb_test): Likewise.
16324 (logb_test_downward): Likewise.
16325 (lround_test): Likewise.
16326 (llround_test): Likewise.
16327 (modf_test): Likewise.
16328 (nearbyint_test): Likewise.
16329 (nextafter_test): Likewise.
16330 (nexttoward_test): Likewise.
16331 (pow_test): Likewise.
16332 (pow_test_tonearest): Likewise.
16333 (pow_test_towardzero): Likewise.
16334 (pow_test_downward): Likewise.
16335 (pow_test_upward): Likewise.
16336 (remainder_test): Likewise.
16337 (drem_test): Likewise.
16338 (remainder_test_tonearest): Likewise.
16339 (drem_test_tonearest): Likewise.
16340 (remainder_test_towardzero): Likewise.
16341 (drem_test_towardzero): Likewise.
16342 (remainder_test_downward): Likewise.
16343 (drem_test_downward): Likewise.
16344 (remainder_test_upward): Likewise.
16345 (drem_test_upward): Likewise.
16346 (remquo_test): Likewise.
16347 (rint_test): Likewise.
16348 (rint_test_tonearest): Likewise.
16349 (rint_test_towardzero): Likewise.
16350 (rint_test_downward): Likewise.
16351 (rint_test_upward): Likewise.
16352 (round_test): Likewise.
16353 (scalb_test): Likewise.
16354 (scalbn_test): Likewise.
16355 (scalbln_test): Likewise.
16356 (signbit_test): Likewise.
16357 (sin_test): Likewise.
16358 (sin_test_tonearest): Likewise.
16359 (sin_test_towardzero): Likewise.
16360 (sin_test_downward): Likewise.
16361 (sin_test_upward): Likewise.
16362 (sincos_test): Likewise.
16363 (sinh_test): Likewise.
16364 (sinh_test_tonearest): Likewise.
16365 (sinh_test_towardzero): Likewise.
16366 (sinh_test_downward): Likewise.
16367 (sinh_test_upward): Likewise.
16368 (sqrt_test): Likewise.
16369 (sqrt_test_tonearest): Likewise.
16370 (sqrt_test_towardzero): Likewise.
16371 (sqrt_test_downward): Likewise.
16372 (sqrt_test_upward): Likewise.
16373 (tan_test): Likewise.
16374 (tan_test_tonearest): Likewise.
16375 (tan_test_towardzero): Likewise.
16376 (tan_test_downward): Likewise.
16377 (tan_test_upward): Likewise.
16378 (tanh_test): Likewise.
16379 (tgamma_test): Likewise.
16380 (trunc_test): Likewise.
16381 (y0_test): Likewise.
16382 (y1_test): Likewise.
16383 (yn_test): Likewise.
16384 (significand_test): Likewise.
16385
e6b6a857
JM
16386 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16387 individual tests in comment.
16388 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16389 (prev_max_error): New variable.
16390 (prev_real_max_error): Likewise.
16391 (prev_imag_max_error): Likewise.
16392 (compare_ulp_data): Don't refer to test names in comment.
16393 (find_test_ulps): Remove function.
16394 (find_function_ulps): Likewise.
16395 (find_complex_function_ulps): Likewise.
16396 (init_max_error): Take function name as argument. Look up ulps
16397 for that function.
16398 (print_ulps): Remove function.
16399 (print_max_error): Use prev_max_error instead of calling
16400 find_function_ulps.
16401 (print_complex_max_error): Use prev_real_max_error and
16402 prev_imag_max_error instead of calling find_complex_function_ulps.
16403 (check_float_internal): Take max_ulp parameter instead of calling
16404 find_test_ulps. Don't call print_ulps.
16405 (check_float): Update call to check_float_internal.
16406 (check_complex): Update calls to check_float_internal.
16407 (START): Pass argument to init_max_error.
16408 * math/gen-libm-test.pl (%results): Don't include "kind"
16409 information.
16410 (parse_ulps): Don't handle ulps of individual tests.
16411 (print_ulps_file): Likewise.
16412 (output_ulps): Likewise.
16413 * math/README.libm-test: Update.
16414 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16415 individual tests.
16416 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16417 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16418 * sysdeps/arm/libm-test-ulps: Likewise.
16419 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16420 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16421 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16422 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16423 * sysdeps/microblaze/libm-test-ulps: Likewise.
16424 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16425 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16426 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16427 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16428 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16429 * sysdeps/sh/libm-test-ulps: Likewise.
16430 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16431 * sysdeps/tile/libm-test-ulps: Likewise.
16432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16433
45adef3c
JM
164342014-03-04 Joseph Myers <joseph@codesourcery.com>
16435
16436 * math/libm-test.inc (print_complex_max_error): Check separately
16437 whether real and imaginary errors are within allowed range and
16438 pass 0 to print_complex_function_ulps instead of value within
16439 allowed range.
16440
000232b9
SP
164412014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16442
d4b17258
SP
16443 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16444 formatting.
16445 (get_handles_fopen): Likewise.
16446 (do_write_test): Likewise.
16447
091eff71
SP
16448 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16449
fa3cd248
SP
16450 * libio/fileops.c (do_ftell): Use cached offset when
16451 available.
16452 * libio/iofwide.c (do_ftell_wide): Likewise.
16453 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16454 _IO_file_attach.
16455 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16456
000232b9
SP
16457 [BZ #16532]
16458 * libio/libioP.h (get_file_offset): New function.
16459 * libio/fileops.c (get_file_offset): Likewise.
16460 (do_ftell): Likewise.
16461 (_IO_new_file_seekoff): Split out ftell logic.
16462 * libio/wfileops.c (do_ftell_wide): Likewise.
16463 (_IO_wfile_seekoff): Split out ftell logic.
16464 * libio/tst-ftell-active-handler.c: New test case.
16465 * libio/Makefile (tests): Add it.
16466
116f4d1a
RM
164672014-03-03 Roland McGrath <roland@hack.frob.com>
16468
16469 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16470 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16471
532a6035
SP
164722014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16473
16474 [BZ #16639]
16475 * nscd/connections.c (nscd_init): Call do_exit.
16476 (start_threads): Call do_exit and notify_parent.
16477 (begin_drop_privileges): Call do_exit.
16478 (finish_drop_privileges): Likewise.
16479 * nscd/selinux.c (preserve_capabilities): Likewise.
16480 (install_real_capabilities): Likewise.
16481 (nscd_selinux_enabled): Likewise.
16482 (avc_create_thread): Likewise.
16483 (avc_alloc_lock): Likewise.
16484 (nscd_avc_init): Likewise.
16485 * nscd/nscd.c (parent_fd): New static variable.
16486 (main): Create a pipe between parent and child processes.
16487 Skip closing parent_fd.
16488 (monitor_child): New function.
16489 (do_exit): Likewise.
16490 (notify_parent): Likewise.
16491 * nscd/nscd.h (notify_parent): Likewise.
16492 (do_exit): Likewise.
16493
d6285c9f
CD
164942014-03-03 Carlos O'Donell <carlos@redhat.com>
16495
16496 * malloc/malloc.c (__libc_calloc): Revert last change.
16497
2b85d2a0
AZ
164982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16499
16500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16501
c7debbdf
RS
165022014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16503
16504 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16506 implementation.
16507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16508 (__libc_ifunc_impl_list): Likewise.
16509 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16510 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16511 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16512 * string/strrchr.c: Define STRRCHR.
16513
235eed86
OB
165142014-02-28 Ondřej Bílka <neleai@seznam.cz>
16515
16516 * benchtest/bench-strtok.c (simple_strtok): Delete.
16517 (strtok_string): Use as benchmark.
16518 * string/strtok (STRTOK): New macro.
16519
8e25d1e7
CD
165202014-02-28 Carlos O'Donell <carlos@redhat.com>
16521
ef563f92
CD
16522 * manual/threads.texi: Add header and standard comments to all
16523 functions.
16524
8e25d1e7
CD
16525 * elf/dl-lookup.c (check_match): New function.
16526 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16527 (do_lookup_x): Remove nested function check_match. Use non-nested
16528 function check_match.
16529
ff71cc37
RM
165302014-02-28 Roland McGrath <roland@hack.frob.com>
16531
f08e9a26
RM
16532 * csu/Makefile (generated, before-compile): Use += rather than =.
16533 * catgets/Makefile (generated, generated-dirs): Likewise.
16534 * debug/Makefile (generated): Likewise.
16535 * dlfcn/Makefile (generated): Likewise.
16536 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16537 * iconvdata/Makefile (before-compile, generated): Likewise.
16538 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16539 * libio/Makefile (generated): Likewise.
16540 * malloc/Makefile (generated): Likewise.
16541 * manual/Makefile (generated, generated-dirs): Likewise.
16542 * misc/Makefile (generated): Likewise.
16543 * posix/Makefile (generated): Likewise.
16544 * resolv/Makefile (generated): Likewise.
16545 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16546 * timezone/Makefile (generated, generated-dirs): Likewise.
16547
ff71cc37
RM
16548 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16549
fe13a20c
AZ
165502014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16551
57f41c40
AS
16552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16553 power8 implementation.
16554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16555 file: POWER8 llround ifunc implementation.
16556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16557 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16558 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16559 POWER8 llround implementation.
16560
57f41c40
AS
16561 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16562 power8 implementation.
16563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16564 file: POWER8 llrint ifunc implementation.
16565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16566 Add POWER8 implementation.
1ad8950a
AZ
16567 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16568 POWER8 llrint implementation.
16569
57f41c40
AS
16570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16571 power8 implementation.
16572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16573 file: POWER8 finite ifunc implementation.
16574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16575 Add POWER8 implementation.
cac626d6
AZ
16576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16577 Likewise.
16578 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16579 POWER8 finite implementation.
16580 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16581
57f41c40
AS
16582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16583 power8 implementation.
16584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16585 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16587 POWER8 implementation.
16588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16589 Likewise.
57f41c40
AS
16590 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16591 isinf implementation.
4393fc11
AZ
16592 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16593
57f41c40
AS
16594 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16595 (INIT_ARCH): Add hwcap2 initialization.
16596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16597 power8 implementation.
16598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16599 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16601 POWER8 implementation.
16602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16603 Likewise.
57f41c40
AS
16604 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16605 isnan implementation.
487972ae
AZ
16606 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16607
7d92b787
JY
166082014-02-27 Joey Ye <joey.ye@arm.com>
16609
16610 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16611 (_FP_NANFRAC_Q): Set to zero.
16612
1cadc858
SP
166132014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16614
16615 [BZ #16623]
16616 * math/auto-libm-test-in: New test inputs.
16617 * math/auto-libm-test-out: Regenerate.
16618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16619 and DA.
16620 (__cos): Likewise.
16621 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16622
f8c17e79
JM
166232014-02-27 Joseph Myers <joseph@codesourcery.com>
16624
16625 * scripts/evaluate-test.sh: Take new argument indicating whether
16626 failure is expected.
16627 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16628 indicating whether failure is expected.
16629 * conform/Makefile (test-xfail-run-conformtest): New variable.
16630 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16631 level.
16632 * posix/Makefile (test-xfail-annexc): New variable.
16633 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16634
a5f891ac
JM
166352014-02-26 Joseph Myers <joseph@codesourcery.com>
16636
16637 * argp/Makefile: Include Makeconfig immediately after defining
16638 subdir.
16639 * assert/Makefile: Likewise.
16640 * benchtests/Makefile: Likewise.
16641 * catgets/Makefile: Likewise.
16642 * conform/Makefile: Likewise.
16643 * crypt/Makefile: Likewise.
16644 * csu/Makefile: Likewise.
16645 (all): Remove target.
16646 * ctype/Makefile: Include Makeconfig immediately after defining
16647 subdir.
16648 * debug/Makefile: Likewise.
16649 * dirent/Makefile: Likewise.
16650 * dlfcn/Makefile: Likewise.
16651 * gmon/Makefile: Likewise.
16652 * gnulib/Makefile: Likewise.
16653 * grp/Makefile: Likewise.
16654 * gshadow/Makefile: Likewise.
16655 * hesiod/Makefile: Likewise.
16656 * hurd/Makefile: Likewise.
16657 (all): Remove target.
16658 * iconvdata/Makefile: Include Makeconfig immediately after
16659 defining subdir.
16660 * inet/Makefile: Likewise.
16661 * intl/Makefile: Likewise.
16662 * io/Makefile: Likewise.
16663 * libio/Makefile: Likewise.
16664 (all): Remove target.
16665 * locale/Makefile: Include Makeconfig immediately after defining
16666 subdir.
16667 * login/Makefile: Likewise.
16668 * mach/Makefile: Likewise.
16669 (all): Remove target.
16670 * malloc/Makefile: Include Makeconfig immediately after defining
16671 subdir.
16672 (all): Remove target.
16673 * manual/Makefile: Include Makeconfig immediately after defining
16674 subdir.
16675 * math/Makefile: Likewise.
16676 * misc/Makefile: Likewise.
16677 * nis/Makefile: Likewise.
16678 * nss/Makefile: Likewise.
16679 * po/Makefile: Likewise.
16680 (all): Remove target.
16681 * posix/Makefile: Include Makeconfig immediately after defining
16682 subdir.
16683 * pwd/Makefile: Likewise.
16684 * resolv/Makefile: Likewise.
16685 * resource/Makefile: Likewise.
16686 * rt/Makefile: Likewise.
16687 * setjmp/Makefile: Likewise.
16688 * shadow/Makefile: Likewise.
16689 * signal/Makefile: Likewise.
16690 * socket/Makefile: Likewise.
16691 * soft-fp/Makefile: Likewise.
16692 * stdio-common/Makefile: Likewise.
16693 * stdlib/Makefile: Likewise.
16694 * streams/Makefile: Likewise.
16695 * string/Makefile: Likewise.
16696 * sunrpc/Makefile: Likewise.
16697 (all): Remove target.
16698 * sysvipc/Makefile: Include Makeconfig immediately after defining
16699 subdir.
16700 * termios/Makefile: Likewise.
16701 * time/Makefile: Likewise.
16702 * timezone/Makefile: Likewise.
16703 (all): Remove target.
16704 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16705 subdir.
16706 * wctype/Makefile: Likewise.
16707
5b456e9d
SE
167082014-02-26 Steve Ellcey <sellcey@mips.com>
16709
16710 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16711 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16712 (libc_feholdexcept_setround_mips): Ditto.
16713 (libc_feholdsetround): New.
16714 (libc_feholdsetroundf): New.
16715 (libc_feholdsetroundl): New.
16716 (libc_feupdateenv_test_mips): New.
16717 (libc_feupdateenv_test): New.
16718 (libc_feupdateenv_testf): New.
16719 (libc_feupdateenv_testl): New.
16720 (libc_feresetround): New.
16721 (libc_feresetroundf): New.
16722 (libc_feresetroundl): New.
16723 (libc_fetestexcept_mips): New.
16724 (libc_fetestexcept): New.
16725 (libc_fetestexceptf): New.
16726 (libc_fetestexceptl): New.
16727 (HAVE_RM_CTX): New.
16728 (libc_feholdexcept_setround_mips_ctx): New.
16729 (libc_feholdexcept_setround_ctx): New.
16730 (libc_feholdexcept_setroundf_ctx): New.
16731 (libc_feholdexcept_setroundl_ctx): New.
16732 (libc_fesetenv_mips_ctx): New.
16733 (libc_fesetenv_ctx): New.
16734 (libc_fesetenv_ctxf): New.
16735 (libc_fesetenv_ctxl): New.
16736 (libc_feupdateenv_mips_ctx): New.
16737 (libc_feupdateenv_ctx): New.
16738 (libc_feupdateenvf_ctx): New.
16739 (libc_feupdateenvl_ctx): New.
16740 (libc_feholdsetround_mips_ctx): New.
16741 (libc_feholdsetround_ctx): New.
16742 (libc_feholdsetroundf_ctx): New.
16743 (libc_feholdsetroundl_ctx): New.
16744 (libc_feresetround_mips_ctx): New.
16745 (libc_feresetround_ctx): New.
16746 (libc_feresetroundf_ctx): New.
16747 (libc_feresetroundl_ctx): New.
16748
085d0e35
CD
167492014-02-26 Carlos O'Donell <carlos@redhat.com>
16750
f067bf1f
CD
16751 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16752
085d0e35
CD
16753 * manual/ipc.texi: New file.
16754 * manual/Makefile (chapters): Add ipc.
16755 * manual/job.texi: Add "Inter-Process Communication" to next.
16756 * manual/process.texi: Add "Inter-Process Communication" to prev.
16757
86e58c08
AZ
167582014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16759
16760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16761
4248f0da
OB
167622014-02-26 Ondřej Bílka <neleai@seznam.cz>
16763
16764 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16765
cf822e3c
OB
16766 * manual/arith.texi: Fix spaces after sentences.
16767 * manual/charset.texi: Likewise.
16768 * manual/errno.texi: Likewise.
16769 * manual/install.texi: Likewise.
16770 * manual/llio.texi: Likewise.
16771 * manual/locale.texi: Likewise.
16772 * manual/maint.texi: Likewise.
16773 * manual/math.texi: Likewise.
16774 * manual/memory.texi: Likewise.
16775 * manual/message.texi: Likewise.
16776 * manual/probes.texi: Likewise.
16777 * manual/resource.texi: Likewise.
16778 * manual/signal.texi: Likewise.
16779 * manual/socket.texi: Likewise.
16780 * manual/stdio.texi: Likewise.
16781 * manual/string.texi: Likewise.
16782 * manual/time.texi: Likewise.
16783 * manual/users.texi: Likewise.
16784
ade40b10
CD
167852014-02-25 Carlos O'Donell <carlos@redhat.com>
16786
16787 [BZ #16632]
16788 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16789 _DEFAULT_SOURCE is defined.
16790
d0503676
CD
167912014-02-25 Ulrich Drepper <drepper@gmail.com>
16792 Carlos O'Donell <carlos@redhat.com>
16793
16794 [BZ #16613]
16795 * elf/dl-tls.c (_dl_count_modids): New function.
16796 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16797 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16798 audit library and increment generation counter.
16799 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16800 * elf/tst-audit9.c: New file.
16801 * elf/tst-auditmod9a.c: New file.
16802 * elf/tst-auditmod9b.c: New file.
16803 * elf/Makefile: Add rules to build and run tst-audit9.
16804
4cbf380c
FW
168052014-02-25 Florian Weimer <fweimer@redhat.com>
16806
16807 [BZ #15347]
16808 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16809
80a56cc3
WN
168102014-02-25 Will Newton <will.newton@linaro.org>
16811
16812 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16813 (__longjmp): Restore sp and lr before restoring callee
16814 saved registers. Add longjmp and longjmp_target
16815 SystemTap probe point.
16816 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16817 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16818 Define to zero to match jmpbuf layout.
16819 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16820 (__sigsetjmp): Save sp and lr before saving callee
16821 saved registers. Add setjmp SystemTap probe point.
16822
3ea0f74e
SL
168232014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16824
16825 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16826
b04acb26
AS
168272014-02-24 Andreas Schwab <schwab@suse.de>
16828
16829 [BZ #15804]
16830 * elf/pldd.c (wait_for_ptrace_stop): New function.
16831 (main): Call it after attaching.
16832
098ad55c
RM
168332014-02-22 Roland McGrath <roland@hack.frob.com>
16834
d4ec6ae1
RM
16835 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16836 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16837 Versions files is now verboten.
16838 * hurd/Versions (libc: GLIBC_2.0):
16839 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16840 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16841 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16842 * mach/Versions: Likewise.
16843
098ad55c
RM
16844 * csu/Versions: Remove unused %include.
16845 * resolv/Versions: Likewise.
16846
acd7f096
JM
168472014-02-21 Joseph Myers <joseph@codesourcery.com>
16848
f0881698
JM
16849 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16850 ($(objpfx)check-local-headers.out): Likewise.
16851 ($(objpfx)begin-end-check.out): Likewise.
16852 * Makerules (check-abi-%.out): Likewise.
16853 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16854 ($(objpfx)test2.cat): Likewise.
16855 ($(objpfx)de/libc.cat): Likewise.
16856 ($(objpfx)test-gencat.out): Likewise.
16857 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16858 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16859 ($(objpfx)noload-mem): Likewise.
16860 ($(objpfx)tst-pathopt.out): Likewise.
16861 ($(objpfx)tst-rtld-load-self.out): Likewise.
16862 ($(objpfx)tst-array1-cmp.out): Likewise.
16863 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16864 ($(objpfx)tst-array2-cmp.out): Likewise.
16865 ($(objpfx)tst-array3-cmp.out): Likewise.
16866 ($(objpfx)tst-array4-cmp.out): Likewise.
16867 ($(objpfx)tst-array5-cmp.out): Likewise.
16868 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16869 ($(objpfx)check-textrel.out): Likewise.
16870 ($(objpfx)check-execstack.out): Likewise.
16871 ($(objpfx)check-localplt.out): Likewise.
16872 ($(objpfx)order2-cmp.out): Likewise.
16873 ($(objpfx)tst-leaks1-mem): Likewise.
16874 ($(objpfx)tst-leaks1-static-mem): Likewise.
16875 ($(objpfx)tst-initorder-cmp.out): Likewise.
16876 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16877 ($(objpfx)tst-unused-dep.out): Likewise.
16878 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16879 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16880 * iconv/Makefile (test-iconvconfig): Likewise.
16881 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16882 ($(objpfx)iconv-test.out): Likewise.
16883 ($(objpfx)tst-tables.out): Likewise.
16884 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16885 ($(objpfx)tst-gettext.out): Likewise.
16886 ($(objpfx)tst-translit.out): Likewise.
16887 ($(objpfx)tst-gettext2.out): Likewise.
16888 ($(objpfx)tst-gettext4.out): Likewise.
16889 ($(objpfx)tst-gettext6.out): Likewise.
16890 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16891 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16892 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16893 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16894 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16895 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16896 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16897 ($(objpfx)wordexp-tst.out): Likewise.
16898 ($(objpfx)annexc.out): Likewise.
16899 ($(objpfx)tst-fnmatch-mem): Likewise.
16900 ($(objpfx)bug-regex2-mem): Likewise.
16901 ($(objpfx)bug-regex14-mem): Likewise.
16902 ($(objpfx)bug-regex21-mem): Likewise.
16903 ($(objpfx)bug-regex31-mem): Likewise.
16904 ($(objpfx)tst-vfork3-mem): Likewise.
16905 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16906 ($(objpfx)tst-pcre-mem): Likewise.
16907 ($(objpfx)tst-boost-mem): Likewise.
16908 ($(objpfx)tst-getconf.out): Likewise.
16909 ($(objpfx)bug-ga2-mem): Likewise.
16910 ($(objpfx)bug-glob2-mem): Likewise.
16911 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16912 ($(objpfx)mtrace-tst-leaks2): Likewise.
16913 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16914 ($(objpfx)tst-printf.out): Likewise.
16915 ($(objpfx)tst-setvbuf1.out): Likewise.
16916 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16917 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16918 ($(objpfx)tst-fmtmsg.out): Likewise.
16919 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16920 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16921
acd7f096
JM
16922 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16923 * bits/sigaction.h [__USE_MISC]: Likewise.
16924 * bits/waitstatus.h: Update #endif comments.
16925 * ctype/ctype.h: Likewise.
16926 * dirent/dirent.h: Likewise.
16927 [__USE_MISC]: Remove redundant conditionals.
16928 * grp/grp.h: Update #endif comments.
16929 [__USE_GNU]: Remove redundant conditionals.
16930 [__USE_MISC]: Likewise.
16931 * inet/netinet/in.h [__USE_GNU]: Likewise.
16932 * io/sys/stat.h [__USE_MISC]: Likewise.
16933 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16934 * libio/bits/stdio.h: Update #endif comments.
16935 [__USE_MISC]: Remove redundant conditionals.
16936 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16937 * libio/stdio.h: Update #endif comments.
16938 [__USE_MISC]: Remove redundant conditionals.
16939 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16940 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16941 * math/math.h: Update #else and #endif comments.
16942 [__USE_MISC]: Remove redundant conditionals.
16943 * misc/sys/uio.h: Update #endif comments.
16944 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16945 * posix/glob.h [__USE_MISC]: Likewise.
16946 * posix/sys/types.h: Update #endif comments.
16947 [__USE_MISC]: Remove redundant conditionals.
16948 * posix/sys/wait.h: Update #endif comments.
16949 [__USE_MISC]: Remove redundant conditionals.
16950 * posix/unistd.h: Update #endif comments.
16951 [__USE_MISC]: Remove redundant conditionals.
16952 * pwd/pwd.h [__USE_GNU]: Likewise.
16953 [__USE_MISC]: Likewise.
16954 * resolv/netdb.h [__USE_GNU]: Likewise.
16955 * signal/signal.h: Update #endif comments.
16956 [__USE_MISC]: Remove redundant conditionals.
16957 * stdlib/stdlib.h: Update #else and #endif comments.
16958 [__USE_MISC]: Remove redundant conditionals.
16959 [__USE_GNU]: Likewise.
16960 * string/bits/string2.h [__USE_MISC]: Likewise.
16961 * string/string.h: Update #endif comments.
16962 [__USE_MISC]: Remove redundant conditionals.
16963 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16964 Likewise.
16965 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16966 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16967 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16968 Likewise.
16969 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16970 Likewise.
16971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16972 comments.
16973 [__USE_MISC]: Remove redundant conditionals.
16974 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16975 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16976 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16977 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16978 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16981 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16982 Likewise.
16983 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16984 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16985 Likewise.
16986 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16987 Likewise.
16988 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16989 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16990 Likewise.
16991 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16992 Likewise.
16993 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16994 * sysdeps/x86/bits/string.h: Update #endif comments.
16995 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16996 conditionals.
16997 * time/sys/time.h: Update #endif comments.
16998 * time/time.h: Likewise.
16999 [__USE_MISC]: Remove redundant conditionals.
17000
a5d82e4e
YG
170012014-02-21 Yury Gribov <y.gribov@samsung.com>
17002
17003 [BZ #16600]
17004 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17005
9a80491d
AS
170062014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17007
17008 * Versions.def (librt): Add GLIBC_2.17.
17009
105fa381
AC
170102014-02-21 Adam Conrad <adconrad@0c3.net>
17011
17012 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17013 synonym for _SYS_AUXV_H to allow direct inclusion.
17014 * sysdeps/sparc/bits/hwcap.h: Likewise.
17015 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17016 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17017 * sysdeps/sparc/sysdep.h: Likewise.
17018
b8cd1c4e
SP
170192014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17020
17021 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17022
bd939d23
RS
170232014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17024
17025 * benchtests/bench-strrchr.c: Print length instead of position.
17026
5d7b57ca
JM
170272014-02-20 Joseph Myers <joseph@codesourcery.com>
17028
bc688c10
JM
17029 [BZ #16611]
17030 * sysdeps/unix/sysv/linux/kernel-features.h
17031 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17032 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17033 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17034 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17035 Likewise.
17036 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17037 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17038 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17039 (__ASSUME_SENDMMSG): Define instead of using previous
17040 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17041 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17042 (__ASSUME_SENDMMSG_SYSCALL): Define.
17043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17044 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17045 Likewise.
17046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17047 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17048 Likewise.
17049 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17050 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17051 Likewise.
17052 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17053 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17054 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17055 [__ASSUME_SENDMMSG]: Change conditionals to
17056 [__ASSUME_SENDMMSG_SOCKETCALL].
17057 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17058 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17059 Define.
17060 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17061 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17062 Likewise.
17063 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17064 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17065 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17066 [!__ASSUME_SENDMMSG]: Change conditional to
17067 [!__ASSUME_SENDMMSG_SOCKETCALL].
17068 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17069 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17070 Define.
17071
0e31b18c
JM
17072 [BZ #16610]
17073 * sysdeps/unix/sysv/linux/kernel-features.h
17074 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17075 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17076 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17077 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17078 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17079 [__i386__ || __sparc__]
17080 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17081 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17082 (__ASSUME_RECVMMSG): Define instead of using previous
17083 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17084 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17085 (__ASSUME_RECVMMSG_SYSCALL): Define.
17086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17087 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17088 Likewise.
17089 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17090 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17091 Likewise.
17092 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17093 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17094 Likewise.
17095 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17096 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17097 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17098 [__ASSUME_RECVMMSG]: Change condition to
17099 [__ASSUME_RECVMMSG_SOCKETCALL].
17100 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17101 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17102 Define.
17103 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17104 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17105 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17106 Likewise.
17107 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17108 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17109 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17110 [!__ASSUME_RECVMMSG]: Change condition to
17111 [!__ASSUME_RECVMMSG_SOCKETCALL].
17112 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17113 (__ASSUME_RECVMMSG_SYSCALL): Define.
17114
dd481ccf
JM
17115 [BZ #16609]
17116 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17117 __powerpc__ || __s390__ || __sh__ || __sparc__]
17118 (__ASSUME_SOCKETCALL): Define.
17119 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17120 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17121 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17122 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17123 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17124 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17125 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17126 (__ASSUME_ACCEPT4): Define instead of using previous
17127 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17128 __powerpc__ || __sparc__ || __s390__)] condition.
17129 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17130 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17131 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17132 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17133 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17134 [!__ASSUME_ACCEPT4]: Change condition to
17135 [!__ASSUME_ACCEPT4_SOCKETCALL].
17136 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17137 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17138 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17140 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17141 __ASSUME_ACCEPT4_SYSCALL.
17142 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17143 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17144 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17145 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17146 __ASSUME_ACCEPT4_SYSCALL.
17147 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17148 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17149 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17150 [__ASSUME_ACCEPT4]: Change condition to
17151 [__ASSUME_ACCEPT4_SOCKETCALL].
17152 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17153 (__ASSUME_SOCKETCALL): Define.
17154 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17156 (__ASSUME_SOCKETCALL): Define.
17157 (__ASSUME_ACCEPT4): Remove.
17158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17159 Define.
17160 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17161 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17162 Likewise.
17163 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17164 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17165
5d7b57ca
JM
17166 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17167 macro.
17168 (HWCAP_ARM_LPAE): Likewise.
17169 (HWCAP_ARM_EVTSTRM): Likewise.
17170 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17171 Add vpfd32, lpae and evtstrm.
17172 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17173 Increase to 22.
17174
63689d61
JM
171752014-02-19 Joseph Myers <joseph@codesourcery.com>
17176
17177 * math/auto-libm-test-in: Add tests of clog10.
17178 * math/auto-libm-test-out: Regenerated.
17179 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17180 * sysdeps/i386/fpu/libm-test-ulps: Update.
17181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182
ab09bf61
AS
171832014-02-18 Andreas Schwab <schwab@suse.de>
17184
17185 [BZ #16574]
17186 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17187 Store non-zero if the second buffer was newly allocated.
17188 (send_dg): Likewise.
17189 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17190 to send_vc and send_dg.
17191 (res_nsend): Pass NULL for ansp2_malloced.
17192 * resolv/res_query.c (__libc_res_nquery): Add parameter
17193 answerp2_malloced and pass it down to __libc_res_nsend.
17194 (res_nquery): Pass additional NULL to __libc_res_nquery.
17195 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17196 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17197 second answer buffer if answerp2_malloced was set.
17198 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17199 (__libc_res_nquerydomain): Add parameter
17200 answerp2_malloced and pass it down to __libc_res_nquery.
17201 (res_nquerydomain): Pass additional NULL to
17202 __libc_res_nquerydomain.
17203 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17204 additional NULL to __libc_res_nsend and __libc_res_nquery.
17205 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17206 additional NULL to __libc_res_nsearch.
17207 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17208 parameter of __libc_res_nsearch to check for separately allocated
17209 second buffer.
17210 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17211 __libc_res_nquery.
17212 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17213 additional NULL to __libc_res_nquery.
17214 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17215 __libc_res_nsearch.
17216 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17217 * include/resolv.h: Update prototypes of __libc_res_nquery,
17218 __libc_res_nsearch, __libc_res_nsend.
17219
a4fb7861
JM
172202014-02-18 Joseph Myers <joseph@codesourcery.com>
17221
c6af2d89
JM
17222 * math/auto-libm-test-in: Add tests of fma.
17223 * math/auto-libm-test-out: Regenerated.
17224 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17225 (fma_towardzero_test_data): Likewise.
17226 (fma_downward_test_data): Likewise.
17227 (fma_upward_test_data): Likewise.
17228 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17229 mpc_mode.
17230 (rounding_modes): Add values for new field.
17231 (func_calc_method): Add value mpfr_fff_f.
17232 (func_calc_desc): Add mpfr_fff_f union field.
17233 (test_function): Add field exact_args.
17234 (FUNC): Add macro argument EXACT_ARGS.
17235 (FUNC_mpfr_f_f): Update call to FUNC.
17236 (FUNC_mpfr_f_f): Likewise.
17237 (FUNC_mpfr_ff_f): Likewise.
17238 (FUNC_mpfr_if_f): Likewise.
17239 (FUNC_mpc_c_f): Likewise.
17240 (FUNC_mpc_c_c): Likewise.
17241 (test_functions): Add fma. Update calls to FUNC.
17242 (handle_input_arg): Add argument exact_args.
17243 (add_test): Update call to handle_input_arg.
17244 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17245 (output_for_one_input_case): Update call to calc_generic_results.
17246 Recalculate exact zero results in each rounding mode.
17247
a4fb7861
JM
17248 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17249 non-negative before setting low bit.
17250 * math/auto-libm-test-in: Mark one asin test possibly having
17251 spurious underflow.
17252 * math/auto-libm-test-out: Regenerated.
17253 * sysdeps/i386/fpu/libm-test-ulps: Update.
17254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17255
ef114eaf
DH
172562014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17257
2b7f4f2c
SP
17258 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17259 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17260 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17261 * README: Add missing listing for microblaze*-*-linux-gnu.
17262
8125aedc
AM
172632014-02-16 Ondřej Bílka <neleai@seznam.cz>
17264
17265 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17266 duplicate code
17267
c70a4b1d
MF
172682014-02-16 Mike Frysinger <vapier@gentoo.org>
17269
17270 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17271 * sysdeps/unix/sysv/linux/ia64: Move directory from
17272 ports/sysdeps/unix/sysv/linux/ia64.
17273 * README: Update listing for ia64-*-linux-gnu.
17274
591aeaf7
TD
172752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17276 Joseph Myers <joseph@codesourcery.com>
17277
17278 * Makeconfig (test-name): New variable.
17279 (evaluate-test): Likewise.
17280 * Makerules (do-test-clean): Remove .test-result files.
17281 (common-mostlyclean): Likewise.
17282 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17283 * scripts/evaluate-test.sh: New file.
17284
6e89caf1
JM
172852014-02-14 Joseph Myers <joseph@codesourcery.com>
17286
7f98f180
JM
17287 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17288 separate $(objpfx)tst-fopenloc-cmp.out and
17289 $(objpfx)tst-fopenloc-mem.out targets.
17290 (tests): Update dependencies.
17291 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17292 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17293 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17294 (tst-rxspencer-no-utf8-ARGS): New variable.
17295 (tst-rxspencer-no-utf8-ENV): Likewise.
17296 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17297 instead of $(objpfx)tst-rxspencer-mem.
17298 ($(objpfx)tst-rxspencer-mem): Change target to
17299 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17300 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17301 * posix/tst-rxspencer-no-utf8.c: New file.
17302
6e89caf1
JM
17303 * elf/Makefile ($(objpfx)order.out): Remove rule.
17304 [$(run-built-tests) = yes] (tests): Depend on
17305 $(objpfx)order-cmp.out.
17306 ($(objpfx)order-cmp.out): New rule.
17307 [$(run-built-tests) = yes] (tests): Depend on
17308 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17309 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17310 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17311 $(objpfx)tst-array5-static-cmp.out.
17312 ($(objpfx)tst-array1.out): Remove rule.
17313 ($(objpfx)tst-array1-cmp.out): New rule.
17314 ($(objpfx)tst-array1-static.out): Remove rule.
17315 ($(objpfx)tst-array1-static-cmp.out): New rule.
17316 ($(objpfx)tst-array2.out): Remove rule.
17317 ($(objpfx)tst-array2-cmp.out): New rule.
17318 ($(objpfx)tst-array3.out): Remove rule.
17319 ($(objpfx)tst-array3-cmp.out): New rule.
17320 ($(objpfx)tst-array4.out): Remove rule.
17321 ($(objpfx)tst-array4-cmp.out): New rule.
17322 ($(objpfx)tst-array5.out): Remove rule.
17323 ($(objpfx)tst-array5-cmp.out): New rule.
17324 ($(objpfx)tst-array5-static.out): Remove rule.
17325 ($(objpfx)tst-array5-static-cmp.out): New rule.
17326 [$(run-built-tests) = yes] (tests): Depend on
17327 $(objpfx)order2-cmp.out.
17328 ($(objpfx)order2.out): Remove rule.
17329 ($(objpfx)order2-cmp.out): New rule.
17330 ($(objpfx)tst-initorder.out): Remove rule.
17331 [$(run-built-tests) = yes] (tests): Depend on
17332 $(objpfx)tst-initorder-cmp.out.
17333 ($(objpfx)tst-initorder-cmp.out): New rule.
17334 ($(objpfx)tst-initorder2.out): Remove rule.
17335 [$(run-built-tests) = yes] (tests): Depend on
17336 $(objpfx)tst-initorder2-cmp.out.
17337 ($(objpfx)tst-initorder2-cmp.out): New rule.
17338 [$(run-built-tests) = yes] (tests): Depend on
17339 $(objpfx)tst-unused-dep-cmp.out.
17340 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17341 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17342 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17343 on $(objpfx)tst-setvbuf1-cmp.out.
17344 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17345 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17346 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17347 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17348 ($(objpfx)tst-svc.out): Remove rule.
17349 ($(objpfx)tst-svc-cmp.out): New rule.
17350
ed9a38e2
JM
173512014-02-13 Joseph Myers <joseph@codesourcery.com>
17352
17353 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17354 * ctype/ctype.h [__USE_MISC]: Likewise.
17355 * dirent/dirent.h [__USE_MISC]: Likewise.
17356 * grp/grp.h [__USE_MISC]: Likewise.
17357 * io/fcntl.h [__USE_MISC]: Likewise.
17358 * io/sys/stat.h [__USE_MISC]: Likewise.
17359 * libio/stdio.h [__USE_MISC]: Likewise.
17360 * posix/unistd.h [__USE_MISC]: Likewise.
17361 * pwd/pwd.h [__USE_MISC]: Likewise.
17362 * stdlib.h [__USE_MISC]: Likewise.
17363 * string/bits/string2.h [__USE_MISC]: Likewise.
17364 * string/string.h [__USE_MISC]: Likewise.
17365 * time/time.h [__USE_MISC]: Likewise.
17366
d6680619
AS
173672014-02-13 Andreas Schwab <schwab@suse.de>
17368
17369 [BZ #16574]
17370 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17371 second answer buffer if it was separately allocated.
17372
ace614b8
JM
173732014-02-12 Joseph Myers <joseph@codesourcery.com>
17374
743151ae
JM
17375 * sysdeps/mips/math-tests.h: Include <features.h>.
17376 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17377 (ROUNDING_TESTS_long_double): Do not define.
17378 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17379 (EXCEPTION_TESTS_long_double): Likewise.
17380 * sysdeps/mips/mips64/libm-test-ulps: Update.
17381
498afc54
JM
17382 * include/features.h (__USE_BSD): Remove macro definitions.
17383 (__USE_SVID): Likewise.
17384 (_BSD_SOURCE): Likewise.
17385 (_SVID_SOURCE): Likewise.
17386 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17387 from definition of _DEFAULT_SOURCE.
17388 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17389 [_DEFAULT_SOURCE].
17390 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17391 * bits/mman.h [__USE_BSD]: Likewise.
17392 * bits/termios.h [__USE_BSD]: Likewise.
17393 * bits/waitstatus.h [__USE_BSD]: Likewise.
17394 * ctype/ctype.h [__USE_SVID]: Likewise.
17395 * dirent/dirent.h [__USE_BSD]: Likewise.
17396 * grp/grp.h [__USE_SVID]: Likewise.
17397 [__USE_BSD]: Likewise.
17398 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17399 * io/fcntl.h [__USE_BSD]: Likewise.
17400 * io/ftw.h [__USE_BSD]: Likewise.
17401 * io/sys/stat.h [__USE_BSD]: Likewise.
17402 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17403 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17404 * libio/stdio.h [__USE_SVID]: Likewise.
17405 [__USE_BSD]: Likewise.
17406 * math/math.h [__USE_SVID]: Likewise.
17407 [__USE_BSD]: Likewise.
17408 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17409 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17410 * misc/search.h [__USE_SVID]: Likewise.
17411 * misc/sys/mman.h [__USE_BSD]: Likewise.
17412 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17413 * misc/sys/uio.h [__USE_BSD]: Likewise.
17414 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17415 * posix/glob.h [__USE_BSD]: Likewise.
17416 * posix/regex.h [__USE_BSD]: Likewise.
17417 * posix/sys/types.h [__USE_BSD]: Likewise.
17418 [__USE_SVID]: Likewise.
17419 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17420 * posix/sys/wait.h [__USE_BSD]: Likewise.
17421 [__USE_SVID]: Likewise.
17422 * posix/unistd.h [__USE_BSD]: Likewise.
17423 [__USE_SVID]: Likewise.
17424 * pwd/pwd.h [__USE_SVID]: Likewise.
17425 * resolv/netdb.h [__USE_BSD]: Likewise.
17426 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17427 * signal/signal.h [__USE_BSD]: Likewise.
17428 [__USE_SVID]: Likewise.
17429 * socket/sys/socket.h [__USE_BSD]: Likewise.
17430 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17431 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17432 [__USE_SVID]: Likewise.
17433 * string/bits/string2.h [__USE_BSD]: Likewise.
17434 [__USE_SVID]: Likewise.
17435 * string/bits/string3.h [__USE_BSD]: Likewise.
17436 * string/endian.h [__USE_BSD]: Likewise.
17437 * string/string.h [__USE_SVID]: Likewise.
17438 [__USE_BSD]: Likewise.
17439 * string/strings.h [__USE_BSD]: Likewise.
17440 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17441 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17442 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17443 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17444 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17445 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17446 Likewise.
17447 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17448 Likewise.
17449 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17450 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17451 Likewise.
17452 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17453 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17454 Likewise.
17455 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17456 Likewise.
17457 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17458 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17460 Likewise.
17461 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17462 Likewise.
17463 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17464 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17465 * termios/termios.h [__USE_BSD]: Likewise.
17466 * time/sys/time.h [__USE_BSD]: Likewise.
17467 * time/time.h [__USE_BSD]: Likewise.
17468 [__USE_SVID]: Likewise.
17469
dd7b064c
JM
17470 * Makefile (subdir_targets): Remove subdir_lint.out.
17471
a2c4c199
JM
17472 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17473 (do-tst-printf): Likewise.
17474 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17475 $(objpfx)tst-printf.out.
17476
8756f740
JM
17477 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17478
1b6dd3f1
JM
17479 * Makerules (check-abi-%): Change target to
17480 $(objpfx)check-abi-%.out.
17481 (check-abi target): Update dependencies.
17482 (check-abi-pattern variable): Redirect output of diff to $@.
17483 (check-abi variable): Likewise.
17484 * elf/Makefile (check-abi): Update dependencies.
17485
ace614b8
JM
17486 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17487 unused.
17488 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17489 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17490 subnormal range.
17491 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17492 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17493 value has largest subnormal exponent.
17494 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17495 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17496 * sysdeps/aarch64/soft-fp/sfp-machine.h
17497 (_FP_TININESS_AFTER_ROUNDING): New macro.
17498 * sysdeps/alpha/soft-fp/sfp-machine.h
17499 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17500 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17501 Likewise.
17502 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17503 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17504 * sysdeps/mips/soft-fp/sfp-machine.h
17505 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17506 * sysdeps/powerpc/soft-fp/sfp-machine.h
17507 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17508 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17509 Likewise.
17510 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17511 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17512 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17513 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17514 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17515 Likewise.
17516
fbfdf9cb
DAS
175172014-02-12 Dylan Alex Simon <dylan@dylex.net>
17518
17519 [BZ #16545]
17520 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17521 model 1.
17522
68b7efaa
RH
175232014-02-12 Richard Henderson <rth@redhat.com>
17524
c70a4b1d 17525 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17526 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17527 * sysdeps/unix/sysv/linux/alpha: Move directory from
17528 ports/sysdeps/unix/sysv/linux/alpha.
17529 * README: Update listing for alpha-*-linux-gnu.
17530
cb4a2928
JM
175312014-02-11 Joseph Myers <joseph@codesourcery.com>
17532
c941736c
JM
17533 * include/features.h: Update comment documenting feature test
17534 macros.
17535 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17536 _DEFAULT_SOURCE.
17537 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17538 (_SVID_SOURCE): Likewise.
17539 (_DEFAULT_SOURCE): Update description of default features.
17540 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17541 with _GNU_SOURCE.
17542 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17543 (S_ISVTX): Likewise.
17544 * manual/math.texi (Mathematical Constants): Likewise.
17545 * manual/signal.texi (Interrupted Primitives): Likewise.
17546 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17547 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17548 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17549 Don't refer to _SVID_SOURCE in warning text.
17550
e8d8d7ec
JM
17551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17552
cb4a2928
JM
17553 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17554 already defined.
17555 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17556 * sysdeps/mips/dl-lookup.c: Remove.
17557 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17558
7e6424e3
AK
175592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17560
17561 [BZ #16447]
17562 * math/auto-libm-test-in: Add testcase for expl.
17563 * math/auto-libm-test-out: Regenerate.
17564 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17565 calculation of unsafe.
17566 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17567
75eff3fe
MS
175682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17569
17570 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17571 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17572 ports/sysdeps/unix/sysv/linux/aarch64.
17573 * README: Update listing for aarch64*-*-linux-gnu.
17574
d35f1e80
WN
175752014-02-11 Will Newton <will.newton@linaro.org>
17576
17577 * manual/probes.texi (Mathematical Function Probes): Use
17578 "triggered" instead of "hit".
17579
7b3436d4
WN
17580 * manual/probes.texi (Internal Probes): Add documentation
17581 of setjmp, longjmp and longjmp_target probes.
17582
b4f12ca3
WN
17583 * include/stap-probe.h: Add comment about probe argument
17584 format.
17585
c13a72b7
WN
17586 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17587 definition. (tr_where, tr_freehook, tr_mallochook,
17588 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17589
195b8165
DM
175902014-02-11 David S. Miller <davem@davemloft.net>
17591
17592 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17593 processing int_tests.
17594
2ad7600b
JM
175952014-02-10 Joseph Myers <joseph@codesourcery.com>
17596
17597 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17598 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17599 * sysdeps/unix/sysv/linux/mips: Move directory from
17600 ports/sysdeps/unix/sysv/linux/mips.
17601 * README: Update listing for mips-*-linux-gnu and
17602 mips64-*-linux-gnu.
17603
73588a72
AS
176042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17605
17606 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17607 * sysdeps/unix/sysv/linux/m68k: Move directory from
17608 ports/sysdeps/unix/sysv/linux/m68k.
17609 * README: Update listing for m68k-*-linux-gnu.
17610
4372980f
CM
176112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17612
17613 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17614 * sysdeps/unix/sysv/linux/generic: Move directory from
17615 ports/sysdeps/unix/sysv/linux/generic.
17616 * sysdeps/unix/sysv/linux/tile: Move directory from
17617 ports/sysdeps/unix/sysv/linux/tile.
17618 * README: Update listing for tile*-*-linux-gnu.
17619
a1ffb40e
OB
176202014-02-10 Ondřej Bílka <neleai@seznam.cz>
17621
57f41c40
AS
17622 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17623 __builtin_expect.
a1ffb40e
OB
17624 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17625 * catgets/open_catalog.c (__open_catalog): Likewise.
17626 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17627 * debug/confstr_chk.c: Likewise.
17628 * debug/fread_chk.c (__fread_chk): Likewise.
17629 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17630 * debug/getgroups_chk.c: Likewise.
17631 * debug/mbsnrtowcs_chk.c: Likewise.
17632 * debug/mbsrtowcs_chk.c: Likewise.
17633 * debug/mbstowcs_chk.c: Likewise.
17634 * debug/memcpy_chk.c: Likewise.
17635 * debug/memmove_chk.c: Likewise.
17636 * debug/mempcpy_chk.c: Likewise.
17637 * debug/memset_chk.c: Likewise.
17638 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17639 * debug/strcat_chk.c (__strcat_chk): Likewise.
17640 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17641 * debug/strncat_chk.c (__strncat_chk): Likewise.
17642 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17643 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17644 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17645 * debug/wcpncpy_chk.c: Likewise.
17646 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17647 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17648 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17649 * debug/wcsncpy_chk.c: Likewise.
17650 * debug/wcsnrtombs_chk.c: Likewise.
17651 * debug/wcsrtombs_chk.c: Likewise.
17652 * debug/wcstombs_chk.c: Likewise.
17653 * debug/wmemcpy_chk.c: Likewise.
17654 * debug/wmemmove_chk.c: Likewise.
17655 * debug/wmempcpy_chk.c: Likewise.
17656 * debug/wmemset_chk.c: Likewise.
17657 * dirent/scandirat.c (SCANDIRAT): Likewise.
17658 * dlfcn/dladdr1.c (dladdr1): Likewise.
17659 * dlfcn/dladdr.c (dladdr): Likewise.
17660 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17661 * dlfcn/dlerror.c (__dlerror): Likewise.
17662 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17663 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17664 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17665 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17666 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17667 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17668 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17669 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17670 Likewise.
17671 * elf/dl-conflict.c: Likewise.
17672 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17673 * elf/dl-dst.h: Likewise.
17674 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17675 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17677 * elf/dl-init.c (call_init, _dl_init): Likewise.
17678 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17679 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17680 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17681 Likewise.
a1ffb40e
OB
17682 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17683 Likewise.
17684 * elf/dl-minimal.c (__libc_memalign): Likewise.
17685 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17686 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17687 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17688 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17689 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17690 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17691 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17692 * elf/dl-writev.h (_dl_writev): Likewise.
17693 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17694 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17695 (dl_main): Likewise.
a1ffb40e
OB
17696 * elf/setup-vdso.h (setup_vdso): Likewise.
17697 * grp/compat-initgroups.c (compat_call): Likewise.
17698 * grp/fgetgrent.c (fgetgrent): Likewise.
17699 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17700 * grp/putgrent.c (putgrent): Likewise.
17701 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17702 Likewise.
17703 * hurd/hurdinit.c: Likewise.
17704 * iconvdata/8bit-gap.c (struct): Likewise.
17705 * iconvdata/ansi_x3.110.c : Likewise.
17706 * iconvdata/big5.c : Likewise.
17707 * iconvdata/big5hkscs.c : Likewise.
17708 * iconvdata/cp1255.c: Likewise.
17709 * iconvdata/cp1258.c : Likewise.
17710 * iconvdata/cp932.c : Likewise.
17711 * iconvdata/euc-cn.c: Likewise.
17712 * iconvdata/euc-jisx0213.c : Likewise.
17713 * iconvdata/euc-jp.c: Likewise.
17714 * iconvdata/euc-jp-ms.c : Likewise.
17715 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17716 * iconvdata/gb18030.c : Likewise.
17717 * iconvdata/gbbig5.c (const): Likewise.
17718 * iconvdata/gbgbk.c: Likewise.
17719 * iconvdata/gbk.c : Likewise.
17720 * iconvdata/ibm1364.c : Likewise.
17721 * iconvdata/ibm930.c : Likewise.
17722 * iconvdata/ibm932.c: Likewise.
17723 * iconvdata/ibm933.c : Likewise.
17724 * iconvdata/ibm935.c : Likewise.
17725 * iconvdata/ibm937.c : Likewise.
17726 * iconvdata/ibm939.c : Likewise.
17727 * iconvdata/ibm943.c: Likewise.
17728 * iconvdata/iso_11548-1.c: Likewise.
17729 * iconvdata/iso-2022-cn.c : Likewise.
17730 * iconvdata/iso-2022-cn-ext.c : Likewise.
17731 * iconvdata/iso-2022-jp-3.c: Likewise.
17732 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17733 * iconvdata/iso-2022-kr.c : Likewise.
17734 * iconvdata/iso646.c (gconv_end): Likewise.
17735 * iconvdata/iso_6937-2.c : Likewise.
17736 * iconvdata/iso_6937.c : Likewise.
17737 * iconvdata/iso8859-1.c: Likewise.
17738 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17739 * iconvdata/shift_jisx0213.c : Likewise.
17740 * iconvdata/sjis.c : Likewise.
17741 * iconvdata/t.61.c : Likewise.
17742 * iconvdata/tcvn5712-1.c : Likewise.
17743 * iconvdata/tscii.c: Likewise.
17744 * iconvdata/uhc.c : Likewise.
17745 * iconvdata/unicode.c (gconv_end): Likewise.
17746 * iconvdata/utf-16.c (gconv_end): Likewise.
17747 * iconvdata/utf-32.c (gconv_end): Likewise.
17748 * iconvdata/utf-7.c (base64): Likewise.
17749 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17750 * iconv/gconv_close.c (__gconv_close): Likewise.
17751 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17752 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17753 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17754 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17755 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17756 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17757 * iconv/iconv.c (iconv): Likewise.
17758 * iconv/iconv_close.c: Likewise.
17759 * iconv/loop.c (SINGLE): Likewise.
17760 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17761 * include/atomic.h: Likewise.
17762 * inet/inet6_option.c (option_alloc): Likewise.
17763 * intl/bindtextdom.c (set_binding_values): Likewise.
17764 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17765 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17766 * intl/localealias.c (read_alias_file): Likewise.
17767 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17768 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17769 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17770 * libio/fmemopen.c (fmemopen): Likewise.
17771 * libio/iofgets.c (_IO_fgets): Likewise.
17772 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17773 * libio/iofgetws.c (fgetws): Likewise.
17774 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17775 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17776 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17777 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17778 * locale/findlocale.c (_nl_find_locale): Likewise.
17779 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17780 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17781 Likewise.
17782 * locale/setlocale.c (setlocale): Likewise.
17783 * login/programs/pt_chown.c (main): Likewise.
17784 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17785 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17786 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17787 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17788 * math/e_exp2l.c: Likewise.
17789 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17790 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17791 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17792 * math/s_catan.c (__catan): Likewise.
17793 * math/s_catanf.c (__catanf): Likewise.
17794 * math/s_catanh.c (__catanh): Likewise.
17795 * math/s_catanhf.c (__catanhf): Likewise.
17796 * math/s_catanhl.c (__catanhl): Likewise.
17797 * math/s_catanl.c (__catanl): Likewise.
17798 * math/s_ccosh.c (__ccosh): Likewise.
17799 * math/s_ccoshf.c (__ccoshf): Likewise.
17800 * math/s_ccoshl.c (__ccoshl): Likewise.
17801 * math/s_cexp.c (__cexp): Likewise.
17802 * math/s_cexpf.c (__cexpf): Likewise.
17803 * math/s_cexpl.c (__cexpl): Likewise.
17804 * math/s_clog10.c (__clog10): Likewise.
17805 * math/s_clog10f.c (__clog10f): Likewise.
17806 * math/s_clog10l.c (__clog10l): Likewise.
17807 * math/s_clog.c (__clog): Likewise.
17808 * math/s_clogf.c (__clogf): Likewise.
17809 * math/s_clogl.c (__clogl): Likewise.
17810 * math/s_csin.c (__csin): Likewise.
17811 * math/s_csinf.c (__csinf): Likewise.
17812 * math/s_csinh.c (__csinh): Likewise.
17813 * math/s_csinhf.c (__csinhf): Likewise.
17814 * math/s_csinhl.c (__csinhl): Likewise.
17815 * math/s_csinl.c (__csinl): Likewise.
17816 * math/s_csqrt.c (__csqrt): Likewise.
17817 * math/s_csqrtf.c (__csqrtf): Likewise.
17818 * math/s_csqrtl.c (__csqrtl): Likewise.
17819 * math/s_ctan.c (__ctan): Likewise.
17820 * math/s_ctanf.c (__ctanf): Likewise.
17821 * math/s_ctanh.c (__ctanh): Likewise.
17822 * math/s_ctanhf.c (__ctanhf): Likewise.
17823 * math/s_ctanhl.c (__ctanhl): Likewise.
17824 * math/s_ctanl.c (__ctanl): Likewise.
17825 * math/w_pow.c: Likewise.
17826 * math/w_powf.c: Likewise.
17827 * math/w_powl.c: Likewise.
17828 * math/w_scalb.c (sysv_scalb): Likewise.
17829 * math/w_scalbf.c (sysv_scalbf): Likewise.
17830 * math/w_scalbl.c (sysv_scalbl): Likewise.
17831 * misc/error.c (error_tail): Likewise.
17832 * misc/pselect.c (__pselect): Likewise.
17833 * nis/nis_callback.c (__nis_create_callback): Likewise.
17834 * nis/nis_call.c (__nisfind_server): Likewise.
17835 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17836 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17837 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17838 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17839 * nis/nis_lookup.c (nis_lookup): Likewise.
17840 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17841 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17842 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17843 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17844 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17845 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17846 * nis/nss_compat/compat-initgroups.c (add_group)
17847 (internal_getgrent_r): Likewise.
17848 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17849 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17850 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17851 (internal_getspnam_r): Likewise.
17852 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17853 (_nss_nis_getaliasbyname_r): Likewise.
17854 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17855 (_nss_nis_getntohost_r): Likewise.
17856 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17857 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17858 (_nss_nis_getgrgid_r): Likewise.
17859 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17860 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17861 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17862 (_nss_nis_gethostbyname4_r): Likewise.
17863 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17864 (initgroups_netid): Likewise.
a1ffb40e 17865 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17866 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17867 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17868 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17869 (_nss_nis_getprotobynumber_r): Likewise.
17870 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17871 (_nss_nis_getsecretkey): Likewise.
17872 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17873 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17874 (_nss_nis_getpwuid_r): Likewise.
17875 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17876 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17877 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17878 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17879 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17880 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17881 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17882 Likewise.
57f41c40
AS
17883 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17884 (_nss_nisplus_getntohost_r): Likewise.
17885 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17886 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17887 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17888 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17889 Likewise.
57f41c40
AS
17890 * nis/nss_nisplus/nisplus-initgroups.c
17891 (_nss_nisplus_initgroups_dyn): Likewise.
17892 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17893 (_nss_nisplus_getnetbyaddr_r): Likewise.
17894 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17895 (_nss_nisplus_getprotobynumber_r): Likewise.
17896 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17897 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17898 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17899 Likewise.
57f41c40
AS
17900 * nis/nss_nisplus/nisplus-service.c
17901 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17902 (_nss_nisplus_getservbyport_r): Likewise.
17903 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17904 (_nss_nisplus_getspnam_r): Likewise.
17905 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17906 Likewise.
a1ffb40e
OB
17907 * nscd/aicache.c (addhstaiX): Likewise.
17908 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17909 * nscd/connections.c (register_traced_file, send_ro_fd)
17910 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17911 (main_loop_epoll): Likewise.
a1ffb40e
OB
17912 * nscd/grpcache.c (addgrbyX): Likewise.
17913 * nscd/hstcache.c (addhstbyX): Likewise.
17914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17915 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17916 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17917 (addinnetgrX): Likewise.
17918 * nscd/nscd-client.h (__nscd_acquire_maplock)
17919 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17920 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17921 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17923 Likewise.
17924 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17926 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17927 (__nscd_get_map_ref): Likewise.
a1ffb40e 17928 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17929 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17930 Likewise.
a1ffb40e
OB
17931 * nscd/pwdcache.c (addpwbyX): Likewise.
17932 * nscd/selinux.c (preserve_capabilities): Likewise.
17933 * nscd/servicescache.c (addservbyX): Likewise.
17934 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17935 * posix/fnmatch.c (fnmatch): Likewise.
17936 * posix/getopt.c (_getopt_internal_r): Likewise.
17937 * posix/glob.c (glob, glob_in_dir): Likewise.
17938 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17939 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17940 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17941 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17942 * resolv/res_init.c: Likewise.
17943 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17944 * resolv/res_query.c (__libc_res_nquery): Likewise.
17945 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17946 Likewise.
17947 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17948 * stdio-common/perror.c (perror): Likewise.
17949 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17950 * stdio-common/tmpnam.c (tmpnam): Likewise.
17951 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17952 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17953 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17954 Likewise.
a1ffb40e
OB
17955 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17956 * stdlib/putenv.c (putenv): Likewise.
17957 * stdlib/setenv.c (__add_to_environ): Likewise.
17958 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17959 * stdlib/strtol_l.c (INTERNAL): Likewise.
17960 * string/memmem.c (memmem): Likewise.
17961 * string/strerror.c (strerror): Likewise.
17962 * string/strnlen.c (__strnlen): Likewise.
17963 * string/test-memmem.c (simple_memmem): Likewise.
17964 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17965 * sunrpc/pm_getport.c (__get_socket): Likewise.
17966 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17967 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17968 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17969 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17970 Likewise.
17971 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17972 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17973 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17974 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17976 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17977 Likewise.
17978 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17979 Likewise.
a1ffb40e
OB
17980 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17981 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17982 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17983 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17984 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17986 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17987 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17988 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17989 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17990 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17992 Likewise.
17993 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17994 Likewise.
17995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17996 Likewise.
17997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18001 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18002 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18003 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18012 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18013 Likewise.
a1ffb40e
OB
18014 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18015 Likewise.
18016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18017 Likewise.
18018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18019 Likewise.
18020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18022 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18023 Likewise.
18024 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18025 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18026 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18027 * sysdeps/posix/sleep.c: Likewise.
18028 * sysdeps/posix/tempname.c: Likewise.
18029 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18030 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18031 Likewise.
57f41c40
AS
18032 * sysdeps/powerpc/powerpc32/dl-machine.h
18033 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18034 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18036 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18037 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18038 Likewise.
18039 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18041 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18043 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18044 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18045 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18046 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18048 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18050 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18053 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18054 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18055 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18056 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18057 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18058 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18059 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18062 Likewise.
18063 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18064 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18065 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18066 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18067 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18069 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18070 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18072 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18073 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18074 Likewise.
18075 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18076 (__posix_fallocate64_l64): Likewise.
18077 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18078 (posix_fallocate): Likewise.
57f41c40
AS
18079 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18080 Likewise.
a1ffb40e 18081 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18082 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18083 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18084 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18085 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18086 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18087 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18088 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18089 (__posix_fallocate64_l64): Likewise.
18090 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18091 Likewise.
18092 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18093 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18094 (__get_clockfreq): Likewise.
a1ffb40e
OB
18095 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18096 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18097 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18100 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18101 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18102 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18103 Likewise.
18104 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18105 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18106 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18108 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18109 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18110 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18111 Likewise.
18112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18113 (posix_fallocate): Likewise.
18114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18115 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18116 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18117 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18118 (elf_machine_rela, elf_machine_rela_relative)
18119 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18120 * time/asctime.c (asctime_internal): Likewise.
18121 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18122 * time/tzset.c (__tzset_parse_tz): Likewise.
18123 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18124 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18125 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18126 * wcsmbs/wcsmbsload.h: Likewise.
18127
f3d338c9
OB
18128 [BZ #15894]
18129 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18130
57f41c40
AS
18131 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18132 (arena_get2): Remove THREAD_STATS conditionals.
18133 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18134 (__malloc_stats, int): Likewise.
bdfe308a 18135
d674667c
MF
181362014-02-08 Mike Frysinger <vapier@gentoo.org>
18137
18138 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18139 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18140
6349768c
MF
18141 * manual/setjmp.texi: Fix typos/grammar errors.
18142
0b7c7473
MF
18143 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18144 Only return early when n is <= 0. Delete unused return statement.
18145
ac8cc9e3
MF
18146 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18147 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18148 * debug/tst-longjmp_chk3.c: New file.
18149
c5bb8e23
MF
18150 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18151 (test_main): Replace code with set_fortify_handler call.
18152 * debug/test-strcpy_chk.c: Likewise.
18153 * debug/tst-chk1.c: Likewise.
18154 * debug/tst-longjmp_chk.c: Likewise.
18155 * test-skeleton.c: Include fcntl.h & paths.h
18156 (set_fortify_handler): Define.
18157
10444e42
MF
18158 * debug/tst-longjmp_chk.c: Add header comment and include
18159 ../test-skeleton.c.
18160 (do_test): Mark static.
18161 (TEST_FUNCTION): Define.
18162
1e805e8d
MF
18163 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18164 (IP_PMTUDISC_INTERFACE): Likewise.
18165 (IP_MULTICAST_IF): Likewise.
18166 (IP_MULTICAST_TTL): Likewise.
18167 (IP_MULTICAST_LOOP): Likewise.
18168 (IP_ADD_MEMBERSHIP): Likewise.
18169 (IP_DROP_MEMBERSHIP): Likewise.
18170 (IP_UNBLOCK_SOURCE): Likewise.
18171 (IP_BLOCK_SOURCE): Likewise.
18172 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18173 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18174 (IP_MSFILTER): Likewise.
18175 (MCAST_JOIN_GROUP): Likewise.
18176 (MCAST_BLOCK_SOURCE): Likewise.
18177 (MCAST_UNBLOCK_SOURCE): Likewise.
18178 (MCAST_LEAVE_GROUP): Likewise.
18179 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18180 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18181 (MCAST_MSFILTER): Likewise.
18182 (IP_MULTICAST_ALL): Likewise.
18183 (IP_UNICAST_IF): Likewise.
18184
73f79bb7
MF
18185 * timezone/Makefile: Delete $(have-ksh) check.
18186 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18187 * timezone/tzselect.ksh: Add +x mode bits.
18188
8da79b60
MF
18189 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18190 (ANON_INODE_FS_MAGIC): Likewise.
18191 (BDEVFS_MAGIC): Likewise.
18192 (BINFMTFS_MAGIC): Likewise.
18193 (BTRFS_TEST_MAGIC): Likewise.
18194 (CRAMFS_MAGIC_WEND): Likewise.
18195 (DEBUGFS_MAGIC): Likewise.
18196 (ECRYPTFS_SUPER_MAGIC): Likewise.
18197 (EXT3_SUPER_MAGIC): Likewise.
18198 (EXT4_SUPER_MAGIC): Likewise.
18199 (FUTEXFS_SUPER_MAGIC): Likewise.
18200 (HOSTFS_SUPER_MAGIC): Likewise.
18201 (HUGETLBFS_MAGIC): Likewise.
18202 (MINIX3_SUPER_MAGIC): Likewise.
18203 (MTD_INODE_FS_MAGIC): Likewise.
18204 (NILFS_SUPER_MAGIC): Likewise.
18205 (OPENPROM_SUPER_MAGIC): Likewise.
18206 (PIPEFS_MAGIC): Likewise.
18207 (PSTOREFS_MAGIC): Likewise.
18208 (QNX6_SUPER_MAGIC): Likewise.
18209 (RAMFS_MAGIC): Likewise.
18210 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18211 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18212 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18213 (SECURITYFS_MAGIC): Likewise.
18214 (SELINUX_MAGIC): Likewise.
18215 (SMACK_MAGIC): Likewise.
18216 (SOCKFS_MAGIC): Likewise.
18217 (SQUASHFS_MAGIC): Likewise.
18218 (STACK_END_MAGIC): Likewise.
18219 (TMPFS_MAGIC): Likewise.
18220 (USBDEVICE_SUPER_MAGIC): Likewise.
18221 (V9FS_MAGIC): Likewise.
18222 (XENFS_SUPER_MAGIC): Likewise.
18223 (CRAMFS_MAGIC): Fix typo in comment.
18224 (EXT2_SUPER_MAGIC): Update comment.
18225 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18226
464263cc
JM
182272014-02-08 Joseph Myers <joseph@codesourcery.com>
18228
c6bfe5c4
JM
18229 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18230 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18231 * sysdeps/unix/sysv/linux/arm: Move directory from
18232 ports/sysdeps/unix/sysv/linux/arm.
18233 * README: Update listing for arm-*-linux-gnueabi.
18234
464263cc
JM
18235 * README: Remove mention of am33.
18236
32749f6c
RM
182372014-02-07 Roland McGrath <roland@hack.frob.com>
18238
18239 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18240 than the comma operator, to avoid "rhs of comma has no effect"
18241 compiler warnings.
18242 (__sigfillset, __sigandset, __sigorset): Likewise.
18243 * include/signal.h (__sigemptyset): Likewise.
18244 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18245
d5b396c1
AM
182462014-02-07 Allan McRae <allan@archlinux.org>
18247
18248 * version.h (RELEASE): Set to "development".
18249 (VERSION): Set to "2.19.90"
18250 * NEWS: Add 2.20 section.
18251
3bfff2ed
CD
182522014-02-06 Carlos O'Donell <carlos@redhat.com>
18253
18254 [BZ #16529]
18255 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18256
ee7cc385
SP
182572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18258
18259 * manual/contrib.texi: Update entry for Carlos O'Donell,
18260 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18261
f877c4f2
CD
182622014-02-05 Carlos O'Donell <carlos@rehdat.com>
18263
27e839f6
CD
18264 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18265
f877c4f2
CD
18266 * sysdeps/unix/sysv/linux/kernel-features.h
18267 [__LINUX_KERNEL_VERSION >= 0x020621]
18268 (__ASSUME_PROC_PID_TASK_COMM): Define.
18269
68159946
SP
182702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18271
ba17cdbd
SP
18272 [BZ #16398]
18273 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18274 conversion when destination buffer does not have enough space.
18275 * libio/tst-ftell-partial-wide.c: New test case.
18276 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18277
68159946
SP
18278 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18279 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18280 Leonard and Allan McRae.
18281
2b528732
DM
182822014-02-04 David S. Miller <davem@davemloft.net>
18283
18284 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18285 32-bit.
18286
0ff82463
AZ
182872014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18288
57f41c40
AS
18289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18290 New file
c01603f7
AZ
18291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18292 New file
57f41c40
AS
18293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18294 New file.
18295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18296 New file.
c01603f7
AZ
18297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18298 New file.
57f41c40
AS
18299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18300 New file.
18301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18302 New file.
c01603f7
AZ
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18304 New file.
18305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18306 New file.
18307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18308 New file.
18309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18310 New file.
18311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18312 New file.
18313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18314 New file.
18315
183162014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317
0ff82463
AZ
18318 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18319 * shlib-versions: Likewise.
18320
1695c773
AZ
183212014-02-04 Roland McGrath <roland@hack.frob.com>
18322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18323
18324 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18325 (abilist-pattern): New variable, set to %-le.abilist.
18326
18327 * Makerules (abilist-pattern): New variable.
18328 (vpath): Use $(abilist-pattern) in place of %.abilist.
18329 (check-abi-% pattern rule): Likewise.
18330 (check-abi, update-abi): Likewise.
18331
6c0ce4b4
EW
183322014-02-04 Eric Wong <normalperson@yhbt.net>
18333
18334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18335
481e3524
CD
183362014-02-03 Carlos O'Donell <carlos@redhat.com>
18337
18338 * manual/startup.texi: Add next, previous, and top entries for
18339 the `Program Arguments' and `Environment Variables' nodes.
18340
375592d3
AO
183412014-02-03 Alexandre Oliva <aoliva@redhat.com>
18342
18343 * manual/macros.texi: Add comments before MTASC-safety macros.
18344
f54838ba
AO
18345 * manual/users.texi: Document MTASC-safety properties.
18346
57f41c40
AS
18347 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18348 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18349 @deftypefun, and add @safety note.
18350 * manual/signal.texi: Move comments that analyze the above
18351 functions to their home place.
18352
fd3daba4
AM
183532014-02-03 Allan McRae <allan@archlinux.org>
18354
18355 * po/sl.po: Update Slovenian translation from translation project.
18356
597636d7
AO
183572014-02-02 Alexandre Oliva <aoliva@redhat.com>
18358
18359 * manual/time.texi (timegm): Add missing blank after @c.
18360 Reported by Joseph Myers <joseph@codesourcery.com>.
18361
ee196e3c
AO
183622014-02-01 Alexandre Oliva <aoliva@redhat.com>
18363
18364 * manual/check-safety.sh: New.
18365 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18366
f8d529d5
AO
18367 * manual/terminal.texi: Document MTASC-safety properties.
18368
de55fdf4
AO
18369 * manual/filesys.texi: Document MTASC-safety properties.
18370
c3299c08
AO
18371 * manual/errno.texi: Document MTASC-safety properties.
18372
06e90b14
AO
18373 * manual/intro.texi: Document safety identifiers and
18374 conditionals.
18375
1acd4371
AO
18376 * manual/string.texi (wcstok): Fix prototype.
18377 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18378
23e5b8cb
AO
18379 * manual/time.texi: Document MTASC-safety properties.
18380
11087373
AO
18381 * manual/string.texi: Document MTASC-safety properties.
18382
5da2c93d
AO
18383 * manual/threads.texi: Document MTASC-safety properties.
18384
171e9210
AO
18385 * manual/stdio.texi: Document MTASC-safety properties.
18386
d9e02532
AO
18387 * manual/syslog.texi: Document MTASC-safety properties.
18388
6af8bab7
AO
18389 * manual/sysinfo.texi: Document MTASC-safety properties.
18390
663b02d7
AO
18391 * manual/startup.texi: Document MTASC-safety properties.
18392
973f180b
AO
18393 * manual/socket.texi: Document MTASC-safety properties.
18394
8f3c25c8
AO
18395 * manual/signal.texi: Document MTASC-safety properties.
18396
542210fb
AO
183972014-01-31 Alexandre Oliva <aoliva@redhat.com>
18398
18399 * manual/setjmp.texi: Document MTASC-safety properties.
18400
433c45a2
AO
18401 * manual/search.texi: Document MTASC-safety properties.
18402
c8ce789c
AO
18403 * manual/resource.texi: Document MTASC-safety properties.
18404
19f5d29c
AO
18405 * manual/process.texi: Document MTASC-safety properties.
18406
e2dfb7f4
AO
18407 * manual/platform.texi: Document MTASC-safety properties.
18408
8c1413f5
AO
18409 * manual/pipe.texi: Document MTASC-safety properties.
18410
03483ada
AO
18411 * manual/pattern.texi: Document MTASC-safety properties.
18412
29e7e2df
AO
18413 * manual/message.texi: Document MTASC-safety properties.
18414
9f529d7c
AO
18415 [BZ #12751]
18416 * manual/memory.texi: Document MTASC-safety properties.
18417
27aaa791
AO
18418 * manual/math.texi: Document MTASC-safety properties.
18419
f2d58726
AO
18420 * manual/locale.texi: Document MTASC-safety properties.
18421
2cc3615c
AO
18422 * manual/llio.texi: Document MTASC-safety properties.
18423
d9f0ec97
AO
18424 * manual/libdl.texi: New.
18425
e7c4409a
AO
18426 * manual/lang.texi: Document MTASC-safety properties.
18427
27bdc63c
AO
18428 * manual/job.texi: Document MTASC-safety properties.
18429
a7b90ea9
AO
18430 * manual/getopt.texi: Document MTASC-safety properties.
18431
c49130e3
AO
18432 * manual/ctype.texi: Document MTASC-safety properties.
18433
0d23a5c1
MR
184342014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18435
18436 [BZ #16046]
18437 * csu/libc-tls.c (static_map): Remove variable.
18438 (__libc_setup_tls): Use main executable's link map for TLS data.
18439 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18440 casing for LM_ID_BASE and GL(dl_nns).
18441 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18442 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18443 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18444 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18445 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18446 member.
18447 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18448 l_phnum members.
18449
0037bb60
AO
184502014-01-30 Alexandre Oliva <aoliva@redhat.com>
18451
18452 * manual/debug.texi: Document MTASC-safety properties.
18453
409e00bd
L
184542014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18455
18456 [BZ #16510]
18457 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18458 of __x86_64__ when disabling x87 inline functions.
18459
86e60666
AO
184602014-01-29 Alexandre Oliva <aoliva@redhat.com>
18461
18462 * manual/charset.texi: Document MTASC-safety properties.
18463
76167637
AO
18464 * manual/crypt.texi: Document MTASC-safety properties.
18465
e567f2a0
AO
18466 * manual/conf.texi: Document MTASC-safety properties.
18467
b719dafd
AO
18468 * manual/arith.texi: Document MTASC-safety properties.
18469
4a16c662
AO
18470 * manual/argp.texi: Document MTASC-safety properties.
18471
0a57b83e
AO
18472 * manual/macros.texi: Introduce macros to document multi
18473 thread, asynchronous signal and asynchronous cancellation
18474 safety properties.
18475 * manual/intro.texi: Introduce the properties themselves.
18476
feab2397
KK
184772014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18478
18479 * sysdeps/sh/sh4/Makefile: New file.
18480
1c0d11bc
AS
184812014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18482
18483 * math/gen-libm-test.pl ($srcdir): New variable.
18484 ($auto_input): Use it.
18485
af37a8a3
SP
184862014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18487
d7b00f98
SP
18488 [BZ #16506]
18489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18490 access beyond array bounds when parsing netgroups file.
18491
af37a8a3
SP
18492 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18493 the old buffer before realloc.
18494
0c00f062
AM
184952014-01-27 Allan McRae <allan@archlinux.org>
18496
18497 * po/fr.po: Update French translation from translation project.
18498
7d69a1b0
KK
184992014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18500
18501 * sysdeps/sh/libm-test-ulps: Regenerate.
18502
6e697ff7
DM
185032014-01-24 David S. Miller <davem@davemloft.net>
18504
18505 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18506
9cadb35c
KK
185072014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18508
18509 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18510 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18511
5d41dadf
SP
185122013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18513
18514 [BZ #16474]
18515 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18516 string pointers after reallocation.
18517
0bad441c
KK
185182014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18519
18520 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18521 __SH4A__ instead of __SH_FPU_ANY__.
18522
7007c661
KK
185232014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18524
18525 * sysdeps/sh/fpu_control.h: New file.
18526 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18527 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18528 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18529 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18530 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18531 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18532 * sysdeps/sh/sys/ucontext.h: Remove.
18533 * sysdeps/sh/sys: Remove directory.
18534
0f0c35e4
AK
185352014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18536
18537 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18538 s390/sys/ucontext.h.
18539 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18540 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18541
4959e284
L
185422014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18543
18544 [BZ #15605]
18545 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18546
d98720e0
AZ
185472014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18548
18549 [BZ#16431]
18550 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18551 Adjust the vDSO correctly for internal calls.
18552 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18553
91cbd0bc
AM
185542014-01-20 Allan McRae <allan@archlinux.org>
18555
18556 * po/ca.po: Update Catalan translation from translation project.
18557
7a02cfad
MF
185582014-01-16 Mike Frysinger <vapier@gentoo.org>
18559
18560 * sysdeps/s390/sotruss-lib.c: New file.
18561
736c304a
AZ
185622014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18563
18564 [BZ#16430]
6e077ee5 18565 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18566 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18567 local calls issues by not having a PLT stub required for IFUNC calls.
18568 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18569
94d0cea0
JM
185702014-01-16 Joseph Myers <joseph@codesourcery.com>
18571
18572 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18573 * math/test-fpucw-static.c: Likewise.
18574
980cb518
SP
185752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18576
18577 [BZ #16453]
18578 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18579
2393fc01
AZ
185802014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18581
18582 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18583 implementation for powerpc.
18584
d359bcc2
OB
185852014-01-15 Ondřej Bílka <neleai@seznam.cz>
18586
18587 [BZ #14782]
18588 * sysdeps/posix/system.c (__libc_system): Do not enable
18589 asynchronous cancellation.
18590
7beb48cb
AK
185912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18592
18593 [BZ #16427]
18594 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18595 handling only for numbers special also in the IEEE case.
18596
c20d5bf5
AK
185972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18598
18599 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18600
e83bd4ee
AM
186012014-01-11 Allan McRae <allan@archlinux.org>
18602
76d0ea69
AM
18603 * po/bg.po: Update Bulgarian translation from translation project.
18604
e83bd4ee
AM
18605 * po/de.po: Update German translation from translation project.
18606
bc2ba20a
RM
186072014-01-10 Roland McGrath <roland@hack.frob.com>
18608
18609 * sysdeps/generic/gcc-compat.h: New file.
18610
649ecea2
SP
186112014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18612
18613 * benchtests/asin-inputs: Correct slow inputs.
18614 * benchtests/acos-inputs: Likewise.
18615
1b19c006
AM
186162014-01-10 Allan McRae <allan@archlinux.org>
18617
a46dab08
AM
18618 * po:sv.po: Update Swedish translation from translation project.
18619
421df74a
AM
18620 * po/vi.po: Update Vietnamese translation from translation project.
18621
d61c51a7
AM
18622 * po/eo.po: Update Esperanto translation from translation project.
18623
0339a319
AM
18624 * po/cs.po: Update Czech translation from translation project.
18625
94ad3e99
AM
18626 * po/nl.po: Update Dutch translation from translation project.
18627
e349ca71
AM
18628 * po/pl.po: Update Polish translation from translation project.
18629
ddf930c1
AM
18630 * po/ru.po: Update Russian translation from translation project.
18631
1b19c006
AM
18632 * po/uk.po: Update Ukrainian translation from translation project.
18633
9f236c49
BM
186342014-01-08 Brooks Moses <bmoses@google.com>
18635
18636 * elf/dl-load.c: Fix comment typo.
18637
cd6701cf
CD
186382014-01-08 Carlos O'Donell <carlos@redhat.com>
18639
18640 * po/header.pot: Rename to...
18641 * po/pot.header: ... this.
18642 * po/Makefile: Use pot.header.
18643
66671c84
YK
186442014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18645 Maxim Kuvyrkov <maxim@kugelworks.com>
18646
18647 [BZ #16394]
cd6701cf
CD
18648 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18649 SRC and DEST against LEN.
66671c84 18650
38f34581
AZ
186512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 [BZ #16414]
18654 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18655 implementation.
18656 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18657
186582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18659
18660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18661
4c327f2a
JM
186622014-01-08 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #16408]
18665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18666 for large positive arguments.
18667
b821f414
JM
186682014-01-07 Joseph Myers <joseph@codesourcery.com>
18669
1f0f2067
JM
18670 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18671
a5a326f6
JM
18672 * math/auto-libm-test-in: Mark various tests with
18673 xfail-rounding:ldbl-128ibm.
18674 * math/auto-libm-test-out: Regenerated.
18675
b821f414
JM
18676 [BZ #16407]
18677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18678 Increase overflow threshold.
18679
94c8a4bc
OB
186802014-01-07 Ondřej Bílka <neleai@seznam.cz>
18681
18682 [BZ #14286]
18683 * stdio-common/vfprintf.c: Check for integer overflow.
18684
87ded0c3
AK
186852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18686
18687 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18688 the first argument and return value of __tls_get_addr_internal.
18689
c5eebdd0
AK
186902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18691
18692 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18693 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18694
05d138ef
AK
186952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18696
18697 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18698 * sysdeps/s390/rtld-global-offsets.sym: New file.
18699 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18700 GLIBC_2.19 symbol.
18701 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18702 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18703 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18704 ... this.
18705 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18706 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18707 ... this.
18708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18709 Regenerate.
18710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18711 Regenerate.
18712 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18713 halfs of GPRs for high_gprs contexts.
18714 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18715 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18716 field.
18717 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18718 uc_flags field.
18719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18720 64 bit versions:
18721 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18722 for high GPRs (uc_high_gprs) and for future extensions
18723 (__reserved).
18724 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18725 for future extensions (__reserved).
18726 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18727 64 bit versions:
18728 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18729 SC_HIGHGPRS offset definition.
18730 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18731 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18732
93a45ff1
AK
18733 * Versions.def: Add GLIBC_2.19 for libpthread.
18734 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18735 siglongjmp for libpthread with GLIBC_2.19 symver.
18736 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18737 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18738 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18739 * sysdeps/s390/__longjmp.c: New file.
18740 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18741 * sysdeps/s390/longjmp.c: New file.
18742 * sysdeps/s390/setjmp.S: New file.
18743 * sysdeps/s390/sigjmp.S: New file.
18744 * sysdeps/s390/v1-longjmp.c: New file.
18745 * sysdeps/s390/v1-setjmp.h: New file.
18746 * sysdeps/s390/v1-sigjmp.c: New file.
18747 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18748 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18749 GLIBC_2.19 version.
18750 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18751 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18752 versioned symbols for ____longjmp_chk.
18753 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18754 Likewise.
18755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18756 Regenerate.
18757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18758 Regenerate.
18759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18760 Regenerate.
18761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18762 Regenerate.
18763 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18764 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18765 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18766 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18767 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18768 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18769 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18770 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18771 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18772 * sysdeps/s390/rtld-__longjmp.c: New file.
18773 * sysdeps/s390/rtld-setjmp.S: New file.
18774
eb3fc44b
JM
187752014-01-06 Joseph Myers <joseph@codesourcery.com>
18776
18777 [BZ #16400]
18778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18779 Return -__logl (x) for small positive arguments without evaluating
18780 a polynomial.
18781
9341dde4
MF
187822014-01-06 Mike Frysinger <vapier@gentoo.org>
18783
18784 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18785 Rename to ...
18786 (__ptrace_peeksiginfo_args): ... this.
18787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18788 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18790
4cff0293
AM
187912014-01-06 Allan McRae <allan@archlinux.org>
18792
18793 * inet/netinet/in.h: Fix typo in comment.
18794
75595dcf
AJ
187952014-01-05 Andreas Jaeger <aj@suse.de>
18796
18797 * sysdeps/i386/fpu/libm-test-ulps: Update.
18798
79c1e109
AM
187992014-01-05 Allan McRae <allan@archlinux.org>
18800
dd804818
AM
18801 * po/libc.pot: Regenerated.
18802
79c1e109
AM
18803 * malloc/memusagestat.c: Fix gettext call formatting.
18804
0c813d1f
SK
188052014-01-04 Sami Kerola <kerolasa@iki.fi>
18806
18807 * nscd/nscd.c: Improve usage() output.
18808
20f4a8d9
MF
188092014-01-04 Mike Frysinger <vapier@gentoo.org>
18810
18811 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18812 * sysdeps/unix/sysv/linux/configure: Regenerated.
18813 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18814 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18815
22562bb2
JM
188162014-01-03 Joseph Myers <joseph@codesourcery.com>
18817
18818 [BZ #16390]
18819 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18820 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18821
d7ad2d9b
AZ
188222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18823
18824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18825 extra tokens at end of #undef directive.
18826 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18827 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18828 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18829
7dd009d8
JM
188302014-01-03 Joseph Myers <joseph@codesourcery.com>
18831
24db925a
JM
18832 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18833
7dd009d8
JM
18834 * math/auto-libm-test-in: Mark various tests with
18835 xfail-rounding:ldbl-128ibm.
18836 * math/auto-libm-test-out: Regenerated.
18837
396e3ecf
JM
188382014-01-02 Joseph Myers <joseph@codesourcery.com>
18839
819e5d50
JM
18840 [BZ #16386]
18841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18842 numbers with subnormal high part when calculating exponent.
18843
90b6a1e5
JM
18844 [BZ #16385]
18845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18846 fabs.
18847
396e3ecf
JM
18848 [BZ #16384]
18849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18850 M_LN2l.
18851 (__ieee754_acoshl): Use __log1pl not __log1p.
18852
6c8dbf00
OB
188532013-01-02 Ondřej Bílka <neleai@seznam.cz>
18854
57f41c40
AS
18855 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18856 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18857 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18858 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18859 (reused_arena, arena_get2): Convert to GNU style.
18860 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18861 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18862 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18863 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18864 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18865 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18866 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18867 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18868 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18869 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18870 * malloc/malloc.h: Likewise.
57f41c40
AS
18871 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18872 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18873 * malloc/mcheck.h: Likewise.
57f41c40
AS
18874 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18875 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18876 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18877 * malloc/morecore.c (__default_morecore): Likewise.
18878 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18879 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18880 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18881 (print_and_abort): Likewise.
6c8dbf00
OB
18882 * malloc/obstack.h: Likewise.
18883 * malloc/set-freeres.c (__libc_freeres): Likewise.
18884 * malloc/tst-mallocstate.c (main): Likewise.
18885 * malloc/tst-mtrace.c (main): Likewise.
18886 * malloc/tst-realloc.c (do_test): Likewise.
18887
d4124212
SP
188882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18889
9a3c6a6f
SP
18890 [BZ #16366]
18891 * nscd/netgroupcache.c (do_notfound): New function.
18892 (addgetnetgrentX): Use it.
18893
d4124212
SP
18894 [BZ # 16365]
18895 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18896 NSS_STATUS_NOTFOUND.
18897
97b9a009
JM
188982014-01-01 Joseph Myers <joseph@codesourcery.com>
18899
18900 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902
d4697bc9
AM
189032014-01-01 Allan McRae <allan@archlinux.org>
18904
ddb3687f
AM
18905 * scripts/update-copyrights: Update configure input file suffix.
18906
88726d48
AM
18907 * NEWS: Update copyright year.
18908 * catgets/gencat.c: Likewise.
18909 * csu/version.c: Likewise.
18910 * debug/catchsegv.sh: Likewise.
18911 * debug/pcprofiledump.c: Likewise.
18912 * debug/xtrace.sh: Likewise.
18913 * elf/ldconfig.c: Likewise.
18914 * elf/ldd.bash.in: Likewise.
18915 * elf/pldd.c: Likewise.
18916 * elf/sotruss.ksh: Likewise.
18917 * elf/sprof.c: Likewise.
18918 * iconv/iconv_prog.c: Likewise.
18919 * iconv/iconvconfig.c: Likewise.
18920 * locale/programs/locale.c: Likewise.
18921 * locale/programs/localedef.c: Likewise.
18922 * login/programs/pt_chown.c: Likewise.
18923 * malloc/memusage.sh: Likewise.
18924 * malloc/memusagestat.c: Likewise.
18925 * malloc/mtrace.pl: Likewise.
18926 * manual/libc.texinfo: Likewise.
18927 * nscd/nscd.c: Likewise.
18928 * nss/getent.c: Likewise.
18929 * nss/makedb.c: Likewise.
18930 * posix/getconf.c: Likewise.
18931 * scripts/test-installation.pl: Likewise.
18932
d4697bc9
AM
18933 * All files with FSF copyright notices: Update copyright dates
18934 using scripts/update-copyrights.
18935 * intl/plural.c: Regenerated.
18936 * locale/programs/charmap-kw.h: Likewise.
18937 * locale/programs/locfile-kw.h: Likewise.
18938
c8590f9d
MF
189392013-12-31 Mike Frysinger <vapier@gentoo.org>
18940
18941 * sysdeps/unix/sysv/linux/configure: Regenerated.
18942 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18943 the linux/fanotify.h header.
18944 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18945 HAVE_LINUX_FANOTIFY_H is defined.
18946
b19221b9
SP
189472013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18948
dd1d85e5
SP
18949 * benchtests/cos-inputs: New inputs.
18950 * benchtests/sin-inputs: Likewise.
18951
1acbb90f
SP
18952 * benchtests/atan-inputs: New inputs. Fix name of multiple
18953 precision fallback inputs.
18954
4c012ed3
SP
18955 * benchtests/atanh-inputs: New inputs.
18956 * benchtests/tanh-inputs: Likewise.
18957
eff98324
SP
18958 * benchtests/acosh-inputs: New inputs.
18959 * benchtests/asinh-inputs: Likewise.
18960
ce641152
SP
18961 * benchtests/cosh-inputs: New inputs.
18962 * benchtests/sinh-inputs: Likewise.
18963
b19221b9
SP
18964 * benchtests/acos-inputs: Add more inputs.
18965 * benchtests/asin-inputs: Likewise.
18966
030a4976 189672013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18968
030a4976 18969 [BZ #16375]
9dcc8f11
VS
18970 * manual/arith.texi: Fix spelling.
18971 * manual/charset.texi: Likewise.
18972 * manual/errno.texi: Likewise.
18973 * manual/filesys.texi: Likewise.
18974 * manual/lang.texi: Likewise.
18975 * manual/llio.texi: Likewise.
18976 * manual/locale.texi: Likewise.
18977 * manual/message.texi: Likewise.
18978 * manual/resource.texi: Likewise.
18979 * manual/search.texi: Likewise.
18980 * manual/setjmp.texi: Likewise.
18981 * manual/stdio.texi: Likewise.
18982 * manual/string.texi: Likewise.
18983 * manual/sysinfo.texi: Likewise.
18984 * manual/time.texi: Likewise.
18985
11520a57
CD
189862013-12-27 Carlos O'Donell <carlos@redhat.com>
18987
18988 * po/sl.po: New file.
18989
471103ae
MF
189902013-12-27 Mike Frysinger <vapier@gentoo.org>
18991
18992 * .gitignore: Add core/.gdbinit/.gdb_history.
18993
6c9642ed
AM
189942013-12-27 Allan McRae <allan@archlinux.org>
18995
18996 [BZ #16369]
18997 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18998 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18999
3f637079
BM
190002013-12-24 Brooks Moses <bmoses@google.com>
19001
19002 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19003 all compilers that claim C++98 compliance, not just GCC.
19004 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19005 Likewise.
19006
abc26e99
MK
190072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19008
19009 * NEWS: Restore accidentally deleted bug-fix entries.
19010
362b47fe
MK
190112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19012 Ondřej Bílka <neleai@seznam.cz>
19013
19014 [BZ #15073]
19015 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19016 have_lock.
362b47fe 19017
b9bcbbcb
OB
190182013-12-23 Ondřej Bílka <neleai@seznam.cz>
19019
19020 [BZ #12986]
19021 * manual/stdio.texi (String Input Conversions): Clarify that character
19022 classes are not supported.
19023
fb55fcd2
AZ
190242013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19025
19026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19027
ef7344f0
JM
190282013-12-22 Joseph Myers <joseph@codesourcery.com>
19029
4f40e4b3
JM
19030 [BZ #16337]
19031 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19032 Calculate results for small negative arguments directly rather
19033 than using reflection formula with special underflow handling.
19034
ef7344f0
JM
19035 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19036 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19037 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19038 (fchflags): Likewise.
19039 (revoke): Likewise.
19040 (setlogin): Likewise.
19041 (sigaltstack): Likewise.
19042 (wait4): Likewise.
19043 (sigblock): Remove.
19044 (sigsetmask): Likewise.
19045 (wait3): Likewise.
19046 (waitpid): Likewise.
19047 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19048 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19049 file.
19050 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19051 * sysdeps/unix/bsd/Makefile: ... here.
19052 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19053 * sysdeps/unix/bsd/Versions: ... here.
19054 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19055 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19056 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19057 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19058 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19059 * sysdeps/unix/bsd/sigblock.c: ... here.
19060 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19061 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19062 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19063 * sysdeps/unix/bsd/sigvec.c: ... here.
19064 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19065 * sysdeps/unix/bsd/tcdrain.c: ... here.
19066 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19067 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19068 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19069 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19070 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19071 * sysdeps/unix/bsd/wait.c: ... here.
19072 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19073 * sysdeps/unix/bsd/wait3.c: ... here.
19074 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19075 * sysdeps/unix/bsd/waitpid.c: ... here.
19076
5b0626b9
JM
190772013-12-21 Joseph Myers <joseph@codesourcery.com>
19078
19079 [BZ #16356]
19080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19081 round-to-nearest for [!USE_AS_EXPM1L].
19082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19083 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19084 more tests of exp and exp10. Expect some exp10 tests to miss
19085 exceptions or fail in directed rounding modes.
19086 * math/auto-libm-test-out: Regenerated.
19087 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19088 (exp10_test_tonearest): New function.
19089 (exp10_towardzero_test_data): New array.
19090 (exp10_test_towardzero): New function.
19091 (exp10_downward_test_data): New array.
19092 (exp10_test_downward): New function.
19093 (exp10_upward_test_data): New array.
19094 (exp10_test_upward): New function.
19095 (main): Call the new functions.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098
7fda5682
JM
190992013-12-20 Joseph Myers <joseph@codesourcery.com>
19100
31e3a405
JM
19101 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19102 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19103 * math/auto-libm-test-out: Regenerated.
19104 * math/libm-test.inc (acosh_test_data): Add more tests.
19105 (atanh_test_data): Likewise.
19106 (ceil_test_data): Likewise.
19107 (copysign_test_data): Likewise.
19108 * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110
85bff96a
JM
19111 * timezone/checktab.awk: Update from tzcode 2013i.
19112 * timezone/private.h: Likewise.
19113 * timezone/scheck.c: Likewise.
19114 * timezone/tzfile.h: Likewise.
19115 * timezone/tzselect.ksh: Likewise.
19116 * timezone/zdump.c: Likewise.
19117 * timezone/zic.c: Likewise.
19118
b7867a3b
JM
19119 * math/auto-libm-test-in: Add tests of cpow.
19120 * math/auto-libm-test-out: Regenerated.
19121 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19123 mpc_cc_c.
19124 (func_calc_desc): Add mpc_cc_c union field.
19125 (test_functions): Add cpow.
19126 (special_fill_2pi): New function.
19127 (special_real_inputs): Add 2pi.
19128 (calc_generic_results): Handle mpc_cc_c.
19129 * sysdeps/i386/fpu/libm-test-ulps: Update.
19130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19131
7fda5682
JM
19132 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19133 csqrt, ctan and ctanh.
19134 * math/auto-libm-test-out: Regenerated.
19135 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19136 (TEST_COND_x86): Likewise.
19137 (ccos_test_data): Use AUTO_TESTS_c_c.
19138 (ccosh_test_data): Likewise.
19139 (cexp_test_data): Likewise.
19140 (clog_test_data): Likewise.
19141 (csqrt_test_data): Likewise.
19142 (ctan_test_data): Likewise.
19143 (ctan_tonearest_test_data): Likewise.
19144 (ctan_towardzero_test_data): Likewise.
19145 (ctan_downward_test_data): Likewise.
19146 (ctan_upward_test_data): Likewise.
19147 (ctanh_test_data): Likewise.
19148 (ctanh_tonearest_test_data): Likewise.
19149 (ctanh_towardzero_test_data): Likewise.
19150 (ctanh_downward_test_data): Likewise.
19151 (ctanh_upward_test_data): Likewise.
19152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19153 mpc_c_c.
19154 (func_calc_desc): Add mpc_c_c union field.
19155 (FUNC_mpc_c_c): New macro.
19156 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19157 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19158 ctanh.
19159 (special_fill_min_subnorm_p120): New function.
19160 (special_real_inputs): Add min_subnorm_p120.
19161 (calc_generic_results): Handle mpc_c_c.
19162 * sysdeps/i386/fpu/libm-test-ulps: Update.
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19164
5ff8d60e
SP
191652013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19166
57f41c40
AS
19167 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19168 (do_sin_slow): New functions.
19169 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19170 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19171
84ba214c
SP
19172 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19173 Use M to change sign of result instead of X. Assume X is
19174 positive.
19175 (csloww1): Likewise.
19176 (__sin): Adjust.
19177 (__cos): Adjust.
19178
975195e4
SP
19179 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19180 arguments A and DA.
19181 (__sin): Adjust.
19182 (__cos): Likewise.
19183
5ff8d60e
SP
19184 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19185 (__cos): Likewise.
19186 (sloww1): Don't adjust sign of DX.
19187 (csloww1): Likewise.
19188 (sloww2): Use X directly and don't adjust sign of DX.
19189 (csloww2): Likewise.
19190
eb983568
JM
191912013-12-19 Joseph Myers <joseph@codesourcery.com>
19192
64a17f1a
JM
19193 * math/auto-libm-test-in: Add tests of cabs and carg.
19194 * math/auto-libm-test-out: Regenerated.
19195 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19196 (carg_test_data): Likewise.
19197 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19198 mpc_c_f.
19199 (func_calc_desc): Add mpc_c_f union field.
19200 (test_functions): Add cabs and carg.
19201 (calc_generic_results): Handle mpc_c_f.
19202
eb983568
JM
19203 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19204 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19205 as a macro and a compat symbol.
19206 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19207 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19208 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19209 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19210 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19211 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19212 not use .hidden.
19213 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19214 Likewise.
19215 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19216 Likewise.
19217 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19218 Likewise.
19219 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19220 Likewise.
19221 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19222 Likewise.
19223 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19224 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19225 from GLIBC_2.3.2.
19226
6eeb678a
AZ
192272013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19228
19229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19230
6f6fc482
JM
192312013-12-19 Joseph Myers <joseph@codesourcery.com>
19232
21fea2e2
JM
19233 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19234 trailing whitespace removed.
19235 * scripts/config.guess: Update to version 2013-11-29.
19236 * scripts/config.sub: Update to version 2013-10-01.
19237
6f6fc482
JM
19238 * math/auto-libm-test-in: Add tests of sincos.
19239 * math/auto-libm-test-out: Regenerated.
19240 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19241 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19242 mpfr_f_11.
19243 (func_calc_desc): Add mpfr_f_11 union field.
19244 (test_functions): Add sincos.
19245 (calc_generic_results): Handle mpfr_f_11.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
83f5c32d
AS
192492013-12-19 Andreas Schwab <schwab@suse.de>
19250
19251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19252 CALL_MCOUNT.
19253 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19254 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19255 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19256
c688b419
JM
192572013-12-19 Joseph Myers <joseph@codesourcery.com>
19258
335ee092
JM
19259 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19260 * sysdeps/i386/fpu/libm-test-ulps: Update.
19261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262
f88acd39
JM
19263 [BZ #16293]
19264 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19265 round-to-nearest mode when using frndint.
19266 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19267 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19268 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19269 Likewise.
19270 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19271 sinh test to fail.
19272 * math/auto-libm-test-out: Regenerated.
19273 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19274 (TEST_COND_x86): Likewise.
19275 (expm1_tonearest_test_data): New array.
19276 (expm1_test_tonearest): New function.
19277 (expm1_towardzero_test_data): New array.
19278 (expm1_test_towardzero): New function.
19279 (expm1_downward_test_data): New array.
19280 (expm1_test_downward): New function.
19281 (expm1_upward_test_data): New array.
19282 (expm1_test_upward): New function.
19283 (main): Run the new test functions.
19284 * sysdeps/i386/fpu/libm-test-ulps: Update.
19285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19286
c688b419
JM
19287 * include/features.h: Update comment documenting feature test
19288 macros. Mention _DEFAULT_SOURCE in comment.
19289 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19290 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19291 _BSD_SOURCE and _SVID_SOURCE.
19292 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19293 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19294 !_SVID_SOURCE]: Likewise.
19295 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19296 (__USE_POSIX_IMPLICITLY): Define.
19297 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19298 (_POSIX_SOURCE): Undefine and redefine.
19299 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19300 (_POSIX_C_SOURCE): Likewise.
19301 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19302 (Feature Test Macros): Update documentation of default features.
19303
9f6e964c
RS
193042013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19305
19306 * benchtests/Makefile: Add bench-strtok.
19307 * benchtests/bench-strtok.c: New file: strtok benchtest.
19308
ee0a148a
AM
193092013-12-19 Allan McRae <allan@archlinux.org>
19310
19311 * manual/install.texi: Suppress menu for plain text output.
19312 * INSTALL: Regenerated.
19313
b9ab448f
BM
193142013-12-18 Brooks Moses <bmoses@google.com>
19315
19316 [BZ #15846]
19317 * misc/getauxval.c: Include errno.h.
19318 (__getauxval): Set errno to ENOENT if the requested type is not
19319 found.
19320 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19321 don't declare with __attribute_const__.
19322 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19323 * manual/startup.texi: Document that getauxval sets errno.
19324
23776487
JM
193252013-12-18 Joseph Myers <joseph@codesourcery.com>
19326
f889953b
JM
19327 * math/auto-libm-test-in: Add tests of jn and yn.
19328 * math/auto-libm-test-out: Regenerated.
19329 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19330 (yn_test_data): Likewise.
19331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19332 mpfr_if_f.
19333 (func_calc_desc): Add mpfr_if_f union field.
19334 (FUNC_mpfr_if_f): New macro.
19335 (test_functions): Add jn and yn.
19336 (calc_generic_results): Assert type of second input for
19337 mpfr_ff_f. Handle mpfr_if_f.
19338 (output_for_one_input_case): Disable all checking for arguments
19339 fitting floating-point types in case of an integer argument.
19340 * sysdeps/i386/fpu/libm-test-ulps: Update.
19341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19342
23776487
JM
19343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19344 Don't expect fegetround reference in libm.so.
19345
cb756c6d
MS
193462013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19347
19348 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19349 $(config-cflags-nofma).
19350
2dec468f
JM
193512013-12-18 Joseph Myers <joseph@codesourcery.com>
19352
5953eb3a
JM
19353 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19354 * math/auto-libm-test-out: Regenerated.
19355
2dec468f
JM
19356 [BZ #16338]
19357 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19358 to determine exponent and adjust argument to have exponent of -1.
19359 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19360 log2.
19361 * math/auto-libm-test-out: Regenerated.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update.
19363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19364
4d84e6ad
OB
193652013-12-18 Ondřej Bílka <neleai@seznam.cz>
19366
19367 * manual/probes.texi: Remove cases when per-thread arenas are
19368 disabled.
19369
1818483b
AS
193702013-12-18 Andreas Schwab <schwab@suse.de>
19371
19372 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19373 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19374 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19375 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19376 * sysdeps/i386/i686/multiarch/Makefile: Update.
19377 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19378
25de95bf
JM
193792013-12-17 Joseph Myers <joseph@codesourcery.com>
19380
19381 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19382 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19383
674762d9
PE
193842013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19385
ed27ed83 19386 [BZ #15968]
0748546f
PE
19387 Support TZ transition times < 00:00:00.
19388 This is needed for version-3 tz-format files; it supports time
19389 stamps past 2037 for America/Godthab (the only entry in the tz
19390 database for which this change is relevant).
19391 * manual/time.texi (TZ Variable): Document transition times
19392 from -167:59:59 through -00:00:01.
19393 * time/tzset.c (tz_rule): Time of day is now signed.
19394 (__tzset_parse_tz): Parse negative time of day.
19395
4480e934
PE
19396 Document TZ transition times >= 25:00:00.
19397 * manual/time.texi (TZ Variable): Document transition times from
19398 25:00:00 through 167:59:59. These are already supported, and this
19399 support will help with version-3 tz-format files.
19400
69947401
PE
19401 * manual/time.texi (TZ Variable): Modernize North America example
19402 to reflect current (i.e., 2007-and-later) daylight saving rules.
19403
674762d9
PE
19404 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19405
7011c262
JM
194062013-12-17 Joseph Myers <joseph@codesourcery.com>
19407
2fc6557e
JM
19408 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19409 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19411 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19412 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19413 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19414 * sysdeps/unix/bsd/clock.c: Likewise.
19415 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19416 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19417 * sysdeps/unix/bsd/init-posix.c: Likewise.
19418 * sysdeps/unix/bsd/poll.c: Likewise.
19419 * sysdeps/unix/bsd/ptsname.c: Likewise.
19420 * sysdeps/unix/bsd/seekdir.c: Likewise.
19421 * sysdeps/unix/bsd/setegid.c: Likewise.
19422 * sysdeps/unix/bsd/seteuid.c: Likewise.
19423 * sysdeps/unix/bsd/setgid.c: Likewise.
19424 * sysdeps/unix/bsd/setrgid.c: Likewise.
19425 * sysdeps/unix/bsd/setruid.c: Likewise.
19426 * sysdeps/unix/bsd/setsid.c: Likewise.
19427 * sysdeps/unix/bsd/setuid.c: Likewise.
19428 * sysdeps/unix/bsd/sigaction.c: Likewise.
19429 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19430 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19431 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19432 * sysdeps/unix/bsd/telldir.c: Likewise.
19433 * sysdeps/unix/bsd/times.c: Likewise.
19434 * sysdeps/unix/bsd/usleep.c: Likewise.
19435
029c7b25
JM
19436 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19437 ($(objpfx)libbsd-compat.a): Remove rule.
19438
7011c262
JM
19439 * include/features.h (__FAVOR_BSD): Do not define.
19440 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19441 features conflicting with POSIX.
19442 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19443 (_BSD_SOURCE): Remove description of not being a subset of other
19444 feature test macros.
19445 * manual/job.texi (getpgrp): Do not document BSD version.
19446 (getpgid): Do not document by reference to BSD getpgrp.
19447 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19448 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19449 * signal/signal.h [__FAVOR_BSD]: Likewise.
19450 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19451 instead of making contents conditional on [__FAVOR_BSD].
19452 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19453
affb6f78
AZ
194542013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19455
19456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19457
c88769dd
JM
194582013-12-17 Joseph Myers <joseph@codesourcery.com>
19459
6432a540
JM
19460 [BZ #16314]
19461 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19462 values below 2**-450, not 2**-500.
19463 * math/auto-libm-test-in: Don't allow spurious underflow from
19464 hypot.
19465 * math/auto-libm-test-out: Regenerated.
19466
c88769dd
JM
19467 [BZ #16316]
19468 [BZ #16330]
19469 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19470 values of ha and hb and sort them after adjusting subnormal
19471 arguments.
19472 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19473 Likewise.
19474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19475 values of ea and eb and sort them after adjusting subnormal
19476 arguments.
19477 * math/auto-libm-test-in: Do not expect some hypot tests of
19478 subnormals to fail. Add more hypot tests.
19479 * math/auto-libm-test-out: Regenerated.
19480
29618f6b
KK
194812013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19482
19483 [BZ #13304]
19484 * sysdeps/sh/s_fma.c: New file.
19485 * sysdeps/sh/s_fmaf.c: New file.
19486 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19487 version.
19488 * sysdeps/sh/Implies: Add sh/soft-fp.
19489
eacfdfbf
RM
194902013-12-16 Roland McGrath <roland@hack.frob.com>
19491
19492 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19493 level of indirection to members `objname', `errstring', `malloced'.
19494 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19495 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19496 it as the __longjmp argument (just pass 1 instead).
19497 (_dl_catch_error): Initialize C with argument pointers and address of
19498 volatile local ERRCODE rather than copying values out of C at return.
19499
ff362e5b
JM
195002013-12-16 Joseph Myers <joseph@codesourcery.com>
19501
19502 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19503 * math/auto-libm-test-out: Regenerated.
19504 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19505 (hypot_test_data): Likewise.
19506 (pow_test_data): Likewise.
19507 (pow_tonearest_test_data): Likewise.
19508 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19509 mpfr_ff_f.
19510 (func_calc_desc): Add mpfr_ff_f union field.
19511 (FUNC_mpfr_ff_f): New macro.
19512 (test_functions): Add atan2, hypot and pow.
19513 (special_fill_min): New function.
19514 (special_fill_minus_min): Likewise.
19515 (special_fill_min_subnorm): Likewise.
19516 (special_fill_minus_min_subnorm): Likewise.
19517 (special_real_inputs): Add min, -min, min_subnorm and
19518 -min_subnorm.
19519 (calc_generic_results): Handle mpfr_ff_f.
19520 * sysdeps/i386/fpu/libm-test-ulps: Update.
19521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19522
5764c27f
WN
195232013-12-16 Will Newton <will.newton@linaro.org>
19524
19525 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19526 (Aligned Memory Blocks): Add documentation for aligned_alloc
19527 and suggest it as an alternative to posix_memalign.
19528 (Hooks for Malloc): Document __memalign_hook is also called
19529 for aligned_alloc. (Summary of Malloc): Add summary for
19530 aligned alloc. Document __memalign_hook is also called
19531 for aligned_alloc.
19532
0a096e44
WN
195332013-12-16 Will Newton <will.newton@linaro.org>
19534
19535 * manual/memory.texi (Malloc Examples): Clarify default
19536 alignment documentation. Suggest posix_memalign rather
19537 than memalign or valloc.
19538 (Aligned Memory Blocks): Remove suggestion to use memalign
19539 or valloc. Remove obsolete comment about BSD.
19540 Document memalign errno values and mark the function obsolete.
19541 Document posix_memalign returned error codes. Mark valloc
19542 as obsolete. (Hooks for Malloc): __memalign_hook is also
19543 called for posix_memalign and valloc.
19544 (Summary of Malloc): Add posix_memalign to function summary.
19545 __memalign_hook is also called for posix_memalign and valloc.
19546
8d561986
SP
195472013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19548
19549 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19550 TAYLOR_SIN.
19551 (__sin): Adjust.
19552 (__cos): Likewise.
19553 (sloww): Use mynumber union. Expand ternary operator into
19554 if-else statements.
19555 (cslow): use mynumber union.
19556
73616a74
AM
195572013-12-16 Allan McRae <allan@archlinux.org>
19558
9e8ac24b
AM
19559 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19560 * configure: Regenerated.
19561
6f8e37eb
AM
19562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19563
8894bad3
AM
19564 [BZ #14120]
19565 * configure.ac: Added --enable-maintainer-mode. Check for
19566 autoconf when enabled.
19567 * configure: Regenerated.
19568
73616a74
AM
19569 * nscd/nscd.service: New file.
19570 * nscd/nscd.tmpfiles: New file.
19571
584b18eb
OB
195722013-12-14 Ondřej Bílka <neleai@seznam.cz>
19573
19574 [BZ #12100]
19575 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19576 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19577 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19578 (strstr): Add __strstr_sse2_unaligned ifunc.
19579 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19580 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19581 (strcasestr): Remove __strcasestr_sse42 ifunc.
19582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19583 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19584 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19585
8a5c7897
KK
195862013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19587
19588 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19589 * sysdeps/sh/bits/fenv.h: ... here.
19590 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19591
fd712ef3
AZ
195922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19593
19594 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19595
42fcb46c
AZ
19596 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19597 hypotf multiarch implementations.
19598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19601 multiarch hypot for PPC64.
19602 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19603 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19605 multiarch hypotf for PPC64.
19606
83efded4
AZ
19607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19608 modff multiarch implementations.
19609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19612 multiarch modf for PPC64.
19613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19616 multiarch modff for PPC64.
19617
43e246d2
AZ
19618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19619 and logl multiarch implementations.
19620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19623 multiarch logb for PPC64.
19624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19627 multiarch logb for PPC64.
19628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19631 multiarch logb for PPC64.
19632
8fdad123
AZ
19633 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19634 isinff multiarch implementation.
19635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19636 file.
19637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19639 multiarch isinf for PPC64.
19640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19641 file.
19642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19643 multiarch isinff for PPC64.
19644
1481d706
AZ
19645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19646 finitef multiarch implementation.
19647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19648 file.
19649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19651 multiarch finite for PPC64.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19653 file.
19654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19655 multiarch finitef for PPC64.
19656
5ccd5fc8
AZ
19657 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19658 lrint multiarch implementation.
19659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19660 file.
19661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19663 multiarch llrint for PPC64.
19664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19665 multiarch lrint for PPC64.
19666
2568f3fa
AZ
19667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19668 copysignf multiarch implementation.
19669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19670 file.
19671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19672 file.
19673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19674 multiarch copysign for PPC64.
19675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19676 multiarch copysignf for PPC64.
19677
1cb341fd
AZ
19678 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19679 multiarch implementation.
19680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19681 file.
19682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19683 file.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19685 file.
19686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19687 file.
19688 multiarch llround for PPC64.
19689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19690 multiarch trunc for PPC64.
19691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19692 multiarch truncf for PPC64.
19693
59a3e194
AZ
19694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19695 multiarch implementation.
19696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19697 file.
19698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19699 file.
19700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19701 file.
19702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19703 file.
19704 multiarch llround for PPC64.
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19706 multiarch round for PPC64.
19707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19708 multiarch roundf for PPC64.
19709
357fd3b4
AZ
19710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19711 multiarch implementation.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19713 file.
19714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19715 file.
19716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19717 file.
19718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19719 file.
19720 multiarch llround for PPC64.
19721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19722 multiarch floor for PPC64.
19723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19724 multiarch floorf for PPC64.
19725
96770f12
AZ
19726 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19727 multiarch implementation.
19728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19729 file.
19730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19731 file.
19732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19733 file.
19734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19735 file.
19736 multiarch llround for PPC64.
19737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19738 multiarch ceil for PPC64.
19739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19740 multiarch ceilf for PPC64.
19741
c3627f6e
AZ
19742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19743 multiarch implementation.
19744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19745 file.
19746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19747 file.
19748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19749 file.
19750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19751 multiarch llround for PPC64.
19752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19753 multiarch lround for PPC64.
19754
b2284ad7
AZ
19755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19756 multiarch implementation.
19757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19760 file.
19761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19764 multiarch isnan for PPC64.
19765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19766 multiarch isnanf for PPC64.
19767
69bbc63d
AZ
19768 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19769 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19770 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19771 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19772 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19774
c24517c9
AZ
19775 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19779
a52374e8
AZ
19780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19781 multiarch implementations.
19782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19783 (__libc_ifunc_impl_list): Likewise.
19784 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19785 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19786 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19787 multiarch stpcpy for PPC64.
19788
7f5ec113
AZ
19789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19790 multiarch implementations.
19791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19792 (__libc_ifunc_impl_list): Likewise.
19793 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19794 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19795 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19796 multiarch strcpy for PPC64.
19797
e28bcd42
AZ
19798 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19799 redefine function name.
19800 (_wordcopy_fwd_dest_aligned): Likewise.
19801 (_wordcopy_bwd_aligned): Likewise.
19802 (_wordcopy_bwd_dest_aligned): Likewise.
19803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19804 multiarch implementations.
19805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19806 (__libc_ifunc_impl_list): Likewise.
19807 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19808 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19810 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19811 multiarch wcscpy for PPC64.
19812
92cacfce
AZ
19813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19814 multiarch implementations.
19815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19816 (__libc_ifunc_impl_list): Likewise.
19817 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19818 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19820 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19821 multiarch wcscpy for PPC64.
19822
7b714620
AZ
19823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19824 multiarch implementations.
19825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19826 (__libc_ifunc_impl_list): Likewise.
19827 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19828 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19829 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19830 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19831 multiarch wcsrchr for PPC64.
19832
16fd2ae3
AZ
19833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19834 multiarch implementations.
19835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19836 (__libc_ifunc_impl_list): Likewise.
19837 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19838 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19839 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19840 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19841 multiarch wcschr for PPC64.
19842
9ee2969b
AZ
19843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19844 multiarch implementations.
19845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19846 (__libc_ifunc_impl_list): Likewise.
19847 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19848 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19849 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19850 multiarch strchrnul for PPC64.
19851
372dc060
AZ
19852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19853 implementations.
19854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19855 (__libc_ifunc_impl_list): Likewise.
19856 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19857 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19858 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19859 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19860 strchr for PPC64.
19861
24c2c3b9
AZ
19862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19863 implementations.
19864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19865 (__libc_ifunc_impl_list): Likewise.
19866 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19867 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19868 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19869 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19870 strncmp for PPC64.
19871
1c92d9a0
AZ
19872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19873 multiarch implementations.
19874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19875 (__libc_ifunc_impl_list): Likewise.
19876 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19877 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19878 strncasecmp for PPC64.
19879 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19880 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19881 multiarch strncasecmp_l for PPC64.
19882
17de3ee3
AZ
19883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19884 multiarch implementations.
19885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19886 (__libc_ifunc_impl_list): Likewise.
19887 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19888 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19889 multiarch strcasecmp for PPC64.
19890 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19891 file.
19892 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19893 multiarch strcasecmp_l for PPC64.
19894
62982bf9
AZ
19895 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19896 implementations.
19897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19898 (__libc_ifunc_impl_list): Likewise.
19899 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19900 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19901 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19902 strnlen for PPC64.
19903
a65f4904
AZ
19904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19905 implementations.
19906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19907 (__libc_ifunc_impl_list): Likewise.
19908 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19909 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19910 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19911 strlen for PPC64.
19912
1fd005ad
AZ
19913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19914 implementations.
19915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19916 (__libc_ifunc_impl_list): Likewise.
19917 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19918 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19919 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19920 rawmemrchr for PPC64.
19921
cd05ba91
AZ
19922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19923 implementation.
19924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19925 (__libc_ifunc_impl_list): Likewise.
19926 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19927 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19928 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19929 memrchr for PPC64.
19930
870f8676
AZ
19931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19932 implementation.
19933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19934 (__libc_ifunc_impl_list): Likewise.
19935 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19936 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19937 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19938 memchr for PPC64.
19939
f00be62b
AZ
19940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19941 implementation.
19942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19943 (__libc_ifunc_impl_list): Likewise.
19944 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19945 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19946 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19947 mempcpy for PPC64.
19948
8a29a3d0
AZ
19949 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19950 avoid cretion of __bzero symbol.
19951 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19952 Likewise.
19953 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19954 Likewise.
19955 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19956 Likewise.
19957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19958 multiarch implementations.
19959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19960 (__libc_ifunc_impl_list): Likewise.
19961 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19962 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19963 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19964 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19965 bzero for PPC32.
19966 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19967 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19968 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19969 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19970 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19971 memset for PPC64.
19972 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19973
07253fcf
AZ
19974 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19976 implementations.
19977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19978 (__libc_ifunc_impl_list): Likewise.
19979 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19980 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19981 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19982 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19983 memcmp for PPC64.
19984
b5beafbc
AZ
19985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19986 multiarch for POWER/PPC64.
19987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19988 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19989 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19991 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19992 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19993 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19994 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19995 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19996 memcpy for PPC64.
19997
5e6a4d4b
AZ
19998 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19999 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20000 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20002 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20003 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20004 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20005 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20006 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20007 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20008 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20009 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20010 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20011 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20012 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20020
ddfab6dc
KK
200212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20022
20023 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20024
19b5525e
SP
200252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20026
20027 * benchtests/Makefile (bench): Add exp2 and log2.
20028 (LDLIBS-bench-exp2): Add -lm.
20029 (LDLIBS-bench-log2): Likewise.
20030 * benchtests/exp2-inputs: New inputs file.
20031 * benchtests/log2-inputs: New inputs file.
20032 * benchtests/log-inputs: Add new inputs.
20033 * benchtests/tan-inputs: Likewise.
20034
196f7f5d
SP
200352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20036
7a74607f
SP
20037 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20038 definition...
57f41c40
AS
20039 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20040 (csloww2): ... from here.
7a74607f 20041
196f7f5d
SP
20042 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20043 instead of structures.
20044 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20045 (POLYNOMIAL): Likewise.
20046 (TAYLOR_SLOW): Likewise.
20047 (__sin): Likewise.
20048 (__cos): Likewise.
20049 (slow1): Likewise.
20050 (slow2): Likewise.
20051 (sloww): Likewise.
20052 (sloww1); Likewise.
20053 (sloww2): Likewise.
20054 (bsloww1): Likewise.
20055 (bsloww2): Likewise.
20056 (cslow2): Likewise.
20057 (csloww): Likewise.
20058 (csloww1): Likewise.
20059 (csloww2): Likewise.
20060
0dfa665c
OB
200612013-12-10 Ondřej Bílka <neleai@seznam.cz>
20062
20063 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20064 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20065 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20066 * malloc/hooks.c (realloc_check): Likewise.
20067
5782a80f
OB
20068 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20069 * malloc/arena.c: Remove PER_THREAD conditional.
20070 [!PER_THREAD]: Remove code.
20071 (ptmalloc_unlock_all2): Likewise.
20072 (ptmalloc_init): Likewise.
20073 (_int_new_arena): Likewise.
20074 (arena_get2): Likewise.
20075 * malloc/hooks.c (__malloc_get_state): Likewise.
20076 (__malloc_set_state): Likewise.
20077 * malloc/malloc.c: Likewise.
20078 (struct malloc_state): Likewise.
20079 (struct malloc_par): Likewise.
20080 (__libc_realloc): Likewise.
20081 (__libc_mallopt): Likewise.
20082
aeb95445
AZ
200832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20084
20085 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20086
e8349efd
OB
200872013-12-09 Ondřej Bílka <neleai@seznam.cz>
20088
20089 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20090 macro to a function. Check for zero perturb_byte.
20091 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20092
f3eeb3fc 20093 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20094 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20095 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20096 force_reg by atomic_forced_read.
20097 * malloc/arena.c (ptmalloc_init): Likewise.
20098 * malloc/hooks.c (top_check): Likewise.
20099
be2f9009
AZ
201002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20101
20102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20103
e7b914bd
MT
201042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20105
20106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20107
9f0be4f8
JM
201082013-12-08 Joseph Myers <joseph@codesourcery.com>
20109
20110 * math/auto-libm-test-in: Add tests of lgamma.
20111 * math/auto-libm-test-out: Regenerated.
20112 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20113 (M_LOG_2_SQRT_PIl): Likewise.
20114 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20116 mpfr_f_f1.
20117 (func_calc_desc): Add mpfr_f_f1 union field.
20118 (ARGS1): New macro.
20119 (ARGS2): Likewise.
20120 (ARGS3): Likewise.
20121 (ARGS4): Likewise.
20122 (RET1): Likewise.
20123 (RET2): Likewise.
20124 (CALC): Likewise.
20125 (FUNC): Likewise.
20126 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20127 (test_functions): Add lgamma.
20128 (calc_generic_results): Handle mpfr_f_f1.
20129 * sysdeps/i386/fpu/libm-test-ulps: Update.
20130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20131
24eeafdb
AZ
201322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20133
20134 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20135 __mpn_add_n for PowerPC64/POWER7.
20136 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20137 __mpn_sub_n for PowerPC64/POWER7.
20138
4a2c0fd4
AZ
20139 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20140 __mpn_addmul_1 for PowerPC64.
20141 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20142 __mpn_submul_1 for PowerPC64.
20143 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20144 for PowerPC64.
20145 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20146 for PowerPC64.
20147
4b5b548c
FS
201482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20149
20150 [BZ #15089]
20151 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20152
0a3ac0aa
AZ
201532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20154
20155 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20156
ccdc8438
AZ
20157 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20158 add multiarch folders.
20159 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20160 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20161 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20162 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20163 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20164 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20165 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20166 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20167 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20168 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20169 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20176
2e973d99
AZ
20177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20178 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20180 New file.
20181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20182 New file.
20183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20184 multiarch __ieee754_hypot for PowerPC32.
20185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20186 New file.
20187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20188 New file.
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20190 multiarch __ieee754_hypotf for PowerPC32.
20191
2d9470b2
AZ
20192 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20193 long_double_symbol only if __logbl is defined.
20194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20195 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20197 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20198 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20199 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20200 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20201 path for implementation.
20202 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20205 logb, and logbl multiarch implementations for PowerPC32.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20207 file.
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20209 file.
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20211 multiarch logb for PowerPC32.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20213 file.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20215 file.
20216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20217 multiarch logbf for PowerPC32.
20218 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20220 file.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20222 multiarch logbl implementation for PowerPC32.
20223
5212ffce
AZ
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20225 and modff multiarch implementations.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20227 New file.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20229 New file.
20230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20231 multiarch modf for PowerPC32.
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20233 New file.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20235 New file.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20237 multiarch modff for PowerPC32.
20238
79dccf31
AZ
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20240 and lrintf multiarch implementations.
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20242 New file.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20244 New file.
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20246 multiarch lrint for PowerPC32.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20248 file: multiarch lrintf for PowerPC32.
20249
deb66480
AZ
20250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20251 and lroundf multiarch implementations.
20252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20253 New file.
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20255 New file.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20257 New file.
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20259 multiarch lround for PowerPC32.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20261 file: multiarch lroundf for PowerPC32.
20262
264b036b
AZ
20263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20264 copysign and copysignf multiarch implementations.
20265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20266 New file.
20267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20268 New file.
20269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20270 file: multiarch copysign for PowerPC32.
20271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20272 file: multiarch copysignf for PowerPC32.
20273
d47db6c9
AZ
20274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20275 and truncf multiarch implementations.
20276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20277 New file.
20278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20279 file.
20280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20281 multiarch trunc for PowerPC32.
20282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20283 New file.
20284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20285 New file.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20287 multiarch truncf for PowerPC32.
20288
ddb60b5a
AZ
20289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20290 and roundf multiarch implementations.
20291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20292 New file.
20293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20294 file.
20295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20296 multiarch round for PowerPC32.
20297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20298 New file.
20299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20300 New file.
20301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20302 multiarch roundf for PowerPC32.
20303
bedcf49b
AZ
20304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20305 and floorf multiarch implementations.
20306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20307 New file.
20308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20309 file.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20311 multiarch floor for PowerPC32.
20312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20313 New file.
20314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20315 New file.
20316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20317 multiarch floorf for PowerPC32.
20318
35ae5b40
AZ
20319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20320 and ceilf multiarch implementations.
20321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20322 New file.
20323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20324 file.
20325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20326 multiarch ceil for PowerPC32.
20327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20328 New file.
20329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20330 file.
20331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20332 multiarch ceilf for PowerPC32.
20333
ae1a4cd9
AZ
20334 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20335 is defined.
20336 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20337 FINITEF is defined.
20338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20339 and finitef multiarch implementations.
20340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20341 New file.
20342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20343 file.
20344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20345 multiarch finite for PowerPC32.
20346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20347 New file.
20348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20349 file: multiarch finitef for PowerPC32.
20350
64fffd65
AZ
20351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20352 and isinff multiarch implementations.
20353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20354 file.
20355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20356 file.
20357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20358 multiarch isinf for PowerPC32.
20359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20360 New file.
20361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20362 multiarch isinff for PowerPC32.
20363
8e4e7ba2
AZ
20364 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20365 alias when __isnan is defined.
20366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20367 and isnanf multiarch implementations.
20368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20369 file.
20370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20371 file.
20372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20373 file.
20374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20375 file.
20376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20377 multiarch isnan for PowerPC32.
20378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20379 New file.
20380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20381 New file.
20382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20383 multiarch isnanf for PowerPC32.
20384
ddba588e
AZ
20385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20386 and sqrtf multiarch implementations.
20387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20388 file.
20389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20390 file.
20391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20392 multiarch sqrt for PowerPC32.
20393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20394 file.
20395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20396 file.
20397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20398 multiarch sqrtf for PowerPC32.
20399
0f96a2f0
AZ
20400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20401 and llroundf multiarch implementations.
20402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20403 New file.
20404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20405 New file.
20406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20407 New file.
20408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20409 file: multiarch llround for PowerPC32.
20410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20411 file: multiarch llroundf for PowerPC32.
20412
c9b5d79e
AZ
20413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20414 multiarch PowerPC32 fpu implementations.
20415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20416 New file.
20417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20418 New file.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20420 multiarch llrint for PowerPC32.
20421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20422 New file.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20424 New file.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20426 file.
20427
9cbb3aab
AZ
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20429
ea5a72f8
AZ
20430 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20431 file.
20432 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20433 file.
20434 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20435 file.
20436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20437 multiarch wordcopy for PPC32.
20438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20439 wordcopy objects.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20441 (__libc_ifunc_impl_list): Likewise.
20442 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20443 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20444 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20445 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20447 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20448
93be09e7
AZ
20449 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20451 file.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20453 file.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20455 file.
20456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20457 multiarch wcscpy for PPC32.
20458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20459 multiarch objects.
20460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20461 (__libc_ifunc_impl_list): Likewise.
20462 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20463 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20464 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20465 sysdeps/powerpc/power6/wcscpy.c.
20466
bb04e529
AZ
20467 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20469 file.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20471 file.
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20473 file.
20474 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20475 multiarch wcsrchr for PPC32.
20476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20477 multiarch objects.
20478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20479 (__libc_ifunc_impl_list): Likewise.
20480 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20481 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20482 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20483 sysdeps/powerpc/power6/wcsrchr.c.
20484
05b5cd1c
AZ
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20486 file.
20487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20488 file.
20489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20491 multiarch wcschr for PPc32.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20493 multiarch objects.
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20495 (__libc_ifunc_impl_list): Likewise.
20496 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20497 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20498 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20499 sysdeps/powerpc/power6/wcschr.c.
20500
ba964147
AZ
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20502 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20503 file.
20504 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20505 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20506 file: multiarch strchr for PPC32.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20508 multiarch objects.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20510 (__libc_ifunc_impl_list): Likewise.
20511
31c81aaa
AZ
20512 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20513 name.
20514 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20515 file.
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20517 file.
20518 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20519 multiarch strchrnul for PPC32.
20520 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20521 multiarch objects.
20522 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20523 (__libc_ifunc_impl_list): Likewise.
20524
0d0607d9
AZ
20525 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20526 file.
20527 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20528 multiarch strncasecmp for PPC32.
20529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20530 file.
20531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20532 multiarch strncasecmp_l for PPC32.
20533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20534 strncasecmp multiarch objects.
20535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20536 (__libc_ifunc_impl_list): Likewise.
20537
4dfd5c86
AZ
20538 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20539 file.
20540 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20541 multiarch strncasecmp for PPC32.
20542 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20543 New file.
20544 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20545 multiarch strcasecmp_l for PPC32.
20546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20547 multiarch objects.
20548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20549 (__libc_ifunc_impl_list): Likewise.
20550
a19e01a3
AZ
20551 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20552 file.
20553 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20554 file.
20555 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20556 multiarch strncmp for PPC32.
20557 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20558 multiarch objects.
20559 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20560 (__libc_ifunc_impl_list): Likewise.
20561
ae9cf7a2
AZ
20562 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20563 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20564 file.
20565 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20566 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20568 multiarch objects.
20569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20570 (__libc_ifunc_impl_list): Likewise.
20571
3148bb7d
AZ
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20573 file.
20574 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20575 file.
20576 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20578 multiarch objects.
20579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20580 (__libc_ifunc_impl_list): Likewise.
20581
7af8b946
AZ
20582 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20583 file.
20584 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20585 file.
20586 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20587 multiarch rawmemchr for PPC32.
20588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20589 multiarch objects.
20590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20591 (__libc_ifunc_impl_list): Likewise.
20592
03a6aa6a
AZ
20593 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20594 file.
20595 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20596 file.
20597 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20598 file: memrchr multiarch for PPC32.
20599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20600 multiarch objects.
20601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20602 (__libc_ifunc_impl_list): Likewise.
20603
1c62e6d9
AZ
20604 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20605 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20606 file.
20607 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20608 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20609 multiarch memchr for PPC32.
20610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20611 multiarch objects.
20612 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20613 (__libc_ifunc_impl_list): Likewise.
20614
87da8bdb
AZ
20615 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20616 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20617 file.
20618 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20619 file.
20620 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20621 file: multiarch mempcpy for PPC32.
20622 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20623 multiarch objects.
20624 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20625 (__libc_ifunc_impl_list): Likewise.
20626
20ed4714
AZ
20627 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20628 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20629 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20630 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20631 multiarch bzero for PPC32.
20632 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20633 file.
20634 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20635 file.
20636 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20637 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20638 file: multiarch memset for PPC32.
20639 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20641 memset multiarch objects.
20642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20643 (__libc_ifunc_impl_list): Likewise.
20644
ab3e3a46
AZ
20645 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20646 file.
20647 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20648 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20649 memcmp for PPC32.
20650 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20652 multiarch objects.
20653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20654 (__libc_ifunc_impl_list): Likewise.
20655
930de6f0
AZ
20656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20657 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20659 file.
20660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20661 file.
20662 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20663 file.
20664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20665 multiarch memcpy for PPC32.
20666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20667 multiarch objects.
20668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20669 (__libc_ifunc_impl_list): Likewise.
20670
4c628e00
AZ
20671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20672 support multiarch for POWER/PPC32.
20673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20674 Likewise.
20675 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20677 Implies file to make multiarch folder appers before the fpu and
20678 default folder for power4 configuration.
20679
f4479220
SP
206802013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20681
20682 * scripts/bench.pl: Append volatile keyword to type.
20683
8517800f
KK
206842013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20685
20686 * sysdeps/sh/sotruss-lib.c: New file.
20687 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20688
180138f1
AZ
206892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20690
20691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20692
bbf37bdc
JM
206932013-12-05 Joseph Myers <joseph@codesourcery.com>
20694
e47cc4e0
JM
20695 [BZ #6810]
20696 * math/w_tgamma.c: Include <errno.h>.
20697 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20698 * math/w_tgammaf.c: Include <errno.h>.
20699 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20700 * math/w_tgammal.c: Include <errno.h>.
20701 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20702 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20703 underflow. Add more tgamma tests.
20704 * math/auto-libm-test-out: Regenerated.
20705 * sysdeps/i386/fpu/libm-test-ulps: Update.
20706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20707
bbf37bdc
JM
20708 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20709 sin, sinh, tan, tanh, tgamma, y0 and y1.
20710 * math/auto-libm-test-out: Regenerated.
20711 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20712 (TEST_COND_x86): Likewise.
20713 (M_E2l): Remove macro.
20714 (M_E3l): Likewise.
20715 (M_2_SQRT_PIl): Likewise.
20716 (M_SQRT_PIl): Likewise.
20717 (M_1_DIV_El): Likewise.
20718 (log_test_data): Use AUTO_TESTS_f_f.
20719 (log10_test_data): Likewise.
20720 (log1p_test_data): Likewise.
20721 (log2_test_data): Likewise.
20722 (sin_test_data): Likewise.
20723 (sin_tonearest_test_data): Likewise.
20724 (sin_towardzero_test_data): Likewise.
20725 (sin_downward_test_data): Likewise.
20726 (sin_upward_test_data): Likewise.
20727 (sinh_test_data): Likewise.
20728 (sinh_tonearest_test_data): Likewise.
20729 (sinh_towardzero_test_data): Likewise.
20730 (sinh_downward_test_data): Likewise.
20731 (sinh_upward_test_data): Likewise.
20732 (tan_test_data): Likewise.
20733 (tan_tonearest_test_data): Likewise.
20734 (tan_towardzero_test_data): Likewise.
20735 (tan_downward_test_data): Likewise.
20736 (tan_upward_test_data): Likewise.
20737 (tanh_test_data): Likewise.
20738 (tgamma_test_data): Likewise.
20739 (y0_test_data): Likewise.
20740 (y1_test_data): Likewise.
20741 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20742 (special_real_inputs): Add pi/4.
20743 * sysdeps/i386/fpu/libm-test-ulps: Update.
20744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20745
eb5ad6b9
AZ
207462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20747
20748 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20749 "longjmp_target" static probes.
20750 (__longjmp): Rename to __longjmp_symbol.
20751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20752 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20753 on which longjmp to generate.
20754 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20755 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20756 probe.
20757 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20758 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20759 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20760 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20761 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20762 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20764 __longjmp_symbol based on which __longjmp to generate.
20765 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20766 probe.
20767 (setjmp): Rename to setjmp_symbol.
20768 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20769 (_setjmp): Rename to _setjmp_symbol.
20770 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20771 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20772 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20773 which setjmp to generate.
20774 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20775 "longjmp_target" static probes.
20776
d136c6dc
SP
207772013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20778
9298ecba
SP
20779 * benchtests/README: Add note about output arguments.
20780 * benchtests/bench-sincos.c: Remove file.
20781 * benchtests/sincos-inputs: New file.
20782 * scripts/bench.pl: Identify output arguments and define
20783 static variables for them.
20784
232983e9
SP
20785 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20786
d136c6dc
SP
20787 [BZ #15941]
20788 * Makefile (INSTALL): Add install-plain.texi as the primary
20789 dependency.
20790 * manual/install-plain.texi: New file.
20791 * manual/install.texi: Include node directive only for
20792 non-plaintext output.
20793
699ff837
JM
207942013-12-04 Joseph Myers <joseph@codesourcery.com>
20795
ab07cea8
JM
20796 * stdlib/longlong.h: Update from GCC.
20797
699ff837
JM
20798 [BZ #6807]
20799 [BZ #15901]
20800 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20801 * math/w_j0f.c (y0f): Likewise.
20802 * math/w_j0l.c (__y0l): Likewise.
20803 * math/w_j1.c (y1): Likewise.
20804 * math/w_j1f.c (y1f): Likewise.
20805 * math/w_j1l.c (__y1l): Likewise
20806 * math/w_jn.c (yn): Likewise.
20807 * math/w_jnf.c (ynf): Likewise.
20808 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20809 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20810 value for Bessel function domain errors outside _SVID_ mode.
20811 Adjust sign of return value for yn (negative integer, 0).
20812 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20813 by zero in return for negative x and set sign appropriately for
20814 negative n.
20815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20816 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20817 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20818 expectations in error cases.
20819 (y1_test_data): Likewise.
20820 (yn_test_data): Likewise.
20821 * sysdeps/i386/fpu/libm-test-ulps: Update.
20822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20823
5b118558
UW
208242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20825
20826 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20827 "64" to "64-v1". Add "64-v2".
20828 (abi-64-options): Rename to ...
20829 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20830 (abi-64-condition): Rename to ...
20831 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20832 (abi-64-ld-soname): Rename to ...
20833 (abi-64-v1-ld-soname): ... this.
20834 (abi-64-v2-options): Define.
20835 (abi-64-v2-condition): Likewise.
20836 (abi-64-v2-ld-soname): Likewise.
20837 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20838 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20842
61cd8fe4
UW
208432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20844 Alan Modra <amodra@gmail.com>
20845
20846 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20847 New versions for use with the ELFv2 ABI.
20848 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20849 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20850 declaration.
20851 (struct La_ppc64v2_retval): Likewise.
20852 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20853 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20854 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20855 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20856 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20857 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20858 Do not save or restore CR.
20859 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20860 (_dl_profile_resolve): Do no save or restore CR. Support extended
20861 return values for ELFv2 ABI. Fix location of FPR return registers.
20862 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20863 updated values for _CALL_ELF == 2.
20864 (La_regs, La_retval, int_retval): Likewise.
20865
8b8a692c
UW
208662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20867
20868 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20869 (FRAME_MIN_SIZE_PARM): Likewise.
20870 (FRAME_BACKCHAIN): Likewise.
20871 (FRAME_CR_SAVE): Likewise.
20872 (FRAME_LR_SAVE): Likewise.
20873 (FRAME_TOC_SAVE): Likewise.
20874 (FRAME_PARM_SAVE): Likewise.
20875 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20876 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20877 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20878 (call_mcount_parm_offset): New macro.
20879 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20880 (PROF): Use symbolic stack frame offsets.
20881 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20882 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20883 Redefine in terms of FRAME_MIN_SIZE.
20884 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20885 (_dl_profile_resolve): Likewise. Update comment.
20886 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20887 symbols stack frame offsets.
20888 (__sigsetjmp): Likewise.
20889 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20890 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20891 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20892 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20893
20894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20895 (FRAME_BACKCHAIN): Remove.
20896 (FRAME_CR_SAVE): Likewise.
20897 (FRAME_LR_SAVE): Likewise.
20898 (FRAME_COMPILER_DW): Likewise.
20899 (FRAME_LINKER_DW): Likewise.
20900 (FRAME_TOC_SAVE): Likewise.
20901 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20902 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20903 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20904 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20906 (CHECK_SP): Use symbolic stack frame offsets.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20908 zone" instead of caller's parameter save area for temp storage.
20909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20910 Likewise. Also, use symbolic stack frame offsets.
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20912 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20913 our own stack frame instead of the caller's.
20914 (__socket): Use symbolic stack frame offsets.
20915
122b66de
UW
209162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20917 Alan Modra <amodra@gmail.com>
20918
20919 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20920 Define.
57f41c40
AS
20921 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20922 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20923 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20924 New function.
20925 (elf_machine_fixup_plt): Call it.
20926 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20927 reloc arguments.
20928 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20929 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20930 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20931 r2 before calling target.
20932
696caf1d
UW
209332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20934 Alan Modra <amodra@gmail.com>
20935
20936 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20937 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20938 versions of macros to support ELFv2 ABI.
20939 (LOCALENTRY): New macro.
20940 (ENTRY, EALIGN): Use it.
20941 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20942 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20943 fall through into ENTRY entry point.
20944 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20945 Only define if _CALL_ELF != 2.
20946
20947 (elf_machine_matches_host): Verify ABI version matches.
20948 (RTLD_START): Use LOCALENTRY.
20949 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20950 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20951 (PLT_ENTRY_WORDS): New macro.
20952 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20953 (elf_machine_runtime_setup): Support ELFv2 ABI.
20954 (elf_machine_fixup_plt): Likewise.
20955 (elf_machine_plt_conflict): Likewise.
20956 (resolve_ifunc): Likewise.
20957 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20958 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20959 Likewise.
20960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20961 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20963 (makecontext): Support ELFv2 ABI.
20964 * elf/elf.h (EF_PPC64_ABI): Define.
20965
d31beafa
UW
209662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20967
57f41c40
AS
20968 * sysdeps/powerpc/powerpc64/sysdep.h
20969 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20970 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20971 (ENTRY) [ASSEMBLER]: ... but instead here ...
20972 (EALIGN) [ASSEMBLER]: ... and here.
20973 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20974 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20975 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20976 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20977 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20978 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20979 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20980 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20982 Use PPC64_LOAD_FUNCPTR.
20983
b525166b
UW
20984 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20985
7ec07d9a
AM
209862013-12-04 Alan Modra <amodra@gmail.com>
20987
20988 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20989 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20990 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20991 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20992
20993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20994 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20995 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20996 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20997 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20998 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20999
5162e7dd
UW
210002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21001
21002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21003 (__makecontext): Fix incorrect CFI when backtracing out of
21004 context created via makecontext.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21006 (__setcontext): Fix incorrect CFI during switch to new context.
21007 (__novec_setcontext): Likewise.
21008
19e3372b
OB
210092013-12-04 Ondřej Bílka <neleai@seznam.cz>
21010
21011 [BZ #4772]
21012 * time/strptime_l.c (__strptime_internal): Allow modifiers
21013 in strptime.
21014 * time/tst-strptime.c (day_tests): Add testcase.
21015
ecaf142d
SP
210162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21017
21018 * scripts/bench.pl: Skip over blank lines.
21019
fbf964ae
PE
210202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21021
21022 [BZ #926]
21023 * manual/time.texi (Calendar Time): Clarify what timezone functions
21024 use.
21025
fa60a674
AZ
210262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21027
21028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21029
d674f0ef
OB
210302013-12-04 Ondřej Bílka <neleai@seznam.cz>
21031
21032 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21033 implementation.
21034 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21035 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21036 * debug/memset_chk.c (__memset_chk): Likewise.
21037 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21038 * debug/strncpy_chk.c: Likewise.
21039
17dea188
JM
210402013-12-03 Joseph Myers <joseph@codesourcery.com>
21041
749008ff
JM
21042 [BZ #15268]
21043 [BZ #15425]
21044 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21045 (__ieee754_exp): For possibly underflowing results, check size of
21046 result and force underflow exception if required.
21047 * math/auto-libm-test-in: Add more tests of exp.
21048 * math/auto-libm-test-out: Regenerated.
21049 * sysdeps/i386/fpu/libm-test-ulps: Update.
21050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21051
17dea188
JM
21052 [BZ #16283]
21053 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21054 * math/w_exp2f.c (__exp2f): Likewise.
21055 * math/w_exp2l.c (__exp2l): Likewise.
21056 * math/auto-libm-test-in: Do not allow missing errno on exp2
21057 underflow.
21058 * math/auto-libm-test-out: Regenerated.
21059
b20de2c3
OB
210602013-12-03 Ondřej Bílka <neleai@seznam.cz>
21061
21062 [BZ #16274]
21063 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21064 handle filename validation.
21065 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21066 (do_open): Delete.
21067
d8e2dbe3
JM
210682013-12-03 Joseph Myers <joseph@codesourcery.com>
21069
34e16df5
JM
21070 [BZ #6786]
21071 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21072 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21073 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21074 <float.h>.
21075 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21076 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21077 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21079 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21081 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21082 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21083 Add more erfc tests.
21084 * math/auto-libm-test-out: Regenerated.
21085 * sysdeps/i386/fpu/libm-test-ulps: Update.
21086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21087
d8e2dbe3
JM
21088 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21089 exp2, expm1, j0 and j1.
21090 * math/auto-libm-test-out: Regenerated.
21091 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21092 (erfc_test_data): Likewise.
21093 (exp_test_data): Likewise.
21094 (exp_tonearest_test_data): Likewise.
21095 (exp_towardzero_test_data): Likewise.
21096 (exp_downward_test_data): Likewise.
21097 (exp_upward_test_data): Likewise.
21098 (exp10_test_data): Likewise.
21099 (exp2_test_data): Likewise.
21100 (expm1_test_data): Likewise.
21101 (j0_test_data): Likewise.
21102 (j1_test_data): Likewise.
21103 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21104 (input_flag_type): Add flag_xfail_rounding.
21105 (input_flags): Add xfail-rounding.
21106 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21107 (output_for_one_input_case): Handle flag_xfail_rounding.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110
18d14251
AJ
211112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21112
3d2e6075 21113 [BZ #16289]
18d14251
AJ
21114 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21115 division by 0.
21116
520d437b
SP
211172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21118
21119 [BZ #16195]
21120 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21121 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21122 (STAP_PROBE0): New macro.
21123 (STAP_PROBE1): Likewise.
21124 (STAP_PROBE2): Likewise.
21125 (STAP_PROBE3): Likewise.
21126 (STAP_PROBE4): Likewise.
21127
416e0145
OB
211282013-12-02 Ondřej Bílka <neleai@seznam.cz>
21129
21130 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21131
9d17796a
SE
211322013-12-02 Steve Ellcey <sellcey@mips.com>
21133
21134 * benchtests/Makefile (bench): Add sqrt.
21135 (LDLIBS-bench-sqrt): New.
21136 * benchtests/sqrt-input: New.
21137
f524d6a8
PS
211382013-12-02 Pavel Simerda <psimerda@redhat.com>
21139
639a0ef8
PS
21140 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21141 (GAIH_EAI): Likewise.
21142 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21143 (gaih_inet): Likewise.
21144 (getaddrinfo): Don't use GAIH_EAI.
21145
f524d6a8
PS
21146 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21147 (struct gaih): Remove definition.
21148
df3aedaf
SP
211492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21150
21151 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21152 Use HERRNOP directly.
21153
1ab19dec
AZ
211542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21155
b42ad38d 21156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21157
176b0c79
JM
211582013-11-30 Joseph Myers <joseph@codesourcery.com>
21159
21160 * math/gen-auto-libm-tests.c (test_functions): Add more
21161 single-argument functions.
21162 (special_fill_pi_2): New function.
21163 (special_fill_minus_pi_2): Likewise.
21164 (special_fill_pi_6): Likewise.
21165 (special_fill_minus_pi_6): Likewise.
21166 (special_fill_pi_3): Likewise.
21167 (special_fill_2pi_3): Likewise.
21168 (special_fill_e): Likewise.
21169 (special_fill_1_e): Likewise.
21170 (special_fill_e_minus_1): Likewise.
21171 (special_real_inputs): Add more special inputs.
21172 (output_for_one_input_case): Do not require ERANGE on underflow to
21173 zero if round-to-nearest result does not underflow to zero, unless
21174 exact results required.
21175 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21176 atan, atanh, cbrt, cos and cosh.
21177 * math/auto-libm-test-out: Regenerated.
21178 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21179 (acos_tonearest_test_data): Likewise.
21180 (acos_towardzero_test_data): Likewise.
21181 (acos_downward_test_data): Likewise.
21182 (acos_upward_test_data): Likewise.
21183 (acosh_test_data): Likewise.
21184 (asin_test_data): Likewise.
21185 (asin_tonearest_test_data): Likewise.
21186 (asin_towardzero_test_data): Likewise.
21187 (asin_upward_test_data): Likewise.
21188 (asinh_test_data): Likewise.
21189 (atan_test_data): Likewise.
21190 (atanh_test_data): Likewise.
21191 (cbrt_test_data): Likewise.
21192 (cos_test_data): Likewise.
21193 (cos_tonearest_test_data): Likewise.
21194 (cos_towardzero_test_data): Likewise.
21195 (cos_downward_test_data): Likewise.
21196 (cos_upward_test_data): Likewise.
21197 (cosh_test_data): Likewise.
21198 (cosh_tonearest_test_data): Likewise.
21199 (cosh_towardzero_test_data): Likewise.
21200 (cosh_downward_test_data): Likewise.
21201 (cosh_upward_test_data): Likewise.
21202 * sysdeps/i386/fpu/libm-test-ulps: Update.
21203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21204
ffb536d0
JM
212052013-11-29 Joseph Myers <joseph@codesourcery.com>
21206
2a77a467
JM
21207 [BZ #6787]
21208 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21209 * math/w_exp10f.c (__exp10f): Likewise.
21210 * math/w_exp10l.c (__exp10l): Likewise.
21211 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21212 errno settings in existing tests.
21213
ea3bc4e8
JM
21214 [BZ #14032]
21215 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21216 precision control set to double precision.
21217 * sysdeps/i386/fpu/w_sqrt.c: New file.
21218 * math/auto-libm-test-in: Add more tests.
21219 * math/auto-libm-test-out: Update.
21220
0712c9d8
JM
21221 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21222 (sqrt_test_tonearest): New function.
21223 (sqrt_towardzero_test_data): New variable.
21224 (sqrt_test_towardzero): New function.
21225 (sqrt_downward_test_data): New variable.
21226 (sqrt_test_downward): New function.
21227 (sqrt_upward_test_data): New variable.
21228 (sqrt_test_upward): New function.
21229 (main): Call the new functions.
21230
ffb536d0
JM
21231 * math/gen-auto-libm-tests.c: New file.
21232 * math/auto-libm-test-in: Likewise.
21233 * math/auto-libm-test-out: New generated file.
21234 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21235 variables.
21236 (%beautify): Add generated representations of zero.
21237 (top level): Set $auto_input and call parse_auto_input.
21238 (beautify): Remove trailing "f" from hex float constants.
21239 (parse_args): Handle XFAIL_TEST.
21240 (convert_condition): New function.
21241 (or_value): Likewise.
21242 (or_cond_value): Likewise.
21243 (generate_testfile): Handle AUTO_TESTS_* lines.
21244 (parse_auto_input): New function.
21245 * math/libm-test.inc (XFAIL_TEST): New macro.
21246 (ERRNO_UNCHANGED): Update value.
21247 (ERRNO_EDOM): Likewise.
21248 (ERRNO_ERANGE): Likewise.
21249 (IGNORE_RESULT): Likewise.
21250 (TEST_COND_flt_32): New macro.
21251 (TEST_COND_dbl_64): Likewise.
21252 (TEST_COND_ldbl_96_intel): Likewise.
21253 (TEST_COND_ldbl_96_m68k): Likewise.
21254 (TEST_COND_ldbl_128): Likewise.
21255 (TEST_COND_ldbl_128ibm): Likewise.
21256 (TEST_COND_long32): Likewise.
21257 (TEST_COND_long64): Likewise.
21258 (TEST_COND_before_rounding): Likewise.
21259 (TEST_COND_after_rounding): Likewise.
21260 (enable_test): Handle XFAIL_TEST flag.
21261 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21262 with finite results.
21263 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21264 auto-libm-test-out.
21265
acd98a8e
AK
212662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21267 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21268
21269 [BZ #16214]
21270 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21271 __tls_get_addr_internal instead of __tls_get_offset in order to
21272 avoid GOT pointer dependency. Make rtld export
21273 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21274 __tls_get_addr since we are a __tls_get_offset platform.
21275 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21276 GOT pointer being set up before.
21277 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21278
3c1c46a6
JM
212792013-11-28 Joseph Myers <joseph@codesourcery.com>
21280
7475aef5
JM
21281 * manual/math.texi (Errors in Math Functions): Document accuracy
21282 goals.
21283
8bca7cd8
JM
21284 [BZ #15004]
21285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21286 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21287 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21289 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21290 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21291 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21292 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21293 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21294 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21295 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21296 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21297 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21298 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21300 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21301
91a1f3fe
JM
21302 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21303 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21304 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21305 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21306 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21307 Likewise.
21308 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21309 Likewise.
21310 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21311 Likewise.
21312 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21313 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21314 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21315 atomic-feupdateenv and flt-rounds.
21316 * sysdeps/powerpc/nofpu/Versions (libc): Add
21317 __atomic_feholdexcept, __atomic_feclearexcept,
21318 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21319 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21320 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21321 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21322 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21323 here.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21325 Update.
21326
c5df7609
JM
21327 * manual/arith.texi (FP Exceptions): Document that exceptions may
21328 not be raised when matherr is used.
21329 (Math Error Reporting): Document overflow in directed rounding
21330 modes. Document that errno may not be set when finite values are
21331 returned on overflow. Document intent to set errno on underflow
21332 only for underflow to zero.
21333
3c1c46a6
JM
21334 [BZ #16271]
21335 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21336 round-to-nearest then adjust result for other rounding modes.
21337 * include/fenv.h (fegetround): Use libm_hidden_proto.
21338 * math/fegetround.c (fegetround): Use libm_hidden_def.
21339 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21340 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21341 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21342 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21343 Likewise.
21344 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21345 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21346 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21347 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21348
5a4c6d53
SP
213492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21350
21351 [BZ #16077]
21352 * nss/Versions (libnss_files): Add
21353 _nss_files_gethostbyname3_r.
21354 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21355 New function.
21356 (HOST_DB_LOOKUP): Remove macro.
21357 (_nss_files_gethostbyname_r): Implement function without the
21358 HOST_DB_LOOKUP macro.
21359 (_nss_files_gethostbyname2_r): Likewise.
21360
897b98ba
OB
213612013-11-28 Ondřej Bílka <neleai@seznam.cz>
21362
21363 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21364
6f476861
UB
213652013-11-26 Uros Bizjak <ubizjak@gmail.com>
21366
21367 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21368 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21369 warning.
21370
bd12ab55
AZ
213712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21372
21373 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21374 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21375 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21376 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21377 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21378 __fe_nomask_env_priv and attribute_hidden.
21379 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21380 (libc_feupdateenv_test_ppc): Likewise.
21381 (libc_feresetround_ppc): Likewise.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21383 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21384 compat_symbol macro.
21385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21386 (__fe_nomask_env): Likewise.
21387 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21388
52bb6543
OB
213892013-11-26 Ondřej Bílka <neleai@seznam.cz>
21390
21391 * string/Makefile: Remove ifunc tests.
21392 * string/test-string.h: Define TEST_IFUNC.
21393 * string/test-bcopy-ifunc.c: Remove.
21394 * string/test-bzero-ifunc.c: Likewise.
21395 * string/test-memccpy-ifunc.c: Likewise.
21396 * string/test-memchr-ifunc.c: Likewise.
21397 * string/test-memcmp-ifunc.c: Likewise.
21398 * string/test-memcpy-ifunc.c: Likewise.
21399 * string/test-memmem-ifunc.c: Likewise.
21400 * string/test-memmove-ifunc.c: Likewise.
21401 * string/test-mempcpy-ifunc.c: Likewise.
21402 * string/test-memrchr-ifunc.c: Likewise.
21403 * string/test-memset-ifunc.c: Likewise.
21404 * string/test-rawmemchr-ifunc.c: Likewise.
21405 * string/test-stpcpy-ifunc.c: Likewise.
21406 * string/test-stpncpy-ifunc.c: Likewise.
21407 * string/test-strcasecmp-ifunc.c: Likewise.
21408 * string/test-strcasestr-ifunc.c: Likewise.
21409 * string/test-strcat-ifunc.c: Likewise.
21410 * string/test-strchr-ifunc.c: Likewise.
21411 * string/test-strchrnul-ifunc.c: Likewise.
21412 * string/test-strcmp-ifunc.c: Likewise.
21413 * string/test-strcpy-ifunc.c: Likewise.
21414 * string/test-strcspn-ifunc.c: Likewise.
21415 * string/test-strlen-ifunc.c: Likewise.
21416 * string/test-strncasecmp-ifunc.c: Likewise.
21417 * string/test-strncat-ifunc.c: Likewise.
21418 * string/test-strncmp-ifunc.c: Likewise.
21419 * string/test-strncpy-ifunc.c: Likewise.
21420 * string/test-strnlen-ifunc.c: Likewise.
21421 * string/test-strpbrk-ifunc.c: Likewise.
21422 * string/test-strrchr-ifunc.c: Likewise.
21423 * string/test-strspn-ifunc.c: Likewise.
21424 * string/test-strstr-ifunc.c: Likewise.
21425
ab260039 214262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21427
21428 * benchtests/Makefile: Remove ifunc tests.
21429 * benchtests/bench-string.h: Define TEST_IFUNC.
21430 * benchtests/bench-bcopy-ifunc.c: Remove.
21431 * benchtests/bench-bzero-ifunc.c: Likewise.
21432 * benchtests/bench-memccpy-ifunc.c: Likewise.
21433 * benchtests/bench-memchr-ifunc.c: Likewise.
21434 * benchtests/bench-memcmp-ifunc.c: Likewise.
21435 * benchtests/bench-memcpy-ifunc.c: Likewise.
21436 * benchtests/bench-memmem-ifunc.c: Likewise.
21437 * benchtests/bench-memmove-ifunc.c: Likewise.
21438 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21439 * benchtests/bench-memrchr-ifunc.c: Likewise.
21440 * benchtests/bench-memset-ifunc.c: Likewise.
21441 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21442 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21443 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21444 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21445 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21446 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21447 * benchtests/bench-strcat-ifunc.c: Likewise.
21448 * benchtests/bench-strchr-ifunc.c: Likewise.
21449 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21450 * benchtests/bench-strcmp-ifunc.c: Likewise.
21451 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21452 * benchtests/bench-strcpy-ifunc.c: Likewise.
21453 * benchtests/bench-strcspn-ifunc.c: Likewise.
21454 * benchtests/bench-strlen-ifunc.c: Likewise.
21455 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21456 * benchtests/bench-strncat-ifunc.c: Likewise.
21457 * benchtests/bench-strncmp-ifunc.c: Likewise.
21458 * benchtests/bench-strncpy-ifunc.c: Likewise.
21459 * benchtests/bench-strnlen-ifunc.c: Likewise.
21460 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21461 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21462 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21463 * benchtests/bench-strspn-ifunc.c: Likewise.
21464 * benchtests/bench-strstr-ifunc.c: Likewise.
21465
214662013-11-26 Ondřej Bílka <neleai@seznam.cz>
21467
ab260039
OB
21468 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21469
d1d9eaf4 214702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21471
d1d9eaf4
OB
21472 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21473 * rt/aio.h: Likewise.
21474 * sysdeps/gnu/bits/utmp.h: Likewise.
21475 * sysdeps/gnu/bits/utmpx.h: Likewise.
21476 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21477 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21478 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21479 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21480 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21481 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21482 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21483 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21484 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21485 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21486 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21487 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21488 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21490 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21491 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21492 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21493 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21494 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21495 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21496 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21497 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21498 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21499 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21500 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21503 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21505 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21506 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21507 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21508 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21509 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21510 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21511 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21512 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21513 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21514 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21515 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21516 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21517 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21518
a7624ed9
CD
215192013-11-25 Carlos O'Donell <carlos@redhat.com>
21520
21521 [BZ #16245]
21522 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21523 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21524
63cfe52b
JM
215252013-11-25 Joseph Myers <joseph@codesourcery.com>
21526
21527 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21528 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21529 Likewise.
21530
41e8926a
AZ
215312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21532
21533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21534 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21535 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21536 (__fesetround): Remove define.
21537 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21538 rounding and exceptions handling.
21539 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21540 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21541 (__fe_nomask_env): Likewise.
21542 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21543 __fegetround instead of fegetround.
21544 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21545 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21546
6851bd4d
RM
215472013-11-21 Roland McGrath <roland@hack.frob.com>
21548
070906ff
RM
21549 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21550 it's there.
21551
6851bd4d
RM
21552 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21553
84ae135d
MI
215542013-11-21 Meador Inge <meadori@codesourcery.com>
21555
21556 [BZ #11157]
21557 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21558 (encrypt_r): Likewise.
21559 * malloc/obstack.h (obstack_free): Likewise.
21560 * posix/unistd.h (encrypt): Likewise.
21561
daf75146
GM
215622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21563
21564 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21565 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21566 DL_CALL_DT_FINI() that call the functions directly.
21567 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21568 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21569 * elf/dl-fini.c: Likewise.
21570
10ad46bc
OB
215712013-11-20 Ondřej Bílka <neleai@seznam.cz>
21572
21573 * malloc/hooks.c (memalign_check): Add alignment rounding.
21574 * malloc/malloc.c (_mid_memalign): New function.
21575 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21576 Implement by calling _mid_memalign.
21577 * manual/probes.texi (Memory Allocation Probes): Remove
21578 memory_valloc_retry and memory_pvalloc_retry.
21579
f3fd2628
SP
215802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21581
4712799f
SP
21582 * locale/programs/locarchive.c (open_archive): Add const
21583 qualifier to ARCHIVEFNAME and copy default fname to
21584 DEFAULT_FNAME.
21585
0417b20f
SP
21586 [BZ #15601]
21587 * libio/tst-widetext.input: Rename Oriya to Odia.
21588 * locale/iso-639.def: Likewise.
21589
f3fd2628
SP
21590 * manual/probes.texi (Mathematical Function Probes): Add
21591 documentation for sin, cos, asin and acos probes.
21592 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21593 (__sin32): Add slowasin probe.
21594 (__cos32): Add slowacos probe.
21595 (__mpsin): Add slowsin probe.
21596 (__mpcos): Add slowcos probe.
21597
73c1ce4f
JM
215982013-11-19 Joseph Myers <joseph@codesourcery.com>
21599
21600 [BZ #15483]
21601 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21602 thread-local __sim_exceptions_thread and global
21603 __sim_exceptions_global.
21604 (__sim_disabled_exceptions): Change to thread-local
21605 __sim_disabled_exceptions_thread and global
21606 __sim_disabled_exceptions_global.
21607 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21608 and global __sim_round_mode_global.
21609 (__simulate_exceptions): Use thread-local floating-point state and
21610 set global state from it as needed.
21611 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21612 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21613 __sim_round_mode_thread.
21614 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21615 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21616 and global __sim_exceptions_global.
21617 (__sim_disabled_exceptions): Change to thread-local
21618 __sim_disabled_exceptions_thread and global
21619 __sim_disabled_exceptions_global.
21620 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21621 and global __sim_round_mode_global.
21622 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21623 (SIM_SET_GLOBAL): Likewise.
21624 * sysdeps/powerpc/soft-fp/sfp-machine.h
21625 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21626 __sim_round_mode_thread.
21627 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21628 __sim_disabled_exceptions_thread.
21629 (__sim_exceptions): Change to __sim_exceptions_thread.
21630 (__sim_disabled_exceptions): Change to
21631 __sim_disabled_exceptions_thread.
21632 (__sim_round_mode): Change to __sim_round_mode_thread.
21633 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21634 thread-local floating-point state and set global state from it as
21635 needed.
21636 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21637 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21638 (__sim_disabled_exceptions): Remove extern declaration.
21639 (feenableexcept): Use thread-local floating-point state and set
21640 global state from it as needed.
21641 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21642 extern declaration.
21643 (__sim_disabled_exceptions): Likewise.
21644 (__sim_round_mode): Likewise.
21645 (__fegetenv): Use thread-local floating-point state.
21646 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21647 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21648 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21649 floating-point state and set global state from it as needed.
21650 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21651 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21652 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21653 Likewise.
21654 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21655 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21656 Likewise.
21657 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21658 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21659 Use __sim_round_mode_thread.
21660 * math/test-fenv-tls.c: New file.
21661 * math/Makefile (tests): Add test-fenv-tls.
21662 ($(objpfx)test-fenv-tls): Depend on
21663 $(common-objpfx)nptl/libpthread.so.
21664
b5449b12
AS
216652013-11-19 Andreas Schwab <schwab@suse.de>
21666
21667 * locale/programs/locale.c (show_info): Decode wordarray elements.
21668 * locale/categories.def (LC_MONETARY): Add element for
21669 _NL_MONETARY_CRNCYSTR.
21670 * locale/C-monetary.c (conversion_rate): New variable.
21671 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21672 element.
21673
e186536b
CM
216742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21675
21676 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21677 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21678
5c349950
PP
216792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21680
21681 * elf/Makefile (tst-auxv): New test.
21682 * elf/tst-auxv.c: New
21683 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21684
699df45b
JM
216852013-11-18 Joseph Myers <joseph@codesourcery.com>
21686
21687 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21688 (hidden_proto): Caller changed.
21689 (hidden_tls_proto): New macro.
21690 (libc_hidden_tls_proto): Likewise.
21691 (rtld_hidden_tls_proto): Likewise.
21692 (libm_hidden_tls_proto): Likewise.
21693 (libresolv_hidden_tls_proto): Likewise.
21694 (librt_hidden_tls_proto): Likewise.
21695 (libdl_hidden_tls_proto): Likewise.
21696 (libnss_files_hidden_tls_proto): Likewise.
21697 (libnsl_hidden_tls_proto): Likewise.
21698 (libnss_nisplus_hidden_tls_proto): Likewise.
21699 (libutil_hidden_tls_proto): Likewise.
21700
b7589107
OB
217012013-11-18 Ondřej Bílka <neleai@seznam.cz>
21702
21703 [BZ #10253]
21704 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21705 (decompose_rpath): Defer expansion to fillin_rpath.
21706 (_dl_init_paths): Pass linkmap to fillin_rpath.
21707
250c23bd
RS
217082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21709
21710 * benchtests/Makefile: Add strsep.
21711 * benchtests/bench-strsep.c: New file: strsep benchtest.
21712 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21713
a7931fcf
AS
217142013-11-18 Andreas Schwab <schwab@suse.de>
21715
21716 * locale/programs/locale.c (show_info) [case byte]: Check for
21717 '\377' instead of '\177'.
21718 * locale/C-monetary.c (not_available): Always use "\377".
21719 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21720 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21721 detect unavailable sign_posn locale elements.
21722 * locale/localeconv.c (__localeconv): For grouping and
21723 mon_grouping handle "\177" and "\377" like no grouping.
21724 (INT_ELEM): New macro. Use it to set all numeric members.
21725 * locale/programs/ld-monetary.c (monetary_read)
21726 <tok_mon_grouping>: Normalize single -1 to the empty string.
21727 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21728 Likewise.
21729
728dab0e
OB
217302013-11-07 Ondřej Bílka <neleai@seznam.cz>
21731
21732 [BZ #16055]
21733 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21734 when we match (nil).
21735 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21736
66294491
JM
217372013-11-16 Joseph Myers <joseph@codesourcery.com>
21738
ce665817
JM
21739 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21740 (NO_TEST_INLINE): Update value.
21741 (ERRNO_UNCHANGED): Likewise.
21742 (ERRNO_EDOM): Likewise.
21743 (ERRNO_ERANGE): Likewise.
21744 (IGNORE_RESULT): Likewise.
21745 (check_float_internal): Check signs of NaN results if
21746 TEST_NAN_SIGN used.
21747 (check_complex): Pass TEST_NAN_SIGN flag through to second
21748 check_float_internal call.
21749 (copysign_test_data): Add tests with quiet NaNs as second
21750 argument. Use TEST_NAN_SIGN.
21751 (fabs_test_data): Add test of negative quiet NaN argument. Use
21752 TEST_NAN_SIGN.
21753 (signbit_test_data): Add tests of quiet NaN argument.
21754 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21755
ee1466a9
JM
21756 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21757 $ignore_result.
21758 (parse_args): Handle function results specified as IGNORE.
21759 * math/libm-test.inc (IGNORE_RESULT): New macro.
21760 (check_float_internal): Do not check numerical result if flag
21761 IGNORE_RESULT set.
21762 (check_complex): Pass through IGNORE_RESULT to second
21763 check_float_internal call.
21764 (check_int): Do not check numerical result if flag IGNORE_RESULT
21765 set.
21766 (check_long): Likewise.
21767 (check_bool): Likewise.
21768 (check_longlong): Likewise.
21769 (lrint_test_data): Add tests of infinite and NaN arguments.
21770 (lrint_tonearest_test_data): Likewise.
21771 (lrint_towardzero_test_data): Likewise.
21772 (lrint_downward_test_data): Likewise.
21773 (lrint_upward_test_data): Likewise.
21774 (llrint_test_data): Likewise.
21775 (llrint_tonearest_test_data): Likewise.
21776 (llrint_towardzero_test_data): Likewise.
21777 (llrint_downward_test_data): Likewise.
21778 (llrint_upward_test_data): Likewise.
21779 (lround_test_data): Likewise.
21780 (llround_test_data): Likewise.
21781
14407b7e
JM
21782 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21783 (ERRNO_UNCHANGED): Update value.
21784 (ERRNO_EDOM): Likewise.
21785 (ERRNO_ERANGE): Likewise.
21786 (NO_TEST_INLINE_FLOAT): New macro.
21787 (NO_TEST_INLINE_DOUBLE): Likewise.
21788 (enable_test): New function.
21789 (RUN_TEST_f_f): Check enable_test before running test.
21790 (RUN_TEST_2_f): Likewise.
21791 (RUN_TEST_fff_f): Likewise.
21792 (RUN_TEST_c_f): Likewise.
21793 (RUN_TEST_f_f1): Likewise.
21794 (RUN_TEST_fF_f1): Likewise.
21795 (RUN_TEST_fI_f1): Likewise.
21796 (RUN_TEST_ffI_f1): Likewise.
21797 (RUN_TEST_c_c): Likewise.
21798 (RUN_TEST_cc_c): Likewise.
21799 (RUN_TEST_f_i): Likewise.
21800 (RUN_TEST_f_i_tg): Likewise.
21801 (RUN_TEST_ff_i_tg): Likewise.
21802 (RUN_TEST_f_b): Likewise.
21803 (RUN_TEST_f_b_tg): Likewise.
21804 (RUN_TEST_f_l): Likewise.
21805 (RUN_TEST_f_L): Likewise.
21806 (RUN_TEST_fFF_11): Likewise.
21807 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21808 conditionals.
21809 (cosh_test_data): Likewise.
21810 (exp_test_data): Likewise.
21811 (expm1_test_data): Likewise.
21812 (hypot_test_data): Likewise.
21813 (pow_test_data): Likewise.
21814 (sinh_test_data): Likewise.
21815 (tanh_test_data): Likewise.
21816 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21817 flags argument.
21818
ca07f197
JM
21819 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21820 tests with quiet NaN input and output.
21821 (acosh_test_data): Likewise.
21822 (asin_test_data): Likewise.
21823 (asinh_test_data): Likewise.
21824 (atan_test_data): Likewise.
21825 (atanh_test_data): Likewise.
21826 (atan2_test_data): Likewise.
21827 (cbrt_test_data): Likewise.
21828 (cos_test_data): Likewise.
21829 (cosh_test_data): Likewise.
21830 (erf_test_data): Likewise.
21831 (erfc_test_data): Likewise.
21832 (exp_test_data): Likewise.
21833 (exp10_test_data): Likewise.
21834 (exp2_test_data): Likewise.
21835 (expm1_test_data): Likewise.
21836 (hypot_test_data): Likewise.
21837 (j0_test_data): Likewise.
21838 (j1_test_data): Likewise.
21839 (jn_test_data): Likewise.
21840 (lgamma_test_data): Likewise.
21841 (log_test_data): Likewise.
21842 (log10_test_data): Likewise.
21843 (log1p_test_data): Likewise.
21844 (log2_test_data): Likewise.
21845 (pow_test_data): Likewise.
21846 (scalb_test_data): Likewise.
21847 (sin_test_data): Likewise.
21848 (sincos_test_data): Likewise.
21849 (sinh_test_data): Likewise.
21850 (tan_test_data): Likewise.
21851 (tanh_test_data): Likewise.
21852 (tgamma_test_data): Likewise.
21853 (y0_test_data): Likewise.
21854 (y1_test_data): Likewise.
21855 (yn_test_data): Likewise.
21856
66294491
JM
21857 [BZ #16167]
21858 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21859 argument being NaN and avoid computations with second argument in
21860 that case.
21861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21863 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21864
1820b143
CL
218652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21866
21867 * locale/iso-639.def: Add Chitwani Tharu (the).
21868
714bd261
AS
218692013-11-14 Andreas Schwab <schwab@suse.de>
21870
21871 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21872 word instead of empty string.
21873
7ab44563
AZ
218742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21875
21876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21877 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21879 (__fe_nomask_env): Likewise.
21880
e8470ea2
SE
218812013-11-13 Steve Ellcey <sellcey@mips.com>
21882
21883 * benchtests/bench-timing.h: Include time.h.
21884
17c1d9f0
L
218852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21886
21887 [BZ #15997]
21888 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21889 to 3.4.0 for x32.
21890 * sysdeps/unix/sysv/linux/configure: Regenerated.
21891
9310c284
JM
218922013-11-13 Joseph Myers <joseph@codesourcery.com>
21893
21894 [BZ #16151]
21895 * stdlib/strtod_l.c (round_and_return): Do not consider
21896 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21897 exponent one less than half the least subnormal exponent.
21898 * stdlib/test-strtod-round-data: Add more tests.
21899 * stdlib/tst-strtod-round.c (tests): Regenerated.
21900
7a2ad8cf
AZ
219012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21902
21903 [BZ #14143]
21904 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21905 (__fe_mask_env): Likewise.
21906 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21907 libm_hidden_proto and add function prototype.
21908 (__fe_mask_env): Add function prototype.
21909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21910 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21912 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21914 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21915
50727aa7
MS
219162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21917
b2f386c1 21918 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21919 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21920
a615be46
MS
219212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21922
21923 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21924 of htab_find_slot().
21925
7ddace62
DM
219262013-11-11 David S. Miller <davem@davemloft.net>
21927
21928 [BZ #16150]
21929 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21930 symbol in the non-vis3 case in static builds.
21931 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21932 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21933 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21934 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21935
9182aa67
JK
219362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21937
21938 [BZ #387]
21939 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21940 it is empty.
21941
450a2e2d
AZ
219422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21943
b2f386c1
SP
21944 * benchtests/Makefile: Add bench-strtod.
21945 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21946
8ec3f656
AS
219472013-11-11 Andreas Schwab <schwab@suse.de>
21948
21949 [BZ #16153]
21950 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21951 terminating NUL in key length.
21952
76a9b998
AZ
219532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21954
21955 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21956 Add artificial ODP entry for vDSO symbol for PPC64.
21957 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21958 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21959
e4368156
OB
219602013-11-07 Ondřej Bílka <neleai@seznam.cz>
21961
21962 [BZ #15374]
21963 * nss/getent.c (services_keys): Recognize services starting with digit.
21964
8d6bb57c
DM
219652013-11-06 David S. Miller <davem@davemloft.net>
21966
21967 [BZ #15985]
21968 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21969 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21970
e256c421
WN
219712013-11-06 Will Newton <will.newton@linaro.org>
21972
21973 * manual/memory.texi (Malloc Examples): Remove register
21974 keyword from examples.
21975
f6e12daa 219762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21977
f6e12daa 21978 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21979
9d880655
AS
219802013-11-04 Joseph Myers <joseph@codesourcery.com>
21981
fd2f9486 21982 [BZ #6981]
9d880655
AS
21983 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21984 depending on [__GCC_IEC_559 > 0].
21985 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21986 depending on [__GCC_IEC_559_COMPLEX > 0].
21987
ae129d3c
CL
219882013-11-03 Chris Leonard <cjl@sugarlabs.org>
21989
21990 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21991 to iso-639.def.
21992
4a15c2a4 219932013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21994
21995 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21996
8b35e35d
OB
219972013-11-01 Ondřej Bílka <neleai@seznam.cz>
21998
21999 [BZ #16112]
22000 * malloc/malloc (malloc_info): Do not handle first bin as
22001 special case.
22002
1d70fd6c
CL
220032013-11-01 Chris Leonard <cjl@sugarlabs.org>
22004
22005 * locale/iso-639.def: Add Central Nahuatl (nhn).
22006
8c5c2600
BH
220072013-11-01 Bruno Haible <bruno@clisp.org>
22008
22009 [BZ #7003]
22010 * manual/math.texi (BSD Random): Specify range upper bound as
22011 in POSIX.
22012
da5579c2
CL
220132013-10-31 Chris Leonard <cjl@sugarlabs.org>
22014
22015 * locale/iso-639.def: Add Meadow Mari (mhr).
22016
5d30d853
OB
220172013-10-31 Ondřej Bílka <neleai@seznam.cz>
22018
22019 [BZ #14752], [BZ #15763]
22020 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22021 Validate name.
22022 * rt/tst_shm.c: Add test for escaping directory.
22023
a4966c61
AS
220242013-10-31 Andreas Schwab <schwab@suse.de>
22025
8a43e768 22026 [BZ #15917]
a4966c61
AS
22027 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22028 followed by 'x' as part of digit sequence.
22029 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22030
28d708c4
MAP
220312013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22032
22033 [BZ #16037]
22034 * configure.ac: allow GNU Make 4.0 and greater.
22035 * configure: Regenerated.
22036
a56ee40b
WN
220372013-10-30 Will Newton <will.newton@linaro.org>
22038
22039 [BZ #16038]
22040 * malloc/hooks.c (memalign_check): Limit alignment to the
22041 maximum representable power of two.
22042 * malloc/malloc.c (__libc_memalign): Likewise.
22043 * malloc/tst-memalign.c (do_test): Add test for very
22044 large alignment values.
22045 * malloc/tst-posix_memalign.c (do_test): Likewise.
22046
c6e4925d
OB
220472013-10-30 Ondřej Bílka <neleai@seznam.cz>
22048
22049 [BZ #11087]
22050 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22051 (munmap_chunk): Likewise.
22052 (mremap_chunk): Likewise.
22053
220542013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22055
8a43e768 22056 [BZ #15799]
bbea82f7
OB
22057 * stdlib/div.c (div): Remove obsolete code.
22058 * stdlib/ldiv.c (ldiv): Likewise.
22059 * stdlib/lldiv.c (lldiv): Likewise.
22060
977f4b31
SP
220612013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22062
22063 [BZ #16071]
22064 * nss/nss_files/files-XXX.c (get_contents_ret): New
22065 enumerator.
22066 (get_contents): New function.
22067 (internal_getent): Use it. Expand size of LINEBUFLEN.
22068
cb8a6dbd
MF
220692013-10-30 Mike Frysinger <vapier@gentoo.org>
22070
22071 * configure.in: Moved to ...
22072 * configure.ac: ... here. Change reference to configure.in
22073 to configure.ac.
22074 * sysdeps/arm/preconfigure.ac: ... here.
22075 configure.in to configure.ac.
22076 * sysdeps/gnu/configure.in: Moved to ...
22077 * sysdeps/gnu/configure.ac: ... here.
22078 * sysdeps/i386/configure.in: Moved to ...
22079 * sysdeps/i386/configure.ac: ... here.
22080 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22081 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22082 * sysdeps/mach/configure.in: Moved to ...
22083 * sysdeps/mach/configure.ac: ... here.
22084 * sysdeps/mach/hurd/configure.in: Moved to ...
22085 * sysdeps/mach/hurd/configure.ac: ... here.
22086 * sysdeps/powerpc/configure.in: Moved to ...
22087 * sysdeps/powerpc/configure.ac: ... here.
22088 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22089 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22090 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22091 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22092 * sysdeps/s390/s390-32/configure.in: Moved to ...
22093 * sysdeps/s390/s390-32/configure.ac: ... here.
22094 * sysdeps/s390/s390-64/configure.in: Moved to ...
22095 * sysdeps/s390/s390-64/configure.ac: ... here.
22096 * sysdeps/sh/configure.in: Moved to ...
22097 * sysdeps/sh/configure.ac: ... here.
22098 * sysdeps/sparc/configure.in: Moved to ...
22099 * sysdeps/sparc/configure.ac: ... here.
22100 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22101 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22102 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22103 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22104 * sysdeps/x86_64/configure.in: Moved to ...
22105 * sysdeps/x86_64/configure.ac: ... here.
22106 * sysdeps/x86_64/preconfigure.in: Moved to ...
22107 * sysdeps/x86_64/preconfigure.ac: ... here.
22108 * aclocal.m4: Change reference to configure.in to configure.ac.
22109 * config.h.in: Likewise.
22110 * manual/install.texi: Likewise.
22111 * manual/maint.texi: Likewise.
22112 * Makefile: Likewise.
22113 * malloc/Makefile: Likewise.
22114 * nscd/Makefile: Likewise.
22115 * Makeconfig: Change reference to configure.in and
22116 preconfigure.in to configure.ac and preconfigure.ac
22117 respectively.
22118 * INSTALL: Regenerated.
22119 * configure: Likewise.
22120 * sysdeps/gnu/configure: Likewise.
22121 * sysdeps/i386/configure: Likewise.
22122 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22123 * sysdeps/mach/configure: Likewise.
22124 * sysdeps/mach/hurd/configure: Likewise.
22125 * sysdeps/powerpc/configure: Likewise.
22126 * sysdeps/powerpc/powerpc32/configure: Likewise.
22127 * sysdeps/powerpc/powerpc64/configure: Likewise.
22128 * sysdeps/s390/s390-32/configure: Likewise.
22129 * sysdeps/s390/s390-64/configure: Likewise.
22130 * sysdeps/sh/configure: Likewise.
22131 * sysdeps/sparc/configure: Likewise.
22132 * sysdeps/unix/sysv/linux/configure: Likewise.
22133 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22134 * sysdeps/x86_64/configure: Likewise.
22135 * sysdeps/x86_64/preconfigure: Likewise.
22136
36a4953a
AS
221372013-10-29 Andreas Schwab <schwab@suse.de>
22138
22139 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22140
c79a1204
SP
221412013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22142
dfa1b402
SP
22143 * benchtests/pow-inputs: Add new inputs.
22144
54f73d9c
SP
22145 * benchtests/exp-inputs: Add new inputs.
22146
c79a1204
SP
22147 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22148 conditional check for return value.
22149 (__cos32): Likewise.
22150
67beb545 221512013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22152
22153 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22154 to provide a boost for large inputs with word alignment.
22155 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22156 implementation based on optimized PPC64 strcpy.
22157 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22158 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22159 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22160 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22161
151659f6
OB
221622013-10-25 Ondřej Bílka <neleai@seznam.cz>
22163
482a077e 22164 [BZ #2801]
151659f6
OB
22165 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22166
10b0f26b
OB
221672013-10-25 Ondřej Bílka <neleai@seznam.cz>
22168
22169 [BZ #14876]
22170 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22171 * time/tst-strptime.c (day_tests): Add testcase.
22172
ca42d35e
OB
221732013-10-25 Ondřej Bílka <neleai@seznam.cz>
22174
482a077e 22175 [BZ #14029]
ca42d35e
OB
22176 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22177
52e6d801
FB
221782013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22179
22180 [BZ #16074]
22181 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22182 MAP_FAILED on error.
22183
7cbcdb36
SP
221842013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22185
22186 [BZ #16072]
22187 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22188 heap for large requests.
22189
894f3f10
AM
221902013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22191
22192 [BZ #9954]
22193 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22194 result if the result has no associated interface.
22195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22196 interface for all 127.X.Y.Z addresses.
22197
b85545a6
CL
221982013-10-24 Chris Leonard <cjl@sugarlabs.org>
22199
22200 * locale/iso-639.def: Add Ligurian (lij)
22201
d1f23d46
OB
222022013-10-21 Ondřej Bílka <neleai@seznam.cz>
22203
22204 [BZ #15825]
22205 * sunrpc/rpc_main.c: Document rpcgen -5.
22206
4db5b08f
MS
222072013-10-19 Michael Stahl <mstahl@redhat.com>
22208
22209 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22210
a471e96a
OB
222112013-10-19 Ondřej Bílka <neleai@seznam.cz>
22212
d1f23d46 22213 [BZ #10278]
a471e96a
OB
22214 * posix/glob.c: Match only directories when trailing slash is present.
22215 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22216 (main): Add testcase.
22217
45c30c61
OB
222182013-10-19 Ondřej Bílka <neleai@seznam.cz>
22219
22220 [BZ #15670]
22221 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22222
484c12fb
CD
222232013-10-18 Carlos O'Donell <carlos@redhat.com>
22224
3d7dc513
CD
22225 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22226 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22227 AUTH_DES and cindex for FIPS 140-2.
22228 (DES Encryption): Add cindex FIPS 46-3.
22229
484c12fb
CD
22230 * locale/locarchive.h (struct locarhandle): Add fname.
22231 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22232 if an optional argument was specified to --list-archive,
22233 otherwise NULL.
22234 * locale/programs/locarchive.c (show_archive_content): Take new
22235 argument fname and pass it via ah.fname to open_archive.
22236 * locale/programs/localedef.h: Update decl.
22237 (open_archive): If AH->fname is non-null, open that file
22238 rather than the default file name, and don't ignore ENOENT.
22239 (create_archive): Set AH.fname to NULL.
22240 (delete_locales_from_archive): Likewise.
22241 (add_locales_to_archive): Likewise.
22242 * locale/programs/locfile.c (write_all_categories): Likewise.
22243
3c8325fb
JM
222442013-10-18 Joseph Myers <joseph@codesourcery.com>
22245 Aldy Hernandez <aldyh@redhat.com>
22246
22247 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22248 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22249 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22250 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22251 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22252 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22254 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22255 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22256 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22257 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22258 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22259 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22260 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22262 Likewise.
22263 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22264 Likewise.
22265 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22266 Likewise.
22267 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22268 Likewise.
22269 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22270 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22271 Likewise.
22272 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22273 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22274 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22275 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22276 Likewise.
22277 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22278 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22279 * sysdeps/powerpc/preconfigure: Likewise.
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22281 Likewise.
22282 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22283 Replace contents of file by #include of <fenv_libc.h>.
22284 * sysdeps/powerpc/soft-fp/sfp-machine.h
22285 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22286 and <sys/prctl.h>.
22287 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22300 Allow copysignl PLT reference to be missing.
22301
5abe0682
RS
223022013-10-18 Richard Sandiford <richard@codesourcery.com>
22303 Joseph Myers <joseph@codesourcery.com
22304
22305 [BZ #15948]
22306 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22307 single character.
22308 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22309
c7738d08
SP
223102013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22311
22312 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22313 * elf/tst-tls1.c: Likewise.
22314 * elf/tst-tls10.h: Likewise.
22315 * elf/tst-tls14.c: Likewise.
22316 * elf/tst-tls2.c: Likewise.
22317 * elf/tst-tls3.c: Likewise.
22318 * elf/tst-tls4.c: Likewise.
22319 * elf/tst-tls5.c: Likewise.
22320 * elf/tst-tls6.c: Likewise.
22321 * elf/tst-tls7.c: Likewise.
22322 * elf/tst-tls8.c: Likewise.
22323 * elf/tst-tls9.c: Likewise.
22324 * elf/tst-tlsmod1.c: Likewise.
22325 * elf/tst-tlsmod13.c: Likewise.
22326 * elf/tst-tlsmod13a.c: Likewise.
22327 * elf/tst-tlsmod14a.c: Likewise.
22328 * elf/tst-tlsmod16a.c: Likewise.
22329 * elf/tst-tlsmod16b.c: Likewise.
22330 * elf/tst-tlsmod2.c: Likewise.
22331 * elf/tst-tlsmod3.c: Likewise.
22332 * elf/tst-tlsmod4.c: Likewise.
22333 * elf/tst-tlsmod5.c: Likewise.
22334 * elf/tst-tlsmod6.c: Likewise.
22335
0bfcf2c7
OB
223362013-10-18 Ondřej Bílka <neleai@seznam.cz>
22337
22338 [BZ #12486]
22339 * malloc/malloc.c: remove checks for statistics.
22340
264aad1e
OB
223412013-10-17 Ondřej Bílka <neleai@seznam.cz>
22342
22343 [BZ #15277]
22344 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22345 * inet/tst-network.c: Add testcase.
22346
b957ced8
AS
223472013-10-17 Andreas Schwab <schwab@suse.de>
22348
22349 [BZ #15218]
22350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22351 to determine canonical name.
22352
c5d5d574
OB
223532013-10-17 Ondřej Bílka <neleai@seznam.cz>
22354
22355 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22356 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22379 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22380 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22385 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22413
e5c2c2d0
JM
224142013-10-17 Joseph Myers <joseph@codesourcery.com>
22415
22416 [BZ #16041]
22417 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22418 make result into a quiet NaN.
22419
51ca9e29
JM
224202013-10-16 Joseph Myers <joseph@codesourcery.com>
22421
22422 * soft-fp/adddf3.c: Fix horizontal whitespace.
22423 * soft-fp/addsf3.c: Likewise.
22424 * soft-fp/addtf3.c: Likewise.
22425 * soft-fp/divdf3.c: Likewise.
22426 * soft-fp/divsf3.c: Likewise.
22427 * soft-fp/divtf3.c: Likewise.
22428 * soft-fp/double.h: Likewise.
22429 * soft-fp/eqdf2.c: Likewise.
22430 * soft-fp/eqsf2.c: Likewise.
22431 * soft-fp/eqtf2.c: Likewise.
22432 * soft-fp/extenddftf2.c: Likewise.
22433 * soft-fp/extended.h: Likewise.
22434 * soft-fp/extendsfdf2.c: Likewise.
22435 * soft-fp/extendsftf2.c: Likewise.
22436 * soft-fp/extendxftf2.c: Likewise.
22437 * soft-fp/fixdfdi.c: Likewise.
22438 * soft-fp/fixdfsi.c: Likewise.
22439 * soft-fp/fixdfti.c: Likewise.
22440 * soft-fp/fixsfdi.c: Likewise.
22441 * soft-fp/fixsfsi.c: Likewise.
22442 * soft-fp/fixsfti.c: Likewise.
22443 * soft-fp/fixtfdi.c: Likewise.
22444 * soft-fp/fixtfsi.c: Likewise.
22445 * soft-fp/fixtfti.c: Likewise.
22446 * soft-fp/fixunsdfdi.c: Likewise.
22447 * soft-fp/fixunsdfsi.c: Likewise.
22448 * soft-fp/fixunsdfti.c: Likewise.
22449 * soft-fp/fixunssfdi.c: Likewise.
22450 * soft-fp/fixunssfsi.c: Likewise.
22451 * soft-fp/fixunssfti.c: Likewise.
22452 * soft-fp/fixunstfdi.c: Likewise.
22453 * soft-fp/fixunstfsi.c: Likewise.
22454 * soft-fp/fixunstfti.c: Likewise.
22455 * soft-fp/floatdidf.c: Likewise.
22456 * soft-fp/floatdisf.c: Likewise.
22457 * soft-fp/floatditf.c: Likewise.
22458 * soft-fp/floatsidf.c: Likewise.
22459 * soft-fp/floatsisf.c: Likewise.
22460 * soft-fp/floatsitf.c: Likewise.
22461 * soft-fp/floattidf.c: Likewise.
22462 * soft-fp/floattisf.c: Likewise.
22463 * soft-fp/floattitf.c: Likewise.
22464 * soft-fp/floatundidf.c: Likewise.
22465 * soft-fp/floatundisf.c: Likewise.
22466 * soft-fp/floatunditf.c: Likewise.
22467 * soft-fp/floatunsidf.c: Likewise.
22468 * soft-fp/floatunsisf.c: Likewise.
22469 * soft-fp/floatunsitf.c: Likewise.
22470 * soft-fp/floatuntidf.c: Likewise.
22471 * soft-fp/floatuntisf.c: Likewise.
22472 * soft-fp/floatuntitf.c: Likewise.
22473 * soft-fp/fmadf4.c: Likewise.
22474 * soft-fp/fmasf4.c: Likewise.
22475 * soft-fp/fmatf4.c: Likewise.
22476 * soft-fp/gedf2.c: Likewise.
22477 * soft-fp/gesf2.c: Likewise.
22478 * soft-fp/getf2.c: Likewise.
22479 * soft-fp/ledf2.c: Likewise.
22480 * soft-fp/lesf2.c: Likewise.
22481 * soft-fp/letf2.c: Likewise.
22482 * soft-fp/muldf3.c: Likewise.
22483 * soft-fp/mulsf3.c: Likewise.
22484 * soft-fp/multf3.c: Likewise.
22485 * soft-fp/negdf2.c: Likewise.
22486 * soft-fp/negsf2.c: Likewise.
22487 * soft-fp/negtf2.c: Likewise.
22488 * soft-fp/op-1.h: Likewise.
22489 * soft-fp/op-2.h: Likewise.
22490 * soft-fp/op-4.h: Likewise.
22491 * soft-fp/op-8.h: Likewise.
22492 * soft-fp/op-common.h: Likewise.
22493 * soft-fp/quad.h: Likewise.
22494 * soft-fp/single.h: Likewise.
22495 * soft-fp/soft-fp.h: Likewise.
22496 * soft-fp/sqrtdf2.c: Likewise.
22497 * soft-fp/sqrtsf2.c: Likewise.
22498 * soft-fp/sqrttf2.c: Likewise.
22499 * soft-fp/subdf3.c: Likewise.
22500 * soft-fp/subsf3.c: Likewise.
22501 * soft-fp/subtf3.c: Likewise.
22502 * soft-fp/truncdfsf2.c: Likewise.
22503 * soft-fp/trunctfdf2.c: Likewise.
22504 * soft-fp/trunctfsf2.c: Likewise.
22505 * soft-fp/trunctfxf2.c: Likewise.
22506 * soft-fp/unorddf2.c: Likewise.
22507 * soft-fp/unordsf2.c: Likewise.
22508 * soft-fp/unordtf2.c: Likewise.
22509
9ebb0332
JM
225102013-10-15 Joseph Myers <joseph@codesourcery.com>
22511
22512 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22513 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22514
4b1a6d8b
OB
225152013-10-15 Ondřej Bílka <neleai@seznam.cz>
22516
22517 * elf/dl-libc.c: Clear initfini list after freeing.
22518
1e145589
JM
225192013-10-14 Joseph Myers <joseph@codesourcery.com>
22520
22521 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22522 * soft-fp/addsf3.c: Likewise.
22523 * soft-fp/addtf3.c: Likewise.
22524 * soft-fp/divdf3.c: Likewise.
22525 * soft-fp/divsf3.c: Likewise.
22526 * soft-fp/divtf3.c: Likewise.
22527 * soft-fp/double.h: Likewise.
22528 * soft-fp/eqdf2.c: Likewise.
22529 * soft-fp/eqsf2.c: Likewise.
22530 * soft-fp/eqtf2.c: Likewise.
22531 * soft-fp/extenddftf2.c: Likewise.
22532 * soft-fp/extended.h: Likewise.
22533 * soft-fp/extendsfdf2.c: Likewise.
22534 * soft-fp/extendsftf2.c: Likewise.
22535 * soft-fp/extendxftf2.c: Likewise.
22536 * soft-fp/fixdfdi.c: Likewise.
22537 * soft-fp/fixdfsi.c: Likewise.
22538 * soft-fp/fixdfti.c: Likewise.
22539 * soft-fp/fixsfdi.c: Likewise.
22540 * soft-fp/fixsfsi.c: Likewise.
22541 * soft-fp/fixsfti.c: Likewise.
22542 * soft-fp/fixtfdi.c: Likewise.
22543 * soft-fp/fixtfsi.c: Likewise.
22544 * soft-fp/fixtfti.c: Likewise.
22545 * soft-fp/fixunsdfdi.c: Likewise.
22546 * soft-fp/fixunsdfsi.c: Likewise.
22547 * soft-fp/fixunsdfti.c: Likewise.
22548 * soft-fp/fixunssfdi.c: Likewise.
22549 * soft-fp/fixunssfsi.c: Likewise.
22550 * soft-fp/fixunssfti.c: Likewise.
22551 * soft-fp/fixunstfdi.c: Likewise.
22552 * soft-fp/fixunstfsi.c: Likewise.
22553 * soft-fp/fixunstfti.c: Likewise.
22554 * soft-fp/floatdidf.c: Likewise.
22555 * soft-fp/floatdisf.c: Likewise.
22556 * soft-fp/floatditf.c: Likewise.
22557 * soft-fp/floatsidf.c: Likewise.
22558 * soft-fp/floatsisf.c: Likewise.
22559 * soft-fp/floatsitf.c: Likewise.
22560 * soft-fp/floattidf.c: Likewise.
22561 * soft-fp/floattisf.c: Likewise.
22562 * soft-fp/floattitf.c: Likewise.
22563 * soft-fp/floatundidf.c: Likewise.
22564 * soft-fp/floatundisf.c: Likewise.
22565 * soft-fp/floatunsidf.c: Likewise.
22566 * soft-fp/floatunsisf.c: Likewise.
22567 * soft-fp/floatuntidf.c: Likewise.
22568 * soft-fp/floatuntisf.c: Likewise.
22569 * soft-fp/floatuntitf.c: Likewise.
22570 * soft-fp/fmadf4.c: Likewise.
22571 * soft-fp/fmasf4.c: Likewise.
22572 * soft-fp/fmatf4.c: Likewise.
22573 * soft-fp/gedf2.c: Likewise.
22574 * soft-fp/gesf2.c: Likewise.
22575 * soft-fp/getf2.c: Likewise.
22576 * soft-fp/ledf2.c: Likewise.
22577 * soft-fp/lesf2.c: Likewise.
22578 * soft-fp/letf2.c: Likewise.
22579 * soft-fp/muldf3.c: Likewise.
22580 * soft-fp/mulsf3.c: Likewise.
22581 * soft-fp/multf3.c: Likewise.
22582 * soft-fp/negdf2.c: Likewise.
22583 * soft-fp/negsf2.c: Likewise.
22584 * soft-fp/negtf2.c: Likewise.
22585 * soft-fp/op-1.h: Likewise.
22586 * soft-fp/op-2.h: Likewise.
22587 * soft-fp/op-4.h: Likewise.
22588 * soft-fp/op-8.h: Likewise.
22589 * soft-fp/op-common.h: Likewise.
22590 * soft-fp/quad.h: Likewise.
22591 * soft-fp/single.h: Likewise.
22592 * soft-fp/soft-fp.h: Likewise.
22593 * soft-fp/sqrtdf2.c: Likewise.
22594 * soft-fp/sqrtsf2.c: Likewise.
22595 * soft-fp/sqrttf2.c: Likewise.
22596 * soft-fp/subdf3.c: Likewise.
22597 * soft-fp/subsf3.c: Likewise.
22598 * soft-fp/subtf3.c: Likewise.
22599 * soft-fp/truncdfsf2.c: Likewise.
22600 * soft-fp/trunctfdf2.c: Likewise.
22601 * soft-fp/trunctfsf2.c: Likewise.
22602 * soft-fp/trunctfxf2.c: Likewise.
22603 * soft-fp/unorddf2.c: Likewise.
22604 * soft-fp/unordsf2.c: Likewise.
22605 * soft-fp/unordtf2.c: Likewise.
22606
17c48a60
OB
226072013-10-14 Ondřej Bílka <neleai@seznam.cz>
22608
22609 [BZ #15672]
22610 * misc/error.c (error_tail): Fix possible buffer overflow.
22611
cabba934
OB
226122013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22613
22614 [BZ #13028]
22615 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22616 address.
22617
94bf958a
PM
226182013-10-14 P. J. McDermott <pj@pehjota.net>
22619
22620 [BZ #832]
22621 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22622 testing pipefail option.
22623
71b4dea7
JM
226242013-10-12 Joseph Myers <joseph@codesourcery.com>
22625
22626 * soft-fp/double.h: Indent preprocessor directives inside #if.
22627 * soft-fp/extended.h: Likewise.
22628 * soft-fp/op-2.h: Likewise.
22629 * soft-fp/op-4.h: Likewise.
22630 * soft-fp/op-common.h: Likewise.
22631 * soft-fp/quad.h: Likewise.
22632 * soft-fp/single.h: Likewise.
22633 * soft-fp/soft-fp.h: Likewise.
22634
55602758
YC
226352013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22636
22637 * iconv/iconv_prog.c: Fix typos.
22638 * stdio-common/psiginfo-data.h: Likewise.
22639
9cd83302
RT
226402013-10-12 Reuben Thomas <rrt@sc3d.org>
22641
22642 [BZ #15764]
22643 * locale/setlocale.c: Fix typo.
22644
99fd9f47
JM
226452013-10-12 Joseph Myers <joseph@codesourcery.com>
22646
b7ea74f0
JM
22647 [BZ #16036]
22648 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22649 signaling NaN arguments.
22650 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22651 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22652
8a509447
JM
22653 [BZ #14910]
22654 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22655 unordered operands.
22656 * soft-fp/gesf2.c (__gesf2): Likewise.
22657 * soft-fp/getf2.c (__getf2): Likewise.
22658 * soft-fp/ledf2.c (__ledf2): Likewise.
22659 * soft-fp/lesf2.c (__lesf2): Likewise.
22660 * soft-fp/letf2.c (__letf2): Likewise.
22661
98998e9f
JM
22662 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22663 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22664 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22665 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22666 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22667 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22668 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22669 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22670 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22671 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22672 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22673 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22674 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22675 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22676 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22677 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22678 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22679 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22680 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22681 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22682 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22683 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22684 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22685 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22686 * soft-fp/floattidf.c (__floattidf): Likewise.
22687 * soft-fp/floattisf.c (__floattisf): Likewise.
22688 * soft-fp/floattitf.c (__floattitf): Likewise.
22689 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22690 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22691 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22692 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22693 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22694 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22695 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22696 * soft-fp/gesf2.c (__gesf2): Likewise.
22697 * soft-fp/getf2.c (__getf2): Likewise.
22698 * soft-fp/ledf2.c (__ledf2): Likewise.
22699 * soft-fp/lesf2.c (__lesf2): Likewise.
22700 * soft-fp/letf2.c (__letf2): Likewise.
22701
8edc4a11
JM
22702 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22703 Undefine and redefine.
22704 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22705 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22706 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22707 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22708 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22709 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22710 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22711 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22712 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22713 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22714 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22715 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22716 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22717 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22718 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22719
8399acaf
JM
22720 [BZ #16032]
22721 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22722 without decrementing exponent if mantissa >= that for the
22723 denominator, not >.
22724 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22725 denominator, not >. Decrement exponent in < case instead of
22726 incrementing in >= case.
22727 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22728 without decrementing exponent if mantissa >= that for the
22729 denominator, not >.
22730
99fd9f47
JM
22731 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22732 computing saturated result for unsigned overflow.
22733
10e1cf6b
SP
227342013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22735 Jeff Law <law@redhat.com>
22736
22737 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22738 (atan2Mp): Add systemtap probe marker.
22739 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22740 (__ieee754_log): Add systemtap probe marker.
22741 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22742 (atanMp): Add systemtap probe marker.
22743 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22744 (tanMp): Add systemtap probe marker.
22745 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22746 (__slowexp): Add systemtap probe marker.
22747 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22748 (__slowpow): Add systemtap probe marker.
22749 * manual/probes.texi: Document probes.
22750
3d110c7c
EB
227512013-10-11 Eric Biggers <ebiggers3@gmail.com>
22752
22753 [BZ #15362]
22754 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22755 written.
22756 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22757 written.
22758 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22759 written to buffer but not flushed.
22760 * libio/iofwrite_u.c: Likewise.
22761 * libio/iopadn.c: Return bytes returned even if EOF was
22762 encountered.
22763 * libio/iowpadn.c: Likewise.
22764 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22765 if _IO_padn does not write the whole buffer.
22766 [!COMPILE_WPRINTF] (PAD): Likewise.
22767
75b4202a
DM
227682013-10-10 David S. Miller <davem@davemloft.net>
22769
22770 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22771 directory block.
22772
6c6352e6
JM
227732013-10-10 Joseph Myers <joseph@codesourcery.com>
22774
33b853c3
JM
22775 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22776 instead of FSF address.
22777 * soft-fp/fixdfti.c: Likewise.
22778 * soft-fp/fixsfti.c: Likewise.
22779 * soft-fp/fixtfti.c: Likewise.
22780 * soft-fp/fixunsdfti.c: Likewise.
22781 * soft-fp/fixunssfti.c: Likewise.
22782 * soft-fp/fixunstfti.c: Likewise.
22783 * soft-fp/floattidf.c: Likewise.
22784 * soft-fp/floattisf.c: Likewise.
22785 * soft-fp/floattitf.c: Likewise.
22786 * soft-fp/floatuntidf.c: Likewise.
22787 * soft-fp/floatuntisf.c: Likewise.
22788 * soft-fp/floatuntitf.c: Likewise.
22789 * soft-fp/trunctfxf2.c: Likewise.
22790
6c6352e6
JM
22791 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22792 * soft-fp/fixdfti.c: Likewise.
22793 * soft-fp/fixsfti.c: Likewise.
22794 * soft-fp/fixtfti.c: Likewise.
22795 * soft-fp/fixunsdfti.c: Likewise.
22796 * soft-fp/fixunssfti.c: Likewise.
22797 * soft-fp/fixunstfti.c: Likewise.
22798 * soft-fp/floattidf.c: Likewise.
22799 * soft-fp/floattisf.c: Likewise.
22800 * soft-fp/floattitf.c: Likewise.
22801 * soft-fp/floatuntidf.c: Likewise.
22802 * soft-fp/floatuntisf.c: Likewise.
22803 * soft-fp/floatuntitf.c: Likewise.
22804 * soft-fp/trunctfxf2.c: Likewise.
22805
3bf78b71
DM
228062013-10-10 David S. Miller <davem@davemloft.net>
22807
22808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22809
6f10289e
JM
228102013-10-10 Joseph Myers <joseph@codsourcery.com>
22811
bd878fc0
JM
22812 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22813 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22814 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22815 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22816 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22817 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22818 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22819
6f10289e
JM
22820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22821 for NaNs before doing comparisons on argument.
22822 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22823 Likewise.
22824
321e2684
WN
228252013-10-10 Will Newton <will.newton@linaro.org>
22826
22827 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22828 passed to _int_memalign does not overflow.
22829
40fefba1
TR
228302013-10-10 Torvald Riegel <triegel@redhat.com>
22831
22832 * scripts/bench.pl: Add include-sources directive.
22833 * benchtests/README: Update documentation.
22834
2ae21ed2
JM
228352013-10-10 Joseph Myers <joseph@codesourcery.com>
22836
dcc2dd3f
JM
22837 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22838 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22839 instead of FP_INIT_ROUNDMODE.
22840 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22841 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22842
2ae21ed2
JM
22843 [BZ #16034]
22844 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22845 copy class of input value.
22846 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22847 not handle exceptions.
22848 * soft-fp/negsf2.c (__negsf2): Likewise.
22849 * soft-fp/negtf2.c (__negtf2): Likewise.
22850 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22851
cb8f9562
JM
228522013-10-09 Joseph Myers <joseph@codesourcery.com>
22853
22854 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22855 semicolon. From Linux kernel.
22856
5b60c59d
AB
228572013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22858
22859 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22860
b86835ca
YC
228612013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22862
22863 [BZ #156]
22864 * manual/socket.texi: Added statement about buffer
22865 for gethostbyname2_r.
22866
e7044ea7
OB
228672013-10-08 Ondřej Bílka <neleai@seznam.cz>
22868
22869 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22870 Use .p2align directive instead, throughout.
22871 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22872 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22873 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22874 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22875 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22876 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22877 * sysdeps/x86_64/strchr.S: Likewise.
22878 * sysdeps/x86_64/strrchr.S: Likewise.
22879
09544cbc
SP
228802013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22881
88576635
SP
22882 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22883
e7b2d1dd
SP
22884 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22885
09544cbc
SP
22886 * sysdeps/generic/math_private.h (__mpsin1): Remove
22887 declaration.
22888 (__mpcos1): Likewise.
22889 (__mpsin): New argument __range_reduce.
22890 (__mpcos): Likewise.
22891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22892 (slow): Use __mpsin and __mpcos.
22893 (slow1): Likewise.
22894 (slow2): Likewise.
22895 (sloww): Likewise.
22896 (sloww1): Likewise.
22897 (sloww2): Likewise.
22898 (bsloww): Likewise.
22899 (bsloww1): Likewise.
22900 (bsloww2): Likewise.
22901 (cslow2): Likewise.
22902 (csloww): Likewise.
22903 (csloww1): Likewise.
22904 (csloww2): Likewise.
22905 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22906 range_reduce. Merge in __mpsin1.
22907 (__mpcos): Likewise.
22908 (__mpsin1): Remove.
22909 (__mpcos1): Likewise.
22910
7602d070
JM
229112013-10-07 Joseph Myers <joseph@codesourcery.com>
22912
22913 * locale/loadlocale.c (_nl_intern_locale_data): Use
22914 LOCFILE_ALIGNED_P.
22915 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22916 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22917 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22918 obstack data is appropriately aligned.
22919 (obstack_int32_grow_fast): Likewise.
22920 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22921 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22922 (add_locale_uint32_array): Likewise.
22923
a357259b
SP
229242013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22925
22926 * benchtests/Makefile: Remove ARGLIST and RET variables.
22927 ($(objpfx)bench-%.c): Pass only function name to the script.
22928 * benchtests/README: Update documentation.
22929 * benchtests/acos-inputs: Add new directives.
22930 * benchtests/acosh-inputs: Likewise.
22931 * benchtests/asin-inputs: Likewise.
22932 * benchtests/asinh-inputs: Likewise.
22933 * benchtests/atan-inputs: Likewise.
22934 * benchtests/atanh-inputs: Likewise.
22935 * benchtests/cos-inputs: Likewise.
22936 * benchtests/cosh-inputs: Likewise.
22937 * benchtests/exp-inputs: Likewise.
22938 * benchtests/log-inputs: Likewise.
22939 * benchtests/pow-inputs: Likewise.
22940 * benchtests/rint-inputs: Likewise.
22941 * benchtests/sin-inputs: Likewise.
22942 * benchtests/sinh-inputs: Likewise.
22943 * benchtests/tan-inputs: Likewise.
22944 * benchtests/tanh-inputs: Likewise.
22945 * scripts/bench.pl: Add support for new directives.
22946
9ec1b13d
AM
229472013-10-07 Alan Modra <amodra@gmail.com>
22948
22949 * README: Fix careless merge.
22950
8b7d57cd
AM
229512013-10-05 Alan Modra <amodra@gmail.com>
22952
22953 * NEWS: Mention powerpc64le support and bugs fixed.
22954 * README: Both big-endian and little-endian powerpc64 supported.
22955
7b7bab13
ST
229562013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22957
57f41c40
AS
22958 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22959 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22960 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22961 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22962
d39baad1
RA
229632013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22964
22965 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22966 match prototype.
22967
cd78f7e7
JM
229682013-10-04 Joseph Myers <joseph@codesourcery.com>
22969
29d73d86
JM
22970 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22971 Move -mhard-float appending from
22972 ports/sysdeps/powerpc/powerpc32/Makefile.
22973 [$(with-fp) = yes] (ASFLAGS): Likewise.
22974 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22975 * sysdeps/powerpc/nofpu: Move directory from
22976 ports/sysdeps/powerpc/nofpu.
22977 * sysdeps/powerpc/soft-fp: Move directory from
22978 ports/sysdeps/powerpc/soft-fp.
22979 * sysdeps/powerpc/powerpc32/405: Move directory from
22980 ports/sysdeps/powerpc/powerpc32/405.
22981 * sysdeps/powerpc/powerpc32/440: Move directory from
22982 ports/sysdeps/powerpc/powerpc32/440.
22983 * sysdeps/powerpc/powerpc32/464: Move directory from
22984 ports/sysdeps/powerpc/powerpc32/464.
22985 * sysdeps/powerpc/powerpc32/476: Move directory from
22986 ports/sysdeps/powerpc/powerpc32/476.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22992 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22994 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22996 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22997 * README: Update for powerpc-*-linux-gnu software floating point
22998 support in libc.
22999
e246b347
JM
23000 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23001 case to powerpc/powerpc32*.
23002 * sysdeps/unix/sysv/linux/configure: Regenerated.
23003
89c2003e
JM
23004 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23005 (_FPU_MASK_OM): Define as 0x04.
23006 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23008 0x00c10080.
23009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23010 0x0000003c.
23011 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23012
cd78f7e7
JM
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23014 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23015 getcontext_e500.
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23017 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23018 setcontext_e500.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23020 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23021 and setcontext_e500.
23022
c755294d
CL
230232013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23024
23025 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23026
e16d221c
SP
230272013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23028
23029 * manual/threads.texi (Default Thread Attributes): Fix typo.
23030
215c7d43
WN
230312013-10-04 Will Newton <will.newton@linaro.org>
23032
23033 * malloc/Makefile: Add tst-memalign.
23034 * malloc/tst-memalign.c: New file.
23035
27d0461b
WN
23036 * malloc/tst-posix_memalign.c: Add comments.
23037 (do_test): Add comments and call free on all potentially
23038 allocated pointers. Add space after cast.
23039
1bc92709
WN
23040 * malloc/tst-pvalloc.c: Add comments.
23041 (do_test): Add comments and call free on all potentially
23042 allocated pointers. Remove duplicate check for NULL pointer.
23043 Add space after cast.
23044
66a9be9d
WN
23045 * malloc/tst-valloc.c: Add comments.
23046 (do_test): Add comments and call free on all potentially
23047 allocated pointers. Remove duplicate check for NULL pointer.
23048 Add space after cast.
23049
4cb81307
AM
230502013-10-04 Alan Modra <amodra@gmail.com>
23051
23052 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23053 Use stdint types in rather than __attribute__((mode())).
23054 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23055
f8e3e9f3
AM
230562013-10-04 Alan Modra <amodra@gmail.com>
23057
23058 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23059 Correct handling of unaligned relocs for little-endian.
23060 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23061
8f9ebb08
AM
230622013-10-04 Alan Modra <amodra@gmail.com>
23063
23064 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23065 * configure: Regenerate.
23066 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23067 * shlib-versions: Likewise.
23068
0edf96c2
AM
230692013-10-04 Alan Modra <amodra@gmail.com>
23070
23071 * string/tester.c (test_memrchr): Increment reported test cycle.
23072
e0f7a380
AM
230732013-10-04 Alan Modra <amodra@gmail.com>
23074
23075 * string/test-memcpy.c (do_one_test): When reporting errors, print
23076 string address and don't overrun end of string.
23077
466b0393
AM
230782013-10-04 Alan Modra <amodra@gmail.com>
23079
23080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23081 insrdi. Make better use of reg selection to speed exit slightly.
23082 Schedule entry path a little better. Remove useless "are we done"
23083 checks on entry to main loop. Handle wrapping around zero address.
23084 Correct main loop count. Handle single left-over word from main
23085 loop inline rather than by using loop_small. Remove extra word
23086 case in loop_small caused by wrong loop count. Add little-endian
23087 support.
23088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23090 cache hint.
23091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23093 support. Avoid rlwimi.
23094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23095
3be87c77
AM
230962013-10-04 Alan Modra <amodra@gmail.com>
23097
23098 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23099 insrdi. Formatting.
3be87c77
AM
23100 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23101 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23102 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23103 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23104 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23105 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23106
759cfef3
AM
231072013-10-04 Alan Modra <amodra@gmail.com>
23108
23109 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23112 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23113 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23115 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23118 use of regs. Use power7 mtocrf. Tidy function tails.
23119
fe6e95d7
AM
231202013-10-04 Alan Modra <amodra@gmail.com>
23121
23122 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23123 Formatting. Consistently use rXXX register defines or rN defines.
23124 Use early exit labels that avoid restoring unused non-volatile regs.
23125 Make cr field use more consistent with rWORDn compares. Rename
23126 regs used as shift registers for unaligned loop, using rN defines
23127 for short lifetime/multiple use regs.
23128 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23129 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23130 addi 1,1,64 to pop stack frame. Simplify return value code.
23131 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23132
664318c3
AM
231332013-10-04 Alan Modra <amodra@gmail.com>
23134
23135 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23136 support. Correct typos, formatting. Optimize tail. Use insrdi
23137 rather than rlwimi.
23138 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23139 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23140 little-endian support. Correct typos.
23141 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23142 rather than rlwimi.
23143 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23144 in loop and entry code to keep "and." results.
23145 (strchr): Add little-endian support. Comment. Move cntlzd
23146 earlier in tail.
23147 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23148
43b84013
AM
231492013-10-04 Alan Modra <amodra@gmail.com>
23150
23151 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23152 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23153 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23154 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23155
8a7413f9
AM
231562013-10-04 Alan Modra <amodra@gmail.com>
23157
23158 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23159 (rTMP): Define as r11.
23160 (strcmp): Add little-endian support. Optimise tail.
23161 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23162 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23163 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23164 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23165 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23166 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23167 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23168
33ee81de
AM
231692013-10-04 Alan Modra <amodra@gmail.com>
23170
23171 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23172 little-endian support. Remove unnecessary "are we done" tests.
23173 Handle "s" wrapping around zero and extremely large "size".
23174 Correct main loop count. Handle single left-over word from main
23175 loop inline rather than by using small_loop. Correct comments.
23176 Delete "zero" tail, use "end_max" instead.
23177 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23178
db9b4570
AM
231792013-10-04 Alan Modra <amodra@gmail.com>
23180
23181 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23182 support. Don't branch over align.
23183 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23184 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23185 support. Rearrange tmp reg use to suit. Comment.
23186 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23187
f7c399cf
AM
231882013-10-04 Alan Modra <amodra@gmail.com>
23189
23190 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23191
0b2c2ace
AM
231922013-10-04 Alan Modra <amodra@gmail.com>
23193
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23195 conditional form of branch and link when obtaining pc.
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23197
02f04a6c
AM
231982013-10-04 Alan Modra <amodra@gmail.com>
23199
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23201 HIWORD/LOWORD.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23204
9b874b2f
AM
232052013-10-04 Alan Modra <amodra@gmail.com>
23206
23207 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23208 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23209 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23210 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23211 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23212 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23213 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23214 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23215 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23216 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23217
be1e5d31
AB
232182013-10-04 Anton Blanchard <anton@au1.ibm.com>
23219 Alistair Popple <alistair@ozlabs.au.ibm.com>
23220 Alan Modra <amodra@gmail.com>
23221
23222 [BZ #15723]
23223 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23225 _dl_hwcap access for little-endian.
23226 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23227 destroy vmx regs when saving unaligned.
23228 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23229 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23230 destroy vmx regs when saving unaligned.
23231
fef13a78
AM
232322013-10-04 Alan Modra <amodra@gmail.com>
23233
23234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23235 Don't use a union to pack hi/low value.
23236
76a66d51
AB
232372013-10-04 Anton Blanchard <anton@au1.ibm.com>
23238
23239 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23240 for little-endian.
23241 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23243 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23244 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23245 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23246
6a31fe7f
AM
232472013-10-04 Alan Modra <amodra@gmail.com>
23248
23249 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23250 constants to usual value for .cst8 section, and remove redundant
23251 high address load.
23252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23253 constant for 0x1p52. Load little-endian words of double from
23254 correct stack offsets.
23255
7b88401f
AM
232562013-10-04 Alan Modra <amodra@gmail.com>
23257
23258 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23259 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23260 words of double from correct stack offsets.
23261 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23262 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23263 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23264 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23266 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23268 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23269 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23273 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23274 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23276 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23277 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23278
9c008155
AM
232792013-10-04 Alan Modra <amodra@gmail.com>
23280
23281 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23282 64-bit int/double union.
23283 (_FPU_SETCW): Likewise.
23284 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23285 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23286
da13146d
AM
232872013-10-04 Alan Modra <amodra@gmail.com>
23288
23289 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23290 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23291
603e8410
AM
232922013-10-04 Alan Modra <amodra@gmail.com>
23293
23294 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23295 use vector int constants.
23296 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23297
4a28b3ca
AB
232982013-10-04 Anton Blanchard <anton@au1.ibm.com>
23299
23300 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23301 array with long long.
23302 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23303 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23304 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23305 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23306 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23307 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23308 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23309 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23310 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23311 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23312 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23313 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23314 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23315
2ca85d2b
AB
233162013-10-04 Anton Blanchard <anton@au1.ibm.com>
23317
23318 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23319 (__signbit): Likewise. Correct for little-endian.
23320 (__signbitl): Call __signbit.
23321 (lrint): Correct for little-endian.
23322 (lrintf): Call lrint.
23323
62a728ae
AM
233242013-10-04 Alan Modra <amodra@gmail.com>
23325
23326 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23327 union 32-bit int array member with 64-bit int array.
23328 (t515, tm256): Double rather than long double.
23329 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23330
32c301df
AM
233312013-10-04 Alan Modra <amodra@gmail.com>
23332
23333 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23334 Delete.
23335 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23337 version of math_ldbl.h.
23338
650ef4bd
AM
233392013-10-04 Alan Modra <amodra@gmail.com>
23340
23341 [BZ #15734], [BZ #15735]
23342 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23343 all uses of ieee875 long double macros and unions. Simplify test
23344 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23345 ldbl_extract_mantissa value for ix,iy exponents. Properly
23346 normalize after ldbl_extract_mantissa, and don't add hidden bit
23347 already handled. Don't treat low word of ieee854 mantissa like
23348 low word of IBM long double and mask off bit when testing for
23349 zero.
23350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23351 all uses of ieee875 long double macros and unions. Simplify tests
23352 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23353 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23354 two1022, instead use their values. Recognise that tests for large
23355 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23356 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23357 Rewrite all uses of ieee875 long double macros and unions. Simplify
23358 test for 0.0L and nan. Correct negation.
23359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23360 ieee875 long double macros and unions. Correct output for large
23361 magnitude x. Correct absolute value calculation.
23362 (__erfcl): Likewise.
23363 * math/libm-test.inc: Add tests for errors discovered in IBM long
23364 double versions of fmodl, remainderl, erfl and erfcl.
23365
765714ca
AM
233662013-10-04 Alan Modra <amodra@gmail.com>
23367
23368 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23369 all uses of ieee854 long double macros and unions. Simplify tests
23370 for long doubles that are fully specified by the high double.
23371 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23372 Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23374 Remove dead code too.
23375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23376 (__ieee754_ynl): Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23380 Remove dead code too.
23381 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23385 Simplify.
23386 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23387 Simplify.
23388 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23391 Comment on variable precision.
23392 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23394 Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23399 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23400
4ebd120c
AM
234012013-10-04 Alan Modra <amodra@gmail.com>
23402
23403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23405 all uses of ieee854 long double macros and unions.
23406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23412 Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23419 Simplify sign and nan test too.
23420 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23424 Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23427 Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23429 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23431 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23432 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23434
1b6adf88
AM
234352013-10-04 Alan Modra <amodra@gmail.com>
23436
23437 * stdio-common/printf_size.c (__printf_size): Don't use
23438 union ieee854_long_double in fpnum union.
23439 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23440 signbit macro to retrieve sign from long double.
23441 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23442 retrieve sign from long double.
23443 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23444 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23446 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23447 * math/test-misc.c (main): Don't use union ieee854_long_double.
23448
4cf69995
AM
234492013-10-04 Alan Modra <amodra@gmail.com>
23450
23451 [BZ #15680]
23452 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23453 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23454 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23455 calculation. Remove unnecessary test for denormal exponent.
23456 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23457 Correct handling of denormals. Avoid undefined shift behaviour.
23458 Correct normalisation of low mantissa when low double is denormal.
23459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23460 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23461 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23462 Correct normalisation of low mantissa. Test for overflow of high
23463 mantissa and normalise.
23464 (ldbl_nearbyint): Use more readable constant for two52.
23465 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23466 (__mpn_construct_long_double): Fix test for overflow of high
23467 mantissa and correct normalisation. Avoid undefined shift.
23468
9605ca6c
AM
234692013-10-04 Alan Modra <amodra@gmail.com>
23470
23471 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23472 (union ibm_extended_long_double): Define as an array of ieee754_double.
23473 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23474 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23475 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23476 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23480 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23484
975569d0
JM
234852013-10-03 Joseph Myers <joseph@codesourcery.com>
23486
d3d23756
JM
23487 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23488 page size instead of calling getpagesize.
23489
975569d0
JM
23490 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23491 (LOCFILE_ALIGN_MASK): Likewise.
23492 (LOCFILE_ALIGN_UP): Likewise.
23493 (LOCFILE_ALIGNED_P): Likewise.
23494 * locale/programs/ld-collate.c (collate_output): Use the new
23495 macros instead of __alignof__ (int32_t).
23496 * locale/weight.h (findidx): Likewise.
23497
b1fe1f2b
OB
234982013-10-03 Ondřej Bílka <neleai@seznam.cz>
23499
23500 [BZ #431]
23501 * manual/string.texi: Fix strncat and wcsncat.
23502
5f855e35
BM
235032013-10-03 Brooks Moses <bmoses@google.com>
23504
23505 [BZ #15915]
23506 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23507 * Makerules: ...here, and adjust associated comments.
23508
3cef6009
WN
235092013-10-02 Will Newton <will.newton@linaro.org>
23510
23511 * malloc/Makefile: Add tst-pvalloc.
23512 * malloc/tst-pvalloc.c: New file.
23513
7815420b
WN
235142013-10-02 Will Newton <will.newton@linaro.org>
23515
23516 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23517 improve test coverage.
23518
4868b204
WN
235192013-10-02 Will Newton <will.newton@linaro.org>
23520
23521 * malloc/Makefile: Add tst-posix_memalign.
23522 * malloc/tst-posix_memalign.c: New file.
23523
29c793b3
EB
235242013-10-01 Eric Blake <eblake@redhat.com>
23525
23526 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23527 Use __THROWNL rather than __THROW on static functions.
23528
fd967522
PM
235292013-09-30 Petr Machata <pmachata@redhat.com>
23530
23531 * elf/elf.h (R_AARCH64_ABS16): New macro.
23532 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23533 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23534 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23535 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23536 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23537 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23538 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23539 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23540 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23541 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23542 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23543 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23544 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23545 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23546 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23547 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23548 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23549 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23550 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23551 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23552 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23553 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23554 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23555 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23556 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23557 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23558 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23559 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23560 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23561 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23562 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23563 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23564 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23565 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23566 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23567 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23568 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23569 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23570 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23571 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23572 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23573 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23574 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23575 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23576 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23577 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23578 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23579 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23580 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23581 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23582 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23583 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23584 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23585 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23586 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23587 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23588 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23589 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23590 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23591 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23592 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23593 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23594 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23595 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23596 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23597 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23598 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23599 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23600 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23601 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23602 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23603 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23604 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23605 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23606 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23607 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23608 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23609 (R_AARCH64_TLSDESC_LDR): Likewise.
23610 (R_AARCH64_TLSDESC_ADD): Likewise.
23611 (R_AARCH64_TLSDESC_CALL): Likewise.
23612
b2179107
AS
236132013-09-30 Andreas Schwab <schwab@suse.de>
23614
23615 [BZ #15048]
23616 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23617 the nss database lookup.
23618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23620
47f28d0a
MF
236212013-09-28 Mike Frysinger <vapier@gentoo.org>
23622
23623 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23624
236252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23626
23627 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23628 ${Bash-specific parameter/pattern/string} parameter expansion.
23629 * sysdeps/unix/make-syscalls.sh: Likewise.
23630
f4518a17
KK
236312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23632
23633 * sysdeps/sh/stackguard-macros.h: New file.
23634
dc1a95c7
OB
236352013-09-26 Ondřej Bílka <neleai@seznam.cz>
23636
23637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23639 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23640 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23641 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23642 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23643
5ebbff8f
AZ
236442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23645
23646 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23647 Fix thread ID register.
23648
4fd2cf9f
JM
236492013-09-25 Joseph Myers <joseph@codesourcery.com>
23650
23651 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23652 [POSIX || UNIX98]: Require rather than permitting all symbols from
23653 <time.h>.
23654 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23655 element of struct sched_param.
23656 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23657 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23658 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23659 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23660 constant.
23661
12c22bc4
OL
236622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23663
23664 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23665 argument calculation.
23666
a03d8ea7
JM
236672013-09-24 Joseph Myers <joseph@codesourcery.com>
23668
23669 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23670 Expect macro.
23671 [POSIX] (pthread_attr_t): Do not require type.
23672 [POSIX] (pthread_cond_t): Likewise.
23673 [POSIX] (pthread_condattr_t): Likewise.
23674 [POSIX] (pthread_key_t): Likewise.
23675 [POSIX] (pthread_mutex_t): Likewise.
23676 [POSIX] (pthread_mutexattr_t): Likewise.
23677 [POSIX] (pthread_once_t): Likewise.
23678 [POSIX] (pthread_t): Likewise.
23679 [POSIX-based standards] (pthread_atfork): Expect function.
23680
6055173a
JM
236812013-09-24 Joseph Myers <joseph@codesourcery.com>
23682 Richard Sandiford <richard@codesourcery.com>
23683
23684 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23685 (swap_endianness_p): New extern variable.
23686 (set_big_endian): New inline function.
23687 (maybe_swap_uint32): Likewise.
23688 (maybe_swap_uint32_array): Likewise.
23689 (maybe_swap_uint32_obstack): Likewise.
23690 * locale/programs/locfile.c: Include <stdbool.h>.
23691 (swap_endianness_p): New variable.
23692 (add_locale_uint32): Call maybe_swap_uint32.
23693 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23694 (write_locale_data): Call maybe_swap_uint32_array.
23695 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23696 maybe_swap_uint32.
23697 (obstack_int32_grow_fast): Likewise.
23698 (output_weightwc): Call maybe_swap_uint32_obstack.
23699 (collate_output): Likewise.
23700 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23701 (OPT_LITTLE_ENDIAN): Likewise.
23702 (options): Add --little-endian and --big-endian options.
23703 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23704 * locale/programs/locarchive.c: Include "locfile.h".
23705 (GET): New macro.
23706 (SET): Likewise.
23707 (INC): Likewise.
23708 (create_archive): Use the new macros to access fields of
23709 structures directly mapped from or written to locale archives.
23710 (oldlocrecentcmp): Likewise.
23711 (enlarge_archive): Likewise.
23712 (insert_name): Likewise.
23713 (add_alias): Likewise.
23714 (add_locale): Likewise.
23715 (delete_locales_from_archive): Likewise.
23716 (show_archive_content): Likewise.
23717 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23718 locale data.
23719
39bf0bb4
RM
237202013-09-24 Roland McGrath <roland@hack.frob.com>
23721
23722 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23723 http://www.gnu.org/doc/freemanuals.texi.
23724 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23725
f02eed10
WN
237262013-09-24 Will Newton <will.newton@linaro.org>
23727
23728 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23729 macro.
23730
a3a6c312
JM
237312013-09-23 Joseph Myers <joseph@codesourcery.com>
23732
23733 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23734 unsigned char.
23735
107375ac
MR
237362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23737
23738 * manual/threads.texi (POSIX Threads): Fix a typo.
23739
141f3a77
SP
237402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23741
303e567a
SP
23742 [BZ #14547]
23743 * string/tst-strcoll-overflow.c: New test case.
23744 * string/Makefile (xtests): Add tst-strcoll-overflow.
23745 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23746 cache if string sizes may cause integer overflow.
23747
141f3a77
SP
23748 [BZ #14547]
23749 * string/strcoll_l.c (coll_seq): New members rule, idx,
23750 save_idx and back_us.
23751 (get_next_seq_nocache): New function.
23752 (do_compare_nocache): New function.
23753 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23754 when malloc fails.
23755
c61b4d41
CD
237562013-09-23 Carlos O'Donell <carlos@redhat.com>
23757
0b1f8e35
CD
23758 [BZ #15754]
23759 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23760 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23761 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23762
c61b4d41
CD
23763 [BZ #15754]
23764 * elf/Makefile (tests): Add tst-ptrguard1.
23765 (tests-static): Add tst-ptrguard1-static.
23766 (tst-ptrguard1-ARGS): Define.
23767 (tst-ptrguard1-static-ARGS): Define.
23768 * elf/tst-ptrguard1.c: New file.
23769 * elf/tst-ptrguard1-static.c: New file.
23770 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23771 * sysdeps/i386/stackguard-macros.h: Likewise.
23772 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23773 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23774 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23775 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23776 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23777 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23778
237792013-09-23 Hector Marco <hecmargi@upv.es>
23780 Ismael Ripoll <iripoll@disca.upv.es>
23781 Carlos O'Donell <carlos@redhat.com>
23782
23783 [BZ #15754]
23784 * sysdeps/generic/stackguard-macros.h: Define
23785 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23786 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23787 Define __pointer_chk_guard_local.
23788 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23789 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23790
f5f4e7b4
VV
237912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23792
23793 [BZ #15859]
23794 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23795
5bb43a43
AS
237962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23797
23798 * include/string.h (__ffs): Declare as hidden.
23799 * string/ffs.c (__ffs): Define as hidden.
23800 * sysdeps/i386/ffs.c (__ffs): Likewise.
23801 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23802 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23803 * sysdeps/s390/ffs.c (__ffs): Likewise.
23804 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23805
3ea5be54
AO
238062013-09-20 Alexandre Oliva <aoliva@redhat.com>
23807
ffb89e53
AO
23808 * NEWS: Mention malloc probes.
23809
322dea08
AO
23810 * malloc/arena.c (new_heap): New memory_heap_new probe.
23811 (grow_heap): New memory_heap_more probe.
23812 (shrink_heap): New memory_heap_less probe.
23813 (heap_trim): New memory_heap_free probe.
23814 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23815 (systrim): New memory_sbrk_less probe.
23816 * manual/probes.texi: Document them.
23817
655673f3
AO
23818 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23819 * manual/probes.texi: Document it.
23820
35fed6f1
AO
23821 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23822 (__libc_realloc): Add memory_realloc_retry probe.
23823 (__libc_memalign): Add memory_memalign_retry probe.
23824 (__libc_valloc): Add memory_valloc_retry probe.
23825 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23826 (__libc_calloc): Add memory_calloc_retry probe.
23827 * manual/probes.texi: Document them.
23828
6999d38c
AO
23829 * malloc/arena.c (get_free_list): Add probe
23830 memory_arena_reuse_free_list.
23831 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23832 and memory_arena_reuse.
23833 (arena_get2) [!PER_THREAD]: Likewise.
23834 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23835 memory_arena_reuse_realloc.
23836 * manual/probes.texi: Document them.
23837
0653427f
AO
23838 * malloc/malloc.c (__libc_free): Add
23839 memory_mallopt_free_dyn_thresholds probe.
23840 (__libc_mallopt): Add multiple memory_mallopt probes.
23841 * manual/probes.texi: Document them.
23842
3ea5be54
AO
23843 * malloc/malloc.c: Include stap-probe.h.
23844 (__libc_mallopt): Add memory_mallopt probe.
23845 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23846 * manual/probes.texi: New.
23847 * manual/Makefile (chapters): Add probes.
23848 * manual/threads.texi: Set next node.
23849
e35696c3 238502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23851
e35696c3
CL
23852 [BZ #15963, #13985]
23853 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23854 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23855 Add `Chinese' to `nan' entry name.
23856
4aafb73c
SP
238572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23858
23859 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23860 (POLYNOMIAL): Likewise.
23861 (TAYLOR_SINCOS): Likewise.
23862 (TAYLOR_SLOW): Likewise.
23863 (__sin): Use TAYLOR_SINCOS.
23864 (__cos): Likewise.
23865 (slow): Use TAYLOR_SLOW.
23866 (sloww): Likewise.
23867 (bsloww): Likewise.
23868 (csloww): Likewise.
23869
d84f25c7
LD
238702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23871
23872 * stdlib/strtod_l.c: Fix buffer overrun.
23873
5eea0404
SP
238742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23875
7849ff93
SP
23876 * benchtests/Makefile (bench): Add sincos.
23877 * benchtests/bench-sincos.c: New file.
23878
cfa3c886
SP
23879 * math/libm-test.inc (cos_test_data): New test inputs.
23880 (sin_test_data): Likewise.
23881
b348e1e3
SP
23882 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23883 macro.
23884 (__sin): Use it.
23885 (__cos): Likewise.
23886 (slow1): Likewise.
23887 (slow2): Likewise.
23888 (sloww1): Likewise.
23889 (sloww2): Likewise.
23890 (bsloww1): Likewise.
23891 (bsloww2): Likewise.
23892 (cslow2): Likewise.
23893 (csloww1): Likewise.
23894 (csloww2): Likewise.
23895
6cce25f8
SP
23896 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23897 function.
23898 (__sin): Use it.
23899 (__cos): Likewise.
23900
5eea0404
SP
23901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23902 gotos.
23903 (__cos): Likewise.
23904
9c21573c
MR
239052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23906
23907 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23908 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23909 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23910 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23911 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23912 * elf/cache.c (print_entry): Handle the new cache flags.
23913
24d22e65
JM
239142013-09-18 Joseph Myers <joseph@codesourcery.com>
23915 Aldy Hernandez <aldyh@redhat.com>
23916
23917 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23918 Change condition to [_SOFT_FLOAT].
23919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23931 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23932 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23934 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23935 declaration.
23936
d13ef066
JM
239372013-09-18 Joseph Myers <joseph@codesourcery.com>
23938
2e071de0
JM
23939 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23940 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23941 (__longjmp): Use LOAD_GP to load saved GPRs.
23942 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23943 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23944 (__sigsetjmp): Use SAVE_GP to save GPRs.
23945
d13ef066
JM
23946 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23947 Do not append -msoft-float.
23948 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23949
97a0650b
SP
239502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23951
23952 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23953
11ca09e9
JM
239542013-09-17 Joseph Myers <joseph@codesourcery.com>
23955
23956 [BZ #15966]
23957 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23958 (_FPU_GETCW): Use initial "__" on variable and field names but not
23959 on macro parameter name.
23960 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23961 parentheses around reference to macro parameter.
23962
08ffcf34
RS
239632013-09-13 Richard Sandiford <richard@codesourcery.com>
23964
23965 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23966 prototype.
23967 (ctype_startup): Use uint32_t in cast and sizeof for
23968 ctype->charnames.
23969
ae7080d3
JL
239702013-09-11 Jia Liu <proljc@gmail.com>
23971
23972 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23973 __daddr_t_defined.
23974 [__FreeBSD__]: Likewise.
23975
5905e7b3
OB
239762013-09-11 Ondřej Bílka <neleai@seznam.cz>
23977
23978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23979 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23980 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23981 (strchr): Remove __strchr_sse42 ifunc selection.
23982 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23983 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23984
b987c776
WN
239852013-09-11 Will Newton <will.newton@linaro.org>
23986
23987 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23988 parameter to RES. Remove hardcoded 1000 value.
23989 * benchtests/bench-skeleton.c (main): Pass RES parameter
23990 to TIMING_INIT and multiply result by 1000.
23991
ddf985af
AZ
239922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23993
23994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23995
ffdd3181
AS
239962013-09-11 Andreas Schwab <schwab@suse.de>
23997
23998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23999 if not defined.
24000 (O_TMPFILE) [__USE_GNU]: Define.
24001 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24002 Define.
24003
b73ed247
WN
240042013-09-11 Will Newton <will.newton@linaro.org>
24005
24006 [BZ #15857]
24007 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24008 does not overflow.
24009
55e17aad
WN
240102013-09-11 Will Newton <will.newton@linaro.org>
24011
24012 [BZ #15856]
24013 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24014 does not overflow.
24015
1159a193
WN
240162013-09-11 Will Newton <will.newton@linaro.org>
24017
24018 [BZ #15855]
24019 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24020 does not overflow.
24021
5905e7b3 240222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24023
24024 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24025 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24029
cdfc721b
AM
240302013-09-10 Allan McRae <allan@archlinux.org>
24031
aa04af00
AM
24032 [BZ #15748]
24033 * manual/arith.texi (Parsing of Floats): Clarify
24034 cross-reference.
24035
cdfc721b
AM
24036 [BZ #15849]
24037 * manual/install.texi (Running make install): Mention
24038 --enable-pt-chown.
24039 * INSTALL: Regenerated.
24040
95e7cf29
MR
240412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24042
24043 * csu/init-first.c (_init): Remove the !SHARED condition around
24044 FPU control word initialization.
24045 * elf/dl-support.c (_dl_fpu_control): New variable.
24046 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24047 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24048 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24049 * math/test-fpucw-static.c: New file.
24050 * math/test-fpucw-ieee.c: New file.
24051 * math/test-fpucw-ieee-static.c: New file.
24052 * math/Makefile (tests): Add `test-fpucw-ieee' and
24053 `$(tests-static)'.
24054 (tests-static): New variable.
24055 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24056 dependency to...
24057 [($(build-shared),yes)]
24058 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24059 ... this.
24060 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24061 New dependency.
24062
83e43bf0
AM
240632013-09-09 Allan McRae <allan@archlinux.org>
24064
a9f5ce09
AM
24065 [BZ #15939]
24066 * manual/string.texi (Collation Functions): Fix typo in
24067 strcoll example.
24068 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24069
34829bc2
AM
24070 [BZ #15893]
24071 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24072
3932737d
AM
24073 [BZ #15892]
24074 * libio/memstream.c (open_memstream): Fix memory leak.
24075 * libio/wmemstream.c (open_wmemstream): Likewise.
24076
83e43bf0
AM
24077 [BZ #15895]
24078 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24079
0c66b8e9
WN
240802013-09-09 Will Newton <will.newton@linaro.org>
24081
24082 * malloc/Makefile: Add tst-realloc to tests.
24083 * malloc/tst-realloc.c: New file.
24084
f6b00fd1
AM
240852013-09-09 Allan McRae <allan@archlinux.org>
24086
24087 [BZ #15844]
24088 * COPYING: Update from GNU website to fix FSF address.
24089 * COPYING.LIB: Likewise.
24090
eec55e16
DM
240912013-09-06 David S. Miller <davem@davemloft.net>
24092
24093 * po/zh_TW.po: Update Chinese (traditional) translation from
24094 translation project.
24095
1ecbb381
RS
240962013-09-06 Richard Sandiford <richard@codesourcery.com>
24097 Joseph Myers <joseph@codesourcery.com>
24098
24099 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24100 "localeinfo.h".
24101 (obstack_chunk_alloc): New macro.
24102 (obstack_chunk_free): Likewise.
24103 (record_offset): New function.
24104 (init_locale_data): Likewise.
24105 (align_locale_data): Likewise.
24106 (add_locale_empty): Likewise.
24107 (add_locale_raw_data): Likewise.
24108 (add_locale_raw_obstack): Likewise.
24109 (add_locale_string): Likewise.
24110 (add_locale_wstring): Likewise.
24111 (add_locale_uint32): Likewise.
24112 (add_locale_uint32_array): Likewise.
24113 (add_locale_char): Likewise.
24114 (start_locale_structure): Likewise.
24115 (end_locale_structure): Likewise.
24116 (start_locale_prelude): Likewise.
24117 (end_locale_prelude): Likewise.
24118 (write_locale_data): Take locale_file structure rather than an
24119 iovec.
24120 * locale/programs/locfile.h: Include "obstack.h".
24121 (struct locale_file): Change to store locale file contents instead
24122 of header.
24123 (init_locale_data): New prototype.
24124 (align_locale_data): Likewise.
24125 (add_locale_empty): Likewise.
24126 (add_locale_raw_data): Likewise.
24127 (add_locale_raw_obstack): Likewise.
24128 (add_locale_string): Likewise.
24129 (add_locale_wstring): Likewise.
24130 (add_locale_uint32): Likewise.
24131 (add_locale_uint32_array): Likewise.
24132 (add_locale_char): Likewise.
24133 (start_locale_structure): Likewise.
24134 (end_locale_structure): Likewise.
24135 (start_locale_prelude): Likewise.
24136 (end_locale_prelude): Likewise.
24137 (write_locale_data): Update prototype.
24138 * locale/programs/3level.h (struct TABLE): Remove result field.
24139 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24140 Use new locale_file interface.
24141 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24142 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24143 * locale/programs/ld-address.c (address_output): Use new
24144 locale_file interface.
24145 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24146 NO_ADD_LOCALE.
24147 (collate_finish): Don't call collseq_table_finalize.
24148 (collate_output): Use new locale_file interface.
24149 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24150 in file.
24151 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24152 (TABLE): Move defines earlier in file.
24153 (ELEMENT): Likewise.
24154 (DEFAULT): Likewise.
24155 (wctrans_table_add): Move macro and inline function earlier in
24156 file.
24157 (struct wctype_table): Move type earlier in file.
24158 (add_locale_wctype_table): New static prototype.
24159 (struct locale_ctype_t): Use logical types instead of struct iovec
24160 pointers for members.
24161 (ctype_output): Use new locale_file interface.
24162 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24163 new locale_file interface.
24164 (allocate_arrays): Update for use of new locale_file interface.
24165 * locale/programs/ld-identification.c (identification_output): Use
24166 new locale_file interface.
24167 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24168 * locale/programs/ld-messages.c (messages_output): Likewise.
24169 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24170 * locale/programs/ld-name.c (name_output): Likewise.
24171 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24172 * locale/programs/ld-paper.c (paper_output): Likewise.
24173 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24174 * locale/programs/ld-time.c (time_output): Likewise.
24175
e029e2e5
AZ
241762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24177
24178 * benchtests/Makefile: Add memrchr benchmark.
24179 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24180 benchmark as memrchr.
24181 * benchtests/bench-memrchr-ifunc.c: New file.
24182 * benchtests/bench-memrchr.c: New file.
24183
bbf6e8e4
WN
241842013-09-06 Will Newton <will.newton@linaro.org>
24185
24186 * benchtests/Makefile (string-bench): Add memcpy.
24187
6c82a2f8
CD
241882013-09-05 Carlos O'Donell <carlos@redhat.com>
24189 Cong Wang <amwang@redhat.com>
24190
e732c5f0 24191 [BZ #15850]
6c82a2f8
CD
24192 * sysdeps/unix/sysv/linux/bits/in.h
24193 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24194 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24195 before __USE_KERNEL_IPV6_DEFS uses.
24196 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24197 IPPROTO_BEETPH.
24198 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24199 sockaddr_in6, or ipv6_mreq.
24200
5430fc65
AZ
242012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24202
24203 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24204 memory access for final bytes in some large inputs.
24205 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24206
4660856c
AZ
242072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24208
24209 * string/test-memrchr.c: New file.
24210 * string/test-memrchr-ifunc.c: New file.
24211 * string/Makefile: Add new memrchr testcase.
24212
bb8ea713
MF
242132013-09-05 Mike Frysinger <vapier@gentoo.org>
24214
24215 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24216 fanotify_init returns EPERM.
24217
b92a20b5
JM
242182013-09-04 Joseph Myers <joseph@codesourcery.com>
24219
24220 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24221 errors.
24222 (top level): Treat second token from macro or constant entries for
24223 allowed headers as allowed.
24224 * include/complex.h: Condition internal declarations on
24225 [!_ISOMAC].
24226 * include/fenv.h: Condition include of <stdbool.h> and internal
24227 declarations on [!_ISOMAC].
7447ccd9
CL
24228
242292013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24230
3e181dda 24231 [BZ #15923]
7447ccd9
CL
24232 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24233
3f2e46a4
JM
242342013-09-04 Joseph Myers <joseph@codesourcery.com>
24235
24236 * configure.in (--enable-versioning): Remove configure option.
24237 (libc_cv_asm_symver_directive): Remove configure test.
24238 (libc_cv_ld_version_script_option): Likewise.
24239 (VERSIONING): Remove variable and AC_SUBST.
24240 (DO_VERSIONING): Remove AC_DEFINE.
24241 * configure: Regenerated.
24242 * config.h.in (DO_VERSIONING): Remove macro.
24243 * Makerules [$(versioning) = yes]: Change conditionals to
24244 [$(build-shared) = yes].
24245 * config.make.in (versioning): Remove variable.
24246 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24247 [$(build-shared) = yes].
24248 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24249 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24250 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24251 [$(build-shared) = yes].
24252 * extra-lib.mk [$(versioning) = yes]: Likewise.
24253 * hurd/Makefile [$(versioning) = yes]: Likewise.
24254 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24255 [SHARED].
24256 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24257 [SHARED].
24258 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24259 [SHARED && !NO_HIDDEN].
24260 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24261 [SHARED].
24262 [SHARED && DO_VERSIONING]: Likewise..
24263 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24264 [$(build-shared) = yes].
24265 * manual/install.texi (--disable-versioning): Remove
24266 documentation.
24267 * INSTALL: Regenerated.
24268 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24269 to [SHARED].
24270 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24271 [$(build-shared) = yes].
24272 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24273 * sysdeps/i386/i686/multiarch/strstr-c.c
24274 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24275 [SHARED && !NO_HIDDEN].
24276 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24277 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24278 * sysdeps/powerpc/powerpc32/dl-machine.c
24279 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24280 * sysdeps/powerpc/powerpc32/sysdep.h
24281 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24282 to [SHARED && PIC && !NO_HIDDEN].
24283 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24284 conditional to [SHARED].
24285
44558701
WN
242862013-09-04 Will Newton <will.newton@linaro.org>
24287
24288 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24289 * benchtests/bench-string.h: Include bench-timing.h instead
24290 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24291 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24292 call to HP_TIMING_DIFF_INIT.
24293 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24294 instead of hp-timing.h macros.
24295 * benchtests/bench-memchr.c: Likewise.
24296 * benchtests/bench-memcmp.c: Likewise.
24297 * benchtests/bench-memcpy.c: Likewise.
24298 * benchtests/bench-memmem.c: Likewise.
24299 * benchtests/bench-memmove.c: Likewise.
24300 * benchtests/bench-memset.c: Likewise.
24301 * benchtests/bench-rawmemchr.c: Likewise.
24302 * benchtests/bench-strcasecmp.c: Likewise.
24303 * benchtests/bench-strcasestr.c: Likewise.
24304 * benchtests/bench-strcat.c: Likewise.
24305 * benchtests/bench-strchr.c: Likewise.
24306 * benchtests/bench-strcmp.c: Likewise.
24307 * benchtests/bench-strcpy.c: Likewise.
24308 * benchtests/bench-strcpy_chk.c: Likewise.
24309 * benchtests/bench-strlen.c: Likewise.
24310 * benchtests/bench-strncasecmp.c: Likewise.
24311 * benchtests/bench-strncat.c: Likewise.
24312 * benchtests/bench-strncmp.c: Likewise.
24313 * benchtests/bench-strncpy.c: Likewise.
24314 * benchtests/bench-strnlen.c: Likewise.
24315 * benchtests/bench-strpbrk.c: Likewise.
24316 * benchtests/bench-strrchr.c: Likewise.
24317 * benchtests/bench-strspn.c: Likewise.
24318 * benchtests/bench-strstr.c: Likewise.
24319
cae16d66
WN
243202013-09-04 Will Newton <will.newton@linaro.org>
24321
24322 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24323
ffa3cd7f
JM
243242013-09-03 Joseph Myers <joseph@codesourcery.com>
24325
24326 [BZ #15427]
24327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24328 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24329 * math/libm-test.inc (lgamma_test_data): Add more tests.
24330 * sysdeps/i386/fpu/libm-test-ulps: Update.
24331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24332
8f02859f
OB
243332013-09-03 Ondřej Bílka <neleai@seznam.cz>
24334
24335 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24337 Add ifunc.
24338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24339 Add strcmp-sse2-unaligned
24340 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24341
18d43716
MF
243422013-09-02 Mike Frysinger <vapier@gentoo.org>
24343
24344 * Versions.def (libc): Add GLIBC_2.19.
24345
ac444012
MF
243462013-09-02 Mike Frysinger <vapier@gentoo.org>
24347
24348 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24349 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24350
b7835e32
JM
243512013-09-02 Joseph Myers <joseph@codesourcery.com>
24352
24353 [BZ #14155]
24354 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24355 intermediate calculations in recurrence.
24356 (__ieee754_ynf): Likewise.
24357 * math/libm-test.inc (jn_test_data): Do not allow spurious
24358 underflow exception. Add more tests.
24359 (yn_test_data): Add more tests.
24360 * sysdeps/i386/fpu/libm-test-ulps: Update.
24361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24362
8220f4f0
OB
243632013-09-02 Ondřej Bílka <neleai@seznam.cz>
24364
24365 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24366
f24a6d08
OB
243672013-08-30 Ondřej Bílka <neleai@seznam.cz>
24368
24369 * csu/init-first.c: Fix then/than typos.
24370 * locale/programs/ld-collate.c: Likewise.
24371 * locale/programs/linereader.h: Likewise.
24372 * manual/charset.texi: Likewise.
24373 * manual/filesys.texi: Likewise.
24374 * manual/stdio.texi: Likewise.
24375 * manual/string.texi: Likewise.
24376 * stdlib/fmtmsg.c: Likewise.
24377 * sysdeps/i386/stpncpy.S: Likewise.
24378 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24379 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24380 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24381 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24382
382466e0
OB
243832013-08-30 Ondřej Bílka <neleai@seznam.cz>
24384
24385 * elf/dl-open.c: Fix typos.
24386 * iconvdata/gbbig5.c: Likewise.
24387 * iconvdata/iso-2022-jp.c: Likewise.
24388 * iconv/gconv_int.h: Likewise.
24389 * iconv/loop.c: Likewise.
24390 * nis/rpcsvc/nis.h: Likewise.
24391 * resolv/ns_name.c: Likewise.
24392 * stdio-common/vfscanf.c: Likewise.
24393 * streams/stropts.h: Likewise.
24394 * sunrpc/rpc_thread.c: Likewise.
24395 * sysdeps/i386/strpbrk.S: Likewise.
24396 * sysdeps/ieee754/k_standard.c: Likewise.
24397 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24398 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24399 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24400 * sysdeps/mach/hurd/profil.c: Likewise.
24401 * sysdeps/s390/dl-procinfo.h: Likewise.
24402 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24403 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24404 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24405 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24407
0186c6e9
OB
244082013-08-30 Ondřej Bílka <neleai@seznam.cz>
24409
24410 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24412
d4e16af1
OB
244132013-08-29 Ondřej Bílka <neleai@seznam.cz>
24414
24415 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24416 aix specific files.
24417 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24418 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24419 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24420 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24421 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24422 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24423 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24424 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24425
88335980
TS
244262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24427 Roland McGrath <roland@hack.frob.com>
24428
24429 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24430 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24431
ed479b02
ST
244322013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24433
24434 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24435 __executable_start symbol instead of _start.
24436
f1cc4c86
TS
244372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24438
d821f07c
TS
24439 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24440 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24441 Move macros to...
24442 * sysdeps/gnu/ldsodefs.h: ... this new file.
24443
c54290cf
TS
24444 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24445 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24446 instead of ELFOSABI_LINUX.
24447
0007fc9b 24448 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24449 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24450 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24451 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24452 Likewise.
24453 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24454 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24455 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24456 Likewise.
24457 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24458 (ibm_extended_long_double): Add ieee_nan member.
24459 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24460 (do_test): New function.
24461
f1cc4c86
TS
24462 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24463 TEST_TRUNC.
24464 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24465 functions, renamed from truncdfsf_test, trunctfsf_test,
24466 trunctfdf_test.
24467 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24468 functions.
24469 (do_test): Run all these.
24470
6f65e668
OB
244712013-08-29 Ondřej Bílka <neleai@seznam.cz>
24472
24473 * argp/argp-help.c: Fix typos.
24474 * argp/argp-parse.c: Likewise.
24475 * debug/backtracesyms.c: Likewise.
24476 * elf/elf.h: Likewise.
24477 * malloc/malloc.c: Likewise.
24478 * nis/nis_print.c: Likewise.
24479 * resolv/res_comp.c: Likewise.
24480 * stdlib/stdlib.h: Likewise.
24481 * sunrpc/clnt_tcp.c: Likewise.
24482 * sunrpc/clnt_udp.c: Likewise.
24483 * sunrpc/clnt_unix.c: Likewise.
24484 * sysdeps/unix/bsd/ptsname.c: Likewise.
24485 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24486 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24488 Likewise.
24489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24490 Likewise.
24491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24492 Likewise.
6f65e668
OB
24493 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24494
3a309239
SP
244952013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24496
24497 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24499
3b813b29
MF
245002013-08-27 Mike Frysinger <vapier@gentoo.org>
24501
24502 [BZ #15897]
24503 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24504 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24505 ($(objpfx)bug-dl-leaf): New rule.
24506 ($(objpfx)bug-dl-leaf.so): Likewise.
24507 ($(objpfx)bug-dl-leaf.out): Likewise.
24508 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24509 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24510 * dlfcn/bug-dl-leaf.c: New test.
24511 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24512 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24513 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24514 (dlclose): Likewise.
24515 (dlmopen): Likewise.
24516
8cc3269f
RM
245172013-08-27 Roland McGrath <roland@hack.frob.com>
24518
7f9d0034
RM
24519 * include/netdb.h [!_ISOMAC]:
24520 Don't include <tls.h>.
24521 (h_errno, __libc_h_errno): Move declaration and macros out of
24522 [_LIBC_REENTRANT].
24523
fb431262
RM
24524 * include/resolv.h [_RESOLV_H_]:
24525 Don't include <tls.h>.
24526 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24527 * resolv/res_libc.c: Don't include <tls.h>.
24528 (_res): Use __attribute__ ((nocommon)) in place of
24529 __attribute__ ((section (".bss"))).
24530
bd81123a
RM
24531 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24532 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24533
c4e42566
RM
24534 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24535
f890a59b
RM
24536 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24537 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24538
24539 * resolv/res_mkquery.c: Include <sys/time.h>.
24540
5d1f0a09
RM
24541 * inet/ifreq.c: Moved to ...
24542 * sysdeps/unix/ifreq.c: ... here.
24543 * inet/ifreq.c: New file, true stub version.
24544
6fcf28b3
RM
24545 * socket/sa_len.c: New file.
24546 * socket/Makefile (aux): Add it.
24547 * sysdeps/unix/sysv/linux/Makefile
24548 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24549 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24550 and #include <socket/sa_len.c>.
24551 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24552 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24553
e041fb8b
RM
24554 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24555 * bits/socket.h: ... here.
24556
8cc3269f
RM
24557 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24558 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24559 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24560
5d228a43
AS
245612013-08-27 Andreas Schwab <schwab@suse.de>
24562
45b8accc
AS
24563 [BZ #15736]
24564 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24565 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24566 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24567 * string/test-strcasecmp.c (test_main): Run tests in several
24568 locales.
24569 * string/test-strncasecmp.c (test_main): Likewise.
24570
5d228a43
AS
24571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24572 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24573 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24575 (__strncasecmp_ssse3) [PIC]: Likewise.
24576
59d112a4
RM
245772013-08-26 Roland McGrath <roland@hack.frob.com>
24578
53234cc3
RM
24579 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24580
59d112a4
RM
24581 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24582 instead of explicitly declaring xdecrypt.
24583 * nis/nss_nis/nis-publickey.c: Likewise.
24584
595aba70
SP
245852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24586
24587 [BZ #15890]
24588 * nscd/aicache.c: Include res_hconf.h.
24589 (addhstaiX): Initialize res_hconf.
24590
ffabd393
AS
245912013-08-26 Andreas Schwab <schwab@suse.de>
24592
24593 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24594 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24595
e0a69f5c
SP
245962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24597
24598 * nscd/aicache.c (addhstaiX): Fix indentation.
24599
8c12f01d
MF
246002013-08-25 Mike Frysinger <vapier@gentoo.org>
24601
24602 * configure.ac: Quote $build_pt_chown test.
24603 * configure: Regenerated.
24604
8fe89494
JM
246052013-08-23 Joseph Myers <joseph@codesourcery.com>
24606
24607 [BZ #15532]
24608 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24609 * math/s_cexpf.c (__cexpf): Likewise.
24610 * math/s_cexpl.c (__cexpl): Likewise.
24611 * math/libm-test.inc (cexp_test_data): Correct expected return
24612 value for NaN + i0. Add another test.
24613
75b181d6
DM
246142013-08-22 David S. Miller <davem@davemloft.net>
24615
24616 * po/ca.po: Update Catalan translation from translation project.
936241e4 24617 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24618
acd06bb1
JM
246192013-08-21 Joseph Myers <joseph@codesourcery.com>
24620
24621 [BZ #15797]
24622 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24623 is infinite, not alongside NaN test.
24624 * math/s_fdimf.c (__fdimf): Likewise.
24625 * math/s_fdiml.c (__fdiml): Likewise.
24626 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24627 errno is unchanged.
24628
c0c3f78a
OB
246292013-08-21 Ondřej Bílka <neleai@seznam.cz>
24630
24631 * argp/argp-help.c: Fix typos.
24632 * crypt/speeds.c: Likewise.
24633 * csu/check_fds.c: Likewise.
24634 * elf/dl-load.c: Likewise.
24635 * elf/dl-open.c: Likewise.
24636 * elf/reldep3.c: Likewise.
24637 * elf/reldep.c: Likewise.
24638 * elf/sprof.c: Likewise.
24639 * iconv/iconv_charmap.c: Likewise.
24640 * iconv/skeleton.c: Likewise.
24641 * iconv/strtab.c: Likewise.
24642 * io/lockf64.c: Likewise.
24643 * libio/libioP.h: Likewise.
24644 * resolv/gai_notify.c: Likewise.
24645 * resolv/ns_name.c: Likewise.
24646 * resolv/ns_samedomain.c: Likewise.
24647 * resolv/res_send.c: Likewise.
24648 * stdlib/random.c: Likewise.
24649 * sunrpc/rpc/xdr.h: Likewise.
24650 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24652 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24653 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24655 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24658 * sysdeps/mach/hurd/check_fds.c: Likewise.
24659 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24663 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24664 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24665 * sysdeps/pthread/aio_notify.c: Likewise.
24666 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24667 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24668 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24670 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24671
46ed1038
LD
246722013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24673
24674 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24675 version if bit_Slow_SSE4_2 is set.
24676 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24677 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24678
d400dcac
AZ
246792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24680
24681 [BZ #15867]
24682 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24683 trampoline stack frame information.
24684 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24686 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24687 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24688 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24689 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24690 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24691 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24692 sa_flags value.
24693 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24694 interrupting a syscall and set with option SA_SIGINFO.
24695
42c8fdd8
JM
246962013-08-20 Joseph Myers <joseph@codesourcery.com>
24697
c980f2f4
JM
24698 [BZ #15531]
24699 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24700 argument is infinite.
24701 * math/s_cprojf.c (__cprojf): Likewise.
24702 * math/s_cprojl.c (__cprojl): Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24704 * math/libm-test.inc (cproj_test_data): Add more tests.
24705
0716c4fc
JM
24706 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24707
42c8fdd8
JM
24708 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24709 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24710 size. Use __ffs to determine corresponding shift.
24711
b31469d0
JM
247122013-08-20 Joseph Myers <joseph@codesourcery.com>
24713 Roland McGrath <roland@hack.frob.com>
24714
24715 * Makefile (INSTALL): Remove trailing blank lines from output of
24716 makeinfo.
24717
4e39af6e
AK
247182013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24719
24720 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24721 Align 32 bit compat elf_greg to 8 bytes.
24722
f315524e
AA
247232013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24724
24725 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24726
1326ba1a
SP
247272013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24728
24729 * string/strcoll_l.c (coll_seq): New structure.
24730 (get_next_seq_cached): New function.
24731 (get_next_seq): New function.
24732 (do_compare): New function.
24733 (STRCOLL): Use GNU style definition. Simplify implementation
24734 by using get_next_seq, get_next_seq_cached and do_compare.
24735
91ce4085
FW
247362013-08-16 Florian Weimer <fweimer@redhat.com>
24737
24738 [BZ #14699]
24739 CVE-2013-4237
24740 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24741 member.
24742 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24743 member.
24744 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24745 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24746 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24747 conditional.
24748 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24749 GETDENTS_64BIT_ALIGNED.
24750 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24751 * manual/filesys.texi (Reading/Closing Directory): Document
24752 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24753 strongly.
24754 * manual/conf.texi (Limits for Files): Add portability note to
24755 NAME_MAX, PATH_MAX.
24756 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24757
ca0a6bc4
AS
247582013-08-13 Andreas Schwab <schwab@suse.de>
24759
24760 [BZ #15749]
24761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24762 of fabs.
24763 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24764 LDBL_MAX_EXP >= 16384]: Add tests for it.
24765
6c1fd795
DM
247662013-08-12 David S. Miller <davem@davemloft.net>
24767
24768 * version.h (RELEASE): Set to "development".
24769 (VERSION): Set to "2.18.90".
24770 * NEWS: Add 2.19 section.
24771
31ad488d
DM
247722013-08-03 David S. Miller <davem@davemloft.net>
24773
24774 * po/ko.po: Update Korean translation from translation project.
24775
db24e684
DM
247762013-08-01 David S. Miller <davem@davemloft.net>
24777
24778 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24779 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24780 Bilka.
24781
f723285b
DM
247822013-07-30 David S. Miller <davem@davemloft.net>
24783
24784 * po/fr.po: Update French translation from translation project.
24785
3cbc52db
DM
247862013-07-28 David S. Miller <davem@davemloft.net>
24787
30bbc0cc
DM
24788 * po/cs.po: Update Czech translation from translation project.
24789
3cbc52db
DM
24790 * po/sv.po: Update Swedish translation from translation project.
24791
d492e6d0
DM
247922013-07-27 David S. Miller <davem@davemloft.net>
24793
f1a7f492
DM
24794 * po/eo.po: Update Esperanto translation from translation project.
24795
90e62a4a
DM
24796 * po/vi.po: Update Vietnamese translation from translation project.
24797
d492e6d0
DM
24798 * po/de.po: Update German translation from translation project.
24799
d4baa62d
DM
248002013-07-26 David S. Miller <davem@davemloft.net>
24801
641aa7b4
DM
24802 * po/bg.po: Update Bulgarian translation from translation project.
24803
d4baa62d
DM
24804 * po/nl.po: Update Dutch translation from translation project.
24805 * po/pl.po: Update Polish translation from translation project.
24806 * po/ru.po: Update Russian translation from translation project.
24807
61a9dcb9
DM
248082013-07-24 David S. Miller <davem@davemloft.net>
24809
24810 * po/libc.pot: Update.
24811
7b1f8b58
AZ
248122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24813
24814 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24815 variable page size.
24816 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24817 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24818 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24819
a8fc7a03
AK
248202013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24821
24822 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24823
e4608715
CD
248242013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24825 Andreas Schwab <schwab@suse.de>
24826 Roland McGrath <roland@hack.frob.com>
24827 Joseph Myers <joseph@codesourcery.com>
24828 Carlos O'Donell <carlos@redhat.com>
24829
24830 [BZ #15755]
24831 * config.h.in: Define HAVE_PT_CHOWN.
24832 * config.make.in (build-pt-chown): New variable.
24833 * configure.in (--enable-pt_chown): New configure option.
24834 * configure: Regenerate.
24835 * login/Makefile: Include Makeconfig. Build pt_chown only if
24836 build-pt-chown is enabled.
24837 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24838 pt_chown to fix pty ownership.
24839 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24840 CLOSE_ALL_FDS.
24841 * manual/install.texi (Configuring and compiling): Mention
24842 --enable-pt_chown. Add @findex for grantpt.
24843 * INSTALL: Regenerate.
24844
da2d62df
DM
248452013-07-20 David S. Miller <davem@davemloft.net>
24846
24847 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24848 difference between 32-bit and 64-bit.
24849
d7e06450
CD
248502013-07-15 Carlos O'Donell <carlos@redhat.com>
24851
24852 [BZ #15711]
24853 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24854 Avoid system header dependency with -ffreestanding.
24855 ($(objpfx)bits/syscall%d): Likewise.
24856
f959cfd7
DM
248572013-07-13 David S. Miller <davem@davemloft.net>
24858
24859 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24860 underflows from atanl/atan2l due to bug 15319.
24861 (casinh_test_data): Likewise.
24862
c61f8513
DM
248632013-07-07 David S. Miller <davem@davemloft.net>
24864
24865 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24866
72c90ed0
JA
248672013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24868
24869 * sysdeps/i386/fpu/libm-test-ulps: Update.
24870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24871
52dfbe13
SP
248722013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24873
24874 * configure.in (--enable-lock-elision): Fix message text.
24875 * INSTALL: Regenerate.
24876 * configure: Regenerate.
24877
3f169543
AZ
248782013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24879
24880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24881
521c6785
AJ
248822013-07-03 Andreas Jaeger <aj@suse.de>
24883
24884 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24885 define.
24886 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24887 (ptrace_peeksiginfo_args): Add.
24888 (__ptrace_peeksiginfo_flags): Add.
24889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24890 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24891 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24892
d2cc15cb
AM
248932013-07-03 Allan McRae <allan@archlinux.org>
24894
24895 * sysdeps/i386/fpu/libm-test-ulps: Update.
24896
3aaeeca7
DM
248972013-07-02 David S. Miller <davem@davemloft.net>
24898
24899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24900
5314ed1a
MT
249012013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24902
24903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24904
67338156
JM
249052013-07-02 Joseph Myers <joseph@codesourcery.com>
24906
24907 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24909
1717da59
AK
249102013-07-02 Andi Kleen <ak@linux.intel.com>
24911
24912 * config.h.in (ENABLE_LOCK_ELISION): Add.
24913 * configure.in (--enable-lock-elision): Add option.
24914 * manual/install.texi: Document --enable lock elision.
24915 * configure: Regenerate
24916 * INSTALL: Regenerate.
24917
1c81621c
L
249182013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24919
24920 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24921 SSE4.2 strcasecmp for libc.a.
24922 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24923
77f01ab5
JM
249242013-07-02 Joseph Myers <joseph@codesourcery.com>
24925
24926 [BZ #13304]
24927 * soft-fp/op-common.h (_FP_FMA): New macro.
24928 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24929 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24930 (_FP_MUL_MEAT_1_imm): ... here.
24931 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24932 (_FP_MUL_MEAT_1_wide): ... here.
24933 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24934 (_FP_MUL_MEAT_1_hard): ... here.
24935 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24936 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24937 (_FP_MUL_MEAT_2_wide): ... here.
24938 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24939 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24940 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24941 (_FP_MUL_MEAT_2_gmp): ... here.
24942 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24943 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24944 (_FP_MUL_MEAT_4_wide): ... here.
24945 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24946 (_FP_MUL_MEAT_4_gmp): ... here.
24947 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24948 (_FP_WFRACBITS_DW_S): Likewise.
24949 (_FP_WFRACXBITS_DW_S): Likewise.
24950 (_FP_HIGHBIT_DW_S): Likewise.
24951 (FP_FMA_S): Likewise.
24952 (_FP_FRAC_HIGH_DW_S): Likewise.
24953 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24954 (_FP_WFRACBITS_DW_D): Likewise.
24955 (_FP_WFRACXBITS_DW_D): Likewise.
24956 (_FP_HIGHBIT_DW_D): Likewise.
24957 (FP_FMA_D): Likewise.
24958 (_FP_FRAC_HIGH_DW_D): Likewise.
24959 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24960 (_FP_WFRACBITS_DW_E): Likewise.
24961 (_FP_WFRACXBITS_DW_E): Likewise.
24962 (_FP_HIGHBIT_DW_E): Likewise.
24963 (FP_FMA_E): Likewise.
24964 (_FP_FRAC_HIGH_DW_E): Likewise.
24965 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24966 (_FP_WFRACBITS_DW_Q): Likewise.
24967 (_FP_WFRACXBITS_DW_Q): Likewise.
24968 (_FP_HIGHBIT_DW_Q): Likewise.
24969 (FP_FMA_Q): Likewise.
24970 (_FP_FRAC_HIGH_DW_Q): Likewise.
24971 * soft-fp/fmasf4.c: New file.
24972 * soft-fp/fmadf4.c: Likewise.
24973 * soft-fp/fmatf4.c: Likewise.
24974
6308fd9a
LD
249752013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24976
24977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24978 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24979 Silvermont.
24980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24981 macro.
24982 (index_Slow_SSE4_2): Likewise.
24983 (index_Prefer_PMINUB_for_stringop): Likewise.
24984 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24985 bit_Slow_SSE4_2 is set.
24986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24988
89cd9569
RA
249892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24990
24991 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24992 rtld_global._dl_hwcap2.
24993 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24994 POWER8.
24995 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24996 POWER8 feature descriptions defined in _dl_hwcap2.
24997 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24998 string handling for POWER8 feature bits.
24999 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25000 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25001 _dl_powerpc_cap_flags.
25002 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25003 * sysdeps/powerpc/rtld-global-offsets.sym
25004 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25005 _dl_hwcap2 in the rtld_global_ro structure.
25006
1ae8bfe0
RA
250072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25008
25009 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25010 hardware capabilities in support of AT_HWCAP2.
25011 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25012 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25013 GLRO(dl_hwcap2).
25014 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25015 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25016 explicitly the unknown a_type display mechanism is used.
25017 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25018 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25019 struct member.
25020 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25021 to macro prototype for AT_HWCAP2 support.
25022 * sysdeps/i386/dl-procinfo.h: Likewise.
25023 * sysdeps/s390/dl-procinfo.h: Likewise.
25024 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25025 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25026 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25027 return -1 for unknown a_type display fallback.
25028 * sysdeps/sparc/dl-procinfo.h: Likewise.
25029 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25030 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25031
8fbec010
JM
250322013-06-28 Joseph Myers <joseph@codesourcery.com>
25033
25034 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25035 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25036
0432680e
PY
250372013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25038
25039 [BZ #12492]
25040 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25041 mprotect making __stack_prot writable.
25042
ce61a2ad
NF
250432013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25044 Joseph Myers <joseph@codesourcery.com>
25045
25046 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25047 as being properly aligned.
25048
f91f1c0f
MR
250492013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25050
3d0f5d0c
MR
25051 * dlfcn/modstatic5.c: New file.
25052 * dlfcn/tststatic5.c: New file.
25053 * dlfcn/Makefile (tests): Add tststatic5.
25054 (tests-static): Likewise.
25055 (modules-names): Add modstatic5.
25056 (tststatic5-ENV): New variable.
25057 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25058
f91f1c0f
MR
25059 [BZ #15022]
25060 * elf/dl-support.c (_dl_main_map): New variable.
25061 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25062 (_dl_nns, _dl_load_adds): Set to 1.
25063 (_dl_initial_searchlist): Refer to _dl_main_map.
25064 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25065 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25066 call to _dl_get_origin.
25067 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25068 around call_map.
25069 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25070 * dlfcn/modstatic3.c: New file.
25071 * dlfcn/tststatic3.c: New file.
25072 * dlfcn/tststatic4.c: New file.
25073 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25074 (tests-static): Likewise.
25075 (modules-names): Add modstatic3.
25076 (tststatic3-ENV, tststatic4-ENV): New variables.
25077 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25078 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25079
cbe7d24b
JM
250802013-06-26 Joseph Myers <joseph@codesourcery.com>
25081
25082 * configure.in (CC): Require GCC version 4.4 or later.
25083 * configure: Regenerated.
25084 * manual/install.texi (Tools for Compilation): Update GCC version
25085 requirement.
25086 * INSTALL: Regenerated.
25087
11b8a0e1
LD
250882013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25089
25090 [BZ #15674]
bb5bb87c
L
25091 * string/test-memcmp.c (check2): New.
25092 (main): Call check2.
25093
11b8a0e1
LD
25094 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25095
b0037103
MR
250962013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25097
25098 [BZ #15022]
25099 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25100 over to...
25101 (dl_open_worker) [!SHARED]: ... here.
25102
c18c701d
RA
251032013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25104
25105 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25106
1d17fa5f
RH
251072013-06-25 Richard Henderson <rth@redhat.com>
25108
25109 * locale/programs/locarchive.c: Include <libc-internal.h>
25110
8fcb833a
JM
251112013-06-25 Joseph Myers <joseph@codesourcery.com>
25112
25113 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25114 trailing whitespace removed.
25115
17db6e8d
MF
251162013-06-24 Mike Frysinger <vapier@gentoo.org>
25117
25118 [BZ #10283]
17db6e8d
MF
25119 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25120 * locale/programs/locarchive.c: Include libc-mmap.h.
25121 (prepare_address_space): Take two new outputs (the mmap base and len).
25122 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25123 values.
25124 (create_archive): Declare new mmap base and len values for
25125 prepare_address_space, and store the result in ah.
25126 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25127 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25128 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25129 Declare new mmap base and len values for
25130 prepare_address_space, and store the result in new_ah.
25131 (open_archive): Declare new mmap base and len values for
25132 prepare_address_space, and store the result in ah.
25133 (close_archive): If ah->mmap_base is not NULL, use that and
25134 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25135 * sysdeps/generic/libc-mmap.h: New file.
25136
d605071e
MF
251372013-06-24 Mike Frysinger <vapier@gentoo.org>
25138
25139 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25140 (ALIGN_UP): Likewise.
25141 (PTR_ALIGN_DOWN): Likewise.
25142 (PTR_ALIGN_UP): Likewise.
25143
2f063a6e
RA
251442013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25145
25146 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25147 entry mapped to PPC_PLATFORM_POWER8.
25148 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25149 POWER8.
25150 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25151 (_dl_string_platform): Add case for exporting platform position for
25152 POWER8.
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25154 search path to sysdeps/powerpc/powerpc32/power8 directory.
25155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25156 search path to sysdeps/powerpc/powerpc64/power8 directory.
25157 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25158 power7 directories.
25159 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25160 power7 directories.
25161
a31ee4b3
SP
251622013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
a74ca98f
SP
25164 * INSTALL: Regenerate.
25165
a31ee4b3
SP
25166 * nscd/connections.c (nscd_init): Fix comment.
25167
695c378f
JM
251682013-06-22 Joseph Myers <joseph@codesourcery.com>
25169
d8412221
JM
25170 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25171
695c378f
JM
25172 [BZ #15667]
25173 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25174 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25175
d1d54715
MR
251762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25177
25178 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25179 DL_DST_REQ_STATIC.
25180 (DL_DST_REQ_STATIC): Remove macro.
25181
8fdda7af
JM
251822013-06-21 Joseph Myers <joseph@codesourcery.com>
25183
25184 [BZ #7006]
25185 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25186 with a shift of 0 bits.
25187
f3bc5e5a
MR
251882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25189
25190 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25191 $(tststatic-ENV).
25192
be09e8c9
KK
251932013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25194
25195 [BZ #15655]
25196 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25197
85c2e611
AZ
251982013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25199
25200 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25201 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25202 accepts -fno-tree-loop-distribute-patterns.
25203 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25204 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25205 recursive call.
25206 * string/memset.c (memset): Likewise.
25207 * string/test-memmove.c (simple_memmove): Disable loop transformation
25208 to library calls.
25209 * string/test-memset.c (simple_memset): Likewise.
25210 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25211 * benchtests/bench-memset.c (simple_memset): Likewise.
25212 * configure: Regenerated.
25213
c91e0825
JM
252142013-06-20 Joseph Myers <joseph@codesourcery.com>
25215
b8c792af
JM
25216 * math/test-misc.c (main): Ignore fesetround failure when failures
25217 of subsequent rounding tests would be ignored.
25218
c91e0825
JM
25219 [BZ #15654]
25220 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25221 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25222 * math/fegetenv.c (__fegetenv): Return 0.
25223 * math/fegetexcept.c (fegetexcept): Return 0.
25224 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25225 FE_TONEAREST.
25226 * math/feholdexcpt.c (feholdexcept): Return 0.
25227 * math/fesetenv.c (__fesetenv): Return 0.
25228 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25229 argument FE_TONEAREST.
25230 * math/feupdateenv.c (__feupdateenv): Return 0.
25231 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25232
bfcacbde
RM
252332013-06-18 Roland McGrath <roland@hack.frob.com>
25234
25235 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25236 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25237 ($(objpfx)rtld-%.os rules): Use them.
25238
e55a9b25
AZ
252392013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25240
25241 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25242 fields.
25243
346d65b3
RM
252442013-06-17 Roland McGrath <roland@hack.frob.com>
25245
12086fb4
RM
25246 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25247 length of target pattern, then descending length of dependency pattern.
25248 * configure.in (AWK): Require gawk 3.1.2 or newer.
25249 * manual/install.texi (Tools for Compilation): Say that we do.
25250 * configure: Regenerated.
25251
346d65b3
RM
25252 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25253 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25254 * scripts/sysd-rules.awk: ... this new script.
25255 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25256 than a glob-style pattern.
25257
1a846317
JM
252582013-06-17 Joseph Myers <joseph@codesourcery.com>
25259
25260 * math/test-misc.c (main): Do not treat incorrectly rounded
25261 conversions as failure unless ROUNDING_TESTS passes.
25262
8fc75e6f
JM
252632013-06-15 Joseph Myers <joseph@codesourcery.com>
25264
3711a167
JM
25265 [BZ #15631]
25266 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25267 restore exception state around main square root computation, then
25268 check for inexactness explicitly.
25269
8fc75e6f
JM
25270 * math/libm-test.inc (fma_test_data): Add another test.
25271
61dd6208
SP
252722013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25273
adf23d2c
SP
25274 * manual/threads.texi (Non-POSIX Extensions): New document
25275 node. Document pthread_getattr_default_np and
25276 pthread_setattr_default_np.
25277
61dd6208
SP
25278 * Versions.def (libpthread): Add GLIBC_2.18.
25279 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25281 Likewise.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25283 Likewise.
25284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25285 Likewise.
25286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25287 Likewise.
25288 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25289 Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25291 Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25293 Likewise.
25294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25295 Likewise.
25296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25297 Likewise.
25298
d086fc7b
LD
252992013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25300
25301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25302 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25303
747ef469
SP
253042013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25305 H.J. Lu <hjl.tools@gmail.com>
25306
25307 [BZ #15627]
25308 * sysdeps/x86_64/rtld-memset.c: Remove file.
25309 * sysdeps/x86_64/rtld-memset.S: New file.
25310
1b2feed2
JM
253112013-06-14 Joseph Myers <joseph@codesourcery.com>
25312
25313 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25314 (test_in_one_mode): Take arguments for whether the rounding mode
25315 is supported for each floating-point type.
25316 (do_test): Pass new arguments to test_in_one_mode using
25317 ROUNDING_TESTS.
25318
a58ad3f8
RM
253192013-06-13 Roland McGrath <roland@hack.frob.com>
25320
25321 * posix/tst-waitid.c (do_test): Distinguish different instances of
25322 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25323 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25324 before entering the kernel for waitpid.
25325
c204ab28
SP
253262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25327
25328 * NEWS: Fix note on clock function precision. Text by Roland
25329 McGrath.
25330
f4a29fba
RM
253312013-06-13 Roland McGrath <roland@hack.frob.com>
25332
25333 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25334 it into place only when and if the sanity check passes.
25335
1f24b9ad
JM
253362013-06-13 Joseph Myers <joseph@codesourcery.com>
25337
25338 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25339 output for whether conversion result is exact. Take argument
25340 indicating whether type is IBM long double.
25341 (round_for_all): Change need_exact field to ibm_ld.
25342 * stdlib/tst-strtod-round.c (struct exactness): New type.
25343 (struct test): Change bool ld_ok field to struct exactness exact.
25344 (TEST): Update all definitions for change to field.
25345 (tests): Regenerate array contents.
25346 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25347 field value. Check for IBM long double here.
25348 (do_test): Update calls to test_in_one_mode.
25349
58206c68
SP
253502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25351
25352 [BZ #12515]
25353 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25354 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25355
2d6f4c5b 253562013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25357
25358 [BZ #15605]
25359 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25360 generated by the compiler on loop optimizations.
25361 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25362 general definitions.
25363
94f2c076
JM
253642013-06-12 Joseph Myers <joseph@codesourcery.com>
25365
25366 * math/bug-nextafter.c: Include <math-tests.h>.
25367 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25368 the relevant type.
25369 * math/bug-nexttoward.c: Include <math-tests.h>.
25370 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25371 the relevant type.
25372 * math/test-misc.c: Include <math-tests.h>.
25373 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25374 the relevant type.
25375
e0e50a0a
AJ
253762013-06-12 Andreas Jaeger <aj@suse.de>
25377
25378 * po/ia.po: Update Interlingua translation from translation
25379 project.
25380
25061094
SP
253812013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25382
25383 * include/fenv.h: Include stdbool.h.
25384 (struct rm_ctx): New structure.
25385 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25386 Define macro.
25387 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25388 (SET_RESTORE_ROUNDF): Likewise.
25389 (SET_RESTORE_ROUNDL): Likewise.
25390 (SET_RESTORE_ROUND_NOEX): Likewise.
25391 (SET_RESTORE_ROUND_NOEXF): Likewise.
25392 (SET_RESTORE_ROUND_NOEXL): Likewise.
25393 (SET_RESTORE_ROUND_53BIT): Likewise.
25394 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25395 (libc_feresetround_noexf_ctx): Likewise.
25396 (libc_feresetround_noexl_ctx): Likewise.
25397 (libc_feholdsetround_53bit_ctx): Likewise.
25398 (libc_feresetround_53bit_ctx): Likewise.
25399 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25400 (libc_feholdexcept_setround_sse_ctx): New function.
25401 (libc_fesetenv_sse_ctx): Likewise.
25402 (libc_feupdateenv_sse_ctx): Likewise.
25403 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25404 (libc_feholdexcept_setround_387_ctx): Likewise.
25405 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25406 (libc_feholdsetround_387_prec_ctx): Likewise.
25407 (libc_feholdsetround_387_ctx): Likewise.
25408 (libc_feholdsetround_387_53bit_ctx): Likewise.
25409 (libc_feholdsetround_sse_ctx): Likewise.
25410 (libc_feresetround_sse_ctx): Likewise.
25411 (libc_feresetround_387_ctx): Likewise.
25412 (libc_feupdateenv_387_ctx): Likewise.
25413 (libc_feholdexcept_setroundf_ctx): Define macro.
25414 (libc_fesetenvf_ctx): Likewise.
25415 (libc_feupdateenvf_ctx): Likewise.
25416 (libc_feholdsetroundf_ctx): Likewise.
25417 (libc_feresetroundf_ctx): Likewise.
25418 (libc_feholdexcept_setround_ctx): Likewise.
25419 (libc_fesetenv_ctx): Likewise.
25420 (libc_feupdateenv_ctx): Likewise.
25421 (libc_feholdsetround_ctx): Likewise.
25422 (libc_feresetround_ctx): Likewise.
25423 (libc_feholdexcept_setroundl_ctx): Likewise.
25424 (libc_feupdateenvl_ctx): Likewise.
25425 (libc_feholdsetroundl_ctx): Likewise.
25426 (libc_feresetroundl_ctx): Likewise.
25427 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25428 (libc_feresetround_53bit_ctx): Likewise.
25429
59b30555
SP
254302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25431
25432 * locale/iso-639.def: Convert to UTF-8.
25433
f1d73d30
JM
254342013-06-11 Joseph Myers <joseph@codesourcery.com>
25435
25436 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25437 (EXCEPTION_TESTS_double): Likewise.
25438 (EXCEPTION_TESTS_long_double): Likewise.
25439 (EXCEPTION_TESTS): Likewise.
25440 * math/libm-test.inc (test_exceptions): Only test exceptions if
25441 EXCEPTION_TESTS (FLOAT).
25442
94aca5e7
SP
254432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25444
25445 * benchtests/Makefile (string-bench): Add strcpy_chk and
25446 stpcpy_chk.
25447 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25448 * benchtests/bench-stpcpy_chk.c: New file.
25449 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25450 * benchtests/bench-strcpy_chk.c: New file.
25451 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25452 code.
25453 (do_test): Likewise.
25454
fac0c5f2
RA
254552013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25456
25457 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25458 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25459 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25460 with tabs where appropriate.
25461 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25462 dl-procinfo.h.
25463 [PPC_PLATFORM_PPC440]: Likewise.
25464 [PPC_PLATFORM_PPC464]: Likewise.
25465 [PPC_PLATFORM_PPC476]: Likewise.
25466 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25467 ppc464, and ppc476 platform strings merging from ports/
25468 dl-procinfo.h.
25469
f22bc486
AS
254702013-06-11 Andreas Schwab <schwab@suse.de>
25471
25472 [BZ #14991]
25473 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25474 (from_ucs4_idx): Regenerate.
25475 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25476 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25477 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25478 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25479 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25480 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25481 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25482 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25483 from FROM_LOOP and TO_LOOP specific macros.
25484 (BODY): Handle combining characters.
25485 * iconvdata/BIG5HKSCS.irreversible: Update.
25486 * iconvdata/BIG5HKSCS.precomposed: New file.
25487 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25488 characters.
25489 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25490
c1f75dc3
SP
254912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25492
4eacded2
SP
25493 * include/sys/time.h: Fix indentation and add copyright header.
25494
fec799f8
SP
25495 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25496 (do_test): Likewise.
25497 * string/test-memchr.c (do_one_test): Likewise.
25498 (do_test): Likewise.
25499 * string/test-memcmp.c (do_one_test): Likewise.
25500 (do_test): Likewise.
25501 * string/test-memcpy.c (do_one_test): Likewise.
25502 (do_test): Likewise.
25503 * string/test-memmem.c (do_one_test): Likewise.
25504 (do_test): Likewise.
25505 (do_random_tests): Likewise.
25506 * string/test-memmove.c (do_one_test): Likewise.
25507 (do_test): Likewise.
25508 * string/test-memset.c (do_one_test): Likewise.
25509 (do_test): Likewise.
25510 * string/test-rawmemchr.c (do_one_test): Likewise.
25511 (do_test): Likewise.
25512 * string/test-strcasecmp.c (do_one_test): Likewise.
25513 (do_test): Likewise.
25514 * string/test-strcasestr.c (do_one_test): Likewise.
25515 (do_test): Likewise.
25516 * string/test-strcat.c (do_one_test): Likewise.
25517 (do_test): Likewise.
25518 * string/test-strchr.c (do_one_test): Likewise.
25519 (do_test): Likewise.
25520 * string/test-strcmp.c (do_one_test): Likewise.
25521 (do_test): Likewise.
25522 * string/test-strcpy.c (do_one_test): Likewise.
25523 (do_test): Likewise.
25524 * string/test-string.h: Likewise.
25525 (test_init): Likewise.
25526 * string/test-strlen.c (do_one_test): Likewise.
25527 (do_test): Likewise.
25528 * string/test-strncasecmp.c (do_one_test): Likewise.
25529 (do_test): Likewise.
25530 * string/test-strncat.c (do_one_test): Likewise.
25531 (do_test): Likewise.
25532 * string/test-strncmp.c (do_one_test): Likewise.
25533 (do_test_limit): Likewise.
25534 (do_test): Likewise.
25535 * string/test-strncpy.c (do_one_test): Likewise.
25536 (do_test): Likewise.
25537 * string/test-strnlen.c (do_one_test): Likewise.
25538 (do_test): Likewise.
25539 * string/test-strpbrk.c (do_one_test): Likewise.
25540 (do_test): Likewise.
25541 * string/test-strrchr.c (do_one_test): Likewise.
25542 (do_test): Likewise.
25543 * string/test-strspn.c (do_one_test): Likewise.
25544 (do_test): Likewise.
25545 * string/test-strstr.c (do_one_test): Likewise.
25546 (do_test): Likewise.
25547
97020474
SP
25548 * benchtests/Makefile (string-bench): Add string benchmarks.
25549 * benchtests/bench-bcopy-ifunc.c: New file.
25550 * benchtests/bench-bcopy.c: New file.
25551 * benchtests/bench-bzero-ifunc.c: New file.
25552 * benchtests/bench-bzero.c: New file.
25553 * benchtests/bench-memccpy-ifunc.c: New file.
25554 * benchtests/bench-memccpy.c: New file.
25555 * benchtests/bench-memchr-ifunc.c: New file.
25556 * benchtests/bench-memchr.c: New file.
25557 * benchtests/bench-memcmp-ifunc.c: New file.
25558 * benchtests/bench-memcmp.c: New file.
25559 * benchtests/bench-memmem-ifunc.c: New file.
25560 * benchtests/bench-memmem.c: New file.
25561 * benchtests/bench-memmove-ifunc.c: New file.
25562 * benchtests/bench-memmove.c: New file.
25563 * benchtests/bench-mempcpy-ifunc.c: New file.
25564 * benchtests/bench-mempcpy.c: New file.
25565 * benchtests/bench-memset-ifunc.c: New file.
25566 * benchtests/bench-memset.c: New file.
25567 * benchtests/bench-rawmemchr-ifunc.c: New file.
25568 * benchtests/bench-rawmemchr.c: New file.
25569 * benchtests/bench-stpcpy-ifunc.c: New file.
25570 * benchtests/bench-stpcpy.c: New file.
25571 * benchtests/bench-stpncpy-ifunc.c: New file.
25572 * benchtests/bench-stpncpy.c: New file.
25573 * benchtests/bench-strcasecmp-ifunc.c: New file.
25574 * benchtests/bench-strcasecmp.c: New file.
25575 * benchtests/bench-strcasestr-ifunc.c: New file.
25576 * benchtests/bench-strcasestr.c: New file.
25577 * benchtests/bench-strcat-ifunc.c: New file.
25578 * benchtests/bench-strcat.c: New file.
25579 * benchtests/bench-strchr-ifunc.c: New file.
25580 * benchtests/bench-strchr.c: New file.
25581 * benchtests/bench-strchrnul-ifunc.c: New file.
25582 * benchtests/bench-strchrnul.c: New file.
25583 * benchtests/bench-strcmp-ifunc.c: New file.
25584 * benchtests/bench-strcmp.c: New file.
25585 * benchtests/bench-strcpy-ifunc.c: New file.
25586 * benchtests/bench-strcpy.c: New file.
25587 * benchtests/bench-strcspn-ifunc.c: New file.
25588 * benchtests/bench-strcspn.c: New file.
25589 * benchtests/bench-strlen-ifunc.c: New file.
25590 * benchtests/bench-strlen.c: New file.
25591 * benchtests/bench-strncasecmp-ifunc.c: New file.
25592 * benchtests/bench-strncasecmp.c: New file.
25593 * benchtests/bench-strncat-ifunc.c: New file.
25594 * benchtests/bench-strncat.c: New file.
25595 * benchtests/bench-strncmp-ifunc.c: New file.
25596 * benchtests/bench-strncmp.c: New file.
25597 * benchtests/bench-strncpy-ifunc.c: New file.
25598 * benchtests/bench-strncpy.c: New file.
25599 * benchtests/bench-strnlen-ifunc.c: New file.
25600 * benchtests/bench-strnlen.c: New file.
25601 * benchtests/bench-strpbrk-ifunc.c: New file.
25602 * benchtests/bench-strpbrk.c: New file.
25603 * benchtests/bench-strrchr-ifunc.c: New file.
25604 * benchtests/bench-strrchr.c: New file.
25605 * benchtests/bench-strspn-ifunc.c: New file.
25606 * benchtests/bench-strspn.c: New file.
25607 * benchtests/bench-strstr-ifunc.c: New file.
25608 * benchtests/bench-strstr.c: New file.
25609
c1f75dc3
SP
25610 * benchtests/Makefile: Disable parallel execution of targets.
25611 (string-bench): Add memcpy.
25612 (benchset): New variable to store a list of benchmark sets.
25613 (bench-func): Renamed from bench.
25614 (bench-set): New target.
25615 (bench): Depend on bench-func and bench-set.
25616 * benchtests/README: Add section on benchmark sets.
25617 * benchtests/bench-memcpy-ifunc.c: New file.
25618 * benchtests/bench-memcpy.c: New file.
25619 * benchtests/bench-string.h: New file.
25620
50fd745b
AS
256212013-06-11 Andreas Schwab <schwab@suse.de>
25622
25623 [BZ #15577]
25624 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25625 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25626 values in the triple.
25627 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25628 terminator in the group key.
25629
3ee7e9fe
AJ
256302013-06-11 Andreas Jaeger <aj@suse.de>
25631
25632 * po/zh_TW.po: Update Chinese (traditional) translation from
25633 translation project.
25634
89fb6835
SP
256352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25636
25637 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25638 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25639 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25641 (clock_getcpuclockid): Likewise.
25642 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25643 Add weak_alias and libc_hidden_def.
25644 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25645 * rt/clock_gettime.c (clock_gettime): Rename to
25646 __clock_gettime. Add weak_alias and libc_hidden_def.
25647 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25648 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25649 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25650 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25651 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25652 Likewise.
25653 * rt/clock_settime.c (clock_settime): Rename to
25654 __clock_settime. Add weak_alias and libc_hidden_def.
25655 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25656
0efa6f8b
JM
256572013-06-10 Joseph Myers <joseph@codesourcery.com>
25658
b8c61b4b
JM
25659 * mach/err_boot.sub: Remove trailing whitespace.
25660 * mach/err_ipc.sub: Likewise.
25661 * mach/err_mach.sub: Likewise.
25662
0efa6f8b
JM
25663 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25664 (ROUNDING_TESTS_double): Likewise.
25665 (ROUNDING_TESTS_long_double): Likewise.
25666 (ROUNDING_TESTS): Likewise.
25667 * math/libm-test.inc: Include <math-tests.h>.
25668 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25669 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25670 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25671 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25672
50b818bf
SP
256732013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25674
25675 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25676 of assigning.
25677
60d2f8f3
JM
256782013-06-08 Joseph Myers <joseph@codesourcery.com>
25679
4902d2c3
JM
25680 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25681 otherwise empty TRANS lines.
25682 * sysdeps/gnu/errlist.c: Regenerated.
25683
60d2f8f3
JM
25684 * catgets/gencat.c (error_print): Use (void) in function
25685 definition.
25686 * crypt/crypt_util.c (__init_des): Likewise.
25687 * crypt/speeds.c (Stop): Likewise.
25688 (main): Likewise.
25689 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25690 * inet/ruserpass.c (token): Likewise.
25691 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25692 * intl/localealias.c (extend_alias_table): Likewise.
25693 * intl/plural-exp.c (init_germanic_plural): Likewise.
25694 * libio/fcloseall.c (__fcloseall): Likewise.
25695 * libio/genops.c (_IO_flush_all): Likewise.
25696 (_IO_flush_all_linebuffered): Likewise.
25697 (_IO_cleanup): Likewise.
25698 (_IO_iter_begin): Likewise.
25699 (_IO_iter_end): Likewise.
25700 (_IO_list_lock): Likewise.
25701 (_IO_list_unlock): Likewise.
25702 (_IO_list_resetlock): Likewise.
25703 * libio/getchar.c (getchar): Likewise.
25704 * libio/getchar_u.c (getchar_unlocked): Likewise.
25705 * libio/getwchar.c (getwchar): Likewise.
25706 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25707 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25708 * login/getpt.c (__getpt): Likewise.
25709 * login/tst-utmp.c (main): Likewise.
25710 * malloc/hooks.c (__malloc_check_init): Likewise.
25711 * malloc/malloc.c (__malloc_stats): Likewise.
25712 * malloc/mtrace.c (tr_break): Likewise.
25713 (mtrace): Likewise.
25714 (muntrace): Likewise.
25715 * misc/fstab.c (endfsent): Likewise.
25716 * misc/getclktck.c (__getclktck): Likewise.
25717 * misc/getdtsz.c (__getdtablesize): Likewise.
25718 * misc/gethostid.c (gethostid): Likewise.
25719 * misc/getpagesize.c (__getpagesize): Likewise.
25720 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25721 (__get_nprocs): Likewise.
25722 (__get_phys_pages): Likewise.
25723 (__get_avphys_pages): Likewise.
25724 * misc/getttyent.c (getttyent): Likewise.
25725 (setttyent): Likewise.
25726 (endttyent): Likewise.
25727 * misc/getusershell.c (getusershell): Likewise.
25728 (endusershell): Likewise.
25729 (setusershell): Likewise.
25730 (initshells): Likewise.
25731 * misc/hsearch.c (__hdestroy): Likewise.
25732 * misc/sync.c (sync): Likewise.
25733 * misc/syslog.c (closelog_internal): Likewise.
25734 (closelog): Likewise.
25735 * misc/ttyslot.c (ttyslot): Likewise.
25736 * misc/vhangup.c (vhangup): Likewise.
25737 * posix/fork.c (__fork): Likewise.
25738 * posix/getegid.c (__getegid): Likewise.
25739 * posix/geteuid.c (__geteuid): Likewise.
25740 * posix/getgid.c (__getgid): Likewise.
25741 * posix/getpid.c (__getpid): Likewise.
25742 * posix/getppid.c (__getppid): Likewise.
25743 * posix/getuid.c (__getuid): Likewise.
25744 * posix/pause.c (pause): Likewise.
25745 * posix/setpgrp.c (setpgrp): Likewise.
25746 * posix/setsid.c (__setsid): Likewise.
25747 * posix/test-vfork.c (noop): Likewise.
25748 * resolv/gethnamaddr.c (_endhtent): Likewise.
25749 (_gethtent): Likewise.
25750 (ht_endhostent): Likewise.
25751 (gethostent): Likewise.
25752 (dns_service): Likewise.
25753 * stdlib/drand48.c (drand48): Likewise.
25754 * stdlib/lrand48.c (lrand48): Likewise.
25755 * stdlib/mrand48.c (mrand48): Likewise.
25756 * stdlib/rand.c (rand): Likewise.
25757 * stdlib/random.c (__random): Likewise.
25758 * stdlib/setenv.c (clearenv): Likewise.
25759 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25760 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25761 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25762 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25763 (__get_nprocs): Likewise.
25764 (__get_phys_pages): Likewise.
25765 (__get_avphys_pages): Likewise.
25766 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25767 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25768 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25769 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25770 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25771 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25772 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25773 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25774 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25775 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25776 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25777 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25778 * sysdeps/posix/clock.c (clock): Likewise.
25779 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25780 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25781 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25782 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25783 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25784 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25785 (__get_nprocs_conf): Likewise.
25786 (__get_phys_pages): Likewise.
25787 (__get_avphys_pages): Likewise.
25788 * time/clock.c (clock): Likewise.
25789 * time/tzset.c (__tzname_max): Likewise.
25790
2e09a79a
JM
257912013-06-07 Joseph Myers <joseph@codesourcery.com>
25792
25793 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25794 (__bswap_32): Do not use "register".
25795 * crypt/crypt.c (_ufc_doit_r): Likewise.
25796 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25797 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25798 * gmon/gmon.c (__monstartup): Likewise.
25799 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25800 * hurd/hurdmalloc.c (more_memory): Likewise.
25801 (malloc): Likewise.
25802 (free): Likewise.
25803 (realloc): Likewise.
25804 (malloc_fork_prepare): Likewise.
25805 (malloc_fork_parent): Likewise.
25806 (malloc_fork_child): Likewise.
25807 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25808 (_svcauth_des): Likewise.
25809 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25810 * inet/inet_net.c (inet_network): Likewise.
25811 * inet/inet_netof.c (inet_netof): Likewise.
25812 * inet/rcmd.c (__validuser2_sa): Likewise.
25813 * io/fts.c (fts_open): Likewise.
25814 (fts_load): Likewise.
25815 (fts_close): Likewise.
25816 (fts_read): Likewise.
25817 (fts_children): Likewise.
25818 (fts_build): Likewise.
25819 (fts_stat): Likewise.
25820 (fts_sort): Likewise.
25821 (fts_alloc): Likewise.
25822 (fts_lfree): Likewise.
25823 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25824 (_IO_file_xsgetn): Likewise.
25825 (_IO_file_xsgetn_mmap): Likewise.
25826 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25827 (_IO_cookie_write): Likewise.
25828 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25829 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25830 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25831 * malloc/obstack.c (_obstack_begin): Likewise.
25832 (_obstack_begin_1): Likewise.
25833 (_obstack_newchunk): Likewise.
25834 (_obstack_allocated_p): Likewise.
25835 (obstack_free): Likewise.
25836 (_obstack_memory_used): Likewise.
25837 * misc/getttyent.c (getttynam): Likewise.
25838 (getttyent): Likewise.
25839 (skip): Likewise.
25840 (value): Likewise.
25841 * misc/getusershell.c (initshells): Likewise.
25842 * misc/syslog.c (__vsyslog_chk): Likewise.
25843 * misc/ttyslot.c (ttyslot): Likewise.
25844 * nis/nis_hash.c (__nis_hash): Likewise.
25845 * posix/fnmatch_loop.c (FCT): Likewise.
25846 * posix/getconf.c (print_all): Likewise.
25847 (main): Likewise.
25848 * posix/getopt.c (exchange): Likewise.
25849 * posix/glob.c (globfree): Likewise.
25850 (prefix_array): Likewise.
25851 (__glob_pattern_type): Likewise.
25852 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25853 (NS_GET32): Likewise.
25854 (NS_PUT16): Likewise.
25855 (NS_PUT32): Likewise.
25856 * resolv/gethnamaddr.c (getanswer): Likewise.
25857 (gethostbyname2): Likewise.
25858 (gethostbyaddr): Likewise.
25859 (_gethtent): Likewise.
25860 (_gethtbyname2): Likewise.
25861 (_gethtbyaddr): Likewise.
25862 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25863 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25864 * resolv/res_init.c (__res_vinit): Likewise.
25865 (net_mask): Likewise.
25866 * resolv/res_mkquery.c (outchar): Likewise.
25867 (PRINT): Likewise.
25868 * stdio-common/printf_fp.c (outchar): Likewise.
25869 (PRINT): Likewise.
25870 * stdio-common/printf_fphex.c (outchar): Likewise.
25871 (PRINT): Likewise.
25872 * stdio-common/printf_size.c (outchar): Likewise.
25873 (PRINT): Likewise.
25874 * stdio-common/test_rdwr.c (main): Likewise.
25875 * stdio-common/tfformat.c (matches): Likewise.
25876 * stdio-common/vfprintf.c (outchar): Likewise.
25877 (printf_unknown): Likewise.
25878 (buffered_vfprintf): Likewise.
25879 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25880 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25881 (ReadFile): Likewise.
25882 * stdlib/qsort.c (SWAP): Likewise.
25883 (_quicksort): Likewise.
25884 * stdlib/setenv.c (__add_to_environ): Likewise.
25885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25886 * stdlib/strtol_l.c (__strtol_l): Likewise.
25887 * stdlib/tst-strtod.c (main): Likewise.
25888 * stdlib/tst-strtol.c (main): Likewise.
25889 * stdlib/tst-strtoll.c (main): Likewise.
25890 * string/bits/string2.h (__strcmp_cc): Likewise.
25891 (__strcmp_cg): Likewise.
25892 (__strcspn_c1): Likewise.
25893 (__strcspn_c2): Likewise.
25894 (__strcspn_c3): Likewise.
25895 (__strspn_c1): Likewise.
25896 (__strspn_c2): Likewise.
25897 (__strspn_c3): Likewise.
25898 (__strsep_1c): Likewise.
25899 (__strsep_2c): Likewise.
25900 (__strsep_3c): Likewise.
25901 * string/memccpy.c (__memccpy): Likewise.
25902 * string/stpcpy.c (__stpcpy): Likewise.
25903 * string/strcmp.c (strcmp): Likewise.
25904 * string/strrchr.c (strrchr): Likewise.
25905 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25906 Likewise.
25907 * sysdeps/mach/hurd/getcwd.c
25908 (_hurd_canonicalize_directory_name_internal): Likewise.
25909 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25910 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25911 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25912 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25913 Likewise, in both definitions.
25914 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25915 definitions.
25916 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25917 64] (__bswap_64): Likewise.
25918 * time/test_time.c (main): Likewise.
25919 * time/tzfile.c (__tzfile_read): Likewise.
25920 (__tzfile_compute): Likewise.
25921 * time/tzset.c (__tzset_parse_tz): Likewise.
25922 (tzset_internal): Likewise.
25923 (compute_change): Likewise.
25924 * wcsmbs/wcscat.c (__wcscat): Likewise.
25925 * wcsmbs/wcschr.c (wcschr): Likewise.
25926 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25927 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25928 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25929 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25930 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25931 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25932 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25933 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25934 * wcsmbs/wmemset.c (wmemset): Likewise.
25935
9e54314b
JM
259362013-06-06 Joseph Myers <joseph@codesourcery.com>
25937
25938 * scripts/config.guess: Update to version 2013-05-16.
25939 * scripts/config.sub: Update to version 2013-04-24.
25940 * scripts/install-sh: Update to version 2011-11-20.07.
25941 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25942 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25943
350635a5
OB
259442013-06-06 Ondřej Bílka <neleai@seznam.cz>
25945
25946 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25947 * elf/sln.c: Likewise.
25948 * hurd/hurd/ioctl.h: Likewise.
25949 * hurd/hurdmalloc.c: Likewise.
25950 * hurd/xattr.c: Likewise.
25951 * include/shlib-compat.h: Likewise.
25952 * inet/ruserpass.c: Likewise.
25953 * libio/iofgets_u.c: Likewise.
25954 * libio/iofgetws_u.c: Likewise.
25955 * locale/programs/ld-identification.c: Likewise.
25956 * locale/programs/ld-time.c: Likewise.
25957 * mach/msg-destroy.c: Likewise.
25958 * nss/nss_files/files-netgrp.c: Likewise.
25959 * resolv/res_data.c: Likewise.
25960 * soft-fp/op-1.h: Likewise.
25961 * soft-fp/op-2.h: Likewise.
25962 * soft-fp/op-4.h: Likewise.
25963 * soft-fp/op-common.h: Likewise.
25964 * stdio-common/printf_fphex.c: Likewise.
25965 * stdlib/strtod_l.c: Likewise.
25966 * sunrpc/rpc/clnt.h: Likewise.
25967 * sysdeps/generic/framestate.c: Likewise.
25968 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25969 * sysdeps/i386/bsd-setjmp.S: Likewise.
25970 * sysdeps/i386/__longjmp.S: Likewise.
25971 * sysdeps/i386/setjmp.S: Likewise.
25972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25973 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25975 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25978 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25982 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25985 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25986 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25987 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25988 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25989 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25990 * sysdeps/ieee754/support.c: Likewise.
25991 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25992 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25993 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25994 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25995 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25996 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25997 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25998 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25999 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26000 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26001 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26002 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26003 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26004 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26005 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26006 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26007 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26009
44a988af
OB
260102013-06-05 Ondřej Bílka <neleai@seznam.cz>
26011
25506f09 26012 * posix/transbug.c: Remove executable mode.
44a988af 26013
9c84384c
JM
260142013-06-05 Joseph Myers <joseph@codesourcery.com>
26015
26016 * crypt/speeds.c: Remove trailing whitespace.
26017 * dlfcn/default.c: Likewise.
26018 * elf/ifuncdep2.c: Likewise.
26019 * elf/ifuncmain1.c: Likewise.
26020 * elf/ifuncmain1vis.c: Likewise.
26021 * elf/testobj.h: Likewise.
26022 * elf/tst-stackguard1.c: Likewise.
26023 * gmon/sys/gmon.h: Likewise.
26024 * hurd/hurdmsg.c: Likewise.
26025 * hurd/new-fd.c: Likewise.
26026 * hurd/ports-get.c: Likewise.
26027 * iconvdata/ibm1008_420.c: Likewise.
26028 * inet/tst-getni1.c: Likewise.
26029 * inet/tst-getni2.c: Likewise.
26030 * libio/ioungetc.c: Likewise.
26031 * libio/wfiledoalloc.c: Likewise.
26032 * manual/libm-err-tab.pl: Likewise.
26033 * math/w_dremf.c: Likewise.
26034 * misc/ftruncate.c: Likewise.
26035 * posix/bug-glob2.c: Likewise.
26036 * posix/tst-pcre.c: Likewise.
26037 * posix/wait4.c: Likewise.
26038 * resolv/README: Likewise.
26039 * resolv/res_debug.h: Likewise.
26040 * resolv/tst-inet_ntop.c: Likewise.
26041 * setjmp/bug269-setjmp.c: Likewise.
26042 * soft-fp/extended.h: Likewise.
26043 * soft-fp/op-1.h: Likewise.
26044 * soft-fp/op-2.h: Likewise.
26045 * soft-fp/op-4.h: Likewise.
26046 * soft-fp/op-8.h: Likewise.
26047 * soft-fp/testit.c: Likewise.
26048 * stdio-common/bug16.c: Likewise.
26049 * stdlib/random.c: Likewise.
26050 * sunrpc/rpcsvc/rquota.x: Likewise.
26051 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26052 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26053 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26054 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26055 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26056 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26057 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26059 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26060 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26061 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26080 * sysdeps/ieee754/s_lib_version.c: Likewise.
26081 * sysdeps/mach/hurd/check_fds.c: Likewise.
26082 * sysdeps/mach/hurd/getsockname.c: Likewise.
26083 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26084 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26085 * sysdeps/powerpc/bits/link.h: Likewise.
26086 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26087 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26088 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26089 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26090 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26091 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26092 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26093 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26094 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26095 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26096 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26097 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26098 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26099 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26100 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26101 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26102 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26104 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26105 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26106 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26107 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26109 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26110 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26113 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26118 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26119 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26120 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26122 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26123 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26124 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26125 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26126 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26127 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26128 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26129 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26130 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26131 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26132 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26135 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26142 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26143 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26144 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26145 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26150 * sysdeps/powerpc/sysdep.h: Likewise.
26151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26152 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26153 * sysdeps/sh/dl-trampoline.S: Likewise.
26154 * sysdeps/sh/memset.S: Likewise.
26155 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26156 * sysdeps/sh/strlen.S: Likewise.
26157 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26158 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26159 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26160 * sysdeps/sparc/sparc32/rem.S: Likewise.
26161 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26162 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26163 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26164 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26165 * sysdeps/sparc/sparc32/urem.S: Likewise.
26166 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26167 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26168 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26169 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26170 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26171 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26172 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26173 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26174 * sysdeps/unix/bsd/times.c: Likewise.
26175 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26176 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26180 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26181 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26182 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26183 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26185 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26186 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26187 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26188 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26189 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26190 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26191 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26192 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26193 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26194 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26195 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26196 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26197 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26198 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26199 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26200 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26201 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26202 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26203 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26204 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26205 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26206 * sysdeps/x86_64/strcspn.S: Likewise.
26207
869378a5
RA
262082013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26209
26210 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26211 generated file. Regenerate properly from gen-translit.pl.
26212 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26213 locale/C-translit.h.
26214
840e2943
AS
262152013-06-05 Andreas Schwab <schwab@suse.de>
26216
26217 [BZ #15100]
26218 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26219 week as 6 instead of -1.
26220 * time/tst-strptime.c (day_tests): Add test case.
26221
4c60cb0c
SP
262222013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26223
26224 * sysdeps/generic/math_private.h
26225 (libc_feholdexcept_setround_53bit): Replace with
26226 libc_feholdsetround_53bit.
26227 (libc_feupdateenv_53bit): Replace with
26228 libc_feresetround_53bit.
26229 (SET_RESTORE_ROUND_53BIT): Adjust.
26230
d180203e
SP
262312013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26232
96df079a
SP
26233 * string/test-strchrnul.c: Add copyright header.
26234
d180203e
SP
26235 * posix/tst-getaddrinfo4.c: Increase test timeout.
26236
8b0ccb2d
CD
262372013-06-03 Carlos O'Donell <carlos@redhat.com>
26238
26239 [BZ #15536]
26240 * math/libm-test.inc (MAX_EXP): Remove
26241 (MIN_EXP): Define.
26242 (ulp): Use MIN_EXP - MANT_DIG.
26243 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26244
3b3c4d40
CD
262452013-05-31 Carlos O'Donell <carlos@redhat.com>
26246
26247 * po/be.po: Revert last change.
26248 * po/zh_CN.po: Likewise.
26249 * po/header.pot: Likewise.
26250
fab7ce3f
JM
262512013-05-31 Joseph Myers <joseph@codesourcery.com>
26252
26253 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26254 link-libc-deps to empty as target-specific variable.
26255 * Makerules (link-libc-args): New variable.
26256 (libc-for-link): Likewise.
26257 (link-libc-deps): Likewise.
26258 (lib%.so): Depend on $(link-libc-deps). Link with
26259 $(link-libc-args).
26260 (build-module): Link with $(link-libc-args).
26261 (build-module-asneeded): Likewise.
26262 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26263 list of objects.
26264 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26265 target-specific variable.
26266 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26267 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26268 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26269 libc.
26270 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26271 libc and ld.so.
26272 ($(objpfx)libpcprofile.so): Likewise.
26273 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26274 libc_nonshared.a.
26275 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26276 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26277 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26278 $(link-libc-deps).
26279 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26280 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26281 * login/Makefile ($(objpfx)libutil.so): Likewise.
26282 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26283 * math/Makefile ($(objpfx)libm.so): Likewise.
26284 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26285 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26286 variable instead of depending directly on libc.
26287 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26288 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26289 $(link-libc-deps).
26290 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26291 libc.
26292 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26293 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26294 ($(objpfx)libanl.so): Likewise.
26295 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26296 ld.so.
26297 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26298 $(link-libc-deps).
26299 * sysdeps/i386/fpu/Makefile: Remove file.
26300 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26301 ($(objpfx)libm.so): Remove dependency on ld.so.
26302
eca5920c
PF
263032013-05-30 Patsy Franklin <pfrankli@redhat.com>
26304
26305 [BZ # 15553]
26306 * nis/yp_xdr.c (XDRMAXNAME): Define.
26307 (XDRMAXRECORD): Define.
26308 (xdr_domainname): Use XDRMAXNAME.
26309 (xdr_mapname): Likewise.
26310 (xdr_peername): Likewise.
26311 (xdr_keydat): Use XDRMAXRECORD.
26312 (xdr_valdat): Likewise.
26313
263142013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26315
26316 [BZ #14256]
26317 * manual/errno.texi (ESTALE): Update to account for more than
26318 just NFS file systems.
26319 * sysdeps/gnu/errlist.c: Regenerated.
26320
b9375348
SP
263212013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26322
26323 [BZ #15465]
26324 * elf/Makefile (tests): Add tst-null-argv.
26325 (modules-names): Add tst-null-argv-lib.
26326 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26327 (tst-null-argv-ENV): Set environment for tst-null-argv.
26328 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26329 (RTLD_PROGNAME): New macro.
26330 * elf/tst-null-argv.c: New test case.
26331 * elf/tst-null-argv-lib.c: Library for test case.
26332 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26333 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26334 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26335 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26336 * elf/dl-init.c (call_init): Likewise.
26337 (_dl_init): Likewise.
26338 * elf/dl-load.c (print_search_path): Likewise.
26339 (_dl_map_object): Likewise.
26340 * elf/dl-lookup.c (do_lookup_x): Likewise.
26341 (add_dependency): Likewise.
26342 (_dl_lookup_symbol_x): Likewise.
26343 (_dl_debug_bindings): Likewise.
26344 * elf/dl-open.c (_dl_show_scope): Likewise.
26345 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26346 * elf/dl-version.c (match_symbol): Likewise.
26347 (_dl_check_map_versions): Likewise.
26348 * elf/rtld.c (dl_main): Likewise.
26349 (print_unresolved): Use RTLD_PROGNAME.
26350 (print_missing_version): Likewise.
26351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26352 (elf_machine_rela): Likewise.
26353 * sysdeps/powerpc/powerpc32/dl-machine.c
26354 (__process_machine_rela): Likewise.
26355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26356 Likewise.
26357 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26358 Likewise.
26359 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26360 Likewise.
26361 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26362 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26363 Likewise.
26364 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26365 Likewise.
26366 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26367
8a9f20c8
CD
263682013-05-28 Carlos O'Donell <carlos@redhat.com>
26369
26370 * po/be.po: Add descriptive title.
26371 * po/zh_CN.po: Likewise.
26372 * po/header.pot: Likewise.
26373
0e60d68e
MF
263742013-05-28 Mike Frysinger <vapier@gentoo.org>
26375
26376 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26377 error message.
26378 (enlarge_archive): Likewise.
26379
56b672e9
BN
263802013-05-28 Ben North <ben@redfrontdoor.org>
26381
26382 * manual/arith.texi (frexp): It is the magnitude of the return
26383 value which lies in [0.5, 1), not the return value itself.
26384
5e056687
AZ
263852013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26386
26387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26388
2b66ef5d
TS
263892013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26390
528c2405
TS
26391 * stdio-common/bug26.c (main): Correct fscanf template.
26392
07b4c13d
TS
26393 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26394 declare _dl_skip_args.
26395
ec9dd97c
TS
26396 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26397 Don't declare.
26398
2b66ef5d
TS
26399 * manual/platform.texi: Add missing @end deftypefun.
26400
4f8dfe27
JM
264012013-05-24 Joseph Myers <joseph@codesourcery.com>
26402
0323d086
JM
26403 [BZ #15529]
26404 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26405 bit of mantissa of 2^16382.
26406 * math/libm-test.inc (hypot_test_data): Add more tests.
26407
dd4259b9
JM
26408 * math/libm-test.inc: Add drem and pow10 to list of tested
26409 functions.
26410 (pow10_test): New function.
26411 (drem_test): Likewise.
26412 (drem_test_tonearest): Likewise.
26413 (drem_test_towardzero): Likewise.
26414 (drem_test_downward): Likewise.
26415 (drem_test_upward): Likewise.
26416 (main): Call the new functions.
26417
4f8dfe27
JM
26418 * math/libm-test.inc (finite_test_data): Remove.
26419 (finite_test): Run tests from isfinite_test_data.
26420 (gamma_test_data): Remove.
26421 (gamma_test): Run tests from lgamma_test_data.
26422 * sysdeps/i386/fpu/libm-test-ulps: Update.
26423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424
d116b7c4
AZ
264252013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26426
26427 * manual/platform.texi: Add PowerPC PPR function set documentation.
26428 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26429 implementation.
26430
e96e3767
CD
264312013-05-24 Carlos O'Donell <carlos@redhat.com>
26432
26433 * math/libm-test.inc (MAX_EXP): Define.
26434 (ULPDIFF): Define.
26435 (ulp): New function.
26436 (check_float_internal): Use ULPDIFF.
26437 (cpow_test): Disable failing test.
26438 (check_ulp): Test ulp() implemetnation.
26439 (main): Call check_ulp before starting tests.
26440
b679a606
JM
264412013-05-24 Joseph Myers <joseph@codesourcery.com>
26442
e8bdba36
JM
26443 * math/gen-libm-test.pl (generate_testfile): Do not handle
26444 START_DATA and END_DATA.
26445 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26446 END_DATA.
26447 (acos_tonearest_test_data): Likewise.
26448 (acos_towardzero_test_data): Likewise.
26449 (acos_downward_test_data): Likewise.
26450 (acos_upward_test_data): Likewise.
26451 (acosh_test_data): Likewise.
26452 (asin_test_data): Likewise.
26453 (asin_tonearest_test_data): Likewise.
26454 (asin_towardzero_test_data): Likewise.
26455 (asin_downward_test_data): Likewise.
26456 (asin_upward_test_data): Likewise.
26457 (asinh_test_data): Likewise.
26458 (atan_test_data): Likewise.
26459 (atanh_test_data): Likewise.
26460 (atan2_test_data): Likewise.
26461 (cabs_test_data): Likewise.
26462 (cacos_test_data): Likewise.
26463 (cacosh_test_data): Likewise.
26464 (carg_test_data): Likewise.
26465 (casin_test_data): Likewise.
26466 (casinh_test_data): Likewise.
26467 (catan_test_data): Likewise.
26468 (catanh_test_data): Likewise.
26469 (cbrt_test_data): Likewise.
26470 (ccos_test_data): Likewise.
26471 (ccosh_test_data): Likewise.
26472 (ceil_test_data): Likewise.
26473 (cexp_test_data): Likewise.
26474 (cimag_test_data): Likewise.
26475 (clog_test_data): Likewise.
26476 (clog10_test_data): Likewise.
26477 (conj_test_data): Likewise.
26478 (copysign_test_data): Likewise.
26479 (cos_test_data): Likewise.
26480 (cos_tonearest_test_data): Likewise.
26481 (cos_towardzero_test_data): Likewise.
26482 (cos_downward_test_data): Likewise.
26483 (cos_upward_test_data): Likewise.
26484 (cosh_test_data): Likewise.
26485 (cosh_tonearest_test_data): Likewise.
26486 (cosh_towardzero_test_data): Likewise.
26487 (cosh_downward_test_data): Likewise.
26488 (cosh_upward_test_data): Likewise.
26489 (cpow_test_data): Likewise.
26490 (cproj_test_data): Likewise.
26491 (creal_test_data): Likewise.
26492 (csin_test_data): Likewise.
26493 (csinh_test_data): Likewise.
26494 (csqrt_test_data): Likewise.
26495 (ctan_test_data): Likewise.
26496 (ctan_tonearest_test_data): Likewise.
26497 (ctan_towardzero_test_data): Likewise.
26498 (ctan_downward_test_data): Likewise.
26499 (ctan_upward_test_data): Likewise.
26500 (ctanh_test_data): Likewise.
26501 (ctanh_tonearest_test_data): Likewise.
26502 (ctanh_towardzero_test_data): Likewise.
26503 (ctanh_downward_test_data): Likewise.
26504 (ctanh_upward_test_data): Likewise.
26505 (erf_test_data): Likewise.
26506 (erfc_test_data): Likewise.
26507 (exp_test_data): Likewise.
26508 (exp_tonearest_test_data): Likewise.
26509 (exp_towardzero_test_data): Likewise.
26510 (exp_downward_test_data): Likewise.
26511 (exp_upward_test_data): Likewise.
26512 (exp10_test_data): Likewise.
26513 (exp2_test_data): Likewise.
26514 (expm1_test_data): Likewise.
26515 (fabs_test_data): Likewise.
26516 (fdim_test_data): Likewise.
26517 (finite_test_data): Likewise.
26518 (floor_test_data): Likewise.
26519 (fma_test_data): Likewise.
26520 (fma_towardzero_test_data): Likewise.
26521 (fma_downward_test_data): Likewise.
26522 (fma_upward_test_data): Likewise.
26523 (fmax_test_data): Likewise.
26524 (fmin_test_data): Likewise.
26525 (fmod_test_data): Likewise.
26526 (fpclassify_test_data): Likewise.
26527 (frexp_test_data): Likewise.
26528 (gamma_test_data): Likewise.
26529 (hypot_test_data): Likewise.
26530 (ilogb_test_data): Likewise.
26531 (isfinite_test_data): Likewise.
26532 (isgreater_test_data): Likewise.
26533 (isgreaterequal_test_data): Likewise.
26534 (isinf_test_data): Likewise.
26535 (isless_test_data): Likewise.
26536 (islessequal_test_data): Likewise.
26537 (islessgreater_test_data): Likewise.
26538 (isnan_test_data): Likewise.
26539 (isnormal_test_data): Likewise.
26540 (issignaling_test_data): Likewise.
26541 (isunordered_test_data): Likewise.
26542 (j0_test_data): Likewise.
26543 (j1_test_data): Likewise.
26544 (jn_test_data): Likewise.
26545 (ldexp_test_data): Likewise.
26546 (lgamma_test_data): Likewise.
26547 (lrint_test_data): Likewise.
26548 (lrint_tonearest_test_data): Likewise.
26549 (lrint_towardzero_test_data): Likewise.
26550 (lrint_downward_test_data): Likewise.
26551 (lrint_upward_test_data): Likewise.
26552 (llrint_test_data): Likewise.
26553 (llrint_tonearest_test_data): Likewise.
26554 (llrint_towardzero_test_data): Likewise.
26555 (llrint_downward_test_data): Likewise.
26556 (llrint_upward_test_data): Likewise.
26557 (log_test_data): Likewise.
26558 (log10_test_data): Likewise.
26559 (log1p_test_data): Likewise.
26560 (log2_test_data): Likewise.
26561 (logb_test_data): Likewise.
26562 (logb_downward_test_data): Likewise.
26563 (lround_test_data): Likewise.
26564 (llround_test_data): Likewise.
26565 (modf_test_data): Likewise.
26566 (nearbyint_test_data): Likewise.
26567 (nextafter_test_data): Likewise.
26568 (nexttoward_test_data): Likewise.
26569 (pow_test_data): Likewise.
26570 (pow_tonearest_test_data): Likewise.
26571 (pow_towardzero_test_data): Likewise.
26572 (pow_downward_test_data): Likewise.
26573 (pow_upward_test_data): Likewise.
26574 (remainder_test_data): Likewise.
26575 (remainder_tonearest_test_data): Likewise.
26576 (remainder_towardzero_test_data): Likewise.
26577 (remainder_downward_test_data): Likewise.
26578 (remainder_upward_test_data): Likewise.
26579 (remquo_test_data): Likewise.
26580 (rint_test_data): Likewise.
26581 (rint_tonearest_test_data): Likewise.
26582 (rint_towardzero_test_data): Likewise.
26583 (rint_downward_test_data): Likewise.
26584 (rint_upward_test_data): Likewise.
26585 (round_test_data): Likewise.
26586 (scalb_test_data): Likewise.
26587 (scalbn_test_data): Likewise.
26588 (scalbln_test_data): Likewise.
26589 (signbit_test_data): Likewise.
26590 (sin_test_data): Likewise.
26591 (sin_tonearest_test_data): Likewise.
26592 (sin_towardzero_test_data): Likewise.
26593 (sin_downward_test_data): Likewise.
26594 (sin_upward_test_data): Likewise.
26595 (sincos_test_data): Likewise.
26596 (sinh_test_data): Likewise.
26597 (sinh_tonearest_test_data): Likewise.
26598 (sinh_towardzero_test_data): Likewise.
26599 (sinh_downward_test_data): Likewise.
26600 (sinh_upward_test_data): Likewise.
26601 (sqrt_test_data): Likewise.
26602 (tan_test_data): Likewise.
26603 (tan_tonearest_test_data): Likewise.
26604 (tan_towardzero_test_data): Likewise.
26605 (tan_downward_test_data): Likewise.
26606 (tan_upward_test_data): Likewise.
26607 (tanh_test_data): Likewise.
26608 (tgamma_test_data): Likewise.
26609 (trunc_test_data): Likewise.
26610 (y0_test_data): Likewise.
26611 (y1_test_data): Likewise.
26612 (yn_test_data): Likewise.
26613 (significand_test_data): Likewise.
26614
b679a606
JM
26615 * math/gen-libm-test.pl (@functions): Remove variable.
26616 (generate_testfile): Don't handle START and END lines.
26617 * math/libm-test.inc (START): New macro.
26618 (END): Likewise.
26619 (END_COMPLEX): Likewise.
26620 (acos_test): Use END macro without arguments.
26621 (acos_test_tonearest): Likewise.
26622 (acos_test_towardzero): Likewise.
26623 (acos_test_downward): Likewise.
26624 (acos_test_upward): Likewise.
26625 (acosh_test): Likewise.
26626 (asin_test): Likewise.
26627 (asin_test_tonearest): Likewise.
26628 (asin_test_towardzero): Likewise.
26629 (asin_test_downward): Likewise.
26630 (asin_test_upward): Likewise.
26631 (asinh_test): Likewise.
26632 (atan_test): Likewise.
26633 (atanh_test): Likewise.
26634 (atan2_test): Likewise.
26635 (cabs_test): Likewise.
26636 (cacos_test): Use END_COMPLEX macro without arguments.
26637 (cacosh_test): Likewise.
26638 (carg_test): Use END macro without arguments.
26639 (casin_test): Use END_COMPLEX macro without arguments.
26640 (casinh_test): Likewise.
26641 (catan_test): Likewise.
26642 (catanh_test): Likewise.
26643 (cbrt_test): Use END macro without arguments.
26644 (ccos_test): Use END_COMPLEX macro without arguments.
26645 (ccosh_test): Likewise.
26646 (ceil_test): Use END macro without arguments.
26647 (cexp_test): Use END_COMPLEX macro without arguments.
26648 (cimag_test): Use END macro without arguments.
26649 (clog_test): Use END_COMPLEX macro without arguments.
26650 (clog10_test): Likewise.
26651 (conj_test): Likewise.
26652 (copysign_test): Use END macro without arguments.
26653 (cos_test): Likewise.
26654 (cos_test_tonearest): Likewise.
26655 (cos_test_towardzero): Likewise.
26656 (cos_test_downward): Likewise.
26657 (cos_test_upward): Likewise.
26658 (cosh_test): Likewise.
26659 (cosh_test_tonearest): Likewise.
26660 (cosh_test_towardzero): Likewise.
26661 (cosh_test_downward): Likewise.
26662 (cosh_test_upward): Likewise.
26663 (cpow_test): Use END_COMPLEX macro without arguments.
26664 (cproj_test): Likewise.
26665 (creal_test): Use END macro without arguments.
26666 (csin_test): Use END_COMPLEX macro without arguments.
26667 (csinh_test): Likewise.
26668 (csqrt_test): Likewise.
26669 (ctan_test): Likewise.
26670 (ctan_test_tonearest): Likewise.
26671 (ctan_test_towardzero): Likewise.
26672 (ctan_test_downward): Likewise.
26673 (ctan_test_upward): Likewise.
26674 (ctanh_test): Likewise.
26675 (ctanh_test_tonearest): Likewise.
26676 (ctanh_test_towardzero): Likewise.
26677 (ctanh_test_downward): Likewise.
26678 (ctanh_test_upward): Likewise.
26679 (erf_test): Use END macro without arguments.
26680 (erfc_test): Likewise.
26681 (exp_test): Likewise.
26682 (exp_test_tonearest): Likewise.
26683 (exp_test_towardzero): Likewise.
26684 (exp_test_downward): Likewise.
26685 (exp_test_upward): Likewise.
26686 (exp10_test): Likewise.
26687 (exp2_test): Likewise.
26688 (expm1_test): Likewise.
26689 (fabs_test): Likewise.
26690 (fdim_test): Likewise.
26691 (finite_test): Likewise.
26692 (floor_test): Likewise.
26693 (fma_test): Likewise.
26694 (fma_test_towardzero): Likewise.
26695 (fma_test_downward): Likewise.
26696 (fma_test_upward): Likewise.
26697 (fmax_test): Likewise.
26698 (fmin_test): Likewise.
26699 (fmod_test): Likewise.
26700 (fpclassify_test): Likewise.
26701 (frexp_test): Likewise.
26702 (gamma_test): Likewise.
26703 (hypot_test): Likewise.
26704 (ilogb_test): Likewise.
26705 (isfinite_test): Likewise.
26706 (isgreater_test): Likewise.
26707 (isgreaterequal_test): Likewise.
26708 (isinf_test): Likewise.
26709 (isless_test): Likewise.
26710 (islessequal_test): Likewise.
26711 (islessgreater_test): Likewise.
26712 (isnan_test): Likewise.
26713 (isnormal_test): Likewise.
26714 (issignaling_test): Likewise.
26715 (isunordered_test): Likewise.
26716 (j0_test): Likewise.
26717 (j1_test): Likewise.
26718 (jn_test): Likewise.
26719 (ldexp_test): Likewise.
26720 (lgamma_test): Likewise.
26721 (lrint_test): Likewise.
26722 (lrint_test_tonearest): Likewise.
26723 (lrint_test_towardzero): Likewise.
26724 (lrint_test_downward): Likewise.
26725 (lrint_test_upward): Likewise.
26726 (llrint_test): Likewise.
26727 (llrint_test_tonearest): Likewise.
26728 (llrint_test_towardzero): Likewise.
26729 (llrint_test_downward): Likewise.
26730 (llrint_test_upward): Likewise.
26731 (log_test): Likewise.
26732 (log10_test): Likewise.
26733 (log1p_test): Likewise.
26734 (log2_test): Likewise.
26735 (logb_test): Likewise.
26736 (logb_test_downward): Likewise.
26737 (lround_test): Likewise.
26738 (llround_test): Likewise.
26739 (modf_test): Likewise.
26740 (nearbyint_test): Likewise.
26741 (nextafter_test): Likewise.
26742 (nexttoward_test): Likewise.
26743 (pow_test): Likewise.
26744 (pow_test_tonearest): Likewise.
26745 (pow_test_towardzero): Likewise.
26746 (pow_test_downward): Likewise.
26747 (pow_test_upward): Likewise.
26748 (remainder_test): Likewise.
26749 (remainder_test_tonearest): Likewise.
26750 (remainder_test_towardzero): Likewise.
26751 (remainder_test_downward): Likewise.
26752 (remainder_test_upward): Likewise.
26753 (remquo_test): Likewise.
26754 (rint_test): Likewise.
26755 (rint_test_tonearest): Likewise.
26756 (rint_test_towardzero): Likewise.
26757 (rint_test_downward): Likewise.
26758 (rint_test_upward): Likewise.
26759 (round_test): Likewise.
26760 (scalb_test): Likewise.
26761 (scalbn_test): Likewise.
26762 (scalbln_test): Likewise.
26763 (signbit_test): Likewise.
26764 (sin_test): Likewise.
26765 (sin_test_tonearest): Likewise.
26766 (sin_test_towardzero): Likewise.
26767 (sin_test_downward): Likewise.
26768 (sin_test_upward): Likewise.
26769 (sincos_test): Likewise.
26770 (sinh_test): Likewise.
26771 (sinh_test_tonearest): Likewise.
26772 (sinh_test_towardzero): Likewise.
26773 (sinh_test_downward): Likewise.
26774 (sinh_test_upward): Likewise.
26775 (sqrt_test): Likewise.
26776 (tan_test): Likewise.
26777 (tan_test_tonearest): Likewise.
26778 (tan_test_towardzero): Likewise.
26779 (tan_test_downward): Likewise.
26780 (tan_test_upward): Likewise.
26781 (tanh_test): Likewise.
26782 (tgamma_test): Likewise.
26783 (trunc_test): Likewise.
26784 (y0_test): Likewise.
26785 (y1_test): Likewise.
26786 (yn_test): Likewise.
26787 (significand_test): Likewise.
26788
bae143d2
OB
267892013-05-24 Ondřej Bílka <neleai@seznam.cz>
26790
26791 [BZ #15381]
26792 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26793
9323d39b
EM
267942013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26795
d4ea44a0 26796 [BZ #14894]
9323d39b
EM
26797 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26798 __ppc_mdoio and __ppc_mdoom.
26799 * manual/platform.texi: Document new functions __ppc_yield,
26800 __ppc_mdoio and __ppc_mdoom.
26801
13e23af7
CD
268022013-05-22 Carlos O'Donell <carlos@redhat.com>
26803
26804 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26805 (main): Mention "tls" pseudo-hwcap is legacy.
26806 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26807
351fe550
JM
268082013-05-22 Joseph Myers <joseph@codesourcery.com>
26809
26810 * math/gen-libm-test.pl (parse_args): Output only string of
26811 arguments as text for test name, not full call or descriptions of
26812 tests for extra outputs.
26813 (generate_testfile): Do not pass function name to parse_args.
26814 Generate this_func variable from START.
26815 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26816 field to arg_str.
26817 (struct test_ff_f_data): Likewise.
26818 (test_ff_f_data_nexttoward): Likewise.
26819 (struct test_fi_f_data): Likewise.
26820 (struct test_fl_f_data): Likewise.
26821 (struct test_if_f_data): Likewise.
26822 (struct test_fff_f_data): Likewise.
26823 (struct test_c_f_data): Likewise.
26824 (struct test_f_f1_data): Likewise. Remove field extra_name.
26825 (struct test_fF_f1_data): Likewise.
26826 (struct test_ffI_f1_data): Likewise.
26827 (struct test_c_c_data): Rename test_name field to arg_str.
26828 (struct test_cc_c_data): Likewise.
26829 (struct test_f_i_data): Likewise.
26830 (struct test_ff_i_data): Likewise.
26831 (struct test_f_l_data): Likewise.
26832 (struct test_f_L_data): Likewise.
26833 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26834 and extra2_name.
26835 (COMMON_TEST_SETUP): New macro.
26836 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26837 (COMMON_TEST_CLEANUP): Likewise.
26838 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26839 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26840 macros.
26841 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26842 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26843 macros.
26844 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26845 (RUN_TEST_fff_f): Take argument string. Call new setup and
26846 cleanup macros.
26847 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26848 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26849 macros.
26850 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26851 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26852 macros.
26853 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26854 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26855 cleanup macros.
26856 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26857 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26858 cleanup macros.
26859 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26860 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26861 cleanup macros.
26862 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26863 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26864 macros.
26865 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26866 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26867 macros.
26868 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26869 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26870 macros.
26871 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26872 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26873 cleanup macros.
26874 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26875 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26876 cleanup macros.
26877 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26878 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26879 macros.
26880 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26881 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26882 cleanup macros.
26883 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26884 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26885 macros.
26886 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26887 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26888 macros.
26889 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26890 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26891 cleanup macros.
26892 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26893
85118d4d
EBM
268942013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26895
26896 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26897 to _sifields.sigfault.
26898 (si_addr_lsb): Define new macro.
26899 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26902
7a44c18f
CD
269032013-05-03 Carlos O'Donell <carlos at redhat.com>
26904
26905 [BZ #15441]
26906 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26907 returns -1.
26908 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26909 null return -1.
26910 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26911 loading the domain.
26912
b50a7181
JM
269132013-05-22 Joseph Myers <joseph@codesourcery.com>
26914
26915 * math/gen-libm-test.pl (parse_args): Do not include expected
26916 result in test name.
26917 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26921 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26923
051063c8
SP
269242013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26925
3ce9e010
SP
26926 * benchtests/Makefile: Sort function entries.
26927
051063c8
SP
26928 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26929 tanh, asinh, acosh, atanh.
26930 * benchtests/acos-inputs: New file.
26931 * benchtests/acosh-inputs: New file.
26932 * benchtests/asin-inputs: New file.
26933 * benchtests/asinh-inputs: New file.
26934 * benchtests/atanh-inputs: New file.
26935 * benchtests/cosh-inputs: New file.
26936 * benchtests/log-inputs: New file.
26937 * benchtests/sinh-inputs: New file.
26938 * benchtests/tanh-inputs: New file.
26939
47c22455
DL
269402013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26941
26942 [BZ #15339]
26943 * posix/tst-getaddrinfo4.c: New test.
26944 * posix/Makefile (tests): Add it.
26945
3d04f5db
SP
269462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26947
26948 [BZ #15339]
26949 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26950 when no services were used.
26951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26952 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26953
d5dd6189
AS
269542013-05-21 Andreas Schwab <schwab@suse.de>
26955
26956 [BZ #15014]
26957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26958 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26959 successful.
26960 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26961 redundant variable declarations and reallocation of buffer when
26962 parsing as IPv6 address. Always set NSS status when called from
26963 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26964 buffer too small. Correct computation of needed size.
26965 * nss/Makefile (tests): Add test-digits-dots.
26966 * nss/test-digits-dots.c: New test.
26967
fef94eab
SP
269682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26969
26970 * benchtests/Makefile: Remove instructions for adding
26971 benchmark tests.
26972 * benchtests/README: New file to explain how to execute and
26973 enhance the benchmark tests.
26974
e39adf43
AS
269752013-05-21 Andreas Schwab <schwab@suse.de>
26976
26977 [BZ #15493]
26978 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26979 * setjmp/tst-sigsetjmp.c: New test.
26980
b2b671b6
OB
269812013-05-20 Ondřej Bílka <neleai@seznam.cz>
26982
26983 * sysdeps/x86_64/memset.S (memset): New implementation.
26984 (__bzero): Likewise.
26985 (__memset_tail): New function.
26986
2d48b41c
OB
269872013-05-20 Ondřej Bílka <neleai@seznam.cz>
26988
26989 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26990 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26991 __memcpy_sse2_unaligned ifunc selection.
26992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26993 Add memcpy-sse2-unaligned.S.
26994 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26995 Add: __memcpy_sse2_unaligned.
26996
f16cc3eb
JM
269972013-05-19 Joseph Myers <joseph@codesourcery.com>
26998
3e694268
JM
26999 [BZ #15490]
27000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27001 math_force_eval before restoring floating-point envrionment.
27002 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27003 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27004 Likewise.
27005 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27006 <math_private.h>.
27007 (__nearbyintl): Use math_force_eval before restoring
27008 floating-point environment.
27009 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27010
db62a907
JM
27011 * math/gen-libm-test.pl (special_functions): Remove.
27012 (parse_args): Don't handle TEST_extra. Handle functions with no
27013 return value.
27014 * math/libm-test.inc (struct test_sincos_data): Replace with
27015 struct test_fFF_11_data.
27016 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27017 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27018 (sincos_test_data): Change element type to struct
27019 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27020 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27021 RUN_TEST_LOOP_sincos.
27022 * math/README.libm-test: Don't mention special handling of
27023 individual functions.
27024 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27025 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27026 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27028 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27030
f16cc3eb
JM
27031 * math/gen-libm-test.pl (get_variable): Remove function.
27032 (parse_args): Don't show pointer parameters to call in test
27033 names. Use "extra output N" in test names for extra outputs
27034 rather than naming variables.
27035
3779b5b6
JM
270362013-05-18 Joseph Myers <joseph@codesourcery.com>
27037
2ee094ff
JM
27038 [BZ #15488]
27039 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27040 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27041 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27042 double tests.
27043 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27044 disable.
27045 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27046 check_long_double.
27047
3779b5b6
JM
27048 * math/gen-libm-test.pl (@tests): Remove variable.
27049 ($count): Likewise.
27050 (new_test): Remove function.
27051 (show_exceptions): New function.
27052 (special_functions): Use show_exceptions instead of new_test.
27053 (parse_args): Likewise.
27054 (generate_testfile): Pass only function name in generated call to
27055 print_max_error or print_complex_max_error.
27056 (get_ulps): Do not handle complex tests specially.
27057 (output_test): Rename to ...
27058 (get_all_ulps_for_test): ... this. Return a string rather than
27059 printing to a file. Require ulps to be present.
27060 (output_ulps): Generate arrays rather than #defines.
27061 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27062 (struct ulp_data): New type.
27063 (BUILD_COMPLEX_ULP): Remove macro.
27064 (compare_ulp_data): New function.
27065 (find_ulps): Likewise.
27066 (find_test_ulps): Likewise.
27067 (find_function_ulps): Likewise.
27068 (find_complex_function_ulps): Likewise.
27069 (print_max_error): Determine allowed ulps using
27070 find_function_ulps.
27071 (print_complex_max_error): Determine allowed ulps using
27072 find_complex_function_ulps.
27073 (check_float_internal): Determine max ulps using find_test_ulps.
27074 (check_float): Do not take max_ulp parameter. Update call to
27075 check_float_internal.
27076 (check_complex): Likewise.
27077 (check_int): Do not take max_ulp parameter.
27078 (check_long): Likewise.
27079 (check_bool): Likewise.
27080 (check_longlong): Likewise.
27081 (struct test_f_f_data): Remove max_ulp field.
27082 (struct test_ff_f_data): Likewise.
27083 (struct test_ff_f_data_nexttoward): Likewise.
27084 (struct test_fi_f_data): Likewise.
27085 (struct test_fl_f_data): Likewise.
27086 (struct test_if_f_data): Likewise.
27087 (struct test_fff_f_data): Likewise.
27088 (struct test_c_f_data): Likewise.
27089 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27090 (struct test_fF_f1_data): Likewise.
27091 (struct test_ffI_f1_data): Likewise.
27092 (struct test_c_c_data): Remove max_ulp field.
27093 (struct test_cc_c_data): Likewise.
27094 (struct test_f_i_data): Likewise.
27095 (struct test_ff_i_data): Likewise.
27096 (struct test_f_l_data): Likewise.
27097 (struct test_f_L_data): Likewise.
27098 (struct test_sincos_data): Likewise.
27099 (RUN_TEST_f_f): Do not handle ulps.
27100 (RUN_TEST_LOOP_f_f): Likewise.
27101 (RUN_TEST_2_f): Likewise.
27102 (RUN_TEST_LOOP_2_f): Likewise.
27103 (RUN_TEST_fff_f): Likewise.
27104 (RUN_TEST_LOOP_fff_f): Likewise.
27105 (RUN_TEST_c_f): Likewise.
27106 (RUN_TEST_LOOP_c_f): Likewise.
27107 (RUN_TEST_f_f1): Likewise.
27108 (RUN_TEST_LOOP_f_f1): Likewise.
27109 (RUN_TEST_fF_f1): Likewise.
27110 (RUN_TEST_LOOP_fF_f1): Likewise.
27111 (RUN_TEST_fI_f1): Likewise.
27112 (RUN_TEST_LOOP_fI_f1): Likewise.
27113 (RUN_TEST_ffI_f1): Likewise.
27114 (RUN_TEST_LOOP_ffI_f1): Likewise.
27115 (RUN_TEST_c_c): Likewise.
27116 (RUN_TEST_LOOP_c_c): Likewise.
27117 (RUN_TEST_cc_c): Likewise.
27118 (RUN_TEST_LOOP_cc_c): Likewise.
27119 (RUN_TEST_f_i): Likewise.
27120 (RUN_TEST_LOOP_f_i): Likewise.
27121 (RUN_TEST_f_i_tg): Likewise.
27122 (RUN_TEST_LOOP_f_i_tg): Likewise.
27123 (RUN_TEST_ff_i_tg): Likewise.
27124 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27125 (RUN_TEST_f_b): Likewise.
27126 (RUN_TEST_LOOP_f_b): Likewise.
27127 (RUN_TEST_f_b_tg): Likewise.
27128 (RUN_TEST_LOOP_f_b_tg): Likewise.
27129 (RUN_TEST_f_l): Likewise.
27130 (RUN_TEST_LOOP_f_l): Likewise.
27131 (RUN_TEST_f_L): Likewise.
27132 (RUN_TEST_LOOP_f_L): Likewise.
27133 (RUN_TEST_sincos): Likewise.
27134 (RUN_TEST_LOOP_sincos): Likewise.
27135
8269107f
JM
271362013-05-17 Joseph Myers <joseph@codesourcery.com>
27137
bb38759d
JM
27138 [BZ #15480]
27139 [BZ #15485]
27140 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27141 main case of finite arguments, set rounding mode to FE_TONEAREST
27142 and discard exceptions.
27143 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27144 exceptions.
27145 (remainder_tonearest_test_data): New variable.
27146 (remainder_test_tonearest): New function.
27147 (remainder_towardzero_test_data): New variable.
27148 (remainder_test_towardzero): New function.
27149 (remainder_downward_test_data): New variable.
27150 (remainder_test_downward): New function.
27151 (remainder_upward_test_data): New variable.
27152 (remainder_test_upward): New function.
27153 (main): Call the new test functions.
27154
a00bdcf0
JM
27155 * math/libm-test.inc (struct test_f_f1_data): Remove field
27156 extra_init.
27157 (struct test_fF_f1_data): Likewise.
27158 (struct test_ffI_f1_data): Likewise.
27159 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27160 based on value of EXTRA_EXPECTED.
27161 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27162 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27163 EXTRA_VAR based on value of EXTRA_EXPECTED.
27164 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27165 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27166 EXTRA_VAR based on value of EXTRA_EXPECTED.
27167 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27168 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27169 EXTRA_VAR based on value of EXTRA_EXPECTED.
27170 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27171 * math/gen-libm-test.pl (parse_args): Don't output initializers
27172 for extra output values.
27173
de407f79
JM
27174 * math/libm-test.inc (check_int): Expect result to be exactly
27175 equal to expected value and do not handle ulps.
27176 (check_long): Likewise.
27177 (check_longlong): Likewise.
27178
8269107f
JM
27179 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27180 exceptions.
27181 (cimag_test_data): Likewise.
27182 (conj_test_data): Likewise.
27183 (copysign_test_data): Likewise.
27184 (cproj_test_data): Likewise.
27185 (creal_test_data): Likewise.
27186 (fabs_test_data): Likewise.
27187 (fdim_test_data): Likewise.
27188 (finite_test_data): Likewise.
27189 (floor_test_data): Likewise.
27190 (fmax_test_data): Likewise.
27191 (fmin_test_data): Likewise.
27192 (fmod_test_data): Likewise.
27193 (fpclassify_test_data): Likewise.
27194 (frexp_test_data): Likewise.
27195 (ilogb_test_data): Likewise.
27196 (isfinite_test_data): Likewise.
27197 (isgreater_test_data): Likewise.
27198 (isgreaterequal_test_data): Likewise.
27199 (isinf_test_data): Likewise.
27200 (isless_test_data): Likewise.
27201 (islessequal_test_data): Likewise.
27202 (islessgreater_test_data): Likewise.
27203 (isnan_test_data): Likewise.
27204 (isnormal_test_data): Likewise.
27205 (issignaling_test_data): Likewise.
27206 (isunordered_test_data): Likewise.
27207 (ldexp_test_data): Likewise.
27208 (lrint_test_data): Likewise.
27209 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27210 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27211 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27212 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27213 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27214 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27215 test input.
27216 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27217 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27218 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27219 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27220 that test input.
27221 (lrint_downward_test_data): Test for "inexact" exceptions.
27222 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27223 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27224 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27225 test input.
27226 (lrint_upward_test_data): Test for "inexact" exceptions.
27227 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27228 test input.
27229 (llrint_test_data): Test for "inexact" exceptions.
27230 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27231 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27232 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27233 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27234 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27235 (llrint_downward_test_data): Test for "inexact" exceptions.
27236 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27237 (llrint_upward_test_data): Test for "inexact" exceptions.
27238 (logb_test_data): Likewise.
27239 (logb_downward_test_data): Likewise.
27240 (nextafter_test_data): Likewise.
27241 (nexttoward_test_data): Likewise.
27242 (remainder_test_data): Likewise.
27243 (remquo_test_data): Likewise.
27244 (scalbn_test_data): Likewise.
27245 (scalbln_test_data): Likewise.
27246 (signbit_test_data): Likewise.
27247 (sqrt_test_data): Likewise.
27248 (significand_test_data): Likewise.
27249
48a18de1
SP
272502013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27251
27252 [BZ #15424]
27253 * benchtests/bench-modf.c (struct args): Mark arg0 as
27254 volatile.
27255 * scripts/bench.pl: Mark members of struct args as volatile.
27256
13d3b41a
AZ
272572013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27258
68191c1d 27259 [BZ # 15497]
13d3b41a
AZ
27260 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27261 negative infinity on POWER6 or lower.
27262 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27263
2848b105
MR
272642013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27265
27266 [BZ #15442]
27267 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27268 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27269 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27270 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27271 (_FP_SETQNAN): New macro.
27272 (_FP_SETQNAN_SEMIRAW): Likewise.
27273 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27274 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27275 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27276 (FP_EXTEND): Use _FP_FRAC_SNANP.
27277 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27278 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27279 into account.
27280 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27281 New macro.
27282 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27283 Likewise.
27284
323e5cb7
JM
272852013-05-16 Joseph Myers <joseph@codesourcery.com>
27286
c58b274f
JM
27287 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27288 with DIVIDE_BY_ZERO_EXCEPTION.
27289 (gamma_test_data): Likewise.
27290 (lgamma_test_data): Likewise.
27291 (log_test_data): Likewise.
27292 (log10_test_data): Likewise.
27293 (log2_test_data): Likewise.
27294 (tgamma_test_data): Likewise.
27295
0ab34904
JM
27296 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27297 (acos_test_tonearest): Likewise.
27298 (acos_test_towardzero): Likewise.
27299 (acos_test_downward): Likewise.
27300 (acos_test_upward): Likewise.
27301 (acosh_test): Likewise.
27302 (asin_test): Likewise.
27303 (asin_test_tonearest): Likewise.
27304 (asin_test_towardzero): Likewise.
27305 (asin_test_downward): Likewise.
27306 (asin_test_upward): Likewise.
27307 (asinh_test): Likewise.
27308 (atan_test): Likewise.
27309 (atanh_test): Likewise.
27310 (atan2_test): Likewise.
27311 (cabs_test): Likewise.
27312 (cacos_test): Likewise.
27313 (cacosh_test): Likewise.
27314 (casin_test): Likewise.
27315 (casinh_test): Likewise.
27316 (catan_test): Likewise.
27317 (catanh_test): Likewise.
27318 (cbrt_test): Likewise.
27319 (ccos_test): Likewise.
27320 (ccosh_test): Likewise.
27321 (cexp_test): Likewise.
27322 (clog_test): Likewise.
27323 (clog10_test): Likewise.
27324 (cos_test): Likewise.
27325 (cos_test_tonearest): Likewise.
27326 (cos_test_towardzero): Likewise.
27327 (cos_test_downward): Likewise.
27328 (cos_test_upward): Likewise.
27329 (cosh_test): Likewise.
27330 (cosh_test_tonearest): Likewise.
27331 (cosh_test_towardzero): Likewise.
27332 (cosh_test_downward): Likewise.
27333 (cosh_test_upward): Likewise.
27334 (cpow_test): Likewise.
27335 (csin_test): Likewise.
27336 (csinh_test): Likewise.
27337 (csqrt_test): Likewise.
27338 (ctan_test): Likewise.
27339 (ctan_test_tonearest): Likewise.
27340 (ctan_test_towardzero): Likewise.
27341 (ctan_test_downward): Likewise.
27342 (ctan_test_upward): Likewise.
27343 (ctanh_test): Likewise.
27344 (ctanh_test_tonearest): Likewise.
27345 (ctanh_test_towardzero): Likewise.
27346 (ctanh_test_downward): Likewise.
27347 (ctanh_test_upward): Likewise.
27348 (erf_test): Likewise.
27349 (erfc_test): Likewise.
27350 (exp_test): Likewise.
27351 (exp_test_tonearest): Likewise.
27352 (exp_test_towardzero): Likewise.
27353 (exp_test_downward): Likewise.
27354 (exp_test_upward): Likewise.
27355 (exp10_test): Likewise.
27356 (exp2_test): Likewise.
27357 (expm1_test): Likewise.
27358 (fmod_test): Likewise.
27359 (gamma_test): Likewise.
27360 (hypot_test): Likewise.
27361 (j0_test): Likewise.
27362 (j1_test): Likewise.
27363 (jn_test): Likewise.
27364 (lgamma_test): Likewise.
27365 (log_test): Likewise.
27366 (log10_test): Likewise.
27367 (log1p_test): Likewise.
27368 (log2_test): Likewise.
27369 (logb_test_downward): Likewise.
27370 (pow_test): Likewise.
27371 (pow_test_tonearest): Likewise.
27372 (pow_test_towardzero): Likewise.
27373 (pow_test_downward): Likewise.
27374 (pow_test_upward): Likewise.
27375 (remainder_test): Likewise.
27376 (remquo_test): Likewise.
27377 (sin_test): Likewise.
27378 (sin_test_tonearest): Likewise.
27379 (sin_test_towardzero): Likewise.
27380 (sin_test_downward): Likewise.
27381 (sin_test_upward): Likewise.
27382 (sincos_test): Likewise.
27383 (sinh_test): Likewise.
27384 (sinh_test_tonearest): Likewise.
27385 (sinh_test_towardzero): Likewise.
27386 (sinh_test_downward): Likewise.
27387 (sinh_test_upward): Likewise.
27388 (sqrt_test): Likewise.
27389 (tan_test): Likewise.
27390 (tan_test_tonearest): Likewise.
27391 (tan_test_towardzero): Likewise.
27392 (tan_test_downward): Likewise.
27393 (tan_test_upward): Likewise.
27394 (tanh_test): Likewise.
27395 (tgamma_test): Likewise.
27396 (y0_test): Likewise.
27397 (y1_test): Likewise.
27398 (yn_test): Likewise.
27399
323e5cb7
JM
27400 * math/gen-libm-test.pl (adjust_arg): Remove function.
27401 (special_function): Remove argument $in_func. Only handle
27402 generating output for tables of tests, not inside functions.
27403 (parse_args): Likewise.
27404 (generate_testfile): Remove variable $in_func. Update call to
27405 parse_args.
27406 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27407 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27408 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27409 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27410 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27411 (MAX_VALUE_INIT): Rename macro to max_value.
27412 (MIN_VALUE_INIT): Rename macro to min_value.
27413 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27414 (plus_zero): Remove variable.
27415 (minus_zero): Likewise.
27416 (plus_infty): Likewise.
27417 (minus_infty): Likewise.
27418 (qnan_value): Likewise.
27419 (max_value): Likewise.
27420 (min_value): Likewise.
27421 (min_subnorm_value): Likewise.
27422
e054f494
RA
274232013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27424
27425 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27426 uint64_t or uint32_t usage.
27427 * crypt/sha256-block.c: Likewise.
27428 * crypt/sha256-crypt.c: Likewise.
27429 * crypt/sha256.c: Likewise.
27430 * crypt/sha512-block.c: Likewise.
27431 * crypt/sha512-crypt.c: Likewise.
27432 * crypt/sha512.c: Likewise.
27433 * debug/backtrace-tst.c: Likewise.
27434 * debug/pcprofiledump.c: Likewise.
27435 * elf/cache.c: Likewise.
27436 * elf/dl-cache.c: Likewise.
27437 * elf/dl-misc.c: Likewise.
27438 * elf/dl-profile.c: Likewise.
27439 * elf/dl-support.c: Likewise.
27440 * elf/ldconfig.c: Likewise.
27441 * elf/sprof.c: Likewise.
27442 * iconv/dummy-repertoire.c: Likewise.
27443 * iconv/iconv_charmap.c: Likewise.
27444 * iconv/skeleton.c: Likewise.
27445 * iconvdata/8bit-generic.c: Likewise.
27446 * iconvdata/cp737.h: Likewise.
27447 * iconvdata/cp775.h: Likewise.
27448 * iconvdata/ibm1008.h: Likewise.
27449 * iconvdata/ibm1025.h: Likewise.
27450 * iconvdata/ibm1046.h: Likewise.
27451 * iconvdata/ibm1097.h: Likewise.
27452 * iconvdata/ibm1112.h: Likewise.
27453 * iconvdata/ibm1122.h: Likewise.
27454 * iconvdata/ibm1123.h: Likewise.
27455 * iconvdata/ibm1124.h: Likewise.
27456 * iconvdata/ibm1129.h: Likewise.
27457 * iconvdata/ibm1130.h: Likewise.
27458 * iconvdata/ibm1132.h: Likewise.
27459 * iconvdata/ibm1133.h: Likewise.
27460 * iconvdata/ibm1137.h: Likewise.
27461 * iconvdata/ibm1140.h: Likewise.
27462 * iconvdata/ibm1141.h: Likewise.
27463 * iconvdata/ibm1142.h: Likewise.
27464 * iconvdata/ibm1143.h: Likewise.
27465 * iconvdata/ibm1144.h: Likewise.
27466 * iconvdata/ibm1145.h: Likewise.
27467 * iconvdata/ibm1146.h: Likewise.
27468 * iconvdata/ibm1147.h: Likewise.
27469 * iconvdata/ibm1148.h: Likewise.
27470 * iconvdata/ibm1149.h: Likewise.
27471 * iconvdata/ibm1153.h: Likewise.
27472 * iconvdata/ibm1154.h: Likewise.
27473 * iconvdata/ibm1155.h: Likewise.
27474 * iconvdata/ibm1156.h: Likewise.
27475 * iconvdata/ibm1157.h: Likewise.
27476 * iconvdata/ibm1158.h: Likewise.
27477 * iconvdata/ibm1160.h: Likewise.
27478 * iconvdata/ibm1161.h: Likewise.
27479 * iconvdata/ibm1162.h: Likewise.
27480 * iconvdata/ibm1163.h: Likewise.
27481 * iconvdata/ibm1164.h: Likewise.
27482 * iconvdata/ibm1166.h: Likewise.
27483 * iconvdata/ibm1167.h: Likewise.
27484 * iconvdata/ibm12712.h: Likewise.
27485 * iconvdata/ibm1390.h: Likewise.
27486 * iconvdata/ibm1399.h: Likewise.
27487 * iconvdata/ibm16804.h: Likewise.
27488 * iconvdata/ibm4517.h: Likewise.
27489 * iconvdata/ibm4899.h: Likewise.
27490 * iconvdata/ibm4909.h: Likewise.
27491 * iconvdata/ibm4971.h: Likewise.
27492 * iconvdata/ibm5347.h: Likewise.
27493 * iconvdata/ibm803.h: Likewise.
27494 * iconvdata/ibm856.h: Likewise.
27495 * iconvdata/ibm901.h: Likewise.
27496 * iconvdata/ibm902.h: Likewise.
27497 * iconvdata/ibm9030.h: Likewise.
27498 * iconvdata/ibm9066.h: Likewise.
27499 * iconvdata/ibm921.h: Likewise.
27500 * iconvdata/ibm922.h: Likewise.
27501 * iconvdata/ibm9448.h: Likewise.
27502 * iconvdata/isiri-3342.h: Likewise.
27503 * iconvdata/jis0201.h: Likewise.
27504 * include/link.h: Likewise.
27505 * include/netdb.h: Likewise.
27506 * inet/check_native.c: Likewise.
27507 * inet/check_pf.c: Likewise.
27508 * inet/getipv4sourcefilter.c: Likewise.
27509 * inet/getnameinfo.c: Likewise.
27510 * inet/getsourcefilter.c: Likewise.
27511 * inet/htonl.c: Likewise.
27512 * inet/setipv4sourcefilter.c: Likewise.
27513 * inet/setsourcefilter.c: Likewise.
27514 * inet/test-inet6_opt.c: Likewise.
27515 * inet/tst-network.c: Likewise.
27516 * locale/C-collate.c: Likewise.
27517 * locale/C-ctype.c: Likewise.
27518 * locale/C-time.c: Likewise.
27519 * locale/C-translit.h: Likewise.
27520 * locale/loadarchive.c: Likewise.
27521 * locale/programs/3level.h: Likewise.
27522 * locale/programs/charmap.c: Likewise.
27523 * locale/programs/charmap.h: Likewise.
27524 * locale/programs/ld-address.c: Likewise.
27525 * locale/programs/ld-collate.c: Likewise.
27526 * locale/programs/ld-ctype.c: Likewise.
27527 * locale/programs/ld-identification.c: Likewise.
27528 * locale/programs/ld-measurement.c: Likewise.
27529 * locale/programs/ld-messages.c: Likewise.
27530 * locale/programs/ld-monetary.c: Likewise.
27531 * locale/programs/ld-name.c: Likewise.
27532 * locale/programs/ld-numeric.c: Likewise.
27533 * locale/programs/ld-paper.c: Likewise.
27534 * locale/programs/ld-telephone.c: Likewise.
27535 * locale/programs/ld-time.c: Likewise.
27536 * locale/programs/linereader.c: Likewise.
27537 * locale/programs/locale.c: Likewise.
27538 * locale/programs/locarchive.c: Likewise.
27539 * locale/programs/locfile.h: Likewise.
27540 * locale/programs/repertoire.c: Likewise.
27541 * locale/programs/simple-hash.c: Likewise.
27542 * locale/programs/simple-hash.h: Likewise.
27543 * malloc/memusage.c: Likewise.
27544 * malloc/memusagestat.c: Likewise.
27545 * nis/nis_defaults.c: Likewise.
27546 * nis/nis_hash.c: Likewise.
27547 * nis/nis_print.c: Likewise.
27548 * nis/nis_xdr.c: Likewise.
27549 * nscd/connections.c: Likewise.
27550 * nscd/hstcache.c: Likewise.
27551 * nscd/nscd_gethst_r.c: Likewise.
27552 * nscd/nscd_getserv_r.c: Likewise.
27553 * nscd/nscd_helper.c: Likewise.
27554 * nscd/servicescache.c: Likewise.
27555 * nss/makedb.c: Likewise.
27556 * nss/nss_db/db-XXX.c: Likewise.
27557 * nss/nss_db/db-initgroups.c: Likewise.
27558 * nss/nss_db/db-netgrp.c: Likewise.
27559 * nss/nss_files/files-network.c: Likewise.
27560 * nss/nss_files/files-parse.c: Likewise.
27561 * posix/bug-regex5.c: Likewise.
27562 * posix/fnmatch_loop.c: Likewise.
27563 * posix/regcomp.c: Likewise.
27564 * posix/regexec.c: Likewise.
27565 * posix/tst-rfc3484-2.c: Likewise.
27566 * posix/tst-rfc3484-3.c: Likewise.
27567 * posix/tst-rfc3484.c: Likewise.
27568 * resolv/nss_dns/dns-canon.c: Likewise.
27569 * resolv/nss_dns/dns-network.c: Likewise.
27570 * resolv/res_init.c: Likewise.
27571 * resolv/res_mkquery.c: Likewise.
27572 * resolv/tst-aton.c: Likewise.
27573 * stdlib/cxa_atexit.c: Likewise.
27574 * stdlib/cxa_finalize.c: Likewise.
27575 * stdlib/gen-fpioconst.c: Likewise.
27576 * stdlib/strtol_l.c: Likewise.
27577 * string/tst-endian.c: Likewise.
27578 * sunrpc/auth_des.c: Likewise.
27579 * sunrpc/clnt_udp.c: Likewise.
27580 * sunrpc/rtime.c: Likewise.
27581 * sunrpc/svcauth_des.c: Likewise.
27582 * sunrpc/xdr.c: Likewise.
27583 * sunrpc/xdr_intXX_t.c: Likewise.
27584 * sunrpc/xdr_rec.c: Likewise.
27585 * sysdeps/generic/ldconfig.h: Likewise.
27586 * sysdeps/generic/ldsodefs.h: Likewise.
27587 * sysdeps/generic/memusage.h: Likewise.
27588 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27590 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27591 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27594 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27597 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27598 * sysdeps/posix/getaddrinfo.c: Likewise.
27599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27601 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27603 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27604 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27605 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27606 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27607 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27608 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27609 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27610 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27611 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27612 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27613 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27614 * sysdeps/x86_64/dl-tls.h: Likewise.
27615 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27616 * time/alt_digit.c: Likewise.
27617 * time/era.c: Likewise.
27618 * wcsmbs/tst-c16c32-1.c: Likewise.
27619
8c75f674
JM
276202013-05-16 Joseph Myers <joseph@codesourcery.com>
27621
27622 * math/libm-test.inc (struct test_sincos_data): New type.
27623 (RUN_TEST_LOOP_sincos): New macro.
27624 (sincos_test_data): New variable.
27625 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27626
e6e49e59
RH
276272013-05-16 Richard Henderson <rth@redhat.com>
27628
27629 * math/atest-exp2.c (LIMB64): New macro.
27630 (CONSTSZ): New macro.
27631 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27632 (hexdig): Move ...
27633 (print_mpn_fp): ... to function scope.
27634 (read_mpn_hex): Remove.
27635 (get_log2): Remove.
27636 (exp2_mpn): Use mp_log2.
27637 (main): Use mp_exp1.
27638
15c7c18d
JM
276392013-05-16 Joseph Myers <joseph@codesourcery.com>
27640
105a07df
JM
27641 * math/libm-test.inc: Remove comment about not testing "inexact"
27642 exceptions.
27643 (INEXACT_EXCEPTION): New macro.
27644 (NO_INEXACT_EXCEPTION): Likewise.
27645 (INVALID_EXCEPTION_OK): Update value.
27646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27647 (OVERFLOW_EXCEPTION_OK): Likewise.
27648 (UNDERFLOW_EXCEPTION_OK): Likewise.
27649 (IGNORE_ZERO_INF_SIGN): Likewise.
27650 (ERRNO_UNCHANGED): Likewise.
27651 (ERRNO_EDOM): Likewise.
27652 (ERRNO_ERANGE): Likewise.
27653 (test_exceptions): Handle testing "inexact" exceptions.
27654 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27655 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27656 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27657 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27658 INEXACT_EXCEPTION.
27659 (rint_towardzero_test_data): Likewise.
27660 (rint_downward_test_data): Likewise.
27661 (rint_upward_test_data): Likewise.
27662
e9eee333
JM
27663 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27664 with OVERFLOW_EXCEPTION.
27665 (exp10_test_data): Likewise.
27666 (exp2_test_data): Likewise.
27667 (expm1_test_data): Likewise.
27668 (lgamma_test_data): Likewise.
27669 (pow_test_data): Likewise.
27670 (tgamma_test_data): Likewise.
27671 (yn_test_data): Remove duplicate test of overflow.
27672
1c38ff73
JM
27673 * math/libm-test.inc (struct test_cc_c_data): New type.
27674 (RUN_TEST_LOOP_cc_c): New macro.
27675 (cpow_test_data): New variable.
27676 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27677
15c7c18d
JM
27678 * math/libm-test.inc (struct test_f_L_data): New type.
27679 (RUN_TEST_LOOP_f_L): New macro.
27680 (llrint_test_data): New variable.
27681 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27682 (llrint_tonearest_test_data): New variable.
27683 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27684 (llrint_towardzero_test_data): New variable.
27685 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27686 (llrint_downward_test_data): New variable.
27687 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27688 (llrint_upward_test_data): New variable.
27689 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27690 (llround_test_data): New variable.
27691 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27692
f137ff13
PC
276932013-05-13 Peter Collingbourne <pcc@google.com>
27694
27695 * math/atest-exp2.c (get_log2): Remove const attribute.
27696
3608cb24
JM
276972013-05-15 Joseph Myers <joseph@codesourcery.com>
27698
27699 * math/libm-test.inc (struct test_f_l_data): New type.
27700 (RUN_TEST_LOOP_f_l): New macro.
27701 (lrint_test_data): New variable.
27702 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27703 (lrint_tonearest_test_data): New variable.
27704 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27705 (lrint_towardzero_test_data): New variable.
27706 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27707 (lrint_downward_test_data): New variable.
27708 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27709 (lrint_upward_test_data): New variable.
27710 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27711 (lround_test_data): New variable.
27712 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27713
39b1f617
PC
277142013-05-15 Peter Collingbourne <pcc@google.com>
27715
1deff3dc
PC
27716 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27717 (EXTRACT_WORDS64) Use where appropriate.
27718 (INSERT_WORDS64) Likewise.
27719
791f3ba0
PC
27720 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27721 constraints with x constraints.
27722 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27723
39b1f617
PC
27724 * malloc/obstack.c (_obstack_compat): Add initializer.
27725
12fba011
EM
277262013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27727
27728 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27729 si_trapno and add si_addr_lsb to _sifields.sigfault.
27730 (si_trapno): Remove macro.
27731 (si_addr_lsb): Define new macro.
27732 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27733
d369f531
JM
277342013-05-15 Joseph Myers <joseph@codesourcery.com>
27735
b861c6c4
JM
27736 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27737 instead of TEST_f_l.
27738 (llrint_test_tonearest): Likewise.
27739 (llrint_test_towardzero): Likewise.
27740 (llrint_test_downward): Likewise.
27741 (llrint_test_upward): Likewise.
27742 (llround_test): Likewise.
27743
7abeee12
JM
27744 * math/libm-test.inc (struct test_f_i_data): Add comment.
27745 (RUN_TEST_LOOP_f_b): New macro.
27746 (RUN_TEST_LOOP_f_b_tg): Likewise.
27747 (finite_test_data): New variable.
27748 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27749 (isfinite_test_data): New variable.
27750 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27751 (isinf_test_data): New variable.
27752 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27753 (isnan_test_data): New variable.
27754 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27755 (isnormal_test_data): New variable.
27756 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27757 (issignaling_test_data): New variable.
27758 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27759 (signbit_test_data): New variable.
27760 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27761
cbe8c4d3
JM
27762 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27763 with INVALID_EXCEPTION.
27764 (acosh_test_data): Likewise.
27765 (asin_test_data): Likewise.
27766 (atanh_test_data): Likewise.
27767 (fmod_test_data): Likewise.
27768 (log_test_data): Likewise.
27769 (log10_test_data): Likewise.
27770 (log2_test_data): Likewise.
27771 (pow_test_data): Likewise.
27772 (sqrt_test_data): Likewise.
27773 (y0_test_data): Likewise.
27774 (y1_test_data): Likewise.
27775 (yn_test_data): Likewise.
27776
5575c0e5
JM
27777 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27778 function contents.
27779
d369f531
JM
27780 * math/libm-test.inc (struct test_ff_i_data): New type.
27781 (RUN_TEST_LOOP_ff_i_tg): New macro.
27782 (isgreater_test_data): New variable.
27783 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27784 (isgreaterequal_test_data): New variable.
27785 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27786 (isless_test_data): New variable.
27787 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27788 (islessequal_test_data): New variable.
27789 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27790 (islessgreater_test_data): New variable.
27791 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27792 (isunordered_test_data): New variable.
27793 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27794
781fd748
DM
277952013-05-14 David S. Miller <davem@davemloft.net>
27796
27797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27798
87aa21df
JM
277992013-05-14 Joseph Myers <joseph@codesourcery.com>
27800
5e908270
JM
27801 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27802
f71172e5
JM
27803 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27804 extra_test to int.
27805 (struct test_f_i_data): Change type of max_ulp to int.
27806
8cfa635a
JM
27807 * math/libm-test.inc (test_ffI_f1_data): New type.
27808 (RUN_TEST_LOOP_ffI_f1): New macro.
27809 (remquo_test_data): New variable.
27810 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27811
2bcb36b2
JM
27812 * setjmp/tst-setjmp-fp.c: New file.
27813 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27814 (link-libm): New variable.
27815 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27816
acbd839a
JM
27817 * math/libm-test.inc (struct test_f_i_data): New type.
27818 (RUN_TEST_LOOP_f_i): New macro.
27819 (RUN_TEST_LOOP_f_i_tg): Likewise.
27820 (fpclassify_test_data): New variable.
27821 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27822 (ilogb_test_data): New variable.
27823 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27824
e414d745
JM
27825 * math/libm-test.inc (scalbln_test): Correct function name in END
27826 call.
27827
d9c2a0fd
JM
27828 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27829 (RUN_TEST_LOOP_fI_f1): New macro.
27830 (frexp_test_data): New variable.
27831 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27832
9dc9095d
JM
27833 * math/libm-test.inc (struct test_fF_f1_data): New type.
27834 (RUN_TEST_LOOP_fF_f1): New macro.
27835 (modf_test_data): New variable.
27836 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27837
87aa21df
JM
27838 * math/libm-test.inc (struct test_f_f1_data): New type.
27839 (RUN_TEST_LOOP_f_f1): New macro.
27840 (gamma_test_data): New variable.
27841 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27842 (lgamma_test_data): New variable.
27843 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27844
141af660
CD
278452013-05-13 Carlos O'Donell <carlos@redhat.com>
27846
27847 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27848 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27849 (main): Comment "tls" pseudo-hwcap.
27850
6d33265c
JM
278512013-05-13 Joseph Myers <joseph@codesourcery.com>
27852
68fc074c
JM
27853 * math/libm-test.inc (struct test_fl_f_data): New type.
27854 (RUN_TEST_LOOP_fl_f): New variable.
27855 (scalbln_test_data): New variable.
27856 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27857
243216e1
JM
27858 * math/libm-test.inc (struct test_fi_f_data): New type.
27859 (RUN_TEST_LOOP_fi_f): New macro.
27860 (ldexp_test_data): New variable.
27861 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27862 (scalbn_test_data): New variable.
27863 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27864
6a1992e2
JM
27865 * math/libm-test.inc (struct test_c_f_data): New type.
27866 (RUN_TEST_LOOP_c_f): New macro.
27867 (cabs_test_data): New variable.
27868 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27869 (carg_test_data): New variable.
27870 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27871 (cimag_test_data): New variable.
27872 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27873 (creal_test_data): New variable.
27874 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27875
0e400df5
JM
27876 * math/libm-test.inc (struct test_if_f_data): New type.
27877 (RUN_TEST_LOOP_if_f): New macro.
27878 (jn_test_data): New variable.
27879 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27880 (yn_test_data): New variable.
27881 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27882
6d33265c
JM
27883 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27884
f98ece5f
AZ
278852013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27886
27887 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27888 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27889
0f7d347b
SP
278902013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27891
43fe811b
SP
27892 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27893 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27894 (bench-deps): Add bench-timing.h.
27895 * benchtests-bench-skeleton.c: Include bench-timing.h.
27896 (main): Use TIMING_* macros instead of clock_gettime.
27897 * benchtests/bench-timing.h: New file.
27898
0f7d347b
SP
27899 [BZ #14582]
27900 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27901 Renamed from _LIB_VERSION.
27902 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27903
601a3a5f
JM
279042013-05-12 Joseph Myers <joseph@codesourcery.com>
27905
4f184d30
JM
27906 * math/libm-test.inc (struct test_fff_f_data): New type.
27907 (RUN_TEST_LOOP_fff_f): New macro.
27908 (fma_test_data): New variable.
27909 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27910 (fma_towardzero_test_data): New variable.
27911 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27912 (fma_downward_test_data): New variable.
27913 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27914 (fma_upward_test_data): New variable.
27915 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27916
08198877
JM
27917 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27918 (struct test_c_c_data): New type.
27919 (RUN_TEST_LOOP_c_c): New macro.
27920 (cacos_test_data): New variable.
27921 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27922 (cacosh_test_data): New variable.
27923 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27924 (casin_test_data): New variable.
27925 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27926 (casinh_test_data): New variable.
27927 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27928 (catan_test_data): New variable.
27929 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27930 (catanh_test_data): New variable.
27931 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27932 (ccos_test_data): New variable.
27933 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27934 (ccosh_test_data): New variable.
27935 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27936 (cexp_test_data): New variable.
27937 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27938 (clog_test_data): New variable.
27939 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27940 (clog10_test_data): New variable.
27941 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27942 (conj_test_data): New variable.
27943 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27944 (cproj_test_data): New variable.
27945 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27946 (csin_test_data): New variable.
27947 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27948 (csinh_test_data): New variable.
27949 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27950 (csqrt_test_data): New variable.
27951 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27952 (ctan_test_data): New variable.
27953 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27954 (ctan_tonearest_test_data): New variable.
27955 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27956 (ctan_towardzero_test_data): New variable.
27957 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27958 (ctan_downward_test_data): New variable.
27959 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27960 (ctan_upward_test_data): New variable.
27961 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27962 (ctanh_test_data): New variable.
27963 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27964 (ctanh_tonearest_test_data): New variable.
27965 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27966 (ctanh_towardzero_test_data): New variable.
27967 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27968 (ctanh_downward_test_data): New variable.
27969 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27970 (ctanh_upward_test_data): New variable.
27971 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27972 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27973 of BUILD_COMPLEX.
27974
601a3a5f
JM
27975 * math/libm-test.inc (struct test_ff_f_data): New type.
27976 (struct test_ff_f_data_nexttoward): Likewise.
27977 (RUN_TEST_LOOP_2_f): New macro.
27978 (RUN_TEST_LOOP_ff_f): Likewise.
27979 (atan2_test_data): New variable.
27980 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27981 (copysign_test_data): New variable.
27982 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27983 (fdim_test_data): New variable.
27984 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27985 (fmax_test_data): New variable.
27986 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27987 (fmin_test_data): New variable.
27988 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27989 (fmod_test_data): New variable.
27990 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27991 (hypot_test_data): New variable.
27992 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27993 (nextafter_test_data): New variable.
27994 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27995 (nexttoward_test_data): New variable.
27996 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27997 (pow_test_data): New variable.
27998 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27999 (pow_tonearest_test_data): New variable.
28000 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28001 (pow_towardzero_test_data): New variable.
28002 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28003 (pow_downward_test_data): New variable.
28004 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28005 (pow_upward_test_data): New variable.
28006 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28007 (remainder_test_data): New variable.
28008 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28009 (scalb_test_data): New variable.
28010 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28011 * sysdeps/i386/fpu/libm-test-ulps: Update.
28012
74c57478
JM
280132013-05-11 Joseph Myers <joseph@codesourcery.com>
28014
8329e4da
JM
28015 * math/libm-test.inc (fma_test): Use max_value instead of local
28016 variable fltmax.
28017 (nextafter_test): Likewise.
28018
74c57478
JM
28019 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28020 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28021 (acos_downward_test_data): New variable.
28022 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28023 (acos_upward_test_data): New variable.
28024 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28025 (acosh_test_data): New variable.
28026 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28027 (asin_test_data): New variable.
28028 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28029 (asin_tonearest_test_data): New variable.
28030 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28031 (asin_towardzero_test_data): New variable.
28032 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28033 (asin_downward_test_data): New variable.
28034 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28035 (asin_upward_test_data): New variable.
28036 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28037 (asinh_test_data): New variable.
28038 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28039 (atan_test_data): New variable.
28040 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28041 (atanh_test_data): New variable.
28042 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28043 (cbrt_test_data): New variable.
28044 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28045 (ceil_test_data): New variable.
28046 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28047 (cos_test_data): New variable.
28048 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28049 (cos_tonearest_test_data): New variable.
28050 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28051 (cos_towardzero_test_data): New variable.
28052 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28053 (cos_downward_test_data): New variable.
28054 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28055 (cos_upward_test_data): New variable.
28056 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28057 (cosh_test_data): New variable.
28058 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28059 (cosh_tonearest_test_data): New variable.
28060 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28061 (cosh_towardzero_test_data): New variable.
28062 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28063 (cosh_downward_test_data): New variable.
28064 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28065 (cosh_upward_test_data): New variable.
28066 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28067 (erf_test_data): New variable.
28068 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28069 (erfc_test_data): New variable.
28070 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28071 (exp_test_data): New variable.
28072 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28073 (exp_tonearest_test_data): New variable.
28074 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28075 (exp_towardzero_test_data): New variable.
28076 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28077 (exp_downward_test_data): New variable.
28078 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28079 (exp_upward_test_data): New variable.
28080 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28081 (exp10_test_data): New variable.
28082 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28083 (exp2_test_data): New variable.
28084 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28085 (expm1_test_data): New variable.
28086 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28087 (fabs_test_data): New variable.
28088 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28089 (floor_test_data): New variable.
28090 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28091 (j0_test_data): New variable.
28092 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28093 (j1_test_data): New variable.
28094 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28095 (log_test_data): New variable.
28096 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28097 (log10_test_data): New variable.
28098 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28099 (log1p_test_data): New variable.
28100 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28101 (log2_test_data): New variable.
28102 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28103 (logb_test_data): New variable.
28104 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28105 (logb_downward_test_data): New variable.
28106 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28107 (nearbyint_test_data): New variable.
28108 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28109 (rint_test_data): New variable.
28110 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28111 (rint_tonearest_test_data): New variable.
28112 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28113 (rint_towardzero_test_data): New variable.
28114 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28115 (rint_downward_test_data): New variable.
28116 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28117 (rint_upward_test_data): New variable.
28118 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28119 (round_test_data): New variable.
28120 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28121 (sin_test_data): New variable.
28122 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28123 (sin_tonearest_test_data): New variable.
28124 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28125 (sin_towardzero_test_data): New variable.
28126 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28127 (sin_downward_test_data): New variable.
28128 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28129 (sin_upward_test_data): New variable.
28130 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28131 (sinh_test_data): New variable.
28132 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28133 (sinh_tonearest_test_data): New variable.
28134 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28135 (sinh_towardzero_test_data): New variable.
28136 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28137 (sinh_downward_test_data): New variable.
28138 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28139 (sinh_upward_test_data): New variable.
28140 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28141 (sqrt_test_data): New variable.
28142 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28143 (tan_test_data): New variable.
28144 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28145 (tan_tonearest_test_data): New variable.
28146 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28147 (tan_towardzero_test_data): New variable.
28148 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28149 (tan_downward_test_data): New variable.
28150 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28151 (tan_upward_test_data): New variable.
28152 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28153 (tanh_test_data): New variable.
28154 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28155 (tgamma_test_data): New variable.
28156 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28157 (trunc_test_data): New variable.
28158 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28159 (y0_test_data): New variable.
28160 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28161 (y1_test_data): New variable.
28162 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28163 (significand_test_data): New variable.
28164 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28165
7187d844
CG
281662013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28167
28168 [BZ #12387]
28169 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28170
f63fae73
PT
281712013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28172
28173 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28174
8a67a4b3
AJ
281752013-05-10 Andreas Jaeger <aj@suse.de>
28176
28177 [BZ #15448]
28178 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28179 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28180
51df539d
JM
281812013-05-10 Joseph Myers <joseph@codesourcery.com>
28182
28183 * math/gen-libm-test.pl (adjust_arg): New function.
28184 (special_functions): Handle generating output in both functions
28185 and arrays.
28186 (parse_args): Likewise.
28187 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28188 $in_func argument to parse_args.
28189 * math/libm-test.inc (struct test_f_f_data): New type.
28190 (IF_ROUND_INIT_): New macro.
28191 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28192 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28193 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28194 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28195 (ROUND_RESTORE_): Likewise.
28196 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28197 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28198 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28199 (ROUND_RESTORE_FE_UPWARD): Likewise.
28200 (RUN_TEST_LOOP_f_f): New macro.
28201 (acos_test_data): New variable.
28202 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28203 (acos_tonearest_test_data): New variable.
28204 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28205
5c637fe5
SP
282062013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28207
28208 * benchtests/bench-skeleton.c (startup): Fix coding style.
28209
ab2b9461
JM
282102013-05-10 Joseph Myers <joseph@codesourcery.com>
28211
28212 [BZ #6809]
28213 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28214 negative infinity argument.
28215 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28216 negative infinity argument.
28217 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28218 negative infinity argument.
28219 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28220 domain errors.
28221
4c0fe6fe
FW
282222013-05-10 Florian Weimer <fweimer@redhat.com>
28223
28224 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28225 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28226 * iconv/iconv_prog.c (main): Likewise.
28227 * locale/programs/charmap-dir.c (charmap_readdir)
28228 (fopen_uncompressed): Likewise.
28229 * locale/programs/locfile.c (siblings_uncached)
28230 (write_locale_data): Use lstat64 instead of lstat.
28231 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28232 stat.
28233
a3375d29
AJ
282342013-05-10 Andreas Jaeger <aj@suse.de>
28235
28236 [BZ #15395]
28237 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28238 localization.
28239 Include <locale.h>.
28240
36129722
CD
282412013-05-09 Carlos O'Donell <carlos@redhat.com>
28242
28243 * elf/dl-close.c (_dl_close_worker): Add comments.
28244
faa7f811
JM
282452013-05-09 Joseph Myers <joseph@codesourcery.com>
28246
ed41ffef
JM
28247 [BZ #15359]
28248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28249 high part of pi/2.
28250 (__ieee754_rem_pio2l): Update comments.
28251
d0213cd0
JM
28252 [BZ #15429]
28253 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28254 high part of pi/2.
28255 (__ieee754_rem_pio2l): Update comments.
28256
0d3e777a
JM
28257 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28258 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28259
24f56066
JM
28260 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28261 M_PI_4l.
28262
faa7f811
JM
28263 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28264 (M_PI_34_LOG10El): Likewise.
28265 (M_PI2_LOG10El): Likewise.
28266 (M_PI4_LOG10El): Likewise.
28267 (M_PI_LOG10El): Likewise.
28268
e9a5e0fd
AZ
282692013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28270
28271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28272
d8cd06db
JM
282732013-05-08 Joseph Myers <joseph@codesourcery.com>
28274
a0d9f9d7
JM
28275 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28276 (MINUS_ZERO_INIT): Likewise.
28277 (PLUS_INFTY_INIT): Likewise.
28278 (MINUS_INFTY_INIT): Likewise.
28279 (QNAN_VALUE_INIT): Likewise.
28280 (MAX_VALUE_INIT): Likewise.
28281 (MIN_VALUE_INIT): Likewise.
28282 (MIN_SUBNORM_VALUE_INIT): Likewise.
28283 (plus_zero): Initialize with PLUS_ZERO_INIT.
28284 (minus_zero): Initialize with MINUS_ZERO_INIT.
28285 (plus_infty): Initialize with PLUS_INFTY_INIT.
28286 (minus_infty): Initialize with MINUS_INFTY_INIT.
28287 (qnan_value): Initialize with QNAN_VALUE_INIT.
28288 (max_value): Initialize with MAX_VALUE_INIT.
28289 (min_value): Initialize with MIN_VALUE_INIT.
28290 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28291
ae08db3b
JM
28292 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28293 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28294 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28295 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28296
f44bf14a
JM
28297 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28298 (RUN_TEST_2_f): Likewise.
28299 (RUN_TEST_ff_f): Likewise.
28300 (RUN_TEST_fi_f): Likewise.
28301 (RUN_TEST_fl_f): Likewise.
28302 (RUN_TEST_fff_f): Likewise.
28303 (RUN_TEST_c_f): Likewise.
28304 (RUN_TEST_f_f1): Likewise.
28305 (RUN_TEST_fF_f1): Likewise.
28306 (RUN_TEST_fI_f1): Likewise.
28307 (RUN_TEST_ffI_f1): Likewise.
28308 (RUN_TEST_c_c): Likewise.
28309 (RUN_TEST_cc_c): Likewise.
28310 (RUN_TEST_f_i): Likewise.
28311 (RUN_TEST_f_i_tg): Likewise.
28312 (RUN_TEST_ff_i_tg): Likewise.
28313 (RUN_TEST_f_b): Likewise.
28314 (RUN_TEST_f_b_tg): Likewise.
28315 (RUN_TEST_f_l): Likewise.
28316 (RUN_TEST_f_L): Likewise.
28317 (RUN_TEST_sincos): Likewise.
28318 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28319 whether to show exceptions. Do not include ");\n" in return
28320 value.
28321 (special_functions): Output call to RUN_TEST_sincos instead of
28322 check_float calls. Update calls to new_test.
28323 (parse_args): Output call to single RUN_TEST_* macro instead of
28324 check_* calls and other assignments. Update calls to new_test.
28325
d8cd06db
JM
28326 [BZ #2546]
28327 [BZ #2560]
28328 [BZ #5159]
28329 [BZ #15426]
28330 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28331 input to result for tgamma overflow.
28332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28333 (gamma_coeff): New variable.
28334 (NCOEFF): New macro.
28335 (gamma_positive): New function.
28336 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28337 underflow here. Use gamma_positive instead of exp (lgamma) for
28338 other arguments.
28339 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28340 (gamma_coeff): New variable.
28341 (NCOEFF): New macro.
28342 (gammaf_positive): New function.
28343 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28344 underflow here. Use gamma_positive instead of exp (lgamma) for
28345 other arguments.
28346 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28347 (gamma_coeff): New variable.
28348 (NCOEFF): New macro.
28349 (gammal_positive): New function.
28350 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28351 underflow here. Use gamma_positive instead of exp (lgamma) for
28352 other arguments.
28353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28354 (gamma_coeff): New variable.
28355 (NCOEFF): New macro.
28356 (gammal_positive): New function.
28357 (__ieee754_gammal_r): Handle positive infinity, overflow and
28358 underflow here. Handle NaN the same as positive infinity. Remove
28359 check x < 0xffffffff for negative integers. Use gamma_positive
28360 instead of exp (lgamma) for other arguments.
28361 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28362 (gamma_coeff): New variable.
28363 (NCOEFF): New macro.
28364 (gammal_positive): New function.
28365 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28366 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28367 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28368 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28369 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28370 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28371 * sysdeps/generic/math_private.h (__gamma_productf): New
28372 prototype.
28373 (__gamma_product): Likewise.
28374 (__gamma_productl): Likewise.
28375 * math/Makefile (libm-calls): Add gamma_product.
28376 * math/libm-test.inc (tgamma_test): Add more tests.
28377 * sysdeps/i386/fpu/libm-test-ulps: Update.
28378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28379
bb7cf681
OB
283802013-05-08 Ondřej Bílka <neleai@seznam.cz>
28381
28382 * benchtests/bench-skeleton.c (main): Preheat CPU.
28383
ba853947
AJ
283842013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28385
28386 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28387
8347c74c
RM
283882013-05-07 Roland McGrath <roland@hack.frob.com>
28389
28390 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28391 and _dl_skip_args_internal.
28392
e8dd4791
CD
283932013-05-07 Carlos O'Donell <carlos@redhat.com>
28394
28395 * manual/message.texi (Message Translation): Talk about users.
28396 Message to key mapping impacts design.
28397
c7405830
RM
283982013-05-06 Roland McGrath <roland@hack.frob.com>
28399
a9173057
RM
28400 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28401
976e2f03
RM
28402 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28403
9723ffc5
RM
28404 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28405 * sysdeps/wordsize-64/glob64.c: ... here.
28406
962e6658
RM
28407 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28408 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28409 New macros.
28410
ee586a6d
RM
28411 * debug/getlogin_r_chk.c: Moved to ...
28412 * login/getlogin_r_chk.c: ... here.
28413 * debug/Makefile (routines): Move getlogin_r_chk to ...
28414 * login/Makefile (routines): ... here.
28415 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28416 * login/Versions (libc: GLIBC_2.4): ... here.
28417
355f9165
RM
28418 * io/poll.c (__poll): Renamed from poll.
28419 Add libc_hidden_def.
28420 (poll): Define as weak alias.
28421
bd9ffde6
RM
28422 * debug/ptsname_r_chk.c: Moved to ...
28423 * login/ptsname_r_chk.c: ... here.
28424 * debug/Makefile (routines): Move ptsname_r_chk to ...
28425 * login/Makefile (routines): ... here.
28426 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28427 * login/Versions (libc: GLIBC_2.4): ... here.
28428
8fb16a04
RM
28429 * posix/getlogin.c: Moved to ...
28430 * login/getlogin.c: ... here.
28431 * posix/getlogin_r.c: Moved to ...
28432 * login/getlogin_r.c: ... here.
28433 * posix/getlogin_r.c: Moved to ...
28434 * login/getlogin_r.c: ... here.
28435 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28436 * login/Makefile (routines): ... here.
28437 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28438 * login/Versions (libc: GLIBC_2.0): ... here.
28439
b99b892f
RM
28440 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28441 (setrlimit): Define as weak alias.
28442
c7405830
RM
28443 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28444 Call __ names for open, ftruncate, and close.
28445 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28446 (truncate): Define as weak alias.
28447
5bf96de5
JM
284482013-05-06 Joseph Myers <joseph@codesourcery.com>
28449
9ea3513c
JM
28450 * math/gen-libm-test.pl (parse_args): Initialize x before each
28451 test of frexp, modf and remquo.
28452
5bf96de5
JM
28453 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28454 test signgam value.
28455
16e616a7
AZ
284562013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28457
28458 [BZ #15418]
28459 [BZ #15419]
28460 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28461 internal tests.
28462 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28463
d5e82754
RM
284642013-05-06 Roland McGrath <roland@hack.frob.com>
28465
28466 * elf/dl-writev.h: New file.
28467 * elf/dl-misc.c: Include it.
28468 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28469 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28470
a7548d41
JM
284712013-05-04 Joseph Myers <joseph@codesourcery.com>
28472
b7dab1e4
JM
28473 * math/libm-test.inc (noXFails): Remove variable.
28474 (noXPasses): Likewise.
28475 (BUILD_COMPLEX_INT): Remove macro.
28476 (print_screen): Remove xfail argument.
28477 (print_screen_max_error): Likewise.
28478 (update_stats): Likewise.
28479 (print_max_error): Likewise. Update calls to other affected
28480 functions.
28481 (print_complex_max_error): Likewise.
28482 (test_single_exception): Update calls to print_screen.
28483 (test_single_errno): Likewise.
28484 (check_float_internal): Remove xfail argument. Update calls to
28485 other affected functions.
28486 (check_float): Likewise.
28487 (check_complex): Likewise.
28488 (check_int): Likewise.
28489 (check_long): Likewise.
28490 (check_bool): Likewise.
28491 (check_longlong): Likewise.
28492 (main): Don't print noXFails and noXPasses.
28493 * math/gen-libm-test.pl (top level): Don't mention expected
28494 failure handling in comment.
28495 (new_test): Don't handle expected failures.
28496 (parse_args): Don't mention expected failure handling in comment.
28497 (generate_testfile): Don't handle expected failures.
28498 (parse_ulps): Likewise.
28499 (print_ulps_file): Likewise.
28500 (get_failure): Remove function.
28501 (output_test): Don't handle expected failures.
28502 * make/README.libm-test: Don't mention expected failure handling.
28503
a7548d41
JM
28504 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28505 (minus_zero): Likewise.
28506 (plus_infty): Likewise.
28507 (minus_infty): Likewise.
28508 (qnan_value): Likewise.
28509 (max_value): Likewise.
28510 (min_value): Likewise.
28511 (min_subnorm_value): Likewise.
28512 (initialize): Do not initialize those variables dynamically.
28513
60bfd54c
RM
285142013-05-03 Roland McGrath <roland@hack.frob.com>
28515
cc0e6ed8
RM
28516 * io/open.c (__open_2): Moved to ...
28517 * io/open_2.c: ... this new file.
28518 * io/open64.c (__open64_2): Moved to ...
28519 * io/open64_2.c: ... this new file.
28520 * io/openat.c (__openat_2): Moved to ...
28521 * io/openat_2.c: ... this new file.
28522 * io/openat64.c (__openat64_2): Moved to ...
28523 * io/openat64_2.c: ... this new file.
28524 * io/Makefile (routines): Add them.
28525 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28526 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28527 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28528 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28529 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28530 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28531 (__openat64): Add hidden_ver.
28532 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28533 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28534
60bfd54c
RM
28535 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28536 Separately conditionalize setting of GLRO(dl_sysinfo) so
28537 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28538 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28539
83e7640f
AZ
285402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28541
28542 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28544 definition.
28545 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28546 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28547 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28548 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28549 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28550
d5dc2af3
JM
285512013-05-03 Joseph Myers <joseph@codesourcery.com>
28552
c31a5b1e
JM
28553 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28554 test signgam value.
28555
d5dc2af3
JM
28556 * math/libm-test.inc (hypot_test): Do not use
28557 IGNORE_ZERO_INF_SIGN.
28558
164fd39d
AJ
285592013-05-03 Andreas Jaeger <aj@suse.de>
28560
28561 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28562 Linux 3.9.
28563 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28564 (PF_MAX): Adjust for VSOCK change.
28565
8237f48c
AZ
285662013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28567
28568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28569
9df02941
CD
285702013-05-02 Carlos O'Donell <carlos@redhat.com>
28571
28572 [BZ #15264]
28573 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28574 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28575 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28576
d422395e
DM
285772013-05-02 David S. Miller <davem@davemloft.net>
28578
28579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28580
a07c5731
OB
285812013-05-01 Ondřej Bílka <neleai@seznam.cz>
28582
28583 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28584
1324e37f
RM
285852013-05-01 Roland McGrath <roland@hack.frob.com>
28586
28587 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28588
0695940b
RS
285892013-05-01 Richard Smith <richard@metafoo.co.uk>
28590
bb5f27ad 28591 [BZ #14952]
0695940b
RS
28592 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28593 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28594 Use __attribute__ ((__gnu_inline__)).
28595 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28596 Don't use __attribute__ ((__gnu_inline__)).
28597
10de07f5
JM
285982013-05-01 Joseph Myers <joseph@codesourcery.com>
28599
28600 [BZ #15423]
28601 * math/s_catan.c (__catan): Handle small real or imaginary part of
28602 input specially to avoid spurious underflow.
28603 * math/s_catanf.c (__catanf): Likewise.
28604 * math/s_catanh.c (__catanh): Likewise.
28605 * math/s_catanhf.c (__catanhf): Likewise.
28606 * math/s_catanhl.c (__catanhl): Likewise.
28607 * math/s_catanl.c (__catanl): Likewise.
28608 * math/libm-test.inc (catan_test): Add more tests.
28609 (catanh_test): Likewise.
28610 * sysdeps/i386/fpu/libm-test-ulps: Update.
28611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28612
cb4d5414
AZ
286132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28614
28615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28616
caf84319
JM
286172013-04-30 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #15416]
28620 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28621 accurately for denominator in atan2.
28622 * math/s_catanf.c (__catanf): Likewise.
28623 * math/s_catanh.c (__catanh): Likewise.
28624 * math/s_catanhf.c (__catanhf): Likewise.
28625 * math/s_catanhl.c (__catanhl): Likewise.
28626 * math/s_catanl.c (__catanl): Likewise.
28627 * math/libm-test.inc (catan_test): Add more tests.
28628 (catanh_test): Likewise.
28629 * sysdeps/i386/fpu/libm-test-ulps: Update.
28630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28631
d569c6ee
SP
286322013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28633
6dbe713d
SP
28634 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28635
f0ee064b
SP
28636 * benchtests/Makefile (bench): Remove slow benchmarks.
28637 * benchtests/atan-inputs: Add slow benchmark inputs.
28638 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28639 (BENCH_FUNC): Accept variant offset.
28640 (VARIANT): Define.
28641 * benchtests/bench-skeleton.c (main): Run benchmark for each
28642 variant.
28643 * benchtests/cos-inputs: Add slow benchmark inputs.
28644 * benchtests/exp-inputs: Likewise.
28645 * benchtests/pow-inputs: Likewise.
28646 * benchtests/sin-inputs: Likewise.
28647 * benchtests/slowatan-inputs: Remove.
28648 * benchtests/slowatan.c: Remove.
28649 * benchtests/slowcos-inputs: Remove.
28650 * benchtests/slowcos.c: Remove.
28651 * benchtests/slowexp-inputs: Remove.
28652 * benchtests/slowexp.c: Remove.
28653 * benchtests/slowpow-inputs: Remove.
28654 * benchtests/slowpow.c: Remove.
28655 * benchtests/slowsin-inputs: Remove.
28656 * benchtests/slowsin.c: Remove.
28657 * benchtests/slowtan-inputs: Remove.
28658 * benchtests/slowtan.c: Remove.
28659 * benchtests/tan-inputs: Add slow benchmark inputs.
28660 * scripts/bench.pl: Parse comments and directives.
28661
d569c6ee
SP
28662 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28663 in CPPFLAGS.
28664 ($(objpfx)bench-%.c): Remove *-ITER.
28665 * benchtests/bench-modf.c: Remove definition of ITER.
28666 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28667 (main): Loop for DURATION seconds instead of fixed number of
28668 iterations.
28669 * scripts/bench.pl: Don't expect iterations in parameters.
28670
a6a242fe
RM
286712013-04-29 Roland McGrath <roland@hack.frob.com>
28672
28673 * io/fchdir.c (__fchdir): Renamed from fchdir.
28674 (fchdir): Define as weak alias.
28675
f2da7793
JM
286762013-04-29 Joseph Myers <joseph@codesourcery.com>
28677
28678 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28679 (ERRNO_EDOM): Likewise.
28680 (ERRNO_ERANGE): Likewise.
28681 (noErrnoTests): New variable.
28682 (init_max_error): Set errno to 0.
28683 (test_single_errno): New function.
28684 (test_errno): Likewise.
28685 (check_float_internal): Call test_errno. Set errno to 0.
28686 (check_complex): Refer to errno tests in comment.
28687 (check_int): Call test_errno. Set errno to 0.
28688 (check_long): Likewise.
28689 (check_bool): Likewise.
28690 (check_longlong): Likewise.
28691 (cos_test): Use ERRNO_* flags for errno tests instead of
28692 check_int.
28693 (expm1_test): Likewise.
28694 (fmod_test): Likewise.
28695 (ilogb_test): Likewise.
28696 (lgamma_test): Likewise.
28697 (pow_test): Likewise.
28698 (remainder_test): Likewise.
28699 (sin_test): Likewise.
28700 (tan_test): Likewise.
28701 (yn_test): Likewise.
28702 (initialize): Set errno to 0.
28703 (main): Print number of errno tests.
28704 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28705
b1a36ceb
AJ
287062013-04-29 Andreas Jaeger <aj@suse.de>
28707
c3ed8088
AJ
28708 [BZ #15084]
28709 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28710 and RES_USEVC.
28711
f1a24198
AJ
28712 [BZ #15085]
28713 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28714 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28715 unimplemented.
28716
9ce3b2cb
AJ
28717 [BZ #15380]
28718 * stdlib/random.c (__initstate): Return NULL if
28719 __initstate fails.
28720
f1a24198 28721 [BZ #15086]
b1a36ceb
AJ
28722 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28723 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28724 RES_SNGLKUPREOP.
28725
7e7b6f36
AZ
287262013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28727
28728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28729
4d14f449
JM
287302013-04-29 Joseph Myers <joseph@codesourcery.com>
28731
28732 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28733 of individual tests.
28734 (casin_test): Likewise.
28735 (casinh_test): Likewise.
28736
5b4217d7
JM
287372013-04-27 Joseph Myers <joseph@codesourcery.com>
28738
28739 [BZ #15409]
28740 * math/s_catan.c (__catan): Handle arguments with large real or
28741 imaginary part separately without squaring.
28742 * math/s_catanf.c (__catanf): Likewise.
28743 * math/s_catanh.c (__catanh): Likewise.
28744 * math/s_catanhf.c (__catanhf): Likewise.
28745 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28746 and redefine.
28747 (__catanhl): Handle arguments with large real or imaginary part
28748 separately without squaring.
28749 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28750 and redefine.
28751 (__catanl): Handle arguments with large real or imaginary part
28752 separately without squaring.
28753 * math/libm-test.inc (catan_test): Add more tests.
28754 (catanh_test): Likewise.
28755 * sysdeps/i386/fpu/libm-test-ulps: Update.
28756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28757
4220c3ef
AJ
287582013-04-27 Andreas Jaeger <aj@suse.de>
28759
28760 [BZ #15007]
28761 * stdlib/stdlib.h: Update guards for qecvt.
28762 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28763 <stdlib.h>.
28764
4721b2d1
AM
287652013-04-27 Allan McRae <allan@archlinux.org>
28766
28767 * sysdeps/i386/fpu/libm-test-ulps: Update.
28768
f0302940
JM
287692013-04-26 Joseph Myers <joseph@codesourcery.com>
28770
9457fd95
JM
28771 [BZ #15406]
28772 * math/s_catan.c: Include <float.h>.
28773 (__catan): Ensure underflow exception occurs for underflowed
28774 result.
28775 * math/s_catanf.c: Include <float.h>.
28776 (__catanf): Ensure underflow exception occurs for underflowed
28777 result.
28778 * math/s_catanh.c: Include <float.h>.
28779 (__catanh): Ensure underflow exception occurs for underflowed
28780 result.
28781 * math/s_catanhf.c: Include <float.h>.
28782 (__catanhf): Ensure underflow exception occurs for underflowed
28783 result.
28784 * math/s_catanhl.c: Include <float.h>.
28785 (__catanhl): Ensure underflow exception occurs for underflowed
28786 result.
28787 * math/s_catanl.c: Include <float.h>.
28788 (__catanl): Ensure underflow exception occurs for underflowed
28789 result.
28790 * math/libm-test.inc (catan_test): Add more tests.
28791 (catanh_test): Likewise.
28792
f0302940
JM
28793 [BZ #15405]
28794 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28795 underflowed result.
28796 * math/s_ccoshf.c (__ccoshf): Likewise.
28797 * math/s_ccoshl.c (__ccoshl): Likewise.
28798 * math/s_csin.c (__csin): Likewise.
28799 * math/s_csinf.c (__csinf): Likewise.
28800 * math/s_csinh.c (__csinh): Likewise.
28801 * math/s_csinhf.c (__csinhf): Likewise.
28802 * math/s_csinhl.c (__csinhl): Likewise.
28803 * math/s_csinl.c (__csinl): Likewise.
28804 * math/libm-test.inc (ccos_test): Add more tests.
28805 (ccosh_test): Likewise.
28806 (csin_test): Likewise.
28807 (csinh_test): Likewise.
28808
aa630f59
AZ
288092013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28810
28811 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28812 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28813 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28814 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28815 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28816 powerpc/power5+/fpu folders.
28817 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28818
28819
1b835983
MT
288202013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28821
28822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28823
73709b26
JM
288242013-04-25 Joseph Myers <joseph@codesourcery.com>
28825
28826 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28827 additions to variable.
28828 [$(config-machine) = x86_64] (modules-names): Likewise.
28829 ($(objpfx)tst-audit3): Remove dependency.
28830 ($(objpfx)tst-audit3.out): Likewise.
28831 ($(objpfx)tst-audit4): Likewise.
28832 ($(objpfx)tst-audit4.out): Likewise.
28833 ($(objpfx)tst-audit5): Likewise.
28834 ($(objpfx)tst-audit5.out): Likewise.
28835 ($(objpfx)tst-audit6): Likewise.
28836 ($(objpfx)tst-audit6.out): Likewise.
28837 ($(objpfx)tst-audit7): Likewise.
28838 ($(objpfx)tst-audit7.out): Likewise.
28839 (tst-audit3-ENV): Remove variable.
28840 (tst-audit4-ENV): Likewise.
28841 (tst-audit5-ENV): Likewise.
28842 (tst-audit6-ENV): Likewise.
28843 (tst-audit7-ENV): Likewise.
28844 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28845 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28846 addition to variable.
28847 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28849 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28850 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28851 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28852 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28853 tst-audit3, tst-audit4 and tst-audit5.
28854 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28855 tst-audit6 and tst-audit7.
28856 [$(subdir) = elf] (modules-names): Add audit modules for those
28857 tests.
28858 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28859 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28860 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28861 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28862 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28863 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28864 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28865 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28866 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28867 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28868 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28869 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28870 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28871 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28872 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28873 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28874 Likewise.
28875 [$(subdir) = elf && $(config-cflags-avx) = yes]
28876 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28877 [$(subdir) = elf && $(config-cflags-avx) = yes]
28878 (CFLAGS-tst-auditmod4a.c): Likewise.
28879 [$(subdir) = elf && $(config-cflags-avx) = yes]
28880 (CFLAGS-tst-auditmod4b.c): Likewise.
28881 [$(subdir) = elf && $(config-cflags-avx) = yes]
28882 (CFLAGS-tst-auditmod6b.c): Likewise.
28883 [$(subdir) = elf && $(config-cflags-avx) = yes]
28884 (CFLAGS-tst-auditmod6c.c): Likewise.
28885 [$(subdir) = elf && $(config-cflags-avx) = yes]
28886 (CFLAGS-tst-auditmod7b.c): Likewise.
28887 * elf/tst-audit3.c: Move to ...
28888 * sysdeps/x86_64/tst-audit3.c: ... here.
28889 * elf/tst-audit4.c: Move to ...
28890 * sysdeps/x86_64/tst-audit4.c: ... here.
28891 * elf/tst-audit5.c: Move to ...
28892 * sysdeps/x86_64/tst-audit5.c: ... here.
28893 * elf/tst-audit6.c: Move to ...
28894 * sysdeps/x86_64/tst-audit6.c: ... here.
28895 * elf/tst-audit7.c: Move to ...
28896 * sysdeps/x86_64/tst-audit7.c: ... here.
28897 * elf/tst-auditmod3a.c: Move to ...
28898 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28899 * elf/tst-auditmod3b.c: Move to ...
28900 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28901 * elf/tst-auditmod4a.c: Move to ...
28902 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28903 * elf/tst-auditmod4b.c: Move to ...
28904 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28905 * elf/tst-auditmod5a.c: Move to ...
28906 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28907 * elf/tst-auditmod5b.c: Move to ...
28908 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28909 * elf/tst-auditmod6a.c: Move to ...
28910 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28911 * elf/tst-auditmod6b.c: Move to ...
28912 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28913 * elf/tst-auditmod6c.c: Move to ...
28914 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28915 * elf/tst-auditmod7a.c: Move to ...
28916 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28917 * elf/tst-auditmod7b.c: Move to ...
28918 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28919
1ef74943
PP
289202013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28921
28922 [BZ #15366]
28923 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28924 define unconditionally.
28925 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28926 define unconditionally.
28927 (INT8_C, INT16_C, etc.): Likewise.
28928
93fd48c5
MR
289292013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28930
ae9552cf
MR
28931 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28932 __ehdr_start with hidden visibility.
28933
93fd48c5
MR
28934 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28935
418601aa
CD
289362013-04-24 Carlos O'Donell <carlos@redhat.com>
28937
28938 * math/libm-test.inc (cos_test): Use accurate hex constants.
28939 (sincost_test): Likewise.
28940
2f38fbfe
JM
289412013-04-24 Joseph Myers <joseph@codesourcery.com>
28942
5e221800
JM
28943 * math/libm-test.inc (catan_test): Add more tests.
28944 (catanh_test): Likewise.
28945
77f143fd
JM
28946 * math/s_catanf.c (__catanf): Use suffixed floating-point
28947 constants.
28948 * math/s_catanhf.c (__catanhf): Likewise.
28949 * math/s_catanhl.c (__catanhl): Likewise.
28950 * math/s_catanl.c (__catanl): Likewise.
28951
2f38fbfe
JM
28952 [BZ #15394]
28953 * math/s_catan.c (__catan): Calculate imaginary part of result
28954 with log1p not log unless computing log of number close to 0.
28955 * math/s_catanf.c (__catanf): Likewise.
28956 * math/s_catanl.c (__catanl): Likewise.
28957 * math/s_catanh.c (__catanh): Calculate real part of result with
28958 log1p not log unless computing log of number close to 0.
28959 * math/s_catanhf.c (__catanhf): Likewise.
28960 * math/s_catanhl.c (__catanhl): Likewise.
28961 * math/libm-test.inc (catan_test): Add more tests.
28962 (catanh_test): Likewise.
28963 * sysdeps/i386/fpu/libm-test-ulps: Update.
28964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28965
45d69176
SP
289662013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28967
28968 * benchtests/Makefile: Mention files in which fast and slow
28969 paths of math functions are implemented.
28970
87f51853
RM
289712013-04-23 Roland McGrath <roland@hack.frob.com>
28972
28973 * sysdeps/posix/timespec_get.c: New file.
28974
3c026539
AZ
289752013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28976
28977 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28978 POWER.
28979 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28980 for POWER.
28981 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28982 powerpc/power5/fpu folders.
28983 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28984 * benchtests/Makefile: Add modf testcase.
28985 * benchtests/bench-modf.c: New file: Benchmark test for mo
28986
ff491d14
SP
289872013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28988
28989 [BZ #14888]
28990 * time/Makefile (tests): Add tst-strptime-whitespace.
28991 * time/strptime_l.c (get_number): Use ISSPACE.
28992 (__strptime_internal): Likewise.
28993 * time/tst-strptime-whitespace.c: New test case.
28994
7ed3f4e8
AS
289952013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28996
28997 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28998 member.
28999 (_nss_files_init): Set it here.
29000
5c95f7b6
HC
290012013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29002
29003 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29004 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29005 unsigned.
29006
d34c9158
JBG
290072013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29008
29009 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29010
2169712d
SP
290112013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29012
29013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29014 size just once.
29015
29c5de99
DM
290162013-04-21 David S. Miller <davem@davemloft.net>
29017
29018 * po/ru.po: Update Russion translation from translation project.
29019
ccdad15d
AC
290202013-04-17 Adam Conrad <adconrad@0c3.net>
29021
29022 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29023 and setfsgid.
29024
0f122b8d
CD
290252013-04-17 Carlos O'Donell <carlos@redhat.com>
29026
5c5b07da 29027 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29028 * configure: Regenerate.
5c5b07da 29029 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29030 Add example to error message.
29031 * sysdeps/i386/configure: Regenerate.
29032
037714dd
SP
290332013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29034
29035 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29036 slowtan.
29037 * benchtests/cos-inputs: New file.
29038 * benchtests/slowcos-inputs: New file.
29039 * benchtests/slowcos.c: New file.
29040 * benchtests/slowtan-inputs: New file.
29041 * benchtests/slowtan.c: New file.
29042 * benchtests/tan-inputs: New file.
29043
e913141d
RM
290442013-04-16 Roland McGrath <roland@hack.frob.com>
29045
29046 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29047 considered kosher.
29048
a2964074
SP
290492013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29050
4856bcd2
SP
29051 * benchtests/Makefile: Include cppflags-iterator.mk to add
29052 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29053
a2964074
SP
29054 * Makefile.in (bench-clean): New target.
29055 * benchtests/Makefile (bench-clean): Likewise.
29056
9fbf9aca
DH
290572013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29058
29059 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29060
207d1e2a
TS
290612013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29062
29063 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29064
306dfba9
AS
290652013-04-15 Andreas Schwab <schwab@suse.de>
29066
29067 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29069 * nscd/pwdcache.c (cache_addpw): Likewise.
29070 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29071 more than recsize.
29072
206a6699
SP
290732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
29075 * benchtests/Makefile (bench): Write all output to
29076 bench-out.tmp together.
29077
0582f6b3
AS
290782013-04-15 Andreas Schwab <schwab@suse.de>
29079
29080 * nscd/nscd.c (main): Don't fork again after closing files.
29081
acb4325f
SP
290822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29083
5cb26d0a
SP
29084 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29085
acb4325f
SP
29086 * benchtests/Rules (bench-deps): Collect dependencies into a
29087 single variable. Add Makefile to dependencies.
29088 ($(objpfx)bench-%.c): Depend on bench-deps.
29089
47792506
RM
290902013-04-12 Roland McGrath <roland@hack.frob.com>
29091 Xavier Roche <roche+kml2@exalead.com>
29092
29093 [BZ #15361]
29094 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29095 just that it's a file descriptor.
29096 * manual/llio.texi (Synchronizing AIO Operations): Update description
29097 for EBADF error from aio_fsync.
29098
8fc1bee5
SP
290992013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29100
29101 * Rules (bench): Move target definition...
29102 * benchtests/Makefile: ... here.
29103
aba5e333
CD
291042013-04-11 Carlos O'Donell <carlos@redhat.com>
29105
29106 * math/libm-test.inc (cos_test): Fix PI/2 test.
29107 (sincos_test): Likewise.
29108 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29109 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29110
273cdee8
AS
291112013-04-11 Andreas Schwab <schwab@suse.de>
29112
6ecec3b6
AS
29113 [BZ #13988]
29114 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29115 accept exponent character only when digits were seen.
29116 * stdio-common/Makefile (tests): Add bug26.
29117 * stdio-common/bug26.c: New file.
29118
273cdee8
AS
29119 [BZ #14293]
29120 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29121 non-freeable.
29122
8da491f5
SP
291232013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29124
01dc6df9
SP
29125 * Makeconfig (rtld-prefix): Define built linker prefix.
29126 * Rules (run-bench): Use it.
29127 * math/Makefile (run-regen-ulps): Likewise.
29128
8da491f5
SP
29129 * Rules (bench): Remove eval.
29130
abe7f530
SP
291312013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29132 Roland McGrath <roland@hack.frob.com>
29133 Ondrej Bilka <neleai@seznam.cz>
29134
29135 [BZ #15346]
29136 * time/getdate.c: Include ctype.h and alloca.h.
29137 (__getdate_r): Trim leading and trailing spaces of input.
29138 * time/tst-getdate.c (tests): Add tests with leading and
29139 trailing spaces.
29140
61c23e62
RM
291412013-04-08 Roland McGrath <roland@hack.frob.com>
29142
29143 [BZ #14280]
29144 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29145 when computing value.
29146
7208a313
CD
291472013-04-06 Carlos O'Donell <carlos@redhat.com>
29148
085b2d41
CD
29149 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29150 Use testrun.sh to run libm tests.
29151
7208a313
CD
29152 [BZ #15309]
29153 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29154
872c0acd
MM
291552013-04-06 Marko Myllynen <myllynen@redhat.com>
29156
29157 [BZ #15264]
29158 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29159
26510bdd
CD
291602013-04-06 Carlos O'Donell <carlos@redhat.com>
29161
29162 * Makefile.in (regen-ulps): New target.
29163 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29164 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29165 [ifneq (no,$(PERL)] (regen-ulps): New target.
29166 [ifeq (no,$(PERL)] (regen-ulps): New target.
29167 * math/libm-test.inc (ulps_file_name): Define.
29168 (output_dir): New variable.
29169 (options): Add "output-dir" option.
29170 (parse_opt): Handle 'o' case.
29171 (main): If output_dir is non-NULL use it as a prefix
29172 otherwise use "".
29173 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29174
a01f19c8
CD
291752013-04-06 Carlos O'Donell <carlos@redhat.com>
29176
29177 [BZ #10060, #10062]
29178 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29179 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29180 fail configure if __sync_val_compare_and_swap is not inlined.
29181 * sysdeps/i386/configure: Regenerate.
29182 * configure.in: Build for i686 when configured for i386.
29183 * configure: Regenerate.
29184 * README: Remove i386 reference.
29185
b7a329a5
CD
291862013-04-06 Carlos O'Donell <carlos@redhat.com>
29187
29188 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29190
bf0f50df
TS
291912013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29192
ee091edf
TS
29193 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29194 (lmsnanval): New variables.
29195 (F): Add conversion tests.
29196 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29197 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29198
a8b792d6
TS
29199 * stdio-common/tstdiomisc.c (F): Properly collect individual
29200 tests' results.
29201
a1cbf437
TS
29202 [BZ #14686, #15336]
29203 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29204 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29205 Instead, use input NaN values or generate a qNaN by arithmetic
29206 operation. Also fix bugs to comply with the standard.
29207 * math/libm-test.inc (remainder_test): Add more tests.
29208
8b43a0c9
TS
29209 [BZ #15335, #15342]
29210 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29212 input NaN values or generate a qNaN by arithmetic operation.
29213
d91da4ce
TS
29214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29215 unreachable code.
29216
bf0f50df
TS
29217 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29218 definitions.
29219
05e166c8
JM
292202013-04-03 Joseph Myers <joseph@codesourcery.com>
29221
29222 [BZ #14478]
29223 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29224 underflowed result.
29225 * math/s_cexpf.c (__cexpf): Likewise.
29226 * math/s_cexpl.c (__cexpl): Likewise.
29227 * math/libm-test.inc (cexp_test): Add more tests.
29228
1cef1b19
AS
292292013-04-03 Andreas Schwab <schwab@suse.de>
29230
29231 [BZ #15330]
29232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29233 order arrays from heap if bigger than alloca cutoff.
29234
74d87055
TS
292352013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29236
29237 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29238 (SNAN_TESTS_double): Refer to GCC PR56831.
29239 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29240 GCC PR56828.
29241
d755bba4
SP
292422013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29243
90d5d5bb
SP
29244 * Rules (bench): Move bench.out after the run is complete.
29245
73e0cd5d
SP
29246 * Rules (bench): Echo currently running benchmark.
29247
64aabd4b
SP
29248 * benchtests/Makefile (bench): Add atan and slowatan.
29249 * benchtests/atan-inputs: New file.
29250 * benchtests/slowatan-inputs: New file.
29251 * benchtests/slowatan.c: New file.
29252
c871eccd
SP
29253 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29254 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29255 its value.
29256
d755bba4
SP
29257 [BZ #15305]
29258 * sysdeps/unix/sysv/linux/kernel-features.h
29259 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29260 __ASSUME_XFS_RESTRICTED_CHOWN.
29261 * sysdeps/unix/sysv/linux/pathconf.c
29262 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29263 Save and restore errno.
29264
52ce4860
JM
292652013-04-02 Joseph Myers <joseph@codesourcery.com>
29266
29267 [BZ #15327]
29268 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29269 arguments using __kernel_casinh.
29270 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29271 arguments using __kernel_casinhf.
29272 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29273 arguments using __kernel_casinhl.
29274 * math/libm-test.inc (cacosh_test): Add more tests.
29275 * sysdeps/i386/fpu/libm-test-ulps: Update.
29276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277
81f311c2
SP
292782013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29279
e7906a47
SP
29280 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29282
92e3664b
SP
29283 * bench/Makefile (bench): Add sin and slowsin.
29284 * benchtests/sin-inputs: New file.
29285 * benchtests/slowsin-inputs: New file.
29286 * benchtests/slowsin.c: New file.
29287
81f311c2
SP
29288 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29289 (bench): Add slowexp and slowpow.
29290 (exp-ITER): Increase iterations.
29291 (pow-ITER): Likewise.
29292 * benchtests/exp-inputs: Change input.
29293 * benchtests/pow-inputs: Likewise.
29294 * benchtests/slowexp-inputs: New file.
29295 * benchtests/slowexp.c: New file.
29296 * benchtests/slowpow-inputs: New file.
29297 * benchtests/slowpow.c: New file.
29298
ab0f1aa9
AZ
292992013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29300
29301 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29302 instructions.
29303 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29306 * benchtests/Makefile: Add rint benchtest.
29307 * benchtests/rint-inputs: Input for rint benchtest.
29308
57267616
TS
293092013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29310
29311 * Versions.def (libm): Add GLIBC_2.18.
29312 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29313 hidden libm prototypes.
29314 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29315 * math/Makefile (libm-calls): Add s_issignaling.
29316 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29317 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29318 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29319 declaration.
29320 * math/math.h [__USE_GNU] (issignaling): New macro.
29321 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29322 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29323 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29326 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29327 * manual/arith.texi (issignaling): New section.
29328 * manual/libm-err-tab.pl (@all_functions): Update comment.
29329 * math/gen-libm-test.pl (parse_args): Apply special handling for
29330 issignaling.
29331 * math/libm-test.inc (print_float, issignaling_test): New
29332 functions.
29333 (check_float_internal): Add issignaling checks.
29334 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29335 default definition.
29336 * sysdeps/powerpc/math-tests.h: New file.
29337 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29338 tests.
29339 * math/test-snan.c (TEST_FUNC): Likewise.
29340
6142896d
DM
293412013-03-30 David S. Miller <davem@davemloft.net>
29342
29343 * po/de.po: Update from translation team.
29344
ccc8cadf
JM
293452013-03-30 Joseph Myers <joseph@codesourcery.com>
29346
29347 [BZ #10357]
29348 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29349 imaginary part less than 1.0 and real part less than 0.5
29350 specially.
29351 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29352 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29353 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29354 (cacos_test): Add more tests.
29355 (casin_test): Likewise.
29356 (casinh_test): Likewise.
29357 * sysdeps/i386/fpu/libm-test-ulps: Update.
29358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29359
0f6a8d4b
SP
293602013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29361
0d1029de
SP
29362 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29363 ONE with its value.
29364
c2d94018
SP
29365 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29366 (__pow_mp): Replace ONE and MONE with their values.
29367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29368 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29370 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29371 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29372 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29373
27ec37f1
SP
29374 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29375
a64d7e0e
SP
29376 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29377 (__pow_mp): Replace ZERO and MZERO with their values.
29378 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29380 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29382 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29383 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29384 (__sqr): Likewise.
29385
d26dd3eb
SP
29386 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29387
0f6a8d4b
SP
29388 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29389
e57b0c61
RM
293902013-03-28 Roland McGrath <roland@hack.frob.com>
29391
29392 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29393 Declare with __attribute__ ((weak)).
29394 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29395 Call __call_tls_dtors only if it's not NULL.
29396
356b3480
RM
293972013-03-28 Roland McGrath <roland@hack.frob.com>
29398
288f7d79
RM
29399 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29400 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29401 magic __ehdr_start linker symbol if it's defined.
29402 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29403 them up here if it was already done.
29404
dc0a0263
RM
29405 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29406 (_dl_aux_init): Use const in cast when setting it.
29407 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29408 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29409 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29410
3d3436ae
RM
29411 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29412 Declare them here.
29413 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29414 * csu/libc-tls.c: Nor here.
29415 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29416
356b3480
RM
29417 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29418 (__libc_message): Never call vsyslog.
29419
b0f1246a
AM
294202013-03-28 Alan Modra <amodra@gmail.com>
29421
29422 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29423 Define as empty.
29424 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29425 Likewise.
29426
fbbe2b9a
AZ
294272013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29428
29429 [BZ #15214]
29430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29431 underflow.
29432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29433
1728ab37
SP
294342013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29435
7a86be6e
SP
29436 [BZ #15304]
29437 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29438 Don't add gid passed as argument.
29439
1728ab37
SP
29440 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29441
3a7182a1
JM
294422013-03-27 Joseph Myers <joseph@codesourcery.com>
29443
29444 [BZ #15307]
29445 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29446 imaginary part between 1.0 and 1.5 and real part less than 0.5
29447 specially.
29448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29450 * math/libm-test.inc (cacos_test): Add more tests.
29451 (casin_test): Likewise.
29452 (casinh_test): Likewise.
29453 * sysdeps/i386/fpu/libm-test-ulps: Update.
29454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29455
6f2e90e7
SP
294562013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29457
5739f705
SP
29458 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29459 constants.
29460 (norm): Likewise.
29461 (denorm): Likewise.
29462 (__dbl_mp): Likewise.
29463 (add_magnitudes): Likewise.
29464 (sub_magnitudes): Likewise.
29465 (__add): Likewise.
29466 (__sub): Likewise.
29467 (__mul): Likewise.
29468 (__sqr): Likewise.
29469 (__inv): Likewise.
29470 (__dvd): Likewise.
29471
e375e83d
SP
29472 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29473 commented code.
29474 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29475 (__dubcos): Likewise.
29476 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29477 (__ieee754_acos): Likewise.
29478 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29479 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29480 (__exp1): Likewise.
29481 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29483 (log1): Likewise.
29484 (my_log2): Likewise.
29485 (checkint): Likewise.
29486 * sysdeps/ieee754/dbl-64/e_remainder.c
29487 (__ieee754_remainder): Likewise.
29488 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29490 (bsloww): Likewise.
29491 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29492
6f2e90e7
SP
29493 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29495 MANTISSA_STORE_T to store computations on mantissa. Use
29496 macros for rounding and division.
29497 (denorm): Likewise.
29498 (__dbl_mp): Likewise.
29499 (add_magnitudes): Likewise.
29500 (sub_magnitudes): Likewise.
29501 (__mul): Likewise.
29502 (__sqr): Likewise.
29503 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29504 powers of two in terms of TWOPOW macro.
29505 (mp_no): Make type of mantissa as MANTISSA_T.
29506 [!RADIXI]: Define RADIXI.
29507 [!TWO52]: Define TWO52.
29508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29509
fce14d4e
AZ
295102013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29511
29512 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29513 llroundl symbol when building for PPC32.
29514
9ad027fb
MW
295152013-03-24 Mark H Weaver <mhw@netris.org>
29516
29517 * manual/arith.texi (Normalization Functions): Fix prototypes for
29518 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29519
e42a38dd
AZ
295202013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29521
29522 [BZ #13889]
29523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29524 high value to check if expl overflow.
29525 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29526 to check for underflow and overflow.
29527 * math/libm-test.inc: Add exp test.
29528
2e0fb521
DL
295292013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29530
29531 [BZ #11120]
29532 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29533 with NOT_IN_libc.
29534
b5784d95
AZ
295352013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29536
29537 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29538 symbol.
29539
5aa4a1a1
TS
295402013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29541
bdef0be7
TS
29542 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29543 wrap blocks consisting of several statements.
29544
5aa4a1a1
TS
29545 * sysdeps/generic/math-tests.h: New file.
29546 * sysdeps/i386/fpu/math-tests.h: Likewise.
29547 * math/test-snan.c: Include it.
29548 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29549
98c48fe5
JM
295502013-03-21 Joseph Myers <joseph@codesourcery.com>
29551
29552 [BZ #15285]
29553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29554 (__ieee754_j0l): Do not improve calculations using cos of twice
29555 input for inputs above LDBL_MAX / 2.0L.
29556 (__ieee754_y0l): Likewise.
29557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29558 (__ieee754_j1l): Do not improve calculations using cos of twice
29559 input for inputs above LDBL_MAX / 2.0L.
29560 (__ieee754_y1l): Likewise.
29561 * math/libm-test.inc (j0_test): Add another test.
29562 (j1_test): Likewise.
29563 (y0_test): Likewise.
29564 (y1_test): Likewise.
29565 * sysdeps/i386/fpu/libm-test-ulps: Update.
29566
3775a8bc
SP
295672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29568
29569 * Rules ($(objpfx)bench-%.c): Include code from a C source
29570 file.
29571
0a1b2ae6
JM
295722013-03-21 Joseph Myers <joseph@codesourcery.com>
29573
29574 [BZ #15287]
29575 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29576 imaginary part 1.0 and real part less than 0.5 specially.
29577 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29578 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29579 * math/libm-test.inc (cacos_test): Add more tests.
29580 (casin_test): Likewise.
29581 (casinh_test): Likewise.
29582 * sysdeps/i386/fpu/libm-test-ulps: Update.
29583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29584
b33d4ce4
SP
295852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29586
29587 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29588 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29589
bef0b507
JM
295902013-03-20 Joseph Myers <joseph@codesourcery.com>
29591
29592 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29593 * config.make.in (config-cflags-sse4): Remove variable.
29594 (config-cflags-avx): Likewise.
29595 (config-cflags-sse2avx): Likewise.
29596 (config-cflags-novzeroupper): Likewise.
29597 (config-asflags-i686): Likewise.
29598 (have-mfma4): Likewise.
29599 (have-as-vis3): Likewise.
29600 (MIG): Likewise.
29601 * configure.in (MIG): Do not AC_SUBST.
29602 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29603 (libc_cv_cc_sse4): Do not AC_SUBST.
29604 (libc_cv_cc_avx): Likewise.
29605 (libc_cv_cc_sse2avx): Likewise.
29606 (libc_cv_cc_novzeroupper): Likewise.
29607 (libc_cv_cc_fma4): Likewise.
29608 (libc_cv_as_i686): Likewise.
29609 (libc_cv_sparc_as_vis3): Likewise.
29610 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29611 LIBC_CONFIG_VAR.
29612 (config-asflags-i686): Likewise.
29613 (config-cflags-avx): Likewise.
29614 (config-cflags-sse2avx): Likewise.
29615 (have-mfma4): Likewise.
29616 (config-cflags-novzeroupper): Likewise.
29617 * sysdeps/mach/configure.in (MIG): Likewise.
29618 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29619 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29620 LIBC_CONFIG_VAR.
29621 (config-cflags-avx): Likewise.
29622 (config-cflags-sse2avx): Likewise.
29623 (have-mfma4): Likewise.
29624 (config-cflags-novzeroupper): Likewise.
29625 * configure: Regenerated.
29626 * sysdeps/i386/configure: Likewise.
29627 * sysdeps/mach/configure: Likewise.
29628 * sysdeps/sparc/configure: Likewise.
29629 * sysdeps/x86_64/configure: Likewise.
29630
912cc4b3
RM
296312013-03-20 Roland McGrath <roland@hack.frob.com>
29632
29633 [BZ #14812]
29634 * locale/programs/localedef.c (options): Put N_ translation marker
29635 on argument names, not just descriptions.
29636
04eed2b0
MS
296372013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29638
29639 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29640
a065ceff
OB
296412013-03-20 Ondřej Bílka <neleai@seznam.cz>
29642
9bb2a810 29643 [BZ #14176]
a065ceff
OB
29644 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29645
a600e5ce
RM
296462013-03-19 Roland McGrath <roland@hack.frob.com>
29647
29648 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29649 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29650 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29651 [!BEFORE_ABORT] (before_abort): New function.
29652 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29653 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29654 (writev_for_fatal): New function.
29655 (WRITEV_FOR_FATAL): New macro; call that.
29656 (backtrace_and_maps): New function.
29657 (BEFORE_ABORT): New macro; call that.
29658 (struct str_list): Type removed.
29659 (__libc_message, __libc_fatal): Functions removed.
29660 Include <sysdeps/posix/libc_fatal.c> instead.
29661
6b18bea6
JM
296622013-03-19 Joseph Myers <joseph@codesourcery.com>
29663
29664 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29665 constants.
29666 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29667 double constants.
29668
aaa8cb4b
AS
296692013-03-19 Andreas Schwab <schwab@suse.de>
29670
44673770
AS
29671 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29672 * sysdeps/gnu/configure: Regenerate.
29673
aaa8cb4b
AS
29674 * configure.in: Substitute libc_cv_rtlddir.
29675 * configure: Regenerate.
29676 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29677 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29678 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29679 * elf/Makefile (install-others, CFLAGS-interp.c)
29680 (ldso_install, common-ldd-rewrite): Likewise.
29681 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29682 $(inst_slibdir)/$(rtld-installed-name).
29683 * scripts/rellns-sh: Add -p option.
29684 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29685 for source.
29686
d3cfc668
SP
296872013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29688
29689 * manual/nptl.texi: Renamed to ...
29690 * manual/threads.texi: ... this.
29691 * manual/Makefile (chapters): Update.
29692
0e2b9cdd
RM
296932013-03-18 Roland McGrath <roland@hack.frob.com>
29694
29695 [BZ #14812]
29696 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29697 on argument names, not just descriptions.
0e2b9cdd
RM
29698 * malloc/memusagestat.c (options): Likewise.
29699 * nss/getent.c (options): Likewise.
63270c24
RM
29700
297012013-03-18 Benno Schulenberg <bensberg@justemail.net>
29702
29703 [BZ #14812]
29704 * iconv/iconv_prog.c (options): Put N_ translation marker
29705 on argument names, not just descriptions.
29706 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29707
b2e1393c
OB
297082013-03-18 Ondrej Bilka <neleai@seznam.cz>
29709
29710 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29711 implementation which is faster on all x86_64 architectures.
29712 Tested on AMD, Intel Nehalem, SNB, IVB.
29713 * sysdeps/x86_64/strnlen.S: Likewise.
29714
29715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29716 Remove all multiarch strlen and strnlen versions.
29717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29718 Remove strlen and strnlen related parts.
29719
29720 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29721 Inline strlen part.
29722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29723
29724 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29725 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29726 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29727 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29728 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29729 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29730
ec4ff04d
CD
297312013-03-17 Carlos O'Donell <carlos@redhat.com>
29732
29733 * manual/memory.texi (Malloc Tunable Parameters):
29734 Sort parameters alphabetically. Add comments for missing entries.
29735
cd18e90a
DM
297362013-03-17 David S. Miller <davem@davemloft.net>
29737
29738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29739
2a185d32
JM
297402013-03-16 Joseph Myers <joseph@codesourcery.com>
29741
d2f9799e
JM
29742 [BZ #15283]
29743 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29744 for arguments at most half maximum finite value.
29745 * math/libm-test.inc (j0_test): Add more tests.
29746 (j1_test): Likewise.
29747 (y0_test): Likewise.
29748 (y1_test): Likewise.
29749 * sysdeps/i386/fpu/libm-test-ulps: Update.
29750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29751
2a185d32
JM
29752 [BZ #14155]
29753 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29754 1 / x and functions P and Q for arguments above 0x1p256L.
29755 (__ieee754_y0l): Likewise.
29756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29757 (__ieee754_y1l): Likewise.
29758 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29759 (j1_test): Likewise.
29760 (y0_test): Likewise.
29761 (y1_test): Likewise.
29762
6cbec759
TS
297632013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29764
29765 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29766 variable.
29767
bc16e260
RM
297682013-03-15 Roland McGrath <roland@hack.frob.com>
29769
aefc9b8c
RM
29770 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29771 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29772 zero since it's initialized to EXEC_PAGESIZE.
29773
bc16e260
RM
29774 * sysdeps/unix/sysv/linux/ldsodefs.h
29775 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29776 * sysdeps/generic/ldsodefs.h: ... here.
29777
a57da955
TS
297782013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29779
af00a34d
TS
29780 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29781
495ded2c
TS
29782 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29783 math/test-snan.c.
29784 * math/test-snan.c: Renamed from
29785 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29786 * math/Makefile (tests): Add test-snan.
29787 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29788 test-powerpc-snan.
29789
777b0332
TS
29790 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29791 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29792 functions.
29793 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29794 __builtin_nan family of functions.
29795 * math/libm-test.inc (initialize): Initialize qnan_value with
29796 __builtin_nan family of functions.
29797 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29798 Remove variables.
29799 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29800 Remove functions.
29801 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29802 storage class. Initialize qNaN_var and sNaN_var with
29803 __builtin_nan and __builtin_nans families of functions,
29804 respectively.
29805
64d063b8
TS
29806 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29807 (sqrt_test): Remove duplicate test with qNaN input.
29808 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29809 (round_test, signbit_test, significand_test): Note missing +/-Inf
29810 as well as qNaN tests.
29811
67e971f1
TS
29812 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29813 qNaN_var. Fix a few strings, too.
29814 * math/libm-test.inc (nan_value): Rename to qnan_value.
29815 * math/gen-libm-test.pl (%beautify): Adjust to that.
29816 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29817 * math/test-misc.c (main): Likewise.
29818 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29819 to __qnan_bytes, and __qnan_union, respectively.
29820 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29821 Likewise.
29822 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29823 and lqnanval, respectively.
29824 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29825 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29826 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29827 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29828
64487e12
TS
29829 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29830 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29831 doubles.
29832
e015e27b
TS
29833 * math/test-misc.c (main): Fix copy'n'pastos.
29834 * misc/tst-efgcvt.c (special): Likewise.
29835
a57da955
TS
29836 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29837 Remove declarations.
29838
1e380345
SP
298392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29840
29841 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29842 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29843 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29844 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29845
ef26eece
AZ
298462013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29847
29848 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29849 macro to return vdso values correctly in IFUNC implementations.
29850 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29851 Optimization by using IFUNC.
29852
8cfdb7e0
SP
298532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29854 Richard Henderson <rth@redhat.com>
29855 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29856
29857 * Makefile.in (bench): New target.
29858 * NEWS: Mention the benchmark framework.
29859 * Rules (bench): Likewise.
29860 (binaries-bench): Generate binaries for functions to
29861 benchmark.
29862 * benchtests/Makefile: New makefile for benchmark tests.
29863 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29864 programs.
29865 * benchtests/exp-inputs: New input file for EXP function.
29866 * benchtests/pow-inputs: New input file for POW function.
29867 * scripts/bench.pl: New script to generate source files for
29868 benchmark programs.
29869
bcda9880
SP
298702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
d22ca8cd
SP
29872 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29873 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29874 computations on mantissa. Use macros for rounding and
29875 division.
29876 (denorm): Likewise.
29877 (__dbl_mp): Likewise.
29878 (add_magnitudes): Likewise.
29879 (sub_magnitudes): Likewise.
29880 (__mul): Likewise.
29881 (__sqr): Likewise.
29882 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29883 powers of two in terms of TWOPOW macro.
29884 (mp_no): Make type of mantissa as MANTISSA_T.
29885 [!RADIXI]: Define RADIXI.
29886 [!TWO52]: Define TWO52.
29887 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29888
bcda9880
SP
29889 * manual/nptl.texi (cindex): Modify threads to pthreads.
29890
06d5adfb
JM
298912013-03-15 Joseph Myers <joseph@codesourcery.com>
29892
29893 * sysdeps/x86_64/preconfigure: Regenerated.
29894
41c7328e
JM
298952013-03-14 Joseph Myers <joseph@codesourcery.com>
29896
29897 [BZ #14155]
29898 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29899 0x1p28 and above.
29900 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29901 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29902 0x1p28 and above.
29903 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29904 * math/libm-test.inc (j0_test): Do not allow one spurious
29905 underflow exception.
29906 (y1_test): Likewise.
29907
e25cfa60
SP
299082013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29909
0409959c
SP
29910 * manual/Makefile (chapters): Add nptl.
29911 * manual/debug.texi (Debugging Support): Add link to Threads
29912 chapter.
29913 * manual/nptl.texi: New file.
29914
e25cfa60
SP
29915 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29916
58a1335e
PB
299172013-03-14 Petr Baudis <pasky@ucw.cz>
29918
29919 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29920 for non-NULL pointer before the memory validity test. Pointed
29921 out by Holger Brunck <holger.brunck@keymile.com>.
29922
9dc7c64f
AS
299232013-03-13 Andreas Schwab <schwab@suse.de>
29924
29925 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29926 instead of .os.
29927
54206aa6
JM
299282013-03-13 Joseph Myers <joseph@codesourcery.com>
29929
29930 * timezone/zic.c: Update from tzcode 2013b.
29931
e98cdb38
CD
299322013-03-12 Carlos O'Donell <carlos@redhat.com>
29933
29934 * manual/install.texi (Configuring and compiling):
29935 Mention i686 and i586.
29936 * INSTALL: Regenerate.
29937
9967e003
RM
299382013-03-12 Roland McGrath <roland@hack.frob.com>
29939
29940 * sysdeps/init_array/elf-init.c: New file.
29941 * csu/elf-init.c
29942 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29943 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29944
29945 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29946 __gmon_start__ as global, but as static with a .preinit_array pointer.
29947 * sysdeps/init_array/gmon-start.c: New file. Use that.
29948 * sysdeps/init_array/crti.S: New file, empty except for comments.
29949 * sysdeps/init_array/crtn.S: Likewise.
29950
e6b5a293 299512013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29952
29953 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29954 definining bcopy.
80f844c9
OB
29955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29956 Remove Prefer_SSE_for_memop.
29957 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29958 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29959 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29961 memset-x86-64.
80f844c9 29962 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29963 Remove bzero, memset ifunc support.
80f844c9
OB
29964 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29965 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29966 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29967 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29968
fb6b0fcb
AS
299692013-03-11 Andreas Schwab <schwab@suse.de>
29970
29971 [BZ #15234]
29972 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29973 by SHLIB_COMPAT.
29974 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29975 (GLIBC_2.16): Remove pthread_atfork.
29976
3e6bd4b1
PP
299772013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29978
29979 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29980 (ptestcases.h): Likewise.
29981
222d7f00
RM
299822013-03-08 Roland McGrath <roland@hack.frob.com>
29983
29984 * Makeconfig ($(common-objpfx)config.status): Depend on
29985 sysdeps/*/preconfigure{,.in} too.
29986
1ba4f030
JM
299872013-03-08 Joseph Myers <joseph@codesourcery.com>
29988
a222d91a
JM
29989 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29990 (__free_hook): Use void * instead of __malloc_ptr_t.
29991 (__malloc_hook): Likewise.
29992 (__realloc_hook): Likewise.
29993 (__memalign_hook): Likewise.
29994 (__after_morecore_hook): Likewise.
29995 * malloc/arena.c (save_malloc_hook): Likewise.
29996 (save_free_hook): Likewise.
29997 * malloc/hooks.c (malloc_hook_ini): Likewise.
29998 (realloc_hook_ini): Likewise.
29999 (memalign_hook_ini): Likewise.
30000 * malloc/malloc.c (malloc_hook_ini): Likewise.
30001 (realloc_hook_ini): Likewise.
30002 (memalign_hook_ini): Likewise.
30003 (__free_hook): Likewise.
30004 (__malloc_hook): Likewise.
30005 (__realloc_hook): Likewise.
30006 (__memalign_hook): Likewise.
30007 (__libc_malloc): Likewise.
30008 (__libc_free): Likewise.
30009 (__libc_realloc): Likewise.
30010 (__libc_memalign): Likewise.
30011 (__libc_valloc): Likewise.
30012 (__libc_pvalloc): Likewise.
30013 (__libc_calloc): Likewise.
30014 (__posix_memalign): Likewise.
30015 * malloc/morecore.c (__sbrk): Likewise.
30016 (__default_morecore): Likewise.
30017
5cc45e10
JM
30018 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30019
dd54b864
JM
30020 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30021 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30022 __malloc_ptrdiff_t.
30023
1ba4f030
JM
30024 * malloc/malloc.h (__malloc_size_t): Remove macro.
30025 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30026 __malloc_size_t.
30027 (old_memalign_hook): Likewise.
30028 (old_realloc_hook): Likewise.
30029 (struct hdr): Likewise.
30030 (flood): Likewise.
30031 (mallochook): Likewise.
30032 (memalignhook): Likewise.
30033 (reallochook): Likewise.
30034 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30035 (tr_old_realloc_hook): Likewise.
30036 (tr_old_memalign_hook): Likewise.
30037 (tr_mallochook): Likewise.
30038 (tr_reallochook): Likewise.
30039 (tr_memalignhook): Likewise.
30040
edf66e57
AZ
300412013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30042
30043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30044 default_ldbl_pack and using as default implementation.
30045 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30046 implementation.
30047 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30048 redundant definition.
30049 (ldbl_insert_mantissa): Likewise.
30050 (ldbl_canonicalize): Likewise.
30051 (ldbl_nearbyint): Likewise.
30052 (ldbl_pack): Rename to ldbl_pack_ppc.
30053 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30054 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30055 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30056
6d9145d8
SP
300572013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30058
30059 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30060 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30061 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30062 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30065 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30066 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30067
4dd4e157
AJ
300682013-03-07 Andreas Jaeger <aj@suse.de>
30069
30070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30071 bits/mman-linux.h.
30072
adbb8027
SP
300732013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30074
ce544b5b
SP
30075 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30076 Include mpa.h and declare __MPEXP.
30077 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30078 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30079 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30080 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30082 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30083 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30084
4cc149fd
SP
30085 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30086 (__slowpow): Use long double EXPL and LOGL functions to
30087 compute POW.
30088 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30089 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30090 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30091 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30092 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30093 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30094
e6ebd4a7
SP
30095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30096 intermediate variable to calculate exponent.
30097 (__sqr): Likewise.
30098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30099 Likewise.
30100 (__sqr): Likewise.
30101
82a9811d
SP
30102 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30103 [!NO__SQR]: Define __sqr.
30104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30105 and NO__SQR. Remove all code except __mul and __sqr. Include
30106 sysdeps/ieee754/dbl-64/mpa.c.
30107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30108
adbb8027
SP
30109 [BZ #12723]
30110 * posix/Makefile (tests): Add tst-pathconf.
30111 * posix/tst-pathconf.c: New test case.
30112 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30113 _PC_PIPE_BUF.
30114 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30115
39120df9
PF
301162013-03-06 Patsy Franklin <pfrankli@redhat.com>
30117
30118 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30119
67525cb8
AJ
301202013-03-06 Andreas Jaeger <aj@suse.de>
30121
664a9ce4
AJ
30122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30123 definition via __MAP_ANONYMOUS.
30124
8e39047d
AJ
30125 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30126 it's not part of Linux headers.
30127
67525cb8
AJ
30128 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30129 (MAP_HUGE_MASK): Define.
30130
30131 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30132 Define.
30133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30135 Define.
30136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30138 Define.
30139 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30140 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30141 Define.
30142 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30143
30144 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30145 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30146 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30147 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30148 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30149 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30150
30151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30152 Handle f2fs.
30153
30154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30155 Handle f2fs and efivarfs.
30156
30157 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30158 f2fs.
30159
30160 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30161 (EFIVARFS_MAGIC): Add.
30162 (F2FS_LINK_MAX): Add.
30163
e1b42695
PP
301642013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30165
30166 * stdio-common/vfprintf.c: Replace __builtin_expect with
30167 __glibc_unlikely.
30168
2d67d91a
JM
301692013-03-06 Joseph Myers <joseph@codesourcery.com>
30170
30171 [BZ #13550]
30172 * sysdeps/generic/bp-sym.h: Remove file.
30173 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30174 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30175 <bp-sym.h> and <bp-asm.h>.
30176 (__longjmp): Don't use BP_SYM.
30177 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30178 and <bp-asm.h>.
30179 (memcpy): Don't use BP_SYM.
30180 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30181 <bp-sym.h> and <bp-asm.h>.
30182 (memcpy): Don't use BP_SYM.
30183 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30184 <bp-asm.h>.
30185 (memcpy): Don't use BP_SYM.
30186 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30187 <bp-asm.h>.
30188 (memset): Don't use BP_SYM.
30189 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30190 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30191 (__bzero): Don't use BP_SYM.
30192 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30193 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30194 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30195 <bp-sym.h> and <bp-asm.h>.
30196 (memcmp): Don't use BP_SYM. Remove comment about bounded
30197 pointers.
30198 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30199 <bp-sym.h> and <bp-asm.h>.
30200 (memcpy): Don't use BP_SYM.
30201 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30202 <bp-sym.h> and <bp-asm.h>.
30203 (memset): Don't use BP_SYM.
30204 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30205 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30206 (__bzero): Don't use BP_SYM.
30207 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30208 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30209 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30210 <bp-sym.h> and <bp-asm.h>.
30211 (strncmp): Don't use BP_SYM. Remove comment about bounded
30212 pointers.
30213 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30214 <bp-sym.h> and <bp-asm.h>.
30215 (memcpy): Don't use BP_SYM.
30216 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30217 <bp-sym.h> and <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/power7/memchr.S: Don't include
30225 <bp-sym.h> and <bp-asm.h>.
30226 (__memchr): Don't use BP_SYM.
30227 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30228 <bp-sym.h> and <bp-asm.h>.
30229 (memcmp): Don't use BP_SYM. Remove comment about bounded
30230 pointers.
30231 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30232 <bp-sym.h> and <bp-asm.h>.
30233 (memcpy): Don't use BP_SYM.
30234 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30235 <bp-sym.h> and <bp-asm.h>.
30236 (__mempcpy): Don't use BP_SYM.
30237 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30238 <bp-sym.h> and <bp-asm.h>.
30239 (__memrchr): Don't use BP_SYM.
30240 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30241 <bp-sym.h> and <bp-asm.h>.
30242 (memset): Don't use BP_SYM.
30243 (__bzero): Likewise.
30244 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30245 <bp-sym.h> and <bp-asm.h>.
30246 (__rawmemchr): Don't use BP_SYM.
30247 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30248 <bp-sym.h> and <bp-asm.h>.
30249 (__STRCMP): Don't use BP_SYM.
30250 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30251 <bp-sym.h> and <bp-asm.h>.
30252 (strchr): Don't use BP_SYM.
30253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30254 <bp-sym.h> and <bp-asm.h>.
30255 (__strchrnul): Don't use BP_SYM.
30256 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30257 <bp-sym.h> and <bp-asm.h>.
30258 (strlen): Don't use BP_SYM.
30259 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30260 <bp-sym.h> and <bp-asm.h>.
30261 (strncmp): Don't use BP_SYM. Remove comment about bounded
30262 pointers.
30263 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30264 <bp-sym.h> and <bp-asm.h>.
30265 (__strnlen): Don't use BP_SYM.
30266 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30267 <bp-sym.h> and <bp-asm.h>.
30268 (__GI__setjmp): Don't use BP_SYM.
30269 (_setjmp): Likewise.
30270 (__sigsetjmp): Likewise.
30271 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30272 (L(start_addresses)): Don't use BP_SYM.
30273 (_start): Likewise.
30274 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30275 <bp-asm.h>.
30276 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30277 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30278 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30279 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30280 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30281 <bp-asm.h>.
30282 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30283 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30284 about bounded pointers.
30285 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30286 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30287 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30288 <bp-asm.h>.
30289 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30290 about bounded pointers. Remove GKM FIXME comments.
30291 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30292 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30293 <bp-asm.h>.
30294 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30295 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30296 Remove GKM FIXME comments.
30297 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30298 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30299 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30300 <bp-asm.h>.
30301 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30302 about bounded pointers. Remove GKM FIXME comment.
30303 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30304 and <bp-asm.h>.
30305 (strncmp): Don't use BP_SYM. Remove comment about bounded
30306 pointers.
30307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30308 <bp-sym.h> and <bp-asm.h>.
30309 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30311 <bp-sym.h> and <bp-asm.h>.
30312 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30313 comment.
30314
cdcf361f
PP
303152013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30316
30317 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30318 call free(NULL).
30319
3c4a2b15
DM
303202013-03-05 David S. Miller <davem@davemloft.net>
30321
30322 * po/es.po: Update from translation team.
30323
cdcf361f 303242013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30325
30326 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30327 <bits/mman-linux.h>.
30328 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30329 is fine.
30330 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30331 <bits/mman-linux.h> to end of file.
30332 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30333 is fine.
30334 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30335 <bits/mman-linux.h> to end of file.
30336 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30337 is fine.
30338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30339 <bits/mman-linux.h> to end of file.
30340
30341 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30342 (MCL_CURRENT, MCL_FUTURE): Define here.
30343
5f67c04f
AK
303442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30345
8a4473cc 30346 [BZ #15232]
5f67c04f
AK
30347 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30348 attribute_hidden.
30349 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30350
c3e94a95
AK
303512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30352
30353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30354 fourth parameter needed for rt_sigprocmask syscall.
30355 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30357 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30358 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30359 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30360 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30361
cfb6382a
JM
303622013-03-04 Joseph Myers <joseph@codesourcery.com>
30363
30364 [BZ #13550]
30365 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30366 comment about bounded pointers.
30367 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30368 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30369
539d8e01
AJ
303702013-03-04 Andreas Jaeger <aj@suse.de>
30371
30372 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30373 common definitions.
30374
30375 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30376 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30378 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30379 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30381
2e167a70 303822013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30383
30384 [BZ #15055]
30385 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30386 __ieee754_sqrl instead of __sqrl.
30387
68508633
JM
303882013-03-01 Joseph Myers <joseph@codesourcery.com>
30389
30390 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30391 * sysdeps/powerpc/fpu_control.h: ... here.
30392 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30393 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30394 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30395 * sysdeps/powerpc/bits/mathinline.h: ... here.
30396
7775448e
RM
303972013-03-01 Roland McGrath <roland@hack.frob.com>
30398
30399 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30400 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30401 to just [NEED_DL_SYSINFO_DSO].
30402 * elf/dl-support.c: Likewise.
30403 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30404 * elf/rtld.c (dl_main): Likewise.
30405 * elf/setup-vdso.h (setup_vdso): Likewise.
30406 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30407 * sysdeps/unix/sysv/linux/dl-sysdep.c
30408 (_dl_discover_osversion): Likewise.
30409
4e9b5995
CD
304102013-03-01 Carlos O'Donell <carlos@redhat.com>
30411
30412 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30413 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30414
e23872c8
SP
304152013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30416
e5c74c63
SP
30417 * NEWS: Mention libm performance improvements and non-x86 PI
30418 futex support.
30419
e23872c8
SP
30420 * csu/libc-start.c (__pthread_initialize_minimal): Change
30421 function arguments.
30422 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30423
b5510883
JM
304242013-02-28 Joseph Myers <joseph@codesourcery.com>
30425
30426 [BZ #13550]
30427 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30428 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30429 <bp-sym.h> and <bp-asm.h>.
30430 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30431 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30432 and <bp-asm.h>.
30433 (memcpy): Don't use BP_SYM.
30434 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30435 <bp-asm.h>.
30436 (__mpn_add_n): Don't use BP_SYM.
30437 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30438 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30439 and <bp-asm.h>.
30440 (__mpn_addmul_1): Don't use BP_SYM.
30441 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30442 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30443 <bp-sym.h>.
30444 (_setjmp): Don't use BP_SYM.
30445 (__novmx_setjmp): Likewise.
30446 (__GI__setjmp): Likewise.
30447 (__vmx_setjmp): Likewise.
30448 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30449 <bp-sym.h>.
30450 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30451 (__bzero): Don't use BP_SYM.
30452 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30453 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30454 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30455 <bp-sym.h> and <bp-asm.h>.
30456 (memcpy): Don't use BP_SYM.
30457 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30458 <bp-sym.h> and <bp-asm.h>.
30459 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30460 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30461 <bp-sym.h> and <bp-asm.h>.
30462 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30463 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30464 <bp-asm.h>.
30465 (__mpn_lshift): Don't use BP_SYM.
30466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30467 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30468 <bp-asm.h>.
30469 (memset): Don't use BP_SYM.
30470 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30471 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30472 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30473 <bp-asm.h>.
30474 (__mpn_mul_1): Don't use BP_SYM.
30475 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30476 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30477 <bp-sym.h> and <bp-asm.h>.
30478 (memcmp): Don't use BP_SYM.
30479 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30480 <bp-sym.h> and <bp-asm.h>.
30481 (memcpy): Don't use BP_SYM.
30482 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30483 <bp-sym.h> and <bp-asm.h>.
30484 (memset): Don't use BP_SYM.
30485 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30486 <bp-sym.h> and <bp-asm.h>.
30487 (strncmp): Don't use BP_SYM.
30488 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30489 <bp-sym.h> and <bp-asm.h>.
30490 (memcpy): Don't use BP_SYM.
30491 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30492 <bp-sym.h> and <bp-asm.h>.
30493 (memset): Don't use BP_SYM.
30494 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30495 <bp-sym.h> and <bp-asm.h>.
30496 (__memchr): Don't use BP_SYM.
30497 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30498 <bp-sym.h> and <bp-asm.h>.
30499 (memcmp): Don't use BP_SYM.
30500 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30501 <bp-sym.h> and <bp-asm.h>.
30502 (memcpy): Don't use BP_SYM.
30503 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30504 <bp-sym.h> and <bp-asm.h>.
30505 (__mempcpy): Don't use BP_SYM.
30506 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30507 <bp-sym.h> and <bp-asm.h>.
30508 (__memrchr): Don't use BP_SYM.
30509 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30510 <bp-sym.h> and <bp-asm.h>.
30511 (memset): Don't use BP_SYM.
30512 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30513 <bp-sym.h> and <bp-asm.h>.
30514 (__rawmemchr): Don't use BP_SYM.
30515 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30516 <bp-sym.h> and <bp-asm.h>.
30517 (__STRCMP): Don't use BP_SYM.
30518 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30519 <bp-sym.h> and <bp-asm.h>.
30520 (strchr): Don't use BP_SYM.
30521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30522 <bp-sym.h> and <bp-asm.h>.
30523 (__strchrnul): Don't use BP_SYM.
30524 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30525 <bp-sym.h> and <bp-asm.h>.
30526 (strlen): Don't use BP_SYM.
30527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30528 <bp-sym.h> and <bp-asm.h>.
30529 (strncmp): Don't use BP_SYM.
30530 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30531 <bp-sym.h> and <bp-asm.h>.
30532 (__strnlen): Don't use BP_SYM.
30533 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30534 <bp-asm.h>.
30535 (__mpn_rshift): Don't use BP_SYM.
30536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30537 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30538 <bp-sym.h> and <bp-asm.h>.
30539 (__sigsetjmp): Don't use BP_SYM.
30540 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30541 (L(start_addresses)): Don't use BP_SYM.
30542 (_start): Likewise.
30543 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30544 <bp-asm.h>.
30545 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30546 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30547 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30548 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30549 <bp-asm.h>.
30550 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30551 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30552 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30553 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30554 <bp-asm.h>.
30555 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30556 comments.
30557 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30558 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30559 <bp-asm.h>.
30560 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30561 FIXME comments.
30562 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30563 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30564 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30565 <bp-asm.h>.
30566 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30567 comment.
30568 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30569 and <bp-asm.h>.
30570 (strncmp): Don't use BP_SYM,
30571 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30572 <bp-asm.h>.
30573 (__mpn_sub_n): Don't use BP_SYM.
30574 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30575 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30576 and <bp-asm.h>.
30577 (__mpn_submul_1): Don't use BP_SYM.
30578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30580 <bp-sym.h> and <bp-asm.h>.
30581 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30583 <bp-sym.h> and <bp-asm.h>.
30584 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30585 comment.
30586
8d19fe64
SP
305872013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30588
30589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30590 Use ZK to minimize writes to Z.
30591 (sub_magnitudes): Simplify code a bit.
30592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30593 Use ZK to minimize writes to Z.
30594 (sub_magnitudes): Simplify code a bit.
30595
85bd816a
RM
305962013-02-27 Roland McGrath <roland@hack.frob.com>
30597
30598 * csu/gmon-start.c: Add special exception to license text.
30599
b5977bf2
RH
306002013-02-27 Richard Henderson <rth@redhat.com>
30601
30602 * scripts/config.guess: Update from config.git.
30603 * scripts/config.sub: Likewise.
30604
11d6e2f2
SP
306052013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30606
09c14ed2
SP
30607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30608
a688864e
SP
30609 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30610
6295157a
SP
30611 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30612
b8de2202
SP
30613 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30614
11d6e2f2
SP
30615 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30616
7e80ddb8
RM
306172013-02-26 Roland McGrath <roland@hack.frob.com>
30618
30619 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30620 [$(build-shared = yes].
7e80ddb8 30621
7da6d9ed
SP
306222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30623
45f05884
SP
30624 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30625 (__mul): Reduce iterations for calculating mantissa.
30626
2236d359
SP
30627 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30628 MPTWO.
30629 (__mpranred): Likewise.
30630
7da6d9ed
SP
30631 [BZ #15160]
30632 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30633 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30634
b7688c42
PE
306352013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30636
30637 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30638 Define __attribute__.
30639
53a5c423
SP
306402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30641
30642 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30643 unused.
30644 * posix/regex_internal.h (__attribute): Remove.
30645 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30646 (re_string_context_at): Likewise.
30647 (bitset_not): Use __attribute__ and mark function as possibly
30648 unused.
30649 (bitset_merge): Likewise.
30650 (bitset_mask): Likewise.
30651 (re_string_char_size_at): Likewise.
30652 (re_string_wchar_at): Likewise.
30653 (re_string_elem_size_at): Likewise.
30654
60f5a8b5
SP
306552013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30656
2a983a2e
SP
30657 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30658 code.
30659 (cc32): Likewise.
30660
e69804d1
SP
30661 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30662 (__acr): Likewise.
30663 (__cpy): Likewise.
30664 (norm): Likewise.
30665 (denorm): Likewise.
30666 (__dbl_mp): Likewise.
30667 (add_magnitudes): Likewise.
30668 (sub_magnitudes): Likewise.
30669 (__mul): Likewise.
30670 (__inv): Likewise.
30671
2f22a1e8
SP
30672 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30673 style.
30674
8930ddc7
SP
30675 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30676 style.
30677
dc60cb11
SP
30678 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30679 code.
30680
60f5a8b5
SP
30681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30682 up changes with default code.
30683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30684 Likewise.
30685
b4d1fd33
AM
306862013-02-24 Allan McRae <allan@archlinux.org>
30687
faf6f8bc
AM
30688 * manual/socket.texi (The Internet Namespace): Order menu items
30689 to match that in the file.
30690
b4d1fd33
AM
30691 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30692 node listing of the info page menu.
30693
2366713d
JM
306942013-02-21 Joseph Myers <joseph@codesourcery.com>
30695
30696 [BZ #13550]
30697 * sysdeps/i386/bp-asm.h: Remove file.
30698 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30699 (PARMS): Do not use macros from bp-asm.h.
30700 (S1): Likewise.
30701 (S2): Likewise.
30702 (SIZE): Likewise.
30703 (__mpn_add_n): Do not use BP_SYM
30704 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30705 "bp-asm.h".
30706 (PARMS): Do not use macros from bp-asm.h.
30707 (S1): Likewise.
30708 (SIZE): Likewise.
30709 (__mpn_addmul_1): Do not use BP_SYM
30710 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30711 "bp-asm.h".
30712 (PARMS): Do not use macros from bp-asm.h.
30713 (SIGMSK): Likewise.
30714 (_setjmp): Likewise. Do not use BP_SYM.
30715 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30716 "bp-asm.h".
30717 (PARMS): Do not use macros from bp-asm.h.
30718 (SIGMSK): Likewise.
30719 (setjmp): Likewise. Do not use BP_SYM.
30720 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30721 "bp-asm.h".
30722 (PARMS): Do not use macros from bp-asm.h.
30723 (__frexp): Do not use BP_SYM.
30724 (frexp): Likewise.
30725 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30726 "bp-asm.h".
30727 (PARMS): Do not use macros from bp-asm.h.
30728 (__frexpf): Do not use BP_SYM.
30729 (frexpf): Likewise.
30730 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30731 "bp-asm.h".
30732 (PARMS): Do not use macros from bp-asm.h.
30733 (__frexpl): Do not use BP_SYM.
30734 (frexpl): Likewise.
30735 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30736 "bp-asm.h".
30737 (PARMS): Do not use macros from bp-asm.h.
30738 (__remquo): Do not use BP_SYM.
30739 (remquo): Likewise.
30740 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30741 "bp-asm.h".
30742 (PARMS): Do not use macros from bp-asm.h.
30743 (__remquof): Do not use BP_SYM.
30744 (remquof): Likewise.
30745 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30746 "bp-asm.h".
30747 (PARMS): Do not use macros from bp-asm.h.
30748 (__remquol): Do not use BP_SYM.
30749 (remquol): Likewise.
30750 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30751 "bp-asm.h".
30752 (PARMS): Do not use macros from bp-asm.h.
30753 (DEST): Likewise.
30754 (SRC): Likewise.
30755 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30756 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30757 "bp-asm.h".
30758 (PARMS): Do not use macros from bp-asm.h.
30759 (strlen): Do not use BP_SYM.
30760 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30761 "bp-asm.h".
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (S1): Likewise.
30764 (S2): Likewise.
30765 (SIZE): Likewise.
30766 (__mpn_add_n): Do not use BP_SYM.
30767 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30768 "bp-asm.h".
30769 (PARMS): Do not use macros from bp-asm.h.
30770 (S1): Likewise.
30771 (SIZE): Likewise.
30772 (__mpn_addmul_1): Do not use BP_SYM.
30773 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30774 weak_alias.
30775 (bzero): Likewise.
30776 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30777 "bp-asm.h".
30778 (PARMS): Do not use macros from bp-asm.h.
30779 (S): Likewise.
30780 (SIZE): Likewise.
30781 (__mpn_lshift): Do not use BP_SYM.
30782 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30783 "bp-asm.h".
30784 (PARMS): Do not use macros from bp-asm.h.
30785 (DEST): Likewise.
30786 (SRC): Likewise.
30787 (LEN): Likewise.
30788 (memcpy): Likewise. Do not use BP_SYM.
30789 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30790 libc_hidden_def and weak_alias.
30791 (mempcpy): Do not use BP_SYM in weak_alias.
30792 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30793 "bp-asm.h".
30794 (PARMS): Do not use macros from bp-asm.h.
30795 (DEST): Likewise.
30796 (LEN): Likewise.
30797 [!BZERO_P] (CHR): Likewise.
30798 (memset): Likewise. Do not use BP_SYM.
30799 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30800 "bp-asm.h".
30801 (PARMS): Do not use macros from bp-asm.h.
30802 (S1): Likewise.
30803 (SIZE): Likewise.
30804 (__mpn_mul_1): Do not use BP_SYM.
30805 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30806 "bp-asm.h".
30807 (PARMS): Do not use macros from bp-asm.h.
30808 (S): Likewise.
30809 (SIZE): Likewise.
30810 (__mpn_rshift): Do not use BP_SYM.
30811 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30812 "bp-asm.h".
30813 (PARMS): Do not use macros from bp-asm.h.
30814 (STR): Likewise.
30815 (CHR): Likewise.
30816 (strchr): Likewise. Do not use BP_SYM.
30817 (index): Do not use BP_SYM in weak_alias.
30818 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30819 "bp-asm.h".
30820 (PARMS): Do not use macros from bp-asm.h.
30821 (DEST): Likewise.
30822 (SRC): Likewise.
30823 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30824 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30825 "bp-asm.h".
30826 (PARMS): Do not use macros from bp-asm.h.
30827 (strlen): Do not use BP_SYM.
30828 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30829 "bp-asm.h".
30830 (PARMS): Do not use macros from bp-asm.h.
30831 (S1): Likewise.
30832 (S2): Likewise.
30833 (SIZE): Likewise.
30834 (__mpn_sub_n): Do not use BP_SYM.
30835 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30836 "bp-asm.h".
30837 (PARMS): Do not use macros from bp-asm.h.
30838 (S1): Likewise.
30839 (SIZE): Likewise.
30840 (__mpn_submul_1): Do not use BP_SYM.
30841 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30842 "bp-asm.h".
30843 (PARMS): Do not use macros from bp-asm.h.
30844 (S1): Likewise.
30845 (S2): Likewise.
30846 (SIZE): Likewise.
30847 (__mpn_add_n): Do not use BP_SYM.
30848 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30849 weak_alias.
30850 (bzero): Likewise.
30851 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30852 "bp-asm.h".
30853 (PARMS): Do not use macros from bp-asm.h.
30854 (BLK2): Likewise.
30855 (LEN): Likewise.
30856 (memcmp): Do not use BP_SYM.
30857 (bcmp): Do not use BP_SYM in weak_alias.
30858 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30859 "bp-asm.h".
30860 (PARMS): Do not use macros from bp-asm.h.
30861 (DEST): Likewise.
30862 (SRC): Likewise.
30863 (LEN): Likewise.
30864 (memcpy): Likewise. Do not use BP_SYM.
30865 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30866 "bp-asm.h".
30867 (PARMS): Do not use macros from bp-asm.h.
30868 (DEST): Likewise.
30869 (SRC): Likewise.
30870 (LEN): Likewise.
30871 (memmove): Likewise. Do not use BP_SYM.
30872 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30873 "bp-asm.h".
30874 (PARMS): Do not use macros from bp-asm.h.
30875 (DEST): Likewise.
30876 (SRC): Likewise.
30877 (LEN): Likewise.
30878 (__mempcpy): Likewise. Do not use BP_SYM.
30879 (mempcpy): Do not use BP_SYM in weak_alias.
30880 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30881 "bp-asm.h".
30882 (PARMS): Do not use macros from bp-asm.h.
30883 (DEST): Likewise.
30884 (LEN): Likewise.
30885 [!BZERO_P] (CHR): Likewise.
30886 (memset): Likewise. Do not use BP_SYM.
30887 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30888 "bp-asm.h".
30889 (PARMS): Do not use macros from bp-asm.h.
30890 (STR2): Likewise.
30891 (strcmp): Do not use BP_SYM.
30892 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30893 "bp-asm.h".
30894 (PARMS): Do not use macros from bp-asm.h.
30895 (STR): Likewise.
30896 (DELIM): Likewise.
30897 [USE_AS_STRTOK_R] (SAVE): Likewise.
30898 (FUNCTION): Likewise. Do not use BP_SYM.
30899 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30900 aliases.
30901 (strtok_r): Likewise.
30902 (__GI___strtok_r): Likewise.
30903 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30904 (PARMS): Do not use macros from bp-asm.h.
30905 (S): Likewise.
30906 (SIZE): Likewise.
30907 (__mpn_lshift): Do not use BP_SYM.
30908 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30909 (PARMS): Do not use macros from bp-asm.h.
30910 (STR): Likewise.
30911 (CHR): Likewise.
30912 (__memchr): Do not use BP_SYM.
30913 (memchr): Do not use BP_SYM in weak_alias.
30914 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30915 (PARMS): Do not use macros from bp-asm.h.
30916 (BLK2): Likewise.
30917 (LEN): Likewise.
30918 (memcmp): Do not use BP_SYM.
30919 (bcmp): Do not use BP_SYM in weak_alias.
30920 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30921 (PARMS): Do not use macros from bp-asm.h.
30922 (S1): Likewise.
30923 (SIZE): Likewise.
30924 (__mpn_mul_1): Do not use BP_SYM.
30925 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30926 "bp-asm.h".
30927 (PARMS): Do not use macros from bp-asm.h.
30928 (STR): Likewise.
30929 (CHR): Likewise.
30930 (__rawmemchr): Do not use BP_SYM.
30931 (rawmemchr): Do not use BP_SYM in weak_alias.
30932 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30933 (PARMS): Do not use macros from bp-asm.h.
30934 (S): Likewise.
30935 (SIZE): Likewise.
30936 (__mpn_rshift): Do not use BP_SYM.
30937 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30938 (PARMS): Do not use macros from bp-asm.h.
30939 (SIGMSK): Likewise.
30940 (__sigsetjmp): Likewise. Do not use BP_SYM.
30941 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30942 (_start): Do not use BP_SYM.
30943 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30944 (PARMS): Do not use macros from bp-asm.h.
30945 (DEST): Likewise.
30946 (SRC): Likewise.
30947 (__stpcpy): Likewise. Do not use BP_SYM.
30948 (stpcpy): Do not use BP_SYM in weak_alias.
30949 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30950 "bp-asm.h".
30951 (PARMS): Do not use macros from bp-asm.h.
30952 (DEST): Likewise.
30953 (SRC): Likewise.
30954 (LEN): Likewise.
30955 (__stpncpy): Likewise. Do not use BP_SYM.
30956 (stpncpy): Do not use BP_SYM in weak_alias.
30957 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30958 (PARMS): Do not use macros from bp-asm.h.
30959 (STR): Likewise.
30960 (CHR): Likewise.
30961 (strchr): Likewise. Do not use BP_SYM.
30962 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30963 "bp-asm.h".
30964 (PARMS): Do not use macros from bp-asm.h.
30965 (STR): Likewise.
30966 (CHR): Likewise.
30967 (__strchrnul): Likewise. Do not use BP_SYM.
30968 (strchrnul): Do not use BP_SYM in weak_alias.
30969 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30970 "bp-asm.h".
30971 (PARMS): Do not use macros from bp-asm.h.
30972 (STOP): Likewise.
30973 (strcspn): Do not use BP_SYM.
30974 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30975 "bp-asm.h".
30976 (PARMS): Do not use macros from bp-asm.h.
30977 (STR): Likewise.
30978 (STOP): Likewise.
30979 (strpbrk): Likewise. Do not use BP_SYM.
30980 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30981 "bp-asm.h".
30982 (PARMS): Do not use macros from bp-asm.h.
30983 (STR): Likewise.
30984 (CHR): Likewise.
30985 (strrchr): Likewise. Do not use BP_SYM.
30986 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30987 (PARMS): Do not use macros from bp-asm.h.
30988 (SKIP): Likewise.
30989 (strspn): Do not use BP_SYM.
30990 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30991 (PARMS): Do not use macros from bp-asm.h.
30992 (STR): Likewise.
30993 (DELIM): Likewise.
30994 (SAVE): Likewise.
30995 (FUNCTION): Likewise. Do not use BP_SYM.
30996 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30997 aliases.
30998 (strtok_r): Likewise.
30999 (__GI___strtok_r): Likewise.
31000 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31001 (PARMS): Do not use macros from bp-asm.h.
31002 (S1): Likewise.
31003 (S2): Likewise.
31004 (SIZE): Likewise.
31005 (__mpn_sub_n): Do not use BP_SYM.
31006 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31007 "bp-asm.h".
31008 (PARMS): Do not use macros from bp-asm.h.
31009 (S1): Likewise.
31010 (SIZE): Likewise.
31011 (__mpn_submul_1): Do not use BP_SYM.
31012 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31013 <bp-sym.h>.
31014 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31015 and <bp-asm.h>.
31016 (PARMS): Do not use macros from bp-asm.h.
31017 (FLAGS): Likewise.
31018 (PTID): Likewise.
31019 (TLS): Likewise.
31020 (CTID): Likewise.
31021 (__clone): Do not use BP_SYM.
31022 (clone): Do not use BP_SYM in weak_alias.
31023 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31024 and <bp-asm.h>.
31025 (PARMS): Do not use macros from bp-asm.h.
31026 (LEN): Likewise.
31027 (__mmap64): Do not use BP_SYM.
31028 (mmap64): Do not use BP_SYM in weak_alias.
31029 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31030 <bp-sym.h> and <bp-asm.h>.
31031 (PARMS): Do not use macros from bp-asm.h.
31032 (__posix_fadvise64_l64): Do not use BP_SYM.
31033 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31034 (PARMS): Do not use macros from bp-asm.h.
31035 (NSOPS): Likewise.
31036 (semtimedop): Do not use BP_SYM.
31037 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31038 and <bp-asm.h>.
31039
582a3cff
AM
310402013-02-21 Allan McRae <allan@archlinux.org>
31041
31042 * manual/message.texi (Charset conversion in gettext):
31043 Move @end statement to beginning of line.
31044
bab8a695
SP
310452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31046
80945231
SP
31047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31048 static.
31049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31050 Likewise.
31051
bab8a695
SP
31052 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31053 (denorm): Likewise.
31054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31056
e21d7aa7
AK
310572013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31058
31059 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31060 tail-call to the resolved function if pltexit isn't needed.
31061
4c7a4263
SP
310622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31063
31064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31065 or Y being zero as being unlikely.
31066 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31067 Likewise.
31068
41f49342
CD
310692013-02-20 Carlos O'Donell <carlos@redhat.com>
31070
31071 * manual/nss.texi (System Databases and Name Service Switch):
31072 Remove frobnicate @pxref.
31073
50022a93
TS
310742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31075
31076 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31077 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31078
08cbd996
PM
310792013-02-20 Petr Machata <pmachata@redhat.com>
31080
31081 * elf/elf.h (R_ARM_TARGET1): New macro.
31082 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31083 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31084 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31085 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31086 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31087 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31088 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31089 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31090 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31091 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31092 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31093 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31094 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31095 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31096 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31097 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31098 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31099 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31100 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31101 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31102 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31103 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31104 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31105 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31106 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31107 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31108 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31109 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31110 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31111 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31112 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31113 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31114 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31115 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31116 (R_ARM_THM_GOT_BREL12): Likewise.
31117 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31118 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31119 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31120 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31121 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31122 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31123 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31124 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31125 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31126
c7b275d6
TS
311272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31128
31129 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31130 __attribute_used__ to __attribute__ ((unused)).
31131
20cd7fb3
SP
311322013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31133
31134 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31135 powerpc mpa.c.
31136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31137 comment formatting.
31138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31139
92945b52
JM
311402013-02-19 Joseph Myers <joseph@codesourcery.com>
31141
31142 [BZ #13550]
31143 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31144 Remove macro.
31145 (ENTER): Remove both macro definitions.
31146 (LEAVE): Likewise.
31147 (CHECK_BOUNDS_LOW): Likewise.
31148 (CHECK_BOUNDS_HIGH): Likewise.
31149 (CHECK_BOUNDS_BOTH): Likewise.
31150 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31151 (RETURN_BOUNDED_POINTER): Likewise.
31152 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31153 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31154 (POP_ERRNO_LOCATION_RETURN): Likewise.
31155 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31157 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31158 macros.
31159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31160 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31161 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31162 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31163 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31164 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31165 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31166 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31167 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31168 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31169 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31170 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31171 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31172 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31173 removed macros.
31174 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31175 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31176 macros.
31177 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31179 * sysdeps/i386/i586/memset.S (memset): Likewise.
31180 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31181 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31182 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31183 macros.
31184 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31185 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31186 Change uses of L(2) to L(out).
31187 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31188 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31189 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31190 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31191 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31192 removed macros.
31193 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31194 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31195 macros.
31196 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31197 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31198 (RETURN): Do not use macro LEAVE.
31199 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31200 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31201 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31202 * sysdeps/i386/i686/memset.S (memset): Likewise.
31203 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31204 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31205 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31206 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31207 Likewise.
31208 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31209 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31210 L(1_2) and L(1_3) into L(1).
31211 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31212 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31213 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31214 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31215 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31216 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31217 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31218 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31219 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31220 macros.
31221 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31223 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31224 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31225 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31226 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31227 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31228 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31229 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31230 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31231 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31232 * sysdeps/i386/strspn.S (strspn): Likewise.
31233 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31234 conditional code.
31235 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31236 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31237 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31238 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31239 L(1_3) into L(1_1).
31240 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31241 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31242 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31243 macros.
31244 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31245
2389741a
JJ
312462013-02-19 Jakub Jelinek <jakub@redhat.com>
31247
31248 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31249 macro.
31250
2016b3cd
SP
312512013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31252
e4f22324
SP
31253 * math/atest-exp.c (exp_mpn): Remove ROUND.
31254 * math/atest-exp2.c (exp_mpn): Likewise.
31255 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31256
2016b3cd
SP
31257 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31258 * stdlib/tst-tls-atexit-lib.c: Likewise.
31259 * stdlib/tst-tls-atexit.c: Likewise.
31260
4be9b544
MF
312612013-02-18 Mike Frysinger <vapier@gentoo.org>
31262
31263 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31264 and __attribute_alloc_size__.
31265
2f62b9ee
MF
312662013-02-18 Mike Frysinger <vapier@gentoo.org>
31267
31268 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31269 __attribute_alloc_size__.
31270 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31271 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31272
6ff444c4
MF
312732013-02-18 Mike Frysinger <vapier@gentoo.org>
31274
31275 * include/programs/xmalloc.h: New file.
31276 * catgets/gencat.c: Include it.
31277 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31278 * elf/pldd.c: Likewise.
31279 * iconv/iconv_charmap.c: Likewise.
31280 * iconv/iconvconfig.c: Likewise.
31281 * iconv/strtab.c: Likewise.
31282 * locale/programs/locale.c: Likewise.
31283 * locale/programs/localedef.h: Likewise.
31284 * locale/programs/simple-hash.c: Likewise.
31285 * nscd/nscd.h: Likewise.
31286 * nss/makedb.c: Likewise.
31287 * sysdeps/generic/ldconfig.h: Likewise.
31288
be179c8a
SP
312892013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31290
ba384f6e
SP
31291 * Versions.def: Add GLIBC_2.18.
31292 * include/link.h (struct link_map): New member l_tls_dtor_count.
31293 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31294 (__call_tls_dtors): Likewise.
31295 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31296 __cxa_thread_atexit_impl.
31297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31298 Likewise.
31299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31300 Likewise.
31301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31302 Likewise.
31303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31304 Likewise.
31305 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31307 Likewise.
31308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31309 Likewise.
31310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31312 Likewise.
31313 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31314 (tests): Add test case tst-tls-atexit.
31315 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31316 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31317 (GLIBC_PRIVATE): Add __call_tls_dtors.
31318 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31319 for libstdc++.
31320 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31321 * stdlib/tst-tls-atexit.c: New test case.
31322 * stdlib/tst-tls-atexit-lib.c: New test case.
31323
ffaa74cf 31324 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31325
be179c8a
SP
31326 * elf/Versions (ld): Add _dl_find_dso_for_object.
31327 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31328 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31329 (dl_open_worker): Use _dl_find_dso_for_object.
31330 * elf/dl-sym.c (do_sym): Likewise.
31331 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31332
f78b5caa
AK
313332013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31334
31335 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31336 Syntactic changes only.
31337 (_dl_runtime_profile): Do a tail-call to the resolved function.
31338
29691210
JM
313392013-02-17 Joseph Myers <joseph@codesourcery.com>
31340
31341 [BZ #13550]
31342 * sysdeps/x86_64/bp-asm.h: Remove file.
31343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31344 <bp-sym.h> and <bp-asm.h>.
31345 (__clone): Do not use BP_SYM.
31346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31347 <bp-sym.h> and <bp-asm.h>.
31348 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31349 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31350 "bp-asm.h".
31351 (_setjmp): Do not use BP_SYM.
31352 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31353 "bp-asm.h".
31354 (setjmp): Do not use BP_SYM.
31355 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31356 libc_hidden_def.
31357 (mempcpy): Do not use BP_SYM in weak_alias.
31358 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31359 "bp-asm.h".
31360 (strchr): Do not use BP_SYM.
31361 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31362 "bp-asm.h".
31363 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31364 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31365 (_start): Do not use BP_SYM.
31366 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31367 "bp-asm.h".
31368 (strcat): Do not use BP_SYM.
31369 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31370 "bp-asm.h".
31371 (STRCMP): Do not use BP_SYM.
31372 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31373 "bp-asm.h".
31374 (STRCPY): Do not use BP_SYM.
31375 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31376 "bp-asm.h".
31377 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31378 "bp-asm.h".
31379 (FUNCTION): Do not use BP_SYM.
31380 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31381 weak_alias.
31382 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31383
f238fd19
AJ
313842013-02-17 Andreas Jaeger <aj@suse.de>
31385
31386 * time/Versions: Sort entries.
31387 * string/Versions: Likewise.
31388 * resolv/Versions: Likewise.
31389 * posix/Versions: Likewise.
31390 * iconv/Versions: Likewise.
31391 * elf/Versions: Likewise.
31392 * wcsmbs/Versions: Likewise.
31393
bd07f23c 313942013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31395
22af19f9
SP
31396 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31397 loop termination condition.
31398
4709fe76
SP
31399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31400 variable to calculate EZ.
31401 (__sqr): Likewise.
2d0e0f29
SP
31402
31403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31404 the lower precision input.
31405
daaa7713
JM
314062013-02-15 Joseph Myers <joseph@codesourcery.com>
31407
31408 [BZ #13550]
31409 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31410 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31411 (run-via-rtld-prefix): Do not handle %-bp tests.
31412 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31413 (all-object-suffixes): Remove .ob.
31414 (bppfx): Remove variable.
31415 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31416 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31417 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31418 [$(build-bounded) = yes] (libtype.ob): Likewise.
31419 * Makerules (elide-routines.ob): Remove variable.
31420 (do-tests-clean): Do not handle *-bp.out.
31421 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31422 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31423 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31424 (tests): Do not include $(tests-bp.out).
31425 (xtests): Do not include $(xtests-bp.out).
31426 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31427 [$(build-bounded) = yes] ($(addprefix
31428 $(objpfx),$(binaries-bounded))): Remove rule.
31429 ($(objpfx)%-bp.out): Remove rule.
31430 * config.make.in (build-bounded): Remove variable.
31431 * crypt/Makefile [$(build-bounded) = yes]
31432 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31433 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31434 append to variable.
31435 [$(build-bounded) = yes] (install-lib): Likewise.
31436 [$(build-bounded) = yes] (generated): Likewise.
31437 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31438 Remove rule.
31439 * intl/Makefile [$(build-bounded) = yes]
31440 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31441 * math/Makefile [$(build-bounded) = yes]
31442 ($(tests:%=$(objpfx)%-bp): Likewise.
31443 * misc/Makefile [$(build-bounded) = yes]
31444 ($(objpfx)tst-tsearch-bp): Likewise.
31445 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31446 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31447 Remove dependency.
31448 * string/Makefile (o-objects.ob): Remove variable.
31449 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31450 (CFLAGS-.ob): Remove variable.
31451 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31452 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31453 both definitions of variable.
31454 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31455 (ASFLAGS-.ob): Remove variable.
31456
e97ed6dd
JM
314572013-02-14 Joseph Myers <joseph@codesourcery.com>
31458
2bdd4ca6
JM
31459 [BZ #13550]
31460 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31461 Remove __BOUNDED_POINTERS__ from condition.
31462 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31463 * string/bits/string2.h [!__NO_STRING_INLINES &&
31464 !__BOUNDED_POINTERS__]: Likewise.
31465 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31466 Likewise.
31467 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31468 Remove conditional code.
31469 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31470 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31471 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31472 condition.
31473
e97ed6dd
JM
31474 [BZ #13550]
31475 * csu/libc-start.c: Do not include <bp-sym.h>.
31476 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31477 * elf/dl-open.c: Do not include <bp-sym.h>.
31478 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31479 * math/fegetenv.c: Do not include <bp-sym.h>.
31480 (fegetenv): Do not use BP_SYM in versioned symbols.
31481 * nptl/sysdeps/pthread/bits/libc-lockP.h
31482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31483 <bp-sym.h>.
31484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31485 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31487 (__pthread_mutex_destroy): Likewise.
31488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31489 (__pthread_mutex_lock): Likewise.
31490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31491 (__pthread_mutex_trylock): Likewise.
31492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31493 (__pthread_mutex_unlock): Likewise.
31494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31495 (__pthread_mutexattr_init): Likewise.
31496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31497 (__pthread_mutexattr_destroy): Likewise.
31498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31499 (__pthread_mutexattr_settype): Likewise.
31500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31501 (__pthread_rwlock_init): Likewise.
31502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31503 (__pthread_rwlock_destroy): Likewise.
31504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31505 (__pthread_rwlock_rdlock): Likewise.
31506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31507 (__pthread_rwlock_tryrdlock): Likewise.
31508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31509 (__pthread_rwlock_wrlock): Likewise.
31510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31511 (__pthread_rwlock_trywrlock): Likewise.
31512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31513 (__pthread_rwlock_unlock): Likewise.
31514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31515 (__pthread_key_create): Likewise.
31516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31517 (__pthread_setspecific): Likewise.
31518 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31519 (__pthread_getspecific): Likewise.
31520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31521 Likewise.
31522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31523 (_pthread_cleanup_push_defer): Likewise.
31524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31525 (_pthread_cleanup_pop_restore): Likewise.
31526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31527 (pthread_setcancelstate): Likewise.
31528 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31529 <bp-sym.h>.
31530 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31531 (memchr): Do not use BP_SYM in weak_alias.
31532 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31533 (fegetenv): Do not use BP_SYM in versioned symbols.
31534 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31535 (fesetenv): Do not use BP_SYM in versioned symbols.
31536 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31537 (feupdateenv): Do not use BP_SYM in versioned symbols.
31538 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31539 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31540 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31541 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31542 (open64): Do not use BP_SYM in weak_alias.
31543 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31544 (fegetenv): Do not use BP_SYM in versioned symbols.
31545 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31546 (fesetenv): Do not use BP_SYM in versioned symbols.
31547 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31548 (feupdateenv): Do not use BP_SYM in versioned symbols.
31549 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31550 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31551 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31552 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31553 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31554 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31555 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31556 <bp-sym.h>.
31557 (__libc_start_main): Do not use BP_SYM.
31558
d6752ccd
SP
315592013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31560
cb57ce60
SP
31561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31562 redundant return line.
31563 (norm): Likewise.
31564 (denorm): Likewise.
31565 (dbl_mp): Likewise.
31566 (sub_magnitudes): Likewise.
31567 (__add): Likewise.
31568 (__sub): Likewise.
31569 (__mul): Likewise.
31570 (__inv): Likewise.
31571 (__dvd): Likewise.
31572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31573 (norm): Likewise.
31574 (denorm): Likewise.
31575 (dbl_mp): Likewise.
31576 (sub_magnitudes): Likewise.
31577 (__add): Likewise.
31578 (__sub): Likewise.
31579 (__mul): Likewise.
31580 (__inv): Likewise.
31581 (__dvd): Likewise.
31582
f414520d
SP
31583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31584 instead of __mul.
31585 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31586 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31587 (cc32): Likewise.
31588
d6752ccd
SP
31589 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31590 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31592 of __mul for squares.
31593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31594 function
31595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31596 Likewise.
31597 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31598 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31599
70d9946a
JM
316002013-02-13 Joseph Myers <joseph@codesourcery.com>
31601
31602 [BZ #13550]
31603 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31604 code.
31605 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31606 prototype or function definition. Rename ubp_* variables and
31607 parameters. Remove argv definitions conditional on
31608 [__BOUNDED_POINTERS__].
31609 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31610 * elf/dl-runtime.c (_dl_fixup): Likewise.
31611 * include/set-hooks.h (RUN_HOOK): Likewise.
31612 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31613 definition.
31614 * string/strcpy.c (strcpy): Do not use __unbounded.
31615 * sysdeps/generic/frame.h (struct layout): Likewise.
31616 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31617 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31618 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31619 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31620 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31621 (__backtrace): Likewise.
31622 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31623 use __ptrvalue.
31624 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31625 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31626 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31627 Likewise.
31628 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31629 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31630 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31631 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31632 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31633 Do not use __unbounded.
31634 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31635 Rename __unboundedrlimits parameter to rlimits in prototype.
31636 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31637 Do not use __unbounded.
31638 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31639 not use __ptrvalue.
31640 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31641 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31642 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31643 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31644 __ptrvalue or __unbounded.
31645 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31646 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31647 use __unbounded.
31648 (__new_msgctl): Do not use __ptrvalue.
31649 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31650 __unbounded.
31651 (__libc_msgrcv): Do not use __ptrvalue.
31652 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31653 startup_info): Do not use __unbounded.
31654 (__libc_start_main): Likewise. Rename ubp_* variables and
31655 parameters. Remove argv definitions conditional on
31656 [__BOUNDED_POINTERS__].
31657 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31658 __ptrvalue.
31659 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31660 use __unbounded.
31661 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31662 or __ptrvalue.
31663 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31664 use __unbounded.
31665 (__new_shmctl): Do not use __ptrvalue.
31666 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31667 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31668 Likewise.
31669 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31671 (__libc_sigaction): Likewise.
31672 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31673 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31674 Likewise.
31675 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31676
cc7834d6
OB
316772013-02-13 Ondřej Bílka <neleai@seznam.cz>
31678
ffb1ec7b 31679 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31680
31681 * string/mempcpy.c: Implement by calling memcpy.
31682
bdf02814
SP
316832013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31684
c2af38aa
SP
31685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31686
4e92d59e
SP
31687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31688 evaluation.
31689
909279a5
SP
31690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31691 values in the mantissa.
31692
bdf02814
SP
31693 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31694 minimize writes to Z.
31695 (sub_magnitudes): Simplify code a bit.
31696
cd525923
RM
316972013-02-12 Roland McGrath <roland@hack.frob.com>
31698
31699 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31700 from the message. The linker prefixes all warnings with that already.
31701
7e2f0d2d
AS
317022013-02-12 Andreas Schwab <schwab@suse.de>
31703
a445af0b
AS
31704 [BZ #15078]
31705 * posix/regexec.c (extend_buffers): Add parameter min_len.
31706 (check_matching): Pass minimum needed length.
31707 (clean_state_log_if_needed): Likewise.
31708 (get_subexp): Likewise.
31709 * posix/Makefile (tests): Add bug-regex34.
31710 (bug-regex34-ENV): Define.
31711 * posix/bug-regex34.c: New file.
31712
7e2f0d2d
AS
31713 [BZ #11561]
31714 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31715 elements compare against the byte sequence of it, not its name.
31716 * posix/Makefile (tests): Add bug-regex35.
31717 (bug-regex35-ENV): Define.
31718 * posix/bug-regex35.c: New file.
31719
a175b684
TV
317202013-02-11 Tom de Vries <tom@codesourcery.com>
31721
31722 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31723 comment.
31724 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31725 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31726 (CHECK_EOL): Add undef.
31727
310998fe 317282013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31729
31730 * bits/stdlib-bsearch.h: New file.
31731 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31732 * stdlib/stdlib.h: Likewise.
41eda41d 31733
8ded91fb
RM
317342013-02-11 Roland McGrath <roland@hack.frob.com>
31735
31736 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31737 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31738 declaration.
31739 * manual/search.texi (Array Search Function): Add missing const in
31740 lfind prototype.
31741 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31742 declaration to use rlim_t.
31743 (Basic Scheduling Functions): Remove erroneous const from
31744 sched_getparam prototype. Remove erroneous * from
31745 sched_get_priority_max and sched_get_priority_min prototypes.
31746 (Resource Usage): Fix summary @comment on vtimes to refer to
31747 sys/vtimes.h rather than vtimes.h.
31748 Add missing *s in vtimes prototype.
31749 (Limits on Resources): Fix ulimit prototype to return long int.
31750 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31751 prototypes to use long int rather than double.
31752 (BSD Random): Fix initstate and setstate to use char *, not void *.
31753 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31754 prototype to make second argument 'struct aiocb64 *const[]'.
31755 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31756 (Status of AIO Operations): Remove erroneous const in aio_return and
31757 aio_return64 prototypes.
31758 (Synchronizing I/O): Fix sync prototype to return void.
31759 * manual/startup.texi (Suboptions): Remove an erroneous const in
31760 getsubopt prototype.
31761 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31762 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31763 use size_t rather than int.
31764 (Scanning All Users): Likewise for getpwent_r.
31765 (Setting Groups): Add missing const to setgroups prototype.
31766 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31767 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31768 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31769 'const void *' rather than 'const char *'.
31770 (Host Address Functions): Likewise for inet_ntop.
31771 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31772 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31773 ssize_t for return value.
31774 (Sending Data): Likewise for send, sendto, sendmsg.
31775 (Socket Option Functions): Add a missing const in setsockopt prototype.
31776 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31777 use wchar_t for the argument.
31778 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31779 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31780 take no arguments.
31781 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31782 double/float/long double for second argument.
31783 Fix return types of significand, significandf, significandl.
31784 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31785 argument in fchmod prototype.
31786 (File Owner): Use uid_t and gid_t in fchown prototype.
31787 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31788 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31789 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31790 use 'const struct dirent **' as argument types to CMP function pointer
31791 argument.
31792 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31793 (File Times): Fix summary magic @comment for struct utimbuf and utime
31794 to refer to utime.h, not time.h.
31795 * manual/string.texi (Argz Functions): Add missing const in
31796 argz_extract and argz_next prototypes.
31797 (Finding Tokens in a String): Likewise for basename.
31798 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31799 (Copying and Concatenation): Fix typo in wmemmove prototype.
31800 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31801 (Signal Stack): Remove erroneous const in sigstack prototype.
31802 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31803 prototype.
31804 (Simple Calendar Time): Likewise for stime.
31805 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31806 prototype.
31807 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31808 say sys/sysctl.h instead.
31809 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31810 and vsyslog prototypes.
31811
fe77fe6d
TV
318122013-02-11 Tom de Vries <tom@codesourcery.com>
31813
31814 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31815 Remove.
31816
3a09b620
RM
318172013-02-11 Roland McGrath <roland@hack.frob.com>
31818
31819 * misc/sys/mman.h: Fix typo in mremap comment.
31820
550a0b89
RM
318212013-02-08 Roland McGrath <roland@hack.frob.com>
31822
31823 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31824 the '\0' terminator.
31825
a2da1673
JM
318262013-02-08 Joseph Myers <joseph@codesourcery.com>
31827
31828 [BZ #13550]
31829 * debug/segfault.c: Don't include <bp-checks.h>.
31830 * sysdeps/generic/bp-checks.h: Remove file.
31831 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31832 (__GETDENTS): Don't use CHECK_N.
31833 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31834 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31835 (__getgroups): Don't use CHECK_N.
31836 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31837 (setgroups): Don't use CHECK_N.
31838 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31839 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31840 (__libc_msgrcv): Don't use CHECK_N.
31841 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31842 (__libc_msgsnd): Don't use CHECK_N.
31843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31844 <bp-checks.h>.
31845 (__libc_pread): Don't use CHECK_N.
31846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31847 include <bp-checks.h>.
31848 (__libc_pread64): Don't use CHECK_N.
31849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31850 include <bp-checks.h>.
31851 (__libc_pwrite): Don't use CHECK_N.
31852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31853 include <bp-checks.h>.
31854 (__libc_pwrite64): Don't use CHECK_N.
31855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31856 <bp-checks.h>.
31857 (__libc_pread): Don't use CHECK_N.
31858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31859 include <bp-checks.h>.
31860 (__libc_pread64): Don't use CHECK_N.
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31862 include <bp-checks.h>.
31863 (__libc_pwrite): Don't use CHECK_N.
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31865 include <bp-checks.h>.
31866 (__libc_pwrite64): Don't use CHECK_N.
31867 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31868 (do_pread): Don't use CHECK_N.
31869 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31870 (do_pread64): Don't use CHECK_N.
31871 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31872 (do_pwrite): Don't use CHECK_N.
31873 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31874 (do_pwrite64): Don't use CHECK_N.
31875 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31876 (__libc_readv): Don't use CHECK_N.
31877 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31878 (semop): Don't use CHECK_N.
31879 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31880 <bp-checks.h>.
31881 (semtimedop): Don't use CHECK_N.
31882 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31883 (__libc_pread): Don't use CHECK_N.
31884 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31885 <bp-checks.h>.
31886 (__libc_pread64): Don't use CHECK_N.
31887 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31888 <bp-checks.h>.
31889 (__libc_pwrite): Don't use CHECK_N.
31890 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31891 <bp-checks.h>.
31892 (__libc_pwrite64): Don't use CHECK_N.
31893 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31894 <bp-checks.h>.
31895 (__libc_msgrcv): Don't use CHECK_N.
31896 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31897 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31898 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31899 (__libc_writev): Don't use CHECK_N.
31900
b84660a8
RM
319012013-02-08 Roland McGrath <roland@hack.frob.com>
31902
7f3e75f8
RM
31903 * string/strcpy.c: Removed unused variable.
31904
b84660a8
RM
31905 * Makeconfig (+sysdep-includes): Define with := rather than =.
31906 Use an existing include/ subdir of each sysdeps dir before it.
31907
471514d3
CD
319082013-02-08 Carlos O'Donell <carlos@redhat.com>
31909
31910 * nscd/connection.c (register_traced_file): Comment function.
31911 [HAVE_INOTIFY] (union __inev): Define.
31912 [HAVE_INOTIFY] (inotify_check_files): New function.
31913 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31914 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31915 clear_db_cache.
31916 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31917
b2d3c3be
CD
319182013-02-08 Carlos O'Donell <carlos@redhat.com>
31919
31920 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31921 loaded if not already and that a failure is permanent.
31922
b39949d2
CD
319232013-02-08 Carlos O'Donell <carlos@redhat.com>
31924
ddacd1db 31925 [BZ #15006]
b39949d2
CD
31926 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31927 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31928
b2c9eff4
JM
319292013-02-08 Joseph Myers <joseph@codesourcery.com>
31930
f3aae3f3
JM
31931 [BZ #13550]
31932 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31933 (CHECK_1_NULL_OK): Likewise.
31934 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31935 (__fxstat): Do not use CHECK_1.
31936 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31937 <bp-checks.h>.
31938 (___fxstat64): Do not use CHECK_1.
31939 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31940 <bp-checks.h>.
31941 (__fxstatat): Do not use CHECK_1.
31942 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31943 <bp-checks.h>.
31944 (__fxstatat64): Do not use CHECK_1.
31945 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31946 <bp-checks.h>.
31947 (__fxstat): Do not use CHECK_1.
31948 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31949 <bp-checks.h>.
31950 (__fxstatat): Do not use CHECK_1.
31951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31952 <bp-checks.h>.
31953 (__getresgid): Do not use CHECK_1.
31954 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31955 <bp-checks.h>.
31956 (__getresuid): Do not use CHECK_1.
31957 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31958 <bp-checks.h>.
31959 (__lxstat): Do not use CHECK_1.
31960 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31961 <bp-checks.h>.
31962 (__old_msgctl): Do not use CHECK_1.
31963 (__new_msgctl): Likewise.
31964 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31965 <bp-checks.h>.
31966 (__new_setrlimit): Do not use CHECK_1.
31967 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31968 <bp-checks.h>.
31969 (__old_shmctl): Do not use CHECK_1.
31970 (__new_shmctl): Likewise.
31971 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31972 <bp-checks.h>.
31973 (__xstat): Do not use CHECK_1.
31974 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31975 (__lxstat): Do not use CHECK_1.
31976 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31977 <bp-checks.h>.
31978 (___lxstat64): Do not use CHECK_1.
31979 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31980 (__old_msgctl): Do not use CHECK_1.
31981 (__new_msgctl): Likewise.
31982 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31983 <bp-checks.h>.
31984 (__gettimeofday): Do not use CHECK_1.
31985 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31986 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31987 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31988 <bp-checks.h>.
31989 (__gettimeofday): Do not use CHECK_1.
31990 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31991 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31992 (__new_shmctl): Do not use CHECK_1.
31993 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31994 <bp-checks.h>.
31995 (do_sigtimedwait): Do not use CHECK_1.
31996 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31997 <bp-checks.h>.
31998 (do_sigwaitinfo): Do not use CHECK_1.
31999 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32000 <bp-checks.h>.
32001 (msgctl): Do not use CHECK_1.
32002 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32003 <bp-checks.h>.
32004 (shmctl): Do not use CHECK_1.
32005 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32006 (ustat): Do not use CHECK_1.
32007 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32008 <bp-checks.h>.
32009 (__fxstat): Do not use CHECK_1.
32010 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32011 <bp-checks.h>.
32012 (__fxstatat): Do not use CHECK_1.
32013 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32014 <bp-checks.h>.
32015 (__lxstat): Do not use CHECK_1.
32016 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32017 <bp-checks.h>.
32018 (__xstat): Do not use CHECK_1.
32019 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32020 (__xstat): Do not use CHECK_1.
32021 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32022 (___xstat64): Do not use CHECK_1.
32023
b2c9eff4
JM
32024 [BZ #13550]
32025 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32026 definitions.
32027 (CHECK_BOUNDS_HIGH): Likewise.
32028 * string/strcpy.c: Do not include <bp-checks.h>.
32029 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32030
f1d70dad
RM
320312013-02-07 Roland McGrath <roland@hack.frob.com>
32032
32033 * nscd/nscd-client.h (__nscd_drop_map_ref):
32034 Add __attribute__ ((unused)).
32035 * nis/nss-nisplus.h (niserr2nss): Likewise.
32036
32037 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32038 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32039
32040 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32041 Remove inline keyword.
32042 * include/rounding-mode.h (round_away): Likewise.
32043 * libio/wfileops.c (adjust_wide_data): Likewise.
32044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32045 (__m128i_strloadu_tolower): Likewise.
32046 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32047 (__m128i_strloadu_tolower): Likewise.
32048 * time/mktime.c (ydhms_diff): Likewise.
32049 * locale/elem-hash.h (elem_hash): Likewise.
32050 * locale/setlocale.c (setdata): Likewise.
32051 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32052 (re_string_wchar_at): Likewise.
32053 (bitset_not, bitset_merge, bitset_mask): Likewise.
32054 [!(__GNUC__ > 3)] (inline): Remove macro.
32055 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32056 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32057 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32058 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32059 * string/memcmp.c (memcmp_bytes): Likewise.
32060 * locale/programs/locarchive.c (compute_hashval): Likewise.
32061 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32062 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32063 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32064 * nss/getent.c (print_rpc, print_protocols): Likewise.
32065 (print_passwd, print_group, print_aliases): Likewise.
32066 * nis/nss-nisplus.h (niserr2nss): Likewise.
32067 * nscd/connections.c (restart_p): Likewise.
32068 Change return type to bool.
32069
eab55bfb
RM
320702013-02-05 Roland McGrath <roland@hack.frob.com>
32071
7bd642f5
RM
32072 * Makeconfig (all-Depend-files): Add existing
32073 $(sorted-subdirs:=/Depend) files.
32074 (all-subdirs): Remove nss.
32075 * sysdeps/unix/inet/Subdirs: Add it here instead.
32076 * hesiod/Depend: New file.
32077
573c29b2
RM
32078 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32079 instead of calling alloca.
32080
b2e25af0
RM
32081 * io/lseek.c (__lseek): Rename to __libc_lseek.
32082 Define __lseek as an alias.
32083
eab55bfb
RM
32084 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32085
9a0d1941
CD
320862013-02-04 Carlos O'Donell <carlos@redhat.com>
32087
32088 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32089 else clause and remove check for non-standard endianness.
32090
b83bbec4
DM
320912013-02-04 David S. Miller <davem@davemloft.net>
32092
32093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32094
6277fdab
JM
320952013-02-04 Joseph Myers <joseph@codesourcery.com>
32096
32097 [BZ #13550]
32098 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32099 (__ubp_memchr): Remove prototype.
32100 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32101 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32102 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32103 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32104 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32105 Remove alias.
32106 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32107 (__ubp_memchr): Likewise.
32108 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32109 (__ubp_memchr): Likewise.
32110 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32111 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32112 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32113 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32114 CHECK_STRING.
32115 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32116 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32117 (__getcwd): Do not use CHECK_STRING.
32118 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32119 <bp-checks.h>.
32120 (__real_chown): Do not use CHECK_STRING.
32121 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32122 <bp-checks.h>.
32123 (fchownat): Do not use CHECK_STRING.
32124 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32125 CHECK_STRING.
32126 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32127 <bp-checks.h>.
32128 (__lchown): Do not use CHECK_STRING.
32129 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32130 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32131 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32132 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32134 include <bp-checks.h>.
32135 (truncate64): Do not use CHECK_STRING.
32136 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32137 <bp-checks.h>.
32138 (__real_chown): Do not use CHECK_STRING.
32139 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32140 <bp-checks.h>.
32141 (__lchown): Do not use CHECK_STRING.
32142 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32143 <bp-checks.h>.
32144 (__chown): Do not use CHECK_STRING.
32145 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32146 <bp-checks.h>.
32147 (truncate64): Do not use CHECK_STRING.
32148 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32149 Likewise.
32150 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32151 (__xmknod): Do not use CHECK_STRING.
32152 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32153 <bp-checks.h>.
32154 (__xmknodat): Do not use CHECK_STRING.
32155 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32156 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32157
903ae060
AS
321582013-02-04 Andreas Schwab <schwab@suse.de>
32159
32160 [BZ #14142]
32161 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32162 * include/netdb.h: Likewise for h_errno.
32163 * elf/tst-stackguard1.c: Include <tls.h>.
32164
542f9466
JK
321652013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32166
32167 * elf/link.h (struct link_map): Extend the l_addr comment.
32168 * include/link.h (struct link_map): Likewise.
32169
e782a927
JM
321702013-02-01 Joseph Myers <joseph@codesourcery.com>
32171
32172 [BZ #13550]
32173 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32174 (BOUNDED_1): Remove macro.
32175 * debug/backtrace.c: Don't include <bp-checks.h>.
32176 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32177 (__backtrace): Likewise.
32178 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32179 <bp-checks.h>.
32180 (__backtrace): Don't use BOUNDED_1.
32181 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32182 <bp-checks.h>.
32183 (__backtrace): Don't use BOUNDED_1.
32184 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32185 (__backtrace): Don't use BOUNDED_1.
32186 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32187 (shmat): Don't use BOUNDED_N.
32188
8cf28c5e
JM
321892013-01-31 Joseph Myers <joseph@codesourcery.com>
32190
3a7ac8a0
JM
32191 [BZ #13550]
32192 * sysdeps/generic/bp-start.h: Remove file.
32193 * csu/libc-start.c: Don't include <bp-start.h>.
32194 (LIBC_START_MAIN): Set up __environ directly instead of using
32195 INIT_ARGV_and_ENVIRON.
32196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32197 <bp-start.h>.
32198
f3499f95
JM
32199 [BZ #13550]
32200 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32201 definitions.
32202 (CHECK_FCNTL): Likewise.
32203 (CHECK_N_PAGES): Likewise.
32204
32a45bea
JM
32205 [BZ #13550]
32206 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32207 definitions.
32208 (CHECK_SIGSET_NULL_OK): Likewise.
32209 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32210 <bp-checks.h>.
32211 (sigpending): Don't use CHECK_SIGSET.
32212 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32213 <bp-checks.h>.
32214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32215 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32216 <bp-checks.h>.
32217 (do_sigsuspend): Don't use CHECK_SIGSET.
32218 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32219 use CHECK_SIGSET.
32220 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32221 (do_sigwait): Don't use CHECK_SIGSET.
32222 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32223 use CHECK_SIGSET.
32224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32225 include <bp-checks.h>.
32226 (sigpending): Don't use CHECK_SIGSET.
32227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32228 include <bp-checks.h>.
32229 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32230 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32231 <bp-checks.h>.
32232 (sigpending): Don't use CHECK_SIGSET.
32233 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32234 <bp-checks.h>.
32235 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32236
2e8a5c8c
JM
32237 [BZ #13550]
32238 * sysdeps/generic/bp-semctl.h: Remove file.
32239 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32240 <bp-checks.h> and <bp-semctl.h>.
32241 (__old_semctl): Don't use CHECK_SEMCTL.
32242 (__new_semctl): Likewise.
32243 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32244 and <bp-semctl.h>.
32245 (__old_semctl): Don't use CHECK_SEMCTL.
32246 (__new_semctl): Likewise.
32247 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32248 <bp-checks.h> and <bp-semctl.h>.
32249 (__old_semctl): Don't use CHECK_SEMCTL.
32250 (__new_semctl): Likewise.
32251 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32252 <bp-checks.h> and <bp-semctl.h>.
32253 (semctl): Don't use CHECK_SEMCTL.
32254
c2d54929
JM
32255 [BZ #13550]
32256 * Makerules (elide-bp-thunks): Remove variable.
32257 (elide-routines.oS): Don't use $(elide-bp-thunks).
32258 (elide-routines.os): Likewise.
32259 (elide-routines.o): Likewise.
32260 (elide-routines.op): Likewise.
32261 (elide-routines.og): Likewise.
32262 (objects): Don't use $(bp-thunks).
32263 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32264 include.
32265 (common-generated): Do not add s-proto-bp.d.
32266 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32267 (int): Likewise.
32268 (typ): Likewise.
32269 Do not generate makefile rules for bounded-pointer thunks.
32270 * sysdeps/generic/bp-thunks.h: Remove file.
32271 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32272 * sysdeps/unix/s-proto-bp.S: Likewise.
32273
8cf28c5e
JM
32274 [BZ #15062]
32275 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32276 parts of result separately when argument is not close to line from
32277 -i to i and one part of argument is small.
32278 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32279 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32280 * math/libm-test.inc (cacos_test): Add more tests.
32281 (casin_test): Likewise.
32282 (casinh_test): Likewise.
32283 * sysdeps/i386/fpu/libm-test-ulps: Update.
32284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32285
c4e33b8d
DM
322862013-01-31 David S. Miller <davem@davemloft.net>
32287
32288 * po/de.po: Update from translation team.
32289
3b60b421
MK
322902013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32291
32292 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32293
bb931195
TS
322942013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32295
b5a5da23
TS
32296 * configure.in (_AC_PROG_CC_C89): New definition.
32297 * configure: Regenerate.
32298
bb931195
TS
32299 * configure.in (AC_PROG_CPP): New definition.
32300 * configure: Regenerate.
32301
8c53a12c
JM
323022013-01-23 Joseph Myers <joseph@codesourcery.com>
32303
32304 * debug/tst-backtrace.h: New file.
32305 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32306 (ret): Remove variable.
32307 (x): Likewise.
32308 (FAIL): Remove macro.
32309 (NO_INLINE): Likewise.
32310 (fn1): Use match function instead of strstr.
32311 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32312 (ret): Remove variable.
32313 (x): Likewise.
32314 (FAIL): Remove macro.
32315 (NO_INLINE): Likewise.
32316 (fn): Use match function instead of strstr.
32317 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32318 (ret): Remove variable.
32319 (x): Likewise.
32320 (FAIL): Remove macro.
32321 (NO_INLINE): Likewise.
32322 (handle_signal): Use match function instead of strstr.
32323 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32324 (ret): Remove variable.
32325 (x): Likewise.
32326 (FAIL): Remove macro.
32327 (NO_INLINE): Likewise.
32328 (handle_signal): Use match function instead of strstr.
32329
4858fa2a
RM
323302013-01-23 Roland McGrath <roland@hack.frob.com>
32331
32332 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32333
bae8e7f5
DM
323342013-01-23 David S. Miller <davem@davemloft.net>
32335
32336 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32337 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32338 argument of CAS if possible.
32339 * sysdeps/sparc/sparc64/bits/atomic.h
32340 (__arch_compare_and_exchange_val_32_acq): Likewise.
32341 (__arch_compare_and_exchange_val_64_acq): Likewise.
32342
9cbbc4ae
PT
323432013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32344
32345 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32346 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32347 Include <limits.h>.
67b3f58c 32348 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32349
5655a0b5
AC
323502013-01-23 Adam Conrad <adconrad@0c3.net>
32351
32352 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32353 (LDFLAGS-tst-array5): Likewise.
32354
052aff95
JM
323552013-01-23 Joseph Myers <joseph@codesourcery.com>
32356
32357 [BZ #15036]
32358 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32359 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32360 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32361 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32362
7c1e01aa
DM
323632013-01-21 David S. Miller <davem@davemloft.net>
32364
32365 * sysdeps/sparc/backtrace.c: New file.
32366 * sysdeps/sparc/sparc32/backtrace.h: New file.
32367 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32368 * sysdeps/sparc/sparc64/backtrace.h: New file.
32369 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32370 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32371 -funwind-tables.
32372
ab087e0a
AS
323732013-01-21 Andreas Schwab <schwab@suse.de>
32374
32375 [BZ #15020]
32376 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32377 closed its stdout.
32378
ed689c2f
AS
323792013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32380
32381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32382 "mpa2.h".
32383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32384
31d470ac
JM
323852013-01-18 Joseph Myers <joseph@codesourcery.com>
32386 Mark Mitchell <mark@codesourcery.com>
32387 Tom de Vries <tom@codesourcery.com>
32388 Paul Pluzhnikov <ppluzhnikov@google.com>
32389
32390 * debug/tst-backtrace2.c: New file.
32391 * debug/tst-backtrace3.c: Likewise.
32392 * debug/tst-backtrace4.c: Likewise.
32393 * debug/tst-backtrace5.c: Likewise.
32394 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32395 (CFLAGS-tst-backtrace3.c): Likewise.
32396 (CFLAGS-tst-backtrace4.c): Likewise.
32397 (CFLAGS-tst-backtrace5.c): Likewise.
32398 (LDFLAGS-tst-backtrace2): Likewise.
32399 (LDFLAGS-tst-backtrace3): Likewise.
32400 (LDFLAGS-tst-backtrace4): Likewise.
32401 (LDFLAGS-tst-backtrace5): Likewise.
32402 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32403 tst-backtrace4 and tst-backtrace5.
32404
90567f30 324052013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32406 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32407
32408 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32409 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32410 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32411 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32413 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32414 "+r" and remove output regs list as redundant. Add explicit inline
32415 asm to specify register of return val to work around compiler codegen
32416 bug. Remove (int) cast on return value. Add return type parameter to
32417 use in macro so that this macro does not truncate return value for
32418 64-bit values.
32419 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32420 pass to INTERNAL_VSYSCALL_NCS.
32421 (INLINE_VSYSCALL): Add 'long int' as return type to
32422 INTERNAL_VSYSCALL_NCS macro invocation.
32423 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32424 INTERNAL_VSYSCALL_NCS macro invocation.
32425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32426
d3b9ea61
SP
324272013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32428
0b57daeb
SP
32429 [BZ #14496]
32430 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32431 Fix application of SIMD FP exception mask.
32432
caa99d06
SP
32433 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32434 mp_no from a power of two.
32435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32436 __mpexp_twomm1. Use __pow_mp.
32437
d3b9ea61
SP
32438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32439 multiplication.
32440
1dbaee3c
DM
324412013-01-17 David S. Miller <davem@davemloft.net>
32442
32443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32444
728d7b43
JM
324452013-01-17 Joseph Myers <joseph@codesourcery.com>
32446
32447 [BZ #15023]
32448 * include/complex.h: Condition contents on [!_COMPLEX_H].
32449 (__kernel_casinhf): New prototype.
32450 (__kernel_casinh): Likewise.
32451 (__kernel_casinhl): Likewise.
32452 * math/Makefile (libm_calls): Add k_casinh.
32453 * math/k_casinh.c: New file.
32454 * math/k_casinhf.c: Likewise.
32455 * math/k_casinhl.c: Likewise.
32456 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32457 finite nonzero arguments.
32458 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32459 finite nonzero arguments.
32460 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32461 finite nonzero arguments.
32462 * math/s_casinh.c: Do not include <float.h>.
32463 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32464 * math/s_casinhf.c: Do not include <float.h>.
32465 (__casinhf): Move code for finite nonzero arguments to
32466 k_casinhf.c.
32467 * math/s_casinhl.c: Do not include <float.h>.
32468 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32469 redefine.
32470 (__casinhl): Move code for finite nonzero arguments to
32471 k_casinhl.c.
32472 * math/libm-test.inc (cacos_test): Add more tests.
32473 * sysdeps/i386/fpu/libm-test-ulps: Update.
32474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32475
2a26ef3a
PT
324762013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32477
32478 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32479 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32480 [!HAVE_MREMAP]: Remove [defined linux] case.
32481 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32482
a897655d
SP
324832013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32484
32485 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32486
881ebe89 324872013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32488
32489 * elf/elf.h (R_386_SIZE32): New relocation.
32490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32491 R_386_SIZE32.
32492 (elf_machine_rela): Likewise.
32493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32494 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32495
59981e9b
JM
324962013-01-17 Joseph Myers <joseph@codesourcery.com>
32497
32498 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32499 (FP_FAST_FMA): Do not define.
32500 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32501 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32502 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32503 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32504 !_SOFT_FLOAT]: Likewise.
32505 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32506 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32507 value.
32508 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32509 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32510 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32511 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32512 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32513 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32514 file.
32515
cfa8054f
AS
325162013-01-16 Andreas Schwab <schwab@suse.de>
32517
32518 [BZ #14327]
32519 * include/stdlib.h (__mktemp): Add declaration.
32520 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32521 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32522
dd930cc5
SP
325232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32524
881ebe89
SP
32525 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32526 definitions.
32527 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32528 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32529 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32530 definitions here.
32531 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32532 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32533 definitions.
32534 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32535 and ONE.
32536 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32537 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32538 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32539 definitions.
32540 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32541 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32542 definitions.
32543 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32544
dd930cc5
SP
32545 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32546
c19a9f89
DM
325472013-01-15 David S. Miller <davem@davemloft.net>
32548
1aa61767
DM
32549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32550 trunc{,f} to libm-sysdep_routes.
32551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32553 file.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32556 file.
32557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32558 file.
32559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32561 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32562 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32563 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32564 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32565 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32566 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32567
c42d5e98
DM
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32569 nearbyint{,f} to libm-sysdep_routes.
32570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32572 New file.
32573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32574 file.
32575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32576 New file.
32577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32578 file.
32579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32582 file.
32583 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32585 file.
32586 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32587 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32588 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32589
c19a9f89
DM
32590 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32591 libc_feholdexcept and libc_fesetenv.
32592
357679d2
MF
325932013-01-15 Mike Frysinger <vapier@gentoo.org>
32594
32595 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32596
65a82e3d
DM
325972013-01-14 David S. Miller <davem@davemloft.net>
32598
8b954ab9
DM
32599 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32600 (SPARC_ASM_VIS2_IFUNC): Likewise.
32601 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32603 use of 'siam' instruction.
32604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32605 Likewise.
32606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32607 Likewise.
32608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32609 Likewise.
32610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32615 file.
32616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32617 file.
32618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32619 file.
32620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32621 file.
32622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32627 new VIS2 routines.
32628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32631 Likewise.
32632 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32637 routines to libm-sysdep_routines.
32638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32639
65a82e3d
DM
32640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32641 fdim/fdimf to libm-sysdep_routines.
32642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32643 file.
32644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32646 file.
32647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32650 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32651 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32652 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32653 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32654
e34ab705
SP
326552013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32656
2a91b573
SP
32657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32658 to optimize copies.
32659
1066a534
SP
32660 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32663
e34ab705
SP
32664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32665 local variable MPTWO.
32666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32667 Likewise.
32668
aba5e596
MF
326692013-01-13 Mike Frysinger <vapier@gentoo.org>
32670
32671 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32672 GLOB_NOESCAPE.
32673
e557e9e5
MF
326742013-01-13 Mike Frysinger <vapier@gentoo.org>
32675
32676 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32677
0428cec9
MF
326782013-01-13 Mike Frysinger <vapier@gentoo.org>
32679
32680 * manual/pattern.texi (glob_t): Document gl_flags.
32681 (glob64_t): Likewise.
32682
8794a964
DM
326832013-01-11 David S. Miller <davem@davemloft.net>
32684
66438c3f
RM
32685 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32686 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32687 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32688 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32689 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32690 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32691 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32692 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32693 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32694 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32695 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32696 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32697 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32698
4ae4244d
DM
32699 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32700 sparc V9 rather than using V8 code.
32701 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32702 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32703
8794a964
DM
32704 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32705 Move to...
32706 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32707 Here.
32708
6270516e
RM
327092013-01-11 Roland McGrath <roland@hack.frob.com>
32710
32711 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32712 not in the main loop.
32713 * configure: Regenerated.
32714
6a57d931
JM
327152013-01-11 Joseph Myers <joseph@codesourcery.com>
32716
32717 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32718 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32719 to just #else.
32720 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32721 [!__GLIBC_HAVE_LONG_LONG] case.
32722 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32723 condition to just #else.
32724 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32725 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32726 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32727 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32728 unconditional.
32729 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32730 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32731 #elif condition to just #else.
32732 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32733 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32734 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32735 #elif condition to just #else.
32736
0e8529e9
SE
327372013-01-11 Steve Ellcey <sellcey@mips.com>
32738
32739 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32740 (EF_MIPS_ARCH_64): Fix value.
32741 (EF_MIPS_ARCH_32R2): New.
32742 (EF_MIPS_ARCH_64R2): New.
32743
740b3dbe
L
327442013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 * Makeconfig (+link-pie-before-libc): New.
32747 (+link-pie-after-libc): Likewise.
32748 (+link-pie-tests): Likewise.
32749 (+link-pie): Rewritten.
32750 (link-before-libc): Remove $(config-LDFLAGS).
32751 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32752 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32753 (config-LDFLAGS): Renamed to ...
32754 (rtld-LDFLAGS): This.
32755 (rtld-tests-LDFLAGS): New macro.
32756 (link-libc-rpath-link): Likewise.
32757 (link-libc-tests-rpath-link): Likewise.
32758 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32759 (link-libc): Prepand $(link-libc-rpath-link).
32760 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32761 (test-program-prefix): New macro.
32762 (test-via-rtld-prefix): Likewise.
32763 (test-program-cmd): Likewise.
32764 (host-test-program-cmd): Likewise.
32765 * Makefile ($(common-objpfx)testrun.sh): Replace
32766 $(run-program-prefix) with $(test-program-prefix).
32767 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32768 $(rtld-LDFLAGS).
32769 ($(common-objpfx)shlib.lds): Likewise.
32770 (build-module-helper): Likewise.
32771 ($(common-objpfx)format.lds): Likewise.
32772 * Rules (binaries-pie-tests): New.
32773 (binaries-pie-notests): Likewise.
32774 (binaries-pie): Rewritten.
32775 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32776 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32777 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32778 (make-test-out): Replace $(host-built-program-cmd) with
32779 $(host-test-program-cmd).
32780 * config.make.in (build-hardcoded-path-in-tests): New variable.
32781 * configure.in (--enable-hardcoded-path-in-tests): New configure
32782 option.
32783 (hardcoded_path_in_tests): New AC_SUBST.
32784 * configure: Regenerated.
32785 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32786 $(built-program-cmd) with $(test-program-cmd).
32787 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32788 (test_program_cmd): This.
32789 * elf/Makefile ($(objpfx)order.out): Run test with
32790 $(test-program-prefix).
32791 ($(objpfx)order2.out): Likewise.
32792 ($(objpfx)tst-initorder.out): Likewise.
32793 ($(objpfx)tst-initorder2.out): Likewise.
32794 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32795 $(test-program-cmd).
32796 ($(objpfx)tst-array1-static.out): Likewise.
32797 ($(objpfx)tst-array2.out): Likewise.
32798 ($(objpfx)tst-array3.out): Likewise.
32799 ($(objpfx)tst-array4.out): Likewise.
32800 ($(objpfx)tst-array5.out): Likewise.
32801 ($(objpfx)tst-array5-static.out): Likewise.
32802 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32803 $(test-program-cmd).
32804 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32805 $(run-program-prefix) with $(test-program-prefix).
32806 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32807 (test_program_prefix): This.
32808 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32809 $(run-program-prefix) with $(test-program-prefix).
32810 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32811 (test_program_prefix): This.
32812 * iconvdata/tst-tables.sh: Likewise.
32813 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32814 $(run-program-prefix) with $(test-program-prefix).
32815 ($(objpfx)tst-translit.out): Likewise.
32816 ($(objpfx)tst-gettext2.out): Likewise.
32817 ($(objpfx)tst-gettext4.out): Likewise.
32818 ($(objpfx)tst-gettext6.out): Likewise.
32819 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32820 (test_program_prefix): This.
32821 * intl/tst-gettext2.sh: Likewise.
32822 * intl/tst-gettext4.sh Likewise.
32823 * intl/tst-gettext6.sh: Likewise.
32824 * intl/tst-translit.sh: Likewise.
32825 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32826 with $(test-program-cmd).
32827 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32828 $(run-program-prefix) with $(test-program-prefix).
32829 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32830 (test_program_prefix): This.
32831 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32832 $(run-program-prefix) with $(test-program-prefix).
32833 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32834 (test_program_prefix): This.
32835 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32836 * posix/Makefile ($(objpfx)globtest.out): Replace
32837 $(run-via-rtld-prefix) and $(test-wrapper) with
32838 $(test-program-prefix) and $(test-via-rtld-prefix).
32839 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32840 $(test-program-prefix).
32841 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32842 $(host-test-program-cmd).
32843 (tst-spawn-ARGS): Likewise.
32844 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32845 $(test-program-prefix).
32846 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32847 (test_via_rtld_prefix): This.
32848 (test_wrapper): Renamed to ...
32849 (test_program_prefix): This.
32850 (run_program_prefix): Replaced by test_program_prefix.
32851 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32852 (test_program_prefix): This.
32853 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32854 with $(host-test-program-cmd).
32855 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32856 $(run-program-prefix) with $(test-program-prefix).
32857 ($(objpfx)tst-printf.out): Likewise.
32858 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32859 $(test-program-cmd).
32860 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32861 (test_program_prefix): This.
32862 * stdio-common/tst-unbputc.sh: Likewise.
32863 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32864 $(run-program-prefix) with $(test-program-prefix).
32865 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32866 (test_program_prefix): This.
32867 * string/Makefile ($(objpfx)tst-svc.out): Replace
32868 $(built-program-cmd) with $(test-program-cmd).
32869
c6fe55cf
AJ
328702013-01-11 Andreas Jaeger <aj@suse.de>
32871
32872 [BZ #15003]
32873 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32874 value. Sync with Linux 3.7.
32875
9e6919c8
DM
328762013-01-10 David S. Miller <davem@davemloft.net>
32877
32878 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32879 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32880 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32881
1c9f1a02
RM
328822013-01-10 Roland McGrath <roland@hack.frob.com>
32883
32884 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32885 never set.
32886 * configure: Regenerated.
32887
b9de2dde
DM
328882013-01-10 David S. Miller <davem@davemloft.net>
32889
32890 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32891 sparc V9 rather than using V8 code.
32892 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32893 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32894
e7f68ef4
RM
328952013-01-10 Roland McGrath <roland@hack.frob.com>
32896
32897 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32898 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32899 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32900 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32901 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32902 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32903 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32904 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32905 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32906 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32907 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32908 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32909 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32910 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32911 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32912 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32913 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32914 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32915 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32916 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32917 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32918 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32919 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32920 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32921 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32922 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32923 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32924
5a47cc9c
DM
329252013-01-10 David S. Miller <davem@davemloft.net>
32926
32927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32928
4cf8f209
L
329292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 * posix/Makefile (tests-static): New variable.
32932 (tests): Add $(tests-static).
32933 (tst-exec-static-ARGS): New variable.
32934 (tst-spawn-static-ARGS): Likewise.
32935 * posix/tst-exec-static.c: New file.
32936 * posix/tst-spawn-static.c: Likewise.
32937 * posix/tst-exec.c: Support run directly.
32938 * posix/tst-spawn.c: Likewise.
32939
fed0faa1
JM
329402013-01-10 Joseph Myers <joseph@codesourcery.com>
32941
828beb13
JM
32942 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32943 long.
32944 * math/bits/mathcalls.h (llrint): Likewise.
32945 (llround): Likewise.
32946 * stdlib/stdlib.h (struct drand48_data): Likewise.
32947 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32948 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32949 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32950 Likewise.
32951 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32952 Likewise.
32953 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32954 (elf_greg_t): Likewise.
32955 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32956 (__jmp_buf): Likewise.
32957 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32958 definitions.
32959 (llrint): Likewise, for all definitions.
32960 (llrintl): Likewise.
32961
fed0faa1
JM
32962 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32963 Remove [__GNUC__] condition.
32964 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32965 condition to just [__USE_ISOC99].
32966 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32967
1a20cb20
L
329682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32969
32970 [BZ #14200]
32971 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32972 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32973 defined.
32974 (_POSIX_V6_ILP32_OFF32): Likewise.
32975 (_XBS5_ILP32_OFF32): Likewise.
32976 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32977 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32978
751b85f7
SP
329792013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32980
7490eb81
SP
32981 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32982
751b85f7
SP
32983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32984 doubles __mpexp_twomm1. Adjust usage.
32985 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32986 Remove.
32987
988197f0
AS
329882013-01-10 Andreas Schwab <schwab@suse.de>
32989
32990 [BZ #14964]
32991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32992 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32993
e83d7298
DM
329942013-01-09 David S. Miller <davem@davemloft.net>
32995
034ed64b 32996 [BZ #15003]
57f41c40
AS
32997 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32998 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32999 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33000 (TCP_FASTOPEN): Define.
e83d7298
DM
33001 (tcp_repair_opt): New structure.
33002 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33003 enum values.
57f41c40
AS
33004 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33005 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33006 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33007 (tcp_cookie_transactions): New structure.
33008
d5e0b9bd
AB
330092013-01-09 Anton Blanchard <anton@samba.org>
33010
33011 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33012 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33013 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33014 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33015
0c07e3ea
JM
330162013-01-09 Joseph Myers <joseph@codesourcery.com>
33017
33018 * include/features.h (__USE_ANSI): Remove.
33019
232f7002
RM
330202013-01-09 Roland McGrath <roland@hack.frob.com>
33021
ad98e30c
RM
33022 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33023
232f7002
RM
33024 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33025
950c99ca
SP
330262013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33027
b5792741
SP
33028 * sysdeps/s390/fpu/libm-test-ulps: Update.
33029
47cf2278
SP
33030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33031
950c99ca
SP
33032 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33033 (__acr): Likewise.
33034 (__cpy): Likewise.
33035 (norm): Likewise.
33036 (denorm): Likewise.
33037 (__mp_dbl): Likewise.
33038 (__dbl_mp): Likewise.
33039 (add_magnitudes): Likewise.
33040 (sub_magnitudes): Likewise.
33041 (__add): Likewise.
33042 (__sub): Likewise.
33043 (__mul): Likewise.
33044 (__inv): Likewise.
33045 (__dvd): Likewise.
33046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33047 (__acr): Likewise.
33048 (__cpy): Likewise.
33049 (norm): Likewise.
33050 (denorm): Likewise.
33051 (__mp_dbl): Likewise.
33052 (__dbl_mp): Likewise.
33053 (add_magnitudes): Likewise.
33054 (sub_magnitudes): Likewise.
33055 (__add): Likewise.
33056 (__sub): Likewise.
33057 (__mul): Likewise.
33058 (__inv): Likewise.
33059 (__dvd): Likewise.
33060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33061 (__acr): Likewise.
33062 (__cpy): Likewise.
33063 (norm): Likewise.
33064 (denorm): Likewise.
33065 (__mp_dbl): Likewise.
33066 (__dbl_mp): Likewise.
33067 (add_magnitudes): Likewise.
33068 (sub_magnitudes): Likewise.
33069 (__add): Likewise.
33070 (__sub): Likewise.
33071 (__mul): Likewise.
33072 (__inv): Likewise.
33073 (__dvd): Likewise.
33074
eede9df9
JM
330752013-01-08 Joseph Myers <joseph@codesourcery.com>
33076
33077 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33078 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33079 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33080 2 && __USE_EXTERN_INLINES]: Likewise.
33081
c40ea3d9
AJ
330822013-01-08 Andreas Jaeger <aj@suse.de>
33083
33084 [BZ# 14985]
33085 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33086 Remove.
33087 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33088 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33089
2ccdea26
AB
330902013-01-07 Anton Blanchard <anton@samba.org>
33091
33092 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33093 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33094 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33095 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33096 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33097 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33098 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33099 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33101 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33107 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33110 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33112 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33115 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33116 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33117 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33118 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33119 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33120 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33122 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33125 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33126 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33127 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33128 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33129 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33130 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33131 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33133 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33134 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33135
a9708fed
JM
331362013-01-07 Joseph Myers <joseph@codesourcery.com>
33137
375607b9
JM
33138 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33139 (__MALLOC_PMT): Likewise.
33140 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33141 [__GNUC__], only on [_LIBC].
33142 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33143 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33144 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33145 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33146 forward declaration.
33147 (realloc_hook_ini): Likewise.
33148 (memalign_hook_ini): Likewise.
33149 (__libc_memalign): Do not use __MALLOC_PMT in variable
33150 declaration.
33151 (__libc_valloc): Likewise.
33152 (__libc_pvalloc): Likewise.
33153 (__libc_calloc): Likewise.
33154 (__posix_memalign): Likewise.
33155
a9708fed
JM
33156 [BZ #14996]
33157 * math/s_casinh.c: Include <float.h>.
33158 (__casinh): Do not do computation with squaring and square root
33159 for large arguments.
33160 * math/s_casinhf.c: Include <float.h>.
33161 (__casinhf): Do not do computation with squaring and square root
33162 for large arguments.
33163 * math/s_casinhl.c: Include <float.h>.
33164 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33165 (__casinhl): Do not do computation with squaring and square root
33166 for large arguments.
33167 * math/libm-test.inc (casin_test): Add more tests.
33168 (casinh_test): Likewise.
33169 * sysdeps/i386/fpu/libm-test-ulps: Update.
33170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33171
afec409a
L
331722013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33173
33174 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33175 (__x86_64_raw_data_cache_size): Likewise.
33176 (__x86_64_data_cache_size_half): Likewise.
33177 (__x86_64_raw_data_cache_size_half): Likewise.
33178 (__x86_64_shared_cache_size): Likewise.
33179 (__x86_64_raw_shared_cache_size): Likewise.
33180 (__x86_64_shared_cache_size_half): Likewise.
33181 (__x86_64_raw_shared_cache_size_half): Likewise.
33182 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33183 to ...
33184 (__x86_data_cache_size): This.
33185 (__x86_64_raw_data_cache_size): Renamed to ...
33186 (__x86_raw_data_cache_size): This.
33187 (__x86_64_data_cache_size_half): Renamed to ...
33188 (__x86_data_cache_size_half): This.
33189 (__x86_64_raw_data_cache_size_half): Renamed to ...
33190 (__x86_raw_data_cache_size_half): This.
33191 (__x86_64_shared_cache_size): Renamed to ...
33192 (__x86_shared_cache_size): This.
33193 (__x86_64_raw_shared_cache_size): Renamed to ...
33194 (__x86_raw_shared_cache_size): This.
33195 (__x86_64_shared_cache_size_half): Renamed to ...
33196 (__x86_shared_cache_size_half): This.
33197 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33198 (__x86_raw_shared_cache_size_half): This.
33199 * sysdeps/x86_64/memcpy.S: Updated.
33200 * sysdeps/x86_64/memset.S: Likewise.
33201 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33203 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33204
0b3986d0
DM
332052013-01-04 David S. Miller <davem@davemloft.net>
33206
33207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33208
e47686e9
AS
332092013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33210
d643bac1
AS
33211 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33212 1 to avoid redefinition warning.
33213 (__USE_GNU): Don't define.
33214 (init_signaling_nan): Protoize.
33215
e47686e9
AS
33216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33217
b18decba
SP
332182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33219
fffb407f
SP
33220 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33222 (__cpymn): Likewise.
33223 (norm): Remove commented code.
33224 (denorm): Likewise.
33225 (__mp_dbl): Likewise.
33226 (__inv): Likewise.
33227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33228 (__cpymn): Likewise.
33229 (norm): Remove commented code.
33230 (denorm): Likewise.
33231 (__mp_dbl): Likewise.
33232 (__inv): Likewise.
33233
b18decba
SP
33234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33235 mp_no value for 1.0 and 2.0.
33236 (norm): Use RADIXI instead of radixi.d.
33237 (denorm): Likewise.
33238 (__mul): Use 0.0 instead of zero.d.
33239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33240 mp_no value for 1.0 and 2.0.
33241 (norm): Use RADIXI instead of radixi.d.
33242 (denorm): Likewise.
33243 (__mul): Use 0.0 instead of zero.d.
33244
cdc1c96f
JM
332452013-01-04 Joseph Myers <joseph@codesourcery.com>
33246
33247 [BZ #14994]
33248 * math/s_casinh.c (__casinh): Reduce finite argument to first
33249 quadrant then set signs of results at the end.
33250 * math/s_casinhf.c (__casinhf): Likewise.
33251 * math/s_casinhl.c (__casinhl): Likewise.
33252 * math/libm-test.inc (casin_test): Add more tests.
33253 (casinh_test): Likewise.
33254 * sysdeps/i386/fpu/libm-test-ulps: Update.
33255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33256
302913e1
SP
332572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33258
6420d207
SP
33259 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33260
a9e48ab4
SP
33261 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33262
b7837264
SP
33263 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33264 declarations.
33265 (denorm): Likewise.
33266 (__mp_dbl): Likewise.
33267 (__inv): Likewise.
33268
f8af25d2
SP
33269 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33270 and adjust the header comment.
33271
302913e1
SP
33272 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33273 variable name from declaration.
33274
5d7dd1ca
L
332752013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33276
33277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33278 Initialize COMMON_CPUID_INDEX_7 element.
33279 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33280 (CPUID_RTM): Likewise.
33281 (HAS_RTM): Likewise.
33282 (COMMON_CPUID_INDEX_7): New enum.
33283
2f5f40f4
AS
332842013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33285
33286 [BZ #14981]
33287 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33288 size is zero, record memory as freed.
33289
4056f4a0
AJ
332902013-01-03 Andreas Jaeger <aj@suse.de>
33291
33292 * po/ia.po: Add new Interlingua translation.
33293
ab15736f 332942012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33295
33296 * locale/programs/localedef.c: Fix description of '--posix' flag.
33297
568035b7
JM
332982013-01-02 Joseph Myers <joseph@codesourcery.com>
33299
e6898b8d
JM
33300 * NEWS: Update dates in second copyright notice.
33301 * README: Update copyright dates in example.
33302 * manual/libc.texinfo: Update copyright dates.
33303 * scripts/test-installation.pl: Update copyright date in --version
33304 output.
33305
0e2f9562
JM
33306 * hurd/ctty-input.c: Fix copyright notice formatting.
33307 * hurd/ctty-output.c: Likewise.
33308 * hurd/dtable.c: Likewise.
33309 * hurd/hurd-raise.c: Likewise.
33310 * hurd/hurdprio.c: Likewise.
33311 * hurd/msgportdemux.c: Likewise.
33312 * misc/sys/file.h: Likewise.
33313 * misc/sys/ioctl.h: Likewise.
33314 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33315 * sysdeps/mach/hurd/chdir.c: Likewise.
33316 * sysdeps/mach/hurd/fchdir.c: Likewise.
33317 * sysdeps/mach/hurd/rename.c: Likewise.
33318 * sysdeps/mach/hurd/rmdir.c: Likewise.
33319 * sysdeps/mach/hurd/seekdir.c: Likewise.
33320 * sysdeps/mach/hurd/setsid.c: Likewise.
33321 * sysdeps/posix/wait3.c: Likewise.
33322
568035b7
JM
33323 * All files with FSF copyright notices: Update copyright dates
33324 using scripts/update-copyrights.
33325 * intl/plural.c: Regenerated.
33326 * locale/programs/charmap-kw.h: Likewise.
33327 * locale/programs/locfile-kw.h: Likewise.
33328
da08f647
SP
333292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33330
0f5477af
SP
33331 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33332 four values.
33333
44e0d4c2
SP
33334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33335 calculation loop and add branch prediction.
33336
4d55b4e5
SP
33337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33338 check access beyond bounds of m1np.
33339
da08f647
SP
33340 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33341 MPTWO.
33342 (__inv): Remove local variable MPTWO to use the global
33343 constant.
33344 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33345 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33346 variable MPTWO.
33347 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33348 MP3HALFS static const.
33349
8e051029
DM
333502013-01-01 David S. Miller <davem@davemloft.net>
33351
33352 * po/ca.po: Update from translation team.
33353
f4cf5f2d
JM
333542013-01-01 Joseph Myers <joseph@codesourcery.com>
33355
33356 * scripts/update-copyrights: New file.
33357 * Makeconfig: Reformat copyright notice.
33358 * ctype/ctype.h: Likewise.
33359 * debug/swprintf_chk.c: Likewise.
33360 * elf/dl-cache.c: Likewise.
33361 * elf/dl-debug.c: Likewise.
33362 * elf/dl-object.c: Likewise.
33363 * grp/initgroups.c: Likewise.
33364 * hurd/Makefile: Likewise.
33365 * hurd/hurd/signal.h: Likewise.
33366 * hurd/hurdfault.c: Likewise.
33367 * hurd/hurdioctl.c: Likewise.
33368 * hurd/hurdlookup.c: Likewise.
33369 * hurd/intr-msg.c: Likewise.
33370 * iconv/gconv_open.c: Likewise.
33371 * libio/swprintf.c: Likewise.
33372 * locale/lc-ctype.c: Likewise.
33373 * locale/nl_langinfo.c: Likewise.
33374 * mach/Machrules: Likewise.
33375 * mach/Makefile: Likewise.
33376 * malloc/obstack.h: Likewise.
33377 * manual/Makefile: Likewise.
33378 * manual/tsort.awk: Likewise.
33379 * misc/bits/stab.def: Likewise.
33380 * nis/nis_print_group_entry.c: Likewise.
33381 * nis/nis_table.c: Likewise.
33382 * nis/nss_compat/compat-pwd.c: Likewise.
33383 * nis/nss_compat/compat-spwd.c: Likewise.
33384 * po/Makefile: Likewise.
33385 * posix/fnmatch.c: Likewise.
33386 * posix/regex.h: Likewise.
33387 * resolv/Makefile: Likewise.
33388 * resolv/nss_dns/dns-network.c: Likewise.
33389 * resolv/res_hconf.c: Likewise.
33390 * scripts/gen-sorted.awk: Likewise.
33391 * soft-fp/soft-fp.h: Likewise.
33392 * stdio-common/printf.h: Likewise.
33393 * stdlib/monetary.h: Likewise.
33394 * stdlib/random.c: Likewise.
33395 * stdlib/random_r.c: Likewise.
33396 * sysdeps/generic/Makefile: Likewise.
33397 * sysdeps/gnu/Makefile: Likewise.
33398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33405 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33408 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33410 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33411 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33412 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33413 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33414 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33426 * sysdeps/mach/hurd/errnos.awk: Likewise.
33427 * sysdeps/mach/hurd/fork.c: Likewise.
33428 * sysdeps/mach/hurd/getcwd.c: Likewise.
33429 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33430 * sysdeps/mach/hurd/mmap.c: Likewise.
33431 * sysdeps/mach/hurd/utimes.c: Likewise.
33432 * sysdeps/mach/hurd/xmknod.c: Likewise.
33433 * sysdeps/posix/profil.c: Likewise.
33434 * sysdeps/posix/readdir_r.c: Likewise.
33435 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33436 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33437 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33438 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33446 * sysdeps/pthread/lio_listio.c: Likewise.
33447 * sysdeps/sparc/dl-procinfo.h: Likewise.
33448 * sysdeps/unix/i386/sysdep.S: Likewise.
33449 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33450 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33451 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33452 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33454 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33455 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33456 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33457 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33458 * sysdeps/wordsize-32/divdi3.c: Likewise.
33459 * time/sys/time.h: Likewise.
33460 * wcsmbs/Makefile: Likewise.
33461
0549fbba
DM
334622013-01-01 David S. Miller <davem@davemloft.net>
33463
a141f1a7
DM
33464 * po/fr.po: Update from translation team.
33465
0549fbba
DM
33466 * catgets/gencat.c: Update copyright year.
33467 * csu/version.c: Likewise.
33468 * debug/catchsegv.sh: Likewise.
33469 * debug/pcprofiledump.c: Likewise.
33470 * debug/xtrace.sh: Likewise.
33471 * elf/ldconfig.c: Likewise.
33472 * elf/ldd.bash.in: Likewise.
33473 * elf/pldd.c: Likewise.
33474 * elf/sotruss.ksh: Likewise.
33475 * elf/sprof.c: Likewise.
33476 * iconv/iconv_prog.c: Likewise.
33477 * iconv/iconvconfig.c: Likewise.
33478 * locale/programs/locale.c: Likewise.
33479 * locale/programs/localedef.c: Likewise.
33480 * login/programs/pt_chown.c: Likewise.
33481 * malloc/memusage.sh: Likewise.
33482 * malloc/memusagestat.c: Likewise.
33483 * malloc/mtrace.pl: Likewise.
33484 * nscd/nscd.c: Likewise.
33485 * nss/getent.c: Likewise.
33486 * nss/makedb.c: Likewise.
33487 * posix/getconf.c: Likewise.
33488
18ea052c
SP
334892012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33490
33491 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33492 numbers.
33493
9c89fca6
MF
334942012-12-30 Mike Frysinger <vapier@gentoo.org>
33495
33496 * math/bits/mathcalls.h (modf): Use __nonnull.
33497
085ec079
SP
334982012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33499
33500 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33501 (split): Use macro CN instead of the bare value.
33502 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33503 could be used.
33504 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33505 instead of the bare value.
33506 (power1): Likewise.
33507
6d9f97e1
SP
335082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33509
d63f73be
SP
33510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33511 __ATAN_TWOM.
33512 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33513
6d9f97e1
SP
33514 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33515 their values.
33516 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33518 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33519 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33520
4c4febf5
AJ
335212012-12-28 Andreas Jaeger <aj@suse.de>
33522
af5843ef
AJ
33523 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33524 values are from Linux 3.7.
33525
4c4febf5
AJ
33526 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33527 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33528
99136f82
SP
335292012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33530
2f216c3c 33531 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33532 TRUE case.
33533
99136f82
SP
33534 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33535 (norm): Likewise.
33536 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33537 variables with preprocessor constants.
33538 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33539 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33540 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33541
7fffbdff
BH
335422012-12-27 Bruno Haible <bruno@clisp.org>
33543
33544 [BZ #14317]
33545 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33546 only if needed.
33547
b76eb5f0
SP
335482012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33549
31a7fe5c
SP
33550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33551 and use variable directly.
33552 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33553
b76eb5f0
SP
33554 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33555 MPONE.
33556 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33557 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33558 variable MPONE.
33559 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33561 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33562 include directive. Remove local variable MPONE.
33563 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33564 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33565 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33566
2c8bfe7d
DM
335672012-12-25 David S. Miller <davem@davemloft.net>
33568
33569 * version.h (RELEASE): Set to "development".
33570 (VERSION): Set to "2.17.90".
33571 * NEWS: Add 2.18 section.
33572
147d03b0
DM
335732012-12-21 David S. Miller <davem@davemloft.net>
33574
33575 * po/hr.po: Update from translation team.
33576
a8ebb2b9
AK
335772012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33578
33579 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33580
95b4f1b6
SE
335812012-12-19 Steve Ellcey <sellcey@mips.com>
33582
b2d94007 33583 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33584
cedb2a90
MS
335852012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33586
33587 * manual/contrib.texi (Contributors): Spelling correction.
33588
bbf527d6
DM
335892012-12-15 David S. Miller <davem@davemloft.net>
33590
33591 * po/ru.po: Update from translation team.
33592
bc38c906
DM
335932012-12-13 David S. Miller <davem@davemloft.net>
33594
85429b1a
DM
33595 * NEWS: Mention IFUNC testsuite enhancements.
33596
d283e353
DM
33597 * po/pl.po: Update from translation team.
33598 * po/bg.po: Likewise.
33599
bc38c906
DM
33600 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33601 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33602
a181b0d7
DM
336032012-12-11 David S. Miller <davem@davemloft.net>
33604
4641d57e
DM
33605 * po/sv.po: Update from translation team.
33606
f7bc6495
DM
33607 * po/vi.po: Update from translation team.
33608
6fc9048f
DM
33609 * po/cs.po: Update from translation team.
33610
a181b0d7
DM
33611 * po/de.po: Update from translation team.
33612 * po/eo.po: Likewise.
33613 * po/nl.po: Likewise.
33614
f70bfe80
SP
336152012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33616
3c8b4190
SP
33617 [BZ #14246]
33618 * manual/argp.texi (Argp Helper Functions): Move node to follow
33619 Argp Parsing State.
33620
f70bfe80
SP
33621 [BZ #14872]
33622 * manual/conf.texi (Limits on File System Capacity): Mention if
33623 terminating null is included in the max size.
33624
188f0adf
AJ
336252012-12-10 Andreas Jaeger <aj@suse.de>
33626
33627 * po/cs.po: Update from translation team.
33628
56e7d3ad
SP
336292012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33630
33631 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33632 void pointer and cast to uintptr_t.
33633 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33634 path.
33635 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33636 * sysdeps/s390/s390-64/memset.S: Likewise.
33637
76f2d2ea 336382012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33639
33640 [BZ #14833]
33641 * menual/message.texi (Message Translation): Fix typos.
33642 (Helper programs for gettext): Likewise.
33643
67cbf9a2
AS
336442012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33645
33646 [BZ #14898]
33647 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33648 Change to -1.
33649
682d0e9a
DM
336502012-12-07 David S. Miller <davem@davemloft.net>
33651
33652 * po/libc.pot: Update.
33653
573cd484
RH
336542012-12-07 Richard Henderson <rth@redhat.com>
33655
7e9da188 33656 [BZ #10114]
573cd484
RH
33657 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33658 normal/normal case to before the switch.
33659 (_FP_DIV): Likewise.
33660
e933a943
MF
336612012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33662 Mike Frysinger <vapier@gentoo.org>
33663
33664 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33665 check for __NR_fadvise64_64.
33666
82123268
CM
336672012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33668
33669 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33670 0, not just to plain "0" as a statement.
33671 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33672 with cw.
33673
d9814526
JM
336742012-12-06 Joseph Myers <joseph@codesourcery.com>
33675
33676 * NEWS: Use sourceware.org in Bugzilla URL.
33677
7728c574
SP
336782012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33679
f16946dd
SP
33680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33681 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33682
5704bbcb
SP
33683 * stdio-common/tst-put-error.c (do_test): Add newline to the
33684 padded test to ensure flush.
33685
17aa0516
JL
336862012-12-05 Jeff Law <law@redhat.com>
33687
33688 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33689
363313b5
JM
336902012-12-05 Joseph Myers <joseph@codesourcery.com>
33691
effbd42a
JM
33692 * README: Don't refer to ports add-on as distributed separately.
33693 Mention AArch64 in list of systems supported in the ports add-on.
33694
87600365
JM
33695 * LICENSES: Add more non-FSF copyright and license notices.
33696
a0d7066a
JM
33697 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33698 ((unused)).
33699
66ca5a5b
JM
33700 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33701
363313b5
JM
33702 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33703 10000 as width of padded output.
33704
b37984ad
JM
337052012-12-04 Joseph Myers <joseph@codesourcery.com>
33706
9003570a
JM
33707 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33708
b37984ad
JM
33709 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33710 variable LX with __attribute__ ((unused)).
33711 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33712 Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33716 with __attribute__ ((unused)).
33717
c8df52ec
DM
337182012-12-04 David S. Miller <davem@abraco.davemloft.net>
33719
33720 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33721
b3b099af
JM
337222012-12-04 Joseph Myers <joseph@codesourcery.com>
33723
c33aa6e3
JM
33724 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33725 (CFLAGS-nldbl-acos.c): New variable.
33726 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33727 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33728 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33729 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33730 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33731 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33732 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33733 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33734 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33735 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33736 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33737 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33738 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33739 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33740 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33741 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33742 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33743 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33744 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33745 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33746 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33747 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33748 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33749 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33750 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33751 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33752 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33753 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33754 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33755 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33756 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33757 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33758 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33759 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33760 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33761 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33762 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33763 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33764 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33765 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33766 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33767 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33768 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33769 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33770 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33771 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33772 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33773 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33774 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33775 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33776 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33777 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33778 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33779 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33780 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33781 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33782 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33783 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33784 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33785 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33786 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33787 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33788 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33789 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33790 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33791 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33792 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33793 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33794 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33795 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33796 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33797 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33798 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33799 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33800 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33801 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33802 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33803 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33804 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33805 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33806 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33807 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33808 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33809 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33810 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33811 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33812 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33813 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33814 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33815 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33816 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33817 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33818 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33819 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33820 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33821 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33822 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33823
20f0018d
JM
33824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33825 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33826
b3b099af
JM
33827 [BZ #14914]
33828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33829 whole low double instead of just low 47 bits when splitting values
33830 into two parts.
33831
029264d1
AM
338322012-12-03 Allan McRae <allan@archlinux.org>
33833
33834 * manual/stdio.texi (Predefined Printf Handlers): Remove
33835 @hsep and @vsep usage.
33836
c9d6789e
MF
338372012-12-03 Mike Frysinger <vapier@gentoo.org>
33838
33839 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33840 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33841
4b7634a5
JL
338422012-12-03 Jeff Law <law@redhat.com>
33843
33844 * time/sys/time.h (settimeofday): Do not mark TV argument
33845 as __nonnull.
33846
eb6cbd24
MF
338472012-12-01 Mike Frysinger <vapier@gentoo.org>
33848
33849 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33850 when currently writing and seek to current position when not.
33851 * libio/Makefile (tests): Remove bug-fclose1.
33852 * libio/bug-fclose1.c: Delete.
33853
f638872a
JM
338542012-12-01 Joseph Myers <joseph@codesourcery.com>
33855
33856 * manual/arith.texi (feenableexcept): Fix typo.
33857 (fedisableexcept): Likewise.
33858
48085d14
RM
338592012-11-30 Roland McGrath <roland@hack.frob.com>
33860
33861 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33862 second, differently-typed declaration, rather than a cast.
33863
1a538b9f
SP
338642012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33865
33866 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33867 * include/rpc/svc.h: ... here.
33868
d07f2ff1 338692012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33870
33871 [BZ #13013]
33872 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33873 depending n and resplen2 to catch cases where answer
33874 equals answerp2.
33875
c93ec1f0
CD
338762012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33877
33878 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33879 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33880
37db69de
MF
338812012-11-29 Mike Frysinger <vapier@gentoo.org>
33882
33883 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33884
e10c4e4f
RM
338852012-11-29 Roland McGrath <roland@hack.frob.com>
33886
33887 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33888
2af1b328
JL
338892012-11-28 Jeff Law <law@redhat.com>
33890
33891 [BZ #13761]
33892 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33893 dataset_temporary. Track alloca usage into alloca_used.
33894 If dataset is large allocate and release it via malloc/free.
33895
111db5b1
FW
338962012-06-04 Florian Weimer <fweimer@redhat.com>
33897
f06cc227 33898 [BZ #14197]
111db5b1
FW
33899 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33900
dd694abd
DM
339012012-11-28 David S. Miller <davem@davemloft.net>
33902
33903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33904
9984dd01
JM
339052012-11-28 Joseph Myers <joseph@codesourcery.com>
33906
33907 [BZ #14803]
33908 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33909 of pi/2 rounded to nearest to 64 bits.
33910 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33911 nearest to 64 bits.
33912 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33913 bits.
33914
14bc93a9
JL
339152012-11-28 Jeff Law <law@redhat.com>
33916 Martin Osvald <mosvald@redhat.com>
33917
33918 [BZ #14889]
33919 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33920 * sunrpc/svc.c: Include time.h.
33921 (__svc_accept_failed): New function.
33922 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33923 any reason other than EINTR, call __svc_accept_failed.
33924 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33925 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33926
e3c6aa3a
AS
339272012-11-28 Andreas Schwab <schwab@suse.de>
33928
33929 * scripts/abilist.awk: Also handle indirect functions in .opd
33930 section.
33931
1bead169
JM
339322012-11-28 Joseph Myers <joseph@codesourcery.com>
33933
33934 [BZ #13881]
33935 * sysdeps/x86/fpu/powl_helper.c: New file.
33936 * sysdeps/x86/fpu/Makefile: Likewise.
33937 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33938 (p3): New object.
33939 (__ieee754_powl): Use __powl_helper for finite arguments except
33940 integer exponents below 8.
33941 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33942 (p3): New object.
33943 (__ieee754_powl): Use __powl_helper for finite arguments except
33944 integer exponents below 8.
33945 * math/libm-test.inc (pow_test): Add more tests and enable some
33946 previously disabled tests.
33947 * sysdeps/i386/fpu/libm-test-ulps: Update.
33948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33949
0817d63d
SP
339502012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33951 Carlos O'Donell <carlos_odonell@mentor.com>
33952
33953 * nss/makedb.c (is_prime): Assert that input is odd and greater
33954 than 4. Note that fact in a comment too.
33955 (next_prime): Add 4 to input.
33956
de2fd463
SP
339572012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33958
33959 [BZ #11741]
33960 * libio/Makefile (tests): Add test case tst-fwrite-error.
33961 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33962 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33963 * libio/tst-fwrite-error.c: New test case.
33964
c515fb51
L
339652012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33966
33967 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33968 before casting to void *.
33969 * include/libc-internal.h (__pointer_type): New macro.
33970 (__integer_if_pointer_type_sub): Likewise.
33971 (__integer_if_pointer_type): Likewise.
33972 (cast_to_integer): Likewise.
33973 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33974 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33975 before casting to atomic64_t.
33976 (atomic_exchange_acq): Likewise.
33977 (__arch_exchange_and_add_body): Likewise.
33978 (__arch_add_body): Likewise.
33979 (atomic_add_negative): Likewise.
33980 (atomic_add_zero): Likewise.
33981
4cf77aa9
JM
339822012-11-26 Joseph Myers <joseph@codesourcery.com>
33983
33984 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33985 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33986 (add_fdes): Likewise.
33987 (linear_search_fdes): Likewise.
33988 (binary_search_unencoded_fdes): Likewise.
33989
d260b3b4
AS
339902012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33991
33992 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33993
67060746
AC
339942012-11-24 Adam Conrad <adconrad@0c3.net>
33995
33996 * configure.in: Autodetect C++ header directories.
33997 * configure: Regenerated.
33998
800938a1
MF
339992012-11-23 Mike Frysinger <vapier@gentoo.org>
34000
34001 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34002
4e6e34e6
AS
340032012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34004
34005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34006
7c7feb47
JM
340072012-11-22 Joseph Myers <joseph@codesourcery.com>
34008
7184dcdf
JM
34009 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34010 LDBL_MANT_DIG == 106]: Disable some tests.
34011 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34012 Likewise.
34013 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34014 Likewise.
34015
0a42601f
JM
34016 [BZ #14871]
34017 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34018 input for small inputs. Return +/- pi/2 for large inputs.
34019 * math/libm-test.inc (atan_test): Add more tests.
34020
79c9b9fe
JM
34021 * sysdeps/generic/unwind-dw2-fde-glibc.c
34022 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34023 __attribute__ ((unused)).
34024
c60d3bf2
JM
34025 [BZ #14645]
34026 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34027 x * y if x and y are nonzero and z is zero.
34028
ef1e0867
JM
34029 [BZ #14811]
34030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34031 nonzero exponents with absolute value below 0x1p-117 to +/-
34032 0x1p-117.
34033
1468ded3
JM
34034 [BZ #14869]
34035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34036 up arguments below 2**-450, not just those below 2**-500.
34037 * math/libm-test.inc (hypot_test): Add another test.
34038
8e27e3cc
JM
34039 [BZ #14868]
34040 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34041 Return a+b for ratio over 2**120, not 2**60.
34042 * math/libm-test.inc (hypot_test): Add another test.
34043
c9c0279b
JM
34044 * math/libm-test.inc (clog_test): Use
34045 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34046 (clog10_test): Likewise.
34047
7c7feb47
JM
34048 [BZ #6778]
34049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34050
fff1530e
AS
340512012-11-22 Andreas Schwab <schwab@suse.de>
34052
34053 * sysdeps/i386/fpu/libm-test-ulps: Update.
34054
94558d30
PT
340552012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34056
34057 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34058 printf output with newline.
34059
7e1be741
L
340602012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34061
6bfea974
L
34062 [BZ #14865]
34063 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34064 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34065 -z nodlopen, -z initfirst and -z execstack support.
34066 * configure: Regenerated.
34067
7e1be741
L
34068 * elf/elf.h (DF_1_NODIRECT): New macro.
34069 (DF_1_IGNMULDEF): Likewise.
34070 (DF_1_NOKSYMS): Likewise.
34071 (DF_1_NOHDR): Likewise.
34072 (DF_1_EDITED): Likewise.
34073 (DF_1_NORELOC): Likewise.
34074 (DF_1_SYMINTPOSE): Likewise.
34075 (DF_1_GLOBAUDIT): Likewise.
34076 (DF_1_SINGLETON): Likewise.
34077 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34078 DT_1_SUPPORTED_MASK bits.
34079 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34080
105ce2ce
CD
340812012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34082
34083 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34084
123be9de
TS
340852012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34086
d072f3f7
TS
34087 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34088 macro.
34089
123be9de
TS
34090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34091 (sendmmsg): Move declarations...
34092 * socket/sys/socket.h: ... here.
34093 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34094 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34095 include it from...
34096 * socket/recvmmsg.c: ... this new file.
34097 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34098 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34099 definition of __sendmmsg hidden.
34100 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34101 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34102 Move ENOSYS stub into and include it from...
34103 * socket/sendmmsg.c: ... this new file.
34104 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34105 (sysdep_routines): Move recvmmsg and sendmmsg...
34106 * socket/Makefile (routines): ... here.
34107 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34108 (GLIBC_PRIVATE): Add __sendmmsg.
34109 * include/sys/socket.h (__sendmmsg): Add declarations.
34110 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34111 sendmmsg.
34112
cf9a5d18
JM
341132012-11-20 Joseph Myers <joseph@codesourcery.com>
34114
34115 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34116 variable I1 with __attribute__ ((unused)).
34117 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34118
ecd4caf9
JM
341192012-11-19 Joseph Myers <joseph@codesourcery.com>
34120
be14d48f
JM
34121 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34122 DUMMY variables with __attribute__ ((unused)).
34123
ecd4caf9
JM
34124 * bits/byteswap.h: Include <bits/types.h>.
34125 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34126
986cab95
PT
341272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34128
34129 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34130 string_t. Do not manually set errno.
34131 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34132 length with __strnlen. Make sure to both set errno and return it on
34133 failure.
34134
6d33cc9d
DM
341352012-11-19 David S. Miller <davem@davemloft.net>
34136
34137 With help from Joseph Myers.
34138 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34139 very large arguments properly.
34140 * math/libm-test.inc (atan_test): New tests.
34141 (atan2_test): New tests.
34142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34144
ee663277
JM
341452012-11-19 Joseph Myers <joseph@codesourcery.com>
34146
877f2d8e
JM
34147 [BZ #14856]
34148 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34149 Define to 3.
34150
116fc08a
JM
34151 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34152 [POSIX] (EADDRNOTAVAIL): Likewise.
34153 [POSIX] (EAFNOSUPPORT): Likewise.
34154 [POSIX] (EALREADY): Likewise.
34155 [POSIX] (ECONNABORTED): Likewise.
34156 [POSIX] (ECONNREFUSED): Likewise.
34157 [POSIX] (ECONNRESET): Likewise.
34158 [POSIX] (EDESTADDRREQ): Likewise.
34159 [POSIX] (EDQUOT): Likewise.
34160 [POSIX] (EHOSTUNREACH): Likewise.
34161 [POSIX] (EIDRM): Likewise.
34162 [POSIX] (EISCONN): Likewise.
34163 [POSIX] (ELOOP): Likewise.
34164 [POSIX] (EMULTIHOP): Likewise.
34165 [POSIX] (ENETDOWN): Likewise.
34166 [POSIX] (ENETUNREACH): Likewise.
34167 [POSIX] (ENOBUFS): Likewise.
34168 [POSIX] (ENODATA): Likewise.
34169 [POSIX] (ENOLINK): Likewise.
34170 [POSIX] (ENOMSG): Likewise.
34171 [POSIX] (ENOPROTOOPT): Likewise.
34172 [POSIX] (ENOSR): Likewise.
34173 [POSIX] (ENOSTR): Likewise.
34174 [POSIX] (ENOTCONN): Likewise.
34175 [POSIX] (ENOTSOCK): Likewise.
34176 [POSIX] (EOPNOTSUPP): Likewise.
34177 [POSIX] (EOVERFLOW): Likewise.
34178 [POSIX] (EPROTO): Likewise.
34179 [POSIX] (EPROTONOSUPPORT): Likewise.
34180 [POSIX] (EPROTOTYPE): Likewise.
34181 [POSIX] (ESTALE): Likewise.
34182 [POSIX] (ETIME): Likewise.
34183 [POSIX] (ETXTBSY): Likewise.
34184 [POSIX] (EWOULDBLOCK): Likewise.
34185 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34186 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34187 [POSIX] (SEEK_CUR): Likewise.
34188 [POSIX] (SEEK_END): Likewise.
34189 [POSIX || UNIX98] (mode_t): Do not require.
34190 [POSIX] (off_t): Likewise.
34191 [POSIX] (pid_t): Likewise.
34192 [POSIX] (sys/stat.h): Do not allow header.
34193 [POSIX] (unistd.h): Likewise.
34194 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34195 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34196 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34197 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34198 require.
34199 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34200 sigevent): Specify elements.
34201 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34202 entry.
34203 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34204 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34205
a483863f
JM
34206 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34207 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34208 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34209 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34210 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34211 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34212 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34213 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34214 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34215 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34216 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34217 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34218 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34220 Likewise.
34221 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34222 Likewise.
34223 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34224 Likewise.
34225 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34226 Likewise.
34227 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34228 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34229 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34230 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34231 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34232 Specify lower bound on value.
34233 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34234 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34235 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34236 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34237 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34238 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34239 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34240 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34241 value.
34242 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34243 as optional.
34244 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34245 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34246 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34247 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34248 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34249 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34250 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34251 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34252 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34253 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34254 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34255 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34256 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34257 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34258 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34259 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34260 entry.
34261 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34262 optional.
34263 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34264 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34265 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34266 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34267 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34268 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34269 Likewise.
34270 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34271 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34272 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34273 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34274 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34275 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34277 as optional.
34278 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34279 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34280 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34281 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34282 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34283 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34284 specify as optional.
34285 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34286 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34287 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34288 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34289 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34290 [XPG3] (NL_LANGMAX): Likewise.
34291 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34292 [POSIX || XPG3] (NL_NMAX): Likewise.
34293 [POSIX || XPG3] (NL_SETMAX): Likewise.
34294 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34295 [XPG3] (NZERO): Likewise.
34296 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34297 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34298 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34299 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34300 (REG_ERANGE): Expect.
34301 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34302 optional-constant.
34303 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34304 Use (void) in prototype.
34305 [POSIX] (*_t): Allow.
34306 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34307 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34308 (WRDE_BADVAL): Expect.
34309
5ba924e3
JM
34310 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34311 expect.
34312 [XPG3 || XPG4] (O_RSYNC): Likewise.
34313 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34314 Likewise.
34315 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34316 [XPG3 || XPG4] (sigqueue): Likewise.
34317 [XPG3 || XPG4] (sigtimedwait): Likewise.
34318 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34319 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34320 [XPG3 || XPG4] (vsnprintf): Likewise.
34321 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34322 Likewise.
34323 [XPG3 || XPG4] (blksize_t): Likewise.
34324 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34325 Likewise.
34326 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34327 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34328 [XPG3 || XPG4] (struct itimerspec): Likewise.
34329 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34330 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34331 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34332 [XPG3 || XPG4] (clockid_t): Likewise.
34333 [XPG3 || XPG4] (timer_t): Likewise.
34334 [XPG3 || XPG4] (clock_getres): Likewise.
34335 [XPG3 || XPG4] (clock_gettime): Likewise.
34336 [XPG3 || XPG4] (clock_settime): Likewise.
34337 [XPG3 || XPG4] (nanosleep): Likewise.
34338 [XPG3 || XPG4] (timer_create): Likewise.
34339 [XPG3 || XPG4] (timer_delete): Likewise.
34340 [XPG3 || XPG4] (timer_gettime): Likewise.
34341 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34342 [XPG3 || XPG4] (timer_settime): Likewise.
34343 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34344 [XPG3 || XPG4] (getlogin_r): Likewise.
34345 [XPG3 || XPG4] (pread): Likewise.
34346 [XPG3 || XPG4] (pthread_atfork): Likewise.
34347 [XPG3 || XPG4] (pwrite): Likewise.
34348
ee663277
JM
34349 [BZ #14835]
34350 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34351 <bits/siginfo.h>.
34352
942caa16
PT
343532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34354
e19af380
PT
34355 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34356 finalizing MALLSTREAM.
34357
942caa16
PT
34358 * sysdeps/mach/hurd/syncfs.c: New file.
34359
cfde9b46
SP
343602012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34361
34362 [BZ #14719]
34363 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34364 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34365 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34366 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34367 (_nss_dns_gethostbyname4_r): Likewise.
34368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34369 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34370
f6da27e5
PH
343712012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34372
34373 [BZ #13763]
34374 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34375
6665d4a2
SM
343762012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34377
1f51ee92
SM
34378 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34379 * elf/cache.c (print_entry): Print ",AArch64" for
34380 FLAG_AARCH64_LIB64
34381
6665d4a2
SM
34382 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34383 * elf/cache.c (print_entry): Print ",hard-float" for
34384 FLAG_ARM_LIBHF.
34385
05b227bd
DM
343862012-11-18 David S. Miller <davem@davemloft.net>
34387
34388 With help from Joseph Myers.
34389 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34390 cutoff to 2**-13.
34391 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34392 cutoff to 2**-25.
34393 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34394 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34395 small.
34396 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34397 * math/libm-test.inc (y0_test): New tests.
34398 (y1_test): New tests.
34399 * sysdeps/i386/fpu/libm-test-ulps: Update.
34400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34402
786b0b67
AS
344032012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34404
34405 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34406 64-bit targets.
34407 * configure: Regenerated.
34408
8e18b86d
DM
344092012-11-17 David S. Miller <davem@davemloft.net>
34410
34411 [BZ #14811]
34412 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34413 nonzero exponents with absolute value below 0x1p-128 to +/-
34414 0x1p-128.
34415
531f1ae0
JM
344162012-11-17 Joseph Myers <joseph@codesourcery.com>
34417
12df29e2
JM
34418 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34419
150dc1a0
JM
34420 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34421
531f1ae0
JM
34422 * posix/getconf-speclist.c: New file.
34423 * posix/posix-envs.def: Likewise.
34424 * posix/confstr.c (START_ENV_GROUP): New macro.
34425 (END_ENV_GROUP): Likewise.
34426 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34427 (KNOWN_PRESENT_ENV_STRING): Likewise.
34428 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34429 (UNKNOWN_ENVIRONMENT): Likewise.
34430 (confstr): Include posix-envs.def instead of handling
34431 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34432 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34433 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34434 (END_ENV_GROUP): Likewise.
34435 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34436 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34437 (UNKNOWN_ENVIRONMENT): Likewise.
34438 (__sysconf): Include posix-envs.def instead of handling associated
34439 cases directly here.
34440 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34441 preprocessing getconf-speclist.c rather than running getconf or
34442 generating empty file.
34443
a93f9cbc
PT
344442012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34445
34446 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34447
d64d9f87
AL
344482012-11-16 Andrej Lajovic <natrij@gmail.com>
34449
34450 [BZ #14672]
34451 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34452
447885eb
DM
344532012-11-16 David S. Miller <davem@davemloft.net>
34454
34455 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34456 smaller than LDBL_EPSILON/2.0L, just return xm1.
34457
bcbf9830
L
344582012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34459
34460 * elf/tst-array1.c (init): Set constructor priority to 1000.
34461 (fini): Set destructor priority to 1000.
34462 * elf/tst-array2dep.c: Likewise.
34463
2b766585
SP
344642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34465
34466 [BZ #11741]
34467 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34468 (_IO_new_file_xsputn): Also return EOF if none of the input
34469 data was written when overflow failed.
34470 * libio/iopadn.c (_IO_padn): Likewise.
34471 * libio/iowpadn.c (_IO_wpadn): Likewise.
34472 * stdio-common/tst-put-error.c: Add copyright notice.
34473 (do_test): Add case for printing padded string.
34474 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34475 _IO_padn returned error.
34476 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34477 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34478 return EOF.
34479
b1848fde
SP
344802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34481
34482 * libio/libioP.h: Add comment note that the references to C++
34483 bits are now obsolete.
34484
2fd89785
MS
344852012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34486
34487 * math/libm-test.inc (check_complex): Use asprintf.
34488
e3ea5409
JM
344892012-11-14 Joseph Myers <joseph@codesourcery.com>
34490
34491 * debug/pcprofiledump.c (print_version): Update copyright year.
34492 * malloc/memusagestat.c (print_version): Likewise.
34493
2e64d265
L
344942012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34495
34496 [BZ #14831]
34497 * elf/Makefile (tests): Add tst-audit8.
34498 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34499 ($(objpfx)tst-audit8.out): New target.
34500 (tst-audit8-ENV): New variable.
34501 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34502 audit if l_reloc_result is NULL.
34503 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34504 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34505 * elf/tst-audit8.c: New file.
34506
c485e4d2
MS
345072012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34508
34509 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34510 * misc/Makefile (CFLAGS-select.c): Define.
34511 * posix/Makefile (CFLAGS-pause.c): Define.
34512
3a0d900a
DM
345132012-11-13 David S. Miller <davem@davemloft.net>
34514
34515 * crypt/Makefile: Move test targets after toplevel Rules
34516 inclusion. Grab any necessary sysdep routines when linking.
34517 * crypt/md5.c (md5_process_block): Remove define, we will always
34518 name it __md5_process_block.
34519 (md5_finish_ctx): Update md5_process_block call.
34520 (md5_stream): Likewise.
34521 (md5_process_bytes): Likewise.
34522 (md5_process_block): Rename to __md5_process_block and move to ...
34523 * crypt/md5-block.c: ... here.
34524 * crypt/sha256.c (sha256_process_block): Move to ...
34525 * crypt/sha256-block.c: ... here.
34526 * crypt/sha512.c (sha512_process_block): Move to ...
34527 * crypt/sha512-block.c: ... here.
34528 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34529 path.
34530 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34531 * sysdeps/sparc/sparc64/multiarch/Makefile
34532 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34533 crypt subdir.
34534 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34536 multiarch changes.
34537 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34538 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34539 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34540 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34541 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34542 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34543 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34544 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34545 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34546 file.
34547 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34549 file.
34550 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34551
8ca89318
JM
345522012-11-13 Joseph Myers <joseph@codesourcery.com>
34553
e27d476a
JM
34554 * timezone/tzselect.ksh: Update from tzcode git revision
34555 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34556 * timezone/zdump.c: Likewise.
34557 * timezone/zic.c: Likewise.
34558 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34559 in TZVERSION setting, not $(PKGVERSION).
34560 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34561 REPORT_BUGS_TO settings.
34562
8ca89318
JM
34563 [BZ #14838]
34564 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34565 macro.
34566
47594329
MS
345672012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34568
34569 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34570 detection to immediately after _FP_ROUND().
34571 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34572 bits are 0.
34573
640ac3f1
DM
345742012-11-11 David S. Miller <davem@davemloft.net>
34575
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34577 inttypes.h
34578 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34579 __close rather than their public counterparts.
34580
3d2577bb
JM
345812012-11-10 Joseph Myers <joseph@codesourcery.com>
34582
34583 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34584 file.
34585 [UNIX98] (sem_timedwait): Do not expect.
34586 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34587 [XPG4 || UNIX98] (sockatmark): Do not expect.
34588 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34589 (clock_getcpuclockid): Do not expect.
34590 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34591 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34592 Do not expect.
34593 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34594 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34595 [UNIX98] (vwscanf): Likewise.
34596 [UNIX98] (vswscanf): Likewise.
34597
fb1ae1ee
JM
345982012-11-09 Joseph Myers <joseph@codesourcery.com>
34599
9ec6f8bd
JM
34600 * timezone/version.h: Remove file.
34601 * timezone/README: Do not refer to version.h.
34602 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34603 $(objpfx)version.h.
34604 ($(objpfx)zdump.o): Likewise.
c3f81911 34605 ($(objpfx)version.h): New target.
9ec6f8bd 34606
0aa8f8a1
JM
34607 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34608 2012i.
34609 * timezone/README: Don't mention modification to tzselect.ksh.
34610 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34611 work on unmodified tzselect.ksh. Substitute version numbers in
34612 tzselect.ksh.
34613
4e87147f
JM
34614 * Makefile (format-me): Remove.
34615 (INSTALL): Adjust indentation. Use commands directly instead of
34616 using $(format-me).
34617
8b748aed
JM
34618 * aclocal.m4 (ACX_PKGVERSION): New macro.
34619 (ACX_BUGURL): Likewise.
34620 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34621 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34622 (REPORT_BUGS_TO): Likewise.
34623 * configure: Regenerated.
34624 * config.h.in (PKGVERSION): New macro.
34625 (REPORT_BUGS_TO): Likewise.
34626 * config.make.in (PKGVERSION): New variable.
34627 (PKGVERSION_TEXI): Likewise.
34628 (REPORT_BUGS_TO): Likewise.
34629 (REPORT_BUGS_TEXI): Likewise.
34630 * Makefile (format-me): Use -I$(common-objpfx)manual.
34631 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34632 ($(common-objpfx)manual/%): New target.
34633 (manual/%): Remove target.
34634 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34635 (print_version): Use PKGVERSION.
34636 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34637 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34638 and REPORT_BUGS_TO.
34639 ($(objpfx)xtrace): Likewise.
34640 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34641 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34642 (print_version): Use PKGVERSION.
34643 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34644 (do_version): Use PKGVERSION.
34645 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34646 REPORT_BUGS_TO.
34647 (common-ldd-rewrite): Likewise.
34648 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34649 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34650 (print_version): Use PKGVERSION.
34651 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34652 * elf/pldd.c (argp_program_bug_address): Remove variable.
34653 (more_help): New function.
34654 (argp): Use more_help.
34655 (print_version): Use PKGVERSION.
34656 * elf/sln.c (main): Use PKGVERSION.
34657 (usage): Use REPORT_BUGS_TO.
34658 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34659 (top level): Use PKGVERSION.
34660 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34661 (print_version): Use PKGVERSION.
34662 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34663 (print_version): Use PKGVERSION.
34664 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34665 (print_version): Use PKGVERSION.
34666 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34667 (print_version): Use PKGVERSION.
34668 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34669 (print_version): Use PKGVERSION.
34670 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34671 (print_version): Use PKGVERSION.
34672 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34673 and BUGURL.
34674 ($(objpfx)memusage): Likewise.
34675 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34676 (do_version): Use PKGVERSION.
34677 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34678 (print_version): Use PKGVERSION.
34679 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34680 ($PKGVERSION): New variable.
34681 ($REPORT_BUGS_TO): Likewise.
34682 (usage): Use $REPORT_BUGS_TO.
34683 (top level): Use $PKGVERSION.
34684 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34685 ($(objpfx)pkgvers.texi): New rule.
34686 ($(objpfx)stamp-pkgvers): Likewise.
34687 * manual/install.texi: Include pkgvers.texi.
34688 (--with-pkgversion): Document new configure option.
34689 (--with-bugurl): Likewise.
34690 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34691 than necessarily for this particular distribution. Use
34692 REPORT_BUGS_TO for where to report bugs.
34693 * INSTALL: Regenerated.
34694 * manual/libc.texinfo: Include pkgvers.texi.
34695 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34696 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34697 (print_version): Use PKGVERSION.
34698 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34699 (print_version): Use PKGVERSION.
34700 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34701 (print_version): Use PKGVERSION.
34702 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34703 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34704 macro.
34705 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34706 (print_version): Use PKGVERSION.
34707 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34708 (print_version): Use PKGVERSION.
34709 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34710 and PKGVERSION.
34711
92e4b6a9
JM
34712 * timezone/checktab.awk: Update from tzcode 2012i.
34713 * timezone/ialloc.c: Likewise.
34714 * timezone/private.h: Likewise.
34715 * timezone/scheck.c: Likewise.
34716 * timezone/tzfile.h: Likewise.
34717 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34718 (TZVERSION): Hardcode tzcode version number.
34719 * timezone/zdump.c: Update from tzcode 2012i.
34720 * timezone/zic.c: Likewise.
34721 * timezone/version.h: New file.
34722 * timezone/README: Describe version.h. Update upstream location.
34723
9bde902c
JM
34724 [BZ #14824]
34725 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34726 (mktemp): Enable declaration.
34727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34731 Likewise.
34732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34733 Likewise.
34734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34735 Likewise.
34736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34737 Likewise.
34738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34739 Likewise.
34740 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34741 Likewise.
34742
fb1ae1ee
JM
34743 [BZ #14821]
34744 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34745 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34746 for copies of such integer values.
34747 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34748 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34749
2c1adbcb
AJ
347502012-11-09 Andreas Jaeger <aj@suse.de>
34751
34752 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34753 definitions and declarations that are provided by
34754 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34755
d0f8457e
AK
347562012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34757
3a235abb 34758 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34759 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34760 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34761 definition.
34762
57241e26
MS
347632012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34764
34765 * elf/elf.h: Update comment before AArch64 relocations.
34766
60e8270d
DM
347672012-11-07 David S. Miller <davem@davemloft.net>
34768
34769 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34770 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34771 (__start_context): Declare.
34772 (__makecontext_ret): Delete.
34773 (__makecontext): Hook up __start_context instead of
34774 __makecontext_ret.
34775 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34776 (sysdep_routines): Add __start_context when in stdlib.
34777
0fbb0fbc
JM
347782012-11-07 Joseph Myers <joseph@codesourcery.com>
34779
34780 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34781 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34782 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34783 hardcoded "nm".
34784 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34785 (READELF): New variable. Use it instead of hardcoded "readelf".
34786
eb48db7e
L
347872012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34788
34789 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34790 * sysdeps/x86/Makefile: Here.
34791 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34792 * sysdeps/x86/tst-xmmymm.sh: This.
34793
05bcf62a
JM
347942012-11-07 Joseph Myers <joseph@codesourcery.com>
34795
c4b6cf53
JM
34796 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34797 expectations.
34798 [UNIX98] (pthread_barrier_t): Do not expect.
34799 [UNIX98] (pthread_barrierattr_t): Likewise.
34800 [UNIX98] (pthread_spinlock_t): Likewise.
34801 [UNIX98] (pthread_barrier_destroy): Likewise.
34802 [UNIX98] (pthread_barrier_init): Likewise.
34803 [UNIX98] (pthread_barrier_wait): Likewise.
34804 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34805 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34806 [UNIX98] (pthread_barrierattr_init): Likewise.
34807 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34808 [UNIX98] (pthread_getcpuclockid): Likewise.
34809 [UNIX98] (pthread_mutex_timedlock): Likewise.
34810 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34811 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34812 [UNIX98] (pthread_sigmask): Likewise.
34813 [UNIX98] (pthread_spin_destroy): Likewise.
34814 [UNIX98] (pthread_spin_init): Likewise.
34815 [UNIX98] (pthread_spin_lock): Likewise.
34816 [UNIX98] (pthread_spin_trylock): Likewise.
34817 [UNIX98] (pthread_spin_unlock): Likewise.
34818 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34819 Do not expect.
34820 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34821 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34822 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34823 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34824 [XPG3 || XPG4] (pthread_key_t): Likewise.
34825 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34826 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34827 [XPG3 || XPG4] (pthread_once_t): Likewise.
34828 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34829 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34830 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34831 [XPG3 || XPG4] (pthread_t): Likewise.
34832
cbe6e120
JM
34833 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34834 not expect.
34835 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34836
1b126443
JM
34837 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34838 Change function return type to int.
34839
b961a573
JM
34840 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34841 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34842 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34843 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34844 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34845 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34846 [!POSIX] (posix_madvise): Likewise.
34847 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34848 && !UNIX98].
34849 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34850 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34851 (mode_t): Likewise.
34852 (posix_mem_offset): Likewise.
34853 (posix_typed_mem_get_info): Likewise.
34854 (posix_typed_mem_open): Likewise.
34855
9e188909
JM
34856 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34857 Change condition to [XOPEN2K8].
34858
05bcf62a
JM
34859 * conform/conformtest.pl: Preprocess allow-header data with -x c
34860 instead of from stdin.
34861 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34862 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34863 [C99-based standards] (cerfc): Likewise.
34864 [C99-based standards] (cexp2): Likewise.
34865 [C99-based standards] (cexpm1): Likewise.
34866 [C99-based standards] (clog10): Likewise.
34867 [C99-based standards] (clog1p): Likewise.
34868 [C99-based standards] (clog2): Likewise.
34869 [C99-based standards] (clgamma): Likewise.
34870 [C99-based standards] (ctgamma): Likewise.
34871 [C99-based standards] (cerff): Likewise.
34872 [C99-based standards] (cerfcf): Likewise.
34873 [C99-based standards] (cexp2f): Likewise.
34874 [C99-based standards] (cexpm1f): Likewise.
34875 [C99-based standards] (clog10f): Likewise.
34876 [C99-based standards] (clog1pf): Likewise.
34877 [C99-based standards] (clog2f): Likewise.
34878 [C99-based standards] (clgammaf): Likewise.
34879 [C99-based standards] (ctgammaf): Likewise.
34880 [C99-based standards] (cerfl): Likewise.
34881 [C99-based standards] (cerfcl): Likewise.
34882 [C99-based standards] (cexp2l): Likewise.
34883 [C99-based standards] (cexpm1l): Likewise.
34884 [C99-based standards] (clog10l): Likewise.
34885 [C99-based standards] (clog1pl): Likewise.
34886 [C99-based standards] (clog2l): Likewise.
34887 [C99-based standards] (clgammal): Likewise.
34888 [C99-based standards] (ctgammal): Likewise.
34889 * conform/data/inttypes.h-data [C99-based standards]: Include
34890 stdint.h-data. Remove all expectations for stdint.h contents.
34891 [C99-based standards] (PRI*): Do not allow.
34892 [C99-based standards] (SCN*): Likewise.
34893 [C99-based standards] (*_t): Likewise.
34894 [C99-based-standards] (PRId8): Expect macro.
34895 [C99-based-standards] (PRIi8): Likewise.
34896 [C99-based-standards] (PRIo8): Likewise.
34897 [C99-based-standards] (PRIu8): Likewise.
34898 [C99-based-standards] (PRIx8): Likewise.
34899 [C99-based-standards] (PRIX8): Likewise.
34900 [C99-based-standards] (SCNd8): Likewise.
34901 [C99-based-standards] (SCNi8): Likewise.
34902 [C99-based-standards] (SCNo8): Likewise.
34903 [C99-based-standards] (SCNu8): Likewise.
34904 [C99-based-standards] (SCNx8): Likewise.
34905 [C99-based-standards] (PRIdLEAST8): Likewise.
34906 [C99-based-standards] (PRIiLEAST8): Likewise.
34907 [C99-based-standards] (PRIoLEAST8): Likewise.
34908 [C99-based-standards] (PRIuLEAST8): Likewise.
34909 [C99-based-standards] (PRIxLEAST8): Likewise.
34910 [C99-based-standards] (PRIXLEAST8): Likewise.
34911 [C99-based-standards] (SCNdLEAST8): Likewise.
34912 [C99-based-standards] (SCNiLEAST8): Likewise.
34913 [C99-based-standards] (SCNoLEAST8): Likewise.
34914 [C99-based-standards] (SCNuLEAST8): Likewise.
34915 [C99-based-standards] (SCNxLEAST8): Likewise.
34916 [C99-based-standards] (PRIdFAST8): Likewise.
34917 [C99-based-standards] (PRIiFAST8): Likewise.
34918 [C99-based-standards] (PRIoFAST8): Likewise.
34919 [C99-based-standards] (PRIuFAST8): Likewise.
34920 [C99-based-standards] (PRIxFAST8): Likewise.
34921 [C99-based-standards] (PRIXFAST8): Likewise.
34922 [C99-based-standards] (SCNdFAST8): Likewise.
34923 [C99-based-standards] (SCNiFAST8): Likewise.
34924 [C99-based-standards] (SCNoFAST8): Likewise.
34925 [C99-based-standards] (SCNuFAST8): Likewise.
34926 [C99-based-standards] (SCNxFAST8): Likewise.
34927 [C99-based-standards] (PRId16): Likewise.
34928 [C99-based-standards] (PRIi16): Likewise.
34929 [C99-based-standards] (PRIo16): Likewise.
34930 [C99-based-standards] (PRIu16): Likewise.
34931 [C99-based-standards] (PRIx16): Likewise.
34932 [C99-based-standards] (PRIX16): Likewise.
34933 [C99-based-standards] (SCNd16): Likewise.
34934 [C99-based-standards] (SCNi16): Likewise.
34935 [C99-based-standards] (SCNo16): Likewise.
34936 [C99-based-standards] (SCNu16): Likewise.
34937 [C99-based-standards] (SCNx16): Likewise.
34938 [C99-based-standards] (PRIdLEAST16): Likewise.
34939 [C99-based-standards] (PRIiLEAST16): Likewise.
34940 [C99-based-standards] (PRIoLEAST16): Likewise.
34941 [C99-based-standards] (PRIuLEAST16): Likewise.
34942 [C99-based-standards] (PRIxLEAST16): Likewise.
34943 [C99-based-standards] (PRIXLEAST16): Likewise.
34944 [C99-based-standards] (SCNdLEAST16): Likewise.
34945 [C99-based-standards] (SCNiLEAST16): Likewise.
34946 [C99-based-standards] (SCNoLEAST16): Likewise.
34947 [C99-based-standards] (SCNuLEAST16): Likewise.
34948 [C99-based-standards] (SCNxLEAST16): Likewise.
34949 [C99-based-standards] (PRIdFAST16): Likewise.
34950 [C99-based-standards] (PRIiFAST16): Likewise.
34951 [C99-based-standards] (PRIoFAST16): Likewise.
34952 [C99-based-standards] (PRIuFAST16): Likewise.
34953 [C99-based-standards] (PRIxFAST16): Likewise.
34954 [C99-based-standards] (PRIXFAST16): Likewise.
34955 [C99-based-standards] (SCNdFAST16): Likewise.
34956 [C99-based-standards] (SCNiFAST16): Likewise.
34957 [C99-based-standards] (SCNoFAST16): Likewise.
34958 [C99-based-standards] (SCNuFAST16): Likewise.
34959 [C99-based-standards] (SCNxFAST16): Likewise.
34960 [C99-based-standards] (PRId32): Likewise.
34961 [C99-based-standards] (PRIi32): Likewise.
34962 [C99-based-standards] (PRIo32): Likewise.
34963 [C99-based-standards] (PRIu32): Likewise.
34964 [C99-based-standards] (PRIx32): Likewise.
34965 [C99-based-standards] (PRIX32): Likewise.
34966 [C99-based-standards] (SCNd32): Likewise.
34967 [C99-based-standards] (SCNi32): Likewise.
34968 [C99-based-standards] (SCNo32): Likewise.
34969 [C99-based-standards] (SCNu32): Likewise.
34970 [C99-based-standards] (SCNx32): Likewise.
34971 [C99-based-standards] (PRIdLEAST32): Likewise.
34972 [C99-based-standards] (PRIiLEAST32): Likewise.
34973 [C99-based-standards] (PRIoLEAST32): Likewise.
34974 [C99-based-standards] (PRIuLEAST32): Likewise.
34975 [C99-based-standards] (PRIxLEAST32): Likewise.
34976 [C99-based-standards] (PRIXLEAST32): Likewise.
34977 [C99-based-standards] (SCNdLEAST32): Likewise.
34978 [C99-based-standards] (SCNiLEAST32): Likewise.
34979 [C99-based-standards] (SCNoLEAST32): Likewise.
34980 [C99-based-standards] (SCNuLEAST32): Likewise.
34981 [C99-based-standards] (SCNxLEAST32): Likewise.
34982 [C99-based-standards] (PRIdFAST32): Likewise.
34983 [C99-based-standards] (PRIiFAST32): Likewise.
34984 [C99-based-standards] (PRIoFAST32): Likewise.
34985 [C99-based-standards] (PRIuFAST32): Likewise.
34986 [C99-based-standards] (PRIxFAST32): Likewise.
34987 [C99-based-standards] (PRIXFAST32): Likewise.
34988 [C99-based-standards] (SCNdFAST32): Likewise.
34989 [C99-based-standards] (SCNiFAST32): Likewise.
34990 [C99-based-standards] (SCNoFAST32): Likewise.
34991 [C99-based-standards] (SCNuFAST32): Likewise.
34992 [C99-based-standards] (SCNxFAST32): Likewise.
34993 [C99-based-standards] (PRId64): Likewise.
34994 [C99-based-standards] (PRIi64): Likewise.
34995 [C99-based-standards] (PRIo64): Likewise.
34996 [C99-based-standards] (PRIu64): Likewise.
34997 [C99-based-standards] (PRIx64): Likewise.
34998 [C99-based-standards] (PRIX64): Likewise.
34999 [C99-based-standards] (SCNd64): Likewise.
35000 [C99-based-standards] (SCNi64): Likewise.
35001 [C99-based-standards] (SCNo64): Likewise.
35002 [C99-based-standards] (SCNu64): Likewise.
35003 [C99-based-standards] (SCNx64): Likewise.
35004 [C99-based-standards] (PRIdLEAST64): Likewise.
35005 [C99-based-standards] (PRIiLEAST64): Likewise.
35006 [C99-based-standards] (PRIoLEAST64): Likewise.
35007 [C99-based-standards] (PRIuLEAST64): Likewise.
35008 [C99-based-standards] (PRIxLEAST64): Likewise.
35009 [C99-based-standards] (PRIXLEAST64): Likewise.
35010 [C99-based-standards] (SCNdLEAST64): Likewise.
35011 [C99-based-standards] (SCNiLEAST64): Likewise.
35012 [C99-based-standards] (SCNoLEAST64): Likewise.
35013 [C99-based-standards] (SCNuLEAST64): Likewise.
35014 [C99-based-standards] (SCNxLEAST64): Likewise.
35015 [C99-based-standards] (PRIdFAST64): Likewise.
35016 [C99-based-standards] (PRIiFAST64): Likewise.
35017 [C99-based-standards] (PRIoFAST64): Likewise.
35018 [C99-based-standards] (PRIuFAST64): Likewise.
35019 [C99-based-standards] (PRIxFAST64): Likewise.
35020 [C99-based-standards] (PRIXFAST64): Likewise.
35021 [C99-based-standards] (SCNdFAST64): Likewise.
35022 [C99-based-standards] (SCNiFAST64): Likewise.
35023 [C99-based-standards] (SCNoFAST64): Likewise.
35024 [C99-based-standards] (SCNuFAST64): Likewise.
35025 [C99-based-standards] (SCNxFAST64): Likewise.
35026 [C99-based-standards] (PRIdMAX): Likewise.
35027 [C99-based-standards] (PRIiMAX): Likewise.
35028 [C99-based-standards] (PRIoMAX): Likewise.
35029 [C99-based-standards] (PRIuMAX): Likewise.
35030 [C99-based-standards] (PRIxMAX): Likewise.
35031 [C99-based-standards] (PRIXMAX): Likewise.
35032 [C99-based-standards] (SCNdMAX): Likewise.
35033 [C99-based-standards] (SCNiMAX): Likewise.
35034 [C99-based-standards] (SCNoMAX): Likewise.
35035 [C99-based-standards] (SCNuMAX): Likewise.
35036 [C99-based-standards] (SCNxMAX): Likewise.
35037 [C99-based-standards] (PRIdPTR): Likewise.
35038 [C99-based-standards] (PRIiPTR): Likewise.
35039 [C99-based-standards] (PRIoPTR): Likewise.
35040 [C99-based-standards] (PRIuPTR): Likewise.
35041 [C99-based-standards] (PRIxPTR): Likewise.
35042 [C99-based-standards] (PRIXPTR): Likewise.
35043 [C99-based-standards] (SCNdPTR): Likewise.
35044 [C99-based-standards] (SCNiPTR): Likewise.
35045 [C99-based-standards] (SCNoPTR): Likewise.
35046 [C99-based-standards] (SCNuPTR): Likewise.
35047 [C99-based-standards] (SCNxPTR): Likewise.
35048 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35049 allow.
35050 * conform/data/stdint.h-data: Update comments to clarify
35051 requirements.
35052 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35053 type.
35054 [C99-based standards] (INT8_MAX): Likewise.
35055 [C99-based standards] (INT16_MIN): Likewise.
35056 [C99-based standards] (INT16_MAX): Likewise.
35057 [C99-based standards] (INT32_MIN): Likewise.
35058 [C99-based standards] (INT32_MAX): Likewise.
35059 [C99-based standards] (INT64_MIN): Likewise.
35060 [C99-based standards] (INT64_MAX): Likewise.
35061 [C99-based standards] (UINT8_MAX): Likewise.
35062 [C99-based standards] (UINT16_MAX): Likewise.
35063 [C99-based standards] (UINT32_MAX): Likewise.
35064 [C99-based standards] (UINT64_MAX): Likewise.
35065 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35066 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35067 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35068 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35069 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35070 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35071 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35072 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35073 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35074 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35075 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35076 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35077 [C99-based standards] (INT_FAST8_MIN): Likewise.
35078 [C99-based standards] (INT_FAST8_MAX): Likewise.
35079 [C99-based standards] (INT_FAST16_MIN): Likewise.
35080 [C99-based standards] (INT_FAST16_MAX): Likewise.
35081 [C99-based standards] (INT_FAST32_MIN): Likewise.
35082 [C99-based standards] (INT_FAST32_MAX): Likewise.
35083 [C99-based standards] (INT_FAST64_MIN): Likewise.
35084 [C99-based standards] (INT_FAST64_MAX): Likewise.
35085 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35086 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35087 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35088 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35089 [C99-based standards] (INTPTR_MIN): Likewise.
35090 [C99-based standards] (INTPTR_MAX): Likewise.
35091 [C99-based standards] (UINTPTR_MAX): Likewise.
35092 [C99-based standards] (INTMAX_MIN): Likewise.
35093 [C99-based standards] (INTMAX_MAX): Likewise.
35094 [C99-based standards] (UINTMAX_MAX): Likewise.
35095 [C99-based standards] (PTRDIFF_MIN): Likewise.
35096 [C99-based standards] (PTRDIFF_MAX): Likewise.
35097 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35098 [C99-based standards] (SIZE_MAX): Likewise.
35099 [C99-based standards] (WCHAR_MAX): Likewise.
35100 [C99-based standards] (WINT_MAX): Likewise.
35101 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35102 constraint on value.
35103 [C99-based standards] (WCHAR_MIN): Likewise.
35104 [C99-based standards] (WINT_MIN): Likewise.
35105 [C99-based standards] (*_t): Allow.
35106 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35107 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35108 Include math.h-data and complex.h-data. Remove all expectations
35109 of math.h and complex.h contents.
35110 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35111 at end of line.
35112 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35113 (struct tm): Expect tag.
35114 [C99-based-standards] (wcstof): Expect function.
35115 [C99-based-standards] (wcstold): Likewise.
35116 [C99-based-standards] (wcstoll): Likewise.
35117 [C99-based-standards] (wcstoull): Likewise.
35118 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35119 macro-int-constant. Specify type.
35120 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35121 constraint on value.
35122 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35123 Specify type.
35124 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35125 Specify value.
35126 [ISO C standards]: Do not allow headers.
35127 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35128 wcs[abcdefghijklmnopqrstuvwxyz]*.
35129 [ISO C standards] (*_t): Do not allow.
35130 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35131 Expect function.
35132 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35133 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35134 Specify type.
35135 [ISO C standards]: Do not allow headers.
35136 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35137 is[abcdefghijklmnopqrstuvwxyz]*.
35138 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35139 to[abcdefghijklmnopqrstuvwxyz]*.
35140 [ISO C standards] (*_t): Do not allow.
35141 * conform/data/stdalign.h-data: New file.
35142 * conform/data/stdbool.h-data: Likewise.
35143 * conform/data/stdnoreturn.h-data: Likewise.
35144
7514feb8
RM
351452012-11-07 Roland McGrath <roland@hack.frob.com>
35146
35147 [BZ #14815]
35148 * manual/filesys.texi (Directory Entries): Typo fix.
35149 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35150
19b2ecfc
MS
351512012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35152
35153 * elf/elf.h (EM_AARCH64): New macro.
35154 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35155 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35156 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35157 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35158 (R_AARCH64_TLSDESC): Likewise.
35159 (NT_ARM_TLS): Likewise.
35160 (NT_ARM_HW_BREAK): Likewise.
35161 (NT_ARM_HW_WATCH): Likewise.
35162
60e235ee
JM
351632012-11-07 Joseph Myers <joseph@codesourcery.com>
35164
35165 [BZ #14811]
35166 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35167 (__ieee754_powl): Saturate nonzero exponents with absolute value
35168 below 0x1p-79 to +/- 0x1p-79.
35169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35170 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35171 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35172 nonzero exponents with absolute value below 0x1p-32 to +/-
35173 0x1p-32.
35174 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35175 (__ieee754_powl): Saturate nonzero exponents with absolute value
35176 below 0x1p-79 to +/- 0x1p-79.
35177 * math/libm-test.inc (pow_test): Add more tests.
35178
0ab234b7
AK
351792012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35180
35181 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35182 _dl_s390_cap_flags with kernel. Increase string length.
35183 (_dl_s390_platforms): Add z196 and zEC12.
35184
45832f74
JM
351852012-11-07 Joseph Myers <joseph@codesourcery.com>
35186
35187 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35188 Change XOPEN21K to XOPEN2K.
35189
19218757
MK
351902012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35191
35192 * string/memmove.c: Use memcpy when possible.
35193
c5f45721
AJ
351942012-11-06 Andreas Jaeger <aj@suse.de>
35195
35196 * po/eo.po: Update from translation team.
35197
82477c28
JM
351982012-11-06 Joseph Myers <joseph@codesourcery.com>
35199
35200 [BZ #14793]
35201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35202 exponent and small x and y exponents, scale x or y up. Increase
35203 by 2 the exponent used in scaling up.
35204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35206 * math/libm-test.inc (fma_test): Add more tests.
35207 (fma_test_towardzero): Likewise.
35208 (fma_test_downward): Likewise.
35209 (fma_test_upward): Likewise.
35210
99252c8c
JM
352112012-11-05 Joseph Myers <joseph@codesourcery.com>
35212
acfa885f
JM
35213 [BZ #14805]
35214 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35215 fenv_t *.
35216
99252c8c
JM
35217 [BZ #14801]
35218 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35219 namespace for names of struct fields.
35220 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35221 fenv_t fields.
35222 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35223 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35224
d6d98dea
ST
352252012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35226
35227 [BZ #3665]
35228 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35229
e10bb107
TS
352302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35231
35232 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35233 PTR_DEMANGLE.
35234
35235 [BZ #5246]
35236 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35237 PTR_DEMANGLE.
35238
a0c2940d
JM
352392012-11-04 Joseph Myers <joseph@codesourcery.com>
35240
35241 [BZ #14797]
35242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35243 definitely overflow as x * y not x * y + z.
35244 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35245 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35246 * math/libm-test.inc (fma_test): Add more tests.
35247 (fma_test_towardzero): Likewise.
35248 (fma_test_downward): Likewise.
35249 (fma_test_upward): Likewise.
35250
b830319d
TS
352512012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35252
35253 [BZ #157]
35254
35255 * include/stub-tag.h: Remove file.
35256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35257 '#include' of it.
35258 * manual/maint.texi (Porting): Don't reference it.
35259 * Makerules ($(objpfx)stubs): Likewise.
35260 * dirent/closedir.c: Don't include <stub-tag.h>.
35261 * dirent/dirfd.c: Likewise.
35262 * dirent/fdopendir.c: Likewise.
35263 * dirent/getdents.c: Likewise.
35264 * dirent/getdents64.c: Likewise.
35265 * dirent/opendir.c: Likewise.
35266 * dirent/readdir.c: Likewise.
35267 * dirent/readdir64.c: Likewise.
35268 * dirent/readdir64_r.c: Likewise.
35269 * dirent/readdir_r.c: Likewise.
35270 * dirent/rewinddir.c: Likewise.
35271 * dirent/seekdir.c: Likewise.
35272 * dirent/telldir.c: Likewise.
35273 * gmon/profil.c: Likewise.
35274 * grp/setgroups.c: Likewise.
35275 * inet/if_index.c: Likewise.
35276 * io/access.c: Likewise.
35277 * io/chdir.c: Likewise.
35278 * io/chmod.c: Likewise.
35279 * io/chown.c: Likewise.
35280 * io/close.c: Likewise.
35281 * io/dup.c: Likewise.
35282 * io/dup2.c: Likewise.
35283 * io/dup3.c: Likewise.
35284 * io/euidaccess.c: Likewise.
35285 * io/faccessat.c: Likewise.
35286 * io/fchdir.c: Likewise.
35287 * io/fchmod.c: Likewise.
35288 * io/fchmodat.c: Likewise.
35289 * io/fchown.c: Likewise.
35290 * io/fchownat.c: Likewise.
35291 * io/fcntl.c: Likewise.
35292 * io/flock.c: Likewise.
35293 * io/fstatfs.c: Likewise.
35294 * io/fstatfs64.c: Likewise.
35295 * io/fstatvfs.c: Likewise.
35296 * io/fstatvfs64.c: Likewise.
35297 * io/futimens.c: Likewise.
35298 * io/fxstat.c: Likewise.
35299 * io/fxstat64.c: Likewise.
35300 * io/fxstatat.c: Likewise.
35301 * io/fxstatat64.c: Likewise.
35302 * io/getcwd.c: Likewise.
35303 * io/isatty.c: Likewise.
35304 * io/lchmod.c: Likewise.
35305 * io/lchown.c: Likewise.
35306 * io/link.c: Likewise.
35307 * io/linkat.c: Likewise.
35308 * io/lseek.c: Likewise.
35309 * io/lseek64.c: Likewise.
35310 * io/lxstat64.c: Likewise.
35311 * io/mkdir.c: Likewise.
35312 * io/mkdirat.c: Likewise.
35313 * io/mkfifo.c: Likewise.
35314 * io/mkfifoat.c: Likewise.
35315 * io/open.c: Likewise.
35316 * io/open64.c: Likewise.
35317 * io/openat.c: Likewise.
35318 * io/openat64.c: Likewise.
35319 * io/pipe.c: Likewise.
35320 * io/pipe2.c: Likewise.
35321 * io/poll.c: Likewise.
35322 * io/posix_fadvise.c: Likewise.
35323 * io/posix_fadvise64.c: Likewise.
35324 * io/posix_fallocate.c: Likewise.
35325 * io/posix_fallocate64.c: Likewise.
35326 * io/read.c: Likewise.
35327 * io/readlink.c: Likewise.
35328 * io/readlinkat.c: Likewise.
35329 * io/rmdir.c: Likewise.
35330 * io/sendfile.c: Likewise.
35331 * io/sendfile64.c: Likewise.
35332 * io/statfs.c: Likewise.
35333 * io/statfs64.c: Likewise.
35334 * io/statvfs.c: Likewise.
35335 * io/statvfs64.c: Likewise.
35336 * io/symlink.c: Likewise.
35337 * io/symlinkat.c: Likewise.
35338 * io/ttyname.c: Likewise.
35339 * io/ttyname_r.c: Likewise.
35340 * io/umask.c: Likewise.
35341 * io/unlink.c: Likewise.
35342 * io/unlinkat.c: Likewise.
35343 * io/utime.c: Likewise.
35344 * io/utimensat.c: Likewise.
35345 * io/write.c: Likewise.
35346 * io/xmknod.c: Likewise.
35347 * io/xmknodat.c: Likewise.
35348 * io/xstat.c: Likewise.
35349 * io/xstat64.c: Likewise.
35350 * login/getpt.c: Likewise.
35351 * login/grantpt.c: Likewise.
35352 * login/unlockpt.c: Likewise.
35353 * math/e_acoshl.c: Likewise.
35354 * math/e_acosl.c: Likewise.
35355 * math/e_asinl.c: Likewise.
35356 * math/e_atan2l.c: Likewise.
35357 * math/e_atanhl.c: Likewise.
35358 * math/e_coshl.c: Likewise.
35359 * math/e_expl.c: Likewise.
35360 * math/e_fmodl.c: Likewise.
35361 * math/e_gammal_r.c: Likewise.
35362 * math/e_hypotl.c: Likewise.
35363 * math/e_j0l.c: Likewise.
35364 * math/e_j1l.c: Likewise.
35365 * math/e_jnl.c: Likewise.
35366 * math/e_lgammal_r.c: Likewise.
35367 * math/e_log10l.c: Likewise.
35368 * math/e_log2l.c: Likewise.
35369 * math/e_logl.c: Likewise.
35370 * math/e_powl.c: Likewise.
35371 * math/e_rem_pio2l.c: Likewise.
35372 * math/e_sinhl.c: Likewise.
35373 * math/e_sqrtl.c: Likewise.
35374 * math/fclrexcpt.c: Likewise.
35375 * math/fedisblxcpt.c: Likewise.
35376 * math/feenablxcpt.c: Likewise.
35377 * math/fegetenv.c: Likewise.
35378 * math/fegetexcept.c: Likewise.
35379 * math/fegetround.c: Likewise.
35380 * math/feholdexcpt.c: Likewise.
35381 * math/fesetenv.c: Likewise.
35382 * math/fesetround.c: Likewise.
35383 * math/feupdateenv.c: Likewise.
35384 * math/fgetexcptflg.c: Likewise.
35385 * math/fraiseexcpt.c: Likewise.
35386 * math/fsetexcptflg.c: Likewise.
35387 * math/ftestexcept.c: Likewise.
35388 * math/k_cosl.c: Likewise.
35389 * math/k_rem_pio2l.c: Likewise.
35390 * math/k_sinl.c: Likewise.
35391 * math/k_tanl.c: Likewise.
35392 * math/s_asinhl.c: Likewise.
35393 * math/s_atanl.c: Likewise.
35394 * math/s_cbrtl.c: Likewise.
35395 * math/s_erfl.c: Likewise.
35396 * math/s_expm1l.c: Likewise.
35397 * math/s_log1pl.c: Likewise.
35398 * math/s_tanhl.c: Likewise.
35399 * misc/acct.c: Likewise.
35400 * misc/brk.c: Likewise.
35401 * misc/chflags.c: Likewise.
35402 * misc/chroot.c: Likewise.
35403 * misc/fchflags.c: Likewise.
35404 * misc/fgetxattr.c: Likewise.
35405 * misc/flistxattr.c: Likewise.
35406 * misc/fremovexattr.c: Likewise.
35407 * misc/fsetxattr.c: Likewise.
35408 * misc/fsync.c: Likewise.
35409 * misc/ftruncate.c: Likewise.
35410 * misc/futimes.c: Likewise.
35411 * misc/futimesat.c: Likewise.
35412 * misc/getdomain.c: Likewise.
35413 * misc/getdtsz.c: Likewise.
35414 * misc/gethostid.c: Likewise.
35415 * misc/gethostname.c: Likewise.
35416 * misc/getloadavg.c: Likewise.
35417 * misc/getpagesize.c: Likewise.
35418 * misc/getsysstats.c: Likewise.
35419 * misc/getxattr.c: Likewise.
35420 * misc/gtty.c: Likewise.
35421 * misc/ioctl.c: Likewise.
35422 * misc/lgetxattr.c: Likewise.
35423 * misc/listxattr.c: Likewise.
35424 * misc/llistxattr.c: Likewise.
35425 * misc/lremovexattr.c: Likewise.
35426 * misc/lsetxattr.c: Likewise.
35427 * misc/lutimes.c: Likewise.
35428 * misc/madvise.c: Likewise.
35429 * misc/mincore.c: Likewise.
35430 * misc/mlock.c: Likewise.
35431 * misc/mlockall.c: Likewise.
35432 * misc/mmap.c: Likewise.
35433 * misc/mprotect.c: Likewise.
35434 * misc/msync.c: Likewise.
35435 * misc/munlock.c: Likewise.
35436 * misc/munlockall.c: Likewise.
35437 * misc/munmap.c: Likewise.
35438 * misc/preadv.c: Likewise.
35439 * misc/preadv64.c: Likewise.
35440 * misc/ptrace.c: Likewise.
35441 * misc/pwritev.c: Likewise.
35442 * misc/pwritev64.c: Likewise.
35443 * misc/readv.c: Likewise.
35444 * misc/reboot.c: Likewise.
35445 * misc/remap_file_pages.c: Likewise.
35446 * misc/removexattr.c: Likewise.
35447 * misc/revoke.c: Likewise.
35448 * misc/select.c: Likewise.
35449 * misc/setdomain.c: Likewise.
35450 * misc/setegid.c: Likewise.
35451 * misc/seteuid.c: Likewise.
35452 * misc/sethostid.c: Likewise.
35453 * misc/sethostname.c: Likewise.
35454 * misc/setregid.c: Likewise.
35455 * misc/setreuid.c: Likewise.
35456 * misc/setxattr.c: Likewise.
35457 * misc/sstk.c: Likewise.
35458 * misc/stty.c: Likewise.
35459 * misc/swapoff.c: Likewise.
35460 * misc/swapon.c: Likewise.
35461 * misc/sync.c: Likewise.
35462 * misc/syncfs.c: Likewise.
35463 * misc/syscall.c: Likewise.
35464 * misc/truncate.c: Likewise.
35465 * misc/ualarm.c: Likewise.
35466 * misc/usleep.c: Likewise.
35467 * misc/ustat.c: Likewise.
35468 * misc/utimes.c: Likewise.
35469 * misc/vhangup.c: Likewise.
35470 * misc/writev.c: Likewise.
35471 * posix/_exit.c: Likewise.
35472 * posix/alarm.c: Likewise.
35473 * posix/execve.c: Likewise.
35474 * posix/fexecve.c: Likewise.
35475 * posix/fork.c: Likewise.
35476 * posix/fpathconf.c: Likewise.
35477 * posix/getaddrinfo.c: Likewise.
35478 * posix/getegid.c: Likewise.
35479 * posix/geteuid.c: Likewise.
35480 * posix/getgid.c: Likewise.
35481 * posix/getgroups.c: Likewise.
35482 * posix/getlogin.c: Likewise.
35483 * posix/getlogin_r.c: Likewise.
35484 * posix/getpgid.c: Likewise.
35485 * posix/getpid.c: Likewise.
35486 * posix/getppid.c: Likewise.
35487 * posix/getresgid.c: Likewise.
35488 * posix/getresuid.c: Likewise.
35489 * posix/getsid.c: Likewise.
35490 * posix/getuid.c: Likewise.
35491 * posix/glob64.c: Likewise.
35492 * posix/nanosleep.c: Likewise.
35493 * posix/pathconf.c: Likewise.
35494 * posix/pause.c: Likewise.
35495 * posix/posix_madvise.c: Likewise.
35496 * posix/pread.c: Likewise.
35497 * posix/pread64.c: Likewise.
35498 * posix/pwrite.c: Likewise.
35499 * posix/pwrite64.c: Likewise.
35500 * posix/sched_getaffinity.c: Likewise.
35501 * posix/sched_getp.c: Likewise.
35502 * posix/sched_gets.c: Likewise.
35503 * posix/sched_primax.c: Likewise.
35504 * posix/sched_primin.c: Likewise.
35505 * posix/sched_rr_gi.c: Likewise.
35506 * posix/sched_setaffinity.c: Likewise.
35507 * posix/sched_setp.c: Likewise.
35508 * posix/sched_sets.c: Likewise.
35509 * posix/sched_yield.c: Likewise.
35510 * posix/setgid.c: Likewise.
35511 * posix/setlogin.c: Likewise.
35512 * posix/setpgid.c: Likewise.
35513 * posix/setresgid.c: Likewise.
35514 * posix/setresuid.c: Likewise.
35515 * posix/setsid.c: Likewise.
35516 * posix/setuid.c: Likewise.
35517 * posix/sleep.c: Likewise.
35518 * posix/spawni.c: Likewise.
35519 * posix/sysconf.c: Likewise.
35520 * posix/times.c: Likewise.
35521 * posix/wait.c: Likewise.
35522 * posix/wait3.c: Likewise.
35523 * posix/wait4.c: Likewise.
35524 * posix/waitpid.c: Likewise.
35525 * resolv/gai_sigqueue.c: Likewise.
35526 * resource/getpriority.c: Likewise.
35527 * resource/getrlimit.c: Likewise.
35528 * resource/getrusage.c: Likewise.
35529 * resource/nice.c: Likewise.
35530 * resource/setpriority.c: Likewise.
35531 * resource/setrlimit.c: Likewise.
35532 * resource/ulimit.c: Likewise.
35533 * rt/aio_cancel.c: Likewise.
35534 * rt/aio_fsync.c: Likewise.
35535 * rt/aio_read.c: Likewise.
35536 * rt/aio_sigqueue.c: Likewise.
35537 * rt/aio_suspend.c: Likewise.
35538 * rt/aio_write.c: Likewise.
35539 * rt/clock_getres.c: Likewise.
35540 * rt/clock_gettime.c: Likewise.
35541 * rt/clock_nanosleep.c: Likewise.
35542 * rt/clock_settime.c: Likewise.
35543 * rt/lio_listio.c: Likewise.
35544 * rt/mq_close.c: Likewise.
35545 * rt/mq_getattr.c: Likewise.
35546 * rt/mq_notify.c: Likewise.
35547 * rt/mq_open.c: Likewise.
35548 * rt/mq_receive.c: Likewise.
35549 * rt/mq_send.c: Likewise.
35550 * rt/mq_setattr.c: Likewise.
35551 * rt/mq_timedreceive.c: Likewise.
35552 * rt/mq_timedsend.c: Likewise.
35553 * rt/mq_unlink.c: Likewise.
35554 * rt/shm_open.c: Likewise.
35555 * rt/shm_unlink.c: Likewise.
35556 * rt/timer_create.c: Likewise.
35557 * rt/timer_delete.c: Likewise.
35558 * rt/timer_getoverr.c: Likewise.
35559 * rt/timer_gettime.c: Likewise.
35560 * rt/timer_settime.c: Likewise.
35561 * setjmp/__longjmp.c: Likewise.
35562 * setjmp/setjmp.c: Likewise.
35563 * signal/kill.c: Likewise.
35564 * signal/killpg.c: Likewise.
35565 * signal/raise.c: Likewise.
35566 * signal/sigaction.c: Likewise.
35567 * signal/sigaltstack.c: Likewise.
35568 * signal/sigblock.c: Likewise.
35569 * signal/sigignore.c: Likewise.
35570 * signal/sigintr.c: Likewise.
35571 * signal/signal.c: Likewise.
35572 * signal/sigpause.c: Likewise.
35573 * signal/sigpending.c: Likewise.
35574 * signal/sigqueue.c: Likewise.
35575 * signal/sigreturn.c: Likewise.
35576 * signal/sigset.c: Likewise.
35577 * signal/sigsetmask.c: Likewise.
35578 * signal/sigstack.c: Likewise.
35579 * signal/sigsuspend.c: Likewise.
35580 * signal/sigtimedwait.c: Likewise.
35581 * signal/sigvec.c: Likewise.
35582 * signal/sigwait.c: Likewise.
35583 * signal/sigwaitinfo.c: Likewise.
35584 * signal/sysv_signal.c: Likewise.
35585 * socket/accept.c: Likewise.
35586 * socket/accept4.c: Likewise.
35587 * socket/bind.c: Likewise.
35588 * socket/connect.c: Likewise.
35589 * socket/getpeername.c: Likewise.
35590 * socket/getsockname.c: Likewise.
35591 * socket/getsockopt.c: Likewise.
35592 * socket/isfdtype.c: Likewise.
35593 * socket/listen.c: Likewise.
35594 * socket/recv.c: Likewise.
35595 * socket/recvfrom.c: Likewise.
35596 * socket/recvmsg.c: Likewise.
35597 * socket/send.c: Likewise.
35598 * socket/sendmsg.c: Likewise.
35599 * socket/sendto.c: Likewise.
35600 * socket/setsockopt.c: Likewise.
35601 * socket/shutdown.c: Likewise.
35602 * socket/sockatmark.c: Likewise.
35603 * socket/socket.c: Likewise.
35604 * socket/socketpair.c: Likewise.
35605 * stdio-common/ctermid.c: Likewise.
35606 * stdio-common/cuserid.c: Likewise.
35607 * stdio-common/remove.c: Likewise.
35608 * stdio-common/rename.c: Likewise.
35609 * stdio-common/renameat.c: Likewise.
35610 * stdio-common/tempname.c: Likewise.
35611 * stdlib/getcontext.c: Likewise.
35612 * stdlib/makecontext.c: Likewise.
35613 * stdlib/setcontext.c: Likewise.
35614 * stdlib/swapcontext.c: Likewise.
35615 * stdlib/system.c: Likewise.
35616 * streams/fattach.c: Likewise.
35617 * streams/fdetach.c: Likewise.
35618 * streams/getmsg.c: Likewise.
35619 * streams/getpmsg.c: Likewise.
35620 * streams/putmsg.c: Likewise.
35621 * streams/putpmsg.c: Likewise.
35622 * sysdeps/unix/bsd/getpt.c: Likewise.
35623 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35624 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35625 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35627 Likewise.
35628 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35629 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35630 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35631 * sysvipc/msgctl.c: Likewise.
35632 * sysvipc/msgget.c: Likewise.
35633 * sysvipc/msgrcv.c: Likewise.
35634 * sysvipc/msgsnd.c: Likewise.
35635 * sysvipc/semctl.c: Likewise.
35636 * sysvipc/semget.c: Likewise.
35637 * sysvipc/semop.c: Likewise.
35638 * sysvipc/semtimedop.c: Likewise.
35639 * sysvipc/shmat.c: Likewise.
35640 * sysvipc/shmctl.c: Likewise.
35641 * sysvipc/shmdt.c: Likewise.
35642 * sysvipc/shmget.c: Likewise.
35643 * termios/tcdrain.c: Likewise.
35644 * termios/tcflow.c: Likewise.
35645 * termios/tcflush.c: Likewise.
35646 * termios/tcgetattr.c: Likewise.
35647 * termios/tcgetpgrp.c: Likewise.
35648 * termios/tcsendbrk.c: Likewise.
35649 * termios/tcsetattr.c: Likewise.
35650 * termios/tcsetpgrp.c: Likewise.
35651 * time/adjtime.c: Likewise.
35652 * time/clock.c: Likewise.
35653 * time/getitimer.c: Likewise.
35654 * time/gettimeofday.c: Likewise.
35655 * time/setitimer.c: Likewise.
35656 * time/settimeofday.c: Likewise.
35657 * time/stime.c: Likewise.
35658 * time/time.c: Likewise.
35659
356602012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35661
a20492cf
PT
35662 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35663 /usr/old/bin.
35664
72e182e3
PT
35665 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35666 instead of spaces.
35667 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35668
fbeafede
JM
356692012-11-03 Joseph Myers <joseph@codesourcery.com>
35670
5b5b04d6
JM
35671 [BZ #14796]
35672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35673 FE_TONEAREST before applying Dekker multiplication and Knuth
35674 addition. Clear inexact exceptions and check for exact zero
35675 results afterwards.
35676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35677 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35679 * math/libm-test.inc (fma_test): Add more tests.
35680 (fma_test_towardzero): Likewise.
35681 (fma_test_downward): Likewise.
35682 (fma_test_upward): Likewise.
35683 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35684 function.
35685 (libc_fesetround): New macro.
35686 (libc_fesetroundf): Likewise.
35687 (libc_fesetroundl): Likewise.
35688 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35689 function.
35690 (libc_fesetround_387): Likewise.
35691 (libc_fesetroundf): New macro.
35692 (libc_fesetround): Likewise.
35693 (libc_fesetroundl): Likewise.
35694 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35695 function.
35696 (libc_fesetroundf): New macro.
35697 (libc_fesetround): Likewise.
35698 (libc_fesetroundl): Likewise.
35699 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35700 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35701 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35702 libm_hidden_ver.
35703 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35704 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35705 libm_hidden_def.
35706 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35707 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35708 libm_hidden_ver.
35709 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35710 libm_hidden_def.
35711
fbeafede
JM
35712 [BZ #3439]
35713 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35714 integer constant usable in #if and use that to give value to enum
35715 constant.
35716 (FE_DIVBYZERO): Likewise.
35717 (FE_UNDERFLOW): Likewise.
35718 (FE_OVERFLOW): Likewise.
35719 (FE_INVALID): Likewise.
35720 (FE_INVALID_SNAN): Likewise.
35721 (FE_INVALID_ISI): Likewise.
35722 (FE_INVALID_IDI): Likewise.
35723 (FE_INVALID_ZDZ): Likewise.
35724 (FE_INVALID_IMZ): Likewise.
35725 (FE_INVALID_COMPARE): Likewise.
35726 (FE_INVALID_SOFTWARE): Likewise.
35727 (FE_INVALID_SQRT): Likewise.
35728 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35729 (FE_TONEAREST): Likewise.
35730 (FE_TOWARDZERO): Likewise.
35731 (FE_UPWARD): Likewise.
35732 (FE_DOWNWARD): Likewise.
35733 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35734 (FE_DIVBYZERO): Likewise.
35735 (FE_OVERFLOW): Likewise.
35736 (FE_UNDERFLOW): Likewise.
35737 (FE_INEXACT): Likewise.
35738 (FE_TONEAREST): Likewise.
35739 (FE_DOWNWARD): Likewise.
35740 (FE_UPWARD): Likewise.
35741 (FE_TOWARDZERO): Likewise.
35742 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35743 (FE_UNDERFLOW): Likewise.
35744 (FE_OVERFLOW): Likewise.
35745 (FE_DIVBYZERO): Likewise.
35746 (FE_INVALID): Likewise.
35747 (FE_TONEAREST): Likewise.
35748 (FE_TOWARDZERO): Likewise.
35749 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35750 (FE_OVERFLOW): Likewise.
35751 (FE_UNDERFLOW): Likewise.
35752 (FE_DIVBYZERO): Likewise.
35753 (FE_INEXACT): Likewise.
35754 (FE_TONEAREST): Likewise.
35755 (FE_TOWARDZERO): Likewise.
35756 (FE_UPWARD): Likewise.
35757 (FE_DOWNWARD): Likewise.
35758 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35759 (FE_DIVBYZERO): Likewise.
35760 (FE_OVERFLOW): Likewise.
35761 (FE_UNDERFLOW): Likewise.
35762 (FE_INEXACT): Likewise.
35763 (FE_TONEAREST): Likewise.
35764 (FE_DOWNWARD): Likewise.
35765 (FE_UPWARD): Likewise.
35766 (FE_TOWARDZERO): Likewise.
35767
105ca950
CM
357682012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35769
35770 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35771
a542b389
AS
357722012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35773
35774 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35775 commands. Quote $PWD.
35776 (blacklist_exports): Don't use remove_newlines. Replace "declare
35777 -x" by "export".
35778 (remove_newlines): Remove.
35779
f62c8abc
L
357802012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35781
35782 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35783 * stdlib/stdlib.h (atof): Moved to ...
35784 * include/bits/stdlib-float.h: Here. New file.
35785 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35786 * stdlib/bits/stdlib-float.h: New file.
35787 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35788 -mno-sse -mno-mmx.
35789 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35790 <xmmintrin.h>.
35791
0155d5b2
JM
357922012-11-02 Joseph Myers <joseph@codesourcery.com>
35793
a68d0680
JM
35794 * conform/conformtest.pl (@headers): Add fenv.h.
35795 * conform/data/fenv.h-data: New file.
35796 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35797 include of <math/fenv.h>.
35798
caf7f573
JM
35799 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35800 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35801 && !UNIX98]. Enables tests for XOPEN2K8.
35802 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35803 POSIX2008]: Likewise.
35804
6c073ad6
JM
35805 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35806 (struct rusage): Do not expect type or its members.
35807
0155d5b2
JM
35808 [BZ #3439]
35809 * math/math.h (FP_NAN): Define macro to integer constant usable in
35810 #if and use that to give value to enum constant.
35811 (FP_INFINITE): Likewise.
35812 (FP_ZERO): Likewise.
35813 (FP_SUBNORMAL): Likewise.
35814 (FP_NORMAL): Likewise.
35815
b5dcacb4
AS
358162012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35817
35818 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35819 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35820 arguments.
35821
f7934be8
RM
358222012-11-02 Roland McGrath <roland@hack.frob.com>
35823
35824 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35825 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35826 autoconf-time if not.
35827 * configure.in: Remove AC_PREREQ.
35828
d7d08bde
TMQMF
358292012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35830
35831 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35832 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35833 of the internal implementation.
35834
dcdae19a
JM
358352012-11-02 Joseph Myers <joseph@codesourcery.com>
35836
35837 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35838 except include of <misc/sys/syslog.h>.
35839
d6cffd3e
AS
358402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35841
35842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35843 function returns with a NULL context exit with zero.
35844
b3563932
TMQMF
358452012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35846
35847 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35848
b288a93d
L
358492012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35850
35851 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35852 (run_program_cmd): This.
35853 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35854 (tst_langinfo): New variable. Use it.
35855
a2421a68
SAS
358562012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35857
35858 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35859 floating point opcodes.
35860
6f796e1b
TS
358612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35862
7402596b
TS
35863 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35864 variable.
35865
d0d4f868
TS
35866 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35867
6f796e1b
TS
35868 * sysdeps/mach/hurd/powerpc: Remove directory.
35869 * sysdeps/mach/powerpc: Likewise.
35870
4da224a2
AS
358712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35872
35873 * scripts/check-local-headers.sh: Ignore c++ headers.
35874
341dd673
TS
358752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35876
35877 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35878 __libc_cleanup_region_start argument.
35879
473611b2
JM
358802012-11-01 Joseph Myers <joseph@codesourcery.com>
35881
35882 [BZ #14784]
35883 [BZ #14785]
35884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35885 x * y using scaling, not as x * y + z.
35886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35888 * math/libm-test.inc (fma_test): Add more tests.
35889 (fma_test_towardzero): Likewise.
35890 (fma_test_downward): Likewise.
35891 (fma_test_upward): Likewise.
35892
4078da3d
TS
358932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35894
35895 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35896
903252aa
JM
358972012-10-31 Joseph Myers <joseph@codesourcery.com>
35898
35899 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35900 New variable.
35901
cbc818d0
TS
359022012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35903
35904 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35905
5a03cb1e
AS
359062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35907
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35909 Fix sort order.
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35911 Likewise.
35912
90aff2ff
TMQMF
359132012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35914
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35916 Fix the order of the list for glibc 2.17.
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35918 Likewise.
35919
1818fcb7
AS
359202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35921
35922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35923
ef82f4da
JM
359242012-10-31 Joseph Myers <joseph@codesourcery.com>
35925
16a0e2ec
JM
35926 [BZ #14610]
35927 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35928 for low part of x being zero before using __atanl (y).
35929 * math/libm-test.inc (atan2_test): Add another test.
35930
0eb69512
JM
35931 * manual/install.texi (Configuring and compiling): Document
35932 general use of test-wrapper and test-wrapper-env.
35933 * INSTALL: Regenerated.
35934
ef82f4da
JM
35935 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35936 (__fma): Do not extract and scale down low bits on after-rounding
35937 systems when result rounded to normal precision would have normal
35938 exponent.
35939 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35940 (__fmal): Do not extract and scale down low bits on after-rounding
35941 systems when result rounded to normal precision would have normal
35942 exponent.
35943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35944 (__fmal): Do not extract and scale down low bits on after-rounding
35945 systems when result rounded to normal precision would have normal
35946 exponent.
35947 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35948 macro.
35949 (fma_test): Add more tests.
35950 (fma_test_towardzero): Likewise.
35951 (fma_test_downward): Likewise.
35952 (fma_test_upward): Likewise.
35953
954ef0d9
L
359542012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35955
35956 * sysdeps/i386/tininess.h: Renamed to ...
35957 * sysdeps/x86/tininess.h: This.
35958 * sysdeps/x86_64/tininess.h: Removed.
35959
df61ffb2
JM
359602012-10-30 Joseph Myers <joseph@codesourcery.com>
35961
35962 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35963 input. Use $(build-program-cmd).
35964 ($(objpfx)tst-array1-static.out): Likewise.
35965 ($(objpfx)tst-array2.out): Likewise.
35966 ($(objpfx)tst-array3.out): Likewise.
35967 ($(objpfx)tst-array4.out): Likewise.
35968 ($(objpfx)tst-array5.out): Likewise.
35969 ($(objpfx)tst-array5-static.out): Likewise.
35970
01767843
CM
359712012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35972
47cc1490
CM
35973 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35974 if defined.
35975
01767843
CM
35976 * nss/nsswitch.h (nss_interface_function): Provide new
35977 macro for use with NSS functions.
35978 * grp/initgroups.c: Use new macro.
35979 * nss/getXXbyYY.c: Likewise.
35980 * nss/getXXbyYY_r.c: Likewise.
35981 * nss/getXXent.c: Likewise.
35982 * nss/getXXent_r.c: Likewise.
35983 * sysdeps/posix/getaddrinfo.c: Likewise.
35984
8321aa97
AJ
359852012-10-30 Andreas Jaeger <aj@suse.de>
35986
35987 * po/ru.po: Update Russion translation from translation project.
35988
2a27fd6d
JM
359892012-10-30 Joseph Myers <joseph@codesourcery.com>
35990
8627a232
JM
35991 [BZ #14152]
35992 [BZ #14783]
35993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35994 result and shift together with sticky bit instead of replicating
35995 round-to-nearest rounding.
35996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35997 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35998 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35999 missing underflow exceptions.
36000 (fma_test_towardzero): Add more tests.
36001 (fma_test_downward): Likewise.
36002 (fma_test_upward): Likewise.
36003
2a27fd6d
JM
36004 [BZ #14047]
36005 * sysdeps/generic/tininess.h: New file.
36006 * sysdeps/i386/tininess.h: Likewise.
36007 * sysdeps/sh/tininess.h: Likewise.
36008 * sysdeps/x86_64/tininess.h: Likewise.
36009 * stdlib/tst-strtod-underflow.c: Likewise.
36010 * stdlib/tst-tininess.c: Likewise.
36011 * stdlib/strtod_l.c: Include <tininess.h>.
36012 (round_and_return): Do not set errno for exact underflow cases.
36013 Force an underflow exception when setting errno for underflow.
36014 Determine underflow based on rounding to normal precision if
36015 TININESS_AFTER_ROUNDING.
36016 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36017 ERANGE for exact underflow cases.
36018 * stdlib/Makefile (tests): Add tst-tininess and
36019 tst-strtod-underflow.
36020 ($(objpfx)tst-tininess): Use $(link-libm).
36021 ($(objpfx)tst-strtod-underflow): Likewise.
36022
e7170363
AJ
360232012-10-30 Andreas Jaeger <aj@suse.de>
36024
e5088dc6
AJ
36025 [BZ#14767]
36026 * elf/Makefile (tests): Remove conditional for have-initfini-array
36027 since this is now always required and the variable does not exist
36028 anymore.
36029 (tests-static): Likewise.
36030 (modules-names): Likewise.
36031
e7170363 36032 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36033
36034 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36035 merged with constructor/destructor.
36036 (init_array): Likewise.
36037 * elf/tst-array2dep.c (fini_array): Likewise.
36038 (init_array): Likewise.
36039
60457d8a
MF
360402012-10-29 Mike Frysinger <vapier@gentoo.org>
36041
36042 * manual/message.texi: Delete @cartouche tags.
36043
8bece752
PT
360442012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36045
94ce799f
PT
36046 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36047 EOPNOTSUPP.
36048 * sysdeps/mach/hurd/fsync.c: Likewise.
36049
8bece752
PT
36050 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36051 [_POSIX_REALTIME_SIGNALS]: Change condition to
36052 [_POSIX_REALTIME_SIGNALS > 0].
36053
86ebe6b1
AJ
360542012-10-27 Andreas Jaeger <aj@suse.de>
36055
36056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36057 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36059 [__WORDSIZE != 64]: Likewise.
36060
54399c08
L
360612012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36062
36063 * iconvdata/tst-table.sh: Remove ${SHELL}.
36064 * iconvdata/tst-tables.sh: Likewise.
36065
e2211bed
DM
360662012-10-25 David S. Miller <davem@davemloft.net>
36067
36068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36069 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36070 of strtoull.
36071
f303f97c
DM
36072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36073 ifunc-impl-list.c
36074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36075 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36076 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36077 file.
36078
1e9d84cd
RM
360792012-10-25 Roland McGrath <roland@hack.frob.com>
36080
36081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36082 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36083 __getdirentries.
36084
df381762
JM
360852012-10-25 Joseph Myers <joseph@codesourcery.com>
36086 Jim Blandy <jimb@codesourcery.com>
36087
36088 * scripts/cross-test-ssh.sh: New file.
36089 * manual/install.texi (Configuring and compiling): Document use of
36090 cross-test-ssh.sh.
36091 * INSTALL: Regenerated.
36092
bff64913
PT
360932012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36094
36095 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36096 EOPNOTSUPP.
36097
25fe8932
JM
360982012-10-25 Joseph Myers <joseph@codesourcery.com>
36099
36100 * Makeconfig (run-program-prefix): Fix comment.
36101
cc1290d0
JM
361022012-10-24 Joseph Myers <joseph@codesourcery.com>
36103 Jim Blandy <jimb@codesourcery.com>
36104
36105 * Makeconfig (test-wrapper): New variable,
36106 (test-wrapper-env): Likewise.
36107 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36108 (run-built-tests): Define to yes.
36109 (run-program-prefix): Use $(test-wrapper).
36110 (built-program-cmd): Likewise.
36111 * Rules (make-test-out): Use $(test-wrapper-env) and
36112 $(host-built-program-cmd).
36113 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36114 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36115 tst-pathopt.sh.
36116 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36117 $(test-wrapper-env) to tst-rtld-load-self.sh.
36118 ($(objpfx)order2.out): Use $(test-wrapper).
36119 ($(objpfx)tst-initorder.out): Likewise.
36120 ($(objpfx)tst-initorder2.out): Likewise.
36121 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36122 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36123 (test_wrapper_env): New variable. Use it to run ld.so.
36124 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36125 Use it to run ld.so.
36126 (test_wrapper_env): Likewise.
36127 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36128 $(test-wrapper) to run-iconv-test.sh.
36129 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36130 (ICONV): Use $test_wrapper.
36131 * posix/Makefile ($(objpfx)globtest.out): Pass
36132 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36133 globtest.sh, not $(run-program-prefix).
36134 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36135 (test_wrapper): Likewise.
36136 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36137 set together with run_via_rtld_prefix.
36138 (run_program_prefix): Define in terms of test_wrapper and
36139 run_via_rtld_prefix.
36140
6e6249d0
RM
361412012-10-24 Roland McGrath <roland@hack.frob.com>
36142
36143 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36144 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36145 Targets removed.
36146
36147 [BZ #14743]
36148 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36149 Declare __clock_getres, __clock_gettime, __clock_settime,
36150 __clock_nanosleep, and __clock_getcpuclockid.
36151 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36152 Remove librt_hidden_def (clock_gettime).
36153 * sysdeps/unix/clock_gettime.c: Likewise.
36154 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36155 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36156 * rt/clock_getres.c: Define __clock_getres as an alias.
36157 * sysdeps/posix/clock_getres.c: Likewise.
36158 * rt/clock_settime.c: Define __clock_settime as an alias.
36159 * sysdeps/unix/clock_settime.c: Likewise.
36160 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36161 * sysdeps/unix/clock_nanosleep.c: Likewise.
36162 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36163 * rt/clock-compat.c: New file.
36164 * rt/Makefile (librt-routines): Add clock-compat and move
36165 $(clock-routines) to ...
36166 (routines): ... here, new variable.
36167 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36168 Don't add get_clockfreq here.
36169 * rt/Versions (libc: GLIBC_2.17): New version set.
36170 Add clock_* symbols here.
36171 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36173 (GLIBC_2.17): Add clock_* symbols.
36174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36178 Likewise.
36179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36180 Likewise.
36181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36185 * NEWS: Mention the move.
36186
36187 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36188 Use __open, __read, __close rather than their public counterparts.
36189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36190 (__get_clockfreq_via_cpuinfo): Likewise.
36191 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36192 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36193
36194 * config.h.in (HAVE_IFUNC): New #undef.
36195 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36196 was successful.
36197 * configure: Regenerated.
36198
0cae3f4b
MF
361992012-10-24 Mike Frysinger <vapier@gentoo.org>
36200
36201 * configure.in: Move READELF check to start of file.
36202 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36203 libc_cv_asm_gnu_indirect_function in the process.
36204 * configure: Regenerated.
36205
8175a253
MF
362062012-10-24 Mike Frysinger <vapier@gentoo.org>
36207
36208 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36209 send the output to /dev/null.
36210 (libc_cv_cc_with_libunwind): Likewise.
36211 (libc_cv_as_noexecstack): Likewise.
36212 * configure: Regenerate.
36213
0708a7d1
JM
362142012-10-24 Joseph Myers <joseph@codesourcery.com>
36215
10b40d85
JM
36216 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36217
0708a7d1
JM
36218 * posix/globtest.sh (TMPDIR): Do not set.
36219 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36220 (testout): Likewise.
36221
9fddec1a
AJ
362222012-10-24 Andreas Jaeger <aj@suse.de>
36223
3a8db22f
AJ
36224 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36225 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36226 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36227 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36228 posix_fadvise64, posix_fallocate64.
36229
9fddec1a
AJ
36230 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36231 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36232 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36233 Likewise.
36234 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36235 Likewise.
36236 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36237
36238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36239 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36240 <bits/fcntl-linux.h>.
36241 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36242
36243 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36244 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36245 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36246 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36247 [__WORDSIZE != 64]: Likewise.
36248
ebfd1bbd
JM
362492012-10-23 Joseph Myers <joseph@codesourcery.com>
36250
03ac099f
JM
36251 * Makeconfig (run-built-tests): New variable.
36252 * Rules [$(cross-compiling) = yes]: Change condition to
36253 [$(run-built-tests) = no].
36254 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36255 to [$(run-built-tests) = yes].
36256 * elf/Makefile [$(cross-compiling) = no]: Likewise
36257 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36258 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36259 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36260 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36261 * io/Makefile [$(cross-compiling) = no]: Likewise.
36262 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36263 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36264 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36265 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36266 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36267 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36268 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36269 * string/Makefile [$(cross-compiling) = no]: Likewise.
36270
ebfd1bbd
JM
36271 * posix/Makefile ($(objpfx)globtest.out): Pass
36272 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36273 $(rtld-installed-name).
36274 * posix/globtest.sh (elf_objpfx): Remove variable.
36275 (rtld_installed_name): Likewise.
36276 (library_path): Likewise.
36277 (run_program_prefix): New variable. Use for running globtest
36278 binary.
36279
166bca24
JB
362802012-10-23 Jim Blandy <jimb@codesourcery.com>
36281 Joseph Myers <joseph@codesourcery.com>
36282
36283 * Makeconfig (host-built-program-cmd): New variable.
36284 * elf/Makefile (tst-stackguard1-ARGS): Use
36285 $(host-built-program-cmd).
36286 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36287 (tst-spawn-ARGS): Likewise.
36288 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36289
88866099
JM
362902012-10-23 Joseph Myers <joseph@codesourcery.com>
36291 Jim Blandy <jimb@codesourcery.com>
36292
36293 * Makeconfig (run-via-rtld-prefix): New variable.
36294 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36295 (built-program-cmd): Likewise.
36296
b4b4c296
AJ
362972012-10-22 Andreas Jaeger <aj@suse.de>
36298
36299 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36300 __O_RSYNC if it exists, otherwise to O_SYNC.
36301
6fb54a22
JB
363022012-10-22 Jim Blandy <jimb@codesourcery.com>
36303 Joseph Myers <joseph@codesourcery.com>
36304
36305 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36306 /dev/null.
36307 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36308 from /dev/null
36309 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36310 /dev/null.
36311
481b90b9
AJ
363122012-10-22 Andreas Jaeger <aj@suse.de>
36313
2a0e2669
AJ
36314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36315 Define always.
36316 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36317
76e38f9a
AJ
36318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36319 bits/fcntl-linux.h.
36320
7cd37b43
AJ
36321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36322 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36323
481b90b9
AJ
36324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36325 to __O_LARGEFILE.
36326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36327 to __O_LARGEFILE.
36328
aba75984
JB
363292012-10-21 Jim Blandy <jimb@codesourcery.com>
36330 Joseph Myers <joseph@codesourcery.com>
36331
36332 * config.make.in (NM): New variable.
36333
88d4247f
AJ
363342012-10-21 Andreas Jaeger <aj@suse.de>
36335
36336 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36337 definitions and declarations that are provided by
36338 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36339
f2eed205
L
363402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36341
36342 [BZ #14683]
36343 * elf/Makefile (tests-static): Add tst-leaks1-static.
36344 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36345 ($(objpfx)tst-leaks1-static): New rule.
36346 ($(objpfx)tst-leaks1-static-mem): Likewise.
36347 (tst-leaks1-static-ENV): New macro.
36348 * elf/dl-open.c (dl_open_worker): Check the main application
36349 only if SHARED is defined.
36350 * elf/tst-leaks1-static.c: New file.
36351
335e6931
AJ
363522012-10-20 Andreas Jaeger <aj@suse.de>
36353
36354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36355 generic values for Linux.
36356 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36357 and declarations that are provided by <bits/fcntl-linux.h> and
36358 include <bits/fcntl-linux.h>.
36359 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36361
ac5c94d3
RM
363622012-10-20 Roland McGrath <roland@hack.frob.com>
36363
36364 * io/fcntl.h: Move include of <bits/types.h> to the top and
36365 include it unconditionally.
36366
de54b33a
L
363672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36368
228cfb01
L
36369 * wcsmbs/Makefile (tests-ifunc): New variable.
36370 (tests): Add $(tests-ifunc).
36371 * wcsmbs/test-wcschr-ifunc.c: New file.
36372 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36373 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36374 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36375 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36376 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36377
69f07e5f
L
36378 * string/Makefile (tests-ifunc): New variable.
36379 (tests): Add $(tests-ifunc).
36380 * string/test-memccpy.c (TEST_NAME): New macro.
36381 * string/test-memchr.c (TEST_NAME): Likewise.
36382 * string/test-memcmp.c (TEST_NAME): Likewise.
36383 * string/test-memcpy.c (TEST_NAME): Likewise.
36384 * string/test-memmem.c (TEST_NAME): Likewise.
36385 * string/test-memmove.c (TEST_NAME): Likewise.
36386 * string/test-memset.c (TEST_NAME): Likewise.
36387 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36388 * string/test-stpcpy.c (TEST_NAME): Likewise.
36389 * string/test-stpncpy.c (TEST_NAME): Likewise.
36390 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36391 * string/test-strcasestr.c (TEST_NAME): Likewise.
36392 * string/test-strcat.c (TEST_NAME): Likewise.
36393 * string/test-strchr.c (TEST_NAME): Likewise.
36394 * string/test-strcmp.c(TEST_NAME): Likewise.
36395 * string/test-strcpy.c (TEST_NAME): Likewise.
36396 * string/test-strcspn.c (TEST_NAME): Likewise.
36397 * string/test-strlen.c (TEST_NAME): Likewise.
36398 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36399 * string/test-strncmp.c (TEST_NAME): Likewise.
36400 * string/test-strncpy.c (TEST_NAME): Likewise.
36401 * string/test-strnlen.c (TEST_NAME): Likewise.
36402 * string/test-strpbrk.c (TEST_NAME): Likewise.
36403 * string/test-strrchr.c (TEST_NAME): Likewise.
36404 * string/test-strspn.c (TEST_NAME): Likewise.
36405 * string/test-strstr.c (TEST_NAME): Likewise.
36406 * string/test-bcopy-ifunc.c: New file.
36407 * string/test-bzero-ifunc.c: Likewise.
36408 * string/test-memccpy-ifunc.c: Likewise.
36409 * string/test-memchr-ifunc.c: Likewise.
36410 * string/test-memcmp-ifunc.c: Likewise.
36411 * string/test-memcpy-ifunc.c: Likewise.
36412 * string/test-memmem-ifunc.c: Likewise.
36413 * string/test-memmove-ifunc.c: Likewise.
36414 * string/test-mempcpy-ifunc.c: Likewise.
36415 * string/test-memset-ifunc.c: Likewise.
36416 * string/test-rawmemchr-ifunc.c: Likewise.
36417 * string/test-stpcpy-ifunc.c: Likewise.
36418 * string/test-stpncpy-ifunc.c: Likewise.
36419 * string/test-strcasecmp-ifunc.c: Likewise.
36420 * string/test-strcasestr-ifunc.c: Likewise.
36421 * string/test-strcat-ifunc.c: Likewise.
36422 * string/test-strchr-ifunc.c: Likewise.
36423 * string/test-strchrnul-ifunc.c: Likewise.
36424 * string/test-strcmp-ifunc.c: Likewise.
36425 * string/test-strcpy-ifunc.c: Likewise.
36426 * string/test-strcspn-ifunc.c: Likewise.
36427 * string/test-strlen-ifunc.c: Likewise.
36428 * string/test-strncasecmp-ifunc.c: Likewise.
36429 * string/test-strncat-ifunc.c: Likewise.
36430 * string/test-strncmp-ifunc.c: Likewise.
36431 * string/test-strncpy-ifunc.c: Likewise.
36432 * string/test-strnlen-ifunc.c: Likewise.
36433 * string/test-strpbrk-ifunc.c: Likewise.
36434 * string/test-strrchr-ifunc.c: Likewise.
36435 * string/test-strspn-ifunc.c: Likewise.
36436 * string/test-strstr-ifunc.c: Likewise.
36437
de54b33a
L
36438 * debug/Makefile (tests-ifunc): New variable.
36439 (tests): Add $(tests-ifunc).
36440 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36441 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36442 * debug/test-stpcpy_chk-ifunc.c: New file.
36443 * debug/test-strcpy_chk-ifunc.c: Likewise.
36444
88481c16
SP
364452012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36446
36447 [BZ #13601]
36448 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36449 header is not read in.
36450
135948bd
JM
364512012-10-19 Joseph Myers <joseph@codesourcery.com>
36452
89f1c388
JM
36453 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36454 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36455 directly. Pass built executable to script as
36456 $(built-program-cmd).
36457 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36458 $testprogram without using LD_LIBRARY_PATH and $ldso.
36459
e40a0d21
JM
36460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36461 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36462 $(rtld-installed-name).
36463 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36464 (rtld_installed_name): Likewise.
36465 (library_path): Likewise.
36466 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36467 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36468 $(run-program-prefix) to tst-tables.sh.
36469 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36470 it to run tst-table-from and tst-table-to.
36471 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36472 Pass it to tst-table.sh.
36473 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36474 $(run-program-prefix) to tst-gettext.sh.
36475 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36476 tst-translit.sh.
36477 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36478 tst-gettext2.sh.
36479 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36480 to run tst-gettext.
36481 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36482 to run tst-gettext2.
36483 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36484 to run tst-translit.
36485 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36486 $(run-program-prefix) to tst-mtrace.sh.
36487 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36488 to run tst-mtrace.
36489 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36490 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36491 $(rtld-installed-name).
36492 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36493 (rtld_installed_name): Likewise.
36494 (run_program_prefix): New variable. Use it to run wordexp-test.
36495
728e272a
JM
36496 * Makeconfig (ARCH): Remove all definitions.
36497 (machine): Likewise.
36498 [ARCH]: Remove conditional code.
36499 [!objdir]: Give error.
36500 [!objdir] (objpfx): Remove.
36501 [!objdir] (common-objpfx): Likewise.
36502 [!objdir] (common-objdir): Likewise.
36503 * configure.in (config_makefile): Remove. Hardcode Makefile in
36504 AC_CONFIG_FILES call.
36505 * configure: Regenerated.
36506
d528cdcf
JM
36507 [BZ #13888]
36508 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36509 or TMPDIR.
36510 (testout): Likewise.
36511
135948bd
JM
36512 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36513 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36514 $(rtld-installed-name).
36515 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36516 (rtld_installed_name): Likwise.
36517 (runit): Remove function.
36518 (run_getconf): New variable, Use it for running getconf binary.
36519
38c78296
L
365202012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36521
36522 [BZ #14716]
36523 * string/test-memmem.c (check_result): New function.
36524 (do_one_test): Use it.
36525 (check1): New function.
36526 (test_main): Use it.
36527
d077f65f
MT
365282012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36529
36530 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36531
ced52c71
JM
365322012-10-18 Joseph Myers <joseph@codesourcery.com>
36533
36534 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36535 (_G_LSEEK64): Likewise.
36536 (_G_MMAP64): Likewise.
36537 (_G_FSTAT64): Likewise.
36538 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36539 (_G_LSEEK64): Likewise.
36540 (_G_MMAP64): Likewise.
36541 (_G_FSTAT64): Likewise.
36542 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36543 unconditional. Call __mmap64 directly.
36544 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36545 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36546 __lseek64 directly.
36547 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36548 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36549 __mmap64 directly.
36550 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36551 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36552 __lseek64 directly.
36553 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36554 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36555 __lseek64 directly.
36556 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36557 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36558 __lseek64 directly.
36559 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36560 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36561 __fxstat64 directly.
36562 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36563 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36564 unconditional.
36565 (freopen64) [!_G_OPEN64]: Remove conditional code.
36566 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36567 unconditional.
36568 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36569 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36570 unconditional.
36571 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36572 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36573 unconditional.
36574 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36575 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36576 unconditional.
36577 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36578 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36579 unconditional.
36580 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36581 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36582 unconditional.
36583 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36584 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36585 unconditional.
36586 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36587
b741de23
SP
365882012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36589
36590 [BZ #12140]
36591 * manual/memory.texi (Malloc Tunable Parameters): Add note
36592 about free list pointers overwriting some perturb bytes.
36593 Wording suggested by Roland McGrath.
36594
f9b9d9c9
JM
365952012-10-17 Joseph Myers <joseph@codesourcery.com>
36596
36597 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36598 (lgamma_test): Likewise.
36599 (tgamma_test): Likewise.
36600
172a631a
FW
366012012-10-16 Florian Weimer <fweimer@redhat.com>
36602
36603 [BZ #14700]
36604 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36605 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36606
e9f37252
MK
366072012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36608
36609 * NEWS: Mention BZ #14716.
36610 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36611 when removing AVAILABLE1_USES_J macro.
36612
d394eb74
L
366132012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36614
36615 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36616 (__bswap_64): __uint64_t for unsigned 64-bit int.
36617
ca38dc17
AS
366182012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36619
36620 * include/string.h (memmem): Declare libc hidden alias.
36621 * string/memmem.c (memmem): Define libc hidden alias.
36622 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36623 __read, __close instead of open, read, close.
36624
9a387d1f
L
366252012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36626
ac49ecaf
L
36627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36628 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36629 global and hidden.
36630 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36631 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36632 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36633 Likewise.
36634 (__rawmemchr_sse2): Likewise.
36635 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36636 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36637 (__strchr_sse2): Likewise.
36638 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36639 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36640 (__strcasecmp_sse2): Likewise.
36641 (__strncasecmp_sse2): Likewise.
36642 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36643 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36644 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36645 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36646 (__strrchr_sse2): Likewise.
36647 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36648 ifunc-impl-list.c.
36649 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36650 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36651 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36652 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36653 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36654 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36655 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36657 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36658 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36659 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36660 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36661 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36662 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36663 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36664 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36665 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36666 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36667 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36668 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36669 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36670 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36671 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36672 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36673 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36674 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36675 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36676 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36677 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36678 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36679
b090e8ea
L
36680 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36681 global and hidden.
36682 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36683 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36684 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36685 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36686 Likewise.
36687 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36688 Likewise.
36689 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36690 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36691 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36692 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36693 ifunc-impl-list.c.
36694 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36695 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36696 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36697 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36698 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36699 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36700 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36701 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36702 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36703 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36704 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36705 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36706 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36707 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36708 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36709 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36710 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36711 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36712 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36713 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36714 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36715 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36716 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36717 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36718 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36719 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36720 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36721 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36722 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36723 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36724 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36725 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36726 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36727 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36728 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36729 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36730 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36731 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36732 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36733 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36734 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36735
11dd4af6
L
36736 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36737 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36738 * include/ifunc-impl-list.h: New file.
36739 * misc/ifunc-impl-list.c: Likewise.
36740 * misc/Makefile (routines): Add ifunc-impl-list.
36741 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36742 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36743 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36744 TEST_NAME]: New variables.
11dd4af6
L
36745 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36746 are defined.
36747 (test_init): Call __libc_ifunc_impl_list to initialize
36748 func_list if TEST_IFUNC and TEST_NAME are defined.
36749
9a387d1f
L
36750 * string/Makefile (strop-tests): Add bcopy and bzero.
36751 * string/test-bcopy.c: New file.
36752 * string/test-bzero.c: Likewise.
36753 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36754 defined.
36755 * string/test-memset.c: Support bzero test if TEST_BZERO is
36756 defined.
36757 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36758 __libc_memmove.
36759 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36760 __libc_memset.
36761 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36762 of memset.
36763
472371b9
JM
367642012-10-10 Joseph Myers <joseph@codesourcery.com>
36765
1e4a9536
JM
36766 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36767 * configure: Regenerated.
36768
d173d12e
JM
36769 * Makeconfig (+link-static-before-libc): Don't include
36770 $(link-static-libc).
36771
472371b9
JM
36772 * libio/libio.h (_IO_pos_t): Remove.
36773
89a3ad0b
AO
367742012-10-10 Alexandre Oliva <aoliva@redhat.com>
36775
36776 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36777 McGrath.
36778
e7451425
AO
367792012-10-10 Alexandre Oliva <aoliva@redhat.com>
36780
36781 * crypt/crypt-entry.c: Include fips-private.h.
36782 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36783 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36784 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36785 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36786
4ba74a35
AO
367872012-10-10 Alexandre Oliva <aoliva@redhat.com>
36788
36789 * crypt/crypt-private.h: Include stdbool.h.
36790 (_ufc_setup_salt_r): Return bool.
36791 * crypt/crypt-entry.c: Include errno.h.
36792 (__crypt_r): Return NULL with EINVAL for bad salt.
36793 * crypt/crypt_util.c (bad_for_salt): New.
36794 (_ufc_setup_salt_r): Check that salt is long enough and within
36795 the specified alphabet.
36796 * crypt/badsalttest.c: New file.
36797 * crypt/Makefile (tests): Add it.
36798 ($(objpfx)badsalttest): New.
36799
f96f1242
MK
368002012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36801
36802 * NEWS: Add entry for BZ #14602.
36803
0e8e0c1c
JM
368042012-10-09 Joseph Myers <joseph@codesourcery.com>
36805
36806 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36807 type-generic.
36808 * math/libm-test.inc: Update comment listing what functions and
36809 macros are tested.
36810 (isgreater_test): New function.
36811 (isgreaterequal_test): Likewise.
36812 (isless_test): Likewise.
36813 (islessequal_test): Likewise.
36814 (islessgreater_test): Likewise.
36815 (isunordered_test): Likewise.
36816 (main): Call the new functions.
36817
273edc5e
RM
368182012-10-09 Roland McGrath <roland@hack.frob.com>
36819
b8493de0
RM
36820 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36821 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36822 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36823 * sysdeps/i386/configure: Regenerated.
36824 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36825 * sysdeps/mach/configure: Regenerated.
36826 * sysdeps/mach/hurd/configure: Regenerated.
36827 * sysdeps/powerpc/configure: Regenerated.
36828 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36829 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36830 * sysdeps/s390/s390-32/configure: Regenerated.
36831 * sysdeps/s390/s390-64/configure: Regenerated.
36832 * sysdeps/sh/configure: Regenerated.
36833 * sysdeps/sparc/configure: Regenerated.
36834 * sysdeps/unix/sysv/linux/configure: Regenerated.
36835 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36836 * sysdeps/x86_64/configure: Regenerated.
36837
273edc5e
RM
36838 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36839 defined. Don't check if MAP is NULL.
36840
c8450f70
JM
368412012-10-09 Joseph Myers <joseph@codesourcery.com>
36842
36843 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36844 (_G_stat64): Likewise.
36845 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36846 (_G_stat64): Likewise.
36847 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36848 instead of struct _G_stat64.
36849 * libio/fileops.c (mmap_remap_check): Likewise.
36850 (decide_maybe_mmap): Likewise.
36851 (_IO_new_file_seekoff): Likewise.
36852 (_IO_file_stat): Likewise.
36853 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36854 _G_off64_t.
36855 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36856 instead of struct _G_stat64.
36857 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36858
57e605ba
MK
368592012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36860
36861 [BZ #14602]
36862 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36863 Replace with ...
36864 (CHECK_EOL): New macro.
36865 (two_way_short_needle): Check beginning of haystack for EOL. Use
36866 CHECK_EOL.
36867 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36868 Replace with CHECK_EOL.
36869 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36870 Replace with CHECK_EOL.
36871
ef1bb361
JM
368722012-10-08 Joseph Myers <joseph@codesourcery.com>
36873
36874 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36875 type-generic.
36876 * math/libm-test.inc: Update comment listing what functions and
36877 macros are tested.
36878 (finite_test): New function.
36879 (isinf_test): Likewise.
36880 (isnan_test): Likewise.
36881 (fpclassify_test): Test subnormal input.
36882 (isfinite_test): Likewise.
36883 (isnormal_test): Likewise.
36884 (main): Call the new functions.
36885
55f11534
JN
368862012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36887
36888 [BZ #14660]
36889 * Makerules (%.dynsym): Force C locale when running
36890 $(OBJDUMP) --dynamic-syms.
36891
1ab29350
AS
368922012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36893
36894 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36895 <stdint.h>.
36896
f1ecb7ef
DM
368972012-10-06 David S. Miller <davem@davemloft.net>
36898
36899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36900 upper 32-bits of the length value in %o2 since we use branch-on-register
36901 tests which consider the entire 64-bit register.
36902
5d41d91a
L
369032012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36904
36905 * string/test-strstr.c (check2): Add a test for page boundary.
36906
3baddb72
DM
369072012-10-05 David S. Miller <davem@davemloft.net>
36908
36909 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36910 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36911 file.
36912 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36913 sysdep_routines.
36914 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36915 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36916 and bzero when HWCAP_SPARC_CRYPTO is present.
36917
9cee5585
L
369182012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36919
d7e0dab9
L
36920 [BZ #14602]
36921 * string/test-strstr.c (check2): New function.
36922 (test_main): Call check2.
36923
03759f47
L
36924 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36925 and bug-strchr1.
36926 * string/bug-strcasestr1.c (do_test): Moved to ...
36927 * string/test-strcasestr.c (check1): Here. New function.
36928 (do_one_test): Break out result checking code into ...
36929 (check_result): This. New function.
36930 (do_one_test): Call check_result.
36931 (test_main): Call check1.
36932 * string/bug-strchr1.c (do_test): Moved to ...
36933 * string/test-strchr.c (check1): Here. New function.
36934 (do_one_test): Break out result checking code into ...
36935 (check_result): This. New function.
36936 (do_one_test): Call check_result.
36937 (test_main): Call check1.
36938 * string/bug-strstr1.c (main): Moved to ...
046f153e 36939 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36940 (do_one_test): Break out result checking code into ...
36941 (check_result): This. New function.
36942 (do_one_test): Call check_result.
36943 (test_main): Call check1.
36944 * string/bug-strcasestr1.c: Removed.
36945 * string/bug-strchr1.c: Likewise.
36946 * string/bug-strstr1.c: Likewise.
36947
53cea63e
L
36948 * elf/Makefile (dl-routines): Add hwcaps.
36949 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36950 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36951 (_dl_important_hwcaps): Moved to ...
36952 * elf/dl-hwcaps.c: Here. New file.
36953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36954
9cee5585 36955 [BZ #14557]
bb859b06
L
36956 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36957 if IS_IN_rtld isn't defined.
36958
9cee5585
L
36959 * elf/dl-support.c (_dl_sysinfo_map): New.
36960 Include "get-dynamic-info.h" and "setup-vdso.h".
36961 (_dl_non_dynamic_init): Call setup_vdso.
36962 * elf/dynamic-link.h: Don't include <assert.h>.
36963 (elf_get_dynamic_info): Moved to ...
36964 * elf/get-dynamic-info.h: Here. New file.
36965 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36966 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36967 * elf/setup-vdso.h: Here. New file.
36968 * elf/rtld.c: Include "setup-vdso.h".
36969 (dl_main): Call setup_vdso.
36970
23c31b76
JM
369712012-10-05 Joseph Myers <joseph@codesourcery.com>
36972
28234b07
JM
36973 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36974 creal in comment listing functions tested. List finite, isinf,
36975 isnan, isless, islessequal, isgreater, isgreaterequal,
36976 islessgreater, isunordered, lgamma_r and pow10 as functions and
36977 macros not tested. Mention which functions not tested are aliases
36978 for other functions. Fix typo. Note that signs of NaNs are not
36979 tested.
36980
23c31b76
JM
36981 * scripts/config.guess: Update from config.git.
36982 * scripts/config.sub: Likewise.
36983
9043e228
RM
369842012-10-04 Roland McGrath <roland@hack.frob.com>
36985
36986 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36987 * misc/madvise.c (madvise): Renamed to __madvise.
36988 Make madvise a weak alias.
36989 * include/sys/mman.h: Declare __madvise.
36990 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36991 * sysdeps/unix/syscalls.list
36992 (madvise): Make __madvise the strong name, and madvise a weak alias.
36993 * sysdeps/unix/sysv/linux/syscalls.list
36994 (madvise, mmap): Remove redundant entries.
36995 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36996 * malloc/malloc.c (mtrim): Likewise.
36997 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36998
f57f8055
RM
369992012-10-03 Roland McGrath <roland@hack.frob.com>
37000
37001 * sysdeps/mach/hurd/dl-cache.c: File removed.
37002 * config.h.in (USE_LDCONFIG): New #undef.
37003 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37004 * configure: Regenerated.
37005 * elf/Makefile (dl-routines): Add dl-cache only under
37006 [$(use-ldconfig) = yes].
37007 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37008 cache on [USE_LDCONFIG].
37009 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37010 [USE_LDCONFIG].
37011 * elf/rtld.c (dl_main): Likewise.
37012
5bb0c10a
PT
370132012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37014
37015 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37016 _SC_LEVEL4_CACHE_LINESIZE.
37017
010188c6
RM
370182012-10-03 Roland McGrath <roland@hack.frob.com>
37019
37020 * sysdeps/unix/bsd/confstr.h: File removed.
37021
b6c5ec07
AO
370222012-10-02 Alexandre Oliva <aoliva@redhat.com>
37023
37024 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37025 sys/sdt-config.h.
37026
408223d4
RM
370272012-10-02 Roland McGrath <roland@hack.frob.com>
37028
37029 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37030 Make 'mapoff' field ElfW(Off) rather than off_t.
37031
bb9510dc
DL
370322012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37033
fc997c6e
DL
37034 * nscd/Makefile: Remove nscd-cflags and all its users.
37035 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37036 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37037
bb9510dc
DL
37038 [BZ #10631]
37039 * malloc.c (malloc_printerr): Clarify error message.
37040
05699367
L
370412012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37042
37043 [BZ #14648]
37044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37045 Set bit_FMA_Usable if FMA is supported.
37046 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37047 macro.
37048 (bit_FMA4_Usable): Updated.
37049 (index_FMA_Usable): New macro.
37050 (CPUID_FMA): Likewise
37051 (HAS_FMA): Defined with bit_FMA_Usable.
37052
51367701
RM
370532012-10-01 Roland McGrath <roland@hack.frob.com>
37054
37055 * bits/types.h (__swblk_t): Type removed.
37056 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37057 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37059 (__SWBLK_T_TYPE): Likewise.
37060 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37061 (__SWBLK_T_TYPE): Likewise.
37062 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37063 (__SWBLK_T_TYPE): Likewise.
37064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37065 (__SWBLK_T_TYPE): Likewise.
37066
4d57bf63 370672012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37068 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37069
37070 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37071 (xdr_mapname): Use YPMAXMAP as maxsize.
37072 (xdr_peername): Use YPMAXPEER as maxsize.
37073 (xdr_keydat): Use YPAXRECORD as maxsize.
37074 (xdr_valdat): Use YPMAXRECORD as maxsize.
37075
93c65d43
RM
370762012-10-01 Roland McGrath <roland@hack.frob.com>
37077
497a03d6
RM
37078 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37079
93c65d43
RM
37080 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37081 * csu/init-first.c: ... here.
37082 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37083 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37084 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37085 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37086 * sysdeps/i386/init-first.c: File removed.
37087 * sysdeps/sh/init-first.c: File removed.
37088
bec749fd
JM
370892012-10-01 Joseph Myers <joseph@codesourcery.com>
37090
37091 [BZ #14645]
37092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37093 if x * y might underflow to zero and z is zero.
37094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37096 * math/libm-test.inc (min_subnorm_value): New variable.
37097 (fma_test): Add more tests.
37098 (fma_test_towardzero): Likewise.
37099 (fma_test_downward): Likewise
37100 (fma_test_upward): Likewise.
37101 (initialize): Set min_subnorm_value.
37102
8ec5b013
JM
371032012-09-29 Joseph Myers <joseph@codesourcery.com>
37104
37105 [BZ #14638]
37106 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37107 0 + 0.
37108 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37109 mode for addition resulting in exact zero.
37110 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37112 exact 0 + 0.
37113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37115 * math/libm-test.inc (fma_test): Add more tests.
37116 (fma_test_towardzero): New function.
37117 (fma_test_downward): Likewise.
37118 (fma_test_upward): Likewise.
37119 (main): Call the new functions.
37120
b1fa802e
DM
371212012-09-28 David S. Miller <davem@davemloft.net>
37122
37123 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37124
d3b9fd9e
RM
371252012-09-28 Roland McGrath <roland@hack.frob.com>
37126
ea4d37b3
RM
37127 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37128 instead of SIGALRM.
37129
ac51c949
RM
37130 * sysdeps/gnu/_G_config.h: Moved to ...
37131 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37132 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37133 * sysdeps/generic/_G_config.h: ... here.
37134
28c195f7
RM
37135 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37136
848917f9
RM
37137 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37138
6bacf05b
RM
37139 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37140 Conditionalize target on [libnss_test1.so-version].
37141
91363dbb
RM
37142 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37143
cc87f7d8
RM
37144 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37145 (elfobjdir): Move out of conditionals.
37146
b1c608fe
RM
37147 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37148 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37149 (__nss_lookup_function): Conditionalize label remove_from_tree on
37150 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37151
1d9a6d96
DM
371522012-09-28 David S. Miller <davem@davemloft.net>
37153
37154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37155 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37156 file.
37157 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37158 sysdep_routines.
37159 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37161 when HWCAP_SPARC_CRYPTO is present.
37162
72581615
PT
371632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37164
37165 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37166
715a900c
JL
371672012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37168
37169 [BZ #6530]
37170 * stdio-common/vfprintf.c (process_string_arg): Revert
37171 2000-07-22 change.
37172
371732011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37174
37175 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37176 for testcase.
37177 * stdio-common/tst-sprintf.c: Include <locale.h>
37178 (main): Test sprintf's handling of incomplete multibyte
37179 characters.
37180
9bac1d86
L
371812012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37182
37183 * elf/dl-runtime.c (VERSYMIDX): Removed.
37184 * elf/dl-version.c (VERSYMIDX): Likewise.
37185 * elf/do-rel.h (VERSYMIDX): Likewise.
37186 (VALIDX): Likewise.
37187 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37188 * elf/rtld.c (VALIDX): Likewise.
37189 (ADDRIDX): Likewise.
9bac1d86
L
37190 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37191 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37192 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37193 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37194 (VALIDX): Likewise.
37195 (ADDRIDX): Likewise.
9bac1d86 37196
b31606c0
PT
371972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37198
37199 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37200
11541177
JL
372012012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37202
37203 [BZ #11438]
37204 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37205 to global scope.
37206 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37207 addresses are in the same scope as 192.0.2/24.
37208 * posix/gai.conf: Document new scope table defaults.
37209
adb26fae
SP
372102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37211
37212 [BZ #5298]
37213 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37214 for ftell. Compute offsets from write pointers instead.
37215 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37216
4573c6b0
SP
372172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37218
37219 [BZ #14543]
37220 * libio/Makefile (tests): New test case tst-fseek.
37221 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37222 combination works in wide mode.
37223 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37224 state when the external buffer state changes.
37225
aa9bbfe6
DM
372262012-09-27 David S. Miller <davem@davemloft.net>
37227
37228 [BZ #14376]
37229 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37230 pass reloc->r_addend in as the 'high' argument to
37231 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37232
784421e7
DM
37233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37234
c39bc8b8
PT
372352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37236
37237 * rt/tst-aio2.c: Include <pthread.h>.
37238 * rt/tst-aio3.c: Likewise.
37239
1ccc2399
SE
372402012-09-27 Steve Ellcey <sellcey@mips.com>
37241
37242 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37243
31ed4153
L
372442012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37245
25f5f885
L
37246 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37247 contents on [SHARED].
31ed4153 37248
b7bfe116
MP
372492012-09-26 Marek Polacek <polacek@redhat.com>
37250
37251 [BZ #14530]
37252 [BZ #13741]
37253 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37254 for C++ and GCC <4.3 as well as for non GCC compilers.
37255
43c4edba
MT
372562012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37257
37258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37259
6a1bf82f
RM
372602012-09-25 Roland McGrath <roland@hack.frob.com>
37261
37262 * Makefile.in (all, install): Declare with .PHONY.
37263 Reported by Michael Hope <michael.hope@linaro.org>.
37264
8ad11b9a
TMQMF
372652012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37266
37267 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37268 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37269 system header.
37270 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37271 Likewise.
37272 (sydep_routines): Add the new and the internal functions.
37273 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37274 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37276 (GLIBC_2.17): Add the new function.
37277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37278 (GLIBC_2.17): Likewise.
37279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37280 (GLIBC_2.17): Likewise.
37281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37282 (GLIBC_2.17): Likewise.
37283 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37284
7e2fca8d
AM
372852012-09-25 Alan Modra <amodra@gmail.com>
37286
37287 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37288 Add release barrier before setting once_control to say
37289 initialisation is done. Add hints on lwarx. Use macro in
37290 place of isync.
37291 (clear_once_control): Add release barrier.
37292
b87c4b24
JM
372932012-09-25 Joseph Myers <joseph@codesourcery.com>
37294
d032e0d2
JM
37295 [BZ #13629]
37296 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37297 specially.
37298 * math/s_clog10.c (__clog10): Likewise.
37299 * math/s_clog10f.c (__clog10f): Likewise.
37300 * math/s_clog10l.c (__clog10l): Likewise.
37301 * math/s_clogf.c (__clogf): Likewise.
37302 * math/s_clogl.c (__clogl): Likewise.
37303 * math/Makefile (libm-calls): Add x2y2m1.
37304 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37305 (__x2y2m1): Likewise.
37306 (__x2y2m1l): Likewise.
37307 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37308 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37309 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37310 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37311 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37312 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37313 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37314 * sysdeps/i386/fpu/libm-test-ulps: Update.
37315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37316
b87c4b24
JM
37317 [BZ #14621]
37318 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37319 int as type of variable DEPTH.
37320 (glob): Use size_t instead of int as type of variables NEWCOUNT
37321 and OLD_PATHC.
37322
6d3bf199
LD
373232012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37324
22bf5c17
LD
37325 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37326 Add s_sincosf-sse2.
37327 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37328 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37329 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37330 macros for using routine as __sincosf_ia32.
37331 Use macro for function declaration and weak_alias.
37332 * sysdeps/i386/fpu/libm-test-ulps: Update.
37333
37334 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37336
37337 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37338 subnormal argument.
37339 * math/s_cexpf.c (__cexpf): Likewise.
37340 * math/s_csinf.c (__csinf): Likewise.
37341 * math/s_csinhf.c (__csinhf): Likewise.
37342 * math/s_ctanf.c (__ctanf): Likewise.
37343 * math/s_ctanhf.c (__ctanhf): Likewise.
37344 * math/s_ccosh.c (__ccoshf): Likewise.
37345 * math/s_cexp.c (__cexpl): Likewise.
37346 * math/s_csin.c (__csin): Likewise.
37347 * math/s_csinh.c (__csinh): Likewise.
37348 * math/s_ctan.c (__ctan): Likewise.
37349 * math/s_ctanh.c (ctanh): Likewise.
37350 * math/s_ccoshl.c (__ccoshl): Likewise.
37351 * math/s_cexpl.c (__cexpl): Likewise.
37352 * math/s_csinl.c (__csinl): Likewise.
37353 * math/s_csinhl.c (__csinhl): Likewise.
37354 * math/s_ctanl.c (__ctanl): Likewise.
37355 * math/s_ctanhl.c (__ctanhl): Likewise.
37356
203e5603
JM
373572012-09-25 Joseph Myers <joseph@codesourcery.com>
37358
37359 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37360 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37361 (_IO_off_t): Define to __off_t, not _G_off_t.
37362 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37363 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37364 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37365 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37366 type of __dummy and __dummy2 fields.
37367 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37368 (_G_ssize_t): Likewise.
37369 (_G_off_t): Likewise.
37370 (_G_pid_t): Likewise.
37371 (_G_uid_t): Likewise.
37372 (_G_wchar_t): Likewise.
37373 (_G_wint_t): Likewise.
37374 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37375 (_G_ssize_t): Likewise.
37376 (_G_off_t): Likewise.
37377 (_G_pid_t): Likewise.
37378 (_G_uid_t): Likewise.
37379 (_G_wchar_t): Likewise.
37380 (_G_wint_t): Likewise.
37381 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37382 (_G_ssize_t): Likewise.
37383 (_G_off_t): Likewise.
37384 (_G_pid_t): Likewise.
37385 (_G_uid_t): Likewise.
37386 (_G_wchar_t): Likewise.
37387 (_G_wint_t): Likewise.
37388
9fab36eb
SP
373892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37390
37391 * malloc/arena.c: Include malloc-sysdep.h.
37392 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37393 is sufficient to shrink the heap or an unmap is needed.
37394 * sysdeps/generic/malloc-sysdep.h: New file. Define
37395 new function check_may_shrink_heap.
37396 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37397 new function check_may_shrink_heap.
37398
2b4f00d1
SP
373992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37400
37401 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37402 comments.
37403
9a9028b1
DL
374042012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37405
57c69bef
DL
37406 * catgets/test-gencat.sh: Add "set -e".
37407 * elf/tst-pathopt.sh: Likewise.
37408 * grp/tst_fgetgrent.sh: Likewise.
37409 * iconvdata/run-iconv-test.sh: Likewise.
37410 * intl/tst-gettext.sh: Likewise.
37411 * intl/tst-gettext2.sh: Likewise.
37412 * intl/tst-gettext4.sh: Likewise.
37413 * intl/tst-gettext6.sh: Likewise.
37414 * intl/tst-translit.sh: Likewise.
37415 * io/ftwtest-sh: Likewise.
37416 * libio/test-freopen.sh: Likewise.
37417 * malloc/tst-mtrace.sh: Likewise.
37418 * posix/globtest.sh: Likewise.
37419 * posix/tst-getconf.sh: Likewise.
37420 * posix/wordexp-tst.sh: Likewise.
37421 * stdio-common/tst-printf.sh: Likewise.
37422 * stdio-common/tst-unbputc.sh: Likewise.
37423 * stdlib/tst-fmtmsg.sh: Likewise.
37424 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37425 * catgets/Makefile: Do not specify -e option when running
37426 testsuite shell scripts.
37427 * elf/Makefile: Likewise.
37428 * grp/Makefile: Likewise.
37429 * iconvdata/Makefile: Likewise.
37430 * intl/Makefile: Likewise.
37431 * io/Makefile: Likewise.
37432 * libio/Makefile: Likewise.
37433 * malloc/Makefile: Likewise.
37434 * posix/Makefile: Likewise.
37435 * stdio-common/Makefile: Likewise.
37436 * stdlib/Makefile: Likewise.
37437 * sysdeps/x86_64/Makefile: Likewise.
37438
9a9028b1
DL
37439 * io/ftwtest-sh: Add copyright header.
37440 * posix/globtest.sh: Likewise.
37441 * posix/tst-getconf.sh: Likewise.
37442 * posix/wordexp-tst.sh: Likewise.
37443 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37444
ced6f16e
L
374452012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37446
94b32c39
L
37447 [BZ #13679]
37448 * Makeconfig (+link): Defined as $(+link-static) if
37449 $(build-shared) isn't yes.
37450 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37451 isn't yes.
37452 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37453
189e935b
L
37454 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37455
ced6f16e
L
37456 [BZ #14562]
37457 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37458 new chunk size with MALLOC_ALIGN_MASK.
37459
a9f8e53a
JM
374602012-09-24 Joseph Myers <joseph@codesourcery.com>
37461
37462 [BZ #5044]
37463 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37464 <rounding-mode.h>.
37465 (__printf_fphex): Determine rounding using get_rounding_mode and
37466 round_away.
37467 * stdio-common/tst-printf-round.c (struct hex_test): New
37468 structure.
37469 (hex_tests): New variable.
37470 (test_hex_in_one_mode): New function.
37471 (do_test): Also run tests for hex float output.
37472
43153109
JM
374732012-09-21 Joseph Myers <joseph@codesourcery.com>
37474
37475 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37476 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37477 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37478 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37479 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37480 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37481 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37482 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37483
8a26625d
JM
374842012-09-20 Joseph Myers <joseph@codesourcery.com>
37485
37486 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37487 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37488 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37489 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37490
f3fd569c
DL
374912012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37492
37493 [BZ #14579]
37494 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37495 mode only.
37496 * elf/tst-rtld-load-self.sh: New test.
37497 * elf/Makefile: Run it.
37498
63bbedd4
JM
374992012-09-18 Joseph Myers <joseph@codesourcery.com>
37500
37501 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37502 (tst-writev-ENV): Remove.
37503 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37504
626f8b6a
CM
375052012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37506
37507 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37508
b7aaa4d6
JM
375092012-09-17 Joseph Myers <joseph@codesourcery.com>
37510
37511 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37512 unconditional.
37513 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37514 Likewise.
37515 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37516 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37517 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37518 Likewise.
37519
65513990
L
375202012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37521
37522 [BZ #14587]
37523 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37524 * config.make.in (have-cpp-asm-debuginfo): Removed.
37525 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37526 * configure: Regenerated.
37527
784761be
JM
375282012-09-14 Joseph Myers <joseph@codesourcery.com>
37529
37530 [BZ #5044]
37531 * stdio-common/printf_fp.c: Include <stdbool.h> and
37532 <rounding-mode.h>.
37533 (___printf_fp): Determine rounding using get_rounding_mode and
37534 round_away.
37535 * stdio-common/tst-printf-round.c: New file.
37536 * stdio-common/Makefile (tests): Add tst-printf-round.
37537 (link-libm): New variable.
37538 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37539
9503345f
L
375402012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37541
37542 [BZ #14576]
37543 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37544 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37545 Likewise.
37546 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37547 Likewise.
37548
ad35fc00
JM
375492012-09-13 Joseph Myers <joseph@codesourcery.com>
37550
37551 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37552 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37553 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37554 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37555
6c9b0f68
JM
375562012-09-12 Joseph Myers <joseph@codesourcery.com>
37557
37558 [BZ #14518]
37559 * include/rounding-mode.h: New file.
37560 * sysdeps/generic/get-rounding-mode.h: Likewise.
37561 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37562 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37563 (MAX_VALUE): New macro.
37564 (MIN_VALUE): Likewise.
37565 (overflow_value): New function.
37566 (underflow_value): Likewise.
37567 (round_and_return): Use overflow_value and underflow_value to
37568 determine return values in overflow and underflow cases. Use
37569 round_away to determine rounding depending on rounding mode.
37570 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37571 determine return values in overflow and underflow cases.
37572 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37573 (struct test_results): New structure.
37574 (struct test): Use struct test_results to store expected results
37575 for all rounding modes.
37576 (TEST): Include expected results for all rounding modes.
37577 (test_in_one_mode): New function.
37578 (do_test): Use test_in_one_mode to compute and check results.
37579 Check results for all rounding modes.
37580 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37581 $(link-libm).
37582
19fcedd5
AM
375832012-12-09 Allan McRae <allan@archlinux.org>
37584
1e9d84cd 37585 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37586
8bbfd2f1
JM
375872012-09-11 Joseph Myers <joseph@codesourcery.com>
37588
37589 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37590 (_G_int32_t): Likewise.
37591 (_G_uint16_t): Likewise.
37592 (_G_uint32_t): Likewise.
37593 (_G_HAVE_BOOL): Likewise.
37594 (_G_HAVE_ATEXIT): Likewise.
37595 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37596 (_G_HAVE_IO_FILE_OPEN): Likewise.
37597 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37598 (_G_int32_t): Likewise.
37599 (_G_uint16_t): Likewise.
37600 (_G_uint32_t): Likewise.
37601 (_G_HAVE_BOOL): Likewise.
37602 (_G_HAVE_ATEXIT): Likewise.
37603 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37604 (_G_HAVE_IO_FILE_OPEN): Likewise.
37605 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37606 (_G_int32_t): Likewise.
37607 (_G_uint16_t): Likewise.
37608 (_G_uint32_t): Likewise.
37609 (_G_HAVE_BOOL): Likewise.
37610 (_G_HAVE_ATEXIT): Likewise.
37611 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37612 (_G_HAVE_IO_FILE_OPEN): Likewise.
37613
b1dc5912
L
376142012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37615
37616 * csu/libc-tls.c: Update copyright years.
37617
0e886ef9
JM
376182012-09-10 Joseph Myers <joseph@codesourcery.com>
37619
28361c5e
JM
37620 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37621 [!_G_USING_THUNKS]: Remove conditional code.
37622 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37623 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37624
0e886ef9
JM
37625 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37626 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37627 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37628 (_G_VTABLE_LABEL_PREFIX): Likewise.
37629 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37630 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37631 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37632 (_G_VTABLE_LABEL_PREFIX): Likewise.
37633 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37634 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37635 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37636 (_G_VTABLE_LABEL_PREFIX): Likewise.
37637 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37638
bcba7aa2
L
376392012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37640
37641 * libio/Makefile: Include ../Makeconfig before tests.
37642 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37643 only if $(build-shared) is yes.
37644
06585ee8
L
37645 * iconv/gconv_db.c: Update copyright years.
37646
80ccd52c
LD
376472012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37648
37649 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37650 unwind info if defined PIC. Fix special cases description.
37651 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37652
37653 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37654 DP_HI_MASK entry.
37655 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37656
691bc9c1
L
376572012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37658
3d9b46b3
L
37659 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37660
de2139a9
L
37661 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37662 is NULL.
37663
5ca78dd0
L
37664 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37665 (LDLIBS-tst-chk4): This.
37666 (LDFLAGS-tst-chk5): Renamed to ...
37667 (LDLIBS-tst-chk5): This.
37668 (LDFLAGS-tst-chk6): Renamed to ...
37669 (LDLIBS-tst-chk6): This.
37670 (LDFLAGS-tst-lfschk4): Renamed to ...
37671 (LDLIBS-tst-lfschk4): This.
37672 (LDFLAGS-tst-lfschk5): Renamed to ...
37673 (LDLIBS-tst-lfschk5): This.
37674 (LDFLAGS-tst-lfschk6): Renamed to ...
37675 (LDLIBS-tst-lfschk6): This.
37676
691bc9c1
L
37677 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37678 on $(common-objpfx)soversions.mk.
37679
65cafb1c
JM
376802012-09-07 Joseph Myers <joseph@codesourcery.com>
37681
37682 [BZ #10014]
37683 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37684 example host name.
37685
c78ab094
SP
376862012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37687
37688 * malloc/arena.c (arena_get_retry): New function that gets
37689 another arena for the caller to try its request on.
37690 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37691 current arena cannot fulfill the request.
37692 (__libc_memalign): Likewise.
37693 (__libc_memalign): Likewise.
37694 (__libc_pvalloc): Likewise.
37695 (__libc_calloc): Likewise.
37696
01f49f59
JT
376972012-09-05 John Tobey <john.tobey@gmail.com>
37698
37699 [BZ #13542]
37700 * manual/arith.texi (Operations on Complex): Fix description
37701 of carg branch cut.
37702
4c23fed5
JM
377032012-09-06 Joseph Myers <joseph@codesourcery.com>
37704
1d3c8572
JM
37705 [BZ #10014]
37706 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37707 host name.
37708
4c23fed5
JM
37709 [BZ #10038]
37710 * manual/memory.texi (Memory): Make order of menu items match
37711 order of sections.
37712
04570aaa
L
377132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37714
37715 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37716 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37717 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37718
b80af2f4
L
377192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37720
37721 * csu/libc-tls.c (static_dtv): Renamed to ...
37722 (_dl_static_dtv): This. Make it global.
37723 (_dl_initial_dtv): Removed.
37724 (__libc_setup_tls): Updated.
37725 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37726 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37727 DL_INITIAL_DTV.
37728
2abe9f15
PM
377292012-09-06 Petr Machata <pmachata@redhat.com>
37730
37731 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37732 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37733 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37734 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37735
0948c3af
L
377362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37737
37738 [BZ #14545]
37739 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37740 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37741 freeing dtv[-1].
37742
a5055ad1
L
377432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37744
37745 [BZ #14544]
37746 * Makeconfig (link-static-before-libc): Replace $(+prector)
37747 with $(+prectorT).
37748 (link-static-after-libc): Replace $(+postctor) with
37749 $(+postctorT).
37750 (link-bounded): Replace $(+prector)/$(+postctor) with
37751 $(+prectorT)/$(+postctorT).
37752 (+prectorT): New macro.
37753 (+postctorT): Likewise.
37754
ed8c2ecd
JM
377552012-09-06 Joseph Myers <joseph@codesourcery.com>
37756
37757 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37758 (round_str): Handle values above the maximum for IBM long double
37759 as inexact.
37760 * stdlib/tst-strtod-round.c (tests): Regenerated.
37761
14c996c8
AK
377622012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37763
37764 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37765 assembler flag.
37766 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37767 zarch_nohighgprs around the zarch optimized routines.
37768 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37769 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37770 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37771 for zarch.
37772
430d6ce6
DM
377732012-09-05 David S. Miller <davem@davemloft.net>
37774
37775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37776
57f41c40
AS
37777 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37778 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37779 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37780 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37781 entries.
37782
24d4e01b
AO
377832012-09-05 Alexandre Oliva <aoliva@redhat.com>
37784
37785 * malloc/arena.c: Fold copyright years.
37786 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37787
61d58174
AO
377882012-09-05 Alexandre Oliva <aoliva@redhat.com>
37789
37790 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37791
20196a5e
AO
377922012-09-05 Alexandre Oliva <aoliva@redhat.com>
37793
37794 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37795
5c447383
AO
377962012-09-05 Alexandre Oliva <aoliva@redhat.com>
37797
37798 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37799 change internal state upon failure.
37800
fad64255
AO
378012012-09-05 Alexandre Oliva <aoliva@redhat.com>
37802
37803 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37804 * malloc/memusage.c (mmap): Likewise.
37805 (mmap64, mremap): Likewise. Adjust name in comment.
37806
1ffb8c90
SP
378072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37808
37809 * libio/fileops.c: Fix typos in comments.
37810 * libio/oldfileops.c: Likewise.
37811 * libio/wfileops.c: Likewise.
37812
6ef9cc37
SP
378132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37814
37815 [BZ #1349]
37816 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37817 (tst-malloc-usable-ENV): Set environment for test case.
37818 * malloc/hooks.c (malloc_check_get_size): New function to get
37819 requested size.
37820 * malloc/malloc.c (musable): Use malloc_check_get_size.
37821 * malloc/tst-malloc-usable.c: New test case.
37822
4d038ae3
AS
378232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37824
37825 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37826
c4e85184
AM
378272012-09-05 Allan McRae <allan@archlinux.org>
37828
b9dafc56 37829 [BZ #13966]
c4e85184
AM
37830 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37831 determine header location.
37832 * configure: Regenerated.
37833
e1343020
AS
378342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37835
37836 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37837 float format.
37838 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37839 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37840 format.
e1343020
AS
37841 (test): Regenerate.
37842
0a9f1987
DM
378432012-09-04 David S. Miller <davem@davemloft.net>
37844
37845 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37846 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37848
29237804
FW
378492012-09-04 Florian Weimer <fweimer@redhat.com>
37850
37851 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37852 failures.
37853
edb3cb88
FW
37854 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37855
60160d83
JM
378562012-09-04 Joseph Myers <joseph@codesourcery.com>
37857
37858 [BZ #9914]
37859 * libio/iogetdelim.c: Include <limits.h>.
37860 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37861 + len + 1 would overflow.
37862
bcd6c8dc
AJ
378632012-09-03 Andreas Jaeger <aj@suse.de>
37864
37865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37866 * sysdeps/i386/fpu/libm-test-ulps: Update.
37867
4ffffbd2
LD
378682012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37869
37870 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37871 Add s_sinf-sse2, s_conf-sse2.
37872
37873 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37874 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37875 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37876 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37877
37878 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37879 for using routine as __sinf_ia32.
37880 Use macro for function declaration and weak_alias.
37881 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37882 for using routine as __cosf_ia32.
37883 Use macro for function declaration and weak_alias.
37884
37885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37886 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37887
37888 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37889 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37891
37892 * math/libm-test.inc (cos_test): Add more test cases.
37893 (sin_test): Likewise.
37894 (sincos_test): Likewise.
37895
511fa286
AK
378962012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37897
37898 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37899 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37900 hidden.
37901 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37902
5f30cfec
L
379032012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37904
37905 [BZ #14538]
37906 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37907 first element of the GOT.
37908 (elf_machine_load_address): Return the difference between
37909 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37910
0786794f
AM
379112012-09-01 Allan McRae <allan@archlinux.org>
37912
5f30cfec
L
37913 [BZ #13412]
37914 * configure.in (AWK): Require gawk version 3.0 or later.
37915 * configure: Regenerated.
0786794f 37916
26889eac
JM
379172012-09-01 Joseph Myers <joseph@codesourcery.com>
37918
37919 * sysdeps/unix/sysv/linux/kernel-features.h
37920 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37921 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37922 [__NR_clock_getres]: Make code unconditional.
37923 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37924 (clock_getcpuclockid): Remove code left unreachable by removal of
37925 conditionals.
37926 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37927 code unconditional.
37928 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37929 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37930 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37931 Make code unconditional.
37932 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37933 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37934 * sysdeps/unix/sysv/linux/clock_settime.c
37935 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37936 conditional code.
37937 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37938 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37939
d22e28b0
L
379402012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37941
37942 [BZ #14476]
37943 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37944 scripts/test-installation.pl.
37945
37946 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37947 and $ld_so_version if it is set.
37948
050af9c4
SP
379492012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37950
37951 [BZ #14516]
37952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37953 failure if reading from procfs failed.
37954 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37955
ad845c0b
JM
379562012-08-27 Joseph Myers <joseph@codesourcery.com>
37957
37958 * sysdeps/unix/sysv/linux/kernel-features.h
37959 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37960 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37961 Remove conditional code.
37962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37963 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37964 Remove conditional code.
37965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37966 * sysdeps/unix/sysv/linux/i386/fxstat.c
37967 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37969 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37970 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37972 * sysdeps/unix/sysv/linux/i386/lxstat.c
37973 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37975 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37976 Remove conditional code.
37977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37978 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37979 Remove conditional code.
37980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37981 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37982 <kernel-features.h>.
37983 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37984 Remove.
37985 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37986 Remove conditional code.
37987 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37988 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37989 Remove conditional.
37990
5dbf56af
MF
379912012-08-27 Mike Frysinger <vapier@gentoo.org>
37992
37993 [BZ #5400]
37994 * NEWS: Add fixed bug number.
37995
d6e70f43
JM
379962012-08-27 Joseph Myers <joseph@codesourcery.com>
37997
7efb4737
JM
37998 [BZ #14519]
37999 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38000 underflowing exponent in case of negative sign.
38001 * stdlib/tst-strtod-round-data: Add more tests.
38002 * stdlib/tst-strtod-round.c (tests): Regenerated.
38003
af92131a
JM
38004 [BZ #3479]
38005 * stdlib/strtod_l.c (NDIG): Remove.
38006 (HEXNDIG): Likewise.
38007 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38008 smallest representable value.
38009 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38010 lie within an exact representation of 1/2 ulp of the result.
38011 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38012 unconditionally.
38013 (TENS_P9_IDX): Define unconditionally.
38014 (TENS_P9_SIZE): Likewise.
38015 (TENS_P10_IDX): Likewise.
38016 (TENS_P10_SIZE): Likewise.
38017 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38018 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38019 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38020 entries for 10^2^13 and 10^2^14.
38021 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38022 (TENS_P13_IDX): Define.
38023 (TENS_P13_SIZE): Likewise.
38024 (TENS_P14_IDX): Likewise.
38025 (TENS_P14_SIZE): Likewise.
38026 (_fpioconst_pow10): Change array size to
38027 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38028 unconditional.
38029 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38030 1024]: Add entries for 10^2^13 and 10^2^14.
38031 [LAST_POW10 > _LAST_POW10]: Remove #error.
38032 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38033 (_fpioconst_pow10): Change array size to
38034 FPIOCONST_POW10_ARRAY_SIZE.
38035 * stdlib/gen-fpioconst.c: New file.
38036 * stdlib/gen-tst-strtod-round.c: Likewise.
38037 * stdlib/tst-strtod-round-data: Likewise.
38038 * stdlib/tst-strtod-round.c: Likewise.
38039 * stdlib/Makefile (tests): Add tst-strtod-round.
38040
d6e70f43
JM
38041 [BZ #14459]
38042 * stdlib/strtod_l.c: Include <stdint.h>.
38043 (NDEBUG): Do not define.
38044 (round_and_return): Change EXPONENT parameter to type intmax_t.
38045 Rearrange calculations to avoid internal overflow possibilities.
38046 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38047 Rearrange calculations to avoid internal overflow possibilities.
38048 Assert that number fits inside MPNSIZE limbs.
38049 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38050 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38051 calculations and add assertions to avoid internal overflow
38052 possibilities. Add casts to avoid signed/unsigned operations.
38053 * stdlib/tst-strtod-overflow.c: New file.
38054 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38055
1f529f7d
MP
380562012-08-25 Marek Polacek <polacek@redhat.com>
38057
38058 * time/time.h: Fix some typos in comments.
38059
59a629f1
RM
380602012-08-23 Roland McGrath <roland@hack.frob.com>
38061
38062 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38063 * posix/tst-rfc3484-2.c: Likewise.
38064 * posix/tst-rfc3484-3.c: Likewise.
38065
d3bafbc9
SM
380662012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38067
38068 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38069 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38070
4efcc022
JM
380712012-08-23 Joseph Myers <joseph@codesourcery.com>
38072
38073 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38074 #include of fxstatat64.c.
38075
3cc3ef96
RM
380762012-08-22 Roland McGrath <roland@hack.frob.com>
38077
f04e2132
RM
38078 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38079 * shadow/getspent_r.c: Likewise.
38080 * shadow/getspnam.c: Likewise.
38081 * shadow/getspnam_r.c: Likewise.
38082 * gshadow/getsgent.c: Likewise.
38083 * gshadow/getsgent_r.c: Likewise.
38084 * gshadow/getsgnam.c: Likewise.
38085 * gshadow/getsgnam_r.c: Likewise.
38086 * inet/getnetbyad.c: Likewise.
38087 * inet/getnetbyad_r.c: Likewise.
38088 * inet/getnetbynm.c: Likewise.
38089 * inet/getnetbynm_r.c: Likewise.
38090 * inet/getnetent.c: Likewise.
38091 * inet/getnetent_r.c: Likewise.
38092 * inet/getproto.c: Likewise.
38093 * inet/getproto_r.c: Likewise.
38094 * inet/getprtent.c: Likewise.
38095 * inet/getprtent_r.c: Likewise.
38096 * inet/getprtname.c: Likewise.
38097 * inet/getprtname_r.c: Likewise.
38098 * inet/getrpcbyname.c: Likewise.
38099 * inet/getrpcbyname_r.c: Likewise.
38100 * inet/getrpcbynumber.c: Likewise.
38101 * inet/getrpcbynumber_r.c: Likewise.
38102 * inet/getrpcent.c: Likewise.
38103 * inet/getrpcent_r.c: Likewise.
38104 * inet/getaliasent.c: Likewise.
38105 * inet/getaliasent_r.c: Likewise.
38106 * inet/getaliasname.c: Likewise.
38107 * inet/getaliasname_r.c: Likewise.
38108 * nscd/getgrgid_r.c: Likewise.
38109 * nscd/getgrnam_r.c: Likewise.
38110 * nscd/gethstbyad_r.c: Likewise.
38111 * nscd/gethstbynm3_r.c: Likewise.
38112 * nscd/getpwnam_r.c: Likewise.
38113 * nscd/getpwuid_r.c: Likewise.
38114 * nscd/getsrvbynm_r.c: Likewise.
38115 * nscd/getsrvbypt_r.c: Likewise.
38116 * nscd/gai.c: Likewise.
38117
c53d909c
RM
38118 * configure.in (build_nscd): New substituted variable, set
38119 by --disable-build-nscd and defaults to $use_nscd.
38120 * configure: Regenerated.
38121 * config.make.in (build-nscd): New substituted variable.
38122 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38123 Change conditional to require [$(build-nscd) = yes] as well.
38124 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38125
3cc3ef96
RM
38126 [BZ# 13696]
38127 * configure.in (use_nscd): New substituted variable, set by
38128 --disable-nscd. If enabled, define USE_NSCD.
38129 * configure: Regenerated.
38130 * config.h.in: Add USE_NSCD.
38131 * config.make.in (use-nscd): New substituted variable.
38132 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38133 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38134 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38135 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38136 (CFLAGS-getgrnam_r.c): Likewise.
38137 (CFLAGS-initgroups.c): Likewise.
38138 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38139 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38140 Variables removed.
38141 * inet/getnetgrent_r.c
38142 (nscd_setnetgrent): New function, broken out of ...
38143 (setnetgrent): ... here. Call it.
38144 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38145 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38146 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38147 * nscd/Makefile (routines, aux): Move definitions after include of
38148 Makeconfig. Conditionalize on [$(use-nscd) != no].
38149 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38150 Conditionalize on [USE_NSCD].
38151 (is_nscd, nscd_init_cb): Likewise.
38152 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38153 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38154 * nss/nss_db/db-init.c: Likewise.
38155 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38156 [USE_NSCD].
38157 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38158 (make_request): Use it.
38159 (cache_valid_p): New function.
38160 (__check_pf): Use it.
38161 * NEWS: Add item for --disable-nscd.
38162
07e51550
DL
381632012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38164
38165 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38166 to support sed >= 4.2.1-20-ga9bf076.
38167 * configure: Regenerated.
38168
35a5b08b
RM
381692012-08-22 Roland McGrath <roland@hack.frob.com>
38170
38171 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38172 Conditionalize whole body on [IREL].
38173
8479f23a
JL
381742012-08-22 Jeff Law <law@redhat.com>
38175
38176 [BZ #14505]
38177 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38178 if the family is PF_UNSPEC.
38179
48da0b21
MF
381802012-08-22 Mike Frysinger <vapier@gentoo.org>
38181
38182 * Makerules (lib-version): Rename from V.
38183 (install-lib-nosubdir): Change V to lib-version.
38184
15d0da8c
WS
381852012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38186
38187 [BZ #14252]
38188 * powerpc32/power6/wcschr.c: New file.
38189 * powerpc32/power6/wcscpy.c: New file.
38190 * powerpc32/power6/wcsrchr.c: New file.
38191 * powerpc64/power6/wcschr.c: New file.
38192 * powerpc64/power6/wcscpy.c: New file.
38193 * powerpc64/power6/wcsrchr.c: New file.
38194
bcca0895
MK
381952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38196
38197 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38198 (two_way_short_needle): Use it.
5a4aaa33
RM
38199 * string/strstr.c (AVAILABLE1_USES_J): Define.
38200 * string/strcasestr.c: Likewise.
99677e57
MK
38201
38202 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38203 array references.
38204 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38205
400726de
MK
38206 [BZ #11607]
38207 * NEWS: Add an entry.
38208 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38209 define their defaults.
38210 (two_way_short_needle): Detect end-of-string on-the-fly.
38211 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38212 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38213 * string/bug-strcasestr1.c: New test.
38214 * string/Makefile: Run it.
38215
20a71f2c
MK
382162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38217
38218 [BZ #11607]
38219 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38220 the first character.
38221
21ad0558
RM
382222012-08-21 Roland McGrath <roland@hack.frob.com>
38223
38224 * csu/elf-init.c (__libc_csu_irel): Function removed.
38225 * csu/libc-start.c (apply_irel): New function.
38226 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38227
0e1d9911
JM
382282012-08-21 Joseph Myers <joseph@codesourcery.com>
38229
38230 * sysdeps/unix/sysv/linux/kernel-features.h
38231 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38232 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38233 <kernel-features.h>.
38234 [__NR_fadvise64_64]: Make code unconditional.
38235 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38236 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38237 !__NR_fadvise64_64)]: Likewise.
38238 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38239 !__NR_fadvise64_64))]: Likewise.
38240 [__NR_fadvise64]: Make code unconditional.
38241 [!__NR_fadvise64]: Remove conditional code.
38242 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38243 <kernel-features.h>.
38244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38245 unconditional.
38246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38247 conditional code.
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38249 not include <kernel-features.h>.
38250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38251 unconditional.
38252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38253 conditional code.
38254 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38255 include <kernel-features.h>.
38256 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38257 unconditional.
38258 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38259 conditional code.
38260
14a50c9d
WS
382612012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38262
38263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38264 slight instruction rearrangements per scrollpipe analysis.
38265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38266
c0f4faf0
RM
382672012-08-20 Roland McGrath <roland@hack.frob.com>
38268
696da859
RM
38269 * manual/syslog.texi (syslog; vsyslog, closelog):
38270 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38271 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38272
c0f4faf0
RM
38273 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38274 DSOCAPS to match condition on defining it.
38275
348363b2
JM
382762012-08-20 Joseph Myers <joseph@codesourcery.com>
38277
a35cbf28
JM
38278 * sysdeps/unix/sysv/linux/kernel-features.h
38279 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38281 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38282 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38284 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38285 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38287 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38288 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38289
445f7ecd
JM
38290 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38291 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38292
348363b2
JM
38293 * sysdeps/unix/sysv/linux/kernel-features.h
38294 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38295 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38296 unconditional.
38297 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38298 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38299 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38300 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38301 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38302 Make code unconditional.
38303 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38304 (__mmap64) [!__NR_mmap2]: Likewise.
38305 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38306 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38307 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38308 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38309 [__NR_mmap2]: Make code unconditional.
38310 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38311 (__mmap64) [!__NR_mmap2]: Likewise.
38312
bc5bc0e5
AK
383132012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38314
38315 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38316
88d506de
AJ
383172012-08-18 Andreas Jaeger <aj@suse.de>
38318
38319 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38320
493387d2
MF
383212012-08-18 Mike Frysinger <vapier@gentoo.org>
38322
38323 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38324 * include/unistd.h (__have_sock_cloexec): Likewise.
38325 (__have_pipe2): Likewise.
38326 (__have_dup3): Likewise.
38327
a277af22
MF
383282012-08-18 Mike Frysinger <vapier@gentoo.org>
38329
38330 [BZ #9685]
38331 * include/unistd.h (__have_pipe2): Change define into an extern int.
38332 (__have_dup3): Likewise.
38333 * socket/have_sock_cloexec.c: Include fcntl.h.
38334 (__have_pipe2): New variable.
38335 (__have_dup3): Likewise.
38336
fdab8fd3
MF
383372012-08-17 Mike Frysinger <vapier@gentoo.org>
38338
38339 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38340
31035e80
MP
383412012-08-17 Marek Polacek <polacek@redhat.com>
38342
38343 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38344 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38345
3bd9e993
RM
383462012-08-17 Roland McGrath <roland@hack.frob.com>
38347
c91c505f
RM
38348 * configure.in: Add AC_SUBST for sysheaders.
38349 * configure: Regenerated.
38350 * config.make.in (sysheaders): New substituted variable.
38351
7c6f9d53
RM
38352 * sysdeps/unix/mkfifo.c: Moved ...
38353 * sysdeps/posix/mkfifo.c: ... here.
38354 * sysdeps/unix/mkfifoat.c: Moved ...
38355 * sysdeps/posix/mkfifoat.c: ... here.
38356
38357 * sysdeps/unix/utime.c: Moved ...
38358 * sysdeps/posix/utime.c: ... here.
38359
38360 * sysdeps/unix/time.c: Moved ...
38361 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38362 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38363 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38364
38365 * sysdeps/unix/nice.c: Moved ...
38366 * sysdeps/posix/nice.c: ... here.
38367
38368 * sysdeps/unix/alarm.c: Moved ...
38369 * sysdeps/posix/alarm.c: ... here.
38370
3bd9e993
RM
38371 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38372
d1f09384
JL
383732012-08-17 Jeff Law <law@redhat.com>
38374
38375 * intl/Makefile (codeset_mo): New variable.
38376 ($(codeset_mo)): New target.
38377 (tst-codeset.out): Depend on that. Remove explicit rule.
38378 (tst-gettext3.out, tst-gettext5.out): Likewise.
38379 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38380 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38381 * intl/tst-codeset.sh: Remove.
38382 * intl/tst-gettext3.sh: Likewise.
38383 * intl/tst-gettext5.sh: Likewise.
38384
2ae1ae5c
RM
383852012-08-17 Roland McGrath <roland@hack.frob.com>
38386
c31fdb83
RM
38387 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38388 * sysdeps/unix/syscalls.list: ... here.
38389
a0844057
RM
38390 * sysdeps/posix/getaddrinfo.c
38391 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38392 (gaiconf_init, gaiconf_reload): Use them.
38393 [!_STATBUF_ST_NSEC]
38394 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38395 Define using time_t rather than struct timespec.
38396
750c1f2a
RM
38397 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38398 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38399 Macros removed.
38400 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38401 [!NO_THREADS].
38402 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38403 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38404 Likewise.
38405
2ae1ae5c
RM
38406 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38407 __libc_cleanup_push argument.
38408
e66a42f5
RM
38409 * bits/param.h: New file.
38410 * misc/sys/param.h: New file.
38411 * include/sys/param.h: New file.
38412 * misc/Makefile (headers): Add bits/param.h.
38413 * sysdeps/generic/sys/param.h: File removed.
38414 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38415 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38416 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38417 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38418
b7c08a66
RM
38419 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38420 last change.
38421
b2e1c562
RM
38422 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38423 [_IO_MTSAFE_IO].
38424 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38425 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38426 New macros.
38427
c75ccd4c
RM
38428 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38429 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38430 rather than -D_IO_MTSAFE_IO conditionally.
38431 * stdio-common/Makefile (CPPFLAGS): Likewise.
38432 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38433 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38434 Use $(libio-mtsafe).
38435 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38436 of -D_IO_MTSAFE_IO.
38437 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38438 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38439 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38440 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38441 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38442 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38443 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38444 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38445 (CFLAGS-fread_u_chk.c): Likewise.
38446 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38447 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38448 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38449 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38450 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38451 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38452 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38453 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38454 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38455
38456 * libio/Makefile: Test [$(libc-reentrant) = yes]
38457 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38458
38459 * Makeconfig
38460 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38461 * sysdeps/pthread/configure: File removed.
38462 * sysdeps/pthread/Makeconfig: New file.
38463 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38464 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38465
d9195db8
GB
384662012-08-16 Gary Benson <gbenson@redhat.com>
38467
38468 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38469 unmapping the first object in a namespace.
38470
86466cd9
RM
384712012-08-16 Roland McGrath <roland@hack.frob.com>
38472
38473 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38474 (__internal_setnetgrent): ... this. Add internal_function to
38475 definition. Add libc_hidden_def.
38476 (setnetgrent): Update caller.
38477 (internal_endnetgrent): Renamed to ...
38478 (__internal_endnetgrent): ... this. Add internal_function to
38479 definition. Add libc_hidden_def.
38480 (endnetgrent): Update caller.
38481 (internal_getnetgrent_r): Renamed to ...
38482 (__internal_getnetgrent_r): ... this. Add internal_function to
38483 definition. Add libc_hidden_def.
38484 (__getnetgrent_r): Update caller.
38485 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38486
c3c8283c
JM
384872012-08-16 Joseph Myers <joseph@codesourcery.com>
38488
38489 * stdlib/longlong.h: Update from GCC.
38490
db1ee0a8
RM
384912012-08-16 Roland McGrath <roland@hack.frob.com>
38492
38493 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38494 on _QL, which is set by umul_ppmm but never used.
38495 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38496 variables, which are set by GMP macros but never used.
38497 * stdio-common/_itowa.c (_itowa): Likewise.
38498 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38499 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38500
30f69637
CD
385012012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38502
38503 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38504 struct La_sh_regs is not constant.
38505 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38506 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38507 and struct La_sparc64_regs are not constant.
38508
93a78ac4
JM
385092012-08-16 Joseph Myers <joseph@codesourcery.com>
38510
38511 * sysdeps/unix/sysv/linux/kernel-features.h
38512 (__ASSUME_POSIX_TIMERS): Remove.
38513 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38515 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38516 Make code unconditional.
38517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38518 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38519 Make code unconditional.
38520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38521 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38522 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38524 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38525 Make code unconditional.
38526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38527 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38528 (__libc_missing_posix_timers): Remove.
38529
dd924cd7
RM
385302012-08-15 Roland McGrath <roland@hack.frob.com>
38531
4b4f2771
RM
38532 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38533 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38534
601c888b
RM
38535 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38536
176790a7
RM
38537 * elf/dl-sym.c: Include <stdlib.h>.
38538
329bc018
RM
38539 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38540 constants, which avoids warnings in 32-bit builds.
38541
e04e272d
RM
38542 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38543 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38544
952bf94a
RM
38545 * misc/lseek.c: File moved to ...
38546 * io/lseek.c: ... here.
38547
7c99b50a
RM
38548 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38549
dd924cd7
RM
38550 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38551 shifting LEN more than 31 bits at once.
38552
b3f479a8
LD
385532012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38554
38555 [BZ #14195]
8c4ae0d4
RM
38556 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38557 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38558 * string/test-strncasecmp.c (check1): Renamed to...
38559 (bz12205): ...this.
38560 (bz14195): Add new testcase for two empty input strings and N > 0.
38561 (test_main): Call new testcase, adapt for renamed function.
38562
9c55864e
AJ
385632012-08-15 Andreas Jaeger <aj@suse.de>
38564
38565 [BZ #14090]
38566 * crypt/md5test2.c: New test, based on test supplied by Serge
38567 Belyshev <belyshev@depni.sinp.msu.ru>.
38568 * crypt/Makefile (xtests): Add md5test-giant..
38569 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38570
02dcb6c5
PE
385712012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38572
38573 [BZ #14090]
38574 * crypt/md5.c (md5_process_block): Don't assume the buffer
38575 length is less than 2**32.
38576 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38577 length is less than 2**64.
38578
a3f95dcc
RM
385792012-08-15 Roland McGrath <roland@hack.frob.com>
38580
be75d758
RM
38581 * string/str-two-way.h: Include <sys/param.h>.
38582 (MAX): Macro removed.
38583
7312ca90
RM
38584 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38585 Move #define and #undef of memmove to just before and after
38586 including <string.h>.
38587
9a0a5486
RM
38588 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38589 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38590 and after including <string.h>. Move declarations of
38591 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38592 to before #include "string/memmove.c".
38593
67cc348d
RM
38594 * include/dirent.h: Declare __getdirentries.
38595
a3f95dcc
RM
38596 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38597 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38598
ca98e171
MF
385992012-08-14 Mike Frysinger <vapier@gentoo.org>
38600
38601 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38602 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38603 * sysdeps/i386/configure: Regenerated.
38604 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38605 STABS_CURRENT_FILE, and STABS_FUN.
38606 (END): Remove call to STABS_FUN_END.
38607 (STABS_CURRENT_FILE1): Delete.
38608 (STABS_CURRENT_FILE): Likewise.
38609 (STABS_FUN): Likewise.
38610 (STABS_FUN_END): Likewise.
38611 (STABS_FUN2): Likewise.
38612 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38613 * sysdeps/x86_64/configure: Regenerated.
38614
5908bf46
RM
386152012-08-14 Roland McGrath <roland@hack.frob.com>
38616
38617 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38618 * elf/dl-lookup.c: Likewise.
5908bf46 38619
f2c05b9e
JM
386202012-08-14 Joseph Myers <joseph@codesourcery.com>
38621
38622 * sysdeps/unix/sysv/linux/kernel-features.h
38623 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38624 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38625 unconditionally.
38626 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38627 unconditionally.
38628 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38629 condition on __ASSUME_CLONE_THREAD_FLAGS.
38630
e11f5155
AJ
386312012-08-14 Andreas Jaeger <aj@suse.de>
38632
38633 * sysdeps/i386/fpu/libm-test-ulps: Update.
38634
51a9ba86
MK
386352012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38636
2fdd4f78
AJ
38637 * include/atomic.h (atomic_exchange_and_add): Split into ...
38638 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38639 New atomic macros.
51a9ba86 38640
ba6cba9e
MT
386412012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38642
38643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38644
42443a47
JL
386452012-08-13 Jeff Law <law@redhat.com>
38646
38647 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38648 null byte in the output string.
38649
121dce05
JM
386502012-08-10 Joseph Myers <joseph@codesourcery.com>
38651
38652 * sysdeps/unix/sysv/linux/kernel-features.h
38653 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38654 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38655 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38656 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38657 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38658 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38659 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38660
bf51f568
JL
386612012-08-09 Jeff Law <law@redhat.com>
38662
38663 [BZ #13939]
38664 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38665 When avoid_arena is set, don't retry in the that arena. Pick the
38666 next one, whatever it might be.
38667 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38668 (arena_lock): Pass in new parameter to arena_get2.
38669 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38670 arena_get2.
38671 (__libc_malloc): Unify retrying after main arena failure with
38672 __libc_memalign version.
38673 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38674
f85fa270
L
386752012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38676
38677 [BZ #14166]
38678 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38679 to __redirect_strstr.
38680 (__strstr_sse42): Use typeof __redirect_strstr.
38681 (__strstr_ia32): Likewise.
38682 (__libc_strstr): New prototype.
38683 (strstr): Renamed to ...
38684 (__libc_strstr): This.
38685 (strstr): New strong alias of __libc_strstr.
38686 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38687 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38688 __redirect_time.
38689 Include <time.h>.
38690 (__libc_time): New prototype.
38691 (time_ifunc): Replace time with __libc_time.
38692 (time): New strong alias and hidden definition of __libc_time.
38693 (__GI_time): Remove strong alias.
38694 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38695 Include <stddef.h>.
38696 (memmove): Redefined to __redirect_memmove.
38697 (__memmove_sse2): Use typeof __redirect_memmove.
38698 (__memmove_ssse3): Likewise.
38699 (__memmove_ssse3_back): Likewise.
38700 (__libc_memmove): New prototype.
38701 (memmove): Renamed to ...
38702 (__libc_memmove): This.
38703 (memmove): New strong alias of __libc_memmove.
38704
33b4a91e
MS
387052012-08-08 Mark Salter <msalter@redhat.com>
38706
38707 * elf/elf.h
38708 (R_MN10300_TLS_GD): Define.
38709 (R_MN10300_TLS_LD): Likewise.
38710 (R_MN10300_TLS_LDO): Likewise.
38711 (R_MN10300_TLS_GOTIE): Likewise.
38712 (R_MN10300_TLS_IE): Likewise.
38713 (R_MN10300_TLS_LE): Likewise.
38714 (R_MN10300_TLS_DTPMOD): Likewise.
38715 (R_MN10300_TLS_DTPOFF): Likewise.
38716 (R_MN10300_TLS_TPOFF): Likewise.
38717 (R_MN10300_SYM_DIFF): Likewise.
38718 (R_MN10300_ALIGN): Likewise.
38719 (R_MN10300_NUM): Update.
38720
b36137f1
JM
387212012-08-08 Joseph Myers <joseph@codesourcery.com>
38722
38723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38724 Remove.
38725
cdd915fd
RM
387262012-08-08 Roland McGrath <roland@hack.frob.com>
38727
a2433aac
RM
38728 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38729
cdd915fd
RM
38730 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38731 sysdeps/unix -> sysdeps/posix move.
38732 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38733
bf9b740a
AM
387342012-08-07 Allan McRae <allan@archlinux.org>
38735
38736 [BZ #14303]
38737 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38738 (SUNOS_CPP): Likewise.
38739 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38740 not found.
38741 (open_input): Call CPP using execvp.
38742
93df14ee
JM
387432012-08-07 Joseph Myers <joseph@codesourcery.com>
38744
38745 * sysdeps/unix/sysv/linux/kernel-features.h
38746 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38747 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38748 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38749 (__ASSUME_WAITID_SYSCALL): Likewise.
38750 * sysdeps/unix/sysv/linux/dl-execstack.c
38751 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38752 code unconditional.
38753 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38754 conditional code.
38755 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38756 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38757 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38758 code.
38759 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38760 unconditional.
38761 [__ASSUME_WAITID_SYSCALL]: Likewise.
38762 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38763
d34689de
RM
387642012-08-07 Roland McGrath <roland@hack.frob.com>
38765
a281decc
RM
38766 * sysdeps/unix/closedir.c: Renamed to ...
38767 * sysdeps/posix/closedir.c: ... here.
38768 * sysdeps/unix/dirfd.c: Renamed to ...
38769 * sysdeps/posix/dirfd.c: ... here.
38770 * sysdeps/unix/dirstream.h: Renamed to ...
38771 * sysdeps/posix/dirstream.h: ... here.
38772 * sysdeps/unix/fdopendir.c: Renamed to ...
38773 * sysdeps/posix/fdopendir.c: ... here.
38774 * sysdeps/unix/opendir.c: Renamed to ...
38775 * sysdeps/posix/opendir.c: ... here.
38776 * sysdeps/unix/readdir.c: Renamed to ...
38777 * sysdeps/posix/readdir.c: ... here.
38778 * sysdeps/unix/readdir_r.c: Renamed to ...
38779 * sysdeps/posix/readdir_r.c: ... here.
38780 * sysdeps/unix/rewinddir.c: Renamed to ...
38781 * sysdeps/posix/rewinddir.c: ... here.
38782 * sysdeps/unix/seekdir.c: Renamed to ...
38783 * sysdeps/posix/seekdir.c: ... here.
38784 * sysdeps/unix/telldir.c: Renamed to ...
38785 * sysdeps/posix/telldir.c: ... here.
38786 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38787 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38788 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38789 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38790
22895b47
RM
38791 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38792 * bits/fcntl.h: ... here.
38793
707a53b6
RM
38794 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38795 not 0.
38796 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38797 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38798 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38799 (struct flock): Move l_start, l_len to the beginning.
38800 Use __pid_t for l_pid.
38801 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38802 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38803 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38804 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38805 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38806 [__USE_LARGEFILE64] (struct flock64): New type.
38807 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38808
f0bd3e25
RM
38809 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38810 * bits/dirent.h: ... here.
38811
d34689de
RM
38812 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38813 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38814
6dad2c06
JM
388152012-08-07 Joseph Myers <joseph@codesourcery.com>
38816
38817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38818 Change from 2.6.0 to 2.6.16.
38819 * sysdeps/unix/sysv/linux/configure: Regenerated.
38820 * sysdeps/unix/sysv/linux/kernel-features.h
38821 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38822 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38823 version.
38824 (__ASSUME_UTIMES): Likewise.
38825 (__ASSUME_CLONE_STOPPED): Remove.
38826 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38827 architectures, not kernel version.
38828 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38829 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38830 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38831 (__ASSUME_WAITID_SYSCALL): Likewise.
38832 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38833 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38834 * README: State 2.6.16 as minimum Linux kernel version. Do not
38835 refer to older versions.
38836
03af9520
RM
388372012-08-06 Roland McGrath <roland@hack.frob.com>
38838
8e49df1d
RM
38839 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38840 Define alphasort64 as an alias.
38841 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38842 Define versionsort64 as an alias.
38843 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38844 Define scandir64 as an alias.
38845 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38846 Define scandirat64 as an alias.
38847 * dirent/alphasort64.c (alphasort64):
38848 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38849 * dirent/versionsort64.c: Likewise.
38850 * dirent/scandir64.c: Likewise.
38851 * dirent/scandirat64.c: Likewise.
38852 * sysdeps/wordsize-64/alphasort.c: File removed.
38853 * sysdeps/wordsize-64/alphasort64.c: File removed.
38854 * sysdeps/wordsize-64/scandir.c: File removed.
38855 * sysdeps/wordsize-64/scandir64.c: File removed.
38856 * sysdeps/wordsize-64/scandirat.c: File removed.
38857 * sysdeps/wordsize-64/scandirat64.c: File removed.
38858 * sysdeps/wordsize-64/versionsort.c: File removed.
38859 * sysdeps/wordsize-64/versionsort64.c: File removed.
38860 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38862 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38864 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38866 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38867 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38868
38869 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38871 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38873 [defined __arch64__ || defined __sparcv9]
38874 (__INO_T_MATCHES_INO64_T): New macro.
38875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38876 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38877 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38878 * sysdeps/unix/sysv/linux/bits/dirent.h
38879 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38880 (_DIRENT_MATCHES_DIRENT64): New macro.
38881
03af9520
RM
38882 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38883 Define lockf64 as an alias.
38884 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38885 Define fseeko64 as an alias.
38886 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38887 Define ftello64 as an alias.
38888 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38889 Define _IO_fgetpos64 and fgetpos64 as aliases.
38890 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38891 Define _IO_fsetpos64 and fsetpos64 as aliases.
38892 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38893 Conditionalize body on this.
38894 * libio/fseeko64.c: Likewise.
38895 * libio/ftello64.c: Likewise.
38896 * libio/iofgetpos64.c: Likewise.
38897 * libio/iofsetpos64.c: Likewise.
38898 * sysdeps/wordsize-64/lockf.c: File removed.
38899 * sysdeps/wordsize-64/lockf64.c: File removed.
38900 * sysdeps/wordsize-64/fseeko.c: File removed.
38901 * sysdeps/wordsize-64/fseeko64.c: File removed.
38902 * sysdeps/wordsize-64/ftello.c: File removed.
38903 * sysdeps/wordsize-64/ftello64.c: File removed.
38904 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38905 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38906 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38907 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38908 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38910 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38912 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38914 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38916 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38918
38919 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38921 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38923 [defined __arch64__ || defined __sparcv9]
38924 (__OFF_T_MATCHES_OFF64_T): New macro.
38925 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38926 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38928 (__OFF_T_MATCHES_OFF64_T): New macro.
38929
c5757acd
L
389302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38931
38932 * stdlib/secure-getenv.c (__secure_getenv): Replace
38933 GLIBC_2_16 with GLIBC_2_17.
38934
3a31811e
L
389352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38936
38937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38939
faa2bccb
DM
389402012-08-03 David S. Miller <davem@davemloft.net>
38941
38942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38943
85fe1997
JM
389442012-08-03 Joseph Myers <joseph@codesourcery.com>
38945
38946 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38947 Remove.
38948 (__ASSUME_CORRECT_SI_PID): Likewise.
38949 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38950 (__ASSUME_TMPFS_NAME): Likewise.
38951 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38952 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38953 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38954 (HAVE_AUX_SECURE): Make definition unconditional.
38955 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38956 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38957
4f75b7a0
RM
389582012-08-03 Roland McGrath <roland@hack.frob.com>
38959
38960 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38961 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38962 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38963 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38964 __eloop_threshold instead of SYMLOOP_MAX.
38965
38966 * sysdeps/generic/eloop-threshold.h: New file.
38967 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38968 of MAXSYMLINKS.
38969 * elf/chroot_canon.c (chroot_canon): Likewise.
38970
7aab07e4
JM
389712012-08-03 Joseph Myers <joseph@codesourcery.com>
38972
38973 [BZ #13717]
38974 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38975 Change to 2.6.0 everywhere.
38976 * sysdeps/unix/sysv/linux/configure: Regenerated.
38977 * sysdeps/unix/sysv/linux/kernel-features.h
38978 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38979 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38980 kernel versions.
38981 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38982 (__ASSUME_FUTEX_REQUEUE): Remove.
38983 (__ASSUME_STATFS64): Define unconditionally.
38984 (__ASSUME_AT_SECURE): Likewise.
38985 (__ASSUME_CORRECT_SI_PID): Likewise.
38986 (__ASSUME_TGKILL): Define without depending on kernel version for
38987 i386.
38988 (__ASSUME_UTIMES): Likewise.
38989 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38990 kernel version.
38991 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38992 (__ASSUME_TMPFS_NAME): Likewise.
38993 * README: Update reference to Linux kernel versions.
38994
b67e9372
MP
389952012-08-02 Marek Polacek <polacek@redhat.com>
38996
1f529f7d 38997 [BZ# 14150]
b67e9372
MP
38998 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38999 libc_cv_asm_type_prefix with %.
39000 * configure: Regenerated.
d2441631
RM
39001 * include/libc-symbols.h: Remove comment about
39002 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39003 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39004 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39005 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39006 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39007 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39008 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39009 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39010 * elf/tst-unique2mod1.c: Likewise.
39011 * elf/tst-unique1mod2.c: Likewise.
39012 * elf/tst-unique1mod1.c: Likewise.
39013 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39014 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39015 Replace ASM_TYPE_DIRECTIVE with .type.
39016 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39017 * sysdeps/i386/sysdep.h: Likewise.
39018 * sysdeps/x86_64/sysdep.h: Likewise.
39019 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39021 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39022 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39023 * sysdeps/powerpc/powerpc32/sysdep.h:
39024 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39025 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39026 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39027 * sysdeps/i386/fpu/e_powf.S: Likewise.
39028 * sysdeps/i386/fpu/e_expl.S: Likewise.
39029 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39030 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39031 * sysdeps/i386/fpu/e_pow.S: Likewise.
39032 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39033 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39034 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39035 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39036 * sysdeps/i386/fpu/e_log2.S: Likewise.
39037 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39038 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39039 * sysdeps/i386/fpu/e_powl.S: Likewise.
39040 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39041 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39042 * sysdeps/i386/fpu/e_logl.S: Likewise.
39043 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39045 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39048 * sysdeps/i386/fpu/e_log.S: Likewise.
39049 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39050 * sysdeps/i386/fpu/e_logf.S: Likewise.
39051 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39052 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39053 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39054 * sysdeps/i386/fpu/e_log10.S: Likewise.
39055 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39056 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39057 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39058 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39059 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39060 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39061 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39062 * sysdeps/i386/i686/strtok.S: Likewise.
39063 * sysdeps/i386/i386-mcount.S: Likewise.
39064 * sysdeps/i386/strtok.S: Likewise.
39065 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39068 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39070 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39071 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39072 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39073 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39074 * sysdeps/x86_64/_mcount.S: Likewise.
39075 * sysdeps/x86_64/strtok.S: Likewise.
39076 * sysdeps/sh/_mcount.S: Likewise.
39077
2747bf9a
RM
390782012-08-01 Roland McGrath <roland@hack.frob.com>
39079
39080 * libio/iofopen.c: Include <fcntl.h>.
39081 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39082 (_IO_fopen64, fopen64): Define as aliases.
39083 * libio/iofopen64.c: Include <fcntl.h>.
39084 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39085 Conditionalize body on this.
39086 * sysdeps/wordsize-64/iofopen.c: File removed.
39087 * sysdeps/wordsize-64/iofopen64.c: File removed.
39088
3fb791b8
MP
390892012-08-01 Marek Polacek <polacek@redhat.com>
39090
39091 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39092 Use dlfcn directly instead of a variable.
39093 (binfmt-subdir): Do not define.
39094 (dlfcn): Likewise.
39095
a9f1039f
JM
390962012-08-01 Joseph Myers <joseph@codesourcery.com>
39097
23bddc06
JM
39098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39099 Remove all definitions.
39100 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39101 <kernel-features.h>.
39102 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39103 (miss_F_GETOWN_EX): Remove all definitions.
39104 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39105 macro definition.
39106 [!__ASSUME_FCNTL64]: Remove conditional code.
39107 [__ASSUME_FCNTL64]: Make code unconditional.
39108 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39109 <kernel-features.h>.
39110 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39111 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39112 (lockf64) [__NR_fcntl64]: Make code unconditional.
39113 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39114
a9f1039f
JM
39115 * sysdeps/unix/sysv/linux/kernel-features.h
39116 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39117 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39118 Make code unconditional.
39119 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39120 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39122 [__NR_vfork]: Make code unconditional.
39123 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39124 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39126 [__NR_vfork]: Make code unconditional.
39127 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39128 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39129
09c0ee5f
RM
391302012-08-01 Roland McGrath <roland@hack.frob.com>
39131
48aec5b9
RM
39132 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39133 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39134
cd97c966
RM
39135 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39136 Define mkstemp64 as an alias.
3f55550c
RM
39137 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39138 Define mkstemps64 as an alias.
cd97c966
RM
39139 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39140 Define mkostemp64 as an alias.
b8625cfc
RM
39141 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39142 Define mkostemps64 as an alias.
cd97c966
RM
39143 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39144 Conditionalize body on this.
39145 * misc/mkostemp64.c: Likewise.
b8625cfc 39146 * misc/mkostemps64.c: Likewise.
3f55550c 39147 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39148 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39149 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39150 * sysdeps/wordsize-64/mkostemp.c: File removed.
39151 * sysdeps/wordsize-64/mkstemp.c: File removed.
39152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39153 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39155 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39156
09c0ee5f
RM
39157 [BZ #14138]
39158 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39159 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39160 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39161 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39162
39163 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39164 compat_symbol macros from <shlib-compat.h> rather than the underlying
39165 default_symbol_version and symbol_version macros, so that DEFAULT
39166 lines in shlib-versions are respected.
39167 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39168
7e66ee51
FW
391692012-08-01 Florian Weimer <fweimer@redhat.com>
39170
39171 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39172 Declare with warn_unused_result.
39173 (setgid, setregid, setegid, setresgid): Likewise.
39174 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39175 Likewise.
39176 * WUR-REPORT: Remove set*id functions.
39177
d2a54255
PT
391782012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39179
39180 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39181
7ecdb005
RM
391822012-07-31 Roland McGrath <roland@hack.frob.com>
39183
b4180a5e 39184 [BZ #10191]
789bd351
RM
39185 * include/sys/socket.h (__libc_accept, __libc_accept4):
39186 Add attribute_hidden.
39187 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39188
40ce302d
RM
39189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39190 use of PTR_MANGLE.
39191 * inet/getnetgrent_r.c (setup): Likewise.
39192
7ecdb005
RM
39193 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39194
e2eabb2c
DM
391952012-07-31 David S. Miller <davem@davemloft.net>
39196
39197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39198
d0419dbf
JM
391992012-07-31 Joseph Myers <joseph@codesourcery.com>
39200
39201 [BZ #13629]
39202 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39203 value between 1.0 and 2.0 and smaller part has absolute value less
39204 than 1.0.
39205 * math/s_clog10.c (__clog10): Likewise.
39206 * math/s_clog10f.c (__clog10f): Likewise.
39207 * math/s_clog10l.c (__clog10l): Likewise.
39208 * math/s_clogf.c (__clogf): Likewise.
39209 * math/s_clogl.c (__clogl): Likewise.
39210 * math/libm-test.inc (clog_test): Add more tests.
39211 (clog10_test): Likewise.
39212 * sysdeps/i386/fpu/libm-test-ulps: Update.
39213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39214
2bc13872
FW
392152012-07-31 Florian Weimer <fweimer@redhat.com>
39216
39217 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39218 Exit with zero in case no suitable GID is found, and write a
39219 message to standard error.
39220
bea9b193
RM
392212012-07-30 Roland McGrath <roland@hack.frob.com>
39222
39223 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39224 rather than to 1.
39225 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39226 (MAXPATHLEN): Removed.
39227 (NOGROUP, NODEV): New macros.
39228 (setbit, clrbit, isset, isclr): New macros.
39229 (howmany, roundup, powerof2): New macros.
39230 (DEV_BSIZE): New macro.
39231
39232 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39233 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39234
39235 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39236 definition on [!__NO_LONG_DOUBLE_MATH].
39237
39238 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39239 PTR_MANGLE and PTR_DEMANGLE.
39240
39241 * socket/accept4.c (accept4): Rename to __libc_accept4.
39242 Define accept4 as a weak alias.
39243
39244 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39245 on [_DIRENT_HAVE_D_TYPE].
39246 * io/ftw.c (ftw_dir): Likewise.
39247
39248 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39249
39250 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39251
39252 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39253 Use the BSD numbers rather than the arbitrary ones we had.
39254 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39255 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39256 (SIGXCPU, SIGXFSZ): New macros.
39257 (_NSIG): Now 32.
39258
39259 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39260 initializer on [_LIBC_REENTRANT].
39261
39262 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39263 definitions inside [_POSIX_MAPPED_FILES].
39264
39265 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39266
39267 * dirent/opendir.c: Include <fcntl.h>.
39268
39269 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39270 (__libc_getspecific): Likewise.
39271 (__libc_key_create): Likewise.
39272
39273 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39274 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39275 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39276 (tmpfile64): Define as alias.
39277 * sysdeps/wordsize-64/tmpfile.c: File removed.
39278 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39281
39282 * stdio-common/vfscanf.c: Include <stdbool.h>.
39283 * nss/makedb.c: Likewise.
39284 * stdio-common/_i18n_number.h: Likewise.
39285 * argp/argp-help.c: Likewise.
39286 * posix/wordexp.c: Likewise.
39287 * sysdeps/posix/spawni.c: Likewise.
39288 * nss/nss_files/files-initgroups.c: Likewise.
39289 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39290 * nss/nss_files/files-initgroups.c: Likewise.
39291 * nss/nss_db/db-netgrp.c: Likewise.
39292 * nss/nss_db/db-initgroups.c: Likewise.
39293 * io/fchmodat.c: Include <sys/stat.h>.
39294
39295 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39296 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39297
39298 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39299 [HAVE_MMAP].
39300
39301 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39302 Add multiple inclusion protection.
39303
e5abc686
DM
393042012-07-27 David S. Miller <davem@davemloft.net>
39305
39306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39307
815e6fa3
GB
393082012-07-27 Gary Benson <gbenson@redhat.com>
39309
39310 [BZ #14298]
39311 * elf/rtld.c: Include <stap-probe.h>.
39312 (dl_main): Added static probes "init_start" and "init_complete".
39313 * elf/dl-load.c: Include <stap-probe.h>.
39314 (lose): Take new parameter "nsid".
39315 Added static probe "map_failed".
39316 (_dl_map_object_from_fd): Pass namespace id to lose.
39317 Added static probe "map_start".
39318 (open_verify): Pass namespace id to lose.
39319 * elf/dl-open.c: Include <stap-probe.h>.
39320 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39321 and "reloc_complete".
39322 * elf/dl-close.c: Include <stap-probe.h>.
39323 (_dl_close_worker): Added static probes "unmap_start" and
39324 "unmap_complete".
39325 * elf/rtld-debugger-interface.txt: New file documenting the above.
39326
9f98c16c
RM
393272012-07-26 Roland McGrath <roland@hack.frob.com>
39328
39329 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39330 rather than a string variable.
39331 * sunrpc/rpc_main.c (h_output): Likewise.
39332 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39333
f3c22df3
PT
393342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39335
39336 * inet/check_native.c: New file.
39337
3129cfc6
JM
393382012-07-26 Joseph Myers <joseph@codesourcery.com>
39339
da865e95
JM
39340 [BZ #13629]
39341 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39342 if larger part has absolute value 1.0.
39343 * math/s_clog10.c (__clog10): Likewise.
39344 * math/s_clog10f.c (__clog10f): Likewise.
39345 * math/s_clog10l.c (__clog10l): Likewise.
39346 * math/s_clogf.c (__clogf): Likewise.
39347 * math/s_clogl.c (__clogl): Likewise.
39348 * math/libm-test.inc (clog_test): Add more tests.
39349 (clog10_test): Likewise.
39350 * sysdeps/i386/fpu/libm-test-ulps: Update.
39351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39352
3129cfc6
JM
39353 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39354 (pltexit): Likewise.
39355 (La_regs): Likewise.
39356 (La_retval): Likewise.
39357 (int_retval): Likewise.
39358 Update #error for removed macros to refer only to definitions in
39359 tst-audit.h.
39360 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39361 macro.
39362 (pltexit): Likewise.
39363 (La_regs): Likewise.
39364 (La_retval): Likewise.
39365 (int_retval): Likewise.
39366 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39367 macro.
39368 (pltexit): Likewise.
39369 (La_regs): Likewise.
39370 (La_retval): Likewise.
39371 (int_retval): Likewise.
39372 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39373 macro.
39374 (pltexit): Likewise.
39375 (La_regs): Likewise.
39376 (La_retval): Likewise.
39377 (int_retval): Likewise.
39378 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39379 macro.
39380 (pltexit): Likewise.
39381 (La_regs): Likewise.
39382 (La_retval): Likewise.
39383 (int_retval): Likewise.
39384 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39385 macro.
39386 (pltexit): Likewise.
39387 (La_regs): Likewise.
39388 (La_retval): Likewise.
39389 (int_retval): Likewise.
39390 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39391 macro.
39392 (pltexit): Likewise.
39393 (La_regs): Likewise.
39394 (La_retval): Likewise.
39395 (int_retval): Likewise.
39396 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39397 macro definitions in tst-audit.h.
39398 * sysdeps/i386/tst-audit.h: New file.
39399 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39400 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39401 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39402 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39403 * sysdeps/sh/tst-audit.h: Likewise.
39404 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39405 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39406 * sysdeps/x86_64/tst-audit.h: Likewise.
39407
bfc07087
AJ
394082012-07-26 Andreas Jaeger <aj@suse.de>
39409
b1b2aaf8
AJ
39410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39411 ptrace.
39412
39413 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39414 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39415 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39416 PTRACE_O_MASK.
39417 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39418 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39419 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39420
bfc07087
AJ
39421 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39422 value.
39423
39424 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39425 _sigsys.
39426 (si_call_addr, si_syscall, si_arch): Define new macro.
39427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39428 _sigsys.
39429 (si_call_addr, si_syscall, si_arch): Define new marcro.
39430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39431 _sigsys.
39432 (si_call_addr, si_syscall, si_arch): Define new macro.
39433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39434 _sigsys.
39435 (si_call_addr, si_syscall, si_arch): Define new macro.
39436
89b4b02f
JM
394372012-07-25 Joseph Myers <joseph@codesourcery.com>
39438
39439 [BZ #13717]
39440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39441 Change to 2.4.21 where previously 2.4.1.
39442 * sysdeps/unix/sysv/linux/configure: Regenerated.
39443 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39444 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39445 Linux kernel version.
39446 (__ASSUME_STD_AUXV): Remove.
39447 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39448 kernel version.
39449 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39450 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39451 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39452 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39453 (__ASSUME_NETLINK_SUPPORT): Likewise.
39454 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39455 (__no_netlink_support): Remove conditional definition.
39456 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39457 Remove.
39458 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39459 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39460 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39461 (if_nameindex_ioctl): Remove.
39462 (if_nameindex_netlink): Do not handle __no_netlink_support.
39463 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39464 code.
39465 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39466 Remove conditional code.
39467 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39468 code.
39469 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39470 unconditional.
39471 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39472 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39473 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39474 Remove.
39475 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39476 [!__ASSUME_STD_AUXV]: Remove conditional code.
39477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39478 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39479 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39481 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39482 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39483 code.
39484 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39486 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39487 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39488 conditional code.
39489 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39491 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39492 code.
39493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39494 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39495 conditional code.
39496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39497 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39498 code unconditional.
39499 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39500 conditional code.
39501 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39502 unconditional.
39503 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39504 conditional code.
39505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39506 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39507 unconditional.
39508 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39509 conditional code.
39510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39511 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39512 code unconditional.
39513 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39514 conditional code.
39515 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39516 unconditional.
39517 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39518 conditional code.
39519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39520 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39521 code unconditional.
39522 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39523 conditional code.
39524 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39525 unconditional.
39526 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39527 conditional code.
39528
842a39cd
AS
395292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39530
39531 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39532 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39533 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39534 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39535 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39536 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39537 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39538 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39539 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39540 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39541 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39542 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39543 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39544 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39545 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39546 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39547 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39548 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39549 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39551 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39552 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39554
84b3fd84
FW
395552012-07-25 Florian Weimer <fweimer@redhat.com>
39556
39557 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39558 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39559 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39560 Introduce __libc_secure_getenv.
0c7936d5
FW
39561 * stdlib/Versions (2.17): Add secure_getenv
39562 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39563 * stdlib/secure-getenv.c: Rename __secure_getenv to
39564 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39565 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39566 * stdlib/tst-secure-getenv.c: New.
39567 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39568 * manual/startup.texi (Environment Access): Document
39569 secure_getenv.
84b3fd84
FW
39570 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39571 __libc_secure_getenv.
39572 * inet/ruserpass.c (ruserpass): Likewise.
39573 * malloc/mtrace.c (mtrace): Likewise.
39574 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39575 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39576 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39577 * sysdeps/posix/tempname.c: Likewise. Evaluate
39578 HAVE_SECURE_GETENV.
39579 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39580 __secure_getenv to __libc_secure_getenv.
84b3fd84 39581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39583 Likewise.
39584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39585 Likewise.
39586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39588 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39593
56e49b71
JM
395942012-07-25 Joseph Myers <joseph@codesourcery.com>
39595
39596 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39597 (struct La_i86_retval): Likewise.
39598 (struct La_x86_64_regs): Likewise.
39599 (struct La_x86_64_retval): Likewise.
39600 (struct La_x32_regs): Likewise.
39601 (struct La_x32_retval): Likewise.
39602 (struct La_ppc32_regs): Likewise.
39603 (struct La_ppc32_retval): Likewise.
39604 (struct La_ppc64_regs): Likewise.
39605 (struct La_ppc64_retval): Likewise.
39606 (struct La_sh_regs): Likewise.
39607 (struct La_sh_retval): Likewise.
39608 (struct La_s390_32_regs): Likewise.
39609 (struct La_s390_32_retval): Likewise.
39610 (struct La_s390_64_regs): Likewise.
39611 (struct La_s390_64_retval): Likewise.
39612 (struct La_sparc32_regs): Likewise.
39613 (struct La_sparc32_retval): Likewise.
39614 (struct La_sparc64_regs): Likewise.
39615 (struct La_sparc64_retval): Likewise.
39616 (struct audit_ifaces): Remove architecture-specific pltenter and
39617 pltexit members.
39618 * sysdeps/i386/ldsodefs.h: New file.
39619 * sysdeps/powerpc/ldsodefs.h: Likewise.
39620 * sysdeps/s390/ldsodefs.h: Likewise.
39621 * sysdeps/sh/ldsodefs.h: Likewise.
39622 * sysdeps/sparc/ldsodefs.h: Likewise.
39623 * sysdeps/x86_64/ldsodefs.h: Likewise.
39624
354691b7
MP
396252012-07-25 Marek Polacek <polacek@redhat.com>
39626
39627 [BZ #6808]
39628 * math/libm-test.inc (yn_test): Add another test.
39629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39630 to ERANGE when the result is +-Inf.
39631 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39632 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39633 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39634 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39635
bf9e2071
JM
396362012-07-24 Joseph Myers <joseph@codesourcery.com>
39637
39638 * conform/data/time.h-data (NULL): Use macro-constant. Require
39639 equal to 0.
39640 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39641 clock_t.
39642 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39643
57633811
TS
396442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39645
39646 * configure.in <sysdeps resolving>: Correct printing
39647 Implies_before.
39648 * configure: Regenerate.
39649
c23c33b0
TS
396502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39651
39652 * math/w_ilogb.c: Include <limits.h>.
39653 * math/w_ilogbl.c: Likewise.
39654
b5982523
JM
396552012-07-20 Joseph Myers <joseph@codesourcery.com>
39656
39657 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39658 va_copy. Document allowing for unavailable va_copy only as
39659 pre-C99 compatibility.
39660 * manual/string.texi (Copying and Concatenation): Use va_copy
39661 instead of __va_copy in concat example.
39662
ac4ea442
PT
396632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39664
39665 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39666 (__sendto): Use create_address_port. Initialize APORT and deallocate
39667 it if not null.
39668
f98eafbd
PT
39669 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39670 with O_NOLINK passed to __file_name_lookup.
39671
898c7aab
PT
39672 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39673 with O_NOLINK passed to __file_name_lookup.
39674
0ced335a
PT
39675 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39676 negative N or less than NGIDS.
39677
b3404dbd
PT
39678 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39679 type to string_t. Set ERANGE as errno and return it if NAME is not big
39680 enough. Use memcpy instead of strncpy.
39681
0f48659e
JM
396822012-07-20 Joseph Myers <joseph@codesourcery.com>
39683
39684 * elf/Makefile (check-data): Remove.
39685 (localplt.data): New vpath directive.
39686 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39687 instead of $(check-data).
39688 * scripts/data/localplt-generic.data: Move to ...
39689 * sysdeps/generic/localplt.data: ... here.
39690 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39691 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39692 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39694 ... here.
39695 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39697 ... here.
39698 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39700 ... here.
39701 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39703 ... here.
39704 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39706 ... here.
39707 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39709 ... here.
39710
d37cbdaa
AZ
397112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39712
39713 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39714 PPC32 and PPC64 files.
39715 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39716 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39717
46f85fc2
AK
397182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39719
39720 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39721 __makecontext_ret to ...
39722 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39723 ... here and call exit if uc_link is NULL. New file.
39724 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39725 __makecontext_ret.S.
39726 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39727 __makecontext_ret to ...
39728 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39729 ... here and call exit if uc_link is NULL. New file.
39730 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39731 __makecontext_ret.S.
39732
08f43f9b
AK
397332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39734
39735 * elf/elf.h (R_390_IRELATIVE): New definition.
39736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39737 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39738 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39739 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39740 (elf_machine_lazy_rel): Likewise.
39741 * sysdeps/s390/dl-irel.h: New file.
39742 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39743 * sysdeps/s390/s390-64/memset.S: New asm code.
39744 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39745 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39747 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39748 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39749 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39750 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39751 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39752 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39753 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39754 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39755 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39756 * sysdeps/s390/s390-32/memset.S: New asm code.
39757 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39758
3b05db33
MP
397592012-07-17 Marek Polacek <polacek@redhat.com>
39760
39761 [BZ #14349]
39762 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39763 * sysdeps/s390/s390-64/configure.in: Likewise.
39764 * sysdeps/sparc/configure.in: Likewise.
39765 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39766 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39767 * sysdeps/i386/configure.in: Likewise.
39768 * sysdeps/x86_64/configure.in: Likewise.
39769 * sysdeps/sh/configure.in: Likewise.
39770 * sysdeps/s390/s390-32/configure: Regenerated.
39771 * sysdeps/s390/s390-64/configure: Likewise.
39772 * sysdeps/x86_64/configure: Likewise.
39773 * sysdeps/sh/configure: Likewise.
39774 * sysdeps/powerpc/powerpc64/configure: Likewise.
39775 * sysdeps/powerpc/powerpc32/configure: Likewise.
39776 * sysdeps/sparc/configure: Likwise.
39777 * sysdeps/i386/configure: Likewise.
39778
a66877c6
MP
39779 * elf/dl-open.c: Comment fixes.
39780
cfc82fd8
JM
397812012-07-17 Joseph Myers <joseph@codesourcery.com>
39782
bd29910a
JM
39783 * Makefile [CXX] (check-data): Remove.
39784 [CXX] (c++-types.data): New vpath directive.
39785 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39786 vpath. Do not allow for C++ type data being missing.
39787 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39788 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39789 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39790 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39791 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39792 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39793 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39795 ... here.
39796 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39798 ... here.
39799 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39801 ... here.
39802 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39804 ... here.
39805 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39807 ... here.
39808 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39810 ... here.
39811 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39813 ... here.
39814 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39816
cfc82fd8
JM
39817 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39818 definitions to architecture-specific files.
39819 (TLS_IE): Likewise.
39820 (TLS_LD): Likewise.
39821 (TLS_GD): Likewise.
39822 * sysdeps/i386/tls-macros.h: New file.
39823 * sysdeps/powerpc/tls-macros.h: Likewise.
39824 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39825 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39826 * sysdeps/sh/tls-macros.h: Likewise.
39827 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39828 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39829 * sysdeps/x86_64/tls-macros.h: Likewise.
39830
f7db3170
TS
398312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39832
07cbfc23
TS
39833 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39834 zero value for regular exit case.
39835
f7db3170
TS
39836 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39837 (__start_context): Preserve zero value for regular exit case.
39838
dc97c227
TS
398392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39840 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39841
39842 * manual/setjmp.texi (setcontext): Clarify normal process
39843 termination when uc_link is the null pointer.
39844 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39845 exit call.
39846
d0cd7d02
AS
398472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39848
39849 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39850 preprocessor. Test for each exception mask separately.
39851
dd318934
AJ
398522012-07-16 Andreas Jaeger <aj@suse.de>
39853
39854 * po/ru.po: Update from translation team.
39855
8048311a
JM
398562012-07-15 Joseph Myers <joseph@codesourcery.com>
39857
39858 * conform/data/string.h-data (NULL): Use macro-constant. Require
39859 equal to 0.
39860 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39861 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39862 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39863 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39865
b637d46e
AJ
398662012-07-13 Andreas Jaeger <aj@suse.de>
39867
39868 * po/fr.po: Update from translation team.
39869
541428fe
MP
398702012-07-12 Marek Polacek <polacek@redhat.com>
39871
39872 [BZ #14173]
39873 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39874 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39875 loop condition.
39876
ec332e94
JM
398772012-07-12 Joseph Myers <joseph@codesourcery.com>
39878
39879 [BZ #13717]
39880 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39881 Change to 2.4.1 where previously 2.4.0.
39882 * sysdeps/unix/sysv/linux/configure: Regenerated.
39883 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39884 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39885 version.
39886 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39887 (__ASSUME_AT_CLKTCK): Remove.
39888 (__ASSUME_AT_PAGESIZE): Likewise.
39889 (__ASSUME_AT_XID): Likewise.
39890 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39891 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39892 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39893 unconditionally.
39894 (HAVE_AUX_PAGESIZE): Likewise.
39895 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39896 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39897 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39898
7b6e99be
JB
398992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39900
39901 [BZ #14307]
39902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39903 the temporary buffer used to invoke __gethostbyname2_r,
39904 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39905 host_data / struct gaih_addrtuple.
39906 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39907 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39908 header file nss/nsswitch.h.
39909 * nss/nsswitch.h (global scope): Add definition of implementation
39910 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39911 resolv/nss_dns/dns-host.c).
39912
608404eb
AJ
399132012-07-11 Andreas Jaeger <aj@suse.de>
39914
39915 * po/fr.po: Update from translation team.
39916
71220aca
AJ
39917 * po/sv.po: Update from translation team
39918 * po/fr.po: Another update from translation team.
39919
28cfe843
AZ
399202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39921
39922 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39923 for subnormals or multiply small sinh result by itself.
39924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39926
6b90f981
DM
399272012-07-11 David S. Miller <davem@davemloft.net>
39928
39929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39930
c6825772
AS
399312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39932
39933 [BZ #14347]
39934 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39935 (INTERNAL_MARK): Shift it here.
39936
7b8e0d49
MP
399372012-07-10 Marek Polacek <polacek@redhat.com>
39938
39939 [BZ #14151]
39940 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39941 libc_cv_asm_global_directive with .globl.
39942 * configure: Regenerated.
39943 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39944 with .globl.
39945 * sysdeps/i386/configure: Regenerated.
39946 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39947 with .globl.
39948 * sysdeps/x86_64/configure: Regenerated.
39949 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39950 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39951 * elf/tst-unique2mod2.c: Likewise.
39952 * elf/tst-unique2mod1.c: Likewise.
39953 * elf/tst-unique1mod2.c: Likewise.
39954 * elf/tst-unique1mod1.c: Likewise.
39955 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39956 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39958 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39959 * sysdeps/mach/sysdep.h: Likewise.
39960 * sysdeps/i386/sysdep.h: Likewise.
39961 * sysdeps/i386/i386-mcount.S: Likewise.
39962 * sysdeps/x86_64/_mcount.S: Likewise.
39963 * sysdeps/x86_64/sysdep.h: Likewise.
39964 * sysdeps/sh/_mcount.S: Likewise.
39965 * sysdeps/sh/sysdep.h: Likewise.
39966 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39967 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39968 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39970 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39971 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39972 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39973 * locale/localeinfo.h: Likewise.
39974 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39975 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39976
6c55cda3
RM
399772012-07-09 Roland McGrath <roland@hack.frob.com>
39978
39979 [BZ #14336]
39980 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39981 system".
39982 * manual/message.texi (The Uniforum approach): Likewise.
39983 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39984 (glibc iconv Implementation): Likewise.
39985
638a572e
JM
399862012-07-09 Joseph Myers <joseph@codesourcery.com>
39987
39988 [BZ #14337]
39989 * math/s_clog.c (__clog): Avoid scaling a value down where that
39990 could result in underflow.
39991 * math/s_clog10.c (__clog10): Likewise.
39992 * math/s_clog10f.c (__clog10f): Likewise.
39993 * math/s_clog10l.c (__clog10l): Likewise.
39994 * math/s_clogf.c (__clogf): Likewise.
39995 * math/s_clogl.c (__clogl): Likewise.
39996 * math/libm-test.inc (clog_test): Add more tests.
39997 (clog10_test): Likewise.
39998 * sysdeps/i386/fpu/libm-test-ulps: Update.
39999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40000
261f4859
AS
400012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40002
0abaf3e4
AS
40003 [BZ #14283]
40004 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40005 by 7 not 8 to examine high bit of fractional part.
40006
261f4859
AS
40007 [BZ #14042]
40008 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40009 for call to __mcount_internal.
40010 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40011 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40012 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40013
f17ac40d
JM
400142012-07-06 Joseph Myers <joseph@codesourcery.com>
40015
9ad63c23
JM
40016 [BZ #14154]
40017 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40018 approximation for values within 0x1p-13f of an odd multiple of
40019 pi/4.
40020 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40021 exception. Add more tests.
40022 * sysdeps/i386/fpu/libm-test-ulps: Update.
40023
f17ac40d
JM
40024 [BZ #6778]
40025 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40026 inputs and return -1 for them. Do not check for +Inf in case not
40027 reachable for +Inf.
40028 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40029 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40030 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40031 and return -1 for them. Do not check for +Inf in case not
40032 reachable for +Inf.
40033 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40034 define.
40035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40036 and return -1 for them. Do not check for +Inf in case not
40037 reachable for +Inf.
40038 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40039 spurious underflow.
40040 * sysdeps/i386/fpu/libm-test-ulps: Update.
40041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40042
fb21f89b
MF
400432012-07-06 Mike Frysinger <vapier@gentoo.org>
40044
40045 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40046
cdfe2c5e
JM
400472012-07-05 Joseph Myers <joseph@codesourcery.com>
40048
40049 [BZ #14157]
40050 [BZ #14331]
40051 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40052 could result in spurious underflow. Scale down values above
40053 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40054 * math/s_csqrtf.c (__csqrtf): Likewise.
40055 * math/s_csqrtl.c (__csqrtl): Likewise.
40056 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40057 spurious underflow.
40058 * sysdeps/i386/fpu/libm-test-ulps: Update.
40059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40060
70d35b67
AS
400612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40062
704bc459
AS
40063 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40064 xopen-msg.sed.
40065 * catgets/xopen-msg.awk: New file.
40066 * catgets/xopen-msg.sed: Removed.
40067
70d35b67
AS
40068 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40069 po2text.sed.
40070 * intl/po2test.awk: New file.
40071 * intl/po2test.sed: Removed.
40072
ca61cf32
JM
400732012-07-04 Joseph Myers <joseph@codesourcery.com>
40074
40075 [BZ #14328]
40076 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40077 or multiply small sinh result by itself.
40078 * math/s_ctanf.c (__ctanf): Likewise.
40079 * math/s_ctanh.c (__ctanh): Likewise.
40080 * math/s_ctanhf.c (__ctanhf): Likewise.
40081 * math/s_ctanhl.c (__ctanhl): Likewise.
40082 * math/s_ctanl.c (__ctanl): Likewise.
40083 * math/libm-test.inc (ctan_test_tonearest): New function.
40084 (ctan_test_towardzero): Likewise.
40085 (ctan_test_downward): Likewise.
40086 (ctan_test_upward): Likewise.
40087 (ctanh_test_tonearest): Likewise.
40088 (ctanh_test_towardzero): Likewise.
40089 (ctanh_test_downward): Likewise.
40090 (ctanh_test_upward): Likewise.
40091 (main): Call these new functions.
40092 * sysdeps/i386/fpu/libm-test-ulps: Update.
40093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40094
ca48a46a
MF
400952012-07-03 Mike Frysinger <vapier@gentoo.org>
40096
40097 * .gitignore: Delete /ports entry.
40098
9d63d37d
AJ
400992012-07-03 Andreas Jaeger <aj@suse.de>
40100
40101 * po/bg.po: Update from translation team.
40102 * po/cs.po: Likewise.
40103 * po/de.po: Likewise.
40104 * po/hr.po: Likewise.
40105 * po/nl.pl: Likewise.
40106 * po/pl.po: Likewise.
40107 * po/vi.po: Likewise.
40108
370ca3d2
JM
401092012-07-03 Joseph Myers <joseph@codesourcery.com>
40110
95f5a9a8
JM
40111 * Makeconfig [!+link] (+link-before-libc): New variable.
40112 [!+link] (+link-after-libc): Likewise.
40113 [!+link] (+link-tests): Likewise.
40114 [!+link] (+link): Define in terms of $(+link-before-libc) and
40115 $(+link-after-libc).
40116 [!+link-static] (+link-static-before-libc): New variable.
40117 [!+link-static] (+link-static-after-libc): Likewise.
40118 [!+link-static] (+link-static-tests): Likewise.
40119 [!+link-static] (+link-static): Define in terms of
40120 $(+link-static-before-libc) and $(+link-static-after-libc).
40121 [build-shared] (link-libc-before-gnulib): New variable.
40122 [build-shared] (link-libc-tests): Likewise.
40123 [build-shared] (link-libc): Define in terms of
40124 $(link-libc-before-gnulib).
40125 [!build-shared] (link-libc-tests): New variable.
40126 (link-libc-static-tests): New variable.
40127 [!gnulib] (gnulib-arch): New variable.
40128 [!gnulib] (gnulib-tests): Likewise.
40129 [!gnulib] (static-gnulib-arch): Likewise.
40130 [!gnulib] (static-gnulib-tests): Likewise.
40131 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40132 Define with "=" instead of ":=".
40133 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40134 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40135 * Rules (binaries-all-notests): New variable.
40136 (binaries-all-tests): Likewise.
40137 (binaries-static-notests): Likewise.
40138 (binaries-static-tests): Likewise.
40139 (binaries-all): Define using $(binaries-all-notests) and
40140 $(binaries-all-tests).
40141 (binaries-static): Define using $(binaries-static-notests) and
40142 $(binaries-static-tests).
40143 (binaries-shared-tests): New variable.
40144 (binaries-shared-notests): Likewise.
40145 (binaries-shared): Remove variable.
40146 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40147 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40148 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40149 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40150 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40151 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40152 * elf/Makefile (sln-modules): New variable.
40153 (extra-objs): Add $(sln-modules:=.o).
40154 (ldconfig-modules): Add static-stubs.
40155 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40156 * elf/static-stubs.c: New file.
40157
7a845b2c
JM
40158 [BZ #14283]
40159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40160 by 7 not 8 to examine high bit of fractional part. Use volatile
40161 variables when splitting into final array of floats if
40162 __FLT_EVAL_METHOD__ != 0.
40163 * math/libm-test.inc (cos_test): Add another test.
40164 (sin_test): Likewise.
40165 * sysdeps/i386/fpu/libm-test-ulps: Update.
40166
e2283f38
JM
40167 [BZ #14273]
40168 * math/libm-test.inc (cosh_test): Add more tests.
40169
370ca3d2
JM
40170 * version.h (RELEASE): Set to "development".
40171 (VERSION): Set to "2.16.90".
40172
ee9247c3
CD
401732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40174
40175 * NEWS: Update copyright. Remove last-updated date.
40176 Mention math library bug fixes and timezone data changes.
40177 * README: Mention GNU/Hurd, x32, and HPPA support status.
40178
4648c381
TS
401792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40180
40181 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40182
aac78a43
AJ
401832012-06-27 Andreas Jaeger <aj@suse.de>
40184
40185 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40186
ed3dbfad
AJ
401872012-06-25 Andreas Jaeger <aj@suse.de>
40188
40189 * sysdeps/s390/fpu/libm-test-ulps: Update.
40190
4d0ee855
AS
401912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40192 Thomas Schwinge <thomas@codesourcery.com>
40193
40194 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40195 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40197 fanotify_mark.
40198
af1bce34
TS
401992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40200
a9fa33ba
TS
40201 * sysdeps/mach/start.c: Remove file.
40202 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40203 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40204 * sysdeps/sh/init-first.c: Likewise.
40205
58f902b8
TS
40206 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40207 registers for frame unwinding purposes, add CFI directives.
40208 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40210 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40211 Likewise.
40212
1518f58b
TS
40213 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40214 __fortify_fail returning.
40215 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40216
db9b5059
TS
40217 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40218 sysdeps/sh/____longjmp_chk.S.
40219 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40220 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40221 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40222 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40223
967705fe
TS
40224 * sysdeps/sh/abort-instr.h: New file.
40225 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40226 process in case exit returns.
40227
a9def8c4
TS
40228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40229 initialize the GOT register before use.
40230
2a649725
TS
40231 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40232 calculation of ARGC > 4.
40233
af1bce34
TS
40234 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40235 meaningful names to some local labels.
40236
d230f50a
KK
402372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40238 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40239
40240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40241 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40242 (__arch_compare_and_exchange_val_16_acq): Likewise.
40243 (__arch_compare_and_exchange_val_32_acq): Likewise.
40244 (atomic_exchange_and_add): Fix gUSA sequence.
40245 (atomic_add): Likewise.
40246 (atomic_add_negative): Likewise.
40247 (atomic_add_zero): Likewise.
40248 (atomic_bit_test_set): Likewise.
40249
0479b305
AS
402502012-06-22 Andreas Schwab <schwab@redhat.com>
40251
40252 [BZ #13579]
40253 * include/link.h (struct link_map): Add l_free_initfini.
40254 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40255 l_initfini.
40256 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40257 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40258 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40259 set.
40260
0e3933b9
CD
402612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40262
40263 * configure.in: Use AC_LANG_SOURCE.
40264 * configure: Regenerate.
40265
4248b1b1
RM
402662012-06-22 Roland McGrath <roland@hack.frob.com>
40267
40268 * configure.in (libc_cv_localstatedir): New substituted variable.
40269 * configure: Regenerated.
40270 * config.make.in (localstatedir): New variable, substituted from
40271 libc_cv_localstatedir.
40272 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40273 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40274 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40275 * sysdeps/gnu/configure: Regenerated.
40276
006dd861
JL
402772012-06-21 Jeff Law <law@redhat.com>
40278
40279 [BZ #14277]
40280 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40281 free. Simplify list management for _LIBC case.
40282
79662d42
JM
402832012-06-21 Joseph Myers <joseph@codesourcery.com>
40284
b7abb4bf
JM
40285 [BZ #14273]
40286 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40287 Clear sign bit of 64-bit integer value before comparing against
40288 overflow value.
40289
79662d42
JM
40290 * sysdeps/mach/configure: Regenerated.
40291
1f150908
L
402922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40293
40294 [BZ #14278]
40295 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40296
28363bbf
JL
402972012-06-21 Jeff Law <law@redhat.com>
40298
40299 [BZ #13882]
40300 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40301 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40302 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40303 * elf/dl-open.c (dl_open_worker): Likewise.
40304
09615db4
CD
403052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40306
40307 * scripts/list-sources.sh: Scan PORTS for translations.
40308 * po/libc.pot: Regenerated.
40309
2174c6dd
AJ
403102012-06-21 Andreas Jaeger <aj@suse.de>
40311
40312 [BZ #12194]
40313 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40314 warning.
40315 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40316 * bits/byteswap-16.h (__bswap_16): Likewise.
40317 * bits/byteswap.h (__bswap_constant_16): Likewise.
40318
3ee947b1
L
403192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40320
40321 [BZ #14117]
a2f34833
L
40322 * sysdeps/i386/fpu_control.h: Removed.
40323 * sysdeps/x86_64/fpu_control.h: Moved to ...
40324 * sysdeps/x86/fpu_control.h: Here.
40325
3ee947b1
L
40326 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40327 (_FPU_SETCW): Likewise.
40328
ed1825f8
L
403292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40330
25f1282a
L
40331 [BZ #14117]
40332 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40333 * sysdeps/x86/fpu/bits/mathinline.h: This.
40334 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40335
ed1825f8
L
40336 [BZ #14050]
40337 [BZ #14117]
40338 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40339 functions if __x86_64__ is defined.
40340
36d54b74
CLT
403412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40342
40343 * string/endian.h: Add !__ASSEMBLER__ condition for including
40344 conversion interfaces.
40345
10285c21
JM
403462012-06-15 Joseph Myers <joseph@codesourcery.com>
40347
40348 [BZ #14241]
40349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40350 of ABS(x) in calculating zero to negative powers other than odd
40351 integers.
40352 * math/libm-test.inc (pow_test): Add more tests.
40353
06c5abbd
AJ
403542012-06-15 Andreas Jaeger <aj@suse.de>
40355
40356 * manual/contrib.texi (Contributors): Update entry of Liubov
40357 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40358 Machado Filho.
40359
a3aeac40
CH
403602012-06-15 Cyril Hrubis <metan@ucw.cz>
40361
40362 * string/string.h: Add __wur to GNU version of strerror_r.
40363
49bdf4c1
L
403642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40365
40366 [BZ #14229]
40367 * string/Makefile (tests): Add tst-strtok_r.
40368 * string/tst-strtok_r.c: New file.
40369 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40370 RAX_LP/RDX_LP on SAVE_PTR.
40371
834f9b8d
RM
403722012-06-14 Roland McGrath <roland@hack.frob.com>
40373
40374 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40375
75fa1921
JM
403762012-06-14 Joseph Myers <joseph@codesourcery.com>
40377
40378 * libm_test.inc (csqrt_test): Allow more spurious underflow
40379 exceptions.
40380 (j0_test): Likewise.
40381 (j1_test): Likewise.
40382 (y0_test): Likewise.
40383 (y1_test): Likewise.
40384
771766df
CD
403852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40386
40387 * po/Makefile (libc.pot): Use UTF-8 charset.
40388
ceb9e56b
PP
403892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40390
40391 [BZ #14210]
40392 Suppress sign-conversion warning from FD_SET.
40393 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40394 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40395 not unsigned long int.
40396 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40397
ddb28975
L
403982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40399
40400 [BZ #14050]
40401 [BZ #14117]
40402 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40403 __extern_always_inline instead of __extern_inline.
40404 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40405 (__signbit): Likewise.
40406 (__signbitl): Support C++ namespace.
40407 (lrintf): New inline function.
40408 (lrint): Likewise.
40409 (llrintf): Likewise.
40410 (llrint): Likewise.
40411 (fmaxf): Likewise.
40412 (fmax): Likewise.
40413 (fminf): Likewise.
40414 (fmin): Likewise.
40415 (rint): Likewise.
40416 (rintf): Likewise.
40417 (ceil): Likewise.
40418 (ceilf): Likewise.
40419 (floor): Likewise.
40420 (floorf): Likewise.
40421 (nearbyint): Likewise.
40422 (nearbyintf): Likewise.
40423
d7b4fb26
TS
404242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40425
40426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40427 non-default versions.
40428
eb55f5c2
RM
404292012-06-11 Roland McGrath <roland@hack.frob.com>
40430
40431 [BZ #14218]
40432 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40433
366af02c
TS
404342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40435
99ff6e5c
TS
40436 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40437 (FE_UPWARD, FE_DOWNWARD): Don't define.
40438 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40439 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40440
366af02c
TS
40441 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40442 reading it.
40443 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40444 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40445
793ea851
KK
404462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40447
40448 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40450 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40451 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40452
a728a38f
L
404532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40454
40455 [BZ #14117]
c08010c7
L
40456 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40457 * sysdeps/i386/fpu/Implies: New file.
40458 * sysdeps/x86_64/fpu/Implies: Likewise.
40459 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40460 * sysdeps/x86/fpu/bits/fenv.h: This.
40461
a728a38f
L
40462 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40463 __SSE_MATH__.
40464
6e230d11
SP
404652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40466
40467 [BZ #14134]
40468 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40469 character 0xffff that matches the last element of the
40470 conversion table.
40471
1b671feb
AZ
404722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40473
40474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40475 fmodl commit.
40476
6043738b
AZ
404772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40478
40479 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40480 values higher than 25.6283.
40481
34ae0b32
AZ
404822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40483
40484 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40485 subnormal exponent extraction and add some __builtin_expect.
40486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40487 Fix for subnormal mantissa calculation.
40488
1214ec8f
MF
404892012-06-04 Mike Frysinger <vapier@gentoo.org>
40490
40491 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40492 cpu2 is -1 and errno is not ENOSYS.
40493
f3d1f93c
L
404942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40495
40496 [BZ #14117]
0e4a3cd7
L
40497 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40498 * sysdeps/x86/bits/string.h: This.
40499 * sysdeps/x86_64/bits/string.h: Removed.
40500
6704c645
L
40501 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40502 if not compiling for x86-64, but compiling for >= i486.
40503
48495318
L
40504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40505 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40506
14adcbfc
L
40507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40508 New macro from Linux kernel 3.4.0.
40509 (FP_XSTATE_MAGIC2): Likewise.
40510 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40511 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40512 (struct _fpx_sw_bytes): New struct.
40513 (struct _xsave_hdr): Likewise.
40514 (struct _ymmh_state): Likewise.
40515 (struct _xstate): Likewise.
40516
68e408ab
L
40517 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40518 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40519 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40520 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40521 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40522 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40523
f3d1f93c
L
40524 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40525 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40526 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40527 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40528 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40529 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40530
d9dc34cd
TMQMF
405312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40532
40533 [BZ #13743]
40534 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40535 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40536 (sysdep_headers): Include sys/platform/ppc.h.
40537 * sysdeps/powerpc/test-gettimebase.c: Test for
40538 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40539 * manual/Makefile (appendices): Include platform.texi.
40540 * manual/contrib.texi (Contributors): Update @node pointers.
40541 * manual/maint.texi (Maintenance): Likewise.
40542 (Platform): New node.
40543 * manual/platform.texi: New file. Document the new features.
40544
4af3879c
SP
405452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40546 Jakub Jelinek <jakub@redhat.com>
40547
40548 [BZ #14188]
40549 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40550 where __builtin_expect is unavailable.
40551
2fd6ff13
DM
405522012-06-03 David S. Miller <davem@davemloft.net>
40553
40554 * stdlib/longlong.h: Updated from GCC.
40555
173f7220
AS
405562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40557
40558 [BZ #14042]
40559 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40560 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40561 __mcount_internal.
40562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40563 (GLIBC_2.16): Likewise.
40564
f34a1c6f
L
405652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40566
40567 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40568
88a4576f
JM
405692012-06-01 Joseph Myers <joseph@codesourcery.com>
40570
ea32bcdd
JM
40571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40572 (default-abi): New variable.
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40574 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40575 variable.
40576 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40577 Likewise.
40578 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40579 Likewise.
40580 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40581 Likewise.
40582
88a4576f
JM
40583 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40584 definition. Document in comment.
40585
402fe938
DM
405862012-06-01 David S. Miller <davem@davemloft.net>
40587
40588 * stdlib/longlong.h: Updated from GCC.
40589
3553723f
L
405902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40591
40592 [BZ #14117]
3bd872c4
L
40593 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40594 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40595 sys/debugreg.h sys/io.h here.
40596 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40597 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40598 sys/io.h.
40599 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40600 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40601 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40602 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40603 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40604 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40605
3553723f
L
40606 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40607 Define only if __x86_64__ is defined.
40608
4842e4fe
JM
406092012-06-01 Joseph Myers <joseph@codesourcery.com>
40610
c5bfe3d5
JM
40611 [BZ #14048]
40612 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40613 Use int64_t for variable i.
40614 * math/libm-test.inc (fmod_test): Add more tests.
40615
4842e4fe
JM
40616 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40617 z computation is not scheduled after fetestexcept.
40618 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40619 Use math_force_eval instead of asm to ensure calculation scheduled
40620 before exception test.
40621 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40622 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40623
efb73488
AJ
406242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40625
40626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40627 computation is not scheduled after fetestexcept.
40628
29bcce7c
L
406292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40630
40631 [BZ #14117]
40632 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40633 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40634
73a68f94
AZ
406352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40636
40637 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40638 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40639
67b6df78
L
406402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40641
edf2933a 40642 [BZ #14117]
ebc64a18
L
40643 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40644 <bits/wordsize.h>.
40645 (__WCHAR_MIN): Support __WORDSIZE == 64.
40646 (__WCHAR_MAX): Likewise.
40647
edf2933a
L
40648 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40649 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40650
57c6cf40
L
40651 [BZ #14183]
40652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40653 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40654
67b6df78 40655 [BZ #14117]
8eb6281e
L
40656 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40657 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40658
aac639f4
L
40659 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40660 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40661
67b6df78
L
40662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40663 Defined to 1 if __x86_64__ isn't defined.
40664 (_STAT_VER_LINUX_OLD): New.
40665 (st_atime): Remove duplicate.
40666 (st_mtime): Likewise.
40667 (st_ctime): Likewise.
40668
1c2cfe81
DM
406692012-05-31 David S. Miller <davem@davemloft.net>
40670
40671 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40672 entries.
40673
5be8418c
AS
406742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40675
e7725326
AS
40676 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40677 gen-libm-test.pl.
40678
5be8418c
AS
40679 [BZ #14132]
40680 * elf/dl-reloc.c: Include <_itoa.h>.
40681 (_dl_reloc_bad_type): Remove use of INTUSE.
40682 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40683 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40684 * stdio-common/psiginfo.c (psiginfo): Likewise.
40685 * stdio-common/psignal.c (psignal): Likewise.
40686 * string/strsignal.c (strsignal): Likewise.
40687 * include/signal.h (_sys_siglist): Declare hidden proto.
40688 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40689 INTVARDEF with libc_hidden_data_def.
40690 * stdio-common/itoa-udigits.c: Likewise.
40691 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40692 (_itoa_lower_digits_internal): Remove declaration.
40693 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40694 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40695 (_sys_sigabbrev_internal): Remove aliases.
40696 (_sys_siglist): Define hidden alias.
40697
507352f1
MT
406982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40699
40700 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40701 bits/sysctl.h.
40702
42bbb1c3
L
407032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40704
40705 [BZ #14117]
6bd784b6
L
40706 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40707 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40708
8bca20f0
L
40709 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40710 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40711 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40712 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40713 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40714 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40715
f9e890a9
L
40716 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40718 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40719
471101a1
L
40720 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40721 with __addr.
40722 (insw): Likewise.
40723 (insl): Likewise.
40724 (outsb): Likewise.
40725 (outsw): Likewise.
40726 (outsl): Likewise.
40727
6451c862
L
40728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40730 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40731
a254b8c9
L
40732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40733 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40735 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40736 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40737 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40738
b8dfdd92
L
40739 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40740 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40741
578cd270
L
40742 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40743 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40744
de662f5f
L
40745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40747 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40748
25653439
L
40749 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40750 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40751 to ...
40752 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40753
6bad24a0
L
40754 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40755 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40756 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40757
42bbb1c3
L
40758 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40759 for x86-64.
40760 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40761
2d10d547
JM
407622012-05-31 Joseph Myers <joseph@codesourcery.com>
40763
40764 * math/math.h (M_El): Use two more decimal places.
40765 (M_LOG2El): Likewise.
40766 (M_LOG10El): Likewise.
40767 (M_LN2l): Likewise.
40768 (M_LN10l): Likewise.
40769 (M_PIl): Likewise.
40770 (M_PI_2l): Likewise.
40771 (M_PI_4l): Likewise.
40772 (M_1_PIl): Likewise.
40773 (M_2_PIl): Likewise.
40774 (M_2_SQRTPIl): Likewise.
40775 (M_SQRT2l): Likewise.
40776 (M_SQRT1_2l): Likewise.
40777
f230c29b
DM
407782012-05-31 David S. Miller <davem@davemloft.net>
40779
40780 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40781 values between float registers.
40782 * sysdeps/sparc/sparc64/memset.S: Likewise.
40783 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40784
fed806c3
MF
407852012-05-31 Mike Frysinger <vapier@gentoo.org>
40786
40787 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40788 -D_FORTIFY_SOURCE=1.
40789 (CPPFLAGS-tst-longjmp_chk.c): Define.
40790 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40791 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40792 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40793 CFLAGS-tst-wchar-h.c.
40794
30917259
MP
407952012-05-31 Marek Polacek <polacek@redhat.com>
40796
40797 [BZ #14132]
40798 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40799 __endmntent_internal): Remove declaration.
40800 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40801 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40802 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40803
1c58d5dc
DM
408042012-05-30 David S. Miller <davem@davemloft.net>
40805
40806 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40807 (___Q_simulate_exceptions): Use real FP ops rather than writing
40808 into the %fsr.
40809 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40810 Likewise.
40811
7dc00e0d
L
408122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40813
40814 [BZ #14117]
0bd53985
L
40815 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40816 * sysdeps/x86/bits/xtitypes.h: This.
40817
3a257e66
L
40818 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40819 * sysdeps/x86/bits/wordsize.h: This.
40820
62f62904
L
40821 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40822 * sysdeps/x86/bits/huge_vall.h: This.
40823
404fe9d9
L
40824 * sysdeps/i386/bits/select.h: Removed.
40825 * sysdeps/x86_64/bits/select.h: Renamed to ...
40826 * sysdeps/x86/bits/select.h: This.
40827
d48d0446
L
40828 * sysdeps/i386/bits/setjmp.h: Removed.
40829 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40830 * sysdeps/x86/bits/setjmp.h: This.
40831
7dc00e0d
L
40832 * sysdeps/i386/bits/mathdef.h: Removed.
40833 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40834 * sysdeps/x86/bits/mathdef.h: This.
40835
03277f8f
AS
408362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40837
40838 [BZ #14132]
40839 * include/sys/socket.h (__connect_internal)
40840 (__libc_sa_len_internal): Remove declaration.
40841 (__connect, __libc_sa_len): Declare hidden_proto.
40842 (SA_LEN): Remove use of INTUSE.
40843 * socket/connect.c: Add libc_hidden_def.
40844 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40845 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40846 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40847 alias.
40848 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40849 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40850 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40851 of adding _internal alias.
40852
13764867
L
408532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40854
40855 [BZ #14117]
6bd97696
L
40856 * sysdeps/i386/bits/link.h: Removed.
40857 * sysdeps/i386/bits/linkmap.h: Likewise.
40858 * sysdeps/x86_64/bits/link.h: Renamed to ...
40859 * sysdeps/x86/bits/link.h: This.
40860 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40861 * sysdeps/x86/bits/linkmap.h: This.
40862
f726f0bb
L
40863 * sysdeps/i386/bits/endian.h: Removed.
40864 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40865 * sysdeps/x86/bits/endian.h: This.
40866
13764867
L
40867 * sysdeps/i386/bits/byteswap.h: Removed.
40868 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40869 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40870 * sysdeps/x86/bits/byteswap.h: This.
40871 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40872 * sysdeps/x86/bits/byteswap-16.h: This.
40873 * sysdeps/i386/Implies: Add x86.
40874 * sysdeps/x86_64/Implies: Likewise.
40875
ae251b0b
DM
408762012-05-30 David S. Miller <davem@davemloft.net>
40877
40878 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40879 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40880 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40881 (FP_TRAPPING_EXCEPTIONS): Define.
40882 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40883 (FP_TRAPPING_EXCEPTIONS): Define.
40884 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40885 subnormals only when inexact has been signalled or underflow
40886 exceptions are enabled.
40887 (_FP_PACK_CANONICAL): Likewise.
40888
d5c90867
L
408892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40890
40891 [BZ #14183]
40892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40893 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40894
63f1549e
RH
408952012-05-30 Richard Henderson <rth@twiddle.net>
40896
8d8f2279
RH
40897 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40898 with #ifndef NOT_IN_libc.
40899
63f1549e
RH
40900 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40901 marked to avoid plt entry.
40902
0ab0291b
L
409032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40904
40905 [BZ #14112]
40906 * Makeconfig (default-abi): New macro.
40907 (abi-includes): Likewise.
40908 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40909 $(abi-$(default-abi)-lib-soname) for soname if defined.
40910 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40911 abi-variants.
40912 * Makefile (installed-stubs): Likewise.
40913 * include/stubs-biarch.h: Removed.
40914 * scripts/lib-names.awk: Only handle one library at a time.
40915 * scripts/soversions.awk: Remove WORDSIZE support.
40916 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40917 entries.
40918 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40919 Removed.
40920 (syscall-list-default-condition): Likewise.
40921 (syscall-list-default-condition): Likewise.
40922 (syscall-list-includes): Likewise.
40923 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40924 syscall-list-* with abi-*. Handle undefined abi-variants.
40925 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40926 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40927 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40928 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40929 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40930 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40931 Removed.
40932 (syscall-list-32-options): Likewise.
40933 (syscall-list-32-condition): Likewise.
40934 (syscall-list-64-options): Likewise.
40935 (syscall-list-64-condition): Likewise.
40936 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40937 macro.
40938 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40939 Renamed to ...
40940 (abi-*): This.
40941 (abi-64-ld-soname): New macro.
40942 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40943 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40944 Renamed to ...
40945 (abi-*): This.
40946 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40947 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40948
4da0431d
JM
409492012-05-30 Joseph Myers <joseph@codesourcery.com>
40950
3a85279c
JM
40951 * sysdeps/unix/sysv/linux/kernel-features.h
40952 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40953 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40954 include <kernel-features.h>.
40955 [!__NR_ftruncate64]: Remove conditional code.
40956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40957 [__NR_ftruncate64]: Make code unconditional.
40958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40959 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40960 include <kernel-features.h>.
40961 [!__NR_ftruncate64]: Remove conditional code.
40962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40963 [__NR_ftruncate64]: Make code unconditional.
40964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40966 include <kernel-features.h>.
40967 [!__NR_ftruncate64]: Remove conditional code.
40968 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40969 [__NR_ftruncate64]: Make code unconditional.
40970 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40972 include <kernel-features.h>.
40973 [!__NR_ftruncate64]: Remove conditional code.
40974 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40975 [__NR_ftruncate64]: Make code unconditional.
40976 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40977
4da0431d
JM
40978 * configure.in (libc_cv_fpie): Weaken to a compile test using
40979 LIBC_TRY_CC_OPTION.
40980 * configure: Regenerated.
40981
11ef492c
AK
409822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40983
40984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40988 Refreshed.
40989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40995 Refreshed.
40996
d66ef399
DM
409972012-05-27 David S. Miller <davem@davemloft.net>
40998
40999 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41000 (___Q_zero): New.
41001 (__Q_simulate_exceptions): Return void. Change to simulate
41002 exceptions by writing into the %fsr.
41003 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41004 (__Qp_handle_exceptions): Likewise.
41005 (numbers): Delete.
41006 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41007 __Qp_handle_exceptions.
41008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41009 __Qp_handle_exceptions.
41010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41011 as unused and give dummy FP_RND_NEAREST initializer.
41012 (FP_INHIBIT_RESULTS): Define.
41013 (___Q_simulate_exceptions): Update declaration.
41014 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41015 formatting.
41016 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41017 as unused and give dummy FP_RND_NEAREST initializer.
41018 (__Qp_handle_exceptions): Update declaration.
41019 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41020 formatting.
41021
04fb54b5
TS
410222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41023
41024 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41025 the temporary FPU control word.
41026 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41027 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41028 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41029 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41030 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41031 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41032 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41034 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41035 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41036 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41037
3f99608f
KK
410382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41039
41040 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41041 fields.
41042
65a4de4e
CLT
410432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41044
41045 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41046 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41047 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41048 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41049 Likewise.
41050 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41051 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41052 Likewise.
41053
15749d40
UD
410542012-05-27 Ulrich Drepper <drepper@gmail.com>
41055
41056 * po/h.po: Update from translation team.
41057
25dbcb27
AS
410582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41059
3d3f8e55
AS
41060 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41061
25dbcb27
AS
41062 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41063 handling of denormals.
41064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41065 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41066 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41067 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41071 Likewise.
41072
7ad47a80 410732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41074
41075 [BZ #14152]
41076 * math/libm-test.inc (fma_test): Don't always expect underflow
41077 exception.
41078
9c6ea9fa
SP
410792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41080
41081 [BZ #12416]
41082 * elf/tst-execstack.c: Include stackinfo.h.
41083 (do_test): Adjust test case to ensure that pthread_getattr_np
41084 behaviour remains the same after marking stack executable.
41085
a8239222
JM
410862012-05-25 Joseph Myers <joseph@codesourcery.com>
41087
41088 * sysdeps/unix/sysv/linux/kernel-features.h
41089 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41090 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41091 kernel-features.h.
41092 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41093 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41094 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41095 kernel-features.h.
41096 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41097 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41098
918b5606
L
410992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41100
41101 * configure.in: Define the default includes to being none.
41102 * configure: Regenerated.
41103
3a097cc7
RM
411042012-05-25 Roland McGrath <roland@hack.frob.com>
41105
8422c9a5
RM
41106 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41107 * sysdeps/x86_64/setjmp.S: Likewise.
41108 * sysdeps/i386/bsd-setjmp.S: Likewise.
41109 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41110 * sysdeps/i386/setjmp.S: Likewise.
41111 * sysdeps/i386/__longjmp.S: Likewise.
41112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41113 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41114
3a097cc7
RM
41115 * include/stap-probe.h: New file.
41116 * configure.in: Handle --enable-systemtap.
41117 * configure: Regenerated.
41118 * config.h.in (USE_STAP_PROBE): New #undef.
41119 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41120 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41121 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41122
21708942
JM
411232012-05-25 Joseph Myers <joseph@codesourcery.com>
41124
41125 [BZ #13717]
41126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41127 to 2.4.0 where earlier.
41128 * sysdeps/unix/sysv/linux/configure: Regenerated.
41129 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41130 <kernel-features.h>.
41131 [__ASSUME_32BITUIDS]: Make code unconditional.
41132 [!__ASSUME_32BITUIDS]: Remove conditional code.
41133 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41134 <kernel-features.h>.
41135 [__ASSUME_32BITUIDS]: Make code unconditional.
41136 [!__ASSUME_32BITUIDS]: Remove conditional code.
41137 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41138 [__ASSUME_32BITUIDS]: Make code unconditional.
41139 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41140 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41141 <kernel-features.h>.
41142 [__ASSUME_32BITUIDS]: Make code unconditional.
41143 [!__ASSUME_32BITUIDS]: Remove conditional code.
41144 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41145 <kernel-features.h>.
41146 [__ASSUME_32BITUIDS]: Make code unconditional.
41147 [!__ASSUME_32BITUIDS]: Remove conditional code.
41148 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41149 <kernel-features.h>.
41150 [__ASSUME_32BITUIDS]: Make code unconditional.
41151 [!__ASSUME_32BITUIDS]: Remove conditional code.
41152 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41153 <kernel-features.h>.
41154 [__ASSUME_32BITUIDS]: Make code unconditional.
41155 [!__ASSUME_32BITUIDS]: Remove conditional code.
41156 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41157 <kernel-features.h>.
41158 [__ASSUME_32BITUIDS]: Make code unconditional.
41159 [!__ASSUME_32BITUIDS]: Remove conditional code.
41160 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41161 <kernel-features.h>.
41162 [__ASSUME_32BITUIDS]: Make code unconditional.
41163 [!__ASSUME_32BITUIDS]: Remove conditional code.
41164 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41165 <kernel-features.h>.
41166 [__ASSUME_32BITUIDS]: Make code unconditional.
41167 [!__ASSUME_32BITUIDS]: Remove conditional code.
41168 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41169 <kernel-features.h>.
41170 [__ASSUME_32BITUIDS]: Make code unconditional.
41171 [!__ASSUME_32BITUIDS]: Remove conditional code.
41172 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41173 <kernel-features.h>.
41174 [__ASSUME_32BITUIDS]: Make code unconditional.
41175 [!__ASSUME_32BITUIDS]: Remove conditional code.
41176 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41177 <kernel-features.h>.
41178 [__ASSUME_32BITUIDS]: Make code unconditional.
41179 [!__ASSUME_32BITUIDS]: Remove conditional code.
41180 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41181 <kernel-features.h>.
41182 [__NR_setresgid] (__setresgid): Do not declare.
41183 [__ASSUME_32BITUIDS]: Make code unconditional.
41184 [!__ASSUME_32BITUIDS]: Remove conditional code.
41185 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41186 <kernel-features.h>.
41187 [__NR_setresuid] (__setresuid): Do not declare.
41188 [__ASSUME_32BITUIDS]: Make code unconditional.
41189 [!__ASSUME_32BITUIDS]: Remove conditional code.
41190 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
41211 <kernel-features.h>.
41212 [__ASSUME_32BITUIDS]: Make code unconditional.
41213 [!__ASSUME_32BITUIDS]: Remove conditional code.
41214 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41215 <kernel-features.h>.
41216 [__ASSUME_32BITUIDS]: Make code unconditional.
41217 [!__ASSUME_32BITUIDS]: Remove conditional code.
41218 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41219 <kernel-features.h>.
41220 [__ASSUME_32BITUIDS]: Make code unconditional.
41221 [!__ASSUME_32BITUIDS]: Remove conditional code.
41222 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41223 <kernel-features.h>.
41224 [__ASSUME_32BITUIDS]: Make code unconditional.
41225 [!__ASSUME_32BITUIDS]: Remove conditional code.
41226 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41227 <kernel-features.h>.
41228 [__ASSUME_32BITUIDS]: Make code unconditional.
41229 [!__ASSUME_32BITUIDS]: Remove conditional code.
41230 * sysdeps/unix/sysv/linux/kernel-features.h
41231 (__ASSUME_SETRESUID_SYSCALL): Remove.
41232 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41233 (__ASSUME_32BITUIDS): Likewise.
41234 (__ASSUME_LDT_WORKS): Likewise.
41235 (__ASSUME_O_DIRECTORY): Likewise.
41236 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41237 architecture but not kernel version.
41238 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41239 (__ASSUME_MMAP2_SYSCALL): Likewise.
41240 (__ASSUME_STAT64_SYSCALL): Likewise.
41241 (__ASSUME_IPC64): Likewise.
41242 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41243 <kernel-features.h>.
41244 [__ASSUME_32BITUIDS]: Make code unconditional.
41245 [!__ASSUME_32BITUIDS]: Remove conditional code.
41246 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41247 <kernel-features.h>.
41248 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41249 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41250 132096]: Remove conditional code.
41251 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41252 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
41261 <kernel-features.h>.
41262 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41263 unconditional.
41264 (__setresgid): Do not declare.
41265 [__ASSUME_32BITUIDS]: Make code unconditional.
41266 [!__ASSUME_32BITUIDS]: Remove conditional code.
41267 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41268 <kernel-features.h>.
41269 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41270 unconditional.
41271 (__setresuid): Do not declare.
41272 [__ASSUME_32BITUIDS]: Make code unconditional.
41273 [!__ASSUME_32BITUIDS]: Remove conditional code.
41274 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41275 <kernel-features.h>.
41276 [__ASSUME_32BITUIDS]: Make code unconditional.
41277 [!__ASSUME_32BITUIDS]: Remove conditional code.
41278 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41279 <kernel-features.h>.
41280 [__ASSUME_32BITUIDS]: Make code unconditional.
41281 [!__ASSUME_32BITUIDS]: Remove conditional code.
41282
a386f1cc
RH
412832012-05-25 Richard Henderson <rth@twiddle.net>
41284
41285 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41286 dl_hwcap to ifunc resolver.
41287 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41288 elf_ifunc_invoke.
41289 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41290 dl_hwcap to ifunc resolver.
41291 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41292
b6550497
JM
412932012-05-24 Joseph Myers <joseph@codesourcery.com>
41294
41295 [BZ #14153]
41296 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41297 for |x| <= 2**-26, not 2**-57.
41298 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41299 exception.
41300
b0bc23a1
JL
413012012-05-24 Jeff Law <law@redhat.com>
41302
41303 * stdio-common/Makefile (tests): Add bug25.
41304 * stdio-common/bug25.c: New test.
41305
347c92e9
L
413062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41307
41308 [BZ #13576]
41309 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41310 multiple of MALLOC_ALIGNMENT in size.
41311 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41312
6bcc8b3f
JM
413132012-05-24 Joseph Myers <joseph@codesourcery.com>
41314
41315 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41316 Require >= 256.
41317 (FILENAME_MAX): Use macro-int-constant.
41318 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41319 (_IOFBF): Use macro-int-constant.
41320 (_IOLBF): Likewise.
41321 (_IONBF): Likewise.
41322 (SEEK_CUR): Likewise.
41323 (SEEK_END): Likewise.
41324 (SEEK_SET): Likewise.
41325 (TMP_MAX): Likewise.
41326 (EOF): Use macro-int-constant. Require < 0.
41327 (NULL): Use macro-constant. Require == 0.
41328 (stdin): Require type to be FILE *.
41329 (stdout): Likewise.
41330 (stderr): Likewise.
41331 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41332 macro-int-constant.
41333 (EXIT_SUCCESS): Likewise.
41334 (NULL): Use macro-constant. Require == 0.
41335 (RAND_MAX): Use macro-int-constant.
41336 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41337 [C99-based standards] (strtof): Require function.
41338 [C99-based standards] (strtold): Likewise.
41339 [C99-based standards] (strtoll): Likewise.
41340 [C99-based standards] (strtoull): Likewise.
41341 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41342 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41343 [ISO || ISO99 || ISO11] (math.h): Likewise.
41344 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41345 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41346 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41347
d18ea0c5
AS
413482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41349
41350 [BZ #14132]
56d25bb8
AS
41351 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41352 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41353 * intl/dgettext.c (DCGETTEXT): Likewise.
41354 * intl/gettext.c (DCGETTEXT): Likewise.
41355 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41356 * posix/regex_internal.h (gettext): Likewise.
41357 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41358 Remove declaration.
41359 * include/argz.h (__argz_count_internal)
41360 (__argz_stringify_internal): Remove declaration.
41361 (__argz_count, __argz_stringify): Declare hidden proto.
41362 * intl/dcgettext.c: Remove use of INTDEF.
41363 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41364 * string/argz-stringify.c: Likewise.
41365 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41366 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41367 Declare hidden proto.
d18ea0c5
AS
41368 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41369 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41370 Declare hidden proto.
41371 * include/stdio.h (__asprintf_internal): Don't declare.
41372 (__asprintf): Don't define as macro. Declare hidden proto.
41373 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41374 (__fsetlocking): Declare hidden proto.
41375 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41376 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41377 hidden proto.
41378 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41379 (_IO_setlinebuf): Remove use of INTUSE.
41380 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41381 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41382 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41383 Remove declaration.
41384 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41385 (_IO_do_flush): Remove use of INTUSE.
41386 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41387 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41388 (_IO_adjust_column, _IO_least_wmarker)
41389 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41390 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41391 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41392 (_IO_default_doallocate, _IO_wdefault_doallocate)
41393 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41394 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41395 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41396 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41397 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41398 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41399 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41400 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41401 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41402 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41403 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41404 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41405 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41406 proto.
41407 (_IO_flush_all_internal, _IO_adjust_column_internal)
41408 (_IO_default_uflow_internal, _IO_default_finish_internal)
41409 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41410 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41411 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41412 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41413 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41414 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41415 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41416 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41417 (_IO_file_close_internal, _IO_file_close_it_internal)
41418 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41419 (_IO_file_init_internal, _IO_file_attach_internal)
41420 (_IO_file_fopen_internal, _IO_file_read_internal)
41421 (_IO_file_sync_internal, _IO_file_seek_internal)
41422 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41423 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41424 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41425 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41426 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41427 (_IO_list_all_internal, _IO_link_in_internal)
41428 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41429 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41430 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41431 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41432 (_IO_do_write_internal, _IO_padn_internal)
41433 (_IO_getline_info_internal, _IO_getline_internal)
41434 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41435 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41436 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41437 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41438 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41439 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41440 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41441 with libc_hidden_ver, remove use of INTUSE.
41442 * libio/genops.c: Likewise.
41443 * libio/freopen.c: Likewise.
41444 * libio/freopen64.c: Likewise.
41445 * libio/iofclose.c: Likewise.
41446 * libio/iofdopen.c: Likewise.
41447 * libio/iofflush.c: Likewise.
41448 * libio/iofflush_u.c: Likewise.
41449 * libio/iofgets.c: Likewise.
41450 * libio/iofgets_u.c: Likewise.
41451 * libio/iofopen.c: Likewise.
41452 * libio/iofopncook.c: Likewise.
41453 * libio/iofread.c: Likewise.
41454 * libio/iofread_u.c: Likewise.
41455 * libio/ioftell.c: Likewise.
41456 * libio/iofwrite.c: Likewise.
41457 * libio/iogetline.c: Likewise.
41458 * libio/iogets.c: Likewise.
41459 * libio/iogetwline.c: Likewise.
41460 * libio/iopadn.c: Likewise.
41461 * libio/iopopen.c: Likewise.
41462 * libio/ioseekoff.c: Likewise.
41463 * libio/ioseekpos.c: Likewise.
41464 * libio/iosetbuffer.c: Likewise.
41465 * libio/iosetvbuf.c: Likewise.
41466 * libio/ioungetc.c: Likewise.
41467 * libio/ioungetwc.c: Likewise.
41468 * libio/iovdprintf.c: Likewise.
41469 * libio/iovsprintf.c: Likewise.
41470 * libio/iovsscanf.c: Likewise.
41471 * libio/memstream.c: Likewise.
41472 * libio/obprintf.c: Likewise.
41473 * libio/oldfileops.c: Likewise.
41474 * libio/oldiofclose.c: Likewise.
41475 * libio/oldiofdopen.c: Likewise.
41476 * libio/oldiofopen.c: Likewise.
41477 * libio/oldiopopen.c: Likewise.
41478 * libio/oldstdfiles.c: Likewise.
41479 * libio/putc.c: Likewise.
41480 * libio/setbuf.c: Likewise.
41481 * libio/setlinebuf.c: Likewise.
41482 * libio/stdfiles.c: Likewise.
41483 * libio/strops.c: Likewise.
41484 * libio/vasprintf.c: Likewise.
41485 * libio/vscanf.c: Likewise.
41486 * libio/vsnprintf.c: Likewise.
41487 * libio/vswprintf.c: Likewise.
41488 * libio/wfiledoalloc.c: Likewise.
41489 * libio/wfileops.c: Likewise.
41490 * libio/wgenops.c: Likewise.
41491 * libio/wmemstream.c: Likewise.
41492 * libio/wstrops.c: Likewise.
41493 * libio/__fpurge.c: Likewise.
41494 * libio/__fsetlocking.c: Likewise.
41495 * assert/assert.c: Likewise.
41496 * debug/fgets_chk.c: Likewise.
41497 * debug/fgets_u_chk.c: Likewise.
41498 * debug/fread_chk.c: Likewise.
41499 * debug/fread_u_chk.c: Likewise.
41500 * debug/gets_chk.c: Likewise.
41501 * debug/obprintf_chk.c: Likewise.
41502 * debug/vasprintf_chk.c: Likewise.
41503 * debug/vdprintf_chk.c: Likewise.
41504 * debug/vsnprintf_chk.c: Likewise.
41505 * debug/vsprintf_chk.c: Likewise.
41506 * malloc/mtrace.c: Likewise.
41507 * misc/error.c: Likewise.
41508 * misc/syslog.c: Likewise.
41509 * stdio-common/asprintf.c: Likewise.
41510 * stdio-common/fxprintf.c: Likewise.
41511 * stdio-common/getw.c: Likewise.
41512 * stdio-common/isoc99_fscanf.c: Likewise.
41513 * stdio-common/isoc99_scanf.c: Likewise.
41514 * stdio-common/isoc99_vfscanf.c: Likewise.
41515 * stdio-common/isoc99_vscanf.c: Likewise.
41516 * stdio-common/isoc99_vsscanf.c: Likewise.
41517 * stdio-common/printf-prs.c: Likewise.
41518 * stdio-common/printf_fp.c: Likewise.
41519 * stdio-common/printf_fphex.c: Likewise.
41520 * stdio-common/printf_size.c: Likewise.
41521 * stdio-common/putw.c: Likewise.
41522 * stdio-common/scanf.c: Likewise.
41523 * stdio-common/sprintf.c: Likewise.
41524 * stdio-common/tmpfile.c: Likewise.
41525 * stdio-common/vfprintf.c: Likewise.
41526 * stdio-common/vfscanf.c: Likewise.
41527 * stdlib/strfmon_l.c: Likewise.
41528 * sunrpc/openchild.c: Likewise.
41529 * sunrpc/xdr_stdio.c: Likewise.
41530 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41531 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41532
d6c33fda
RM
415332012-05-24 Roland McGrath <roland@hack.frob.com>
41534
c1487492
RM
41535 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41536
41537 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41538 in the third column, to generate for the shared library an IFUNC
41539 that uses _dl_vdso_vsym.
41540 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41541 * Makeconfig (object-suffixes-noshared): New variable.
41542
41543 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41544 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41545 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41546 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41547
d6c33fda
RM
41548 [BZ #14132]
41549 * include/sys/time.h (__gettimeofday): Remove macro.
41550 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41551 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41552 Remove INTDEF.
41553 (__gettimeofday): Add libc_hidden_def.
41554 (gettimeofday): Add libc_hidden_weak.
41555 * sysdeps/mach/gettimeofday.c: Likewise.
41556 * sysdeps/posix/gettimeofday.c: Likewise.
41557 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41558 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41559 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41560 (__gettimeofday_internal): Remove strong_alias.
41561 (__gettimeofday): Add libc_hidden_def.
41562 (gettimeofday): Add libc_hidden_weak.
41563 * sysdeps/unix/syscalls.list (gettimeofday):
41564 Remove __gettimeofday_internal alias.
41565
b5a2bbe6
L
415662012-05-24 Daniel Jacobowitz <drow@false.org>
41567 H.J. Lu <hongjiu.lu@intel.com>
41568
41569 [BZ #12495]
41570 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41571 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41572 (largebin_index_32_big): New.
41573 (largebin_index): Use it for 16-byte alignment.
41574 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41575 correction with front_misalign.
41576
cfba4fda
L
415772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41578
7f907421
L
41579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41581 Likewise.
41582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41583 Likewise.
41584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41585 Likewise.
41586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41587 Likewise.
41588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41589 Likewise.
41590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41591 Likewise.
41592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41593 Likewise.
41594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41595 Likewise.
41596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41597 Likewise.
41598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41599 Likewise.
41600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41601 Likewise.
41602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41603 Likewise.
41604
cfba4fda
L
41605 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41606 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41607
80bad0cc
JM
416082012-05-24 Joseph Myers <joseph@codesourcery.com>
41609
7a25eb06
JM
41610 [BZ #10846]
41611 [BZ #14036]
41612 * math/libm-test.inc (exp_test): Add test from bug 14036.
41613 (pow_test): Add test from bug 10846.
41614
795405f9
JM
41615 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41616 and other flags.
41617 (special_function): Do not include flags in test name.
41618 (parse_args): Likewise.
41619 * sysdeps/i386/fpu/libm-test-ulps: Update.
41620 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41621 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41622 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41624
80bad0cc
JM
41625 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41626 exceptions.
41627 * math/libm-test.inc ("Philosophy"): Update comment about
41628 exception testing.
41629 (UNDERFLOW_EXCEPTION): New macro.
41630 (UNDERFLOW_EXCEPTION_OK): Likewise.
41631 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41632 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41633 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41634 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41635 (INVALID_EXCEPTION_OK): Update value.
41636 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41637 (OVERFLOW_EXCEPTION_OK): Likewise.
41638 (IGNORE_ZERO_INF_SIGN): Likewise.
41639 (test_exceptions): Handle underflow exceptions.
41640 (acos_test): Update for underflow exception expectations.
41641 (cexp_test): Likewise.
41642 (clog_test): Likewise.
41643 (clog10_test): Likewise.
41644 (csqrt_test): Likewise.
41645 (ctan_test): Likewise.
41646 (ctanh_test): Likewise.
41647 (exp_test): Likewise.
41648 (exp10_test): Likewise.
41649 (exp2_test): Likewise.
41650 (expm1_test): Likewise.
41651 (fma_test): Likewise.
41652 (j0_test): Likewise.
41653 (jn_test): Likewise.
41654 (nexttoward_test): Likewise.
41655 (pow_test): Likewise.
41656 (scalbn_test): Likewise.
41657 (scalbln_test): Likewise.
41658 (tan_test): Likewise.
41659 (y1_test): Likewise.
41660 * sysdeps/i386/fpu/libm-test-ulps: Update.
41661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41662
9e0e3d0b
DM
416632012-05-23 David S. Miller <davem@davemloft.net>
41664
41665 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41666 (__libc_sigaction): Remove unused local variables.
41667
ccd0a08f
L
416682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41669
41670 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41671
62bdf9a6
PE
416722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41673
f8591f80
PE
41674 mktime: avoid signed integer overflow
41675 * time/mktime.c (__mktime_internal): Do not mishandle the case
41676 where diff == INT_MIN.
41677
94c7d826
PE
41678 mktime: simplify computation of average
41679 * time/mktime.c (ranged_convert): Use new time_t_avg function
41680 instead of rolling our own (probably-slower) code.
41681
ce73d683
PE
41682 mktime: do not assume signed right shift propagates sign bit
41683 * time/mktime.c (isdst_differ): New static function.
41684 (__mktime_internal): No need to normalize tm_isdst now.
41685 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41686 tm_isdst values.
41687
72a22e59
PE
41688 mktime: merge another wrapv change from gnulib
41689 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41690 from some compilers.
41691
68605433
PE
41692 mktime: remove incorrect attempt at unusual arithmetics
41693 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41694 The code didn't really work on such machines anyway.
41695 (TYPE_MINIMUM): Assume two's complement.
41696 (twos_complement_arithmetic): Verify that long_int and time_t
41697 are two's complement (or unsigned, in the latter case).
41698
03cf7fe3
PE
41699 mktime: check signed shifts on long_int and time_t, too
41700 * time/mktime.c (SHR): Check that shifts work as desired
41701 on the types long_int and time_t too, as SHR is used on
41702 such types.
41703
f04dfbc2
PE
41704 mktime: do not assume 'long' is wide enough
41705 * time/mktime.c (verify): Move decl up.
41706 (long_int): New type.
41707 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41708 to remove assumption in the code that 'long' is wide enough to
41709 store year values. This assumption is not true on x32 and on
41710 some non-glibc platforms.
41711
62bdf9a6
PE
41712 mktime: merge wrapv change from gnulib
41713 * time/mktime.c (WRAPV): New macro.
41714 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41715 (guess_time_tm, __mktime_internal): Do not assume that signed
41716 integer overflow wraps around; modern compilers generate code
41717 where this assumption is no longer valid.
41718
5e292e4f
L
417192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41720
41721 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41722 Replace "jmp L(pseudo_end)" with "ret".
41723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41724 Likewise.
41725
8caf8c87
AJ
417262012-05-23 Andreas Jaeger <aj@suse.de>
41727
41728 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41729 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41730
1a09dc56
AJ
417312012-05-23 Andreas Jaeger <aj@suse.de>
41732 Maximilian Attems <max@stro.at>
41733
41734 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41735 New macros.
41736
1c87aba0
L
417372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41738
41739 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41740 code so that pseudo_end is just ret and the stack pointer is
41741 correct also for static library in error case.
41742
40e45bd5
JM
417432012-05-23 Joseph Myers <joseph@codesourcery.com>
41744
c2670533
JM
41745 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41746 move to syscalls.list.
41747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41751
40e45bd5
JM
41752 * manual/install.texi (Running make install): Do not mention Linux
41753 kernel version for which pt_chown is not needed.
41754 (Linux): Do not mention problems with nscd with 2.0 kernels.
41755 * INSTALL: Regenerated.
41756
be08eda5
AJ
417572012-05-23 Andreas Jaeger <aj@suse.de>
41758
41759 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41760 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41761 macro.
41762 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41763 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41764 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41765 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41766 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41767 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41768 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41769 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41771 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41772 * sysdeps/unix/sysv/linux/bits/in.h
41773 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41774
a6a056bb
RM
417752012-05-22 Roland McGrath <roland@hack.frob.com>
41776
41777 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41778 (PREPARE_VERSION): Just use assert instead, it will be elided
41779 under [NDEBUG] anyway.
41780
c9009328
L
417812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41782
41783 * sysdeps/unix/sysv/linux/Makefile: Include
41784 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41785 (sysdep_routines): Remove sysctl.
c9009328
L
41786 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41787 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41788 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41789 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41790 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41791
73338355
AJ
417922012-05-22 Andreas Jaeger <aj@suse.de>
41793
41794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41795 that pseudo_end is just ret and the stack pointer is correct also
41796 for static library in error case.
41797
d44638b0
PP
417982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41799
41800 [BZ #14122]
41801 * nss/nsswitch.c (defconfig_entries): New variable.
41802 (__nss_database_lookup): Don't leak defconfig entries.
41803 (nss_parse_service_list): Don't leak on error paths.
41804 (free_database_entries): New function.
41805 (free_defconfig): New function.
41806 (free_mem): Move common code to free_database_entries.
41807
31a39bd8
L
418082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41809
da0331a8
L
41810 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41811 Add arch_prctl.
41812 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41813
31a39bd8
L
41814 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41815 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41816 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41817 New macro.
41818 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41819 (INTERNAL_SYSCALL_TYPES): Likewise.
41820 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41821 (LOAD_REGS_TYPES_[1-6]): Likewise.
41822 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41823 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41824
45470df3
AZ
418252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41826
41827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41828 copysignl for GLIBC_2_0.
41829 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41830 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41832 logbl for GLIBC_2_0.
41833 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41834 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41835
98a61bcb
L
418362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41837
a4f6e481
L
41838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41839 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41840
f63d5db6
L
41841 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41842 Use "neg %eax".
41843
98a61bcb
L
41844 * time/mktime.c: Update copyright years.
41845
95770f14
PE
418462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41847
6226efbd
PE
41848 mktime: merge comment-quoting-style change from gnulib
41849 * time/mktime.c: Quote 'like this' in comments.
41850 The GNU coding standards suggest that we no longer quote `like this',
41851 as "`" and "'" are typically rendered asymmetrically nowadays.
41852 The typical gnulib style is to quote 'like this' when quoting
41853 code, and "like this" when quoting English.
41854
b99e4f78
PE
41855 * time/mktime.c (compile-command): Add "-I.".
41856
643e01e6
PE
41857 mktime: merge mktime-internal.h change from gnulib
41858 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41859
2554247d
PE
41860 mktime: merge time_r change from gnulib
41861 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41862
826dd0ab
PE
41863 mktime: merge DEBUG change from gnulib
41864 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41865 case system <time.h> has a #define.
41866
bd83aabe
PE
41867 mktime: merge <sys/types.h> change from gnulib
41868 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41869 since <time.t> is now guaranteed to define time_t.
41870
95770f14
PE
41871 mktime: merge HAVE_CONFIG_H change from gnulib
41872 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41873
5e1a27a9
L
418742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41875
0e44a77e
L
41876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41877 Use "neg %eax".
41878
5e1a27a9
L
41879 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41880 __rlim_t cast.
41881 (struct rusage): Use anonymous union to pad each field to
41882 __syscall_slong_t.
41883
46259bec
DM
418842012-05-21 David S. Miller <davem@davemloft.net>
41885
41886 * Makefules (o-iterator): Remove .s cases.
41887 (compile-command.s): Delete.
41888 (COMPILE.s): Delete.
41889 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41890
59f0c22e
JM
418912012-05-21 Joseph Myers <joseph@codesourcery.com>
41892
41893 * configure.in (libc_cv_predef_stack_protector): Only consider
41894 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41895 * configure: Regenerated.
41896
20c07380
L
418972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41898
bbb3154b
L
41899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41900 New macro. Use R*LP on int and pointer.
41901 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41902 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41903 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41904 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41905
20c07380
L
41906 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41907 [__WORDSIZE_TIME64_COMPAT32] instead of
41908 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41909 (struct utmp): Likewise.
41910 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41911 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41912 Renamed to ...
41913 (__WORDSIZE_TIME64_COMPAT32): This.
41914 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41915 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41916 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41917 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41918 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41919 (__WORDSIZE_TIME64_COMPAT32): New macro.
41920
d8d1017e
AJ
419212012-05-21 Andreas Jaeger <aj@suse.de>
41922
41923 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41924 only if [SHARED]. Add prototype for __wcschr_ia32.
41925
6c7fb145
RM
419262012-05-21 Roland McGrath <roland@hack.frob.com>
41927
41928 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41929 of %rbp unmolested in the jmp_buf while mangling the low bits.
41930 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41931 unmolested high bits of %rbp while demangling the low bits.
41932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41933
66274218
AJ
419342012-05-21 Andreas Jaeger <aj@suse.de>
41935
07c58f8f
AJ
41936 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41937 * sunrpc/svc_simple.c: Use it for registerrpc.
41938 * sunrpc/xcrypt.c: Use it for passwd2des.
41939
66274218
AJ
41940 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41941
61f65140
L
419422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41943
41944 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41945 Don't define if [__SYSCALL_WORDSIZE != 32].
41946 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41947 New macro.
41948
5fefb436
AJ
419492012-05-21 Bruno Haible <bruno@clisp.org>
41950 Andreas Jaeger <aj@suse.de>
41951
41952 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41953 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41954 inptr and inend for must_buffer_ch.
41955 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41956 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41957 * stdio-common/Makefile (tests): Remove bug15.
41958 (bug15-ENV): Remove macro.
41959 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41960 anymore.
41961
d8e272ab
AJ
419622012-05-19 Andreas Jaeger <aj@suse.de>
41963 Roland McGrath <roland@hack.frob.com>
41964
41965 * manual/contrib.texi: Completely rewritten. It contains now an
41966 alphabetical list of contributors and their contributions.
41967
4a56a162
RH
419682012-05-21 Richard Henderson <rth@twiddle.net>
41969
41970 * misc/getauxval.c (__getauxval): Use unsigned long int.
41971 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41972 (getauxval): Use unsigned long int.
41973
d024d23c
L
419742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41975
41976 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41977
cbc00a03
RM
419782012-05-21 Roland McGrath <roland@hack.frob.com>
41979
41980 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41981 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41982 __alignof__ (long double).
41983
478143fa
AZ
419842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41985
41986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41987
c7683a6d
RH
419882012-05-20 Richard Henderson <rth@twiddle.net>
41989
41990 * misc/getauxval.c: New file.
41991 * misc/sys/auxv.h: New file.
41992 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41993 (routines): Add getauxval.
41994 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41995 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41996 * elf/dl-sysdep.c (_dl_auxv): Remove.
41997 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41998 * elf/dl-support.c (_dl_auxv): New variable.
41999 (_dl_aux_init): Initialize it.
42000 * manual/startup.texi (Auxiliary Vector): New node.
42001 * sysdeps/generic/bits/hwcap.h: New file.
42002 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42003 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42004 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42005 * sysdeps/sparc/sysdep.h: ... here. Include it.
42006 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42009 Update.
c7683a6d
RH
42010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42013 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42018
a6f1845d
AZ
420192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42020
42021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42022
cbcbe830
DM
420232012-05-19 David S. Miller <davem@davemloft.net>
42024
42025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42026
e0b16cc2
JM
420272012-05-19 Joseph Myers <joseph@codesourcery.com>
42028
42029 [BZ #14123]
42030 * math/s_ccosh.c: Include <float.h>
42031 (__ccosh): Avoid internal overflow calculating sinh and cosh
42032 values before multiplying by sin and cos values.
42033 * math/s_ccoshf.c: Likewise.
42034 * math/s_ccoshl.c: Likewise.
42035 * math/s_csin.c: Likewise.
42036 * math/s_csinf.c: Likewise.
42037 * math/s_csinl.c: Likewise.
42038 * math/s_csinh.c: Likewise.
42039 * math/s_csinhf.c: Likewise.
42040 * math/s_csinhl.c: Likewise.
42041 * math/libm-test.inc (ccos_test): Add more tests.
42042 (ccosh_test): Likewise.
42043 (csin_test): Likewise.
42044 (csinh_test): Likewise.
42045 * sysdeps/i386/fpu/libm-test-ulps: Update.
42046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42047
6ad13e08
L
420482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42049
f66f0ce8
L
42050 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42051 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42052
6ad13e08
L
42053 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42054
b1d072a7
JM
420552012-05-19 Joseph Myers <joseph@codesourcery.com>
42056
42057 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42058 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42059 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42060 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42061 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42062 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42063 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42064 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42065 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42066 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42067 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42068 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42069 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42070 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42071 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42072 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42073 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42074 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42075 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42076 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42077 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42078 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42079 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42080 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42081 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42082 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42083 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42084 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42085 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42086 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42087 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42088
9eae47cb
AJ
420892012-05-18 Andreas Jaeger <aj@suse.de>
42090
42091 * csu/.gitignore: Delete.
42092
bb07f69f
L
420932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42094
42095 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42096 (timex): Use __syscall_slong_t.
42097
e6bdb741
AJ
420982012-05-18 Andreas Jaeger <aj@suse.de>
42099 Carlos O'Donell <carlos_odonell@mentor.com>
42100
42101 * manual/install.texi (Configuring and compiling): Update
42102 description about files modified in the source directory.
d6c33fda 42103 * INSTALL: Regenerated.
e6bdb741 42104
1b74487e
L
421052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42106
42107 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42108 value. Use "or" to set return value to -1.
42109 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42110 negate return value.
42111
a88b64b9
TMQMF
421122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42113
57f41c40
AS
42114 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42115 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42116 failure if the compiler has Graphite support disabled.
42117 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42118 Likewise.
57f41c40
AS
42119 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42120 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42122 Likewise.
42123
3707636e
L
421242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42125
610b8622
L
42126 * sysdeps/x86_64/x32/_itoa.h: New file.
42127
7cd195df
L
42128 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42129 getdents system call only if kernel and user dirents have the
42130 same d_ino and d_off.
42131
94b07d20
L
42132 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42133 LLONG_MAX != LONG_MAX.
42134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42135 (_fitoa_word): Likewise.
42136
18298070
L
42137 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42138 years.
42139 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42140 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42141 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42142
553c7ea4
L
42143 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42144 include <bits/wordsize.h>. Check __x86_64__ instead of
42145 __WORDSIZE.
42146 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42147 if __x86_64__ is defined. Use anonymous union on fpstate.
42148
3707636e
L
42149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42150 anonymous union.
42151
b53ef01a
AS
421522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42153
37fb1dc0
AS
42154 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42155 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42156 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42157 Refer to _rtld_local_ro instead of _rtld_global_ro.
42158 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42159 Likewise.
42160 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42161 Likewise.
42162 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42163 Likewise.
42164 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42165 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42166 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42167
b53ef01a
AS
42168 * sysdeps/powerpc/powerpc32/dl-machine.c
42169 (__elf_machine_runtime_setup) [PROF]: Don't reference
42170 _dl_prof_resolve.
42171
7a185db2
AJ
421722012-05-18 Andreas Jaeger <aj@suse.de>
42173
42174 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42175 function only available for GCCs before 3.4 since GCC 3.4
42176 introduced a builtin.
42177 (lrint): Likewise.
42178 (llrintf): Likewise.
42179 (llrint): Likewise.
42180 (fmaxf): Likewise.
42181 (fmax): Likewise.
42182 (fminf): Likewise.
42183 (fmin): Likewise.
42184 (rint): Likewise.
42185 (rintf): Likewise.
42186 (nearbyint): Likewise.
42187 (nearbyintf): Likewise.
42188 (ceil): Likewise.
42189 (ceilf): Likewise.
42190 (floor): Likewise.
42191 (floorf): Likewise.
42192
3e5aef87
L
421932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42194
428bd707
L
42195 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42196 on both fields and cast pointer to __syscall_ulong_t.
42197
3e5aef87
L
42198 * bits/types.h (__fsword_t): New type.
42199 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42200 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42202 (__FSWORD_T_TYPE): Likewise.
42203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42204 (__FSWORD_T_TYPE): Likewise.
42205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42206 (__FSWORD_T_TYPE): Likewise.
42207 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42208 (__FSWORD_T_TYPE): Likewise.
42209 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42210 __SWORD_TYPE with __fsword_t.
42211 (statfs64): Likewise.
42212
1ba7c3dc
DM
422132012-05-17 David S. Miller <davem@davemloft.net>
42214
42215 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42216
59910343
AJ
422172012-05-17 Andreas Jaeger <aj@suse.de>
42218
42219 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42220 warning.
42221
2e4c1e9e
L
422222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42223
42224 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42225
de7f5ce7
AJ
422262012-05-17 Andreas Jaeger <aj@suse.de>
42227
42228 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42229 when it is used.
42230
286abc3d
CM
422312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42232
42233 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42234
477cc68e
L
422352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42236
42237 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42238 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42239
1a0994f5
CD
422402012-05-17 Andreas Jaeger <aj@suse.de>
42241 Carlos O'Donell <carlos_odonell@mentor.com>
42242
42243 [BZ #14059]
42244 * sysdeps/x86_64/multiarch/init-arch.h
42245 (bit_YMM_Usable): Rename to...
42246 (bit_AVX_Usable): ... this.
42247 (bit_FMA4_Usable): New macro.
42248 (bit_XMM_state): New macro.
42249 (bit_YMM_state): New macro.
42250 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42251 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42252 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42253 (CPUID_OSXSAVE): New macro.
42254 (CPUID_AVX): New macro.
42255 (CPUID_FMA4): New macro.
42256 (index_YMM_Usable): Rename to...
42257 (index_AVX_Usable): ... this.
42258 (HAS_AVX): Use HAS_ARCH_FEATURE.
42259 (HAS_FMA4): Likewise.
42260 (HAS_YMM_USABLE): Remove.
42261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42262 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42263 are present.
42264 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42265 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42266 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42267 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42268 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42269
0af797de
CM
422702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42271
42272 * math/libm-test.c: Support platforms without multiple rounding modes.
42273 * math/bug-nextafter.c: Support platforms without FP exceptions.
42274 * math/bug-nexttoward.c: Likewise.
42275 * math/test-fenv.c: Likewise.
42276 * math/test-misc.c: Likewise.
42277 * stdlib/bug-getcontext.c: Likewise.
42278
e39745ff
AJ
422792012-05-17 Andreas Jaeger <aj@suse.de>
42280
42281 * manual/examples/search.c (critter_cmp): Change signature to
42282 avoid warnings.
42283 * manual/string.texi (Collation Functions): Likewise.
42284
48970aba
L
422852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42286
42287 * bits/types.h: Fold copyright years.
42288 * bits/typesizes.h: Likewise.
42289 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42292 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42293 * time/time.h: Likewise.
42294
bedee953
PP
422952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42296
42297 [BZ #208]
42298 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42299 in instead of returning them. Return void.
42300 (__libc_mallinfo): Accumulate over all arenas.
42301 (__malloc_stats): Adjust for change in int_mallinfo interface.
42302
61653dfb
RM
423032012-05-16 Roland McGrath <roland@hack.frob.com>
42304
30b99d79
RM
42305 [BZ #10375]
42306 * configure.in (NM): Add AC_CHECK_TOOL for it.
42307 (libc_extra_cflags): New substituted variable.
42308 Check for -fstack-protector being used implicitly.
42309 * configure: Regenerated.
42310 * config.make.in (config-extra-cflags): New variable,
42311 gets @libc_extra_cflags@.
42312 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42313
61653dfb
RM
42314 [BZ #10375]
42315 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42316 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42317 * configure: Regenerated.
42318 * config.make.in (CPPUNDEFS): New substituted variable.
42319 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42320 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42321 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42322
661768bb
L
423232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42324
42325 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42326 (mq_attr): Use __syscall_slong_t.
42327
d4261567
L
423282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42329
42330 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42331 Check __x86_64__ instead of __WORDSIZE.
42332 (_STAT_VER_LINUX): Likewise.
42333 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42334 __syscall_ulong_t and __syscall_slong_t.
42335 (stat64): Likewise.
42336
cf3ff365
L
423372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42338
42339 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42340
76cf3e4d
L
423412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42342
42343 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42344
a637753a
L
423452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42346
42347 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42348 __syscall_ulong_t.
42349
d5e05119
L
42350 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42351 include <bits/wordsize.h>. Check __x86_64__ instead of
42352 __WORDSIZE.
42353 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42354 defined.
42355 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42356
f62ee380
L
42357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42358 include <bits/wordsize.h>. Check __x86_64__ instead of
42359 __WORDSIZE.
42360 (user_regs_struct): Use "__extension__ unsigned long long"
42361 instead of "unsigned long" if __x86_64__ is defined.
42362 (user): Likewise. Pad after pointer field if __ILP32__ is
42363 defined.
42364
4e124ced
JM
423652012-05-16 Joseph Myers <joseph@codesourcery.com>
42366
6a3951a0
JM
42367 * configure.in (makeinfo): Require version 4.5 or later. Allow
42368 versions 5 to 9.
42369 * configure: Regenerated.
42370 * manual/install.texi (texinfo): Increase version requirement to
42371 4.5 or later.
42372 * INSTALL: Regenerated.
42373
4e124ced
JM
42374 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42375
953ca31a
L
423762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42377
42378 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42379
617aca05
L
42380 * sysdeps/x86_64/x32/ffs.c: New file.
42381
5762f7ae
L
42382 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42383 __syscall_ulong_t.
42384 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42385 defined. Use __syscall_ulong_t.
42386 (shminfo): Use __syscall_ulong_t.
42387 (shm_info): Likewise.
42388
a26b6856
L
42389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42390 __syscall_ulong_t.
42391
cb2b9ef7
L
42392 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42393 <bits/wordsize.h>.
42394 (msgqnum_t): Use __syscall_ulong_t.
42395 (msglen_t): Likewise.
42396 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42397 __syscall_ulong_t.
42398
34683bb0
L
42399 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42400 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42401
84a68786
L
42402 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42403
48baa5f1
L
42404 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42405 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42406
180be88b
L
42407 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42408 __syscall_slong_t.
42409
5e90c8ad
L
42410 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42411 include <bits/wordsize.h>. Check __x86_64__ instead of
42412 __WORDSIZE.
42413
23dfb58b
L
42414 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42415 "unsigned long long int" if __x86_64__ is defined.
42416 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42417
ce5d54b0
L
42418 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42420 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42421
13dc9eac
L
42422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42423 <stdint.h>.
42424 (GET_PC): Cast to uintptr_t first.
42425 (GET_FRAME): Likewise.
42426 (GET_STACK): Likewise.
42427
a7895d15
L
42428 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42430 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42432 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42434 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42435 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42436 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42437 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42438 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42439 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42441 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42443 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42444 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42447 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42449 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42451 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42453 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42455 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42457
656416c9
AS
424582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42459
5bd66283
AS
42460 * Makerules (+depfiles): Also collect depfiles from .oS in
42461 $(extra-objs).
42462 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42463 .oS, $(libnldbl-routines)).
42464
656416c9
AS
42465 * Makerules (native-compile-mkdep-flags): Define.
42466 * sunrpc/Makefile (extra-objs): Add $(addprefix
42467 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42468 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42469 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42470 calling $(make-target-directory).
42471
a46f2169
L
424722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42473
42474 * bits/types.h (__snseconds_t): Removed.
42475 * time/time.h (struct timespec): Replace __snseconds_t with
42476 __syscall_slong_t.
42477 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42478 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42479 Likewise.
42480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42481 (__SNSECONDS_T_TYPE): Likewise.
42482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42483 (__SNSECONDS_T_TYPE): Likewise.
42484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42485 (__SNSECONDS_T_TYPE): Likewise.
42486
6af6528b
L
424872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42488
42489 * sysdeps/mach/hurd/bits/typesizes.h
42490 (__SYSCALL_SLONG_TYPE): New macro.
42491 (__SYSCALL_ULONG_TYPE): Likewise.
42492
de986b56
L
424932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42494
42495 * bits/types.h (__syscall_slong_t): New type.
42496 (__syscall_ulong_t): Likewise.
42497
42498 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42499 (__SYSCALL_ULONG_TYPE): Likewise.
42500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42501 (__SYSCALL_SLONG_TYPE): Likewise.
42502 (__SYSCALL_ULONG_TYPE): Likewise.
42503 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42504 (__SYSCALL_SLONG_TYPE): Likewise.
42505 (__SYSCALL_ULONG_TYPE): Likewise.
42506 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42507 (__SYSCALL_SLONG_TYPE): Likewise.
42508 (__SYSCALL_ULONG_TYPE): Likewise.
42509
85736dc7
L
425102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42511
42512 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42513 Add sigaltstack-offsets.sym.
42514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42515 <sigaltstack-offsets.h>.
42516 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42517 longjmp_msg pointer.
42518 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42519 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42520 signal stack.
42521 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42522
cc03b296
JM
425232012-05-15 Joseph Myers <joseph@codesourcery.com>
42524
a9538892
JM
42525 * elf/stackguard-macros.h: Remove file.
42526 * sysdeps/generic/stackguard-macros.h: New file.
42527 * sysdeps/i386/stackguard-macros.h: Likewise.
42528 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42529 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42530 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42531 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42532 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42533 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42534 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42535 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42536 <elf/stackguard-macros.h>.
42537
cc03b296
JM
42538 [BZ #14109]
42539 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42540 __aligned__ in attribute.
42541 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42542 (gregset_t): Likewise.
42543
93171016
L
425442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42545
42546 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42547 * sysdeps/x86_64/64/Implies-after: Here. New file.
42548 * sysdeps/x86_64/x32/Implies-after: New file.
42549
d86813a0
L
425502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42551
42552 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42553 and access return value for _dl_profile_fixup. Use R10_LP to
42554 load frame size.
42555
2953ec75
L
425562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42557
42558 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42559
3b550e9e
L
425602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42561
42562 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42563 * sysdeps/x86_64/x32/sysdep.h: New file.
42564
eda41706
L
425652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42566
42567 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42568 * sysdeps/x86_64/setjmp.S: Likewise.
42569
9ea01d93
AZ
425702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42571
42572 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42574 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42576 remove unused global constant.
42577
02a91938
CM
425782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42579
42580 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42581 include of <not-cancel.h>.
42582
6540185f
RM
425832012-05-15 Roland McGrath <roland@hack.frob.com>
42584
42585 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42586
509072a0
AJ
425872012-05-15 Jeff Law <law@redhat.com>
42588 Andreas Jaeger <aj@suse.de>
42589
42590 [BZ #13594]
42591 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42592 out from...
42593 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42594 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42595 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42596 code changing __hst_map_handle.map.
42597
ba75122d
RM
425982012-05-15 Roland McGrath <roland@hack.frob.com>
42599
42600 * configure.in (sysnames): Look for Implies-before and Implies-after
42601 files.
42602 * configure: Regenerated.
42603
890d8bd8
L
426042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42605
42606 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42607 8-byte data alignment with LP_SIZE alignment.
42608
f6ee6623
L
426092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42610
42611 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42612 into R10_LP.
42613
ea2626f6
L
426142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42615
42616 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42617
085f715e
L
426182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42619
42620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42621 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42622 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42623 Likewise.
42624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42625
be8498fc
L
426262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42627
42628 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42629 (stackinfo_sub_sp): Likewise.
42630
70bc83b9
L
426312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42632
42633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42634 RAX_LP.
42635
9bc0b730
L
426362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42637
42638 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42639 into R*_LP.
42640
6d2850e7
L
426412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42642
42643 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42644 sizes into R*_LP.
42645
3cb84561
L
426462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42647
42648 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42649
54e2ed81
L
426502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42651
42652 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42653 into R11_LP and load __x86_64_shared_cache_size_half into
42654 R8_LP.
42655
8a17f349
L
426562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42657
42658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42659 R8_LP.
42660
777b1eea
AZ
426612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42662
42663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42664 logb for POWER7.
42665 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42666 logbf for POWER7.
42667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42668 logbl for POWER7.
42669 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42670 powerpc32/power7/fpu/s_logb.c via #include.
42671 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42672 powerpc32/power7/fpu/s_logbf.c via #include.
42673 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42674 powerpc32/power7/fpu/s_logbl.c via #include.
42675
d20d4ac2
JM
426762012-05-15 Joseph Myers <joseph@codesourcery.com>
42677
42678 * README.libm: Remove file.
42679
6cdef1ab
L
426802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42681
42682 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42683 count for x32. Use R*_LP and omit operand-size suffix.
42684
0b254d8f
L
426852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42686
42687 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42688 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42689 * sysdeps/x86_64/x32/shlib-versions: New file.
42690
ceb809dc
RM
426912012-05-14 Roland McGrath <roland@hack.frob.com>
42692
42693 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42694 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42695 Use _dl_fatal_printf instead.
42696
37f1abd4
JM
426972012-05-14 Joseph Myers <joseph@codesourcery.com>
42698
42699 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42700 set if not set by the user. Do not allow for being unset.
42701 * sysdeps/unix/sysv/linux/configure: Regenerated.
42702
11de3a33
L
427032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42706 the `q' suffix from lea and replace .quad with ASM_ADDR.
42707
e02f153a
L
427082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42709
42710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42711 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42712 instead of $17.
42713 (PTR_DEMANGLE): Likewise.
42714
520ae0fd
L
427152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42716
42717 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42718 (LP_OP): Likewise.
42719 (ASM_ADDR): Likewise.
42720 (RAX_LP): Likewise.
42721 (RBP_LP): Likewise.
42722 (RBX_LP): Likewise.
42723 (RCX_LP): Likewise.
42724 (RDI_LP): Likewise.
42725 (RSI_LP): Likewise.
42726 (RSP_LP): Likewise.
42727 (R8_LP): Likewise.
42728 (R9_LP): Likewise.
42729 (R10_LP): Likewise.
42730 (R10_LP): Likewise.
42731 (R11_LP): Likewise.
42732 (R12_LP): Likewise.
42733 (R13_LP): Likewise.
42734 (R14_LP): Likewise.
42735 (R15_LP): Likewise.
42736
b985be81
L
427372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42738
42739 * sysdeps/x86_64/x32/dl-machine.h: New file.
42740
6a4888ff
AJ
427412012-05-14 Andreas Jaeger <aj@suse.de>
42742
42743 * manual/Makefile (subdir): Remove export of subdir.
42744 (all): Remove target.
42745 (.PHONY): Remove all from list.
42746 (mkinstalldirs): Remove.
42747 (.PHONY): Remove installdirs from list.
42748 ($(inst_infodir)/libc.info): Use make-target-directory.
42749 (installdirs): Remove.
42750 (subdir_%): Remove.
42751 (glibc-targets): Remove.
42752 (lib): Remove.
42753 (stubs): Remove.
42754 ($(objpfx)stubs ../po/manual.pot): Remove.
42755 ($(objpfx)stamp%): Remove.
42756 (make-target-directory): Remove.
42757 (subdir_install): Remove.
42758 (routines): Remove.
42759 (aux): Remove.
42760 (sources): Remove.
42761 (objects): Remove.
42762 (headers): Remove.
42763
42764 [BZ #13750]
42765 * manual/.gitignore: Remove, it's not needed anymore.
42766 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42767 all files in it.
42768 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42769 directory.
42770 (texis): Renamed to $(objpfx)texis.
42771 (texis-path): New, contains path to generated files.
42772 (chapters.%): Use texis-path for complete path, add extra argument
42773 libc-texinfo.sh.
42774 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42775 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42776 (summary,texi, stamp-summary): Use complete path of
42777 files. Generate files in build dir.
42778 (dir-add.texi): Build in build dir.
42779 (libm-err.texi,stamp-libm-err): Likewise.
42780 (version.texi, stamp-version): Likewise.
42781 (.%c.texi): Likewise.
42782 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42783 (mostlyclean): Remove target.
42784 (realclean): Remove target.
42785 (generated): Add new variable with contents from mostlyclean and
42786 realclean, remove entries duplicated in common-mostlyclean, add
42787 stamp-libm-err and stamp-version.
42788 (generated-dirs): Add libc directory.
42789 ($(inst_infodir)/libc.info): Install files from build dir.
42790
42791 * manual/install.texi (Configuring and compiling): Adjust since
42792 the info files are not part of the tar ball anymore.
42793
7ac77294
AJ
427942012-05-14 Andreas Jaeger <aj@suse.de>
42795
42796 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42797 variable.
42798
ffb7875d
JM
427992012-05-14 Joseph Myers <joseph@codesourcery.com>
42800
42801 [BZ #13717]
42802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42803 to 2.2.0 where earlier.
42804 * sysdeps/unix/sysv/linux/configure: Regenerated.
42805 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42806 Remove conditional code.
42807 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42808 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42809 Remove conditional code.
42810 [!__NR_lchown]: Likewise.
42811 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42812 [__NR_lchown]: Likewise.
42813 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42814 comment referencing __ASSUME_LCHOWN_SYSCALL.
42815 * sysdeps/unix/sysv/linux/i386/sigaction.c
42816 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42817 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42818 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42819 Remove conditional code.
42820 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42821 (__protocol_available): Remove #if 0 code.
42822 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42823 conditional code.
42824 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42825 * sysdeps/unix/sysv/linux/kernel-features.h
42826 (__ASSUME_GETCWD_SYSCALL): Don't define.
42827 (__ASSUME_REALTIME_SIGNALS): Likewise.
42828 (__ASSUME_PREAD_SYSCALL): Likewise.
42829 (__ASSUME_PWRITE_SYSCALL): Likewise.
42830 (__ASSUME_POLL_SYSCALL): Likewise.
42831 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42832 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42833 non-SPARC.
42834 (__ASSUME_SIOCGIFNAME): Don't define.
42835 (__ASSUME_MSG_NOSIGNAL): Likewise.
42836 (__ASSUME_SENDFILE): Define unconditionally.
42837 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42838 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42839 conditional code.
42840 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42841 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42842 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42843 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42844 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42845 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42846 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42871 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42872 Remove conditional code.
42873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42874 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42875 Remove conditional code.
42876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42877 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42878 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42879 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42880 Remove conditional code.
42881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42882 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42883 Remove conditional code.
42884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42885 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42886 Remove conditional code.
42887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42888 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42889 Remove conditional code.
42890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42891 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42892 Remove conditional code.
42893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42894 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42897 * sysdeps/unix/sysv/linux/sigaction.c
42898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42900 * sysdeps/unix/sysv/linux/sigpending.c
42901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42903 * sysdeps/unix/sysv/linux/sigprocmask.c
42904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42906 * sysdeps/unix/sysv/linux/sigsuspend.c
42907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42910 (__libc_missing_rt_sigs): Remove.
42911 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42912 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42913 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42914 Remove conditional code.
42915 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42916 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42917 return 1.
42918 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42919 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42920 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42921 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42922
1bfb7291
AJ
429232012-05-14 Andreas Jaeger <aj@suse.de>
42924
caae5a81
AJ
42925 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42926 it's not used in glibc.
42927 (__coshm1): Likewise.
42928 (__acosh1p): Likewise.
42929 (__sgn): Likewise.
42930
1bfb7291
AJ
42931 * manual/string.texi (Copying and Concatenation): Add missing
42932 variable in concat example.
42933 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42934
c044d724
L
429352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42936
144c5467 42937 [BZ #14103]
c044d724
L
42938 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42939 __builtin_clzl with __builtin_clzll.
42940
2523c62b
L
429412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42942
42943 [BZ #14104]
42944 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42945 libc_freeres_ptr.
42946
d7bb4c42
LD
429472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42948
42949 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42950 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42951 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42952 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42953
9dc4e1fb
MF
429542012-05-14 Mike Frysinger <vapier@gentoo.org>
42955
42956 * NEWS: Update ia64 info.
42957
c7df0112
AS
429582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42959
42960 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42961 used as bcopy.
42962
dc70356c
TS
429632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42964
42965 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42966 * sysdeps/unix/syscalls.list (dup3): Likewise.
42967 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42968 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42969
9fb1a21f
L
429702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42971
42972 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42973 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42974
4822a2a5
L
429752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42976
42977 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42978 thread pointer.
42979 (TLS_IE): Use mov/add instead of movq/addq to load thread
42980 pointer.
42981 (TLS_GD_PREFIX): New.
42982 (TLS_GD): Use it.
42983
842b81d6
DM
429842012-05-11 David S. Miller <davem@davemloft.net>
42985
42986 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42987 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42988 (_FPU_SETCW): Likewise.
42989
1cf463cd
L
429902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42991
42992 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42993 is 32-byte aligned.
42994
60cc4a18
AS
429952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42996
42997 [BZ #11837]
42998 * iconvdata/gb18030.c: Update tables.
42999 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43000 characters specially.
43001 (BODY for TO_LOOP): Add encoding of missing ranges.
43002
febb44a4
TS
430032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43004
43005 [BZ #13673]
43006 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43007 * sysdeps/mach/hurd/dup3.c: Likewise.
43008 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43009 * sysdeps/powerpc/memmove.c:: Likewise.
43010
0a10fb9e
L
430112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43012
43013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43014 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43015
df8a552f
L
430162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43017
43018 * elf/elf.h (R_X86_64_RELATIVE64): New.
43019 (R_X86_64_NUM): Updated.
43020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43021 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43022 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43023 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43024 tst-quad1pie tst-quad2pie
43025 (modules-names): Add tst-quadmod1 tst-quadmod2.
43026 ($(objpfx)tst-quad1): New dependency.
43027 ($(objpfx)tst-quad2): Likewise.
43028 ($(objpfx)tst-quad1pie): Likewise.
43029 ($(objpfx)tst-quad2pie): Likewise.
43030 * sysdeps/x86_64/tst-quad1.c: New file.
43031 * sysdeps/x86_64/tst-quad1pie.c: New file.
43032 * sysdeps/x86_64/tst-quad2.c: Likewise.
43033 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43034 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43035 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43036 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43037 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43038
f34d6f84
ST
430392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43040
f42d41d1
ST
43041 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43042 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43043 * streams/stropts.h (t_scalar_t): Define type.
43044
3c3571fc
ST
43045 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43046 (_PATH_PRESERVE): Set to "/var/lib".
43047 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43048
61f06bd3
ST
43049 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43050 instead of int.
43051
918d4d71
ST
43052 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43053 if __dir_mkfile succeeded.
43054
f34d6f84
ST
43055 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43056 checking for _hurd_dtablesize. Unlock it right after having
43057 finished _hurd_dtable allocation.
43058
10589b4a
TS
430592012-05-10 Thomas Schwinge <thomas@schwinge.name>
43060
674cdbc7
TS
43061 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43062 * sysdeps/mach/hurd/configure: Regenerated.
43063 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43064 special-casing to...
43065 * sysdeps/gnu/configure.in: ... this new file.
43066 * sysdeps/unix/sysv/linux/configure: Regenerated.
43067 * sysdeps/gnu/configure: New generated file.
43068
8e41b99f
TS
43069 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43070 for Linux: use nsec instead of usec, as well as:
43071 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43072 members of type struct timespec.
43073 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43074 New macros.
43075 (struct stat64): Likewise.
43076 (_STATBUF_ST_NSEC): New macro.
43077 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43078
10589b4a
TS
43079 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43080 __strtoul_internal rather than strtoul.
43081
63643c85
PT
430822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43083
43084 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43085 and reject them.
43086
3faebe6a
ST
430872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43088
43089 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43090 which preserves existing values.
43091 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43092
c6474b07
PT
430932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43094
43095 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43096 TIMEOUT values. Return EINVAL for NFDS values either negative or
43097 greater than FD_SETSIZE.
43098
1043890b
ST
430992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43100
43101 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43102 allocated, call __vm_protect to finish enabling the existing space, and
43103 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43104 allocate the remainder.
43105
37ed8b9b
PT
431062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43107
43108 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43109 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43110
db653660
ST
431112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43112
37ed8b9b
PT
43113 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43114 sysdeps/mach/hurd/readlink.c.
b29d4053 43115
db653660
ST
43116 * posix/tst-sysconf.c (posix_options): Only use
43117 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43118 _POSIX_SYNCHRONIZED_IO when they are defined
43119 * sysdeps/mach/hurd/bits/posix_opt.h:
43120 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43121 (_XOPEN_REALTIME): Undefine macro.
43122 (_XOPEN_REALTIME_THREADS): Undefine macro.
43123 (_XOPEN_SHM): Undefine macro.
43124 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43125 macro to -1.
43126 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43127 macro to -1.
43128 (_POSIX_ASYNC_IO): Undefine macro.
43129 (_POSIX_PRIORITIZED_IO): Undefine macro.
43130 (_POSIX_SPIN_LOCKS): Define macro to -1.
43131
ee16e894
ST
43132 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43133 SA_NODEFER, SA_RESETHAND.
43134 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43135 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43136 F_DUPFD_CLOEXEC.
43137
6103ae3b
TS
431382012-05-10 Thomas Schwinge <thomas@schwinge.name>
43139
43140 * elf/Makefile (pldd-modules): Define unconditionally.
43141
80b4e5f3
TS
431422012-05-10 Thomas Schwinge <thomas@schwinge.name>
43143
43144 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43145
edadcbd6
ST
431462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43147
43148 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43149 Return ENOENT when name is empty.
43150 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43151
80694780
TS
431522012-05-10 Thomas Schwinge <thomas@schwinge.name>
43153
1792c087
TS
43154 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43155
80694780
TS
43156 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43157
6b645f0d
ST
431582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43159
80694780
TS
43160 Fix mlock in all cases except non-readable pages.
43161 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43162 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43163
6b645f0d
ST
43164 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43165 (__mkdir): When path is `/', just fail with EEXIST.
43166 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43167
e468f8a3
TS
431682012-05-10 Thomas Schwinge <thomas@schwinge.name>
43169
43170 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43171 <sys/uio.h> (for writev).
43172 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43173 and <sys/param.h> (for MIN).
43174
a4186cff
PT
431752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43176
43177 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43178 REQUESTED_TIME. Properly set the remaining time and return EINTR
43179 if interrupted.
43180
510bbf14
TS
431812012-05-10 Thomas Schwinge <thomas@schwinge.name>
43182
43183 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43184 Depend on against $(link-rpcuserlibs).
43185
5d5722e8
ST
431862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43187
a4186cff
PT
43188 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43189 (__libc_stack_end): Do not use attribute_relro.
43190 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43191 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43192 to libthread-provided value.
a4186cff
PT
43193 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43194 attribute_relro.
5d5722e8 43195
37233df9
TS
431962012-05-10 Thomas Schwinge <thomas@schwinge.name>
43197
be971a2b
TS
43198 [BZ #3748]
43199 * bits/libc-lock.h (__libc_once_get): New macro.
43200 * sysdeps/mach/bits/libc-lock.h: Likewise.
43201 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43203 instead of using implementation details.
43204
37233df9
TS
43205 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43206 * libio/freopen.c: Likewise.
43207 * libio/freopen64.c: Likewise.
43208 * misc/syslog.c: Likewise.
43209 * nscd/connections.c: Likewise.
43210 * nscd/netgroupcache.c: Likewise.
43211 * sysdeps/posix/getcwd.c: Likewise.
43212
38de94a5
RM
432132012-05-10 Roland McGrath <roland@hack.frob.com>
43214
43215 * math/w_ilogbf.c: Add #include <limits.h>.
43216
67530489
ST
432172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43218
a4186cff 43219 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43220 path instead of returning without unlocking.
43221
67530489
ST
43222 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43223 immediate-write ioctls.
43224 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43225
5aa3a74a
TS
432262012-05-10 Thomas Schwinge <thomas@schwinge.name>
43227
18bad2ae
TS
43228 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43229 __builtin_frame_address instead of making assumptions about the
43230 location of the return address relative to DATA. Force early load of
43231 the return address.
43232 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43233 __builtin_frame_address.
43234
5aa3a74a
TS
43235 dup3 for GNU Hurd.
43236 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43237 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43238 implement dup3 and do some further code clean-ups.
43239 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43240 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43241
ecd0de9a
ST
432422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43243
cd9fa985
ST
43244 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43245
a4186cff
PT
43246 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43247 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43248 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43249 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43250 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43251 d->port.lock.
802ca5a5 43252
a4186cff
PT
43253 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43254 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43255 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43256
bcf55240
TS
432572012-05-10 Thomas Schwinge <thomas@schwinge.name>
43258
6960eb42
TS
43259 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43260 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43261 definitions.
43262
eb43375f
TS
43263 accept4 for GNU Hurd.
43264 * include/sys/socket.h (__libc_accept4): New prototype.
43265 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43266 to implement __libc_accept4.
43267 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43268 __libc_accept4.
43269 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43270
bcf55240
TS
43271 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43272 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43273 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43274 signal-defines.sym.
43275
6178c55b
ST
432762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43277
a4186cff 43278 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43279
6f080c2f
TS
432802012-05-10 Thomas Schwinge <thomas@schwinge.name>
43281
43282 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43283 assertion on O_CLOEXEC flag.
43284 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43285 * hurd/intern-fd.c: Likewise.
43286 * hurd/port2fd.c: Likewise.
43287
bcfe3a54
ST
432882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43289
43290 [BZ #3906]
43291 * bits/in.h (IPV6_PKTINFO): Define new macro.
43292 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43293
89c9aa49
AZ
432942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43295
43296 [BZ #13954]
43297 [BZ #13955]
43298 [BZ #13956]
43299 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43301 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43302 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43303 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43304 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43305 * math/libm-test.inc (logb_test) : Additional logb tests.
43306
021db4be
AJ
433072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43308 Andreas Jaeger <aj@suse.de>
43309
43310 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43311 * configure: Regenerated.
43312 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43313 * config.make.in (link-obsolete-rpc): New substituted variable.
43314 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43315 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43316 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43317 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43318 so that libc.a contains the symbols.
43319 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43320 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43321 * sunrpc/auth_none.c: Likewise.
43322 * sunrpc/auth_unix.c: Likewise.
43323 * sunrpc/authdes_prot.c: Likewise.
43324 * sunrpc/authuxprot.c: Likewise.
43325 * sunrpc/clnt_gen.c: Likewise.
43326 * sunrpc/clnt_perr.c: Likewise.
43327 * sunrpc/clnt_raw.c: Likewise.
43328 * sunrpc/clnt_simp.c: Likewise.
43329 * sunrpc/clnt_tcp.c: Likewise.
43330 * sunrpc/clnt_udp.c: Likewise.
43331 * sunrpc/clnt_unix.c: Likewise.
43332 * sunrpc/des_crypt.c: Likewise.
43333 * sunrpc/des_soft.c: Likewise.
43334 * sunrpc/get_myaddr.c: Likewise.
43335 * sunrpc/key_call.c: Likewise.
43336 * sunrpc/key_prot.c: Likewise.
43337 * sunrpc/netname.c: Likewise.
43338 * sunrpc/pm_getmaps.c: Likewise.
43339 * sunrpc/pm_getport.c: Likewise.
43340 * sunrpc/pmap_clnt.c: Likewise.
43341 * sunrpc/pmap_prot.c: Likewise.
43342 * sunrpc/pmap_prot2.c: Likewise.
43343 * sunrpc/pmap_rmt.c: Likewise.
43344 * sunrpc/publickey.c: Likewise.
43345 * sunrpc/rpc_cmsg.c: Likewise.
43346 * sunrpc/rpc_common.c: Likewise.
43347 * sunrpc/rpc_dtable.c: Likewise.
43348 * sunrpc/rpc_prot.c: Likewise.
43349 * sunrpc/rpc_thread.c: Likewise.
43350 * sunrpc/rtime.c: Likewise.
43351 * sunrpc/svc.c: Likewise.
43352 * sunrpc/svc_auth.c: Likewise.
43353 * sunrpc/svc_raw.c: Likewise.
43354 * sunrpc/svc_run.c: Likewise.
43355 * sunrpc/svc_tcp.c: Likewise.
43356 * sunrpc/svc_udp.c: Likewise.
43357 * sunrpc/svc_unix.c: Likewise.
43358 * sunrpc/svcauth_des.c: Likewise.
43359 * sunrpc/xcrypt.c: Likewise.
43360 * sunrpc/xdr.c: Likewise.
43361 * sunrpc/xdr_array.c: Likewise.
43362 * sunrpc/xdr_float.c: Likewise.
43363 * sunrpc/xdr_intXX_t.c: Likewise.
43364 * sunrpc/xdr_mem.c: Likewise.
43365 * sunrpc/xdr_rec.c: Likewise.
43366 * sunrpc/xdr_ref.c: Likewise.
43367 * sunrpc/xdr_sizeof.c: Likewise.
43368 * sunrpc/xdr_stdio.c: Likewise.
43369
b5c086a2
RM
433702012-05-10 Roland McGrath <roland@hack.frob.com>
43371
43372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43373 change. Update copyright years.
43374
6d74dd09
JM
433752012-05-10 Joseph Myers <joseph@codesourcery.com>
43376
43377 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43378
28e72501
MK
433792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43380 Joseph Myers <joseph@codesourcery.com>
43381 Paul Pluzhnikov <ppluzhnikov@google.com>
43382
43383 [BZ #14012]
43384 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43385 requiring rpcgen.
43386 [cross-compiling] (extra-libs): Likewise.
43387 [cross-compiling] (extra-libs-others): Likewise.
43388 [cross-compiling] (librpcsvc-routines): Likewise.
43389 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43390 [cross-compiling] (omit-deps): Likewise.
43391 (sunrpc-CPPFLAGS): New variable.
43392 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43393 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43394 (cross-rpcgen-objs): New variable.
43395 (extra-objs): Append $(cross-rpcgen-objs).
43396 ($(cross-rpcgen-objs)): New rule.
43397 ($(objpfx)cross-rpcgen): Likewise.
43398 (rpcgen-cmd): Define to use $(built-program-file). Expand
43399 comment.
43400 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43401 ($(objpfx)x%.stmp): Likewise.
43402 * sunrpc/proto.h [IS_IN_build] (_): Define.
43403 [IS_IN_build] (_libc_intl_domainname): Likewise.
43404
c8c59454
L
434052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43406
43407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43408 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43409 and R_X86_64_TPOFF64.
43410
6f27cd16
JM
434112012-05-10 Joseph Myers <joseph@codesourcery.com>
43412
43413 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43414 sysdeps/unix/sysv/syscalls.list.
43415 (stime): Likewise.
43416 (utime): Likewise.
43417 * sysdeps/unix/sysv/syscalls.list: Remove file.
43418
02467e1c
PE
434192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43420
43421 [BZ #3440]
43422 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43423 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43424 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43425 (__LC_IDENTIFICATION): Make these macros useful in #if
43426 expressions, as required by C99.
43427
da392631
AS
434282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43429
43430 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43431 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43432 after this.
43433
8115f29b
L
434342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43435
43436 * stdlib/longlong.h: Updated from GCC.
43437
bdd74070
AJ
434382012-05-09 Andreas Jaeger <aj@suse.de>
43439
edfe0dbe
AJ
43440 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43441 default is first entry.
43442 (run_mode): Set type.
43443 (main): Remove informal message about syslog.
43444 (options): Fix typo.
43445
bcfe3a54
ST
43446 [BZ #14053]
43447 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43448 to asm.
bcfe3a54
ST
43449 (lrint): Likewise.
43450 (llrintf): Likewise.
43451 (llrint): Likewise.
43452 (rint): Likewise.
43453 (rintf): Likewise.
43454 (nearbyint): Likewise.
43455 (nearbyintf): Likewise.
bdd74070 43456
91d8d69e
AJ
434572012-05-09 Andreas Jaeger <aj@suse.de>
43458 Pedro Alves <palves@redhat.com>
43459
43460 * nscd/nscd.c (run_mode): Use enum.
43461 (main): Cleanup coding style issue.
43462
bb90b80b
AJ
434632012-05-09 Alexandre Oliva <aoliva@redhat.com>
43464 Andreas Jaeger <aj@suse.de>
43465
bcfe3a54
ST
43466 * nscd/nscd.c (go_background): Replaced with...
43467 (run_mode): ... this.
bb90b80b 43468 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43469 (options): Add -F --foreground.
43470 (main): Implement it.
43471 (parse_opt): Parse it.
bb90b80b 43472
1a4b75a1
AJ
434732012-05-09 Andreas Jaeger <aj@suse.de>
43474
43475 [BZ #14083]
43476 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43477 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43478 -Wconversion warning.
43479 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43480 Likewise.
43481
b1cc2472
JM
434822012-05-09 Joseph Myers <joseph@codesourcery.com>
43483
43484 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43485 == 0.
43486 (LC_ALL): Use macro-int-constant.
43487 (LC_COLLATE): Likewise.
43488 (LC_CTYPE): Likewise.
43489 (LC_MESSAGES): Likewise.
43490 (LC_MONETARY): Likewise.
43491 (LC_NUMERIC): Likewise.
43492 (LC_TIME): Likewise.
43493 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43494 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43496 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43497 Specify type.
43498 [C99-based standards] (float_t): Expect type.
43499 [C99-based standards] (double_t): Expect type.
43500 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43501 type.
43502 [C99-based standards] (HUGE_VALL): Likewise.
43503 [C99-based standards] (INFINITY): Likewise.
43504 [C99-based standards] (NAN): Likewise.
43505 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43506 [C99-based standards] (FP_NAN): Likewise.
43507 [C99-based standards] (FP_NORMAL): Likewise.
43508 [C99-based standards] (FP_SUBNORMAL): Likewise.
43509 [C99-based standards] (FP_ZERO): Likewise.
43510 [C99-based standards] (FP_FAST_FMA): Use
43511 optional-macro-int-constant. Specify type. Require == 1.
43512 [C99-based standards] (FP_FAST_FMAF): Likewise.
43513 [C99-based standards] (FP_FAST_FMAL): Likewise.
43514 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43515 [C99-based standards] (FP_ILOGBNAN): Likewise.
43516 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43517 Specify type.
43518 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43519 [C99-based standards] (math_errhandling): Specify type.
43520 [ISO99 || ISO11] (signgam): Do not allow.
43521 [non-C99-based standards] (copysignf): Do not allow.
43522 [non-C99-based standards] (exp2f): Likewise.
43523 [non-C99-based standards] (log2f): Likewise.
43524 [non-C99-based standards] (modff): Allow.
43525 [non-C99-based standards] (erff): Do not allow.
43526 [non-C99-based standards] (erfcf): Likewise.
43527 [non-C99-based standards] (gammaf): Likewise.
43528 [non-C99-based standards] (hypotf): Likewise.
43529 [non-C99-based standards] (j0f): Likewise.
43530 [non-C99-based standards] (j1f): Likewise.
43531 [non-C99-based standards] (jnf): Likewise.
43532 [non-C99-based standards] (lgammaf): Likewise.
43533 [non-C99-based standards] (tgammaf): Likewise.
43534 [non-C99-based standards] (y0f): Likewise.
43535 [non-C99-based standards] (y1f): Likewise.
43536 [non-C99-based standards] (ynf): Likewise.
43537 [non-C99-based standards] (isnanf): Likewise.
43538 [non-C99-based standards] (acoshf): Likewise.
43539 [non-C99-based standards] (asinhf): Likewise.
43540 [non-C99-based standards] (atanhf): Likewise.
43541 [non-C99-based standards] (cbrtf): Likewise.
43542 [non-C99-based standards] (expm1f): Likewise.
43543 [non-C99-based standards] (ilogbf): Likewise.
43544 [non-C99-based standards] (log1pf): Likewise.
43545 [non-C99-based standards] (logbf): Likewise.
43546 [non-C99-based standards] (nextafterf): Likewise.
43547 [non-C99-based standards] (remainderf): Likewise.
43548 [non-C99-based standards] (rintf): Likewise.
43549 [non-C99-based standards] (scalbf): Likewise.
43550 [non-C99-based standards] (copysignl): Likewise.
43551 [non-C99-based standards] (exp2l): Likewise.
43552 [non-C99-based standards] (log2l): Likewise.
43553 [non-C99-based standards] (modfl): Allow.
43554 [non-C99-based standards] (erfl): Do not allow.
43555 [non-C99-based standards] (erfcl): Likewise.
43556 [non-C99-based standards] (gammal): Likewise.
43557 [non-C99-based standards] (hypotl): Likewise.
43558 [non-C99-based standards] (j0l): Likewise.
43559 [non-C99-based standards] (j1l): Likewise.
43560 [non-C99-based standards] (jnl): Likewise.
43561 [non-C99-based standards] (lgammal): Likewise.
43562 [non-C99-based standards] (tgammal): Likewise.
43563 [non-C99-based standards] (y0l): Likewise.
43564 [non-C99-based standards] (y1l): Likewise.
43565 [non-C99-based standards] (ynl): Likewise.
43566 [non-C99-based standards] (isnanl): Likewise.
43567 [non-C99-based standards] (acoshl): Likewise.
43568 [non-C99-based standards] (asinhl): Likewise.
43569 [non-C99-based standards] (atanhl): Likewise.
43570 [non-C99-based standards] (cbrtl): Likewise.
43571 [non-C99-based standards] (expm1l): Likewise.
43572 [non-C99-based standards] (ilogbl): Likewise.
43573 [non-C99-based standards] (log1pl): Likewise.
43574 [non-C99-based standards] (logbl): Likewise.
43575 [non-C99-based standards] (nextafterl): Likewise.
43576 [non-C99-based standards] (remainderl): Likewise.
43577 [non-C99-based standards] (rintl): Likewise.
43578 [non-C99-based standards] (scalbl): Likewise.
43579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43580 [non-C99-based standards] (FP_*): Do not allow.
43581 [C99-based standards] (FP_*): Change to
43582 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43583 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43584 allow.
43585 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43586 (SIG_ERR): Likewise.
43587 [X/Open-based standards] (SIG_HOLD): Likewise.
43588 (SIG_IGN): Likewise.
43589 (SIGABRT): Use macro-int-constant. Specify type. Require
43590 positive value.
43591 (SIGFPE): Likewise.
43592 (SIGILL): Likewise.
43593 (SIGINT): Likewise.
43594 (SIGSEGV): Likewise.
43595 (SIGTER): Likewise.
43596 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43597 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43598 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43599 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43600 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43601 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43602 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43603 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43604 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43605 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43606 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43607 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43608 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43609 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43610 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43611 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43612 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43613 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43614 [X/Open-based standards] (SIGTRAP): Likewise.
43615 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43616 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43617 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43618 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43619 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43620 allow.
43621
b9f1922d
IW
436222012-05-08 Ian Wienand <ianw@vmware.com>
43623
43624 [BZ #14080]
43625 * time/tzset.c (__tzset_parse_tz): Update default rules for
43626 daylight time changes in the Energy Policy Act of 2005.
43627
1db86e88
AJ
436282012-05-09 Andreas Jaeger <aj@suse.de>
43629
43630 [BZ #13983]
43631 * elf/ldconfig.c (parse_conf): Change string to make clear that
43632 ldconfig only issued a warning if ld.so.conf does not exist.
43633
dee4a4e3
DM
436342012-05-08 David S. Miller <davem@davemloft.net>
43635
ee0db190
DM
43636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43637 movxtod instead of popping the value on the stack.
43638
dee4a4e3
DM
43639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43640
6a43ec98
CD
436412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43642
43643 * config.h.in: Add HAVE_ARM_PCS_VFP.
43644
05c2c961
RMG
436452012-05-08 Roland Mc Grath <roland@hack.frob.com>
43646
bcfe3a54
ST
43647 [BZ #13979]
43648 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43649 checking but the checks are disabled for any reason.
05c2c961 43650
4b30f61a
L
436512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43652
43653 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43654 and ELF64_R_TYPE with ELFW(R_TYPE).
43655
eee2bc67
JM
436562012-05-08 Joseph Myers <joseph@codesourcery.com>
43657
7ea5391a
JM
43658 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43659 (ulimit): Likewise.
43660
eee2bc67
JM
43661 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43662 (settimeofday): Likewise.
43663
abb66a67
MF
436642012-05-08 Mike Frysinger <vapier@gentoo.org>
43665
43666 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43667 a struct th_u2 inside the union, and move tu_block/tu_code into
43668 a new th_u3 union of tu_block/tu_code inside of that. Move
43669 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43670 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43671 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43672 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43673 (th_stuff): Change to th_u1.tu_stuff.
43674 (th_data): Define.
43675 (th_msg): Change to th_u1.th_u2.tu_data.
43676
7f18b530
DM
436772012-05-07 David S. Miller <davem@davemloft.net>
43678
05760585
DM
43679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43680
7f18b530
DM
43681 [BZ #14074]
43682 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43683 (SETUP_PIC_REG): Use it.
43684 (SETUP_PIC_REG_LEAF): Use it.
43685
495fd99f
JM
436862012-05-07 Joseph Myers <joseph@codesourcery.com>
43687
43688 [BZ #13885]
43689 [BZ #13923]
43690 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43691 USE_AS_EXPM1L.
43692 (EXPL_FINITE): Likewise.
43693 (FLDLOG): Likewise.
43694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43695 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43696 e_expl.S.
43697 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43698 USE_AS_EXPM1L.
43699 (EXPL_FINITE): Likewise.
43700 (FLDLOG): Likewise.
43701 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43702 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43703 e_expl.S.
43704 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43705 test of -max_value argument for long double.
43706 * sysdeps/i386/fpu/libm-test-ulps: Update.
43707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43708
6693d694
DM
437092012-05-06 David S. Miller <davem@davemloft.net>
43710
43711 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43712 quad soft-float symbols whose references which are compiler
43713 generated.
43714 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43715
6c23e11c
JM
437162012-05-06 Joseph Myers <joseph@codesourcery.com>
43717
d8b82cad
JM
43718 [BZ #13884]
43719 [BZ #13914]
43720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43721 USE_AS_EXP10L.
43722 (EXPL_FINITE): Likewise.
43723 (FLDLOG): Likewise.
43724 (c0): Likewise.
43725 (c1): Likewise.
43726 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43727 Adjust comments for base varying.
43728 (__expl_finite): Change alias to EXPL_FINITE.
43729 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43730 e_expl.S.
43731 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43732 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43733 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43734 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43736 USE_AS_EXP10L.
43737 (EXPL_FINITE): Likewise.
43738 (FLDLOG): Likewise.
43739 (c0): Likewise.
43740 (c1): Likewise.
43741 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43742 Adjust comments for base varying.
43743 (__expl_finite): Change alias to EXPL_FINITE.
43744 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43745 tests for bugs.
43746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43747
6c23e11c
JM
43748 [BZ #14064]
43749 * math/libm-test.inc (check_float_internal): Correct ulp
43750 calculation for subnormal expected results.
43751
29ba805c
AJ
437522012-05-06 Andreas Jaeger <aj@suse.de>
43753
43754 * Makeconfig (+math-flags): New, set to -frounding-math.
43755 (+cflags): Add +math-flags so that all of glibc gets compiled with
43756 it.
43757
43758 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43759
7b17aeda
JM
437602012-05-05 Joseph Myers <joseph@codesourcery.com>
43761
5779f134
JM
43762 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43763 Disable one test.
43764
41498f4d
JM
43765 [BZ #13787]
43766 [BZ #13922]
43767 [BZ #14036]
43768 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43769 (__ieee754_expl): Allow for and saturate large arguments.
43770 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43771 (u_threshold): Likewise.
43772 (__exp): Call __ieee754_exp before checking for overflow and
43773 underflow.
43774 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43775 (u_threshold): Likewise.
43776 (__expf): Call __ieee754_expf before checking for overflow and
43777 underflow.
43778 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43779 (u_threshold): Likewise.
43780 (__expl): Call __ieee754_expl before checking for overflow and
43781 underflow.
43782 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43783 (__ieee754_expl): Allow for and saturate large arguments.
43784 * math/libm-test.inc (exp_test): Add another test. Do not allow
43785 missing overflow exception on overflow.
43786 (expm1_test): Do not allow missing overflow exception on overflow.
43787
6698b8bf
JM
43788 * sysdeps/i386/fpu/e_expl.c: Move to ...
43789 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43790 rather than using inline asm.
43791 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43792 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43793 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43794
7b17aeda
JM
43795 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43796 (nice): Likewise.
43797 (poll): Likewise.
43798 (signal): Likewise.
43799 (time): Likewise.
43800 (times): Likewise.
43801
f7c85819
JM
438022012-05-04 Joseph Myers <joseph@codesourcery.com>
43803
43804 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43805 sysdeps/unix/common/syscalls.list.
43806 (fchmod): Likewise.
43807 (fchown): Likewise.
43808 (ftruncate): Likewise.
43809 (getrusage): Likewise.
43810 (gettimeofday): Likewise.
43811 (setpgid): Likewise.
43812 (setregid): Likewise.
43813 (setreuid): Likewise.
43814 (sigaction): Likewise.
43815 (truncate): Likewise.
43816 (vhangup): Likewise.
43817 * sysdeps/unix/common/syscalls.list: Remove file.
43818 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43819 * sysdeps/unix/sysv/linux/Implies: Likewise.
43820
336270d0
L
438212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43822
43823 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43825 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43826 Moved to ...
43827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43828 Here.
43829 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43830 to ...
43831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43832 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43833 to ...
43834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43835 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43836 to ...
43837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43838 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43839 to ...
43840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43841 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43842 to ...
43843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43844 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43845 to ...
43846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43847 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43848 to ...
43849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43850 Here.
43851 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43852 to ...
43853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43854 Here.
43855 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43856 to ...
43857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43858 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43859 Moved to ...
43860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43861 Here.
43862 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43863 to ...
43864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43865
d128e450
JM
438662012-05-04 Joseph Myers <joseph@codesourcery.com>
43867
fa8ee516
JM
43868 * sysdeps/unix/common/bits/dirent.h: Remove file.
43869 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43870
d128e450
JM
43871 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43872 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43873 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43874 * sysdeps/unix/bsd/isatty.c: Likewise.
43875 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43876 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43877 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43878
ff8faaf0 438792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43880
62881be4 43881 [BZ #13563]
31dc8730
AZ
43882 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43883 long double comparison inaccuracies.
43884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43886
6fef930c
AS
438872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43888
43889 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43890 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43891
8f203e6c
JM
438922012-05-04 Joseph Myers <joseph@codesourcery.com>
43893
43894 [BZ #14049]
43895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43896 nonzero digits before rounding a hex value.
43897 * stdlib/tst-strtod.c (tests): Add another test.
43898
5197d9c2
AK
438992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43900
43901 * sysdeps/s390/fpu/libm-test-ulps: Update.
43902
f0c1dedf
AJ
439032012-05-03 Andreas Jaeger <aj@suse.de>
43904
43905 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43906 does not get optimized out.
43907 (malloc_opt_barrier): New.
43908
a65ef2ae 439092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43910 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43911
2b942cb7 43912 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43913 intermediate file deletion.
2b942cb7 43914 (generated): Add .symlist files.
a65ef2ae 43915
54b71e02
JM
439162012-05-03 Joseph Myers <joseph@codesourcery.com>
43917
43918 [BZ #13775]
43919 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43920 Redirect under this condition.
43921 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43922 [__USE_GNU] (__dprintf_chk): Not under this condition.
43923 [__USE_GNU] (__vdprintf_chk): Likewise.
43924 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43925 under this condition.
43926 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43927 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43928 [__USE_XOPEN2K8] (vdprintf): Likewise.
43929 [__USE_GNU] (__dprintf_chk): Not under this condition.
43930 [__USE_GNU] (__vdprintf_chk): Likewise.
43931 [__USE_GNU] (dprintf): Likewise.
43932 [__USE_GNU] (vdprintf): Likewise.
43933
d3dfcc41
RM
439342012-05-03 Roland McGrath <roland@hack.frob.com>
43935
43936 * elf/Makefile (common-generated): Set this instead of generated for
43937 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43938 $(all-built-dso)-derived lists.
43939
7ac30cc5
AJ
439402012-05-03 Andreas Jaeger <aj@suse.de>
43941
0c51e550
AJ
43942 * sysdeps/i386/fpu/libm-test-ulps: Update.
43943
7ac30cc5
AJ
43944 * FAQ: Removed.
43945 * FAQ.in: Likewise.
43946 * scripts/gen-FAQ.pl: Likewise.
43947 * manual/install.texi (Installation): Point to online location of
43948 FAQ.
43949 * Makefile (files-for-dist): Remove FAQ.
43950 (FAQ): Remove.
43951
d4c2917f
AM
439522012-05-02 Allan McRae <allan@archlinux.org>
43953
43954 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43955 (LDFLAGS-reldepmod5.so): Likewise.
43956 (LDFLAGS-reldep6mod1.so): Likewise.
43957 (LDFLAGS-reldep6mod4.so): Likewise.
43958 (LDFLAGS-reldep8mod3.so): Likewise.
43959 (LDFLAGS-unload4mod1.so): Likewise.
43960 (LDFLAGS-unload4mod2.so): Likewise.
43961 (LDFLAGS-tst-initorder): Likewise.
43962 (LDFLAGS-tst-initordera2.so): Likewise.
43963 (LDFLAGS-tst-initordera3.so): Likewise.
43964 (LDFLAGS-tst-initordera4.so): Likewise.
43965 (LDFLAGS-tst-initorderb2.so): Likewise.
43966 (LDFLAGS-noload): Likewise.
43967 (LDFLAGS-next): Likewise.
43968 (LDFLAGS-order2mod1.so): Likewise.
43969 (LDFLAGS-order2mod2.so): Likewise.
43970 (LDFLAGS-tst-initorder2): Likewise.
43971 (LDFLAGS-tst-initorder2a.so): Likewise.
43972 (LDFLAGS-tst-initorder2b.so): Likewise.
43973 (LDFLAGS-tst-initorder2c.so): Likewise.
43974 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43975
d77f993f
DM
439762012-05-02 David S. Miller <davem@davemloft.net>
43977
43978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43979
171a70b4
PP
439802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43981
43982 [BZ #14055]
43983 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43984
0be196ad
AJ
439852012-05-02 Andreas Jaeger <aj@suse.de>
43986
43987 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43988 since we manipulate rounding mode.
43989 (CPPFLAGS-test-idouble.c): Likewise.
43990 (CPPFLAGS-test-ifloat.c): Likewise.
43991 (CFLAGS-test-ldouble.c): Likewise.
43992 (CFLAGS-test-double.c): Likewise.
43993 (CFLAGS-test-float.c): Likewise.
43994 (CFLAGS-test-misc.c): Likewise.
43995 (CFLAGS-test-test-fenv.c): Likewise.
43996
4f9d04aa
AZ
439972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43998
2b942cb7
RM
43999 [BZ #2550]
44000 [BZ #2570]
44001 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44002 comparisons to determine direction to adjust input.
4f9d04aa 44003
82a79e7d
RM
440042012-05-01 Roland McGrath <roland@hack.frob.com>
44005
f5a01ca9
RM
44006 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44007 output to the target.
44008
90fe4186
RM
44009 * scripts/localplt.awk: New file.
44010 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44011 (check-localplt-CFLAGS): Variable removed.
44012 ($(all-built-dso:=.jmprel)): New static pattern rule.
44013 (generated): Add those targets.
44014 (localplt-built-dso): New variable.
44015 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44016
44017 * elf/check-localplt.c: File removed.
44018
82397ed6
RM
44019 * scripts/check-execstack.awk: New file.
44020 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44021 (check-execstack-CFLAGS): Variable removed.
44022 ($(objpfx)check-execstack.h): Target removed.
44023 ($(objpfx)execstack-default): New target.
44024 (generated): Add that instead of check-execstack.h.
44025 ($(all-built-dso:=.phdr)): New static pattern rule.
44026 (generated): Add those targets.
44027 * elf/check-execstack.c: File removed.
44028
82a79e7d
RM
44029 * scripts/check-textrel.awk: New file.
44030 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44031 (check-textrel-CFLAGS): Variable removed.
44032 (all-built-dso): Use := to define.o
44033 ($(all-built-dso:=.dyn)): New static pattern rule.
44034 (generated): Add those targets.
44035 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44036 * config.make.in (READELF): New substituted variable.
44037 * elf/check-textrel.c: File removed.
44038
62fde54f 440392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44040
615605c9
JM
44041 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44042 allow.
44043 * conform/data/ctype.h-data [C99-based standards] (isblank):
44044 Expect function.
44045 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44046 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44047 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44048 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44049 Specify type. Require positive value.
44050 (EILSEQ): Likewise.
44051 (ERANGE): Likewise.
44052 [ISO || POSIX] (EILSEQ): Do not expect.
44053 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44054 Specify type. Require positive value.
44055 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44056 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44057 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44058 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44059 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44060 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44061 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44062 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44063 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44064 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44065 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44066 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44067 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44068 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44069 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44070 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44071 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44072 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44073 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44074 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44075 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44076 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44077 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44078 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44079 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44080 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44081 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44082 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44083 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44084 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44085 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44086 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44087 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44088 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44089 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44090 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44091 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44092 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44093 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44094 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44095 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44096 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44097 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44098 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44099 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44100 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44101 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44102 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44103 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44104 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44105 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44106 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44107 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44108 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44109 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44110 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44111 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44112 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44113 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44114 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44115 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44116 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44117 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44118 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44119 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44120 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44121 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44122 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44123 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44124 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44125 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44126 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44127 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44128 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44129 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44130 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44131 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44132 Require >= 2.
44133 (FLT_ROUNDS): Expect as macro, not constant.
44134 (FLT_MANT_DIG): Use macro-int-constant.
44135 (DBL_MANT_DIG): Likewise.
44136 (LDBL_MANT_DIG): Likewise.
44137 (FLT_DIG): Likewise.
44138 (DBL_DIG): Likewise.
44139 (LDBL_DIG): Likewise.
44140 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44141 (DBL_MIN_EXP): Likewise.
44142 (LDBL_MIN_EXP): Likewise.
44143 (FLT_MAX_EXP): Use macro-int-constant.
44144 (DBL_MAX_EXP): Likewise.
44145 (LDBL_MAX_EXP): Likewise.
44146 (FLT_MAX_10_EXP): Likewise.
44147 (DBL_MAX_10_EXP): Likewise.
44148 (LDBL_MAX_10_EXP): Likewise.
44149 (FLT_MAX): Use macro-constant.
44150 (DBL_MAX): Likewise.
44151 (LDBL_MAX): Likewise.
44152 (FLT_EPSILON): Use macro-constant. Give upper bound.
44153 (DBL_EPSILON): Likewise.
44154 (LDBL_EPSILON): Likewise.
44155 (FLT_MIN): Likewise.
44156 (DBL_MIN): Likewise.
44157 (LDBL_MIN): Likewise.
44158 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44159 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44160 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44161 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44162 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44163 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44164 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44165 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44166 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44167 [ISO11] (FLT_TRUE_MIN): Likewise.
44168 [ISO11] (LDBL_TRUE_MIN): Likewise.
44169 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44170 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44171 (SCHAR_MIN): Use macro-int-constant. Specify type.
44172 (SCHAR_MAX): Likewise.
44173 (UCHAR_MAX): Likewise.
44174 (CHAR_MIN): Likewise.
44175 (CHAR_MAX): Likewise.
44176 (MB_LEN_MAX): Use macro-int-constant.
44177 (SHRT_MIN): Use macro-int-constant. Specify type.
44178 (SHRT_MAX): Likewise.
44179 (USHRT_MAX): Likewise.
44180 (INT_MAX): Likewise.
44181 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44182 bound negative.
44183 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44184 bound with "U".
44185 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44186 bound with "L".
44187 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44188 bound negative. Suffix upper bound with "L".
44189 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44190 bound with "UL".
44191 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44192 Specify type.
44193 [C99-based standards] (LLONG_MAX): Likewise.
44194 [C99-based standards] (ULLONG_MAX): Likewise.
44195 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44196 == 0.
44197 [ISO11] (max_align_t): Require type.
44198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44199
c9140a62
JM
44200 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44201 from $CFLAGS, without defining away __attribute__ calls.
44202 (checknamespace): Use $CFLAGS_namespace.
44203
9af0bf29
JM
44204 * conform/conformtest.pl (@keywords): Only include C99 keywords
44205 for standards based on C99 or C11.
44206
343222a2
JM
44207 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44208 Disable tests.
44209 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44210 UNIX98]: Likewise.
44211
661f8cf0
JM
44212 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44213 usability of symbols in #if.
44214
ee74b9cb
JM
44215 * conform/conformtest.pl: If macro or constant types start
44216 "promoted:", expect the symbol to be of the following type
44217 promoted by the integer promotions.
62fde54f 44218
aafc49b3
JM
44219 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44220 in one place. Also handle "macro-constant".
44221
fefdf574
JM
44222 * conform/conformtest.pl: Only accept expected macro values with
44223 "==". Parse all "macro" lines in one place.
44224 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44225
f2d922fe
JM
44226 * conform/conformtest.pl: Handle braced types on "constant" lines
44227 instead of handling "typed-constant".
44228 * conform/data/signal.h-data: Use "constant" instead of
44229 "typed-constant".
44230
d22956c9
JM
44231 * conform/conformtest.pl: Handle "optional-" at start of lines in
44232 one place rather than duplicating several cases. Handle each
44233 format of "macro" line with initial "optional-".
44234
028e2e38
JM
44235 * conform/conformtest.pl: Only accept expected constant or
44236 optional-constant values with "==". Parse all "constant" lines in
44237 one place. Parse all "optional-constant" lines in one place.
44238 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44239 * conform/data/fmtmsg.h-data: Likewise.
44240 * conform/data/netinet/in.h-data: Likewise.
44241 * conform/data/tar.h-data: Likewise.
44242 * conform/data/limits.h-data: Use "==" form on "constant" and
44243 "optional-constant" lines.
44244
1b8f2850
JM
44245 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44246 Use -std=c99 for XOPEN2K.
44247 (@knownproblems): Remove.
44248 (newtoken): Don't check %isknown.
44249
a05a144b
JM
44250 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44251 Do not expect macro.
44252 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44253 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44254 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44264 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44265 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44282 [XPG3] (acosh): Likewise.
44283 [XPG3] (asinh): Likewise.
44284 [XPG3] (atanh): Likewise.
44285 [XPG3] (cbrt): Likewise.
44286 [XPG3] (expm1): Likewise.
44287 [XPG3] (ilogb): Likewise.
44288 [XPG3] (log1p): Likewise.
44289 [XPG3] (logb): Likewise.
44290 [XPG3] (nextafter): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44293 [XPG3] (remainder): Likewise.
44294 [XPG3] (rint): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44302 [UNIX98 || XOPEN2K] (scalb): Expect.
44303 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44304 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44313 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44314 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44315 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44316 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44317 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44318 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44319 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44320 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44323 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44324 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44325 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44326 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44327 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44328 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44329 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44330 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44331 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44332 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44333 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44334 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44335 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44336 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44337 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44338 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44339 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44340 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44341 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44342 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44343 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44344 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44345 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44346 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44347 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44348 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44349 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44350 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44351 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44352 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44353 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44354 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44355 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44356 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44357 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44358 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44359 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44360 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44361 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44362 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44363 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44364 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44365 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44366 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44367 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44368 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44369 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44370 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44371 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44372 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44373 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44374 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44375 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44376 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44377 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44378 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44379 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44380 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44381 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44382 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44383 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44384 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44385 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44386 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44387 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44388 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44389 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44390 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44391 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44392 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44393 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44394 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44395 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44396 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44397 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44398 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44399 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44400 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44401 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44402 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44403 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44404 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44405 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44406 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44407 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44408 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44409 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44410 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44411 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44412 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44413 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44414 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44415 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44416 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44417 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44418 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44419 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44420 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44421 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44422 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44423 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44424 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44425 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44426 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44427 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44428 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44429 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44430 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44431 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44432 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44433 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44434 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44435 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44436 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44437 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44438 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44439 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44440
73c5ebe3
JM
44441 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44442 _XOPEN_SOURCE_EXTENDED for XPG4.
44443
39c33b6c
JM
44444 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44445
62fde54f
JM
44446 * Makeconfig (localtime): Remove variable.
44447 (inst_localtime-file): Likewise.
44448
0741d64c
AS
444492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44450
44451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44452 Update.
44453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44454 Update.
44455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44456 Update.
44457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44458 Update.
44459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44460 Update.
44461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44462 Update.
44463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44464 Update.
44465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44466 Update.
44467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44468 Update.
44469
7cb029ee
JM
444702012-05-01 Joseph Myers <joseph@codesourcery.com>
44471
44472 [BZ #2550]
44473 [BZ #2570]
44474 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44475 comparisons to determine direction to adjust input.
44476 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44477 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44478 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44479 Likewise.
44480 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44481 Likewise.
44482 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44483 Likewise.
44484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44486 Likewise.
44487 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44488 Likewise.
44489 * math/libm-test.inc (nexttoward_test): Add more tests.
44490
412bd966
AS
444912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44492
44493 [BZ #14040]
44494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44495 in version GLIBC_2.1, not GLIBC_2.0.
44496 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44497 Likewise.
44498
9568c0c2
JM
444992012-04-30 Joseph Myers <joseph@codesourcery.com>
44500
adfbc8ac
JM
44501 [BZ #13942]
44502 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44503 (1 - x) * (1 + x).
44504 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44505 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44506 * math/libm-test.inc (acos_test): Add more tests.
44507 (asin_test): Likewise.
44508 * sysdeps/i386/fpu/libm-test-ulps: Update.
44509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44510
5ba3cc69
JM
44511 [BZ #14034]
44512 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44513 of square root.
44514 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44515 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44516 * math/libm-test.inc (acos_test_tonearest): New function.
44517 (acos_test_towardzero): Likewise.
44518 (acos_test_downward): Likewise.
44519 (acos_test_upward): Likewise.
44520 (asin_test_tonearest): Likewise.
44521 (asin_test_towardzero): Likewise.
44522 (asin_test_downward): Likewise.
44523 (asin_test_upward): Likewise.
44524 (main): Call the new functions.
44525 * sysdeps/i386/fpu/libm-test-ulps: Update.
44526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44527
9568c0c2
JM
44528 [BZ #13884]
44529 [BZ #13924]
44530 * math/e_exp10.c: Include <float.h>.
44531 (__ieee754_exp10): Handle underflow here rather than multiplying
44532 large negative argument by M_LN10.
44533 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44534 of __ieee754_expf.
44535 * math/e_exp10l.c: Include <float.h>.
44536 (__ieee754_exp10l): Handle underflow here rather than multiplying
44537 large negative argument by M_LN10l.
44538 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44539 spurious overflow exception on underflow.
44540
5ac3ea17
MP
445412012-04-29 Marek Polacek <polacek@redhat.com>
44542
44543 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44544 (__fortify_function): New macro.
44545 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44546 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44547 __extern_always_inline.
44548 * libio/bits/stdio2.h: Likewise.
44549 * libio/bits/stdio.h: Likewise.
44550 * string/string.h: Likewise.
44551 * string/bits/string3.h: Likewise.
44552 * include/stdio.h: Likewise.
44553 * stdlib/bits/stdlib.h: Likewise.
44554 * stdlib/stdlib.h: Likewise.
44555 * rt/bits/mqueue2.h: Likewise.
44556 * rt/mqueue.h: Likewise.
44557 * posix/bits/unistd.h: Likewise.
44558 * posix/unistd.h: Likewise.
44559 * io/bits/poll2.h: Likewise.
44560 * io/bits/fcntl2.h: Likewise.
44561 * io/fcntl.h: Likewise.
44562 * io/sys/poll.h: Likewise.
44563 * misc/bits/syslog.h: Likewise.
44564 * misc/bits/syslog-ldbl.h: Likewise.
44565 * misc/sys/syslog.h: Likewise.
44566 * socket/bits/socket2.h: Likewise.
44567 * socket/sys/socket.h: Likewise.
44568 * debug/tst-chk1.c: Likewise.
44569 * wcsmbs/bits/wchar2.h: Likewise.
44570 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44571 * wcsmbs/wchar.h: Likewise.
44572
ecf0ebfb
AJ
445732012-04-29 Andreas Jaeger <aj@suse.de>
44574
44575 * Makerules (tests): Remove enable-check-abi protection.
44576 (check-abi-warn): Remove.
44577 (check-abi-%): Remove check-abi-warn usage.
44578
44579 * configure.in: Remove check-abi configure option.
44580 * configure: Regenerated.
44581 * config.make.in (enable-check-abi): Remove.
44582
6d5c57fa
AS
445832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44584
24c5d07e 44585 [BZ #14033]
ded5180a
AS
44586 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44587 double functions to double *_finite functions.
44588
7e0d315d
AS
44589 [BZ #13941]
44590 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44591 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44592 LDBL_MIN_EXP.
44593 * stdio-common/Makefile (tests): Add tst-sprintf3.
44594 * stdio-common/tst-sprintf3.c: New file.
44595
6d5c57fa
AS
44596 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44597 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44598
0749ff8b
JM
445992012-04-28 Joseph Myers <joseph@codesourcery.com>
44600
44601 * conform/conformtest.pl: Remove duplicate typed-constant
44602 handling.
44603
8dbd5d7b
DM
446042012-04-28 David S. Miller <davem@davemloft.net>
44605
44606 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44607 (check-abi-%): Remove AWK script prerequisite and explicit
44608 abilist directory.
44609 (check-abi): Rewrite to just diff the symlist with the abilist.
44610 (config-tls, config-abi-config): Delete, no longer used.
44611 (update-abi-%): Remove AWK script and explicit abilist directory.
44612 (update-abi): Rewrite to simply compare and conditionally copy the
44613 symlist and the sysdep abilist file. Remove update-abi-config
44614 checks.
44615 * abilist/ld.abilist: Remove.
44616 * abilist/libBrokenLocale.abilist: Remove.
44617 * abilist/libanl.abilist: Remove.
44618 * abilist/libcrypt.abilist: Remove.
44619 * abilist/libdl.abilist: Remove.
44620 * abilist/librt.abilist: Remove.
44621 * abilist/libthread_db.abilist: Remove.
44622 * abilist/libutil.abilist: Remove.
44623 * scripts/extract-abilist.awk: Remove.
44624 * scripts/merge-abilist.awk: Remove.
44625 * sysdeps/generic/libcidn.abilist: New file.
44626 * sysdeps/generic/libnss_compat.abilist: New file.
44627 * sysdeps/generic/libnss_db.abilist: New file.
44628 * sysdeps/generic/libnss_dns.abilist: New file.
44629 * sysdeps/generic/libnss_files.abilist: New file.
44630 * sysdeps/generic/libnss_hesiod.abilist: New file.
44631 * sysdeps/generic/libnss_nis.abilist: New file.
44632 * sysdeps/generic/libnss_nisplus.abilist: New file.
44633 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44634 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44635 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44636 file.
44637 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44638 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44639 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44640 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44641 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44642 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44643 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44644 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44645 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44646 file.
44647 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44648 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44649 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44650 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44651 file.
44652 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44653 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44654 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44655 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44656 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44657 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44658 file.
44659 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44660 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44661 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44662 file.
44663 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44665 New file.
44666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44667 New file.
44668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44669 New file.
44670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44671 New file.
44672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44673 New file.
44674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44675 New file.
44676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44677 New file.
44678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44679 New file.
44680 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44681 New file.
44682 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44683 New file.
44684 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44685 New file.
44686 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44687 New file.
44688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44689 New file.
44690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44691 file.
44692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44693 New file.
44694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44695 New file.
44696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44697 file.
44698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44699 New file.
44700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44701 New file.
44702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44703 file.
44704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44705 New file.
44706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44707 New file.
44708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44709 New file.
44710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44711 New file.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44713 New file.
44714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44715 New file.
44716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44718 file.
44719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44720 New file.
44721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44722 file.
44723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44724 file.
44725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44726 file.
44727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44728 file.
44729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44730 file.
44731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44732 New file.
44733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44734 file.
44735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44736 file.
44737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44738 New file.
44739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44740 file.
44741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44743 file.
44744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44745 New file.
44746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44747 file.
44748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44749 file.
44750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44751 file.
44752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44753 file.
44754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44755 file.
44756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44757 New file.
44758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44759 file.
44760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44761 file.
44762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44763 New file.
44764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44765 file.
44766 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44767 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44768 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44769 file.
44770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44771 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44772 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44774 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44775 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44776 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44777 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44778 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44779 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44782 file.
44783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44784 New file.
44785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44786 file.
44787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44788 file.
44789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44790 file.
44791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44792 file.
44793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44794 file.
44795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44796 New file.
44797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44798 New file.
44799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44800 file.
44801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44802 New file.
44803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44804 file.
44805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44807 file.
44808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44809 New file.
44810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44811 file.
44812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44813 file.
44814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44815 file.
44816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44817 file.
44818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44819 file.
44820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44821 New file.
44822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44823 New file.
44824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44825 file.
44826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44827 New file.
44828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44829 file.
44830
41d73a1b
JM
448312012-04-28 Joseph Myers <joseph@codesourcery.com>
44832
44833 * conform/conformtest.pl: Fix typo in handling typed-constant from
44834 allow-header.
44835
28aeeda4
JM
448362012-04-27 Joseph Myers <joseph@codesourcery.com>
44837
adae8f5e
JM
44838 * README: Cut down references to pre-2.6 Linux kernels and
44839 Linuxthreads. Update lists of configurations in libc and ports
44840 and sort alphabetically. Say "or newer" with Linux kernel version
44841 requirements.
44842
28aeeda4
JM
44843 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44844
a462cb63
RA
448452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44846
44847 [BZ #887]
44848 * math/libm-test.inc (logb_test_downward): New test to expose
44849 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44850 rounding mode.
44851
6ad3493e
JM
448522012-04-27 Joseph Myers <joseph@codesourcery.com>
44853
44854 [BZ #14027]
44855 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44856 to be done.
44857 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44858 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44859
2ce4f015
JM
448602012-04-26 Joseph Myers <joseph@codesourcery.com>
44861
5aeb141a
JM
44862 * sysdeps/unix/i386/brk.S: Remove file.
44863 * sysdeps/unix/i386/dl-brk.S: Likewise.
44864 * sysdeps/unix/i386/pipe.S: Likewise.
44865 * sysdeps/unix/i386/sigreturn.S: Likewise.
44866 * sysdeps/unix/i386/syscall.S: Likewise.
44867 * sysdeps/unix/i386/vfork.S: Likewise.
44868 * sysdeps/unix/i386/wait.S: Likewise.
44869
7143acae
JM
44870 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44871 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44872
2ce4f015
JM
44873 * configure.in (arm*-none*): Do not allow without
44874 --enable-hacker-mode.
44875 (netbsd*): Remove case setting base_os.
44876 (386bsd*): Likewise.
44877 (freebsd*): Likewise.
44878 (bsdi*): Likewise.
44879 (osf*): Likewise.
44880 (sunos*): Likewise.
44881 (ultrix*): Likewise.
44882 (newsos*): Likewise.
44883 (dynix*): Likewise.
44884 (*bsd*): Likewise.
44885 (sysv*): Likewise.
44886 (isc*): Likewise.
44887 (esix*): Likewise.
44888 (sco*): Likewise.
44889 (minix*): Likewise.
44890 (irix4*): Likewise.
44891 (irix6*): Likewise.
44892 (solaris[2-9]*): Likewise.
44893 (none): Likewise.
44894 * configure: Regenerated.
44895
0ac229c8
AZ
448962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44897
44898 [BZ #11521]
44899 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44900 overflow or cancellation in calculating denominator.
44901 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44902 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44903 down expression to avoid unexpected rounding in newer GCCs.
44904 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44905
33f244f4
DM
449062012-04-26 David S. Miller <davem@davemloft.net>
44907
44908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44909 long-double compat symbols.
44910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44923
cfa1f3e8
DM
449242012-04-25 David S. Miller <davem@davemloft.net>
44925
44926 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44927 HWCAP_* values only after the memory barriers have been defined.
44928 (atomic_full_barrier): Define.
44929 (atomic_read_barrier): Define.
44930 (atomic_write_barrier): Define.
44931
6e236b92
SP
449322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44933
44934 * shlib-versions: Add libgcc_s version information.
44935 * sysdeps/generic/libgcc_s.h: Remove.
44936 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44937 libgcc_s.h.
44938 * sysdeps/gnu/unwind-resume.c: Likewise.
44939 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44940
aab39a09
DM
449412012-04-25 David S. Miller <davem@davemloft.net>
44942
44943 * sysdeps/unix/sparc/brk.S: Delete.
44944 * sysdeps/unix/sparc/dl-brk.S: Delete.
44945 * sysdeps/unix/sparc/pipe.S: Delete.
44946 * sysdeps/unix/sparc/sysdep.S: Delete.
44947 * sysdeps/unix/sparc/sysdep.h: Delete.
44948 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44949 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44950 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44951 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44952 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44953 (JUMPTARGET): Remove.
44954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44955 sysdeps/unix/sparc/sysdep.h
44956 (ENTRY, END): Remove.
44957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44958
a3cc4f48
JM
449592012-04-25 Joseph Myers <joseph@codesourcery.com>
44960
2ed8cda2
JM
44961 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44962 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44963 -DIS_IN_build.
44964
35d76d59
JM
44965 * timezone/README: Update upstream location and email address for
44966 tzcode and tzdata.
44967 * timezone/zdump.c: Update from tzcode 2012b.
44968 * timezone/zic.c: Likewise.
44969
a3cc4f48
JM
44970 * configure.in (libc_cv_as_needed): Remove test.
44971 * configure: Regenerated.
44972 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44973 conditional definition.
44974 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44975 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44976 * config.make.in (have-as-needed): Remove variable.
44977
ceab42c3
SP
449782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44979 Paul Pluzhnikov <ppluzhnikov@google.com>
44980
44981 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44982 strings correctly.
44983
3ce2865f
CLT
449842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44985
44986 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44987 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44988 * sysdeps/sh/strlen.S: Likewise.
44989
f37e0d68
JM
449902012-04-24 Joseph Myers <joseph@codesourcery.com>
44991
ae186e9a
JM
44992 * sysdeps/unix/fork.S: Remove file.
44993 * sysdeps/unix/i386/fork.S: Likewise.
44994 * sysdeps/unix/sparc/fork.S: Likewise.
44995
b96914af
JM
44996 * sysdeps/unix/system.c: Remove file.
44997 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44998
f37e0d68
JM
44999 * sysdeps/unix/getegid.S: Remove file.
45000 * sysdeps/unix/geteuid.S: Likewise.
45001
87ef29ca
RM
450022012-04-24 Roland McGrath <roland@hack.frob.com>
45003
83bcd236
RM
45004 * scripts/check-localplt.awk: New file.
45005 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45006 of diff.
45007 * scripts/data/localplt-generic.data: Add a comment.
45008
87ef29ca
RM
45009 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45010 NODE when __dir_mkfile failed.
45011 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45012 Reported by Ludovic Courtès <ludo@gnu.org>.
45013
e5a6e567
AJ
450142012-04-24 Andreas Jaeger <aj@suse.de>
45015
45016 * Makerules (common-clean): Also remove gen-as-const-headers
45017 files.
45018
c1820385
JM
450192012-04-24 Joseph Myers <joseph@codesourcery.com>
45020
45021 * Makerules (native-compile): Do not change working directory for
45022 build. Use $(OUTPUT_OPTION) in command.
45023 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45024
94e02fc4
AZ
450252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45026
45027 [BZ #13886]
45028 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45029 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45030 * math/libm-test.inc (floor_test): Add more tests.
45031 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45032
3a533ca3
JM
450332012-04-24 Joseph Myers <joseph@codesourcery.com>
45034
940ab4b3
JM
45035 * sysdeps/unix/getdents.c: Remove file.
45036 * sysdeps/unix/sysv/getdents.c: Likewise.
45037 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45038
90e037bd
JM
45039 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45040 sysdeps/unix/mman/syscalls.list.
45041 (mmap): Likewise.
45042 (mprotect): Likewise.
45043 (msync): Likewise.
45044 (munmap): Likewise.
45045 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45046 * sysdeps/unix/mman/syscalls.list: Remove.
45047 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45048
3a533ca3
JM
45049 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45050 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45051 * configure: Regenerated.
45052 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45053 $(libgcc_s_suffix).
45054 * config.make.in (libgcc_s_suffix): Remove variable.
45055
1ad743de
JM
450562012-04-23 Joseph Myers <joseph@codesourcery.com>
45057
4ad451e2
JM
45058 * sysdeps/unix/sysv/gethostname.c: Move to ...
45059 * sysdeps/posix/gethostname.c: ... here.
45060
5e37ce39
JM
45061 * sysdeps/unix/execve.S: Remove file.
45062
1ad743de
JM
45063 * sysdeps/unix/_exit.S: Remove file.
45064
4e681b5b
AJ
450652012-04-23 Andreas Jaeger <aj@suse.de>
45066
45067 [BZ #13739]
45068 * manual/Makefile: Remove make dist support, there's no
45069 need for a stand-alone documentation tar ball.
45070 (TEXI2DVI): Define always, it's not in Makeconfig.
45071 (dist): Removed.
45072 (tar-it): Removed.
45073 (edition): Removed.
45074 (glibc-doc-$(edition).tar): Removed
45075 (%.Z): Removed.
45076 (%.gz): Removed.
45077 (%.uu): Removed.
45078 (ETAGS): Remove, it's in Makeconfig.
45079 (move-if-change): Remove, it's in Makeconfig.
45080
38686a03 450812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45082
45083 [BZ #13970]
45084 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45085 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45086 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45087 (strtod_l, strtof_l, strtold_l): Remove __wur.
45088 It is not necessarily an error to ignore strtol's return value.
45089 One can reliably look at the stored endptr to decide whether
45090 the number had valid syntax.
45091
7c0616fa
AJ
450922012-04-21 Andreas Jaeger <aj@suse.de>
45093
803cb6b7 45094 [BZ #13739]
7c0616fa
AJ
45095 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45096
b0fe253f
JM
450972012-04-21 Joseph Myers <joseph@codesourcery.com>
45098
45099 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45100 * sysdeps/unix/sysv/Versions: Remove file.
45101
8280f22d
MT
451022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45103
45104 [BZ #13927]
45105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45106
75ce411f 451072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45108
45109 [BZ #7064]
45110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45111 version from __vm86.
45112
097d59fa
JM
451132012-04-20 Joseph Myers <joseph@codesourcery.com>
45114
a90f3bcb
JM
45115 * sysdeps/unix/common/lxstat.c: Remove file.
45116 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45117
edc7ea78
JM
45118 * sysdeps/unix/sysv/Makefile: Remove file.
45119
cb78c221
JM
45120 * sysdeps/unix/sysv/direct.h: Remove file.
45121
efa6a45f
JM
45122 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45123 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45124 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45125 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45126 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45127 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45128 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45129
9c9f2d0c
JM
45130 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45131
4541c83b
JM
45132 * sysdeps/unix/xmknod.c: Remove file.
45133 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45134
f5d153a0
JM
45135 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45136
aa746595
JM
45137 * sysdeps/unix/sysv/i386/time.S: Remove file.
45138
cce5905e
JM
45139 * sysdeps/unix/fxstat.c: Remove file.
45140 * sysdeps/unix/xstat.c: Likewise.
45141 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45142
37fa3841
JM
45143 * sysdeps/unix/sysv/sigaction.c: Remove file.
45144
ff1962a3
JM
45145 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45146 (sysdep_headers): Remove variable.
45147 [termio.h not in sysdep_headers] (generated): Likewise.
45148 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45149 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45150 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45151 * sysdeps/unix/sysv/tcflow.c: Likewise.
45152 * sysdeps/unix/sysv/tcflush.c: Likewise.
45153 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45154 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45155 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45156 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45157 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45158
e7740d31
JM
45159 * sysdeps/unix/siglist.c: Remove file.
45160
ee06f18b
JM
45161 * sysdeps/unix/getppid.S: Remove file.
45162
097d59fa
JM
45163 * sysdeps/unix/mkdir.c: Remove file.
45164 * sysdeps/unix/rmdir.c: Likewise.
45165
ff3d51ec
AS
451662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45167
45168 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45169 ERR_MAX value.
45170 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45171 errlist-compat value.
45172
50f81fd7
DM
451732012-04-18 David S. Miller <davem@davemloft.net>
45174
45175 * sysdeps/generic/memcopy.h (reg_char): Delete.
45176 * debug/strcat_chk.c: Use char, not reg_char.
45177 * debug/strcpy_chk.c: Likewise.
45178 * debug/strncat_chk.c: Likewise.
45179 * debug/strncpy_chk.c: Likewise.
45180 * string/memchr.c: Likewise.
45181 * string/memrchr.c: Likewise.
45182 * string/rawmemchr.c: Likewise.
45183 * string/strcat.c: Likewise.
45184 * string/strchr.c: Likewise.
45185 * string/strchrnul.c: Likewise.
45186 * string/strcmp.c: Likewise.
45187 * string/strcpy.c: Likewise.
45188 * string/strncat.c: Likewise.
45189 * string/strncmp.c: Likewise.
45190 * string/strncpy.c: Likewise.
45191
8ff41c46
WS
451922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45193
45194 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45195 __builtin_memcopy is called when src and dest ranges are known to not
45196 overlap.
45197
6b652f46
WS
451982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45199
45200 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45201 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45202 fwd_align_merge macro call.
45203 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45204 bwd_align_merge macro call.
45205 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45206
b282631e
WS
452072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45208
45209 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45210 bwd_align_merge macros.
45211 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45212 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45213 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45214
95aa737c
DM
452152012-04-18 David S. Miller <davem@davemloft.net>
45216
45217 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45218
7a99a614
AJ
452192012-04-18 Andreas Jaeger <aj@suse.de>
45220
45221 [BZ# 6794]
45222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45223 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45225
45226 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45227 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45228 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45229
45230 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45231 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45232 Adjust for changed ldbl-128 files.
45233
45234 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45235 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45236 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45237
e5270c23
DM
452382012-04-17 David S. Miller <davem@davemloft.net>
45239
45240 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45241
fb5e92c9
AS
452422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45243
45244 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45245 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45246 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45247 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45248 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45249 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45250
76da7265
AZ
452512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45252
45253 [BZ #6794]
45254 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45255 * math/libm-test.inc: Add ilogb errno and exception tests.
45256 * math/w_ilogb.c: New file: ilogb wrapper.
45257 * math/w_ilogbf.c: New file: ilogbf wrapper.
45258 * math/w_ilogbl.c: New file: ilogbl wrapper.
45259 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45260 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45261 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45262 exception being thrown with 0.0 as argument.
45263 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45264 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45265 exception being thrown with 0.0 as argument.
45266 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45267 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45268 exception being thrown with 0.0 as argument.
45269 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45270 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45271 exception being thrown with 0.0 as argument.
45272 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45273 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45274 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45275 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45277 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45278 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45279 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45280 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45281
0396e69d
PB
452822012-04-17 Petr Baudis <pasky@ucw.cz>
45283
45284 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45285 with altivec.
45286
750b5926
MP
452872012-04-16 Marek Polacek <polacek@redhat.com>
45288
45289 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45290
751728a1
MP
452912012-04-16 Marek Polacek <polacek@redhat.com>
45292
45293 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45294 operands of fdivp instruction.
45295
34a27407
L
452962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45297
45298 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45299 * elf/tst-auditmod3b.c: Likewise.
45300 * elf/tst-auditmod4b.c: Likewise.
45301 * elf/tst-auditmod5b.c: Likewise.
45302 * elf/tst-auditmod6b.c: Likewise.
45303 * elf/tst-auditmod6c.c: Likewise.
45304 * elf/tst-auditmod7b.c: Likewise.
45305 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45306 * sysdeps/x86_64/preconfigure.in: Likewise.
45307 * sysdeps/x86_64/preconfigure: Regenerated.
45308
7e73e17d
L
453092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45310
45311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45312 __ILP32__.
45313
c7a6ab72
AB
453142012-04-13 Antoine Balestrat <merkil33@gmail.com>
45315
45316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45317 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45318
a9e8e0e0
CL
453192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45320
45321 [BZ #13973]
45322 * locale/iso-639.def: Fix gl language name. Spotted by
45323 Yaron Shahrabani.
45324
ec98af7d
RM
453252012-04-12 Roland McGrath <roland@hack.frob.com>
45326
45327 [BZ #2074]
45328 * libio/libio.h (__io_write_fn): Update comment.
45329
247c3ede
PB
453302012-04-12 Petr Baudis <pasky@ucw.cz>
45331
45332 [BZ #2074]
45333 * stdio.texi (Hook Functions): The user provided writer function
45334 is not allowed to return -1.
45335
55939d6d
DM
453362012-04-11 David S. Miller <davem@davemloft.net>
45337
45338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45339
90020f5a
MF
453402012-04-11 Mike Frysinger <vapier@gentoo.org>
45341
45342 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45343 Add a leading slash to rtkaio.
45344
288f9098
JM
453452012-04-11 Jim Meyering <meyering@redhat.com>
45346
90020f5a
MF
45347 [BZ #11959]
45348 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45349 It is not necessarily an error to ignore fwrite's return
45350 value. One can reliably use ferror to test for errors after
45351 the fact.
288f9098 45352
4be2b570
L
453532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45354
45355 * bits/types.h (__snseconds_t): New type.
45356 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45357
45358 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45360 (__SNSECONDS_T_TYPE): Likewise.
45361 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45362 (__SNSECONDS_T_TYPE): Likewise.
45363 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45364 (__SNSECONDS_T_TYPE): Likewise.
45365
288f9098 453662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45367
45368 [BZ #2636]
45369 * manual/time.texi (Processor Time): Return type of times is
45370 elapsed real time since an arbitrary point in the past.
45371 (CPU Time): Move CLK_TCK from here...
45372 (Processor Time): ...to here. Correct description.
45373 * manual/conf.texi (Constants for Sysconf): Correct description of
45374 _SC_CLK_TCK.
45375
d7dd4413
DM
453762012-04-10 David S. Miller <davem@davemloft.net>
45377
45378 [BZ #13967]
45379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45380 where the is a gap between DT_REL(A) and DT_JMPREL.
45381
b46068fc
L
453822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45383
45384 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45385 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45386 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45387
73d65cc3
SP
453882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45389
45390 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45391 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45392 (dl_main): Handle --inhibit-cache.
45393 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45394 _dl_inhibit_cache.
45395 * elf/dl-load.c (_dl_map_object): Use it.
45396 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45397
bcc8d661
JM
453982012-04-09 Joseph Myers <joseph@codesourcery.com>
45399
8f9a2fae
JM
45400 [BZ #13872]
45401 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45402 (__ieee754_powl): Saturate large exponents rather than testing for
45403 overflow of y*log2(x).
45404 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45405 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45406 exceptions.
45407
bcc8d661
JM
45408 [BZ #11521]
45409 * math/s_ctan.c: Include <float.h>.
45410 (__ctan): Avoid internal overflow or cancellation in calculating
45411 denominator.
45412 * math/s_ctanf.c: Likewise.
45413 * math/s_ctanl.c: Likewise.
45414 * math/s_ctanh.c: Likewise.
45415 * math/s_ctanhf.c: Likewise.
45416 * math/s_ctanhl.c: Likewise.
45417 * math/libm-test.inc (ctan_test): Add more tests.
45418 (ctanh_test): Likewise.
45419 * sysdeps/i386/fpu/libm-test-ulps: Update.
45420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45421
823fbbb4
AJ
454222012-04-09 Andreas Jaeger <aj@suse.de>
45423
03879793
AJ
45424 [BZ #6894]
45425 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45426 is an optional BSD extension.
45427
823fbbb4
AJ
45428 [BZ #10254]
45429 * manual/stdio.texi (Opening Streams): Document additional fopen
45430 parameters.
45431
8de131cb
RM
454322012-04-09 Roland McGrath <roland@hack.frob.com>
45433
45434 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45435 %eax without telling the compiler.
45436
c0ed9d7d
CD
454372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45438
45439 [BZ # 13963]
45440 * manual/install.texi: Use sourceware.org.
45441
c483f6b4
JM
454422012-04-09 Joseph Myers <joseph@codesourcery.com>
45443
d7dd9453
JM
45444 [BZ #13873]
45445 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45446 (__ieee754_pow): Generate overflow and underflow using huge*huge
45447 and tiny*tiny rather than just returning constant infinity or zero
45448 for large exponents.
45449 * math/libm-test.inc (pow_test): Require overflow exceptions for
45450 applicable cases of large exponents.
45451
c483f6b4
JM
45452 [BZ #706]
45453 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45454 (__ieee754_pow): Use iterative multiplication algorithm only for
45455 integer exponents with absolute value below 1024. Check for odd
45456 integer exponents when using algorithm for real exponents.
45457 * math/libm-test.inc (pow_test): Add more tests.
45458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45459
d2de7579
JM
454602012-04-08 Joseph Myers <joseph@codesourcery.com>
45461
45462 [BZ #13705]
45463 * math/libm-test.inc (exp_test): Do not allow overflow exception
45464 on underflow test.
45465
f77f1232
AJ
454662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45467
45468 [BZ #13705]
45469 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45470 instead of __kernel_standard_f.
45471
3884932b
MF
454722012-04-08 Mike Frysinger <vapier@gentoo.org>
45473
45474 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45475 * sysdeps/x86_64/memset_chk.S: Likewise.
45476
54472e9c
AJ
454772012-04-08 Andreas Jaeger <aj@suse.de>
45478
6ab0fbfc
AJ
45479 [BZ #10153]
45480 * manual/startup.texi (Environment Access): Describe return value
45481 for putenv and setenv.
45482
61efba8c
AJ
45483 [BZ #6895]
45484 * manual/filesys.texi (Directory Entries): Add description for
45485 DT_LNK.
45486
95c3f29a
AJ
45487 [BZ #6890]
45488 * manual/filesys.texi (Directory Entries): Clarify that it's file
45489 system not operating system in the description of DT_UNKNOWN.
45490
54472e9c
AJ
45491 [BZ #6578]
45492 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45493
624254b1
SC
454942012-04-08 Stephen Compall <s11@member.fsf.org>
45495
45496 [BZ #6649]
45497 * manual/llio.texi (Opening and Closing Files): Add cross
45498 reference to explain mode argument.
45499
1e4920e0
MF
455002012-04-07 Mike Frysinger <vapier@gentoo.org>
45501
45502 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45503 * sysdeps/x86_64/memset_chk.S: Likewise.
45504
5ed848f3
DM
455052012-04-07 David S. Miller <davem@davemloft.net>
45506
45507 * elf/elf.h (R_SPARC_WDISP10): Define.
45508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45509 R_SPARC_SIZE32.
45510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45511 R_SPARC_SIZE64 and R_SPARC_H34.
45512
96154cd8
CD
455132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45514
45515 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45516 conditions and remove no longer applicable assertion.
45517
9904dc47
L
455182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45519
45520 * bits/byteswap.h: Include <features.h>.
45521 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45522 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45523
f8887d0a
L
455242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45525
45526 * bits/byteswap.h (__bswap_16): Removed.
45527 Include <bits/byteswap-16.h> to get __bswap_16.
45528 * sysdeps/i386/bits/byteswap.h: Likewise.
45529 * sysdeps/s390/bits/byteswap.h: Likewise.
45530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45531 * bits/byteswap-16.h: New file.
45532 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45533 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45534 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45535 * string/Makefile (headers): Add bits/byteswap-16.h.
45536
62470f60
PP
455372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45538
45539 [BZ #13895]
45540 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45541 extra indirection.
45542 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45543 * nss/tst-nss-static.c: New.
45544
4dad7bab
RM
455452012-04-06 Robert Millan <rmh@gnu.org>
45546
45547 [BZ #6486]
45548 * manual/llio.texi (File Position Primitive): lseek
45549 refers to WHENCE when it really means OFFSET.
45550
e9142a17
AJ
455512012-04-06 Andreas Jaeger <aj@suse.de>
45552
2c040eff
AJ
45553 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45554 strncmp declarations.
45555
e9142a17
AJ
45556 * abilist/libc.abilist: Add __poll and __ppoll.
45557
ff9f1c5f
DM
455582012-04-05 David S. Miller <davem@davemloft.net>
45559
dcd2ae90
DM
45560 * scripts/check-local-headers.sh: Accept a host triplet in the
45561 path matched by the exclude regexp.
45562
993eb054
DM
45563 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45564 definition.
45565 * sysdeps/powerpc/powerpc32/dl-machine.h
45566 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45567 * sysdeps/s390/s390-32/dl-machine.h
45568 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45569 * sysdeps/sparc/sparc32/dl-machine.h
45570 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45571 * sysdeps/sparc/sparc64/dl-machine.h
45572 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45573
ff9f1c5f
DM
45574 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45575 lazy binding.
48e2e132 45576 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45577 undefined symbol errors.
45578
48e2e132 45579 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45580 DT_NEEDED entries.
45581
e80d6f94
MM
455822012-04-05 Michael Matz <matz@suse.de>
45583
45584 [BZ #13592]
45585 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45586
349fa79f
AJ
455872012-04-05 Andreas Jaeger <aj@suse.de>
45588
45589 [BZ #13908]
45590 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45591 comment.
45592
f402708f
KK
455932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45594
45595 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45596 which ROUND is no valid rounding mode.
45597
2ecccfc9
KK
455982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45599
45600 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45601 read again.
45602 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45603
8a53f50f
KK
456042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45605
45606 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45607 an exception using FPU order intentionally.
45608
456092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45610
45611 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45612 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45613 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45614 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45615
d653abb7
SJ
456162012-04-05 Simon Josefsson <simon@josefsson.org>
45617
45618 [BZ #12340]
45619 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45620 EINVAL when BUFLEN is too smal.
45621
c3b1bf7d
TS
456222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45623
45624 [BZ #13553]
45625 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45626 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45627
b1aa60f3
AJ
456282012-04-03 Andreas Jaeger <aj@suse.de>
45629
c3b1bf7d 45630 [BZ #13938]
67f60a26
AJ
45631 * manual/setjmp.texi (System V contexts): Fix sentence.
45632
b1aa60f3
AJ
45633 [BZ #13926]
45634 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45635 New macro for this case.
45636 [!__GNUC__] (__bswap_64): New inline function for this case.
45637 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45638 * bits/byteswap.h: Likewise.
45639 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45640 ull, guard with __GLIBC_HAVE_LONG_LONG.
45641
45642 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45643 __GLIBC_HAVE_LONG_LONG.
45644
45645 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45646 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45647
39c59c35
TMQMF
456482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45649
45650 [BZ #13691]
45651 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45652 inptr and inend, rather than using last_ch.
45653
135ffda8
DM
456542012-04-02 David S. Miller <davem@davemloft.net>
45655
45656 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45657 * stdio-common/printf-parse.h (read_int): Change return type to
45658 'int', return -1 on INT_MAX overflow.
45659 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45660 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45661 overflows INT_MAX. Check for overflow of in-format-string precision
45662 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45663 SIZE_MAX not INT_MAX for integer overflow test.
45664 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45665 skip the construct in the format string but do not record anything.
45666 * stdio-common/bug22.c: Adjust to test both width/prevision
45667 INT_MAX overflow as well as total length INT_MAX overflow. Check
45668 explicitly for proper errno values.
45669
228c019e
TS
456702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45671
302cadd3
TS
45672 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45673 CHAR_MAX.
45674 * string/test-strcmp.c [! WIDE]: Likewise.
45675 * time/tst-mktime2.c: Likewise for INT_MAX.
45676 * string/test-string.h: #include <sys/param.h> for MIN.
45677
228c019e
TS
45678 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45679 * sysdeps/i386/init-first.c (init): Likewise.
45680 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45681 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45682 * sysdeps/sh/init-first.c (init): Likewise.
45683
cfa633f5
UD
456842012-04-01 Ulrich Drepper <drepper@gmail.com>
45685
45686 * po/ru.po: Update from translation team.
d1635ef8 45687 * po/vi.po: Likewise.
cfa633f5 45688
6cd0a5ea
SP
456892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45690
45691 * resolv/nss_dns/dns-host.c: Merge copyright years.
45692
4b43400f
LD
456932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45694
45695 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45696 Optimize memcpy with prefetch if
45697 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45698 src, dst pointers have unequal 16 byte alignments.
45699
48c41d04
SP
457002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45701
45702 [BZ #13928]
45703 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45704 from a CNAME entry and return the minimum ttl for the query.
45705 (gaih_getanswer_slice): Likewise.
45706
b8dc394d
JL
457072012-03-30 Jeff Law <law@redhat.com>
45708
45709 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45710 due to long keys.
45711 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45712 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45713
2f5a5ed0
JL
45714 * resolv/nss_dns/dns-host.c: Update copyright year.
45715
1d39e359
UD
457162012-03-30 Ulrich Drepper <drepper@gmail.com>
45717
c030f70c 45718 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45719 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45720
1d39e359
UD
45721 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45722 comments for sendmmsg.
45723
457242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45725
45726 [BZ #13691]
45727 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45728 with only 1 character between 0x0041 and 0x01b0.
45729 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45730 * wcsmbs/tst-mbsnrtowcs.c: New file.
45731
20fde227
DM
457322012-03-29 David S. Miller <davem@davemloft.net>
45733
45734 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45735 small copies by hand.
45736
984a4237
JL
457372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45738
45739 [BZ #13761]
57f41c40
AS
45740 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45741 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45742 group memberships.
984a4237 45743
18c9d62b
DM
457442012-03-28 David S. Miller <davem@davemloft.net>
45745
88d85d4f
DM
45746 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45747 that branches into memcpy.
45748 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45749 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45751 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45753 bits.
45754 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45755 implementation too.
45756 * sysdeps/sparc/mempcpy.S: New file.
45757
e5aa83e1
DM
45758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45759 the IFUNC routine in the libc case.
45760 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45761
88570753
DM
45762 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45763 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45764 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45765 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45766 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45767 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45768 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45769 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45770
249d7567
DM
45771 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45772 loop to 256 bytes instead of 64 bytes and fix test signedness.
45773
18c9d62b
DM
45774 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45775 * sysdeps/sparc/sparc32/Makefile: rather than here...
45776 * sysdeps/sparc/sparc64/Makefile: and here.
45777
05f3d1f6
UD
457782012-03-28 Ulrich Drepper <drepper@gmail.com>
45779
45780 * malloc/mallocbug.c: Avoid warnings about unused variables.
45781
86ae07a8
JL
457822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45783
45784 [BZ #13760]
45785 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45786 in the right place. Discard and retry query if response is
45787 larger than input buffer size.
45788
41bf21a1
JM
457892012-03-28 Joseph Myers <joseph@codesourcery.com>
45790
d6270972
JM
45791 [BZ #369]
45792 [BZ #2678]
45793 [BZ #3866]
45794 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45795 x for large integer exponent.
45796 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45797 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45798 sign of result as needed afterwards.
45799 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45800 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45801 result for underflowing pow the same as for overflow.
45802 (__kernel_standard_l): Handle powl overflow and underflow here
45803 rather than calling __kernel_standard.
45804 * math/libm-test.inc (pow_test): Add more tests.
45805
414fca03 45806 [BZ #3868]
41bf21a1
JM
45807 [BZ #13879]
45808 [BZ #13910]
45809 [BZ #13911]
45810 [BZ #13912]
45811 [BZ #13913]
45812 [BZ #13915]
45813 [BZ #13916]
45814 [BZ #13917]
45815 [BZ #13918]
45816 [BZ #13919]
45817 [BZ #13920]
45818 [BZ #13921]
45819 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45820 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45821 (__kernel_standard_l): New function.
45822 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45823 __kernel_standard.
45824 * math/w_acosl.c (__acosl): Likewise.
45825 * math/w_asinl.c (__asinl): Likewise.
45826 * math/w_atan2l.c (__atan2l): Likewise.
45827 * math/w_atanhl.c (__atanhl): Likewise.
45828 * math/w_coshl.c (__coshl): Likewise.
45829 * math/w_exp10l.c (__exp10l): Likewise.
45830 * math/w_exp2l.c (__exp2l): Likewise.
45831 * math/w_fmodl.c (__fmodl): Likewise.
45832 * math/w_hypotl.c (__hypotl): Likewise.
45833 * math/w_j0l.c (__j0l, __y0l): Likewise.
45834 * math/w_j1l.c (__j1l, __y1l): Likewise.
45835 * math/w_jnl.c (__jnl, __ynl): Likewise.
45836 * math/w_lgammal.c (__lgammal): Likewise.
45837 * math/w_log10l.c (__log10l): Likewise.
45838 * math/w_log2l.c (__log2l): Likewise.
45839 * math/w_logl.c (__logl): Likewise.
45840 * math/w_powl.c (__powl): Likewise.
45841 * math/w_remainderl.c (__remainderl): Likewise.
45842 * math/w_scalbl.c (sysv_scalbl): Likewise.
45843 * math/w_sinhl.c (__sinhl): Likewise.
45844 * math/w_sqrtl.c (__sqrtl): Likewise.
45845 * math/w_tgammal.c (__tgammal): Likewise.
45846 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45847 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45848 * math/libm-test.inc (acos_test): Add more tests.
45849 (acosh_test): Likewise.
45850 (asin_test): Likewise.
45851 (atanh_test): Likewise.
45852 (exp_test): Likewise.
45853 (exp10_test): Likewise.
45854 (exp2_test): Likewise.
45855 (expm1_test): Likewise.
45856 (lgamma_test): Likewise.
45857 (log_test): Likewise.
45858 (log10_test): Likewise.
45859 (log1p_test): Likewise.
45860 (log2_test): Likewise.
45861 (pow_test): Do not allow some spurious overflow exceptions.
45862 (sqrt_test): Add more tests.
45863 (tgamma_test): Likewise.
45864 (y0_test): Likewise.
45865 (y1_test): Likewise.
45866 (yn_test): Likewise.
45867
dd62fda6
AB
458682012-03-27 Anton Blanchard <anton@samba.org>
45869
45870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45871 MAP_HUGETLB.
45872 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45873 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45874 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45875
1e3cdfda
AJ
458762012-03-27 David S. Miller <davem@davemloft.net>
45877
b855ab85
DM
45878 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45879
1e3cdfda
AJ
45880 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45881 have-as-vis3 check.
45882
458832012-03-27 Andreas Jaeger <aj@suse.de>
45884
45885 * sysdeps/x86_64/elf/configure.in: Moved to ...
45886 * sysdeps/x86_64/configure.in: ... here.
45887 * sysdeps/x86_64/elf/start.S: Moved to ...
45888 * sysdeps/x86_64/start.S: ... here.
45889 * sysdeps/x86_64/elf/configure: Delete.
45890
45891 * sysdeps/x86_64/configure.in: Merge contents from
45892 sysdeps/i386/configure.in (without i686 check).
45893
45894 * sysdeps/i386/elf/Versions: Merge into ...
45895 * sysdeps/i386/Versions: ... this.
45896 * sysdeps/i386/elf/Versions: Delete file.
45897 * sysdeps/i386/elf/start.S: Moved to ...
45898 * sysdeps/i386/start.S: ...here.
45899 * sysdeps/i386/elf/configure.in: Merge into...
45900 * sysdeps/i386/configure.in: ...here.
45901 * sysdeps/i386/elf/configure.in: Delete file.
45902 * sysdeps/i386/elf/configure: Delete file.
45903
45904 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45905 * debug/backtracesyms.c: ... here.
45906 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45907 * debug/backtracesymsfd.c: ... here.
45908 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45909 * sysdeps/generic/ifunc-sel.h: ... here.
45910
45911 * sysdeps/unix/i386/start.c: Delete file.
45912 * sysdeps/unix/sparc/start.c: Delete file.
45913 * sysdeps/unix/start.c: Delete file.
45914
45915 * sysdeps/sh/elf/configure.in: Moved to ...
45916 * sysdeps/sh/configure.in: ... here.
45917 * sysdeps/sh/elf/start.S: Moved to ...
45918 * sysdeps/sh/start.S: ... here.
45919 * sysdeps/sh/elf/configure: Delete file.
45920
45921 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45922 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45923 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45924 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45925 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45926 * sysdeps/powerpc/powerpc64/start.S: here.
45927 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45928 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45929 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45930 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45931 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45932
45933 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45934 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45935 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45936 * sysdeps/powerpc/powerpc32/start.S: ... here.
45937 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45938 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45939 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45940
45941 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45942 * sysdeps/powerpc/ifunc-sel.h: ... here.
45943 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45944 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45945
45946 * sysdeps/sparc/elf/configure.in: Moved to ...
45947 * sysdeps/sparc/configure.in: ... here.
45948 * sysdeps/sparc/elf/configure: Delete file.
45949 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45950 * sysdeps/sparc/sparc32/start.S: ... here.
45951 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45952 * sysdeps/sparc/sparc64/start.S: ... here.
45953 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45954 * sysdeps/sparc/sparc32/Makefile: ... this.
45955 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45956 * sysdeps/sparc/sparc64/Makefile: ... this.
45957
45958 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45959 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45960 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45961 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45962 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45963 * sysdeps/s390/s390-32/setjmp.S: ... here.
45964 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45965 * sysdeps/s390/s390-32/configure.in: ... here.
45966 * sysdeps/s390/s390-32/elf/configure: Delete file.
45967 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45968 * sysdeps/s390/s390-32/start.S: ... here.
45969
45970 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45971 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45972 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45973 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45974 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45975 * sysdeps/s390/s390-64/setjmp.S: ... here.
45976 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45977 * sysdeps/s390/s390-64/configure.in: ... here
45978 * sysdeps/s390/s390-64/elf/configure: Delete file.
45979 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45980 * sysdeps/s390/s390-64/start.S: ... here.
45981 * sysdeps/s390/s390-64/elf/configure: Delete.
45982
45983 * configure.in: Remove support for elf directories in sysdeps.
45984
45985 * configure: Regenerated.
45986 * sysdeps/i386/configure: Regenerated.
45987 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45988 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45989 * sysdeps/s390/s390-32/configure: Regenerated.
45990 * sysdeps/s390/s390-64/configure: Regenerated.
45991 * sysdeps/sh/configure: Regenerated.
45992 * sysdeps/sparc/configure: Regenerated.
45993 * sysdeps/x86_64/configure: Regenerated.
45994
a3f61311
AS
459952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45996
c876e002
AS
45997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45998
a3f61311
AS
45999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46000 denormal result into account.
46001
ac4c54f0
RM
460022012-03-25 Roland McGrath <roland@hack.frob.com>
46003
46004 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46005 Reported by Allan McRae <allan@archlinux.org>.
46006
6a9b9c02
JL
460072012-03-23 Jeff Law <law@redhat.com>
46008
46009 * nss/getnssent.c (__nss_getent): Fix typo.
46010
4c42a0c1
DM
460112012-03-23 David S. Miller <davem@davemloft.net>
46012
46013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46014
1532c7ac
L
460152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46016
46017 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46018 to pad to uint64_t for each field.
46019 (dl_tls_index): Replace unsigned long with uint64_t.
46020
3ff42526
PP
460212012-03-23 Daniel Jacobowitz <dmj@google.com>
46022 Paul Pluzhnikov <ppluzhnikov@google.com>
46023
46024 [BZ #6528]
46025 * grp/Makefile (otherlibs): Don't set it.
46026 * inet/Makefile (otherlibs): Likewise.
46027 * login/Makefile (otherlibs): Likewise.
46028 * nscd/Makefile (otherlibs): Likewise.
46029 * posix/Makefile (otherlibs): Likewise.
46030 * pwd/Makefile (otherlibs): Likewise.
46031 * rt/Makefile (otherlibs): Likewise.
46032 * sunrpc/Makefile (otherlibs): Likewise.
46033 * nss/Makefile (otherlibs): Likewise.
46034 Add libnss_files to routines and static-only-routines.
46035 ($(objpfx)getent): Remove rule.
46036 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46037 static-only-routines.
46038
7c69cd14
JM
460392012-03-22 Joseph Myers <joseph@codesourcery.com>
46040
46041 [BZ #13892]
46042 * math/s_cexp.c: Include <float.h>.
46043 (__cexp): Handle exp result overflowing not necessarily
46044 overflowing both real and imaginary parts of result.
46045 * math/s_cexpf.c: Likewise.
46046 * math/s_cexpl.c: Likewise.
46047 * math/libm-test.inc (cexp_test): Add more tests.
46048 * sysdeps/i386/fpu/libm-test-ulps: Update.
46049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46050
81b035fe
L
460512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46052
46053 * include/link.h (ELFW): New macro.
46054 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46055 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46056
1da7940c
L
460572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46058
46059 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46060 with uint64_t.
46061
b749dbb9
L
460622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46063
46064 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46065 declaration.
46066 (struct La_x32_retval): Likewise.
46067
2ff87f3f
L
460682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46069
46070 * sysdeps/x86_64/preconfigure.in: New file.
46071 * sysdeps/x86_64/preconfigure: New generated file.
46072
c0df8e69
JM
460732012-03-22 Joseph Myers <joseph@codesourcery.com>
46074
48e44791
JM
46075 [BZ #13824]
46076 * math/e_exp2l.c: Include <float.h>.
46077 (__ieee754_exp2l): Handle overflow and underflow cases
46078 separately. Only pass fractional part of argument to
46079 __ieee754_expl.
46080 * math/libm-test.inc (exp2_test): Add more tests.
46081
c0df8e69
JM
46082 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46083 negating x to take absolute value.
46084 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46085 Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46088 Likewise.
46089 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46090 computing low part if x was negated.
46091 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46092
c8e43ba7
L
460932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46094
46095 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46096 la_x32_gnu_pltexit.
46097 (pltexit): Cast int_retval to ptrdiff_t.
46098 * elf/tst-auditmod3b.c: Likewise.
46099 * elf/tst-auditmod4b.c: Likewise.
46100 * elf/tst-auditmod5b.c: Likewise.
46101 * elf/tst-auditmod6b.c: Likewise.
46102 * elf/tst-auditmod6c.c: Likewise.
46103 * elf/tst-auditmod7b.c: Likewise.
46104
46105 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46106 and x32_gnu_pltexit.
46107
46108 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46109 __ELF_NATIVE_CLASS.
46110 (La_x32_regs): New macro.
46111 (La_x32_retval): Likewise.
46112 (la_x32_gnu_pltenter): New function prototype.
46113 (la_x32_gnu_pltexit): Likewise.
46114
7998fa78
AS
461152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46116
dcb33988
AS
46117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46118 exponent.
46119
233fc563
AS
46120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46121
7998fa78
AS
46122 * configure.in (libc_cv_cc_nofma): Check for option to disable
46123 generation of FMA instructions.
46124 * configure: Regenerate.
46125 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46126 * sysdeps/ieee754/dbl-64/Makefile: New file.
46127 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46128 Remove brandred-fma4.
46129 (CFLAGS-brandred-fma4.c): Remove.
46130 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46132 define.
46133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46134 define.
46135
8e95c99a
L
461362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46137
46138 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46139 LLONG_MAX != LONG_MAX.
46140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46141 (_fitoa_word): Likewise.
46142 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46143 LLONG_MAX != LONG_MAX.
46144 * stdio-common/_itowa.h: Include <_itoa.h>.
46145 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46146 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46147 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46148 only if not defined.
46149 (_ITOA_WORD_TYPE): Likewise.
46150 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46151 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46152
6f4db457
DM
461532012-03-21 David S. Miller <davem@davemloft.net>
46154
46155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46156
7785fe5a
L
461572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46158
46159 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46160 of x86_64 when setting libc_cv_slibdir, libdir and
46161 libc_cv_localedir.
46162 * sysdeps/unix/sysv/linux/configure: Regenerated.
46163
4535cd55
JM
461642012-03-21 Joseph Myers <joseph@codesourcery.com>
46165
46166 * manual/lang.texi (Old Varargs): Remove section.
46167 (How Variadic): Update menu.
46168 (va_start): Do not mention varargs.h.
46169
17228132
TS
461702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46171 Joseph Myers <joseph@codesourcery.com>
46172
46173 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46174 link test.
46175 * configure: Regenerated.
46176
8149f976
TS
461772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46178
05f3d1f6
UD
46179 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46180 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46181 conformtest.pl
8149f976 46182
1a4ac776
JM
461832012-03-21 Joseph Myers <joseph@codesourcery.com>
46184
be22ce65
JM
46185 * NOTES: Remove.
46186 * Makefile (files-for-dist): Remove NOTES.
46187 (NOTES): Remove rule.
46188 * README: Don't refer to NOTES.
46189 * manual/creature.texi: Don't include macros.texi.
46190 * manual/intro.texi (creature.texi): Remove comment referring to
46191 NOTES.
46192
40b601fb
JM
46193 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46194 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46195 * configure: Regenerated.
46196 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46197 LIBC_TRY_CC_OPTION.
46198 (libc_cv_as_i686): Likewise.
46199 (libc_cv_cc_avx): Likewise.
46200 (libc_cv_cc_sse2avx): Likewise.
46201 (libc_cv_cc_fma4): Likewise.
46202 (libc_cv_cc_novzeroupper): Likewise.
46203 * sysdeps/i386/configure: Regenerated.
46204
1a4ac776
JM
46205 [BZ #13883]
46206 * sysdeps/i386/fpu/s_cexp.S: Remove.
46207 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46208 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46209 * math/libm-test.inc (cexp_test): Add more tests.
46210 * sysdeps/i386/fpu/libm-test-ulps: Update.
46211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46212
a458e7fe
AM
462132012-03-21 Allan McRae <allan@archlinux.org>
46214
46215 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46216
0cb7efc5
JM
462172012-03-21 Joseph Myers <joseph@codesourcery.com>
46218
46219 [BZ #13871]
46220 * math/w_exp2.c: Do not include <float.h>.
46221 (o_threshold, u_threshold): Remove.
46222 (__exp2): Calculate result before checking finiteness and calling
46223 __kernel_standard.
46224 * math/w_exp2f.c: Likewise.
46225 * math/w_exp2l.c: Likewise.
46226 * math/libm-test.inc (exp2_test): Require overflow exception for
46227 1e6 input.
2460d3aa
JM
46228
46229 [BZ #3866]
46230 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46231 range of signed 64-bit integers before using fistpll. Remove
46232 checks for whether integers fit in mantissa bits.
46233 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46234 the range of signed 32-bit integers before using fistpl. Remove
46235 checks for whether integers fit in mantissa bits.
46236 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46237 (__ieee754_powl): Test for y outside the range of signed 64-bit
46238 integers before using fistpll. Reduce 64-bit values to 63-bit
46239 ones as needed.
46240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46241 divide-by-zero is raised for zero to large negative powers.
46242 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46243 (__ieee754_powl): Test for y outside the range of signed 64-bit
46244 integers before using fistpll. Reduce 64-bit values to 63-bit
46245 ones as needed.
46246 * math/libm-test.inc (pow_test): Add more tests.
46247
eb96ffb0
L
462482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46249
46250 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46251 <stdio-common/_itoa.h>.
46252 * debug/segfault.c: Likewise.
46253 * elf/dl-cache.c: Likewise.
46254 * elf/dl-minimal.c: Likewise.
46255 * elf/dl-misc.c: Likewise.
46256 * elf/dl-sysdep.c: Likewise.
46257 * elf/dl-version.c: Likewise.
46258 * elf/rtld.c: Likewise.
46259 * hurd/hurdsock.c: Likewise.
46260 * hurd/lookup-retry.c: Likewise.
46261 * malloc/malloc.c: Likewise.
46262 * malloc/mtrace.c: Likewise.
46263 * nscd/nscd_getgr_r.c: Likewise.
46264 * nscd/nscd_getpw_r.c: Likewise.
46265 * nscd/nscd_getserv_r.c: Likewise.
46266 * posix/getopt_init.c: Likewise.
46267 * posix/wordexp.c: Likewise.
46268 * stdio-common/_itoa.c: Likewise.
46269 * stdio-common/printf_fphex.c: Likewise.
46270 * stdio-common/vfprintf.c: Likewise.
46271 * string/_strerror.c: Likewise.
46272 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46273 * sysdeps/i386/i686/hp-timing.h: Likewise.
46274 * sysdeps/mach/_strerror.c: Likewise.
46275 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46276 * sysdeps/mach/hurd/sethostid.c: Likewise.
46277 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46278 * sysdeps/mach/xpg-strerror.c: Likewise.
46279 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46280 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46281 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46282 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46283 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46284 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46285 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46286 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46287 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46288 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46289 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46290 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46291 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46292 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46293 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46294 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46295 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46296 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46297 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46298 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46299 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46300
46301 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46302
46303 * stdio-common/_itoa.h: Moved to ...
46304 * sysdeps/generic/_itoa.h: Here.
46305
46306 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46307
46308 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46309 instead of "_itoa.h" and "_itowa.h".
46310 * stdio-common/vfprintf.: Likewise.
46311
d1af992d
L
463122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46313
46314 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46315 <bits/wordsize.h>.
46316 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46317 (__signbit): Likwise.
46318 (llrintf): Likwise.
46319 (llrint): Likwise.
46320
114883e0
L
463212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46322
46323 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46324 __WORDSIZE != 64.
46325
c135cc1b
JM
463262012-03-20 Joseph Myers <joseph@codesourcery.com>
46327
46328 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46329 OVERFLOW_EXCEPTION_OK.
46330 * math/libm-test.inc ("Philosophy"): Update comment about
46331 exception testing.
46332 (OVERFLOW_EXCEPTION): Define.
46333 (OVERFLOW_EXCEPTION_OK): Likewise.
46334 (INVALID_EXCEPTION_OK): Renumber.
46335 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46336 (IGNORE_ZERO_INF_SIGN): Likewise.
46337 (test_exceptions): Handle FE_OVERFLOW.
46338 (exp10_test): Expect overflow exceptions.
46339 (exp2_test): Likewise.
46340 (expm1_test): Likewise.
46341 (nextafter_test): Likewise.
46342 (pow_test): Likewise.
46343 (scalbn_test): Likewise.
46344 (scalbln_test): Likewise.
46345
95443d88
L
463462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46347
46348 * sysdeps/x86_64/bits/atomic.h
46349 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46350 64bit integer.
46351 (atomic_exchange_acq): Likewise.
46352 (__arch_exchange_and_add_body): Likewise.
46353 (__arch_add_body): Likewise.
46354 (atomic_add_negative): Likewise.
46355 (atomic_add_zero): Likewise.
46356
490df6c4
L
463572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46358
c2722551 46359 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46360 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46361
5e52b189
L
463622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46363
46364 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46365 Check __x86_64__ instead of __WORDSIZE.
46366
a9879d4c
L
463672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46368
46369 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46370
5df98260
DM
463712012-03-19 David S. Miller <davem@davemloft.net>
46372
e1497744
DM
46373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46374
5df98260
DM
46375 * sysdeps/sparc/fpu/fenv_private.h: New file.
46376 * sysdeps/sparc/fpu/math_private.h: Use it.
46377 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46378 Remove.
57f41c40 46379 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46380 (libc_feholdexcept_setroundl): Remove.
46381 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46382 Remove.
46383 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46384 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46385
b4c35121
L
463862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46387
46388 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46389 int64_t instead of long int.
46390 (INSERT_WORDS64): Likwise.
46391
56965fd7
L
463922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46393
46394 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46395 _Unwind_GetCFA return to _Unwind_Ptr first.
46396
83d1aec8
JM
463972012-03-19 Joseph Myers <joseph@codesourcery.com>
46398
1897ad44
JM
46399 [BZ #13629]
46400 * math/s_clog.c: Include <float.h>.
46401 (__clog): Scale large or subnormal inputs.
46402 * math/s_clogf.c: Likewise.
46403 * math/s_clogl.c: Likewise.
46404 * math/s_clog10.c: Include <float.h>.
46405 (M_LOG10_2): Define.
46406 (__clog10): Scale large or subnormal inputs.
46407 * math/s_clog10f.c: Likewise.
46408 * math/s_clog10l.c: Likewise.
46409 * math/libm-test.inc (clog_test): Add more tests.
46410 (clog10_test): Likewise.
46411 * sysdeps/i386/fpu/libm-test-ulps: Update.
46412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46413
7726d6a9
JM
46414 [BZ #11451]
46415 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46416 x and y.
46417 * math/libm-test.inc (atan2_test): Add another test.
46418
83d1aec8
JM
46419 * Makerules (common-objdir-compile): Remove.
46420 * sysdeps/unix/Makefile (config-generated): Do not add
46421 $(unix-generated) to variable.
46422 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46423 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46424 Remove rule.
46425 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46426 Likewise.
46427 [generic bits/local_lim.h] (before-compile): Do not append to
46428 variable.
46429 [generic bits/local_lim.h] (common-generated): Likewise.
46430 [generic sys/param.h] (before-compile): Do not append to variable.
46431 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46432 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46433 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46434 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46435 include.
46436 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46437 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46438 [generic sys/param.h] ($(addprefix
46439 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46440 [generic sys/param.h] (common-generated): Do not append to
46441 variable.
46442 [generic sys/param.h] (sysdep_headers): Likewise.
46443 [generic bits/errno.h] (before-compile): Do not append to
46444 variable.
46445 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46446 rule.
46447 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46448 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46449 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46450 [generic bits/errno.h] (common-generated): Do not append to
46451 variable.
46452 [generic bits/ioctls.h] (before-compile): Do not append to
46453 variable.
46454 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46455 rule.
46456 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46457 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46458 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46459 rule.
46460 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46461 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46462 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46463 [generic bits/ioctls.h] (common-generated): Do not append to
46464 variable.
46465 [generic sys/syscall.h] (syscall.h): Remove variable.
46466 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46467 rule.
46468 [generic sys/syscall.h] (before-compile): Do not append to
46469 variable.
46470 [generic sys/syscall.h] (common-generated): Likewise.
46471 * sysdeps/unix/errnos-tmpl.c: Remove file.
46472 * sysdeps/unix/errnos.awk: Likewise.
46473 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46474 * sysdeps/unix/ioctls.awk: Likewise.
46475 * sysdeps/unix/mk-local_lim.c: Likewise.
46476 * sysdeps/unix/snarf-ioctls: Likewise.
46477
4851a949
RH
464782012-03-19 Richard Henderson <rth@twiddle.net>
46479
bd37f2ee
RH
46480 * sysdeps/i386/fpu/fenv_private.h: New file.
46481 * sysdeps/i386/fpu/math_private.h: Use it.
46482 (math_opt_barrier, math_force_eval): Remove.
46483 (libc_feholdexcept_setround_53bit): Remove.
46484 (libc_feupdateenv_53bit): Remove.
46485 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46486 (math_opt_barrier, math_force_eval): Remove.
46487 (libc_feholdexcept): Remove.
46488 (libc_feholdexcept_setround): Remove.
46489 (libc_fetestexcept, libc_fesetenv): Remove.
46490 (libc_feupdateenv_test): Remove.
46491 (libc_feupdateenv, libc_feholdsetround): Remove.
46492 (libc_feresetround): Remove.
46493
d0adc922
RH
46494 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46495 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46496
0fe0f1f8
RH
46497 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46498 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46499 (libc_feupdateenv_testl): New.
46500 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46501 (libc_feupdateenv_testf): New.
46502 (libc_feupdateenv): Use libc_feupdateenv_test.
46503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46505
eb92c487
RH
46506 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46507 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46508 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46509 (libc_feresetround_noex): New.
46510 (libc_feresetround_noexf): New.
46511 (libc_feresetround_noexl): New.
46512 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46513 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46514 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46515 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46516 SET_RESTORE_ROUND.
46517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46519 (__cos): Likewise.
46520 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46521 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46522 SET_RESTORE_ROUND_NOEX.
46523 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46524 SET_RESTORE_ROUND_NOEXF.
46525 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46526 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46527 (libc_feholdsetroundf): New.
46528 (libc_feresetround, libc_feresetroundf): New.
46529
7d2e8012
RH
46530 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46531 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46532 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46533
b4dabbb4
RH
46534 * sysdeps/generic/math_private.h: Include <fenv.h>.
46535 (default_libc_feholdexcept): New.
46536 (default_libc_feholdexcept_setround): New.
46537 (default_libc_fesetenv, default_libc_feupdateenv): New.
46538 (libc_feholdexcept): Only define if undefined.
46539 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46540 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46541 (libc_feholdexcept_setroundl): Likewise.
46542 (libc_feholdexcept_setround_53bit): Likewise.
46543 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46544 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46545 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46546 (libc_feupdateenv_53bit): Likewise.
46547 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46548 (libc_feholdexcept): Convert from macro to inline function.
46549 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46550 (libc_fesetenv, libc_feupdateenv): Likewise.
46551
4851a949
RH
46552 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46553 not previously defined.
46554 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46555 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46556 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46557 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46558 * sysdeps/ieee754/flt-32/math_private.h: New file.
46559 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46560 math_private.h below SET_FLOAT_WORD.
46561 (__isnan, __isinf_ns, __finite): Remove.
46562 (__isnanf, __isinf_nsf, __finitef): Remove.
46563
e79d442e
AS
465642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46565
46566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46567
90b80344
DM
465682012-03-17 David S. Miller <davem@davemloft.net>
46569
46570 [BZ #6471]
46571 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46572 for 2.16.
46573
edc21804
DM
465742012-03-16 David S. Miller <davem@davemloft.net>
46575
77e927af
DM
46576 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46577 warnings.
46578
374976dd
DM
46579 [BZ #6471]
46580 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46581 properly.
46582 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46583 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46584 sysdep_routines when subdir is sysvipc.
46585 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46586 __getshmlba helper.
46587
edc21804
DM
46588 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46589
473c3ef3
L
465902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46591
46592 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46593 [__LP64__].
46594
eb0f39b6
L
465952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46596
46597 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46598 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46599 (__lround): Renamed to ...
46600 (__llround): This. Replace long int with long long int.
46601 Define lround functions as aliases of llround functions.
46602 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46603
6b6cd74b
L
466042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46605
46606 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46607 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46608 adresses to uintptr_t. Replace "long int" and "unsigned long
46609 int" with "greg_t" on va_arg.
46610
f1a77b01
L
466112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46612
46613 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46614 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46615
46616 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46617 Move e_machine check before EI_CLASS check. Handle x32
46618 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46619 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46620 SKIP_EM_IA_64 and include
46621 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46622
46623 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46624 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46625 (add_system_dir): New macro.
46626
46627 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46628 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46629
11b90b9f
JM
466302012-03-16 Joseph Myers <joseph@codesourcery.com>
46631
c36e1d23
JM
46632 [BZ #2551]
46633 [BZ #2552]
46634 [BZ #2553]
46635 [BZ #2554]
46636 [BZ #2562]
46637 [BZ #2563]
46638 [BZ #2565]
46639 [BZ #2566]
46640 [BZ #2576]
46641 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46642 (y0): Likewise.
46643 * math/w_j0f.c (j0f): Likewise.
46644 (y0f): Likewise.
46645 * math/w_j0l.c (__j0l): Likewise.
46646 (__y0l): Likewise.
46647 * math/w_j1.c (j1): Likewise.
46648 (y1): Likewise.
46649 * math/w_j1f.c (j1f): Likewise.
46650 (y1f): Likewise.
46651 * math/w_j1l.c (__j1l): Likewise.
46652 (__y1l): Likewise.
46653 * math/w_jn.c (jn): Likewise.
46654 (yn): Likewise.
46655 * math/w_jnf.c (jnf): Likewise.
46656 (ynf): Likewise.
46657 * math/w_jnl.c (__jnl): Likewise.
46658 (__ynl): Likewise.
46659 * math/libm-test.inc (j0_test): Add more tests.
46660 (j1_test): Likewise.
46661 (jn_test): Likewise. Add trailing semicolon to existing test.
46662 (y0_test): Likewise.
46663 (y1_test): Likewise.
46664 * sysdeps/i386/fpu/libm-test-ulps: Update.
46665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46666
11b90b9f
JM
46667 [BZ #13851]
46668 [BZ #13854]
46669 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46670 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46671 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46672 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46673 (__tanl): Set errno for infinite argument.
46674 * sysdeps/i386/fpu/mptan.c: Remove.
46675 * sysdeps/i386/fpu/s_tan.S: Likewise.
46676 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46677 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46678 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46679 * math/libm-test.inc (tan_test): Add more tests and enable more
46680 tests for double and long double.
46681 * sysdeps/i386/fpu/libm-test-ulps: Update.
46682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683
6a1bd2a1
JK
466842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46685
46686 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46687 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46688
10a803e0
RM
466892012-03-16 Roland McGrath <roland@hack.frob.com>
46690
46691 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46692 * configure.in: Use it for both main tree and add-ons.
46693 * configure: Regenerated.
46694
f196c7f7
L
466952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46696
46697 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46698
8848d99d
JM
466992012-03-16 Joseph Myers <joseph@codesourcery.com>
46700
96cbe7f4
JM
46701 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46702 in comment.
46703
8848d99d
JM
46704 [BZ #13851]
46705 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46706 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46707 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46708 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46709 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46710 infinite argument.
46711 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46713 != 0 for prec == 2.
46714 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46715 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46716 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46717 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46718 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46719 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46720 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46721 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46722 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46723 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46724 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46725 * math/libm-test.inc (cos_test): Add more tests and enable more
46726 tests for long double.
46727 (sin_test): Likewise.
46728 (sincos_test): Likewise.
46729 * sysdeps/i386/fpu/libm-test-ulps: Update.
46730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46731
dd7f4703
DM
467322012-03-16 David S. Miller <davem@davemloft.net>
46733
46734 * sysdeps/sparc/fpu/math_private.h: New file.
46735
006f1daa
DM
467362012-03-15 David S. Miller <davem@davemloft.net>
46737
c0c83bc8
DM
46738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46739 file.
e6a62e18 46740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46742 file.
e6a62e18
DM
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46749 sysdep routines.
46750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46751
88cb87d9
DM
46752 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46753 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46754
006f1daa 46755 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46757 sparc-ifunc.h
006f1daa 46758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46760 Likewise.
46761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46762 Likewise.
006f1daa
DM
46763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46767 Likewise.
006f1daa
DM
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46773 Likewise.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46775 Likewise.
006f1daa
DM
46776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46800
11e0098e
AS
468012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46802
46803 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46804 scaling.
46805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46806
e85b09d0
AJ
468072012-03-15 Andreas Jaeger <aj@suse.de>
46808
46809 [BZ #13852]
46810 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46811 ieee754/flt-32 implementation for sin, cos and sincos.
46812 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46813 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46814 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46815 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46816 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46817 ieee754/flt-32 implementation for tan.
46818
46819 * math/libm-test.inc (cos_test): Enable some large input tests for
46820 float as well
46821 (sin_test): Likewise.
46822 (sincos_test): Likewise.
46823 (tan_test): Add tests for large input.
46824
46825 * sysdeps/i386/fpu/libm-test-ulps: Update.
46826
81c64153
AJ
468272012-03-15 Andreas Jaeger <aj@suse.de>
46828
46829 [BZ #13658]
46830 * math/libm-test.inc (cos_test): Add more test cases.
46831 (sin_test): Likewise.
46832 (sincos_test): Likewise.
46833
7bbfa5c6
AJ
468342012-03-15 Andreas Jaeger <aj@suse.de>
46835
46836 [BZ #13837]
46837 * math/libm-test.inc (cos_test): Add a test case for large input
46838 value.
46839 (sin_test): Likewise.
46840 (sincos_test): Likewise.
46841
57f41c40
AS
468422012-03-15 Andreas Jaeger <aj@suse.de>
46843 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46844
46845 [BZ #13658]
0671f479 46846 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46847 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46848 * sysdeps/i386/fpu/branred.c: Likewise.
46849 * sysdeps/i386/fpu/dosincos.c: Likewise.
46850 * sysdeps/i386/fpu/mpa.c: Likewise.
46851 * sysdeps/i386/fpu/s_cos.S: Likewise.
46852 * sysdeps/i386/fpu/s_sin.S: Likewise.
46853 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46854 * sysdeps/i386/fpu/sincos32.c: Likewise.
46855
46856 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46857 Define.
46858 (libc_feupdateenv_53bit): Define.
46859 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46860 Define.
46861 (libc_feupdateenv_53bit): Define.
46862
46863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46864 53 bit (without extend i386 double precision).
46865
46866 * math/libm-test.inc (sincos_test): Add tests for large input.
46867 (sin): Likewise.
46868 (cos): Likewise.
46869
46870 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46871
9cad04ea
AS
468722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46873
46874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46875
f7062b9a
DM
468762012-03-15 David S. Miller <davem@davemloft.net>
46877
46878 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46879 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46880 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46881 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46894 file.
f7062b9a 46895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46897 file.
f7062b9a 46898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46900 file.
f7062b9a 46901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46903 file.
f7062b9a
DM
46904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46906 fmin/fmax sysdep routines.
46907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46908
7bd951ff
DM
469092012-03-14 David S. Miller <davem@davemloft.net>
46910
559398ab
DM
46911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46940 routines.
46941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46942 file.
559398ab 46943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46945 file.
559398ab 46946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46948 file.
559398ab 46949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46951 file.
559398ab 46952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46954 file.
559398ab 46955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46957 file.
46958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46959 file.
46960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46961 file.
46962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46963 file.
46964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46965 New file.
46966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46967 file.
46968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46969 file.
559398ab 46970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46972 file.
559398ab 46973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46975 file.
559398ab 46976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46978 file.
559398ab 46979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46981 VIS3 routines.
559398ab
DM
46982
46983 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46984 New file.
46985
5a1c1e32
DM
46986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46987
eae47a36
DM
46988 * sysdeps/sparc/configure.in: New file.
46989 * sysdeps/sparc/configure: Generate.
46990 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46991 * configure: Regenerate.
46992 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46993 * config.make.in (have-as-vis3): New.
46994 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46995 available use -Av9d instead of -Av9a.
46996 * sysdeps/sparc/sparc64/Makefile: Likewise.
46997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46999 New file.
47000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47001 file.
47002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47003 New file.
47004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47005 file.
eae47a36
DM
47006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47011
c0c83bc8
DM
47012 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47013 fzeros/fnegs to load 0x80000000 into a float register instead of
47014 using the stack.
7bd951ff
DM
47015 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47016
bd951ccb
JM
470172012-03-14 Joseph Myers <joseph@codesourcery.com>
47018
47019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47020 bits/syscall.h.
47021 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47022 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47023 ($(inst_includedir)/bits/syscall.h): Remove rule.
47024 ($(objpfx)bits/syscall.d): Include instead of
47025 $(objpfx)syscall-list.d.
47026 (generated): Change syscall-list.h and syscall-list.d to
47027 bits/syscall.h and bits/syscall.d.
47028
bb4e6db2
RM
470292012-03-14 Roland McGrath <roland@hack.frob.com>
47030
47031 [BZ #13846]
47032 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47033
aa4a2ae1
JM
470342012-03-14 Joseph Myers <joseph@codesourcery.com>
47035
e456826d
JM
47036 [BZ #13841]
47037 * math/s_csqrt.c: Include <float.h>.
47038 (__csqrt): Scale large or subnormal inputs.
47039 * math/s_csqrtf.c: Likewise.
47040 * math/s_csqrtl.c: Likewise.
47041 * math/libm-test.inc (csqrt_test): Add more tests.
47042 * sysdeps/i386/fpu/libm-test-ulps: Update.
47043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47044
aa4a2ae1
JM
47045 [BZ #13840]
47046 * math/libm-test.inc (hypot_test): Add more tests.
47047
7c10fd35
DM
470482012-03-13 David S. Miller <davem@davemloft.net>
47049
47050 [BZ #13840]
47051 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47052 double-precision for the calculation instead of scaling.
47053
f453b98b
JM
470542012-03-13 Joseph Myers <joseph@codesourcery.com>
47055
47056 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47057 manipulate bits before adding and subtracting TWO52[sx].
47058 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47059 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47060 Likewise.
47061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47062
09a3453f
DM
470632012-03-13 David S. Miller <davem@davemloft.net>
47064
8e59da90
DM
47065 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47066 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47068 rtld-global-offsets.h
47069 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47070
2a8ab7f2
DM
47071 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47072 large parameters.
47073
10f62770
DM
47074 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47075
5f0bdb18
DM
47076 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47077 'err' in the ifdef scope in which it is actually used.
47078
09a3453f
DM
47079 * nss/nss_db/db-init.c: Include string.h
47080
b4b2eb5e
DM
470812012-03-12 David S. Miller <davem@davemloft.net>
47082
98bb2f1c
DM
47083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47084 masking out of the most significant byte of random value used.
47085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47086 Fix coding style in previous change.
47087
b4b2eb5e
DM
47088 * sysdeps/unix/sysv/linux/kernel-features.h
47089 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47090 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47091 expression.
47092 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47093 later.
47094
6e226b09
DM
470952012-03-11 David S. Miller <davem@davemloft.net>
47096
a1bcbd40
DM
47097 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47098 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47099 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47100 for 'resultvar' otherwise things get truncated on 64-bit.
47101
cb9d6174
DM
47102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47103 Fix masking out of the most significant byte of random value used.
47104
6e226b09
DM
47105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47106
058c132d
AS
471072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47108
47109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47110
2d2cd515
DM
471112012-03-09 David S. Miller <davem@davemloft.net>
47112
47113 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47114 variables with appropriate CPP guards.
57f41c40
AS
47115 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47116 from the frame pointer, not the stack pointer. Correct layout
47117 comments. Fix test on resulting framesize and the management of
47118 the outregs buffer for pltexit. Preserve floating point return
47119 values across _dl_call_pltexit call.
2d2cd515
DM
47120 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47121 framesize and the management of the outregs buffer for pltexit.
47122 Preserve floating point return values across _dl_call_pltexit
47123 call.
57f41c40
AS
47124 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47125 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47126 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47127 (print_exit): Fix format string for return register value.
47128
9a07f9d0
JM
471292012-03-10 Joseph Myers <joseph@codesourcery.com>
47130
47131 * sunrpc/Makefile (others): Add rpcgen.
47132 ($(objpfx)rpcgen): Remove special build rule and dependency on
47133 libc.
47134 * sunrpc/rpcgen.c: New file.
47135
547b5e30
PE
471362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47137
c524201a
PE
47138 [BZ #13673]
47139 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47140 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47141 * sysdeps/i386/crti.S: Likewise.
47142 * sysdeps/i386/crtn.S: Likewise.
47143 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47144 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47145 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47146 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47147 * sysdeps/sh/crti.S: Likewise.
47148 * sysdeps/sh/crtn.S: Likewise.
47149 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47150
7b6235f2
PE
47151 [BZ #13673]
47152 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47153 with URL.
47154 * locale/programs/locfile-kw.gperf: Likewise.
47155 * locale/programs/charmap-kw.h: Regenerated.
47156 * locale/programs/locfile-kw.h: Likewise.
47157
547b5e30
PE
47158 [BZ #13673]
47159 * intl/plural.y: Replace FSF snail mail address with URL.
47160 * intl/plural.c: Regenerated.
47161
5f0a5dae
RH
471622012-03-09 Richard Henderson <rth@twiddle.net>
47163
47164 * include/math_private.h: Remove file.
47165 * math/math_private.h: Move file ...
47166 * sysdeps/generic/math_private.h: ... here.
47167
b8c03620
RH
47168 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47169 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47170 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47171
4e234f5d 47172 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47173 and <math_private.h>.
47174 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47175 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47176 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47177 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47178 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47190 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47191 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47193 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47195 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47196 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47198 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47199 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47204 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47206 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47207 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47208 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47209 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47210 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47211 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47212 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47213 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47214 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47215 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47217 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47218 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47219 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47220 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47221 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47223 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47224 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47225 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47226 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47227 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47228 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47231 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47232 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47233 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47234 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47235 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47236 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47238 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47239 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47240 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47241 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47242 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47244 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47245 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47246 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47248 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47253 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47256 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47258 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47261 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47262 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47263 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47264 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47265 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47266 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47267 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47268 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47269 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47271 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47273 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47274 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47275 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47276 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47277 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47278 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47279 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47280 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47281 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47286 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47287 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47288 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47290 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47291 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47292 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47293 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47294 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47295 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47297 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47298 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47299 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47300 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47301 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47302 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47303 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47304 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47306 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47307 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47308 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47309 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47310 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47311 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47312 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47313 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47314 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47315 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47316 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47317 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47318 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47319 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47320 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47321 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47322 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47323 * sysdeps/ieee754/k_standard.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47351 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47383 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47394 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47400 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47401 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47406 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47407 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47409 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47411 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47412 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47417 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47418 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47420 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47421 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47422 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47423 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47424 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47426 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47427 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47428 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47429 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47430 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47431 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47435 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47436 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47438 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47450 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47451 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47453 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47456 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47457 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47458 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47459 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47461 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47462 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47469 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47470 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47471 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47473 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47474 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47475 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47476 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47484 * sysdeps/ieee754/s_lib_version.c: Likewise.
47485 * sysdeps/ieee754/s_matherr.c: Likewise.
47486 * sysdeps/ieee754/s_signgam.c: Likewise.
47487 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47488 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47489 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47490 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47491 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47492 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47493 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47494 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47495 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47496 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47497 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47498 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47499 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47500 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47501 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47502 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47503 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47504 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47508
1991fa03
JM
475092012-03-09 Joseph Myers <joseph@codesourcery.com>
47510
47511 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47512 * sunrpc/rpc_main.c: Likewise.
47513 * sunrpc/rpc_svcout.c: Likewise.
47514
60d6f5a6
DM
475152012-03-09 David S. Miller <davem@davemloft.net>
47516
47517 * include/math_private.h: New file.
47518
4962050e
JM
475192012-03-09 Joseph Myers <joseph@codesourcery.com>
47520
02a6f887
JM
47521 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47522 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47523 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47524 from <bits/socket_type.h>.
47525 (enum __socket_type): Don't define here.
47526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47528 bits/socket_type.h.
47529
c6e013c1
JM
47530 [BZ #13566]
47531 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47532 checking __USE_GNU.
47533
4962050e
JM
47534 * Makerules ($(inst_includedir)/%.h): New rule.
47535 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47536 (install-others): Remove variable setting.
47537 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47538
38842f45
RH
475392012-03-08 Richard Henderson <rth@twiddle.net>
47540
67bb6da6
RH
47541 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47542 from macro to inline function; merge with the
47543 !__LIBC_INTERNAL_MATH_INLINES version.
47544 (__ieee754_sqrtf): Likewise.
47545
15194b4b
RH
47546 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47547 to inline function.
47548 (__rintf, __floor, __floorf): Likewise.
47549
64e21ede
RH
47550 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47551 macro to inline function.
47552 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47553
38842f45
RH
47554 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47555 not <math/math_private.h>.
47556
c64bf5fe
DM
475572012-03-08 David S. Miller <davem@davemloft.net>
47558
47559 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47560 copyright year.
47561 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47562
82d86f28
TS
475632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47564
47565 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47566 normalization.
47567 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47568 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47569
aea5d727
UD
475702012-03-08 Ulrich Drepper <drepper@gmail.com>
47571
47572 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47573 be defined individually, they must be defined as a block. Define
47574 S for printing a string instead of hidint the different by using a
47575 macro for adding the 'l'.
47576 * stdio-common/tst-fphex-wide.c: Adjust.
47577
70bca0a3
MP
475782012-03-07 Marek Polacek <polacek@redhat.com>
47579
47580 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47581
65b81130
MP
475822012-03-08 Marek Polacek <polacek@redhat.com>
47583
47584 [BZ #13806]
47585 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47586 * stdio-common/tst-fphex.c: Define a few macros to make the
47587 test reusable. Use them.
47588 * stdio-common/tst-fphex-wide.c: New file.
47589
07037eeb
JM
475902012-03-08 Joseph Myers <joseph@codesourcery.com>
47591
a7a93d50
JM
47592 [BZ #6911]
47593 * manual/macros.texi (gnusystems): New macro.
47594 (nongnusystems): Likewise.
47595 (gnulinuxhurdsystems): Likewise.
47596 (gnuhurdsystems): Likewise..
47597 (gnulinuxsystems): Likewise.
47598 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47599 variants of the GNU system, not "GNU system".
47600 * manual/conf.texi: Likewise.
47601 * manual/errno.texi: Likewise. Update example of errno macro
47602 expansion.
47603 * manual/filesys.texi: Likewise.
47604 (getumask): Document as specific to GNU/Hurd.
47605 * manual/install.texi: Likewise. Reword some references to
47606 GNU/Linux.
47607 * manual/intro.texi: Likewise.
47608 * manual/io.texi: Likewise.
47609 (File Name Portability): Detail which constraints are inapplicable
47610 to all GNU systems and which are only inapplicable to GNU/Hurd.
47611 * manual/job.texi: Likewise.
47612 * manual/llio.texi: Likewise.
47613 (O_NOCTTY): Document as present on GNU/Linux.
47614 * manual/maint.texi: Likewise.
47615 * manual/memory.texi: Likewise.
47616 * manual/pattern.texi: Likewise.
47617 * manual/pipe.texi: Likewise.
47618 * manual/process.texi: Likewise.
47619 * manual/resource.texi: Likewise.
47620 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47621 child on GNU/Hurd.
47622 * manual/setjmp.texi: Likewise.
47623 * manual/signal.texi: Likewise.
47624 * manual/startup.texi: Likewise.
47625 * manual/stdio.texi: Likewise.
47626 * manual/terminal.texi: Likewise.
47627 (ONLCR): Document as POSIX.
47628 (OXTABS): Document availability on GNU/Linux as XTABS.
47629 (ONOEOT): Document availability separately from other bits.
47630 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47631 * manual/time.texi: Likewise.
47632 * manual/users.texi: Likewise.
47633 * INSTALL: Regenerated.
47634 * sysdeps/gnu/errlist.c: Regenerated.
47635
07037eeb
JM
47636 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47637 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47638 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47639 puts.
47640 * configure: Regenerated.
47641
d1d3431a
JM
476422012-03-07 Joseph Myers <joseph@codesourcery.com>
47643
af6a1e37
JM
47644 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47645 default includes instead of AC_HEADER_CHECK.
47646 * sysdeps/i386/configure: Regenerated.
47647
d1d3431a
JM
47648 [BZ #10716]
47649 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47650 * math/s_cacoshf.c (__cacoshf): Likewise.
47651 * math/s_cacoshl.c (__cacoshl): Likewise.
47652 * math/s_casinh.c (__casinh): Set signs of result from argument.
47653 * math/s_casinhf.c (__casinhf): Likewise.
47654 * math/s_casinhl.c (__casinhl): Likewise.
47655 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47656 (casinh_test): Add more tests.
47657 * sysdeps/i386/fpu/libm-test-ulps: Update.
47658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47659
482ff4da
UD
476602012-03-07 Ulrich Drepper <drepper@gmail.com>
47661
872fda05
UD
47662 * po/zh_TW.po: Update from translation team.
47663
a4300c7a
UD
47664 * login/Makefile (distribute): Remove variable.
47665 * catgets/Makefile: Likewise.
47666 * mach/Makefile: Likewise.
47667 * malloc/Makefile: Likewise.
47668 * misc/Makefile: Likewise.
47669 * iconv/Makefile: Likewise.
47670 * nscd/Makefile: Likewise.
47671 * hurd/Makefile: Likewise.
47672 * manual/Makefile: Likewise.
47673 * locale/Makefile: Likewise.
47674 * intl/Makefile: Likewise.
47675 * conform/Makefile: Likewise.
47676 * nss/Makefile: Likewise.
47677 * time/Makefile: Likewise.
47678 * soft-fp/Makefile: Likewise.
47679 * dirent/Makefile: Likewise.
47680 * gmon/Makefile: Likewise.
47681 * po/Makefile: Likewise.
47682 * rt/Makefile: Likewise.
47683 * socket/Makefile: Likewise.
47684 * math/Makefile: Likewise.
47685 * signal/Makefile: Likewise.
47686 * debug/Makefile: Likewise.
47687 * elf/Makefile: Likewise.
47688 * timezone/Makefile: Likewise.
47689 * stdlib/Makefile: Likewise.
47690 * iconvdata/Makefile: Likewise.
47691 * sunrpc/Makefile: Likewise.
47692 * io/Makefile: Likewise.
47693 * argp/Makefile: Likewise.
47694 * inet/Makefile: Likewise.
47695 * hesiod/Makefile: Likewise.
47696 * grp/Makefile: Likewise.
47697 * csu/Makefile: Likewise.
47698 * wctype/Makefile: Likewise.
47699 * crypt/Makefile: Likewise.
47700 * libio/Makefile: Likewise.
47701 * string/Makefile: Likewise.
47702 * nis/Makefile: Likewise.
47703 * resolv/Makefile: Likewise.
47704 * stdio-common/Makefile: Likewise.
47705 * wcsmbs/Makefile: Likewise.
47706 * dlfcn/Makefile: Likewise.
47707 * posix/Makefile: Likewise.
47708
3b7c4e74 47709 [BZ #6959]
482ff4da
UD
47710 * timezone/Makefile: Don't install timezone files, just the programs
47711 and scripts.
47712
f72ed77d
UD
477132012-03-06 Ulrich Drepper <drepper@gmail.com>
47714
a000466f
UD
47715 * nss/databases.def: Add missing gshadow entry.
47716
f72ed77d
UD
47717 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47718
a53b7a4e
MP
477192012-03-06 Marek Polacek <polacek@redhat.com>
47720
47721 [BZ #13726]
47722 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47723 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47724 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47725 * stdio-common/tst-long-dbl-fphex.c: New file.
47726
e9258400
DM
477272012-03-06 David S. Miller <davem@davemloft.net>
47728
47729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47730 (set_obp_int): New function.
47731 (get_obp_int): New function.
47732 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47733 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47734 Avoid unused variable warnings on 'val' and use builtin_expect.
47735 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47736 __builtin_expect.
e9258400
DM
47737 (INLINE_CLONE_SYSCALL): Likewise.
47738
3bd2c723
DM
477392012-03-05 David S. Miller <davem@davemloft.net>
47740
47741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47742
bbb78d03
AS
477432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47744
884c5db4
AS
47745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47746
bbb78d03
AS
47747 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47748 only for |x| >= 40.
47749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47750
1c9f702a 477512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47752
47753 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47754 Replace gettimeofday with __vdso_gettimeofday.
47755
7be16f82
RM
47756 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47757 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47758 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47759
47760 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47761 time with __vdso_time.
47762
ed58a00f
JM
477632012-03-05 Joseph Myers <joseph@codesourcery.com>
47764
47765 * manual/lang.texi (size_t): Note types to which size_t may be
47766 equivalent with the GNU C Library, but do not describe when
47767 differences between them are significant.
47768
30ee4ced
AJ
477692012-03-05 Andreas Jaeger <aj@suse.de>
47770
47771 * sysdeps/i386/fpu/libm-test-ulps: Update.
47772
b7cd39e8
JM
477732012-03-05 Joseph Myers <joseph@codesourcery.com>
47774
47775 [BZ #3976]
47776 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47777 (__ieee754_pow): Save and restore rounding mode and use
47778 round-to-nearest for main computations.
47779 * math/libm-test.inc (pow_test_tonearest): New function.
47780 (pow_test_towardzero): Likewise.
47781 (pow_test_downward): Likewise.
47782 (pow_test_upward): Likewise.
47783 (main): Call the new functions.
47784 * sysdeps/i386/fpu/libm-test-ulps: Update.
47785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47786
47787 [BZ #3976]
47788 * math/libm-test.inc (cosh_test_tonearest): New function.
47789 (cosh_test_towardzero): Likewise.
47790 (cosh_test_downward): Likewise.
47791 (cosh_test_upward): Likewise.
47792 (sinh_test_tonearest): Likewise.
47793 (sinh_test_towardzero): Likewise.
47794 (sinh_test_downward): Likewise.
47795 (sinh_test_upward): Likewise.
47796 (main): Call the new functions.
47797 * sysdeps/i386/fpu/libm-test-ulps: Update.
47798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47799
6c6a98c9
TV
478002012-03-05 Tom de Vries <tom@codesourcery.com>
47801
47802 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47803 default stack guard is set in last bytes.
47804 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47805
21bb2d2e 478062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47807
21bb2d2e 47808 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47809
21bb2d2e
AJ
47810 [BZ #13656]
47811 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47812 possibly allocate from heap instead of stack.
47813 * stdio-common/bug-vfprintf-nargs.c: New file.
47814 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47815
c6922934
AS
478162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47817
47818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47819
bc957d53
MP
478202012-03-03 Marek Polacek <polacek@redhat.com>
47821
47822 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47823 * math/math_private.h: Likewise.
47824 * stdlib/tst-strtod.c: Likewise.
47825 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47826 * sysdeps/x86_64/bits/atomic.h: Likewise.
47827
6358490d
DM
478282012-03-02 David S. Miller <davem@davemloft.net>
47829
47830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47834 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47835 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47836 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47837 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47838
01ae168d
RM
478392012-03-02 Roland McGrath <roland@hack.frob.com>
47840
d9a17c07
RM
47841 [BZ #13792]
47842 * manual/examples/README: New file, says the example source files
47843 can be used under GPL>=2.
47844 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47845 line containing just "*/".
47846 * manual/examples/add.c: Add copyright header (GPL>=2).
47847 * manual/examples/argp-ex1.c: Likewise.
47848 * manual/examples/argp-ex2.c: Likewise.
47849 * manual/examples/argp-ex3.c: Likewise.
47850 * manual/examples/argp-ex4.c: Likewise.
47851 * manual/examples/atexit.c: Likewise.
47852 * manual/examples/db.c: Likewise.
47853 * manual/examples/dir.c: Likewise.
47854 * manual/examples/dir2.c: Likewise.
47855 * manual/examples/execinfo.c: Likewise.
47856 * manual/examples/filecli.c: Likewise.
47857 * manual/examples/filesrv.c: Likewise.
47858 * manual/examples/fmtmsgexpl.c: Likewise.
47859 * manual/examples/genpass.c: Likewise.
47860 * manual/examples/inetcli.c: Likewise.
47861 * manual/examples/inetsrv.c: Likewise.
47862 * manual/examples/isockad.c: Likewise.
47863 * manual/examples/longopt.c: Likewise.
47864 * manual/examples/memopen.c: Likewise.
47865 * manual/examples/memstrm.c: Likewise.
47866 * manual/examples/mkfsock.c: Likewise.
47867 * manual/examples/mkisock.c: Likewise.
47868 * manual/examples/mygetpass.c: Likewise.
47869 * manual/examples/pipe.c: Likewise.
47870 * manual/examples/popen.c: Likewise.
47871 * manual/examples/rprintf.c: Likewise.
47872 * manual/examples/search.c: Likewise.
47873 * manual/examples/select.c: Likewise.
47874 * manual/examples/setjmp.c: Likewise.
47875 * manual/examples/sigh1.c: Likewise.
47876 * manual/examples/sigusr.c: Likewise.
47877 * manual/examples/stpcpy.c: Likewise.
47878 * manual/examples/strdupa.c: Likewise.
47879 * manual/examples/strftim.c: Likewise.
47880 * manual/examples/strncat.c: Likewise.
47881 * manual/examples/subopt.c: Likewise.
47882 * manual/examples/swapcontext.c: Likewise.
47883 * manual/examples/termios.c: Likewise.
47884 * manual/examples/testopt.c: Likewise.
47885 * manual/examples/testpass.c: Likewise.
47886 * manual/examples/timeval_subtract.c: Likewise.
47887
01ae168d
RM
47888 [BZ #13792]
47889 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47890 function to ...
47891 * manual/timeval_subtract.c.texi: ... here, new file.
47892
49efa33d
DM
478932012-03-02 David S. Miller <davem@davemloft.net>
47894
47895 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47896
28afd92d
JM
478972012-03-02 Joseph Myers <joseph@codesourcery.com>
47898
804360ed
JM
47899 [BZ #3976]
47900 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47901 (__sin): Save and restore rounding mode and use round-to-nearest
47902 for all computations.
47903 (__cos): Save and restore rounding mode and use round-to-nearest
47904 for all computations.
47905 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47906 <fenv.h>.
47907 (tan): Save and restore rounding mode and use round-to-nearest for
47908 all computations.
47909 * math/libm-test.inc (cos_test_tonearest): New function.
47910 (cos_test_towardzero): Likewise.
47911 (cos_test_downward): Likewise.
47912 (cos_test_upward): Likewise.
47913 (sin_test_tonearest): Likewise.
47914 (sin_test_towardzero): Likewise.
47915 (sin_test_downward): Likewise.
47916 (sin_test_upward): Likewise.
47917 (tan_test_tonearest): Likewise.
47918 (tan_test_towardzero): Likewise.
47919 (tan_test_downward): Likewise.
47920 (tan_test_upward): Likewise.
47921 (main): Call the new functions.
47922 * sysdeps/i386/fpu/libm-test-ulps: Update.
47923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47924
a6d06d7b
JM
47925 [BZ #10135]
47926 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47927 small n, then large n, before computing and testing k+n.
47928 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47930 Likewise.
47931 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47932 Likewise.
47933 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47934 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47935 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47936 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47937 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47938 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47939 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47940 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47941 * math/libm-test.inc (scalbn_test): Add more tests.
47942 (scalbln_test): Likewise.
47943
07e12bb3
JM
47944 * manual/filesys.texi (mode_t): Describe constraints on size and
47945 signedness, not exact equivalence to a particular type.
47946 (ino_t): Likewise.
47947 (ino64_t): Likewise.
47948 (dev_t): Likewise.
47949 (nlink_t): Likewise.
47950 (blkcnt_t): Likewise.
47951 (blkcnt64_t): Likewise.
47952 * manual/llio.texi (off_t): Likewise.
47953
28afd92d
JM
47954 [BZ #3976]
47955 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47956 (__ieee754_exp): Save and restore rounding mode and use
47957 round-to-nearest for all computations.
47958 * math/libm-test.inc (exp_test_tonearest): New function.
47959 (exp_test_towardzero): Likewise.
47960 (exp_test_downward): Likewise.
47961 (exp_test_upward): Likewise.
47962 (main): Call the new functions.
47963 * sysdeps/i386/fpu/libm-test-ulps: Update.
47964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47965
b1eeb65d
CD
479662012-03-01 Chris Demetriou <cgd@google.com>
47967
47968 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47969 have predictable order.
47970
53362a4b
DM
479712012-03-01 David S. Miller <davem@davemloft.net>
47972
3c969083
DM
47973 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47974
759707de
DM
47975 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47976 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47977 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47978 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47979
dfdb8ff2
DM
47980 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47981 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47982 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47984 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47985 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47986 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47987 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47988 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47989
ead89f96
DM
47990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47991
7f66bd07
DM
47992 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47993 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47995
53362a4b
DM
47996 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47997 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47998 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47999 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48000 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48003 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48004 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48005 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48006 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48007 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48009 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48010 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48012 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48013 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48014 * sysdeps/sparc/elf/configure: Regenerated.
48015
7b1902cb
JM
480162012-03-01 Joseph Myers <joseph@codesourcery.com>
48017
bec039bc
JM
48018 * configure.in (AS, LD): Require binutils 2.20 or later.
48019 * configure: Regenerated.
48020 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48021 as required minimum version.
48022 * INSTALL: Regenerated.
48023
7b1902cb
JM
48024 [BZ #2541]
48025 [BZ #4108]
48026 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48027 before squaring exponent.
48028 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48029 bottom long double and 27 bits of top long double before squaring
48030 exponent.
48031 * math/libm-test.inc (erfc_test): Add more tests.
48032 * sysdeps/i386/fpu/libm-test-ulps: Update.
48033 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48035
f775c276
KT
480362012-03-01 Kai Tietz <ktietz@redhat.com>
48037
48038 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48039 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48040 containing bit-fields.
48041 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48042 * soft-fp/single.h (_FP_UNION_S): Likewise.
48043 * soft-fp/double.h (_FP_UNION_D): Likewise.
48044
5b8a4d4a
JM
480452012-02-29 Joseph Myers <joseph@codesourcery.com>
48046
0bab47b6
JM
48047 [BZ #13786]
48048 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48049 not include ../strcmp.S.
48050 [USE_AS_STRNCASECMP_L]: Likewise.
48051 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48052 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48053 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48054 (__strncasecmp_l_ia32): Define as alias to
48055 __strncasecmp_l_nonascii.
48056
0fcad3e2
JM
48057 [BZ #5794]
48058 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48059 * sysdeps/i386/fpu/libm-test-ulps: Update.
48060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48061
5b8a4d4a
JM
48062 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48064
8fdceb2e
JL
480652012-02-29 Jeff Law <law@redhat.com>
48066
48067 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48068 out of bounds read.
48069
1f393a11
MP
480702012-02-29 Marek Polacek <polacek@redhat.com>
48071
48072 [BZ #13706]
48073 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48074 * elf/Makefile: Add rules to run tst-unused-dep.out.
48075
8847f037
DM
480762012-02-28 David S. Miller <davem@davemloft.net>
48077
48078 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48079 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48082 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48083 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48084
169d7f11
JM
480852012-02-29 Joseph Myers <joseph@codesourcery.com>
48086
48087 * math/libm-test.inc (llround_test): Move one test from
48088 lround_test. Use TEST_f_L in moved test.
48089 (lround_test): Move misplaced test to llround_test. Add testcase
48090 from bug 2561.
48091
39adf059
UD
480922012-02-28 Ulrich Drepper <drepper@gmail.com>
48093
48094 * sysdeps/x86_64/fpu/e_expf.S: New file.
48095 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48096
71b5d1c5
SB
480972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48098
48099 [BZ #13637]
48100 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48101 of remain_len that may cause incomplete multi-byte character and
48102 false match.
48103 * posix/bug-regex33.c: New file.
48104 * posix/Makefile (tests): Add bug-regex33.
48105
1f77f049
JM
481062012-02-28 Joseph Myers <joseph@codesourcery.com>
48107
48108 * manual/macros.texi: New file.
48109 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48110 * manual/libc.texinfo: Include macros.texi.
48111 * manual/creatute.texi: Likewise.
48112 * manual/install.texi: Likewise.
48113 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48114 @glibcadj{} in references to the GNU C Library.
48115 * manual/charset.texi: Likewise.
48116 * manual/conf.texi: Likewise.
48117 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48118 when not using those macros.
48119 * manual/creature.texi: Likewise.
48120 * manual/crypt.texi: Likewise.
48121 * manual/errno.texi: Likewise.
48122 * manual/filesys.texi: Likewise.
48123 * manual/header.texi: Likewise.
48124 * manual/install.texi: Likewise.
48125 * manual/intro.texi: Likewise.
48126 * manual/io.texi: Likewise.
48127 * manual/job.texi: Likewise.
48128 * manual/lang.texi: Likewise.
48129 * manual/libc.texiinfo: Likewise.
48130 * manual/llio.texi: Likewise.
48131 * manual/locale.texi: Likewise.
48132 * manual/maint.texi: Likewise.
48133 * manual/math.texi: Likewise.
48134 * manual/memory.texi: Likewise.
48135 * manual/message.texi: Likewise.
48136 * manual/nss.texi: Likewise.
48137 * manual/pattern.texi: Likewise.
48138 * manual/process.texi: Likewise.
48139 * manual/resource.texi: Likewise.
48140 * manual/search.texi: Likewise.
48141 * manual/setjmp.texi: Likewise.
48142 * manual/signal.texi: Likewise.
48143 * manual/socket.texi: Likewise.
48144 * manual/startup.texi: Likewise.
48145 * manual/stdio.texi: Likewise.
48146 * manual/string.texi: Likewise.
48147 * manual/sysinfo.texi: Likewise.
48148 * manual/syslog.texi: Likewise.
48149 * manual/terminal.texi: Likewise.
48150 * manual/time.texi: Likewise.
48151 * manual/users.texi: Likewise.
48152 * INSTALL: Regenerated.
48153 * NOTES: Regenerated.
d40c5d54 48154 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48155
450bf206
AS
481562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48157
48158 * include/dirent.h: Include <dirstream.h> before
48159 <dirent/dirent.h>.
48160
741a235b
DM
481612012-02-28 David S. Miller <davem@davemloft.net>
48162
48163 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48164 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48165 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48166 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48167
d6b5aa58
DM
481682012-02-27 David S. Miller <davem@davemloft.net>
48169
1aff59a3
DM
48170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48172 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48173 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48174
d6b5aa58
DM
48175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48176 frame pointer instead of stack pointer relative arg slot.
48177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48180
433f48bf
CD
481812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48182
48183 [BZ #3992]
48184 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48185
d674b76d
DM
481862012-02-27 David S. Miller <davem@davemloft.net>
48187
48188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48192 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48193 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48194 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48195 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48196
0e7727f7
JM
481972012-02-27 Joseph Myers <joseph@codesourcery.com>
48198
48199 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48200 later. Allow versions 5-9.
43be4ca2 48201 * configure: Regenerated.
0e7727f7
JM
48202 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48203 required minimum version and 4.6 as recommended version. Do not
48204 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48205 * INSTALL: Regenerated.
0e7727f7 48206
a78bc654
DM
482072012-02-27 David S. Miller <davem@davemloft.net>
48208
428d5830
DM
48209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48213 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48214 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48215 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48216 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48217
a78bc654
DM
48218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48219 manipulate bits before adding and subtracting TWO112[sx].
48220 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48221
4579f81c
RM
482222012-02-27 Roland McGrath <roland@hack.frob.com>
48223
36c8acb4
RM
48224 [BZ #13775]
48225 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48226 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48227 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48228 being in POSIX, because they are in 1003.1-2008.
48229
84ad622b
RM
48230 * rt/tst-aio.c: Include <fcntl.h>.
48231 * rt/tst-aio7.c: Likewise.
48232 * rt/tst-aio64.c: Likewise.
48233
4579f81c
RM
48234 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48235
abd923db
JM
482362012-02-27 Joseph Myers <joseph@codesourcery.com>
48237
48238 * manual/install.texi (--with-headers): Describe headers as
48239 interface headers, not private headers.
48240 (Specific advice for GNU/Linux systems): Describe use of headers
48241 from "make headers_install", not private headers from older
48242 kernels.
43be4ca2 48243 * INSTALL: Regenerated.
abd923db
JM
48244 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48245 Change to 2.6.19.
48246 * sysdeps/unix/sysv/linux/configure: Regenerated.
48247
6664049b
JM
48248 * manual/llio.texi (fclean): Remove documentation.
48249
bb8b6697
JM
48250 * manual/Makefile (libc-texi-generated): New variable. Include
48251 version.texi.
48252 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48253 $(libc-texi-generated), not duplicated list of files.
48254 (version.texi, stamp-version): New rules.
48255 (realclean): Remove $(libc-texi-generated), not individual files
48256 from that list. Do not remove dir-add.texinfo.
48257 * manual/libc.texinfo: Comment out uses of edition numbers and
48258 references to printed manual. Remove last-updated dates.
48259 (EDITION): Comment out.
48260 (ISBN): Likewise.
48261 (VERSION, UPDATED): Remove.
48262 (version.texi): Include.
48263
12e5c3b9
AS
482642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48265
48266 * sysdeps/posix/spawni.c: Include <signal.h>.
48267 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48268 * sysdeps/pthread/aio_fsync.c: Likewise.
48269
4efeffc1 482702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48271
ba63ba08
UD
48272 * conform/Makefile (tests): Run only when not cross-compiling and
48273 when fast-check is not defined.
48274
d94a4670
UD
48275 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48276 * conform/data/limits.h-data: Fixes for POSIX2008.
48277 * conform/run-conformtest.sh: Run all tests.
48278 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48279 headers.
48280 * include/bits/dlfcn.h: Likewise.
48281 * include/langinfo.h: Likewise.
48282 * include/monetary.h: Likewise.
48283 * include/sys/poll.h: Likewise.
48284
48285 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48286 for __USE_GNU.
48287 * posix/spawn.h: Define __need_sigset_t.
48288 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48289 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48290 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48291 to get sigevent_t only.
48292 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48293 only for __USE_GNU.
48294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48295 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48296 process_vm_writev only for __USE_GNU.
48297 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48298
48299 * conform/Makefile: For now ignore errors from run-conformtest.
48300 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48301 POSIX to avoid namespace pollution. Don't prepend headers.
48302 * conform/data/aio.h-data: Fixes for POSIX testing.
48303 * conform/data/fcntl.h-data: Likewise.
48304 * conform/data/glob.h-data: Likewise.
48305 * conform/data/grp.h-data: Likewise.
48306 * conform/data/pthread.h-data: Likewise.
48307 * conform/data/pwd.h-data: Likewise.
48308 * conform/data/signal.h-data: Likewise.
48309 * conform/data/spawn.h-data: Likewise.
48310 * conform/data/stdio.h-data: Likewise.
48311 * conform/data/stdlib.h-data: Likewise.
48312 * conform/data/stropts.h-data: Likewise.
48313 * conform/data/sys/mman.h-data: Likewise.
48314 * conform/data/sys/stat.h-data: Likewise.
48315 * conform/data/sys/types.h-data: Likewise.
48316 * conform/data/sys/wait.h-data: Likewise.
48317 * conform/data/time.h-data: Likewise.
48318 * conform/data/unistd.h-data: Likewise.
48319 * conform/data/utime.h-data: Likewise.
48320
48321 * io/sys/stat.h: fchmod was always in POSIX.
48322 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48323 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48324 * rt/aio.h: Define __need_timespec before including <time.h>.
48325 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48326 struct. Add forward declaration of pthread_attr_t and use it in
48327 sigevent.
48328 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48329 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48330 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48331 always remove CLK_TCK definition.
48332
c20105c3
AS
483332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48334
48335 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48336
7a270350
UD
483372012-02-25 Ulrich Drepper <drepper@gmail.com>
48338
31341567
UD
48339 * conform/run-conformtest.sh: New file.
48340 * conform/Makefile: Run run-conformtest for tests.
48341 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48342 support.
48343
48344 * conform/data/uchar.h-data: New file.
48345 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48346 * conform/data/arpa/inet.h-data: Likewise.
48347 * conform/data/assert.h-data: Likewise.
48348 * conform/data/complex.h-data: Likewise.
48349 * conform/data/cpio.h-data: Likewise.
48350 * conform/data/ctype.h-data: Likewise.
48351 * conform/data/dirent.h-data: Likewise.
48352 * conform/data/dlfcn.h-data: Likewise.
48353 * conform/data/errno.h-data: Likewise.
48354 * conform/data/fcntl.h-data: Likewise.
48355 * conform/data/float.h-data: Likewise.
48356 * conform/data/fmtmsg.h-data: Likewise.
48357 * conform/data/fnmatch.h-data: Likewise.
48358 * conform/data/ftw.h-data: Likewise.
48359 * conform/data/glob.h-data: Likewise.
48360 * conform/data/grp.h-data: Likewise.
48361 * conform/data/iconv.h-data: Likewise.
48362 * conform/data/inttypes.h-data: Likewise.
48363 * conform/data/langinfo.h-data: Likewise.
48364 * conform/data/libgen.h-data: Likewise.
48365 * conform/data/limits.h-data: Likewise.
48366 * conform/data/locale.h-data: Likewise.
48367 * conform/data/math.h-data: Likewise.
48368 * conform/data/monetary.h-data: Likewise.
48369 * conform/data/mqueue.h-data: Likewise.
48370 * conform/data/ndbm.h-data: Likewise.
48371 * conform/data/net/if.h-data: Likewise.
48372 * conform/data/netdb.h-data: Likewise.
48373 * conform/data/netinet/in.h-data: Likewise.
48374 * conform/data/nl_types.h-data: Likewise.
48375 * conform/data/poll.h-data: Likewise.
48376 * conform/data/pthread.h-data: Likewise.
48377 * conform/data/pwd.h-data: Likewise.
48378 * conform/data/regex.h-data: Likewise.
48379 * conform/data/sched.h-data: Likewise.
48380 * conform/data/search.h-data: Likewise.
48381 * conform/data/semaphore.h-data: Likewise.
48382 * conform/data/setjmp.h-data: Likewise.
48383 * conform/data/signal.h-data: Likewise.
48384 * conform/data/spawn.h-data: Likewise.
48385 * conform/data/stdarg.h-data: Likewise.
48386 * conform/data/stdio.h-data: Likewise.
48387 * conform/data/stdlib.h-data: Likewise.
48388 * conform/data/string.h-data: Likewise.
48389 * conform/data/strings.h-data: Likewise.
48390 * conform/data/stropts.h-data: Likewise.
48391 * conform/data/sys/ipc.h-data: Likewise.
48392 * conform/data/sys/mman.h-data: Likewise.
48393 * conform/data/sys/msg.h-data: Likewise.
48394 * conform/data/sys/resource.h-data: Likewise.
48395 * conform/data/sys/select.h-data: Likewise.
48396 * conform/data/sys/sem.h-data: Likewise.
48397 * conform/data/sys/shm.h-data: Likewise.
48398 * conform/data/sys/socket.h-data: Likewise.
48399 * conform/data/sys/stat.h-data: Likewise.
48400 * conform/data/sys/statvfs.h-data: Likewise.
48401 * conform/data/sys/time.h-data: Likewise.
48402 * conform/data/sys/timeb.h-data: Likewise.
48403 * conform/data/sys/times.h-data: Likewise.
48404 * conform/data/sys/types.h-data: Likewise.
48405 * conform/data/sys/uio.h-data: Likewise.
48406 * conform/data/sys/un.h-data: Likewise.
48407 * conform/data/sys/utsname.h-data: Likewise.
48408 * conform/data/sys/wait.h-data: Likewise.
48409 * conform/data/syslog.h-data: Likewise.
48410 * conform/data/tar.h-data: Likewise.
48411 * conform/data/termios.h-data: Likewise.
48412 * conform/data/utime.h-data: Likewise.
48413 * conform/data/utmpx.h-data: Likewise.
48414 * conform/data/varargs.h-data: Likewise.
48415 * conform/data/wchar.h-data: Likewise.
48416 * conform/data/wctype.h-data: Likewise.
48417 * conform/data/wordexp.h-data: Likewise.
48418
48419 * include/stropts.h: New file.
48420 * include/uchar.h: New file.
48421 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48422 * include/assert.h: Likewise.
48423 * include/ctype.h: Likewise.
48424 * include/dirent.h: Likewise.
48425 * include/dlfcn.h: Likewise.
48426 * include/fcntl.h: Likewise.
48427 * include/fnmatch.h: Likewise.
48428 * include/glob.h: Likewise.
48429 * include/grp.h: Likewise.
48430 * include/libio.h: Likewise.
48431 * include/locale.h: Likewise.
48432 * include/math.h: Likewise.
48433 * include/net/if.h: Likewise.
48434 * include/netdb.h: Likewise.
48435 * include/netinet/in.h: Likewise.
48436 * include/pthread.h: Likewise.
48437 * include/pwd.h: Likewise.
48438 * include/regex.h: Likewise.
48439 * include/sched.h: Likewise.
48440 * include/search.h: Likewise.
48441 * include/setjmp.h: Likewise.
48442 * include/signal.h: Likewise.
48443 * include/stdio.h: Likewise.
48444 * include/stdlib.h: Likewise.
48445 * include/string.h: Likewise.
48446 * include/sys/cdefs.h: Likewise.
48447 * include/sys/mman.h: Likewise.
48448 * include/sys/msg.h: Likewise.
48449 * include/sys/resource.h: Likewise.
48450 * include/sys/select.h: Likewise.
48451 * include/sys/socket.h: Likewise.
48452 * include/sys/stat.h: Likewise.
48453 * include/sys/statvfs.h: Likewise.
48454 * include/sys/time.h: Likewise.
48455 * include/sys/times.h: Likewise.
48456 * include/sys/uio.h: Likewise.
48457 * include/sys/utsname.h: Likewise.
48458 * include/sys/wait.h: Likewise.
48459 * include/termios.h: Likewise.
48460 * include/time.h: Likewise.
48461 * include/ulimit.h: Likewise.
48462 * include/unistd.h: Likewise.
48463 * include/utime.h: Likewise.
48464 * include/wchar.h: Likewise.
48465 * include/wctype.h: Likewise.
48466 * include/wordexp.h: Likewise.
48467
48468 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48469
7a270350
UD
48470 * time/time.h: TIME_UTC must be a macro.
48471 Make timespec_get available for ISO C11 only as well.
48472
7724defc
UD
484732012-02-24 Ulrich Drepper <drepper@gmail.com>
48474
48475 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48476 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48477
6b1d1d46
JM
484782012-02-24 Joseph Myers <joseph@codesourcery.com>
48479
48480 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48481
0f8bbd69
JM
484822012-02-24 Joseph Myers <joseph@codesourcery.com>
48483
48484 * manual/texinfo.tex: Update to version 2012-01-19.16.
48485
66ab80bc
JM
484862012-02-24 Joseph Myers <joseph@codesourcery.com>
48487
48488 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48489
74981cc5
RM
484902012-02-24 Roland McGrath <roland@hack.frob.com>
48491
ee968201
RM
48492 [BZ #13738]
48493 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48494 * manual/fdl-1.3.texi: New file.
48495 * manual/fdl-1.1.texi: File removed.
48496
74981cc5
RM
48497 [BZ #13738]
48498 * manual/libc.texinfo (FDL_VERSION): New @set.
48499 Use it for mention of FDL in cover text.
48500 (Documentation License): Use it in @include file name.
48501
7bb764bc
JM
485022012-02-22 Joseph Myers <joseph@codesourcery.com>
48503 Roland McGrath <roland@hack.frob.com>
48504
48505 [BZ #5461]
57f41c40
AS
48506 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48507 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48508 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48509 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48510 name.
48511 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48512
6cbeae47
JM
485132012-02-22 Joseph Myers <joseph@codesourcery.com>
48514
48515 [BZ #2547]
48516 [BZ #11365]
48517 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48518 manipulate bits before adding and subtracting TWO23[sx].
48519 * math/libm-test.inc (nearbyint_test): Add more tests.
48520
fe45ce09
JM
485212012-02-22 Joseph Myers <joseph@codesourcery.com>
48522
48523 [BZ #2548]
48524 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48525 bits before adding and subtracting TWO23[sx].
48526 * math/libm-test.inc (rint_test): Add more tests.
48527 (rint_test_tonearest): Likewise.
48528 (rint_test_towardzero): Likewise.
48529 (rint_test_downward): Likewise.
48530 (rint_test_upward: Likewise.
48531
ff3b3d82
JM
485322012-02-22 Joseph Myers <joseph@codesourcery.com>
48533
48534 [BZ #10110]
48535 * include/stdc-predef.h: New file. Extracted from features.h.
48536 * include/features.h: Include stdc-predef.h.
48537 * Makefile (headers): Add stdc-predef.h.
48538 * CONFORMANCE (Compiler limitations): Update.
48539
ef0aab35
JM
485402012-02-22 Joseph Myers <joseph@codesourcery.com>
48541
48542 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48543
58639409
DM
485442012-02-21 David S. Miller <davem@davemloft.net>
48545
48546 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48547 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48548
c0e70b25
DM
485492012-02-20 David S. Miller <davem@davemloft.net>
48550
48551 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48552 using a normal save/restore sequence, rather than allocating a
48553 dummy stack frame just to store a frame pointer and restore.
48554 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48555
fb06851d
JM
485562012-02-21 Joseph Myers <joseph@codesourcery.com>
48557
48558 * manual/install.texi: Fix stray word in line-wrapped comment.
48559
7a8b71c3
DM
485602012-02-20 David S. Miller <davem@davemloft.net>
48561
d510c123
DM
48562 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48563 both binutils and gcc support GOTDATA.
48564
0722d7c2
DM
48565 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48566 "rd %pc" in the PIC register setup sequences.
48567
3d2b3019
DM
48568 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48569 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48570 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48571 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48572 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48574 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48575 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48577 (SYSCALL_ERROR_HANDLER): Likewise.
48578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48581 (SYSCALL_ERROR_HANDLER): Likewise.
48582
c80098a9
DM
48583 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48584 (HAVE_GCC_GOTDATA): New.
48585 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48586 relocation support in both binutils and gcc.
48587 * sysdeps/sparc/elf/configure: Regenerate.
48588
3a2545a0
DM
48589 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48590 * sysdeps/sparc/sparc32/elf/configure: Delete.
48591 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48592 * sysdeps/sparc/sparc64/elf/configure: Delete.
48593 * sysdeps/sparc/elf/configure.in: New file.
48594 * sysdeps/sparc/elf/configure: Generate.
48595
7a8b71c3
DM
48596 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48597 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48598 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48599 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48600 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48601
f1e86fca
JM
486022012-02-21 Joseph Myers <joseph@codesourcery.com>
48603
48604 * manual/install.texi: Do not mention specific glibc version
48605 numbers.
48606 * manual/libc.texinfo (VERSION, UPDATED): Update.
48607 (@copying): Use @copyright{} and range of years.
48608
0e7dfaef
JM
486092012-02-21 Joseph Myers <joseph@codesourcery.com>
48610
48611 [BZ #13695]
48612 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48613 [crti.S not in sysdirs] (generated): Do not append.
48614 [crti.S not in sysdirs] (omit-deps): Likewise.
48615 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48616 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48617 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48618 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48619 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48620 Likewise.
48621 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48622 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48623 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48624 * csu/defs.awk: Remove file.
48625 * sysdeps/generic/initfini.c: Likewise.
48626 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48627 variable.
48628 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48629 Likewise.
48630
599af3ca
JM
486312012-02-20 Joseph Myers <joseph@codesourcery.com>
48632
48633 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48634 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48635 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48636 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48637 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48638 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48639 <bits/epoll.h>.
48640 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48641 (__EPOLL_PACKED): Define to empty if not defined by
48642 <bits/epoll.h>.
48643 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48645 bits/epoll.h.
48646
0e499750
JM
486472012-02-20 Joseph Myers <joseph@codesourcery.com>
48648
48649 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48650 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48651 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48652 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48653 <bits/timerfd.h>.
48654 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48656 bits/timerfd.h.
48657
5ad91f6e
JM
486582012-02-20 Joseph Myers <joseph@codesourcery.com>
48659
48660 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48661 in C locale.
48662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48663 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48666
06b99b02
AJ
486672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48668
48669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48670 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48671
7638c0fd
AS
486722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48673
48674 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48675 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48676 defined.
48677 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48678 Likewise.
48679 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48680 entry for 2.16.
48681
92221550
AJ
486822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48683
48684 * math/w_acos.c: Use non-signaling floating-point comparisons.
48685 * math/w_acosf.c: Likewise.
48686 * math/w_acosh.c: Likewise.
48687 * math/w_acoshf.c: Likewise.
48688 * math/w_acoshl.c: Likewise.
48689 * math/w_acosl.c: Likewise.
48690 * math/w_asin.c: Likewise.
48691 * math/w_asinf.c: Likewise.
48692 * math/w_asinl.c: Likewise.
48693 * math/w_atanh.c: Likewise.
48694 * math/w_atanhf.c: Likewise.
48695 * math/w_atanhl.c: Likewise.
48696 * math/w_exp2.c: Likewise.
48697 * math/w_exp2f.c: Likewise.
48698 * math/w_exp2l.c: Likewise.
48699 * math/w_j0.c: Likewise.
48700 * math/w_j0f.c: Likewise.
48701 * math/w_j0l.c: Likewise.
48702 * math/w_j1.c: Likewise.
48703 * math/w_j1f.c: Likewise.
48704 * math/w_j1l.c: Likewise.
48705 * math/w_jn.c: Likewise.
48706 * math/w_jnf.c: Likewise.
48707 * math/w_log.c: Likewise.
48708 * math/w_log10.c: Likewise.
48709 * math/w_log10f.c: Likewise.
48710 * math/w_log10l.c: Likewise.
48711 * math/w_log2.c: Likewise.
48712 * math/w_log2f.c: Likewise.
48713 * math/w_log2l.c: Likewise.
48714 * math/w_logf.c: Likewise.
48715 * math/w_logl.c: Likewise.
48716 * math/w_sqrt.c: Likewise.
48717 * math/w_sqrtf.c: Likewise.
48718 * math/w_sqrtl.c: Likewise.
48719 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48720 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48722 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48723 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48724
ebaf36eb
JM
487252012-02-19 Joseph Myers <joseph@codesourcery.com>
48726
48727 [BZ #9739]
48728 * manual/string.texi (strnlen): Use correct parameter name in
48729 equivalent expression.
48730
71c254a6
JM
487312012-02-19 Joseph Myers <joseph@codesourcery.com>
48732
48733 [BZ #11174]
48734 * manual/users.texi (seteuid): Consistently use neweuid for
48735 argument name.
48736
16d2c631
JM
487372012-02-19 Joseph Myers <joseph@codesourcery.com>
48738
48739 [BZ #13704]
48740 * manual/nss.texi (Services in the NSS configuration): Correct
48741 list of services in example configuration file.
48742
cd837b09
NB
487432012-02-19 Nick Bowler <nbowler@draconx.ca>
48744
48745 [BZ #11322]
48746 * manual/arith.texi: Remove statements about negative zero
48747 behaving identically to zero.
48748
02c4bbad
JM
487492012-02-18 Joseph Myers <joseph@codesourcery.com>
48750
48751 [BZ #5993]
48752 * manual/install.texi: Do not document upgrading from libc5.
48753
366842e7
JM
487542012-02-18 Joseph Myers <joseph@codesourcery.com>
48755
48756 [BZ #4596]
48757 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48758
dd54084d
DM
487592012-02-18 David S. Miller <davem@davemloft.net>
48760
48761 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48762 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48763 %o7 across the call.
48764 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48765 instead.
48766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48767 SETUP_PIC_REG_LEAF.
48768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48769 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48770 * sysdeps/sparc/crtn.S: Likewise.
48771
2bcc53a3
UD
487722012-02-17 Ulrich Drepper <drepper@gmail.com>
48773
48774 * aout/Makefile: Remove.
48775
09c093b5
RK
487762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48777
48778 [BZ #13058]
48779 * manual/examples/argp-ex1.c (main): Format definition in GNU
48780 style.
48781 * manual/examples/argp-ex2.c (main): Likewise.
48782 * manual/examples/argp-ex3.c (main): Likewise.
48783 * manual/examples/argp-ex4.c (main): Likewise.
48784 * manual/examples/longopt.c (main): Use new-style prototype
48785 definition.
48786 * manual/examples/strncat.c (main): Specify return type and use
48787 (void) for arguments.
48788 * manual/examples/subopt.c (main): Use char **argv argument.
48789
2ee633a2
JM
487902012-02-17 Joseph Myers <joseph@codesourcery.com>
48791
48792 [BZ #5077]
48793 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48794 rounding modes.
48795
0520adde
FB
487962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48797
48798 [BZ #6907]
48799 * manual/string.texi (strchr): Change when strchrnul is
48800 recommended.
48801
3f4081cd
DGM
488022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48803
48804 [BZ #174]
48805 * manual/locale.texi (setlocale): Document LOCPATH.
48806
d1b10e78
JM
488072012-02-17 Joseph Myers <joseph@codesourcery.com>
48808
48809 [BZ #10210]
48810 * manual/process.texi (execle): Move @dots{} before last argument.
48811
79c6869c
PB
488122012-02-17 Paul Bolle <pebolle@tiscali.nl>
48813
48814 [BZ #12047]
48815 * manual/charset.texi (Generic Charset Conversion): Fix typo
48816 (LC_TYPE -> LC_CTYPE).
48817
cc6e48bc
NB
488182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48819
48820 [BZ #5805]
48821 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48822 (scalbnf): Likewise.
48823 (scalbnl): Likewise.
48824 (scalbln): Likewise.
48825 (scalblnf): Likewise.
48826 (scalblnl): Likewise.
48827 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48828 (vwarnx): Likewise.
48829 (verr): Likewise.
48830 (verrx): Likewise.
48831 * manual/filesys.texi (telldir): Use braces around return type.
48832 * manual/llio.texi (mmap): Add space after comma.
48833 (mmap64): Likewise.
48834 * manual/math.texi (jn): Use @var{} on parameter names.
48835 (jnf): Likewise.
48836 (jnl): Likewise.
48837 (yn): Likewise.
48838 (ynf): Likewise.
48839 (ynl): Likewise.
48840 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48841 line.
48842 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48843 "...".
48844 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48845 (sched_get_priority_max): Likewise.
48846 * manual/signal.texi (sigvec): Add space after comma.
48847 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48848 names.
48849 (if_indextoname): Likewise.
48850 (if_freenameindex): Likewise.
48851 (sendto): Use ',' instead of '.' in prototype.
48852 * manual/startup.texi (syscall): Use @dots{} instead of literal
48853 "...".
48854 * manual/stdio.texi (__fpending): Separate initial words of
48855 paragraph from @deftypefun line.
48856 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48857 "...".
48858 (vsyslog): Use @var{} on parameter names.
48859 * manual/terminal.texi (stty): Use @var{} on parameter names.
48860 * manual/users.texi (getutmp): Use @var{} on parameter names.
48861 (getutmpx): Likewise.
48862
5b23062f
JM
488632012-02-17 Joseph Myers <joseph@codesourcery.com>
48864
48865 [BZ #6884]
48866 * manual/stdio.texi (fopen): Fix typos in description of
48867 ",ccs=STRING".
48868
8dee4833
AJ
488692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48870
48871 [BZ #4026]
48872 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48873 get clock_id definition.
48874
9078ce93
TS
488752012-02-17 Thomas Schwinge <thomas@schwinge.name>
48876
48877 [BZ #4822]
48878 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48879 (madvise): Cast every argument to void on its own.
48880
3835c55f
JM
488812012-02-17 Joseph Myers <joseph@codesourcery.com>
48882
48883 [BZ #9902]
48884 * manual/startup.texi (Exit Status): Fix typo.
48885
35c47e37
JM
488862012-02-17 Joseph Myers <joseph@codesourcery.com>
48887
48888 [BZ #10140]
48889 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48890 * manual/examples/argp-ex2.c: Likewise.
48891 * manual/examples/argp-ex3.c: Likewise.
48892
e3b69ca7
RH
488932012-02-16 Richard Henderson <rth@redhat.com>
48894
48895 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48896 * sysdeps/s390/s390-32/initfini.c: Remove.
48897 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48898 * sysdeps/s390/s390-64/initfini.c: Remove.
48899
df83af67
KK
489002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48901
48902 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48903 compiler output for sysdeps/generic/initfini.c.
48904 * sysdeps/sh/elf/initfini.c: Remove file.
48905
f63f3380
DM
489062012-02-16 David S. Miller <davem@davemloft.net>
48907
fb59b3a4
DM
48908 [BZ #11494]
48909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48910
f63f3380
DM
48911 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48912 * sysdeps/sparc/crti.S: New file.
48913 * sysdeps/sparc/crtn.S: New file.
48914 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48915 * sysdeps/sparc/sparc64/Makefile: Likewise.
48916
df6a4a4a
MF
489172012-02-15 Mike Frysinger <vapier@gentoo.org>
48918
6dd8f3dc 48919 [BZ #3335]
df6a4a4a
MF
48920 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48921
1cac7236
RM
489222012-02-15 Roland McGrath <roland@hack.frob.com>
48923
d2c736f8
RM
48924 [BZ #4822]
48925 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48926
1cac7236
RM
48927 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48928 (write, read, close): Likewise.
48929 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48930
8e475601
JM
489312012-02-15 Joseph Myers <joseph@codesourcery.com>
48932
48933 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48934 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48935 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48936 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48937 <bits/signalfd.h>.
48938 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48940 bits/signalfd.h.
48941
ed656b40
MP
489422012-02-14 Marek Polacek <polacek@redhat.com>
48943
48944 * sysdeps/x86_64/crti.S: New file.
48945 * sysdeps/x86_64/crtn.S: New file.
48946 * sysdeps/x86_64/elf/initfini.c: Remove file.
48947
2a979d3a
JM
489482012-02-13 Joseph Myers <joseph@codesourcery.com>
48949
48950 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48951 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48952 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48953 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48954 <bits/inotify.h>.
48955 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48957 bits/inotify.h.
48958
2a418ac3
JM
489592012-02-13 Joseph Myers <joseph@codesourcery.com>
48960
48961 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48962 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48963 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48964 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48965 <bits/eventfd.h>.
48966 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48968 bits/eventfd.h.
48969
fb779be7
TS
489702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48971
e19e83c5
RM
48972 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48973 __feraiseexcept instead of feraiseexcept.
7c35ffed 48974
fb779be7
TS
48975 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48976 nanosleep invocations.
48977 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48978 strings, and add error checking for a nanosleep invocations.
48979
59ba27a6
PE
489802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48981
48982 Replace FSF snail mail address with URLs, as per GNU coding standards.
48983 Most of the snail mail addresses were wrong anyway, and omitting
48984 them makes the source code easier to maintain. Almost all of the
48985 changes are to license notices and to locale LC_IDENTIFICATION
48986 addresses, except for this one:
48987 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48988 not its snail mail address.
48989
57b957eb
RH
489902012-02-09 Richard Henderson <rth@twiddle.net>
48991
af850b1c
RH
48992 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48993 of kernel-features.h.
48994
57b957eb
RH
48995 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48996
6b73181a
MP
489972012-02-08 Marek Polacek <polacek@redhat.com>
48998
48999 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49000 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49001 * sysdeps/gnu/_G_config.h: Likewise.
49002 * sysdeps/generic/_G_config.h: Likewise.
49003
26ecc33a
AS
490042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49005
6c6dbc63
AS
49006 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49007 tests.
49008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49009
e216c012
AS
49010 * sysdeps/powerpc/powerpc32/crti.S: New file.
49011 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49012 * sysdeps/powerpc/powerpc64/crti.S: New file.
49013 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49014
26ecc33a
AS
49015 * Makeconfig (have-initfini): Don't set.
49016 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49017 * configure.in (nopic_initfini): Don't substitute.
49018 * config.h.in (HAVE_INITFINI): Don't #undef.
49019 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49020 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49021
3add8e13
JM
490222012-02-08 Joseph Myers <joseph@codesourcery.com>
49023
49024 Support crti.S and crtn.S provided directly by architectures.
49025 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49026 [crti.S in sysdirs] (omit-deps): Likewise.
49027 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49028 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49029 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49030 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49031 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49032 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49033 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49034 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49035 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49036 compiler output for sysdeps/generic/initfini.c.
49037 * sysdeps/i386/elf/Makefile: Remove file.
49038 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49039
a22f12b4
MP
490402012-02-07 Marek Polacek <polacek@redhat.com>
49041
49042 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49043 * sysdeps/gnu/_G_config.h: Likewise.
49044 * sysdeps/mach/hurd/_G_config.h: Likewise.
49045
148cf100
MP
490462012-02-07 Marek Polacek <polacek@redhat.com>
49047
49048 * math/Makefile (tests): Add tst-CMPLX2.
49049 * math/tst-CMPLX2.c: New file.
49050
cfdc0dd7
AS
490512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49052
84ba42c4
AS
49053 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49054
cfdc0dd7
AS
49055 * math/libm-test.inc (jn_test): Add missing L suffix.
49056
622c86f4
MP
490572012-02-06 Marek Polacek <polacek@redhat.com>
49058
49059 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49060 * sysdeps/i386/fpu/e_powf.S: Likewise.
49061 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49062 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49063 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49064 * sysdeps/i386/fpu/e_pow.S: Likewise.
49065 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49066 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49067 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49068 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49069 * sysdeps/i386/fpu/e_log2.S: Likewise.
49070 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49072 * sysdeps/i386/fpu/e_powl.S: Likewise.
49073 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49074 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49075 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49076 * sysdeps/i386/fpu/e_logl.S: Likewise.
49077 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49078 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49079 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49080 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49081 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49082 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49083 * sysdeps/i386/fpu/e_log.S: Likewise.
49084 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49085 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49086 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49087 * sysdeps/i386/fpu/e_logf.S: Likewise.
49088 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49090 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49091 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49092 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49093 * sysdeps/i386/fpu/e_log10.S: Likewise.
49094 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49095 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49096 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49097 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49099 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49100 * sysdeps/i386/asm-syntax.h: Likewise.
49101 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49102 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49103 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49104 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49105 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49106 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49107 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49108 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49109 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49110 * sysdeps/powerpc/sysdep.h: Likewise.
49111 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49112 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49113
d4a54ac6
JM
491142012-02-06 Joseph Myers <joseph@codesourcery.com>
49115
49116 [BZ #411]
49117 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49118
314054ea
JM
491192012-02-06 Joseph Myers <joseph@codesourcery.com>
49120
49121 * sysdeps/i386/sysdep.h: Include <features.h>.
49122 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49123 version.
49124
d8e0ca50
JM
491252012-02-05 Joseph Myers <joseph@codesourcery.com>
49126
49127 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49128 Define.
49129 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49130 LOAD_PIC_REG_STR.
49131
b1da7dd9
JM
491322012-02-03 Joseph Myers <joseph@codesourcery.com>
49133
49134 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49135 (SETUP_PIC_REG): Use GET_PC_THUNK.
49136 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49137 macro.
49138
9a1d9254
JM
491392012-02-03 Joseph Myers <joseph@codesourcery.com>
49140
49141 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49142 for non-PIC compilation.
49143 (SETUP_PIC_REG): Add .p2align directive.
49144 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49145 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49146 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49147 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49148 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49149 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49150 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49158 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49159 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49160 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49161 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49162 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49163 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49164 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49166 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49167 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49168 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49169 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49170 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49171 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49172 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49173 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49174 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49175 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49176 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49177 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49178 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49179 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49180 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49181 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49182 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49183 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49184 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49185
65dc3b75
JM
491862012-02-03 Joseph Myers <joseph@codesourcery.com>
49187
49188 * math/tst-CMPLX.c: Include <stdio.h>.
49189
d55bf177
JM
491902012-01-31 Joseph Myers <joseph@codesourcery.com>
49191
49192 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49193 float.
49194 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49195 * sysdeps/sparc/bits/mathdef.h: Likewise.
49196
69db4f8f
MP
491972012-01-31 Marek Polacek <polacek@redhat.com>
49198
49199 * libio/libio.h: Don't define _PARAMS.
49200 * locale/programs/config.h: Don't define PARAMS.
49201 * stdlib/strtol_l.c: Likewise.
49202 (__strtol_l): Remove PARAMS from the prototype.
49203
41b81892
UD
492042012-01-31 Ulrich Drepper <drepper@gmail.com>
49205
3b49edc0
UD
49206 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49207 names. Just use the correct names. Remove unnecessary wrapper
49208 functions.
49209 * malloc/arena.c: Likewise.
49210 * malloc/hooks.c: Likewise.
49211
41b81892
UD
49212 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49213 ARENA_TEST says not to. Simplify test for creation of a new arena.
49214 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49215
27a25b6e
UD
492162012-01-30 Ulrich Drepper <drepper@gmail.com>
49217
49218 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49219 into tail calls.
49220 (update_get_addr): New function.
49221 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49222 GET_ADDR_MODULE parameter.
49223
c8a89e7d
JM
492242012-01-30 Joseph Myers <joseph@codesourcery.com>
49225
49226 * crypt/cert.c: Remove __STDC__ conditionals.
49227 * crypt/crypt-entry.c: Likewise.
49228 * crypt/crypt_util.c: Likewise.
49229 * libio/filedoalloc.c: Likewise.
49230 * libio/fileops.c: Likewise.
49231 * libio/genops.c: Likewise.
49232 * libio/iofclose.c: Likewise.
49233 * libio/iofdopen.c: Likewise.
49234 * libio/iofopen.c: Likewise.
49235 * libio/iofopen64.c: Likewise.
49236 * libio/iogetdelim.c: Likewise.
49237 * libio/iopopen.c: Likewise.
49238 * libio/obprintf.c: Likewise.
49239 * libio/oldfileops.c: Likewise.
49240 * libio/oldiofclose.c: Likewise.
49241 * libio/oldiofdopen.c: Likewise.
49242 * libio/oldiofopen.c: Likewise.
49243 * libio/oldiopopen.c: Likewise.
49244 * libio/wfiledoalloc.c: Likewise.
49245 * libio/wgenops.c: Likewise.
49246 * locale/programs/xmalloc.c: Likewise.
49247 * misc/syslog.c: Likewise.
49248 * stdio-common/xbug.c: Likewise.
49249 * string/memchr.c: Likewise.
49250 * string/memcmp.c: Likewise.
49251 * string/memrchr.c: Likewise.
49252 * string/rawmemchr.c: Likewise.
49253 * sysdeps/posix/getcwd.c: Likewise.
49254 * time/strftime_l.c: Likewise.
49255
3b100462
JM
492562012-01-30 Joseph Myers <joseph@codesourcery.com>
49257
49258 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49259 * config.make.in (config-cflags-sse2avx): Define.
49260 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49261 Fix typo.
49262
607998af
CM
492632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49264
49265 * scripts/config.guess: Update from upstream config git repository.
49266 * scripts/config.sub: Likewise.
49267
3601428f
CM
492682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49269
3ac8b282
CM
49270 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49271 (EM_NUM): Update.
49272 (R_TILEPRO_*, R_TILEGX_*): New macros.
49273
e034841e
CM
49274 * scripts/firstversions.awk: Fix bug in version range handling.
49275
540d7568
CM
49276 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49277
3601428f
CM
49278 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49279
463de862
CM
49280 * include/sys/epoll.h: New file.
49281 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49282 libc_hidden_def.
49283
73139a76
UD
492842012-01-28 Ulrich Drepper <drepper@gmail.com>
49285
96bc5b45
UD
49286 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49287 Avoid unnecessary __WORDSIZE == 64 test.
49288 (fmaxf): Use VEX format if possible.
49289 (fmax): Likewise.
49290 (fminf): Likewise.
49291 (fmin): Likewise.
49292
56f6f6a2
UD
49293 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49294 * math/math_private.h: Remove libc_fegetround* and
49295 libc_fesetround*.
49296 * sysdeps/i386/configure.in: Check for -msse2avx.
49297 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49298 also if SSE2AVX is defined.
49299 Remove libc_fegetround* and libc_fesetround*.
49300 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49301 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49302 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49303 of HAS_YMM_USABLE.
49304 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49305 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49307 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49308 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49309
73139a76
UD
49310 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49311
d73f93a4
AZ
493122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49313
49314 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49315 size is not set.
49316 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49317
6ee65ed6
UD
493182012-01-27 Ulrich Drepper <drepper@gmail.com>
49319
49320 [BZ #13618]
49321 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49322 relocation.
49323 * Makeconfig (libm): Define.
49324 * elf/Makefile: Add rules to build and run tst-relsort1.
49325 * elf/tst-relsort1.c: New file.
49326 * elf/tst-relsort1mod1.c: New file.
49327 * elf/tst-relsort1mod2.c: New file.
49328
8db21882
JM
493292012-01-27 Joseph Myers <joseph@codesourcery.com>
49330
49331 * math/s_ldexp.c: Remove __STDC__ conditionals.
49332 * math/s_ldexpf.c: Likewise.
49333 * math/s_ldexpl.c: Likewise.
49334 * math/s_nextafter.c: Likewise.
49335 * math/s_nexttowardf.c: Likewise.
49336 * math/s_significand.c: Likewise.
49337 * math/s_significandf.c: Likewise.
49338 * math/s_significandl.c: Likewise.
49339 * math/w_jnl.c: Likewise.
49340 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49341 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49342 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49343 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49344 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49346 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49349 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49350 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49352 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49353 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49354 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49355 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49356 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49357 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49358 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49359 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49360 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49361 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49362 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49364 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49365 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49366 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49367 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49368 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49369 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49370 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49371 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49372 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49373 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49374 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49376 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49377 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49378 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49379 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49380 * sysdeps/ieee754/k_standard.c: Likewise.
49381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49382 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49384 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49385 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49386 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49388 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49390 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49391 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49392 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49393 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49394 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49395 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49397 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49398 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49399 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49400 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49402 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49404 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49405 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49406 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49409 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49410 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49411 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49412 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49413 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49414 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49415 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49417 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49418 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49419 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49420 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49421 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49423 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49424 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49426 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49427 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49429 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49431 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49434 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49435 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49436 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49437 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49439 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49441 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49442 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49443 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49445 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49446 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49447 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49448 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49449 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49451 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49453 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49454 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49455 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49457 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49458 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49460 * sysdeps/ieee754/s_matherr.c: Likewise.
49461 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49462 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49465
965a54a4
JM
494662012-01-26 Joseph Myers <joseph@codesourcery.com>
49467
49468 * crypt/md5.h: Remove __STDC__ conditionals.
49469 * libio/libioP.h: Likewise.
49470 * locale/programs/config.h: Likewise.
49471 * sysdeps/generic/sysdep.h: Likewise.
49472 * sysdeps/i386/asm-syntax.h: Likewise.
49473 * sysdeps/s390/asm-syntax.h: Likewise.
49474 * sysdeps/unix/sysdep.h: Likewise.
49475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49477
7071ad79
JM
494782012-01-26 Joseph Myers <joseph@codesourcery.com>
49479
49480 * libio/libio.h: Remove __STDC__ conditionals.
49481 * malloc/obstack.h: Likewise.
49482 * math/complex.h: Likewise.
49483 * math/math.h: Likewise.
49484 * sysdeps/generic/_G_config.h: Likewise.
49485 * sysdeps/gnu/_G_config.h: Likewise.
49486 * sysdeps/mach/hurd/_G_config.h: Likewise.
49487 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49488 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49489 * sysdeps/sparc/bits/mathdef.h: Likewise.
49490
afc5ed09
UD
494912012-01-26 Ulrich Drepper <drepper@gmail.com>
49492
49493 [BZ #13583]
49494 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49495 Clean up HAS_* macros.
afc5ed09 49496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49497 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49498 possible.
49499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49500 HAS_AVX.
49501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49506
bdb6de1d
JM
495072012-01-25 Joseph Myers <joseph@codesourcery.com>
49508
49509 * elf/tst-unique3.cc (gets): Remove declaration.
49510 * elf/tst-unique3lib.cc (gets): Likewise.
49511 * elf/tst-unique3lib2.cc (gets): Likewise.
49512 * elf/tst-unique4.cc (gets): Likewise.
49513
b15549e6
UD
495142012-01-24 Ulrich Drepper <drepper@gmail.com>
49515
49516 * include/stdio.h: Add C++ protection. Add gets declarations and
49517 definitions.
49518 * debug/tst-chk1.c: Don't declare gets here.
49519 * stdio-common/tst-gets.c: Likewise.
49520
a037381f
JM
495212012-01-24 Joseph Myers <joseph@codesourcery.com>
49522
49523 * posix/glob: Remove directory.
49524
f1d4aa75
JM
495252012-01-24 Joseph Myers <joseph@codesourcery.com>
49526
49527 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49528
81c0c964
PT
495292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49530
49531 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49532 of the non-standard EPFNOSUPPORT.
49533
0ea698ae
ST
495342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49535
49536 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49537 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49538 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49539
d220b117
UD
495402012-01-21 Ulrich Drepper <drepper@gmail.com>
49541
49542 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49543
3e1aa84e
UD
495442012-01-20 Ulrich Drepper <drepper@gmail.com>
49545
49546 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49547 transient errors.
49548 * nscd/grpcache.c (cache_addgr): Likewise.
49549 * nscd/hstcache.c (cache_addhst): Likewise.
49550 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49551 * nscd/pwdcache.c (cache_addpw): Likewise.
49552 * nscd/servicescache.c (cache_addserv): Likewise.
49553
400aa020
UD
495542012-01-16 Ulrich Drepper <drepper@gmail.com>
49555
d77e7869
UD
49556 * malloc/malloc.c: Various cleanups.
49557 * malloc/hooks.c: Likewise.
49558
400aa020
UD
49559 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49560 * stdlib/bug-fmtmsg1.c: New file.
49561
49562 * stdlib/fmtmsg.c (init): Add missing unlock.
49563 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49564
e0a309cf
MP
495652012-01-12 Marek Polacek <polacek@redhat.com>
49566
49567 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49568 and _GNU_SOURCE.
49569
929d11c7
WS
495702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49571
49572 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49573 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49574 macro to ensure uniqueness of label name.
49575 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49576 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49577
41d0e869
UD
495782012-01-11 Ulrich Drepper <drepper@gmail.com>
49579
0cc5ed3b
UD
49580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49581
41d0e869
UD
49582 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49583 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49585 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49586
a47a831a
UD
495872012-01-10 Ulrich Drepper <drepper@gmail.com>
49588
daa891c0
UD
49589 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49590
49591 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49592 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49593 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49594
e58ef0f2
UD
49595 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49596
a47a831a 49597 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49598 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49599 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49600 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49601
49602 * math/bits/math-finite.h: Add ldexp support.
49603
a0bfc9c7
MP
496042012-01-10 Marek Polacek <polacek@redhat.com>
49605
49606 * locale/programs/localedef.h (show_archive_content): Add noreturn
49607 attribute.
49608
d6e97a1d
UD
496092012-01-09 Ulrich Drepper <drepper@gmail.com>
49610
49611 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49612
d5835c26
UD
496132012-01-08 Ulrich Drepper <drepper@gmail.com>
49614
e5f484c6
UD
49615 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49616
d5835c26
UD
49617 * io/Makefile (headers): Add bits/poll2.h.
49618
d1f741e9
WS
496192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49620
49621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49622 typo #include statement.
49623
ec09c1c4
UD
496242012-01-08 Ulrich Drepper <drepper@gmail.com>
49625
49626 * include/sys/cdefs.h: Define __attribute_alloc_size.
49627 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49628 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49629 * elf/pldd.c: Likewise.
49630 * iconv/iconv_charmap.c: Likewise.
49631 * iconv/iconvconfig.c: Likewise.
49632 * iconv/strtab.c: Likewise.
49633 * locale/programs/locale.c: Likewise.
49634 * locale/programs/localedef.h: Likewise.
49635 * locale/programs/simple-hash.c: Likewise.
49636 * nscd/nscd.h: Likewise.
49637 * nss/makedb.c: Likewise.
49638 * sysdeps/generic/ldconfig.h: Likewise.
49639 * locale/programs/localedef.c: Remove xmalloc prototype.
49640 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49641
20b38e03
PP
496422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49643
49644 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49645 appropriate.
49646
a0da5fe1
UD
496472012-01-08 Ulrich Drepper <drepper@gmail.com>
49648
1d5a644a 49649 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49650 * math/tst-CMPLX.c: New file.
1d5a644a 49651
8784a6db
UD
49652 * math/complex.h (CMPLXL): Fix typo.
49653
d9a216c0
UD
49654 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49655 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49656 GLIBC_2.16.
49657 * debug/tst-chk1.c: Add poll and ppoll tests.
49658 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49659 * include/sys/poll.h: Add hidden proto for ppoll.
49660 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49661 * sysdeps/mach/hurd/ppoll.c: Likewise.
49662 * io/ppoll.c: Likewise.
49663 * debug/poll_chk.c: New file.
49664 * debug/ppoll_chk.c: New file.
49665 * include/bits/poll2.h: New file.
49666 * io/bits/poll2.h: New file.
49667
ac097f5c
UD
49668 [BZ #1350]
49669 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49670
2119dcfa
UD
49671 * configure.in: static is always set to yes. Remove.
49672 * config.make.in: Don't set build-static.
49673 * Makeconfig: Remove use of build-static.
49674 * dlfcn/Makefile: Likewise.
49675 * elf/Makefile: Likewise.
49676 * math/Makefile: Likewise.
49677 * misc/Makefile: Likewise.
49678 * nptl/Makefile: Likewise.
49679 * sysdeps/mach/hurd/Makefile: Likewise.
49680
121766a9
UD
49681 * configure.in: PWD_P is not used anymore.
49682 * config.make.in: Remove PWD_P entry.
49683
51a1d39c 49684 * configure.in: Remove last remnants of RANLIB.
8720d066 49685 No need to check for signed size_t anymore.
215f4bdc
UD
49686 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49687 and IA-64.
3857022a 49688 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49689 * aclocal.m4: Likewise.
49690
d3ed7225
UD
49691 * wcsmbs/mbrtoc16.c: Implement using towc function.
49692 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49693 * wcsmbs/wcsmbsload.c: Likewise.
49694 * iconv/gconv_simple.c: Likewise.
49695 * iconv/gconv_int.h: Likewise.
49696 * iconv/gconv_builtin.h: Likewise.
49697 * iconv/iconv_prog.c: Remove CHAR16 handling.
49698
49699 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49700
49701 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49702
a0da5fe1
UD
49703 * configure.in: Remove --with-elf and --enable-bounded options.
49704 Dont set base_machine for ia64. More non-ELF conditions removed.
49705 Remove testing and setting of leading underscore information.
49706 * config.make.in (build-bounded): Set to no.
49707 * config.h.in: Remove NO_UNDERSCORES entry.
49708 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49709 them.
49710 * csu/start.c: Remove !NO_UNDERSCORE code.
49711 * locale/localeinfo.h: Likewise.
49712 * sysdeps/generic/machine-gmon.h: Likewise.
49713 * sysdeps/generic/sysdep.h: Likewise.
49714 * sysdeps/i386/sysdep.h: Likewise.
49715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49716 * sysdeps/mach/sysdep.h: Likewise.
49717 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49719 * sysdeps/sh/sysdep.h: Likewise.
49720 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49721 * sysdeps/unix/i386/sysdep.S: Likewise.
49722 * sysdeps/unix/sparc/start.c: Likewise.
49723 * sysdeps/unix/sparc/sysdep.S: Likewise.
49724 * sysdeps/unix/sparc/sysdep.h: Likewise.
49725 * sysdeps/unix/start.c: Likewise.
49726 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49727 * sysdeps/x86_64/sysdep.h: Likewise.
49728
df78418a
UD
497292012-01-07 Ulrich Drepper <drepper@gmail.com>
49730
a784e502
UD
49731 [BZ #13553]
49732 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49733 for non-gcc.
49734 * argp/argp-fmtstream.h: Use const instead __const.
49735 * argp/argp.h: Likewise.
49736 * assert/assert.h: Likewise.
49737 * bits/fenv.h: Likewise.
49738 * bits/sched.h: Likewise.
49739 * bits/sigset.h: Likewise.
49740 * bits/sigthread.h: Likewise.
49741 * catgets/nl_types.h: Likewise.
49742 * conform/data/pthread.h-data: Likewise.
49743 * crypt/crypt-private.h: Likewise.
49744 * crypt/crypt.h: Likewise.
49745 * crypt/crypt_util.c: Likewise.
49746 * ctype/ctype.h: Likewise.
49747 * debug/execinfo.h: Likewise.
49748 * debug/mbsnrtowcs_chk.c: Likewise.
49749 * debug/mbsrtowcs_chk.c: Likewise.
49750 * debug/wcsnrtombs_chk.c: Likewise.
49751 * debug/wcsrtombs_chk.c: Likewise.
49752 * debug/wcstombs_chk.c: Likewise.
49753 * dirent/dirent.h: Likewise.
49754 * dlfcn/dlfcn.h: Likewise.
49755 * elf/neededtest4.c: Likewise.
49756 * grp/grp.h: Likewise.
49757 * gshadow/gshadow.h: Likewise.
49758 * iconv/gconv.h: Likewise.
49759 * iconv/gconv_int.h: Likewise.
49760 * iconv/gconv_simple.c: Likewise.
49761 * iconv/iconv.h: Likewise.
49762 * iconv/loop.c: Likewise.
49763 * iconv/skeleton.c: Likewise.
49764 * include/aio.h: Likewise.
49765 * include/aliases.h: Likewise.
49766 * include/argz.h: Likewise.
49767 * include/arpa/inet.h: Likewise.
49768 * include/assert.h: Likewise.
49769 * include/dirent.h: Likewise.
49770 * include/dlfcn.h: Likewise.
49771 * include/execinfo.h: Likewise.
49772 * include/fcntl.h: Likewise.
49773 * include/fenv.h: Likewise.
49774 * include/glob.h: Likewise.
49775 * include/grp.h: Likewise.
49776 * include/libintl.h: Likewise.
49777 * include/mntent.h: Likewise.
49778 * include/netdb.h: Likewise.
49779 * include/pwd.h: Likewise.
49780 * include/rpc/netdb.h: Likewise.
49781 * include/sched.h: Likewise.
49782 * include/search.h: Likewise.
49783 * include/shadow.h: Likewise.
49784 * include/signal.h: Likewise.
49785 * include/stdio.h: Likewise.
49786 * include/stdlib.h: Likewise.
49787 * include/string.h: Likewise.
49788 * include/sys/socket.h: Likewise.
49789 * include/sys/stat.h: Likewise.
49790 * include/sys/statfs.h: Likewise.
49791 * include/sys/statvfs.h: Likewise.
49792 * include/sys/syslog.h: Likewise.
49793 * include/sys/time.h: Likewise.
49794 * include/sys/uio.h: Likewise.
49795 * include/time.h: Likewise.
49796 * include/unistd.h: Likewise.
49797 * include/utmp.h: Likewise.
49798 * include/wchar.h: Likewise.
49799 * include/wctype.h: Likewise.
49800 * inet/aliases.h: Likewise.
49801 * inet/arpa/inet.h: Likewise.
49802 * inet/netinet/ether.h: Likewise.
49803 * inet/netinet/in.h: Likewise.
49804 * intl/libintl.h: Likewise.
49805 * io/bits/fcntl2.h: Likewise.
49806 * io/fcntl.h: Likewise.
49807 * io/ftw.h: Likewise.
49808 * io/sys/poll.h: Likewise.
49809 * io/sys/stat.h: Likewise.
49810 * io/sys/statfs.h: Likewise.
49811 * io/sys/statvfs.h: Likewise.
49812 * io/utime.h: Likewise.
49813 * libio/bits/stdio.h: Likewise.
49814 * libio/bits/stdio2.h: Likewise.
49815 * libio/libio.h: Likewise.
49816 * libio/libioP.h: Likewise.
49817 * libio/stdio.h: Likewise.
49818 * locale/lc-ctype.c: Likewise.
49819 * locale/locale.h: Likewise.
49820 * login/utmp.h: Likewise.
49821 * malloc/arena.c: Likewise.
49822 * malloc/malloc.c: Likewise.
49823 * malloc/malloc.h: Likewise.
49824 * malloc/mcheck.c: Likewise.
49825 * malloc/mtrace.c: Likewise.
49826 * math/bits/mathcalls.h: Likewise.
49827 * math/fenv.h: Likewise.
49828 * math/math_private.h: Likewise.
49829 * misc/bits/error.h: Likewise.
49830 * misc/bits/syslog.h: Likewise.
49831 * misc/err.h: Likewise.
49832 * misc/error.h: Likewise.
49833 * misc/fstab.h: Likewise.
49834 * misc/mntent.h: Likewise.
49835 * misc/regexp.h: Likewise.
49836 * misc/search.h: Likewise.
49837 * misc/sgtty.h: Likewise.
49838 * misc/sys/mman.h: Likewise.
49839 * misc/sys/syslog.h: Likewise.
49840 * misc/sys/uio.h: Likewise.
49841 * misc/sys/xattr.h: Likewise.
49842 * misc/ttyent.h: Likewise.
49843 * nis/rpcsvc/ypclnt.h: Likewise.
49844 * nss/nss.h: Likewise.
49845 * posix/bits/unistd.h: Likewise.
49846 * posix/fnmatch.h: Likewise.
49847 * posix/glob.h: Likewise.
49848 * posix/sched.h: Likewise.
49849 * posix/spawn.h: Likewise.
49850 * posix/sys/wait.h: Likewise.
49851 * posix/unistd.h: Likewise.
49852 * posix/wordexp.h: Likewise.
49853 * pwd/pwd.h: Likewise.
49854 * resolv/netdb.h: Likewise.
49855 * resource/sys/resource.h: Likewise.
49856 * rt/aio.h: Likewise.
49857 * rt/bits/mqueue2.h: Likewise.
49858 * rt/mqueue.h: Likewise.
49859 * shadow/shadow.h: Likewise.
49860 * signal/signal.h: Likewise.
49861 * socket/send.c: Likewise.
49862 * socket/sendto.c: Likewise.
49863 * socket/sys/socket.h: Likewise.
49864 * stdio-common/printf.h: Likewise.
49865 * stdlib/bits/stdlib.h: Likewise.
49866 * stdlib/fmtmsg.h: Likewise.
49867 * stdlib/monetary.h: Likewise.
49868 * stdlib/stdlib.h: Likewise.
49869 * stdlib/ucontext.h: Likewise.
49870 * streams/stropts.h: Likewise.
49871 * string/argz.h: Likewise.
49872 * string/bits/string2.h: Likewise.
49873 * string/string.h: Likewise.
49874 * string/strings.h: Likewise.
49875 * sunrpc/rpc/auth.h: Likewise.
49876 * sunrpc/rpc/auth_des.h: Likewise.
49877 * sunrpc/rpc/clnt.h: Likewise.
49878 * sunrpc/rpc/netdb.h: Likewise.
49879 * sunrpc/rpc/pmap_clnt.h: Likewise.
49880 * sunrpc/rpc/xdr.h: Likewise.
49881 * sysdeps/generic/inttypes.h: Likewise.
49882 * sysdeps/generic/net/if.h: Likewise.
49883 * sysdeps/generic/sys/swap.h: Likewise.
49884 * sysdeps/gnu/net/if.h: Likewise.
49885 * sysdeps/gnu/utmpx.h: Likewise.
49886 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49887 * sysdeps/i386/i486/bits/string.h: Likewise.
49888 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49889 * sysdeps/s390/bits/string.h: Likewise.
49890 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49891 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49892 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49893 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49894 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49895 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49896 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49897 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49898 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49899 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49900 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49901 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49902 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49903 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49904 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49905 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49906 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49908 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49909 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49911 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49912 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49913 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49914 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49915 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49916 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49918 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49919 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49920 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49921 * sysvipc/sys/ipc.h: Likewise.
49922 * sysvipc/sys/msg.h: Likewise.
49923 * sysvipc/sys/sem.h: Likewise.
49924 * sysvipc/sys/shm.h: Likewise.
49925 * termios/termios.h: Likewise.
49926 * time/sys/time.h: Likewise.
49927 * time/time.h: Likewise.
49928 * wcsmbs/bits/wchar2.h: Likewise.
49929 * wcsmbs/uchar.h: Likewise.
49930 * wcsmbs/wchar.h: Likewise.
49931 * wctype/wctype.h: Likewise.
49932
0269750c
UD
49933 [BZ #13551]
49934 * Makeconfig: Remove all but ELF support including AIX support.
49935 * Makerules: Likewise.
49936 * config.h.in: Likewise.
49937 * config.make.in: Likewise.
49938 * configure: Likewise.
49939 * configure.in: Likewise.
49940 * csu/Makefile: Likewise.
49941 * csu/version.c: Likewise.
49942 * debug/Makefile: Likewise.
49943 * dlfcn/Makefile: Likewise.
49944 * elf/Makefile: Likewise.
49945 * extra-lib.mk: Likewise.
49946 * iconv/Makefile: Likewise.
49947 * include/libc-symbols.h: Likewise.
49948 * include/shlib-compat.h: Likewise.
49949 * resolv/Makefile: Likewise.
49950 * resolv/res_libc.c: Likewise.
49951 * rt/Makefile: Likewise.
49952 * sysdeps/i386/asm-syntax.h: Likewise.
49953 * sysdeps/i386/sysdep.h: Likewise.
49954 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49955 * sysdeps/mach/sysdep.h: Likewise.
49956 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49957 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49958 * sysdeps/s390/asm-syntax.h: Likewise.
49959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49961 * sysdeps/sh/sysdep.h: Likewise.
49962 * sysdeps/unix/sparc/sysdep.h: Likewise.
49963 * sysdeps/wordsize-32/divdi3.c: Likewise.
49964 * sysdeps/x86_64/sysdep.h: Likewise.
49965
00bbd29b
UD
49966 * argp/Versions: Remove _argp_unlock_xxx.
49967
49968 [BZ #13559]
49969 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49970 * abilist/libBrokenLocale.abilist: Likewise.
49971 * abilist/libanl.abilist: Likewise.
49972 * abilist/libc.abilist: Likewise.
49973 * abilist/libcrypt.abilist: Likewise.
49974 * abilist/libdl.abilist: Likewise.
49975 * abilist/libm.abilist: Likewise.
49976 * abilist/libnsl.abilist: Likewise.
49977 * abilist/libpthread.abilist: Likewise.
49978 * abilist/libresolv.abilist: Likewise.
49979 * abilist/librt.abilist: Likewise.
49980 * abilist/libthread_db.abilist: Likewise.
49981 * abilist/libutil.abilist: Likewise.
49982 * abilist/libnss_db.abilist: New file.
49983
49984 * scripts/abilist.awk: Add support for indirect functions.
49985
a2693a0e
UD
49986 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49987
3f05895f
UD
49988 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49989
ecb6fb48
UD
49990 * shlib-versions: Remove entries for ports architectures.
49991
664f8cb9
UD
49992 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49993 files in ports.
49994 * elf/stackguard-macros.h: Remove support for IA-64.
49995 * elf/tst-auditmod1.c: Likewise.
49996 * sysdeps/generic/ldsodefs.h: Likewise.
49997
7ae81d88
UD
49998 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49999 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50000 configure files.
50001
bdeba135
UD
50002 [BZ #13552]
50003 * configure.in: Remove --enable-omitfp support.
50004 * FAQ.in: Adjust.
50005 * config.make.in: Likewise.
50006 * Makeconfig: Likewise.
50007 * manual/install.texi: Likewise.
50008
d75a0a62
UD
50009 In case anyone cares, the IA-64 architecture could move to ports.
50010 * sysdeps/ia64/*: Removed.
50011 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50012 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50013
dcc9756b
UD
50014 [BZ #13555]
50015 * configure.in: Remove entries for unsupported architectures.
50016
d3761ebc 50017 [BZ #13533]
9954432e
UD
50018 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50019 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50020 routines.
50021 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50022 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50023 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50024 fall back to using wcrtomb.
50025 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50026 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50027 renaming.
50028 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50029 * wcsmbs/tst-c16c32-1.c: New file.
50030
50031 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50032 local variable.
50033
c3a87236
UD
50034 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50035
28926a1b
UD
50036 * elf/tst-unique3.cc: Add explicit declaration of gets.
50037 * elf/tst-unique3lib.cc: Likewise.
50038 * elf/tst-unique3lib2.cc: Likewise.
50039 * elf/tst-unique4.cc: Likewise.
50040
df78418a
UD
50041 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50042
8ecd6b2a
JM
500432012-01-06 Joseph Myers <joseph@codesourcery.com>
50044
50045 [BZ #13566]
50046 * assert/assert.h (static_assert): Don't define for C++.
50047 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50048 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50049
9f115170
UD
500502012-01-03 Ulrich Drepper <drepper@gmail.com>
50051
5e0d0300
UD
50052 * iconv/loop.c (single loop): Fix assertion in storing of
50053 remaining bytes.
50054
9f115170
UD
50055 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50056
81fb02b0
UD
500572012-01-01 Ulrich Drepper <drepper@gmail.com>
50058
50059 * posix/getconf.c: Update copyright year.
50060 * nss/getent.c: Likewise.
a316c1f6 50061 * nss/makedb.c: Likewise.
81fb02b0
UD
50062 * iconv/iconvconfig.c: Likewise.
50063 * iconv/iconv_prog.c: Likewise.
50064 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50065 * elf/pldd.c: Likewise.
50066 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50067 * catgets/gencat.c: Likewise.
50068 * csu/version.c: Likewise.
50069 * elf/ldd.bash.in: Likewise.
50070 * elf/sprof.c (print_version): Likewise.
50071 * locale/programs/locale.c: Likewise.
50072 * locale/programs/localedef.c: Likewise.
a316c1f6 50073 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50074 * nscd/nscd.c (print_version): Likewise.
50075 * debug/xtrace.sh: Likewise.
50076 * malloc/memusage.sh: Likewise.
50077 * malloc/mtrace.pl: Likewise.
50078 * debug/catchsegv.sh: Likewise.
50079
2ba92745
JJ
500802011-12-30 Jakub Jelinek <jakub@redhat.com>
50081
50082 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50083 pure attribute.
50084
dadebdae
UD
500852011-12-24 Ulrich Drepper <drepper@gmail.com>
50086
d3761ebc 50087 [BZ #13533]
db6af3eb
UD
50088 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50089 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50090 transformations.
50091 * iconv/gconv_int.h: Likewise.
50092 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50093 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50094 from libc for GLIBC_2.16.
50095 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50096 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50097 * wcsmbs/uchar.h: Really define mbstate_t.
50098 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50099 * wcsmbs/c16rtomb.c: New file.
50100 * wcsmbs/mbrtoc16.c: New file.
50101 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50102 for C/POSIX locale.
50103 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50104 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50105
dadebdae
UD
50106 * wcsmbs/wchar.h: Add missing __restrict.
50107
67371b56
UD
501082011-12-23 Ulrich Drepper <drepper@gmail.com>
50109
74033a25
UD
50110 [BZ #13532]
50111 * time/Makefile (routines): Add timespec_get.
50112 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50113 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50114 timespec for ISO C11.
50115 * time/timespec_get.c: New file.
50116 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50117 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50118
380d7e87
UD
50119 [BZ #13531]
50120 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50121 * stdlib/stdlib.h: Declare aligned_alloc.
50122 * Versions.def: Add GLIBC_2.16 for libc.
50123 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50124
4e9e7a35
UD
50125 [BZ 13527]
50126 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50127 ISO C11.
50128
380d7e87 50129 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50130 code.
50131
03a71829
UD
50132 [BZ #13528]
50133 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50134
839e283e
UD
50135 [BZ #13529]
50136 * assert/assert.h (static_assert): Define.
50137
ce5294e2 50138 * version.h: Update for 2.16 development version.
90fa7312 50139
8d44e150 50140 [BZ #13526]
d7809905
UD
50141 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50142 _ISOC11_SOURCE.
50143
c0da14cd
UD
50144 * version.h (RELEASE): Bump for 2.15 release.
50145 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50146
530a3249
MP
50147 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50148 Patch by Marek Polacek <mpolacek@redhat.com>.
50149
67371b56
UD
50150 * bits/byteswap.h: Protect long long constants with __extension__.
50151 * sysdeps/i386/bits/byteswap.h: Likewise.
50152 * sysdeps/ia64/bits/byteswap.h: Likewise.
50153 * sysdeps/s390/bits/byteswap.h: Likewise.
50154 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50155
15db4de1
LD
501562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50157
50158 [BZ #13540]
bbe315ea
LD
50159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50160 destination buffer.
15db4de1
LD
50161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50162
2b2596b1
MP
501632011-12-23 Marek Polacek <polacek@redhat.com>
50164
50165 * elf/dl-addr.c (determine_info): Add inline keyword.
50166 * elf/tst-auditmod4b.c (check_avx): Likewise.
50167 * elf/tst-auditmod6b.c (check_avx): Likewise.
50168 * elf/tst-auditmod6c.c (check_avx): Likewise.
50169 * elf/tst-auditmod7b.c (check_avx): Likewise.
50170
70c6c246
UD
501712011-12-23 Ulrich Drepper <drepper@gmail.com>
50172
50173 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50174 !__SSE_MATH__.
50175
c044cf14
LD
501762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50177
15db4de1 50178 [BZ #13540]
c044cf14
LD
50179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50180 processing for last bytes.
50181
6b13d9d9
BH
501822011-08-06 Bruno Haible <bruno@clisp.org>
50183
d455f537
BH
50184 [BZ #13061]
50185 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50186 U+0385, not to U+1FEE.
50187
6b13d9d9
BH
50188 [BZ #13062]
50189 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50190 entry for U+00A5 U+0301.
50191
db910efd
UD
501922011-12-22 Ulrich Drepper <drepper@gmail.com>
50193
27deeafc
UD
50194 [BZ #13166]
50195 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50196 buffer for the output is too small.
50197
aed9d171
UD
50198 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50199 optimization.
50200
db910efd
UD
50201 [BZ #13185]
50202 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50203 SSE flags if possible.
50204
2bd779ae
LD
502052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50206
e7f9dac3 50207 [BZ #13540]
2bd779ae
LD
50208 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50209 processing for last bytes.
50210
154bfc16
JM
502112011-12-22 Joseph Myers <joseph@codesourcery.com>
50212
50213 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50214 (syscall-list-default-options, syscall-list-default-condition)
50215 (syscall-list-includes): Define.
50216 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50217 list of ABIs and options and #if conditions for each ABI. Do not
50218 handle common syscalls between ABIs specially.
50219 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50220 Remove.
50221 (syscall-list-variants, syscall-list-32bit-options)
50222 (syscall-list-32bit-condition, syscall-list-64bit-options)
50223 (syscall-list-64bit-condition): Define.
50224 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50225 (syscall-list-variants, syscall-list-32bit-options)
50226 (syscall-list-32bit-condition, syscall-list-64bit-options)
50227 (syscall-list-64bit-condition): Define.
50228 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50229 Remove.
50230 (syscall-list-variants, syscall-list-32bit-options)
50231 (syscall-list-32bit-condition, syscall-list-64bit-options)
50232 (syscall-list-64bit-condition): Define.
50233 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50234 Remove.
50235 (syscall-list-variants, syscall-list-32bit-options)
50236 (syscall-list-32bit-condition, syscall-list-64bit-options)
50237 (syscall-list-64bit-condition): Define.
50238
21eaf3a5
UD
502392011-12-22 Ulrich Drepper <drepper@gmail.com>
50240
16c6f992
UD
50241 * locale/iso-639.def: Add brx entry.
50242
41043168
UD
50243 [BZ #13328]
50244 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50245 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50246
21eaf3a5
UD
50247 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50248 __feraiseexcept_renamed.
50249
e3a851a2
UD
502502011-12-21 Ulrich Drepper <drepper@gmail.com>
50251
4920765e
UD
50252 [BZ #13538]
50253 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50254 EPOLLET with unsigned values.
50255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50257
e3a851a2
UD
50258 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50259 to large cancellation.
50260 * math/s_cacoshf.c: Likewise.
50261 * math/s_cacoshl.c: Likewise.
50262
b27e24b8
RK
502632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50264
50265 [BZ #13305]
aebefeee 50266 [BZ #12786]
b27e24b8
RK
50267 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50268 * math/s_cacoshf.c: Likewise.
50269 * math/s_cacoshl.c: Likewise.
50270
ee190f67
UD
502712011-12-21 Ulrich Drepper <drepper@gmail.com>
50272
50273 [BZ #13439]
50274 * iconv/gconv.h: Define __GCONV_SWAP.
50275 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50276 * iconvdata/utf-16.c: Likewise.
50277 * iconvdata/utf-32.c: Likewise.
50278
707f25df
AS
502792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50280
50281 [BZ #13524]
50282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50283 numerator after shifting it by one limb.
50284
d2daaa1e
RÁE
502852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50286
50287 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50288 under [__USE_EXTERN_INLINES].
50289
a4647e72
UD
502902011-12-17 Ulrich Drepper <drepper@gmail.com>
50291
50292 [BZ #13446]
50293 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50294
f0b264f1
AZ
502952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50296
50297 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50298 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50299 optimized code.
50300 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50301 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50302 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50303 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50304 for strncasecmp/strncasecmp_l compilation.
50305 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50306 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50307
8ef4f244
MP
503082011-12-08 Marek Polacek <mpolacek@redhat.com>
50309
50310 [BZ #13484]
50311 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50312 of __asm__.
50313
97ac2654
UD
503142011-12-17 Ulrich Drepper <drepper@gmail.com>
50315
50316 [BZ #13506]
50317 * time/tzfile.c (__tzfile_read): Check values from file header.
50318
91d2a845
WS
503192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50320
50321 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50322 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50323 * powerpc/powerpc32/dl-start.S: Likewise.
50324 * powerpc/powerpc32/elf/start.S: Likewise.
50325 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50326 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50327 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50328 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50329 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50330 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50331 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50332 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50333 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50334 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50335 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50336 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50337 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50338 * powerpc/powerpc32/memset.S: Likewise.
50339 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50340 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50341 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50342 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50343 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50344 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50345 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50346 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50347 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50348 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50349 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50350 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50351 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50352
a1267ba1
AZ
503532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50354
50355 * math/libm-test.inc: Added more nearbyint tests.
50356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50360
ad8ac1bd
RL
503612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50362
50363 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50364 FD_CLOEXEC.
50365
1d3e4b61
UD
503662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50367
50368 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50369 Add wcscpy-ssse3 wcscpy-c.
50370 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50371 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50372 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50373 * sysdeps/x86_64/wcschr.S: New file.
50374 * sysdeps/x86_64/wcsrchr.S: New file.
50375 * string/test-strcmp.c: Remove checking of wcscmp function for
50376 wrong alignments.
50377 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50378 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50379 wcsrchr-sse2 wcsrchr-c.
50380 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50381 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50382 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50383 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50384 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50385 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50386 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50387 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50388 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50389 * wcsmbc/wcschr.c (WCSCHR): New macro.
50390
5b330a2d
UD
503912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50392
50393 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50394 * wcsmbs/test-wcsrchr.c: New file.
50395 * string/test-strrchr.c: Add wcsrchr support.
50396 (WIDE): New macro.
50397 * wcsmbs/test-wcscpy.c: New file.
50398 * string/test-strcpy.c: Add wcscpy support.
50399 (WIDE): New macro.
26428b7c 50400
f039c043
UD
504012011-12-10 Ulrich Drepper <drepper@gmail.com>
50402
50403 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50404 the inner loop.
50405
850fb039
AS
504062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50407
50408 [BZ #13472]
50409 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50410
4efbd5cb
UD
504112011-12-04 Ulrich Drepper <drepper@gmail.com>
50412
52ff5dd0 50413 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50414 Minor optimizations.
52ff5dd0 50415
4efbd5cb
UD
50416 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50417 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50418 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50419
8a426e12
UD
504202011-12-03 Ulrich Drepper <drepper@gmail.com>
50421
aff2453d
UD
50422 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50423 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50424 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50425 for gcc to avoid warnings.
50426 * inet/Makefile (tests): Add tst-checks.
50427 * inet/tst-checks.c: New file.
50428
50429 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50430 warning.
50431
50432 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50433 __wmemcmp_sse2.
50434
50435 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50436 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50437
8a426e12
UD
50438 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50439
9bea3473
UD
504402011-12-02 Ulrich Drepper <drepper@gmail.com>
50441
3a965496
UD
50442 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50443 problem.
50444
9bea3473
UD
50445 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50446
f101631b
UD
504472011-11-29 Joseph Myers <joseph@codesourcery.com>
50448
50449 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50450 conditional on GCC version.
50451 (__arch_compare_and_exchange_val_8_acq)
50452 (__arch_compare_and_exchange_val_16_acq)
50453 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50454 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50455 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50456
a98275aa
UD
504572011-12-02 Joseph Myers <joseph@codesourcery.com>
50458
50459 * sysdeps/sh/backtrace.c: New file.
50460
d4cc29a2
AS
504612011-12-02 Andreas Schwab <schwab@redhat.com>
50462
50463 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50464 parenthesis.
50465
6257af2d
AS
504662011-12-01 Andreas Schwab <schwab@redhat.com>
50467
50468 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50469 falling back to utime.
50470
b5f44c1a
AS
504712011-11-30 Andreas Schwab <schwab@redhat.com>
50472
50473 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50474 expectations for float.
50475
f3a6cc0a
AS
504762011-11-29 Andreas Schwab <schwab@redhat.com>
50477
50478 * locale/weight.h (findidx): Add parameter len.
50479 * locale/weightwc.h (findidx): Likewise.
50480 * posix/fnmatch_loop.c (FCT): Adjust caller.
50481 * posix/regcomp.c (build_equiv_class): Likewise.
50482 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50483 * posix/regexec.c (check_node_accept_bytes): Likewise.
50484 * string/strcoll_l.c (STRCOLL): Likewise.
50485 * string/strxfrm_l.c (STRXFRM): Likewise.
50486
9d65ea3a
UD
504872011-11-17 Ulrich Drepper <drepper@gmail.com>
50488
50489 * Makefile.in: Remove CVSOPT handling.
50490 * configure.in: Remove use of AC_REVISION.
50491 * iconvdata/Makefile (distribute): No need to filter out CVS.
50492 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50493 handling.
50494
5583a086
AS
504952011-11-16 Andreas Schwab <schwab@redhat.com>
50496
50497 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50498 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50499 [USE_AS_STRNCASECMP_L]: Likewise.
50500 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50501 NO_TLS_DIRECT_SEG_REFS.
50502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50503 Fix argument offsets for non-PIC.
50504 [USE_AS_STRNCASECMP_L]: Likewise.
50505 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50506 NO_TLS_DIRECT_SEG_REFS.
50507
d62a8200
UD
505082011-11-15 Ulrich Drepper <drepper@gmail.com>
50509
9d65ea3a 50510 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50511 O_CLOEXEC.
50512 * locale/loadlocale.c (_nl_load_locale): Likewise.
50513
09f93bd3
AS
505142011-11-15 Andreas Schwab <schwab@redhat.com>
50515
446514f9
AS
50516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50517 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50519 (SYSCALL_GETTIME): Set errno on error.
50520
09f93bd3
AS
50521 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50522 count references to noai6ai_cached.
50523
312be3f9
UD
505242011-11-15 Ulrich Drepper <drepper@gmail.com>
50525
50526 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50527
50528 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50529 FD_CLOEXEC for /proc/self/maps.
50530
50531 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50532 FD_CLOEXEC for /proc/meminfo.
50533
50534 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50535 gai.conf.
50536
50537 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50538 FD_CLOEXEC for given file.
50539
50540 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50541
50542 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50543 FD_CLOEXEC for /etc/hosts.
50544 (_gethtent): Likewise.
50545
50546 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50547
50548 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50549 cancellation and set FD_CLOEXEC for /etc/netgroup.
50550
50551 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50552 reading /etc/publickey.
50553
50554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50555 allow cancellation when reading /etc/group.
50556
50557 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50558 cancellation.
50559 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50560
50561 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50562 when using data file.
50563
50564 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50565
50566 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50567 (write_nis_obj): Use "c" and "e" in fopen.
50568
50569 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50570
50571 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50572
50573 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50574
50575 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50576
50577 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50578 locale.alias.
50579
50580 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50581
50582 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50583
50584 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50585
50586 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50587 file parsing and set FD_CLOEXEC.
50588
82af0fa8
UD
505892011-11-14 Ulrich Drepper <drepper@gmail.com>
50590
50591 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50592
a5fb313c
AS
505932011-11-14 Andreas Schwab <schwab@redhat.com>
50594
50595 * malloc/arena.c (arena_get2): Don't call reused_arena when
50596 _int_new_arena failed.
50597
6abf3465
UD
505982011-11-14 Ulrich Drepper <drepper@gmail.com>
50599
50600 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50601 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50603 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50604 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50605 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50606 to compile strcasecmp and strncasecmp.
50607 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50608 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50609
50610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50611
76e3966e
UD
506122011-11-13 Ulrich Drepper <drepper@gmail.com>
50613
50614 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50615 locale-defines.sym to gen-as-const-headers.
50616 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50617 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50619 to compile strcasecmp and strncasecmp.
50620 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50621 strcasecmp_l and strncasecmp_l.
50622 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50623 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50624 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50625 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50626 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50627 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50628 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50629 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50630 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50631 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50632 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50633
ab26144e
UD
506342011-11-12 Ulrich Drepper <drepper@gmail.com>
50635
7edb22ef
UD
50636 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50637 result of SYSDEP_GETTIME_CPU to retval.
50638 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50639 parameter list to macro. Remove trailing semicolon. Adjust users.
50640
9694fc44
UD
50641 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50642 variable.
50643
8ad89ef8
UD
50644 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50645 mantissa words.
50646 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50647
0c822ef9
UD
50648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50649 from unused variable.
50650
874e0564
UD
50651 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50652 DWARF definitions.
50653 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50654 for assembling.
50655
3a2edc79
UD
50656 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50657 over namespaces.
50658
f3c2577f
UD
50659 * sunrpc/rpc_prot.c (rejected): Fix case value.
50660
294ce126
UD
50661 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50662 unsigned long long int to avoid warnings in shift.
50663
5e2b63c6
UD
50664 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50665 of use of trans.
50666 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50667 variable tmp.
50668
e7f4b08e
UD
50669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50670 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50671 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50672
ab26144e
UD
50673 * nis/nis_table.c (nis_list): Use variable of correct type for
50674 result of __follow_path call.
50675
8a6d5255
AZ
506762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50677
50678 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50679 of math functions ceil, trunc, floor, round, and sqrt, when
50680 avaliable on the platform.
50681 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50682 name clash.
50683 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50684 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50685 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50686
aaddc98c
MP
506872011-10-30 Marek Polacek <mpolacek@redhat.com>
50688
50689 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50690 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50691
95b7042b
RM
506922011-11-11 Roland McGrath <roland@hack.frob.com>
50693
50694 * include/unistd.h: Fix __readlink return type.
50695 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50696
57769839
UD
506972011-11-11 Ulrich Drepper <drepper@gmail.com>
50698
50699 * stdlib/ucontext.h: Undo last change for makecontext.
50700
edc5984d
AS
507012011-11-11 Andreas Schwab <schwab@redhat.com>
50702
98591e58
AS
50703 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50704
edc5984d
AS
50705 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50706 * setjmp/setjmp.h: Mark functions as non-leaf.
50707 * setjmp/bits/setjmp2.h: Likewise.
50708 * stdlib/ucontext.h: Likewise.
50709
77cdc054
AS
507102011-11-10 Andreas Schwab <schwab@redhat.com>
50711
50712 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50713 (reused_arena): Don't check arena limit.
50714 (arena_get2): Atomically check arena limit.
50715
fe72eebd
UD
507162011-11-08 Ulrich Drepper <drepper@gmail.com>
50717
5f078c32
UD
50718 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50719 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50720
fe72eebd
UD
50721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50722 instructions.
50723
ae1bc2fa
AS
507242011-11-07 Andreas Schwab <schwab@redhat.com>
50725
7583a88d
AS
50726 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50727 handler when locking.
50728
ae1bc2fa
AS
50729 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50730 Fix size of allocated buffer.
50731
10fb0bfa
AS
507322011-11-04 Andreas Schwab <schwab@redhat.com>
50733
998832a4
AS
50734 [BZ #10103]
50735 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50736 declarations for long double functions.
50737 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50738
10fb0bfa
AS
50739 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50740
3d7ba52b
AS
507412011-11-03 Andreas Schwab <schwab@redhat.com>
50742
a9ae54a1
AS
50743 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50744 installed.
50745
3d7ba52b
AS
50746 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50747 is disabled.
50748
bc8db248
ST
507492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50750
50751 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50752
45b96dd6
AS
507532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50754
647776f6
AS
50755 * include/alloca.h (stackinfo_alloca_round): Define.
50756 (extend_alloca): Use it.
50757 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50758 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50759 here.
50760
d91a8b93
AS
50761 * scripts/check-local-headers.sh: Ignore libaudit.h.
50762
45b96dd6
AS
50763 * nscd/Makefile (extra-objs): Make recursively expanded.
50764
432d41ce
UD
507652011-11-01 Ulrich Drepper <drepper@gmail.com>
50766
34372fc6
UD
50767 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50769
fadb59f8
UD
50770 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50771 * posix/tst-rfc3484-2.c: Likewise.
50772 * posix/tst-rfc3484-3.c: Likewise.
50773
78239589
UD
50774 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50775 process_vm_writev.
50776 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50777 process_vm_writev.
50778 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50779 process_vm_writev from libc using GLIBC_2.15 version.
50780
432d41ce
UD
50781 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50782
02f9c6cf
PP
507832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50784
50785 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50786 stack usage.
50787
3a2c0242
UD
507882011-10-31 Ulrich Drepper <drepper@gmail.com>
50789
f4ec4833
UD
50790 [BZ #13367]
50791 * nss/getent.c (initgroups_keys): Show error message in case no group
50792 names are given.
50793
3a2c0242
UD
50794 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50795 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50796 __bump_nl_timestamp.
50797 * nscd/connections (nscd_init): When host database is served open
50798 netlink socket and request notification about configuration changes.
50799 (main_loop_poll): Track netlink file descriptor and bump timestamp
50800 in case data becomes available.
50801 (main_loop_epoll): Likewise.
50802 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50803 (database_pers_head): Add extra_data fileds.
50804 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50805 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50806 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50807 Adjust caller.
50808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50809 in6ai data, call __free_in6ai.
50810 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50811 Add -DHAVE_NETLINK.
50812 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50813 interface information. Reuse previous data if netlink timestamp
50814 is not changed.
50815 (__bump_nl_timestamp): New function.
50816 (__free_in6ai): New function.
50817
636064eb
UD
508182011-10-30 Ulrich Drepper <drepper@gmail.com>
50819
50820 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50821 close_not_cancel_no_status here.
50822 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50823
9beb2334
UD
508242011-10-29 Ulrich Drepper <drepper@gmail.com>
50825
6ef76f3b
UD
50826 [BZ #13276]
50827 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50828 return value.
50829
0ffc4f3e 50830 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50831 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50832 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50833
cb95113e
UD
508342011-07-03 Andreas Jaeger <aj@suse.de>
50835
50836 [BZ #10709]
50837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50838 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50839 * math/libm-test.inc (sin_test): Add test case.
50840
a1b560ff
UD
508412011-10-29 Ulrich Drepper <drepper@gmail.com>
50842
c9aaface
UD
50843 [BZ #13337]
50844 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50845 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50846
d272e7f1
UD
50847 * elf/chroot_canon.c (chroot_canon): Cleanups.
50848
1bc33071
UD
50849 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50850
1760874d
TJ
50851 [BZ #13335]
50852 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50853 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50854
51d91b18
UD
50855 * string/test-strchr.c: Make usable for strchrnul testing.
50856 * string/test-strchrnul.c: New file.
50857 * string/Makefile (strop-tests): Add strchrnul.
50858
a1b560ff 50859 * po/it.po: Update from translation team.
b611fb81 50860 * po/es.po: Likewise.
a1b560ff 50861
a5b81e1f
UD
508622011-10-28 Ulrich Drepper <drepper@gmail.com>
50863
fd52bc6d
UD
50864 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50865 the three constants needed as parameters. Drop the others.
50866 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50867 __m128i_strloadu_tolower.
52e4b9eb
UD
50868 Create and initialize variable zero and use it in all the places
50869 where _mm_setzero_si128 was used.
fd52bc6d 50870
a5b81e1f
UD
50871 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50872 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50873 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50874 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50875 anymore.
50876 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50877 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50878 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50879 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50880 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50881 __mpranred, __mptan.
50882 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50883 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50884 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50885 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50886 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50887 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50890 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50891
b4343346
AS
508922011-10-28 Andreas Schwab <schwab@redhat.com>
50893
0c92d8a8
AS
50894 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50895 redefine if SHARED.
50896 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50897
b4343346
AS
50898 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50899 wide char related routines to wcsmbs subdir.
50900
3871f58f
AS
509012011-10-27 Andreas Schwab <schwab@redhat.com>
50902
50903 [BZ #13344]
50904 * misc/sys/cdefs.h (__THROWNL): Define.
50905 * posix/unistd.h: Use __THREADNL instead of __THREAD
50906 for memory synchronization functions.
50907
94d44d9f
RM
509082011-10-26 Roland McGrath <roland@hack.frob.com>
50909
21b64b15 50910 [BZ #13349]
94d44d9f
RM
50911 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50912 doesn't exist.
50913 * manual/stdio.texi (Obstack Streams): Node removed.
50914
f6ce9294
AS
509152011-10-26 Andreas Schwab <schwab@redhat.com>
50916
80479147
AS
50917 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50919 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50920
f6ce9294
AS
50921 * math/math_private.h (math_force_eval): Allow non-addressable
50922 arguments.
50923 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50924
618280a1
UD
509252011-10-25 Ulrich Drepper <drepper@gmail.com>
50926
e0016b11
UD
50927 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50928 file is not needed.
50929
50930 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50932 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50933 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50935 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50936 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50937 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50938 Add AVX variants.
50939 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50940 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50941 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50942 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50943 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50944 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50945 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50946 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50947 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50948 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50949 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50950 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50952 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50953 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50954 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50955 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50956 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50957 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50958
50959 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50960 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50961
618280a1
UD
50962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50963 place. Use VEX encoding when compiling for AVX.
50964
37822576
AS
509652011-10-25 Andreas Schwab <schwab@redhat.com>
50966
1f1e1947
AS
50967 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50968 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50969
37822576
AS
50970 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50971
31ea014d
UD
509722011-10-25 Ulrich Drepper <drepper@gmail.com>
50973
d7826aa1 50974 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50975 useless if() expression.
d7826aa1
UD
50976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50977 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50978 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50980 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50982 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50983 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50984 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50986 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50987 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50988 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50989 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50990 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50991 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50992 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50994 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50995
31ea014d
UD
50996 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50997
16437fec
AS
509982011-10-25 Andreas Schwab <schwab@redhat.com>
50999
51000 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51001 condition.
51002 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51003
31d3cc00
UD
510042011-10-25 Ulrich Drepper <drepper@gmail.com>
51005
51006 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51007 .text section. Avoid duplicate constants.
51008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51018 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51020 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51024 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51025 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51028 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51029 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51031 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51032 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51033 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51034 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51035 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51036 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51038 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51039 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51041 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51042 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51043 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51044 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51046 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51047 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51048 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51050 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51051 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51052 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51053
58985aa9
UD
510542011-10-24 Ulrich Drepper <drepper@gmail.com>
51055
202c9deb
UD
51056 * sysdeps/x86_64/dla.h: Move to ...
51057 * sysdeps/x86_64/fpu/dla.h: ...here.
51058 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51059 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51060
af968f62
UD
51061 * config.make.in: Add have-mfma4 entry.
51062 * configure.in: Substitute libc_cv_cc_fma4.
51063 * math/Makefile (dbl-only-routines): Add sincostab.
51064 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51065 Use __sincostab not sincos.
51066 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51067 name is a macro.
51068 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51072 using __copysign.
51073 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51074 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51075 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51076 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51077 and __inv.
51078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51079 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51080 __copysign.
51081 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51082 define aliases when function name is a macro.
51083 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51084 sysdeps/ieee754/dbl-64/sincos.tbl.
51085 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51086 fma4-enabled routines.
51087 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51088 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51089 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51090 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51091 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51092 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51094 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51096 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51097 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51098 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51099 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51100 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51101 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51102 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51103 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51104 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51105 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51106 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51107 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51108 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51109 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51113 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51114 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51115 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51116 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51117
58985aa9
UD
51118 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51119 rename.
51120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51126 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51128
a201fbcf
AS
511292011-10-24 Andreas Schwab <schwab@redhat.com>
51130
51131 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51132
fc2ee42a
LD
511332011-10-23 Ulrich Drepper <drepper@gmail.com>
51134
bb3129bd
UD
51135 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51136
0275fff8
UD
51137 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51138 prediction.
51139 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51140
2fa2ae85
UD
51141 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51142 Remove unused variable magic_bits.
51143 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51144
fc2ee42a
LD
51145 * string/strnlen.c: Define and use STRNLEN macro.
51146 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51147 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51149 * wcsmbs/wcslen.c: Define and use WCSLEN.
51150 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51151 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51152 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51153 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51154 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51155 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51156 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51157
ce7dd29f
LD
511582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51159
51160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51161 strnlen-sse2-no-bsf.
51162 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51164 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51165 Add strnlen support.
51166 (USE_AS_STRNLEN): New macro.
51167 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51168 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51169 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51170 * sysdeps/x86_64/wcslen.S: New file.
51171
979c70a3
MZ
511722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51173
51174 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51175 XMM-moves are used for copying on small sizes.
51176
2d09f82f
LD
511772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51178
51179 * wcsmbs/Makefile (strop-tests): Add wcschr.
51180 * wcsmbs/test-wcschr.c: New file.
51181 * string/test-strchr.c: Update.
51182 Add wcschr support.
51183 (WIDE): New macro.
51184
619fccca
LD
511852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51186
2d09f82f 51187 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51188 * wcsmbs/test-wcslen.c: New file.
51189 * string/test-strlen.c: Update.
51190 Add wcslen support.
51191 (WIDE): New macro.
51192
09f699ea
UD
511932011-10-23 Ulrich Drepper <drepper@gmail.com>
51194
51195 * po/it.po: Update from translation team.
51196
95584d3b
LD
511972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51198
51199 * sysdeps/x86_64/wcscmp.S: Update.
51200 Fix wrong comparison semantics.
51201 wcscmp shall use signed comparison not unsigned.
51202 Don't use substraction to avoid overflow bug.
51203 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51204 * wcsmbc/wcscmp.c: Likewise.
51205 * string/test-strcmp.c: Likewise.
51206 Add new tests to check cases with negative values.
51207
c8b3296b
UD
512082011-10-23 Ulrich Drepper <drepper@gmail.com>
51209
51210 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51211 * sysdeps/x86_64/dla.h: ...here. New file.
51212 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51221
246ad57a
AS
512222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51223
51224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51225 __ynl_finite aliases.
51226
a1a87169
UD
512272011-10-22 Ulrich Drepper <drepper@gmail.com>
51228
0d355eb7
UD
51229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51230
a1a87169
UD
51231 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51232 define DLA_FMA.
51233 [DLA_FMA] (EMULV): Use DLA_FMA.
51234 [DLA_FMA] (MUL12): Use EMULV.
51235 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51236 that are not needed.
51237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51241 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51244
ee2aafe0
AS
512452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51246
51247 * math/s_nan.c: Undef __nan.
51248 * math/s_nanf.c: Undef __nanf.
51249 * math/s_nanl.c: Undef __nanl.
51250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51251 "math_private.h".
51252
bc62c2fb
UD
512532011-10-22 Ulrich Drepper <drepper@gmail.com>
51254
77425c63
UD
51255 * math/s_catan.c: Add branch predictions.
51256 * math/s_catanf.c: Likewise.
51257 * math/s_catanh.c: Likewise.
51258 * math/s_catanhf.c: Likewise.
51259 * math/s_catanhl.c: Likewise.
51260 * math/s_catanl.c: Likewise.
51261 * math/s_cexp.c: Likewise.
51262 * math/s_cexpf.c: Likewise.
51263 * math/s_cexpl.c: Likewise.
51264 * math/s_clog.c: Likewise.
51265 * math/s_clog10.c: Likewise.
51266 * math/s_clog10f.c: Likewise.
51267 * math/s_clog10l.c: Likewise.
51268 * math/s_clogf.c: Likewise.
51269 * math/s_clogl.c: Likewise.
51270 * math/s_csqrt.c: Likewise.
51271 * math/s_csqrtf.c: Likewise.
51272 * math/s_csqrtl.c: Likewise.
51273 * math/s_ctanf.c: Likewise.
51274 * math/s_ctanh.c: Likewise.
51275 * math/s_ctanhf.c: Likewise.
51276 * math/s_ctanhl.c: Likewise.
51277 * math/s_ctanl.c: Likewise.
51278
bc62c2fb
UD
51279 * math/math_private.h: Define __nan, __nanf, __nanl.
51280 * math/s_cacosh.c: Include <math_private.h>.
51281 * math/s_cacoshl.c: Likewise.
51282 * math/s_casinh.c: Likewise.
51283 * math/s_casinhf.c: Likewise.
51284 * math/s_casinhl.c: Likewise.
51285 * math/s_ccos.c: Rely entire on ccosh.
51286 * math/s_ccosf.c: Rely entire on ccoshf.
51287 * math/s_ccosl.c: Rely entirely on ccoshl.
51288 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51289 Remove tests for FE_INVALID.
51290 * math/s_ccoshf.c: Likewise.
51291 * math/s_ccoshl.c: Likewise.
51292 * math/s_csin.c: Likewise.
51293 * math/s_csinf.c: Likewise.
51294 * math/s_csinh.c Likewise.
51295 * math/s_csinhf.c: Likewise.
51296 * math/s_csinhl.c: Likewise.
51297 * math/s_csinl.c: Likewise.
51298 * math/s_ctan.c: Likewise.
51299 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51300 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51302
8ec250a4
UD
513032011-10-21 Ulrich Drepper <drepper@gmail.com>
51304
c196fed8
UD
51305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51306 compilation problems.
51307
8ec250a4
UD
51308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51309 __builtin_expect.
51310
8d4f46c6
UD
513112011-10-20 Ulrich Drepper <drepper@gmail.com>
51312
ed72b654
UD
51313 * sysdeps/i386/configure.in: Test for -mfma4 option.
51314 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51315 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51316 COMMON_CPUID_INDEX_80000001.
51317 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51318 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51319 use it if FMA3 is not supported.
51320 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51321
8d4f46c6
UD
51322 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51323 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51324
d45c60c2
AS
513252011-10-20 Andreas Schwab <schwab@redhat.com>
51326
51327 [BZ #12892]
51328 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51329 it would create a cycle with a link time dependency.
51330
d9a4d2ab
UD
513312011-10-19 Ulrich Drepper <drepper@gmail.com>
51332
855d1560
UD
51333 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51334 instruction.
51335 * string/Makefile (strop-tests): Add rawmemchr.
51336 * string/test-rawmemchr.c: New file.
51337
d9a4d2ab
UD
51338 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51340 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51341 when compiling str{,n}casecmp and when AVX is available. Hook up
51342 new optimized code in initializers.
51343
8f3b1ffe
AS
513442011-10-19 Andreas Schwab <schwab@redhat.com>
51345
51346 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51347 __feraiseexcept instead of feraiseexcept.
51348
d38f1dba
UD
513492011-10-18 Ulrich Drepper <drepper@gmail.com>
51350
d9a8d0ab
UD
51351 * math/math_private.h: Define defaults for libc_fetestexcept and
51352 libc_feupdateenv.
51353 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51354 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51355 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51356 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51357 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51358 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51359 libc_fetestexcept and libc_feupdateenv.
51360
4855e3dd
UD
51361 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51362 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51363 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51364 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51365 libc_feholdexcept_setround.
51366
581d30e3
UD
51367 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51368 Add s_nearbyint-c and s_nearbyintf-c.
51369 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51370 nearbyintf inlines.
51371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51374 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51375
d38f1dba
UD
51376 * math/math_private.h: Define defaults for libc_fegetround,
51377 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51378 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51379 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51380 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51381 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51382 standard functions.
51383 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51384 Remove comments and hacks for old compiler versions.
51385 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51386 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51387 libc_feholdexceptl.
51388
caa6c9d8
AS
513892011-10-18 Andreas Schwab <schwab@redhat.com>
51390
51391 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51392 (__feraiseexcept_renamed): Add __NTH.
51393 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51394 namespace violations.
51395
97c066e6
UD
513962011-10-17 Ulrich Drepper <drepper@gmail.com>
51397
99ce7b04
UD
51398 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51399
1004d182
UD
51400 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51401
228a984d
UD
51402 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51403 recently added interfaces.
51404 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51405
c8553a6a
UD
51406 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51407 about macro parameter expansion.
51408
ed22dcf6
UD
51409 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51410 __NO_MATH_INLINES is defined. Cleanups.
51411
51412 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51413 and __floorf is target has SSE4.1.
51414 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51415 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51416 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51417 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51418
b171c137
UD
51419 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51420 name.
51421 (floorf): Likewise.
51422
97c066e6
UD
51423 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51424
629f62ef
AS
514252011-10-17 Andreas Schwab <schwab@redhat.com>
51426
49a43d80
AS
51427 * misc/sys/cdefs.h: Fix last change.
51428
629f62ef
AS
51429 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51430 database lookup.
51431
e453f6cd
UD
514322011-10-16 Ulrich Drepper <drepper@gmail.com>
51433
aa78043a
UD
51434 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51435
ad0f5cad
UD
51436 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51437 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51438 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51440 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51441 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51442 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51443 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51444 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51445 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51446 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51447 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51448 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51449 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51450 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51451 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51452 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51453 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51454 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51455 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51456 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51457 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51458
51459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51460 ceil, ceilf, floor, floorf.
51461
51462 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51463 Perform IRELATIVE relocations last.
51464
e453f6cd
UD
51465 * elf/do-rel.h: Add another parameter nrelative, replacing the
51466 local variable with the same name. Change name of the function
51467 to end in Rel or Rela (uppercase).
51468 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51469 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51470 elf_dynamic_do_##reloc function.
51471
fd5bdc09
UD
514722011-10-15 Ulrich Drepper <drepper@gmail.com>
51473
79b195b5
UD
51474 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51475 is sufficient, at least on modern CPUs.
51476
d4a28569
UD
51477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51478
b61099b5
UD
51479 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51480 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51481
bcf01e6d
UD
51482 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51483 __expl_finite.
51484 * math/bits/math-finite.h: Add entries for exp.
51485 * math/e_expl.c: Add __*_finite alias.
51486 * sysdeps/i386/fpu/e_exp.S: Likewise.
51487 * sysdeps/i386/fpu/e_expf.S: Likewise.
51488 * sysdeps/i386/fpu/e_expl.c: Likewise.
51489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51490 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51491 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51492 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51493 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51494 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51495 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51496
ba1a0d59
UD
51497 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51498 is sufficient, at least on modern CPUs.
51499
fd5bdc09
UD
51500 * ctype/ctype-info.c (__ctype_init): Define.
51501 * include/ctype.h (__ctype_init): Declare.
51502 (__ctype_b_loc): The variable is always initialized.
51503 (__ctype_toupper_loc): Likewise.
51504 (__ctype_tolower_loc): Likewise.
51505 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51506 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51507
7872cfb0
AS
515082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51509
b468825a
AS
51510 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51511
7872cfb0
AS
51512 * configure.in: Also look in $cxxmachine/include for C++ system
51513 headers.
51514
be13f7bf
LD
515152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51516
51517 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51518 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51519 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51520 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51522 (USE_AS_WMEMCMP): New macro.
51523 Fixing indents.
51524 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51525 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51526 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51527 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51529 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51530 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51531 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51532 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51533 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51534 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51535 (USE_AS_WMEMCMP): New macro.
51536 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51537 * sysdeps/string/test-memcmp.c: Update.
51538 Fix simple_wmemcmp.
51539 Add new tests.
51540 * wcsmbs/wmemcmp.c: Update.
51541 (WMEMCMP): New macro.
51542 Fix overflow bug.
51543
556a2007
AJ
515442011-10-12 Andreas Jaeger <aj@suse.de>
51545
51546 [BZ #13268]
51547 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51548
538faaa7
UD
515492011-10-15 Ulrich Drepper <drepper@gmail.com>
51550
ab6737ff
UD
51551 * libio/iofwide.c (do_length): Avoid warning.
51552
538faaa7
UD
51553 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51554
396a21b1
UD
515552011-10-14 Ulrich Drepper <drepper@gmail.com>
51556
cdf2901f
UD
51557 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51558
38ad40ce
UD
51559 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51560 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51561 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51562 * sysdeps/i386/i686/fpu/e_log.S: New file.
51563 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51564 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51565
396a21b1
UD
51566 * ctype/ctype.h: Add support for inlined isXXX functions when
51567 compiling C++ code.
51568
6b1f68c9
AS
515692011-10-14 Andreas Schwab <schwab@redhat.com>
51570
349290c0
AS
51571 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51572
6b1f68c9
AS
51573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51574
f2282d42
RM
515752011-10-13 Roland McGrath <roland@hack.frob.com>
51576
51577 [BZ #13291]
51578 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51579
5298ffa8
AS
515802011-10-13 Andreas Schwab <schwab@redhat.com>
51581
714fad23
AS
51582 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51583 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51584 feraiseexcept.
51585
81dcc7fb
AS
51586 * sysdeps/x86_64/memrchr.S: Check for zero size.
51587
5298ffa8
AS
51588 * string/stratcliff.c: Add memrchr tests.
51589
951fbcec
LD
515902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51591
51592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51593 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51594 rawmemchr-sse2 rawmemchr-sse2-bsf.
51595 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51596 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51597 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51598 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51599 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51600 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51601 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51602 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51603 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51604 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51605 * string/memrchr.c (MEMRCHR): New macro.
51606
0ac5ae23
UD
516072011-10-12 Ulrich Drepper <drepper@gmail.com>
51608
51609 Add integration with gcc's -ffinite-math-only and optimize wrapper
51610 functions in libm.
51611 * Versions.def: Define GLIBC_2.15 version for libm.
51612 * math/Makefile (headers): Add bits/math-finite.h.
51613 * math/bits/math-finite.h: New file.
51614 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51615 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51616 * math/e_acoshl.c: Add __*_finite alias.
51617 * math/e_acosl.c: Likewise.
51618 * math/e_asinl.c: Likewise.
51619 * math/e_atan2l.c: Likewise.
51620 * math/e_atanhl.c: Likewise.
51621 * math/e_coshl.c: Likewise.
51622 * math/e_exp10.c: Likewise.
51623 * math/e_exp10f.c: Likewise.
51624 * math/e_exp10l.c: Likewise.
51625 * math/e_exp2l.c: Likewise.
51626 * math/e_fmodl.c: Likewise.
51627 * math/e_gammal_r.c: Likewise.
51628 * math/e_hypotl.c: Likewise.
51629 * math/e_j0l.c: Likewise.
51630 * math/e_j1l.c: Likewise.
51631 * math/e_jnl.c: Likewise.
51632 * math/e_lgammal_r.c: Likewise.
51633 * math/e_log10l.c: Likewise.
51634 * math/e_log2l.c: Likewise.
51635 * math/e_logl.c: Likewise.
51636 * math/e_powl.c: Likewise.
51637 * math/e_sinhl.c: Likewise.
51638 * math/e_sqrtl.c: Likewise.
51639 * math/e_scalb.c: Completely rewritten and optimized.
51640 * math/e_scalbf.c: Likewise.
51641 * math/e_scalbl.c: Likewise.
51642 * math/w_acos.c: Likewise.
51643 * math/w_acosf.c: Likewise.
51644 * math/w_acosl.c: Likewise.
51645 * math/w_acosh.c: Likewise.
51646 * math/w_acoshf.c: Likewise.
51647 * math/w_acoshl.c: Likewise.
51648 * math/w_asin.c: Likewise.
51649 * math/w_asinf.c: Likewise.
51650 * math/w_asinl.c: Likewise.
51651 * math/w_atan2.c: Likewise.
51652 * math/w_atan2f.c: Likewise.
51653 * math/w_atan2l.c: Likewise.
51654 * math/w_atanh.c: Likewise.
51655 * math/w_atanhf.c: Likewise.
51656 * math/w_atanhl.c: Likewise.
51657 * math/w_exp10.c: Likewise.
51658 * math/w_exp10f.c: Likewise.
51659 * math/w_exp10l.c: Likewise.
51660 * math/w_fmod.c: Likewise.
51661 * math/w_fmodf.c: Likewise.
51662 * math/w_fmodl.c: Likewise.
51663 * math/w_j0.c: Likewise.
51664 * math/w_j0f.c: Likewise.
51665 * math/w_j0l.c: Likewise.
51666 * math/w_j1.c: Likewise.
51667 * math/w_j1f.c: Likewise.
51668 * math/w_j1l.c: Likewise.
51669 * math/w_jn.c: Likewise.
51670 * math/w_jnf.c: Likewise.
51671 * math/w_log.c: Likewise.
51672 * math/w_logf.c: Likewise.
51673 * math/w_logl.c: Likewise.
51674 * math/w_log10.c: Likewise.
51675 * math/w_log10f.c: Likewise.
51676 * math/w_log10l.c: Likewise.
51677 * math/w_log2.c: Likewise.
51678 * math/w_log2f.c: Likewise.
51679 * math/w_log2l.c: Likewise.
51680 * math/w_pow.c: Likewise.
51681 * math/w_powf.c: Likewise.
51682 * math/w_powl.c: Likewise.
51683 * math/w_remainder.c: Likewise.
51684 * math/w_remainderf.c: Likewise.
51685 * math/w_remainderl.c: Likewise.
51686 * math/w_scalb.c: Likewise.
51687 * math/w_scalbf.c: Likewise.
51688 * math/w_scalbl.c: Likewise.
51689 * math/w_sqrt.c: Likewise.
51690 * math/w_sqrtf.c: Likewise.
51691 * math/w_sqrtl.c: Likewise.
51692 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51693 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51694 used.
51695 * math/math_private.h: Declare __kernel_standard_f.
51696 * math/w_cosh.c: Remove cruft and optimize a bit.
51697 * math/w_coshf.c: Likewise.
51698 * math/w_coshl.c: Likewise.
51699 * math/w_exp2.c: Likewise.
51700 * math/w_exp2f.c: Likewise.
51701 * math/w_exp2l.c: Likewise.
51702 * math/w_hypot.c: Likewise.
51703 * math/w_hypotf.c: Likewise.
51704 * math/w_hypotl.c: Likewise.
51705 * math/w_lgamma.c: Likewise.
51706 * math/w_lgamma_r.c: Likewise.
51707 * math/w_lgammaf.c: Likewise.
51708 * math/w_lgammaf_r.c: Likewise.
51709 * math/w_lgammal.c: Likewise.
51710 * math/w_lgammal_r.c: Likewise.
51711 * math/w_sinh.c: Likewise.
51712 * math/w_sinhf.c: Likewise.
51713 * math/w_sinhl.c: Likewise.
51714 * math/w_tgamma.c: Likewise.
51715 * math/w_tgammaf.c: Likewise.
51716 * math/w_tgammal.c: Likewise.
51717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51718 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51719 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51720 Minor optimizations. Pretty printing. Remove cruft.
51721 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51722 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51724 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51725 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51726 * sysdeps/i386/fpu/e_asin.S: Likewise.
51727 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51728 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51729 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51730 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51731 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51732 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51733 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51734 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51735 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51736 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51737 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51738 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51739 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51740 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51741 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51742 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51743 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51744 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51745 * sysdeps/i386/fpu/e_log.S: Likewise.
51746 * sysdeps/i386/fpu/e_log10.S: Likewise.
51747 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51748 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51749 * sysdeps/i386/fpu/e_log2.S: Likewise.
51750 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51751 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51752 * sysdeps/i386/fpu/e_logf.S: Likewise.
51753 * sysdeps/i386/fpu/e_logl.S: Likewise.
51754 * sysdeps/i386/fpu/e_pow.S: Likewise.
51755 * sysdeps/i386/fpu/e_powf.S: Likewise.
51756 * sysdeps/i386/fpu/e_powl.S: Likewise.
51757 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51758 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51759 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51760 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51761 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51762 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51763 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51764 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51765 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51766 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51769 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51770 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51771 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51772 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51773 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51774 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51775 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51776 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51777 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51778 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51780 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51783 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51786 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51787 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51788 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51789 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51790 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51791 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51792 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51793 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51794 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51795 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51797 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51799 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51800 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51801 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51802 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51803 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51804 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51805 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51806 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51807 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51808 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51809 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51810 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51811 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51812 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51813 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51814 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51815 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51816 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51817 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51818 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51819 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51820 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51821 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51822 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51823 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51824 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51825 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51826 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51827 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51830 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51831 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51832 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51834 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51836 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51837 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51838 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51842 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51846 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51847 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51849 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51853 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51855 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51857 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51858 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51859 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51860 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51861 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51862 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51863 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51864 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51865 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51866 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51867 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51868 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51869 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51870 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51871 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51872 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51873 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51874 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51876 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51877 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51878 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51879 (__isnanf): Likewise.
51880 (__isinf_ns): Likewise.
51881 (__isinf_nsf): Likewise.
51882 (__finite): Likewise.
51883 (__finitef): Likewise.
51884 (__ieee754_sqrt): Define as macro.
51885 (__ieee754_sqrtf): Define as macro.
51886 (__ieee754_sqrtl): Define as macro.
51887 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51888 inlined copy.
51889 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51890 __FINITE_MATH_ONLY__ consistent.
51891 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51892
12cc2fcd
AS
518932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51894
a843a204
AS
51895 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51896 of rawmemchr.
51897
12cc2fcd
AS
51898 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51899
c853acd5
UD
519002011-10-09 Ulrich Drepper <drepper@gmail.com>
51901
51902 * po/ja.po: Update from translation team.
51903
c658d255
RM
519042011-10-08 Roland McGrath <roland@hack.frob.com>
51905
110946e4
RM
51906 * locale/programs/locarchive.c (prepare_address_space): New function.
51907 (create_archive, enlarge_archive, open_archive): Use it.
51908
50604220
RM
51909 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51910 inside [SHARED], where it is used.
51911
c658d255
RM
51912 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51913
51914 * nss/getent.c (netgroup_keys): Remove unused variable.
51915 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51916
6a621eb7
UD
519172011-10-08 Ulrich Drepper <drepper@gmail.com>
51918
7edb55ce
UD
51919 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51920 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51921 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51923 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51924 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51925 * math/Makefile (libm-calls): Add s_isinf_ns.
51926 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51927 * math/multc3.c: Likewise.
51928 * math/s_casin.c: Likewise.
51929 * math/s_casinf.c: Likewise.
51930 * math/s_casinl.c: Likewise.
51931 * math/s_ccos.c: Likewise.
51932 * math/s_ccosf.c: Likewise.
51933 * math/s_ccosl.c: Likewise.
51934 * math/s_ctan.c: Likewise.
51935 * math/s_ctanf.c: Likewise.
51936 * math/s_ctanh.c: Likewise.
51937 * math/s_ctanhf.c: Likewise.
51938 * math/s_ctanhl.c: Likewise.
51939 * math/s_ctanl.c: Likewise.
51940 * math/w_fmod.c: Likewise.
51941 * math/w_fmodf.c: Likewise.
51942 * math/w_fmodl.c: Likewise.
51943 * math/w_remainder.c: Likewise.
51944 * math/w_remainderf.c: Likewise.
51945 * math/w_remainderl.c: Likewise.
51946 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51947 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51950 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51951 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51952 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51953 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51954
187da0ae
UD
51955 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51956 of the number.
51957 * stdio-common/printf_fphex.c: Likewise.
51958 * stdio-common/printf_size.c: Likewise.
51959
9277c064
UD
51960 * math/e_exp10.c: Include math_private.h using <...> not "...".
51961 * math/e_exp10f.c: Likewise.
51962 * math/e_exp10l.c: Likewise.
51963 * math/e_exp2l.c: Likewise.
51964 * math/e_j0l.c: Likewise.
51965 * math/e_j1l.c: Likewise.
51966 * math/e_jnl.c: Likewise.
51967 * math/e_lgammal_r.c: Likewise.
51968 * math/e_rem_pio2l.c: Likewise.
51969 * math/e_scalb.c: Likewise.
51970 * math/e_scalbf.c: Likewise.
51971 * math/e_scalbl.c: Likewise.
51972 * math/k_cosl.c: Likewise.
51973 * math/k_sinl.c: Likewise.
51974 * math/k_tanl.c: Likewise.
51975 * math/s_cacoshf.c: Likewise.
51976 * math/s_catan.c: Likewise.
51977 * math/s_catanf.c: Likewise.
51978 * math/s_catanh.c: Likewise.
51979 * math/s_catanhf.c: Likewise.
51980 * math/s_catanhl.c: Likewise.
51981 * math/s_catanl.c: Likewise.
51982 * math/s_ccosh.c: Likewise.
51983 * math/s_ccoshf.c: Likewise.
51984 * math/s_ccoshl.c: Likewise.
51985 * math/s_cexp.c: Likewise.
51986 * math/s_cexpf.c: Likewise.
51987 * math/s_cexpl.c: Likewise.
51988 * math/s_clog.c: Likewise.
51989 * math/s_clog10.c: Likewise.
51990 * math/s_clog10f.c: Likewise.
51991 * math/s_clog10l.c: Likewise.
51992 * math/s_clogf.c: Likewise.
51993 * math/s_clogl.c: Likewise.
51994 * math/s_csin.c: Likewise.
51995 * math/s_csinf.c: Likewise.
51996 * math/s_csinh.c: Likewise.
51997 * math/s_csinhf.c: Likewise.
51998 * math/s_csinhl.c: Likewise.
51999 * math/s_csinl.c: Likewise.
52000 * math/s_csqrt.c: Likewise.
52001 * math/s_csqrtf.c: Likewise.
52002 * math/s_csqrtl.c: Likewise.
52003 * math/s_ctan.c: Likewise.
52004 * math/s_ctanf.c: Likewise.
52005 * math/s_ctanh.c: Likewise.
52006 * math/s_ctanhf.c: Likewise.
52007 * math/s_ctanhl.c: Likewise.
52008 * math/s_ctanl.c: Likewise.
52009 * math/s_ldexp.c: Likewise.
52010 * math/s_ldexpf.c: Likewise.
52011 * math/s_ldexpl.c: Likewise.
52012 * math/s_significand.c: Likewise.
52013 * math/s_significandf.c: Likewise.
52014 * math/s_significandl.c: Likewise.
52015 * math/w_acos.c: Likewise.
52016 * math/w_acosf.c: Likewise.
52017 * math/w_acosh.c: Likewise.
52018 * math/w_acoshf.c: Likewise.
52019 * math/w_acoshl.c: Likewise.
52020 * math/w_acosl.c: Likewise.
52021 * math/w_asin.c: Likewise.
52022 * math/w_asinf.c: Likewise.
52023 * math/w_asinl.c: Likewise.
52024 * math/w_atan2.c: Likewise.
52025 * math/w_atan2f.c: Likewise.
52026 * math/w_atan2l.c: Likewise.
52027 * math/w_atanh.c: Likewise.
52028 * math/w_atanhf.c: Likewise.
52029 * math/w_atanhl.c: Likewise.
52030 * math/w_cosh.c: Likewise.
52031 * math/w_coshf.c: Likewise.
52032 * math/w_coshl.c: Likewise.
52033 * math/w_dremf.c: Likewise.
52034 * math/w_exp10.c: Likewise.
52035 * math/w_exp10f.c: Likewise.
52036 * math/w_exp10l.c: Likewise.
52037 * math/w_exp2.c: Likewise.
52038 * math/w_exp2f.c: Likewise.
52039 * math/w_fmod.c: Likewise.
52040 * math/w_fmodf.c: Likewise.
52041 * math/w_fmodl.c: Likewise.
52042 * math/w_hypot.c: Likewise.
52043 * math/w_hypotf.c: Likewise.
52044 * math/w_hypotl.c: Likewise.
52045 * math/w_j0.c: Likewise.
52046 * math/w_j0f.c: Likewise.
52047 * math/w_j0l.c: Likewise.
52048 * math/w_j1.c: Likewise.
52049 * math/w_j1f.c: Likewise.
52050 * math/w_j1l.c: Likewise.
52051 * math/w_jn.c: Likewise.
52052 * math/w_jnf.c: Likewise.
52053 * math/w_jnl.c: Likewise.
52054 * math/w_lgamma.c: Likewise.
52055 * math/w_lgamma_r.c: Likewise.
52056 * math/w_lgammaf.c: Likewise.
52057 * math/w_lgammaf_r.c: Likewise.
52058 * math/w_lgammal.c: Likewise.
52059 * math/w_lgammal_r.c: Likewise.
52060 * math/w_log.c: Likewise.
52061 * math/w_log10.c: Likewise.
52062 * math/w_log10f.c: Likewise.
52063 * math/w_log10l.c: Likewise.
52064 * math/w_log2.c: Likewise.
52065 * math/w_log2f.c: Likewise.
52066 * math/w_log2l.c: Likewise.
52067 * math/w_logf.c: Likewise.
52068 * math/w_logl.c: Likewise.
52069 * math/w_pow.c: Likewise.
52070 * math/w_powf.c: Likewise.
52071 * math/w_powl.c: Likewise.
52072 * math/w_remainder.c: Likewise.
52073 * math/w_remainderf.c: Likewise.
52074 * math/w_remainderl.c: Likewise.
52075 * math/w_scalb.c: Likewise.
52076 * math/w_scalbf.c: Likewise.
52077 * math/w_scalbl.c: Likewise.
52078 * math/w_sinh.c: Likewise.
52079 * math/w_sinhf.c: Likewise.
52080 * math/w_sinhl.c: Likewise.
52081 * math/w_sqrt.c: Likewise.
52082 * math/w_sqrtf.c: Likewise.
52083 * math/w_sqrtl.c: Likewise.
52084 * math/w_tgamma.c: Likewise.
52085 * math/w_tgammaf.c: Likewise.
52086 * math/w_tgammal.c: Likewise.
52087
6a621eb7
UD
52088 * po/ja.po: Update from translation team.
52089
bf582445
AJ
520902011-09-29 Andreas Jaeger <aj@suse.de>
52091
f9efbf3a
AJ
52092 [BZ #13179]
52093 * sunrpc/netname.c (netname2host): Fix logic.
52094
bf582445
AJ
52095 [BZ #6779]
52096 [BZ #6783]
52097 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52098 correctly.
52099 * math/w_remainder.c (__remainder): Likewise.
52100 * math/w_remainderf.c (__remainderf): Likewise.
52101 * math/libm-test.inc (remainder_test): Add test cases.
52102
48693bea
AK
521032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52104
52105 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52106 sdiv_qrnnd.
52107
42622229
LD
521082011-10-07 Ulrich Drepper <drepper@gmail.com>
52109
52110 * string/test-memcmp.c: Avoid unncessary #defines.
52111 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52112
093ecf92
LD
521132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52114
52115 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52116 Use new sse2 version for core i3 - i7 as it's faster
52117 than sse42 version.
52118 (bit_Prefer_PMINUB_for_stringop): New.
52119 * sysdeps/x86_64/rawmemchr.S: Update.
52120 Replace with faster SSE2 version.
52121 * sysdeps/x86_64/memrchr.S: New file.
52122 * sysdeps/x86_64/memchr.S: Update.
52123 Replace with faster SSE2 version.
52124
fde56e5c
MP
521252011-09-12 Marek Polacek <mpolacek@redhat.com>
52126
52127 * elf/dl-load.c (lose): Add cast to avoid warning.
52128
21fd49a9
UD
521292011-10-07 Ulrich Drepper <drepper@gmail.com>
52130
5a06e643
UD
52131 * po/ca.po: Update from translation team.
52132
684ae515
UD
52133 * inet/getnetgrent_r.c: Hook up nscd.
52134 * nscd/Makefile (routines): Add nscd_netgroup.
52135 (nscd-modules): Add netgroupcache.
52136 (CFLAGS-netgroupcache.c): Define.
52137 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52138 (cache_search): Add const to second parameter.
52139 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52140 INNETGR.
52141 (dbs): Add netgrdb entry.
52142 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52143 (verify_persistent_db): Handle netgrdb.
52144 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52145 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52146 GETFDNETGR.
52147 (netgroup_response_header): Define.
52148 (innetgroup_response_header): Define.
52149 (datahead): Add netgroup_response_header and innetgroup_response_header
52150 elements.
52151 * nscd/nscd.conf: Add entries for netgroup cache.
52152 * nscd/nscd.h (dbtype): Add netgrdb.
52153 (_PATH_NSCD_NETGROUP_DB): Define.
52154 (netgroup_iov_disabled): Declare.
52155 (xmalloc, xcalloc, xrealloc): Move declarations here.
52156 (cache_search): Adjust prototype.
52157 Add netgroup-related prototypes.
52158 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52159 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52160 (__nscd_innetgr): Declare.
52161 * nscd/selinux.c (perms): Use access_vector_t as element type and
52162 add netgroup-related initializers.
52163 * nscd/netgroupcache.c: New file.
52164 * nscd/nscd_netgroup.c: New file.
52165 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52166 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52167 For four parameters use innetgr.
52168 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52169 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52170 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52171 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52172
21fd49a9
UD
52173 * nscd/connections.c (register_traced_file): Don't register file
52174 for disabled databases.
52175
054c0457
UD
521762011-10-06 Ulrich Drepper <drepper@gmail.com>
52177
32b63198
UD
52178 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52179
054c0457
UD
52180 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52181 from tree and freeing node.
52182
64031225
JO
521832011-09-25 Jiri Olsa <jolsa@redhat.com>
52184
52185 * nss/nsswitch.c (__nss_database_lookup): Handle
52186 nss_parse_service_list out of memory case.
52187
0490345c
JO
521882011-09-15 Jiri Olsa <jolsa@redhat.com>
52189
52190 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52191 out of memory case.
52192
3a62d00d
AS
521932011-10-04 Andreas Schwab <schwab@redhat.com>
52194
52195 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52196 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52197 pass it down.
52198 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52199 elf_machine_rela, elf_machine_lazy_rel.
52200 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52201 (ELF_DYNAMIC_DO_REL): Likewise.
52202 (ELF_DYNAMIC_DO_RELA): Likewise.
52203 (ELF_DYNAMIC_RELOCATE): Likewise.
52204 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52205 to ELF_DYNAMIC_DO_REL.
52206 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52207 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52208 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52209 elf_machine_rela.
52210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52211 skip_ifunc, don't call ifunc function if non-zero.
52212 (elf_machine_rela): Likewise.
52213 (elf_machine_lazy_rel): Likewise.
52214 (elf_machine_lazy_rela): Likewise.
52215 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52216 (elf_machine_lazy_rel): Likewise.
52217 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52218 Likewise.
52219 (elf_machine_lazy_rel): Likewise.
52220 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52221 Likewise.
52222 (elf_machine_lazy_rel): Likewise.
52223 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52224 (elf_machine_lazy_rel): Likewise.
52225 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52226 (elf_machine_lazy_rel): Likewise.
52227 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52228 (elf_machine_lazy_rel): Likewise.
52229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52230 (elf_machine_lazy_rel): Likewise.
52231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52232 (elf_machine_lazy_rel): Likewise.
52233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52234 (elf_machine_lazy_rel): Likewise.
52235
68577918
UD
522362011-09-28 Ulrich Drepper <drepper@gmail.com>
52237
52238 * nss/nss_files/files-init.c (_nss_files_init): Use static
52239 initialization for all the *_traced_file variables.
52240
68822d74
AS
522412011-09-28 Andreas Schwab <schwab@redhat.com>
52242
52243 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52244
2056100b
RM
522452011-09-27 Roland McGrath <roland@hack.frob.com>
52246
52247 [BZ #13226]
52248 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52249
32c76b63
AS
522502011-09-27 Andreas Schwab <schwab@redhat.com>
52251
52252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52253 Reread the line before reparsing it.
52254
bf972c9d
AS
522552011-09-26 Andreas Schwab <schwab@redhat.com>
52256
52257 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52258
e057a1b5
JM
522592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52260 Maxim Kuvyrkov <maxim@codesourcery.com>
52261 Joseph Myers <joseph@codesourcery.com>
52262
52263 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52264 if needed for __stack_chk_guard.
52265
bc7e1c36
RM
522662011-09-19 Roland McGrath <roland@hack.frob.com>
52267
ecb1482f
RM
52268 * sysdeps/posix/spawni.c (script_execute): Always define it.
52269 It will be optimized away if unused.
52270 (maybe_script_execute): New function.
52271 (__spawni): Call it.
52272
bc7e1c36
RM
52273 * Makerules: Don't include tls.make.
52274 (config-tls): Always set to thread.
52275 * tls.make.c: File removed.
52276
1c3b002b
MF
522772011-09-19 Mike Frysinger <vapier@gentoo.org>
52278
52279 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52280 * config.make.in (CPPFLAGS-config): New substituted variable.
52281
2840865d
UD
522822011-09-15 Ulrich Drepper <drepper@gmail.com>
52283
88738eb6
UD
52284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52285
cbf645a6 52286 [BZ #13192]
2840865d
UD
52287 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52288 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52289
b402e91a
RM
522902011-09-15 Roland McGrath <roland@hack.frob.com>
52291
52292 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52293 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52295 (CALL_FAIL): Likewise.
52296 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52297 (CALL_FAIL): Macro removed.
52298 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52299
4c1a1f71
UD
523002011-09-15 Ulrich Drepper <drepper@gmail.com>
52301
52302 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52303 for __FINITE_MATH_ONLY__ == 1.
52304
edc121be
AS
523052011-09-15 Andreas Schwab <schwab@redhat.com>
52306
52307 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52308 __ieee754_sqrt instead of sqrt.
52309 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52310 __ieee754_sqrtf instead of sqrtf.
52311 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52312 __floorf instead of floorf.
52313 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52314 __floorf, __truncf instead of floorf, truncf.
52315
cd205654
UD
523162011-09-14 Ulrich Drepper <drepper@gmail.com>
52317
ee4d0315
UD
52318 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52319
cd205654
UD
52320 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52321 __extern_always_inline.
52322 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52323 32-bit.
52324
48b67d71
AS
523252011-09-14 Andreas Schwab <schwab@redhat.com>
52326
52327 * elf/rtld.c (dl_main): Also relocate in dependency order when
52328 doing symbol dependency testing.
52329
1ae12c75
AS
523302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52331
52332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52333 Always define `refsym'.
52334
995a80df
AS
523352011-09-13 Andreas Schwab <schwab@redhat.com>
52336
e529793b
AS
52337 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52338 (__FD_ELT): Renamed from __FDELT.
52339 * misc/bits/select2.h (__FD_ELT): Likewise.
52340 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52341 __FD_MASK instead of __FDELT, __FDMASK.
52342 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52343 Likewise.
52344 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52345 Likewise.
52346
52d4fef8
AS
52347 * elf/Makefile (gen-ldd): Fix pattern.
52348
995a80df
AS
52349 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52350 (init_tls): Likewise.
52351
8682f8b0
UD
523522011-09-12 Ulrich Drepper <drepper@gmail.com>
52353
52354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52355
de82006d
AS
523562011-09-12 Andreas Schwab <schwab@redhat.com>
52357
a7c8e6a1
AS
52358 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52359 `struct cmsghdr *' instead of `void *'.
52360 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52361 Likewise.
52362
0f31fe77
AS
523632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52364
52365 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52366 if non-absolute.
52367 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52368 ldd_rewrite_script.
0f31fe77 52369
32b4c839
UD
523702011-09-11 Ulrich Drepper <drepper@gmail.com>
52371
83cd1420
UD
52372 * configure.in: Remove --with-tls option.
52373 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52374 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52375 out in case it is missing.
52376 * sysdeps/ia64/elf/configure.in: Likewise.
52377 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52378 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52379 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52380 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52381 * sysdeps/sh/elf/configure.in: Likewise.
52382 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52383 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52384 * sysdeps/x86_64/elf/configure.in: Likewise.
52385 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52386 * sysdeps/mach/hurd/tls.h: Likewise.
52387
633f745d
UD
52388 [BZ #13067]
52389 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52390
f318beb8
UD
52391 [BZ #13090]
52392 * configure.in: Fix use of AC_INIT.
52393
32b4c839
UD
52394 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52395
3ce1f295
UD
523962011-09-10 Ulrich Drepper <drepper@gmail.com>
52397
bb016596
UD
52398 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52399 __set_errno.
8e58439c
UD
52400 * malloc/hooks.c: Likewise.
52401
aebae053 52402 [BZ #11929]
02d46fc4
UD
52403 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52404 variables statically.
52405 (narenas): Initialize.
52406 (list_lock): Initialize.
bb016596
UD
52407 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52408 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52409 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52410 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52411 Add initializers to main_arena and mp_.
52412 (malloc_state): Remove pagesize member. Change all users to use
52413 GLRO(dl_pagesize).
52414
52415 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52416 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52417 is always initialized.
52418
22a89187
UD
52419 * malloc/malloc.c: Removed unused configurations and dead code.
52420 * malloc/arena.c: Likewise.
52421 * malloc/hooks.c: Likewise.
02d46fc4 52422 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52423
d063d164
UD
52424 * include/tls.h: Removed. USE___THREAD must always be defined.
52425 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52426 * elf/dl-libc.c: Likewise.
52427 * elf/dl-tsd.c: Likewise.
52428 * include/errno.h: Likewise.
52429 * include/netdb.h: Likewise.
52430 * include/resolv.h: Likewise.
52431 * inet/herrno-loc.c: Likewise.
52432 * inet/herrno.c: Likewise.
52433 * malloc/arena.c: Likewise.
52434 * malloc/hooks.c: Likewise.
52435 * malloc/malloc.c: Likewise.
52436 * resolv/res-state.c: Likewise.
52437 * resolv/res_libc.c: Likewise.
52438 * sysdeps/i386/dl-machine.h: Likewise.
52439 * sysdeps/ia64/dl-machine.h: Likewise.
52440 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52442 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52443 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52444 * sysdeps/sh/dl-machine.h: Likewise.
52445 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52447 * sysdeps/unix/i386/sysdep.S: Likewise.
52448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52449 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52454 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52456 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52458 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52459 * sysdeps/x86_64/dl-machine.h: Likewise.
52460 * tls.make.c: Likewise.
52461
3ce1f295
UD
52462 * configure.in: Remove --with-__thread option. Make tests for
52463 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52464 tls_model attribute fail if no support is available. Remove
52465 USE_IN_LIBIO.
52466 * Makeconfig: Adjust for dropped configure option. All features are
52467 now mandatory.
52468 * Makerules: Likewise.
52469 * Versions.def: Likewise.
52470 * argp/argp-fmtstream.c: Likewise.
52471 * argp/argp-fmtstream.h: Likewise.
52472 * argp/argp-help.c: Likewise.
52473 * assert/assert.c: Likewise.
52474 * config.h.in: Likewise.
52475 * config.make.in: Likewise.
52476 * configure: Likewise.
52477 * configure.in: Likewise.
52478 * csu/Versions: Likewise.
52479 * csu/init.c: Likewise.
52480 * elf/tst-audit2.c: Likewise.
52481 * elf/tst-tls10.c: Likewise.
52482 * elf/tst-tls10.h: Likewise.
52483 * elf/tst-tls11.c: Likewise.
52484 * elf/tst-tls12.c: Likewise.
52485 * elf/tst-tls14.c: Likewise.
52486 * elf/tst-tlsmod11.c: Likewise.
52487 * elf/tst-tlsmod12.c: Likewise.
52488 * elf/tst-tlsmod13.c: Likewise.
52489 * elf/tst-tlsmod13a.c: Likewise.
52490 * elf/tst-tlsmod14a.c: Likewise.
52491 * elf/tst-tlsmod15b.c: Likewise.
52492 * elf/tst-tlsmod16a.c: Likewise.
52493 * elf/tst-tlsmod16b.c: Likewise.
52494 * elf/tst-tlsmod7.c: Likewise.
52495 * elf/tst-tlsmod8.c: Likewise.
52496 * elf/tst-tlsmod9.c: Likewise.
52497 * gmon/gmon.c: Likewise.
52498 * grp/fgetgrent_r.c: Likewise.
52499 * grp/putgrent.c: Likewise.
52500 * hurd/fopenport.c: Likewise.
52501 * include/libc-symbols.h: Likewise.
52502 * include/tls.h: Likewise.
52503 * intl/gettextP.h: Likewise.
52504 * intl/loadinfo.h: Likewise.
52505 * locale/global-locale.c: Likewise.
52506 * locale/localeinfo.h: Likewise.
52507 * mach/devstream.c: Likewise.
52508 * malloc/arena.c: Likewise.
52509 * malloc/set-freeres.c: Likewise.
52510 * misc/err.c: Likewise.
52511 * misc/getttyent.c: Likewise.
52512 * misc/mntent_r.c: Likewise.
52513 * posix/getopt.c: Likewise.
52514 * posix/wordexp.c: Likewise.
52515 * pwd/fgetpwent_r.c: Likewise.
52516 * resolv/Versions: Likewise.
52517 * resolv/res_hconf.c: Likewise.
52518 * shadow/fgetspent_r.c: Likewise.
52519 * shadow/putspent.c: Likewise.
52520 * stdio-common/printf_fphex.c: Likewise.
52521 * stdio-common/tmpfile.c: Likewise.
52522 * stdlib/abort.c: Likewise.
52523 * stdlib/fmtmsg.c: Likewise.
52524 * sunrpc/auth_unix.c: Likewise.
52525 * sunrpc/clnt_perr.c: Likewise.
52526 * sunrpc/clnt_tcp.c: Likewise.
52527 * sunrpc/clnt_udp.c: Likewise.
52528 * sunrpc/clnt_unix.c: Likewise.
52529 * sunrpc/openchild.c: Likewise.
52530 * sunrpc/svc_simple.c: Likewise.
52531 * sunrpc/svc_tcp.c: Likewise.
52532 * sunrpc/svc_udp.c: Likewise.
52533 * sunrpc/svc_unix.c: Likewise.
52534 * sunrpc/xdr.c: Likewise.
52535 * sunrpc/xdr_array.c: Likewise.
52536 * sunrpc/xdr_rec.c: Likewise.
52537 * sunrpc/xdr_ref.c: Likewise.
52538 * sunrpc/xdr_stdio.c: Likewise.
52539
1248c1c4
PB
525402011-09-09 Ulrich Drepper <drepper@gmail.com>
52541
52542 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52543
525442011-07-03 Andreas Jaeger <aj@suse.de>
52545
52546 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52547 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52548 regenerate with gen-libm-tests.pl.
52549
525502010-05-12 Petr Baudis <pasky@suse.cz>
52551
52552 [BZ #11589]
52553 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52554 around j0() zero points by switching to j1().
52555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52558 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52559
f22e1074
UD
525602011-09-09 Ulrich Drepper <drepper@gmail.com>
52561
f19009c1
UD
52562 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52563 instead of 0.
52564 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52565 instead of 0.
f19009c1
UD
52566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52567 Patch in part by Pavel Roskin <proski@gnu.org>.
52568
3f8cc204
UD
52569 [BZ #13138]
52570 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52571 realloc.
52572 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52573 Free memory block if necessary.
52574
f22e1074
UD
52575 [BZ #12847]
52576 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52577 be NULL. Don't lock in this case.
52578
0a2349f9
RM
525792011-09-09 Roland McGrath <roland@hack.frob.com>
52580
52581 * elf/elf.h (ELFOSABI_GNU): New macro.
52582 (ELFOSABI_LINUX): Define to that.
52583
f3cdd467
DZ
525842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52585
52586 * string/strncat.c (strncat): Undef the symbol in case it has been
52587 defined in bits/string.h.
52588
74718d13
UD
525892011-09-09 Ulrich Drepper <drepper@gmail.com>
52590
633e9e0f
UD
52591 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52592
0a2349f9 52593 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52594 link map.
52595
f9924780
AJ
525962011-08-17 Andreas Jaeger <aj@suse.de>
52597
52598 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52599
7f5517aa
PP
526002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52601 Ian Lance Taylor <iant@google.com>
52602
52603 * math/libm-test.inc (lround_test): New testcase.
52604 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52605
762011fe
UD
526062011-09-08 Ulrich Drepper <drepper@gmail.com>
52607
92963737
UD
52608 * Makefile: Remove support for automatic cvs check-ins.
52609 * Makerules: Likewise.
52610 * config.make.in: Likewise.
52611 * configure.in: Likewise.
52612 * intl/Makefile: Likewise.
52613 * locale/Makefile: Likewise.
52614 * po/Makefile: Likewise.
52615 * posix/Makefile: Likewise.
52616 * sysdeps/gnu/Makefile: Likewise.
52617 * sysdeps/mach/hurd/Makefile: Likewise.
52618 * sysdeps/sparc/sparc32/Makefile: Likewise.
52619
b0727fd8
JS
52620 [BZ #13118]
52621 * posix/Makefile (bug-regex32-ENV): Define.
52622 Patch by John Stanley <jpsinthemix@verizon.net>.
52623
a0f33f99
UD
52624 * misc/Makefile (headers): Add bits/select2.h.
52625 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52626 * misc/bits/select2.h: New file.
52627 * include/bits/select2.h: New file.
52628 * debug/Makefile (routines): Add fdelt_chk.
52629 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52630 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52631 FD_ISSET.
52632 * debug/fdelt_chk.c: New file.
52633
762011fe
UD
52634 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52635 * wcsmbs/test-wmemcmp.c: Likewise.
52636 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52637 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52638
526392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52640
52641 * string/Makefile (strop-tests): Add memcmp.
52642 * string/test-wmemcmp.c: New file.
52643 * string/test-memcmp.c: Add wmemcmp support.
52644
7f513ec8
RM
526452011-09-08 Roland McGrath <roland@hack.frob.com>
52646
0442afb4
RM
52647 [BZ #13153]
52648 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52649 2011-07-19 change.
52650
7f513ec8
RM
52651 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52652 garbage value in a __mach_port_mod_refs call in the cases of the
52653 task-self and thread-self ports.
52654
a12b2239
ST
526552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52656
52657 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52658
610f9ab4
AS
526592011-09-08 Andreas Schwab <schwab@redhat.com>
52660
7f513ec8 52661 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52662
48882a1a
LD
526632011-09-07 Ulrich Drepper <drepper@gmail.com>
52664
b49865be
UD
52665 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52666
fdc86bc9
UD
52667 * elf/dl-libc.c (dlerror_run): Pass back error code from
52668 dl_catch_error.
52669
c966526a
UD
52670 [BZ #13123]
52671 * elf/dl-load.c (lose): Free l_origin if it is valid.
52672
48882a1a
LD
52673 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52674 names.
52675 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52678 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52679 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52680 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52681
77a2a8b4
AZ
526822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52683
52684 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52685 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52686 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52687 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52688 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52689 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52690 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52691 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52692 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52693 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52694
24f579d8
AM
526952011-08-15 Alan Modra <amodra@gmail.com>
52696
52697 [BZ #13092]
52698 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52699 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52700 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52701 ppc_mcount to static-only-routines.
52702 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52703 __mcount_internal.
52704 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52705 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52706
3d4837df
UD
527072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52708
52709 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52710 for finite and infinity parameters.
52711
22700377
WS
527122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52713
52714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52715 and add nop instructions for throughput optimization.
52716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52717
5025581e
WS
527182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52719
52720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52721 aligned copy for power7 with vector-scalar instructions.
52722 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52723
08a300c9
L
527242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52725
52726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52727 AVX check.
52728
59178ef9
AS
527292011-09-07 Andreas Schwab <schwab@redhat.com>
52730
52731 [BZ #13144]
52732 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52733 last change.
52734
e38ba7ab
UD
527352011-09-07 Ulrich Drepper <drepper@gmail.com>
52736
52737 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52738 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52739 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52740 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52741 clock_gettime.
52742
d53a73ac
UD
527432011-09-06 Ulrich Drepper <drepper@gmail.com>
52744
fc8bffcc
UD
52745 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52746 Forgot to demangle the pointer.
52747
ceaa0c5d
UD
52748 * sysdeps/i386/sysdep.h: Define atom_text_section.
52749 * sysdeps/x86_64/sysdep.h: Likewise.
52750 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52751 section with atom_text_section.
52752 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52753 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52754 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52756 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52757
a77d3c17
UD
52758 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52759 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52760 already be defined. Change to take two parameters and don't assign
52761 result to variable. Adjust all users.
52762 Define INTERNAL_GETTIME if not already defined.
52763 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52764 call.
52765 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52766 HAVE_CLOCK_GETTIME_VSYSCALL.
52767 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52768
d53a73ac
UD
52769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52770 gettimeofday vsyscall, just use time.
52771
a8f84144
AS
527722011-09-06 Andreas Schwab <schwab@redhat.com>
52773
52774 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52775 <errno.h>.
52776
ef606249
UD
527772011-09-06 Ulrich Drepper <drepper@gmail.com>
52778
52779 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52780 syscall on x86-64.
52781 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52782 syscall.
52783 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52785 syscall if possible.
52786
6585cb60
UD
527872011-09-05 Ulrich Drepper <drepper@gmail.com>
52788
52789 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52790 e_ident. Don't pass to find_mapsXX.
52791 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52792
a5f524e4
LD
527932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52794
52795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52796 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52797 * sysdeps/x86_64/multiarch/strchr.S: Update.
52798 Check bit_slow_BSF bit.
52799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52800 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52801 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52802
554881ef
UD
528032011-09-05 Ulrich Drepper <drepper@gmail.com>
52804
d96de963
UD
52805 [BZ #13134]
52806 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52807 before glibc 2.15.
52808 (tryshell): Define.
52809 (__spawni): Change last parameter to be flag. Test
52810 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52811 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52812 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52813 * posix/spawni.c: Likewise.
52814 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52815 * posix/spawnp.c: Likewise. Change normal version to use
52816 SPAWN_XFLAGS_USE_PATH.
52817 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52818 SPAWN_XFLAGS_TRY_SHELL.
52819
d48e5868
UD
52820 [BZ #13150]
52821 * posix/glob.h: Remove gcc 1.x support.
52822
554881ef
UD
52823 [BZ #13068]
52824 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52825
693fb948
LD
528262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52827
52828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52829 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52830 strrchr-sse2-bsf
52831 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52832 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52833 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52834 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52835 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52836 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52837
1b48c537
UD
528382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52839
49d42c37
UD
52840 * sysdeps/x86_64/wcscmp.S: New file.
52841
1b48c537
UD
52842 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52843 wcscmp-c wcscmp-sse2
52844 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52845 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52846 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52847 * wcsmbs/wcscmp.c: Allow renaming.
52848
15c95c5d
DM
528492011-09-05 David S. Miller <davem@davemloft.net>
52850
52851 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52852 stack slot, rather than the struct return pointer slot.
52853 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52854 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52856 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52857
2f0ad8f3
UD
528582011-09-05 Ulrich Drepper <drepper@gmail.com>
52859
d88ae418
UD
52860 * po/ja.po: Update from translation team.
52861
2f0ad8f3
UD
52862 [BZ #13144]
52863 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52864 kernel in 64-bit binaries.
52865
5f4318d1
DM
528662011-09-01 David S. Miller <davem@davemloft.net>
52867
52868 * elf/elf.h (HWCAP_SPARC_*): Move to..
52869 * sysdeps/sparc/sysdep.h: this new file and add new values.
52870 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52871 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52872 _DL_HWCAP_COUNT to 24.
52873 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52874 entries.
52875 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52876 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52877 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52879 instead of magic constants.
52880 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52881
3ba57516
DM
528822011-08-31 David S. Miller <davem@davemloft.net>
52883
52884 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52885 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52886 Reimplement to do errno handling inline.
52887 (SYSCALL_ERROR_HANDLER): New macro.
52888 (__SYSCALL_STRING): Do not do errno handling in asm.
52889 (__CLONE_SYSCALL_STRING): Delete.
52890 (__INTERNAL_SYSCALL_STRING): Delete.
52891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52892 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52893 (PSEUDO): Reimplement to do errno handling inline.
52894 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52895 (SYSCALL_ERROR_HANDLER): New macro.
52896 (__SYSCALL_STRING): Do not do errno handling in asm.
52897 (__CLONE_SYSCALL_STRING): Delete.
52898 (__INTERNAL_SYSCALL_STRING): Delete.
52899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52900 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52901 i386.
52902 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52903 (inline_syscall*): Add 'err' argument.
52904 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52905 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52906 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52907 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52908
52909 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52910 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52911
2bc17433
AS
529122011-08-30 Andreas Schwab <schwab@redhat.com>
52913
52914 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52915
fbeb5f4d
JO
529162011-08-29 Jiri Olsa <jolsa@redhat.com>
52917
52918 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52919 directive.
52920
ad69cc26
DM
529212011-08-24 David S. Miller <davem@davemloft.net>
52922
52923 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52924
39dd69df
AS
529252011-08-24 Andreas Schwab <schwab@redhat.com>
52926
52927 * elf/Makefile: Add rules to build and run unload8 test.
52928 * elf/unload8.c: New file.
52929 * elf/unload8mod1.c: New file.
52930 * elf/unload8mod1x.c: New file.
52931 * elf/unload8mod2.c: New file.
52932 * elf/unload8mod3.c: New file.
52933
52934 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52935 it wasn't used.
52936
2c0b250a
DM
529372011-08-23 David S. Miller <davem@davemloft.net>
52938
52939 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52940 subtract stack bias.
52941 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52942 %sp not %fp in calculations.
52943 (_JMPBUF_UNWINDS_ADJ): Likewise.
52944
22044b48
DM
52945 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52946 (aio_suspend): Call it to force an exception region around the
52947 AIO_MISC_WAIT() invocation.
52948
2cae4995
AS
529492011-08-23 Andreas Schwab <schwab@redhat.com>
52950
52951 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52952 backslash.
52953
873a772e
AJ
529542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52955
52956 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52957 protection macro.
52958 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52959 and <dl-machine.h>.
52960 (Elf64_FuncDesc): Remove.
52961
25ad0df1
DM
529622011-08-22 David S. Miller <davem@davemloft.net>
52963
52964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52965 sigaltstack check, add missing cfi directives.
52966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52967 missing cfi directives, and sigaltstack handling.
52968
e888bcbe
AS
529692011-08-16 Andreas Schwab <schwab@redhat.com>
52970
52971 [BZ #11724]
52972 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52973 object is seen twice.
52974 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52975
52976 * elf/Makefile (distribute): Add tst-initorder2.c.
52977 (tests): Add tst-initorder2.
52978 (modules-names): Add tst-initorder2a tst-initorder2b
52979 tst-initorder2c tst-initorder2d. Add rules to build them.
52980 ($(objpfx)tst-initorder2.out): New rule.
52981 * elf/tst-initorder2.c: New file.
52982 * elf/tst-initorder2.exp: New file.
52983
87162f46
AS
529842011-08-22 Andreas Schwab <schwab@redhat.com>
52985
70538b7f
AS
52986 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52987
f55ffe58
AS
52988 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52989 dependencies back to end of function.
52990
87162f46
AS
52991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52992 $(elfobjdir)/ld.so.
52993
91b392a4
UD
529942011-08-21 Ulrich Drepper <drepper@gmail.com>
52995
52996 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52997 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52998 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52999 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53000 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53001 of __vdso_gettimeofday.
53002 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53003 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53004 attribute_hidden.
53005 (_libc_vdso_platform_setup): Remove initialization of
53006 __vdso_gettimeofday and __vdso_time.
53007
5c43483f
UD
530082011-08-20 Ulrich Drepper <drepper@gmail.com>
53009
775a77e7
UD
53010 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53011 and fgetc_unlocked.
53012 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53013 getc_unlocked.
89f447ed 53014
49c74ba9
UD
53015 * elf/dl-open.c (add_to_global): Report additions to the global scope
53016 for LD_DEBUG=scopes.
53017 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53018 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53019
5c43483f
UD
53020 [BZ #13114]
53021 * stdio-common/Makefile (tests): Add bug24.
53022 * stdio-common/bug24.c: New file.
53023
a101b025
AJ
530242011-08-19 Andreas Jaeger <aj@suse.de>
53025
53026 [BZ #13114]
53027 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53028 non-existant file when using close-on-exec mode.
53029
c88f1766
UD
530302011-08-20 Ulrich Drepper <drepper@gmail.com>
53031
0276a718
UD
53032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53033 the very first instruction.
53034
c88f1766
UD
53035 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53036 the CFI state in the end.
53037 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53038 inclusion of dl-trampoline.h.
53039 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53040
51ccffa0
AS
530412011-08-19 Andreas Schwab <schwab@redhat.com>
53042
94d7165f
AS
53043 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53044 expectations for long double.
53045
51ccffa0
AS
53046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53047 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53048
fd708658 530492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53050
53051 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53052 artificual limit depends upon the system page size.
53053
44f0a71e
UD
530542011-08-17 Ulrich Drepper <drepper@gmail.com>
53055
53056 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53057 * resolv/Makefile: Define CFLAGS-libresolv.
53058
8de79a24
AS
530592011-08-17 Andreas Schwab <schwab@redhat.com>
53060
53061 * nss/makedb.c (compute_tables): Make variables used in nested
53062 function static.
53063
27724598
UD
530642011-08-17 Ulrich Drepper <drepper@gmail.com>
53065
c5305d88
UD
53066 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53067 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53068 if buffer was too small.
53069
27724598
UD
53070 * elf/pldd.c (main): Attach to all threads in the process.
53071 Rewrite /proc handling to use *at functions.
53072
076fe015
UD
530732011-08-16 Ulrich Drepper <drepper@gmail.com>
53074
174baab3
UD
53075 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53076 specifies first scope to show.
53077 (dl_open_worker): Update callers. Move printing scope of new
53078 object to before the relocation.
44f0a71e 53079 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53080 * sysdeps/generic/ldsodefs.h: Update declaration.
53081
076fe015
UD
53082 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53083 string for the scope number.
53084
a60df2c3
UD
530852011-08-14 Ulrich Drepper <drepper@gmail.com>
53086
53087 * nscd/servicescache.c (cache_addserv): Make sure written is always
53088 initialized.
53089
5e4287d1
RM
530902011-08-14 Roland McGrath <roland@hack.frob.com>
53091
85ae0589
RM
53092 * sysdeps/i386/i486/bits/atomic.h
53093 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53094 statement expression, so as to suppress "set but not used" warning.
53095 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53096
69f63097
RM
53097 * string/strncat.c (STRNCAT): Use prototype definition.
53098
675456ef
RM
53099 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53100 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53101 -Iprograms here.
53102 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53103 (localedef-modules): Add localedef.
53104 (locale-modules): Add locale.
53105
5e4287d1
RM
53106 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53107 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53108 to avoid a warning.
53109
9c96ff23
DM
531102011-08-14 David S. Miller <davem@davemloft.net>
53111
53112 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53113 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53114
f9ddf089
UD
531152011-08-13 Ulrich Drepper <drepper@gmail.com>
53116
44f0a71e 53117 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53118 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53119 * elf/rtld.c (dl_main): Set l_name of vDSO.
53120 Call _dl_show_scope when DL_DEBUG_SCOPES.
53121 (process_dl_debug): Recognize scopes flag and also set it for all.
53122 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53123 Declare _dl_show_scope.
53124
1dc27704
UD
53125 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53126 (do_dlopen): Pass caller_dlopen to dl_open.
53127 (__libc_dlopen_mode): Initialize caller_dlopen.
53128
f9ddf089
UD
53129 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53130 of libc. Make tolower call locale-independent. Optimize a bit by
53131 using isdigit instead of isalnum.
53132 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53133
9ac533d3
UD
531342011-08-12 Ulrich Drepper <drepper@gmail.com>
53135
53136 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53137 was a dependency or dynamically loaded.
53138
89edf2e9
UD
531392011-08-11 Ulrich Drepper <drepper@gmail.com>
53140
8e999d29
UD
53141 * intl/l10nflist.c: Allow architecture-specific pop function.
53142 * sysdeps/x86_64/l10nflist.c: New file.
53143
89edf2e9
UD
53144 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53145 classification.
53146
14d96785
AS
531472011-08-10 Andreas Schwab <schwab@redhat.com>
53148
53149 * include/dirent.h: Add libc_hidden_proto for scandirat and
53150 scandirat64. Don't declare __scandirat64.
53151 * dirent/scandirat.c: Add libc_hidden_def.
53152 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53153 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53154
6761ac04
DM
531552011-08-10 David S. Miller <davem@davemloft.net>
53156
53157 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53158 enum.
53159 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53160 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53161 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53162
c55fbd1e
UD
531632011-08-09 Ulrich Drepper <drepper@gmail.com>
53164
53165 * Versions.def [libc]: Add GLIBC_2.15.
53166 * dirent/Makefile (routines): Add scandirat and scandirat64.
53167 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53168 GLIBC_2.15.
53169 * dirent/dirent.h: Declare scandirat and scandirat64.
53170 * dirent/scandirat.c: New file.
53171 * dirent/scandirat64.c: New file.
53172 * sysdeps/wordsize-64/scandirat.c: New file.
53173 * sysdeps/wordsize-64/scandirat64.c: New file.
53174 * dirent/opendir.c: Define opendirat.
53175 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53176 using scandirat.
53177 * dirent/scandir64.c: Adjust for scandir.c change.
53178 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53179 __scandirat64, and __scandir_cancel_handler.
53180 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53181 additional parameter and use openat instead of open (outside of ld.so).
53182 Add new __opendir as wrapper around __opendirat.
53183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53184 here without requiring old scandirat implementation.
53185
879165f2
UD
531862011-08-08 Ulrich Drepper <drepper@gmail.com>
53187
53188 * dirent/scandir.c (cancel_handler): Renamed to
53189 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53190 defined. Adjust users.
53191 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53192 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53193
cb7e923b
UD
531942011-08-04 Ulrich Drepper <drepper@gmail.com>
53195
16292edd
UD
53196 * string/test-string.h (IMPL): Use __STRING to expand name and then
53197 stringify it.
53198
cb7e923b
UD
53199 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53200 of cleanups.
53201
cff82933
LD
532022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53203
53204 * string/Makefile: Update.
53205 (strop-tests): Append strncat.
53206 * string/test-wcscmp.c: New file.
53207 New comprehensive test for wcscmp.
53208 * string/test-strcmp.c: Update.
53209 (WIDE): New define.
53210
9be9bfcc
AS
532112011-07-22 Andreas Schwab <schwab@redhat.com>
53212
53213 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53214 line.
53215
2e96f1c7
AS
532162011-07-26 Andreas Schwab <schwab@redhat.com>
53217
53218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53219 encoding to ACE if AI_IDN.
53220
85188888
JJ
532212011-08-01 Jakub Jelinek <jakub@redhat.com>
53222
53223 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53224 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53225
5fa16e9b
LD
532262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53227
53228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53229 Fix overflow bug in strncat.
53230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53231
53232 * string/test-strncat.c: Update.
53233 Add new tests for checking overflow bugs.
53234
532352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53236
53237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53238 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53239 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53240 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53241 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53242 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53243 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53244 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53245 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53246
53247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53248 (USE_AS_STRCAT): Define.
53249 Add strcat and strncat support.
53250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53251
8c1a459f
AS
532522011-07-25 Andreas Schwab <schwab@redhat.com>
53253
53254 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53255 __n bigger than INT_MAX+1.
53256 (__strncmp_g): Likewise.
53257
bba33c28
UD
532582011-07-23 Ulrich Drepper <drepper@gmail.com>
53259
798be72d
UD
53260 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53261 * libio/stido.h: Likewise.
53262
8accd4dc
UD
53263 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53264 (AF_NFC): Define.
53265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53266 (AF_NFC): Define.
53267
cbff0d96
UD
53268 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53269 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53270 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53271 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53273
9191c04a
UD
53274 [BZ #13021]
53275 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53276 installed.
53277
bba33c28
UD
53278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53279 typo.
53280 (_dl_x86_64_save_sse): Likewise.
53281
90f139dd
UD
532822011-07-22 Ulrich Drepper <drepper@gmail.com>
53283
1aae088a
UD
53284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53285 OSXSAVE.
53286 (_dl_x86_64_save_sse): Likewise.
53287
8e2045f5
UD
53288 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53289
90f139dd
UD
53290 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53291
1d002f25
AS
532922011-07-21 Andreas Schwab <schwab@redhat.com>
53293
53294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53295 change.
53296 (_dl_x86_64_save_sse): Use correct AVX check.
53297
21137f89
UD
532982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53299
53300 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53301 bug in strncpy/strncat.
53302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53303
a65c0b7a
UD
533042011-07-21 Ulrich Drepper <drepper@gmail.com>
53305
53306 * string/tester.c (test_strcat): Add tests for different alignments
53307 of source and destination.
53308 (test_strncat): Likewise.
53309
6986b98a
UD
533102011-07-20 Ulrich Drepper <drepper@gmail.com>
53311
90bb2039
UD
53312 [BZ #12852]
53313 * posix/glob.c (glob): Check passed in values before using them in
53314 expressions to avoid some overflows.
53315 (glob_in_dir): Likewise.
53316
5644ef54
UD
53317 [BZ #13007]
53318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53319 check for AVX enablement so that we don't crash with old kernels and
53320 new hardware.
53321 * elf/tst-audit4.c: Add same checks here.
53322 * elf/tst-audit6.c: Likewise.
53323
53324 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53325
bfc9dc9b
AS
533262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53327
53328 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53329
702e64bb
UD
533302011-07-20 Ulrich Drepper <drepper@gmail.com>
53331
53332 * po/cs.po: Update from translation team.
53333 * po/bg.po: Likewise.
53334
295e904f
MP
533352011-07-12 Marek Polacek <mpolacek@redhat.com>
53336
53337 * misc/sys/cdefs.h: Add support for const attribute.
53338 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53339 to gnu_dev_{major,minor,makedev} functions.
53340
3ff94596
MP
533412011-07-20 Marek Polacek <mpolacek@redhat.com>
53342
53343 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53344
28b59fca
AS
533452011-07-20 Andreas Schwab <schwab@redhat.com>
53346
53347 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53348 strlen results.
53349
19df733e
AK
533502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53351
53352 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53353 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53354 register in order to avoid conflicts with the soft frame pointer
53355 being held in r11 when necessary.
53356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53357 (INTERNAL_VSYSCALL_NCS): Likewise.
53358
c8835729
MP
533592011-07-14 Marek Polacek <mpolacek@redhat.com>
53360
53361 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53362 * elf/dl-fini.c (_dl_fini): Adjust caller.
53363 * elf/dl-close.c (_dl_close_worker): Likewise.
53364 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53365
b902330c
MP
533662011-07-15 Marek Polacek <mpolacek@redhat.com>
53367
8991e135
MP
53368 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53369 "aux_cache->nlibs < 0".
53370
b902330c
MP
53371 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53372 in the reload-count case.
53373
99710781
LD
533742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53375
53376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53377 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53378 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53379 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53380 * sysdeps/x86_64/multiarch/strcat.S: New file.
53381 * sysdeps/x86_64/multiarch/strncat.S: New file.
53382 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53383 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53384 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53385 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53386 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53387 (USE_AS_STRCAT): Define.
53388 Add strcat and strncat support.
53389 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53390 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53392 * string/strncat.c: Update.
53393 (USE_AS_STRNCAT): Define.
53394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53395 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53396 and i7.
53397 * sysdeps/x86_64/multiarch/init-arch.h
53398 (bit_Prefer_PMINUB_for_stringop): New.
53399 (index_Prefer_PMINUB_for_stringop): Likewise.
53400 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53401 bit_Prefer_PMINUB_for_stringop.
53402
7dc6bd90
UD
534032011-07-19 Ulrich Drepper <drepper@gmail.com>
53404
53405 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53406 buffer64.
53407 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53408 of casting of buffer.
53409 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53410 buffer32 and buffer64.
53411 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53412 writes instead of casting of buffer.
53413 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53414 buffer32.
53415 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53416 casting of buffer.
53417
e0e72284
AS
534182011-07-19 Andreas Schwab <schwab@redhat.com>
53419
53420 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53421
feb1eb0b
UD
534222011-07-19 Ulrich Drepper <drepper@gmail.com>
53423
53424 * nscd/nscd.c (termination_handler): Don't do anything for a database
53425 if it has not yet been initialized.
53426
298711ff
UD
534272011-07-18 Ulrich Drepper <drepper@gmail.com>
53428
53429 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53430
534312011-07-15 Marek Polacek <mpolacek@redhat.com>
53432
53433 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53434
f9d68389
UD
534352011-07-18 Ulrich Drepper <drepper@gmail.com>
53436
53437 * po/nl.po: Update from translation team.
53438 * po/sv.po: Likewise.
53439
db290cf5
RM
534402011-07-16 Roland McGrath <roland@hack.frob.com>
53441
53442 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53443 now disallowed by GCC.
5c550700 53444
fd5e21c7
RM
53445 * configure.in (use-default-link): Default to yes if a test -shared
53446 link meets our qualifications.
53447 * configure: Regenerated.
53448
5c550700
RM
53449 * config.make.in (output-format): New variable.
53450 * configure.in: Check for ld --print-output-format support.
53451 * configure: Regenerated.
53452 * Makerules ($(common-objpfx)format.lds)
53453 [$(output-format) != unknown]: Just use $(output-format),
53454 instead of the linker-script munging.
53455
9fa2c032
RM
534562011-07-14 Roland McGrath <roland@hack.frob.com>
53457
a6928d51
RM
53458 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53459 of $(common-objpfx)shlib.lds.
53460 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53461
661607b3
RM
53462 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53463 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53464
9fa2c032
RM
53465 * configure.in (-z relro check): Adjust test code to add a large
53466 writable data section after it.
53467 * configure: Regenerated.
53468
defe9061
RM
534692011-07-11 Roland McGrath <roland@hack.frob.com>
53470
53471 * configure.in (-z relro check): Fix test code to make the variable
53472 truly const.
53473 * configure: Regenerated.
53474
319b9ad4
UD
534752011-07-11 Ulrich Drepper <drepper@gmail.com>
53476
53477 * nscd/nscd.h (struct traced_file): Define.
53478 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53479 elements. Add traced_files.
53480 (inotify_fd): Declare.
53481 (register_traced_file): Declare.
53482 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53483 (inotify_fd): Export.
53484 (resolv_conf_descr): Remove.
53485 (nscd_init): Move inotify descriptor creation to main.
53486 Don't register files for notification here.
53487 (register_traced_file): New function.
53488 (invalidate_cache): Don't use reset_res to determine whether to call
53489 res_init, go through the list of registered files.
53490 (main_loop_poll): The inotify descriptors are now stored in the
53491 structures for the traced files.
53492 (main_loop_epoll): Likewise
53493 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53494 to __nss_disable_nscd.
53495 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53496 for a database anymore. Check the records for all the registered
53497 files instead.
53498 * nss/Makefile (libnss_files-routines): Add files-init.
53499 (libnss_db-routines): Add db-init.
53500 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53501 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53502 * nss/nss_db/db-init.c: New file.
53503 * nss/nss_files/files-init.c: New file.
53504 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53505 __nss_lookup_function.
53506 (__nss_lookup_function): Call nss_load_library.
53507 (nss_load_all_libraries): New function.
53508 (__nss_disable_nscd): Take parameter with callback function for files
53509 to register. Set is_nscd. Load all the DSOs for the NSS modules
53510 used for the cached services.
53511 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53513 options for features to all the files in nscd.
53514
53515 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53516
23bee3e8
RM
535172011-07-10 Roland McGrath <roland@hack.frob.com>
53518
53519 * csu/elf-init.c (__libc_csu_init): Comment typo.
53520
46a5b7f0
UD
535212011-07-09 Ulrich Drepper <drepper@gmail.com>
53522
53523 * po/pl.po: Update from translation team.
53524 * po/ja.po: Likewise.
53525 * po/ru.po: Likewise.
53526 * po/ko.po: Likewise.
53527 * po/fr.po: Likewise.
53528
d30cf5bb
RM
535292011-07-09 Roland McGrath <roland@hack.frob.com>
53530
113ddea4
RM
53531 * configure.in (.ctors/.dtors header and trailer check):
53532 Use an empirical test on a built program.
53533 * configure: Regenerated.
53534
574920b4
RM
53535 * configure.in (-z relro check): Use an empirical test on a built DSO.
53536 Detect, but do not require, on ia64.
53537 * configure: Regenerated.
53538
d30cf5bb
RM
53539 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53540 Update tests that use readelf to use $READELF instead.
53541 * configure: Regenerated.
53542
8538fdb3
UD
535432011-07-08 Ulrich Drepper <drepper@gmail.com>
53544
53545 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53546 if the result is not used.
53547
04d08991
AJ
535482011-07-05 Andreas Jaeger <aj@suse.de>
53549
53550 [BZ#9696]
53551 * stdlib/tst-strtod.c: Add testcase.
53552
de283087
AD
535532011-07-07 Ulrich Drepper <drepper@gmail.com>
53554
4e5f31c8 53555 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53556 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53557 The latter has a higher limit. Take additional parameter to pass to
53558 the new function.
53559 (__pathconf): Pass file to __statfs_link_max.
53560 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53561 __statfs_link_max.
53562 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53563 __statfs_link_max.
53564
de283087
AD
53565 [BZ #12868]
53566 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53568 Handle Lustre.
53569 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53570 (__statfs_filesize_max): Likewise.
53571 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53572
c75fa153
AJ
535732011-07-05 Andreas Jaeger <aj@suse.de>
53574
53575 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53576
1a544854
UD
535772011-07-06 Marek Polacek <mpolacek@redhat.com>
53578
53579 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53580 `status' variable.
53581 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53582 Likewise.
53583
6f0eec67
UD
535842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53585
53586 * Makefile (strop-tests): Add strncat.
53587 * string/test-strncat.c: New file.
53588
aae30307
UD
535892011-06-30 Marek Polacek <mpolacek@redhat.com>
53590
53591 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53592
c0cfb5eb
UD
535932011-06-21 Andreas Jaeger <aj@suse.de>
53594
53595 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53596 Copy rule from iconvdata/Makefile.
53597
01636b21
UD
535982011-07-06 Ulrich Drepper <drepper@gmail.com>
53599
53600 [BZ #12922]
53601 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53602 but no long options are defined, just return 'W'.
53603
9895c8bc
UD
536042011-06-22 Marek Polacek <mpolacek@redhat.com>
53605
53606 [BZ #9696]
53607 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53608
5d4cf042
UD
536092011-07-06 Ulrich Drepper <drepper@gmail.com>
53610
53611 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53612 netgroups to read.
960e5535 53613 (innetgr): Likewise.
5d4cf042 53614
751eb97e
RM
536152011-07-05 Roland McGrath <roland@hack.frob.com>
53616
53617 * config.make.in (install_root): Default to $(DESTDIR).
53618
f15f1e45
UD
536192011-07-05 Ulrich Drepper <drepper@gmail.com>
53620
53621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53622
4e34ac6a
RM
536232011-07-02 Roland McGrath <roland@hack.frob.com>
53624
5e9b6af4
RM
53625 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53626
84f9ea0f
RM
53627 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53628 containing directory rather than embedding absolute directory names.
53629
ea5ee9f7
RM
53630 * scripts/check-local-headers.sh: Rewritten using awk.
53631 Match by word, not by line. Print error messages for matches.
53632 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53633
1b74661a
RM
53634 * Makerules [shlib-lds-flags empty]:
53635 ($(common-objpfx)libc_pic.opts): New target.
53636 ($(common-objpfx)libc_pic.os.clean): New target.
53637 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53638
53639 * config.make.in (OBJCOPY): New variable.
53640 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53641 * configure: Regenerated.
53642
f781ef40
RM
53643 * config.make.in (use-default-link): New variable.
53644 * configure.in (use_default_link): Grok --with-default-link to set it.
53645 * configure: Regenerated.
53646 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53647 (shlib-lds, shlib-lds-flags): Define to empty.
53648
2d4fa81e
RM
53649 * Makerules (shlib-lds): New variable.
53650 (shlib-lds-flags): New variable.
53651 (build-shlib, build-moduile, build-module-asneeded): Use it.
53652 ($(common-objpfx)libc.so): Use $(shlib-lds).
53653 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53654 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53655
31fffa6b
RM
53656 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53657 DT_FLAGS/DT_FLAGS_1 with zero flags.
53658
4e34ac6a
RM
53659 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53660 linker script munging.
53661
fcfc776b
UD
536622011-07-02 Ulrich Drepper <drepper@gmail.com>
53663
53664 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53665 as 128-bit value.
53666 * crypt/sha512.c (sha512_process_block): Perform total addition using
53667 128-bit if possible.
53668 (__sha512_finish_ctx): Likewise.
53669 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53670 as 64-bit value.
53671 * crypt/sha256.c (SWAP64): Define.
53672 (sha256_process_block): Perform total addition using 64-bit if
53673 possible.
53674 (__sha256_finish_ctx): Likewise.
53675
99231d9a
UD
536762011-07-01 Ulrich Drepper <drepper@gmail.com>
53677
53678 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53680 * nscd/hstcache.c (cache_addhst): Likewise.
53681 * nscd/grpcache.c (cache_addgr): Likewise.
53682 * nscd/aicache.c (addhstaiX): Likewise
53683 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53684
445b4a53
TK
536852011-07-01 Thorsten Kukuk <kukuk@suse.de>
53686
53687 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53688 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53689 * nscd/hstcache.c (cache_addhst): Likewise.
53690 * nscd/grpcache.c (cache_addgr): Likewise.
53691 * nscd/aicache.c (addhstaiX): Likewise
53692
6d4d8e8e
AS
536932011-07-01 Andreas Schwab <schwab@redhat.com>
53694
53695 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53696 domain only when needed.
53697
89f654c5
AS
536982011-06-30 Andreas Schwab <schwab@redhat.com>
53699
53700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53701 is always restored.
53702
cf3b23ff
UD
537032011-06-29 Ulrich Drepper <drepper@gmail.com>
53704
53705 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53706 are re-adding the entry.
53707 * nscd/servicescache.c (cache_addserv): Likewise.
53708
751626f9
AJ
537092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53710
53711 * sysdeps/generic/dl-irel.h: fix protection against multiple
53712 inclusions.
53713 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53714
9113ea1f
UD
537152011-06-28 Ulrich Drepper <drepper@gmail.com>
53716
5c0b8d90
UD
53717 [BZ #12935]
53718 * malloc/memusage.sh: Fix quoting in message.
53719 * debug/xtrace.sh: Likewise.
53720
9113ea1f
UD
53721 * configure.in: Remove support for --experimental-malloc option, make
53722 it the default.
53723 * config.make.in: Likewise.
53724 * malloc/Makefile: Likewise.
53725
a4172181
AS
537262011-06-27 Andreas Schwab <schwab@redhat.com>
53727
53728 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53729 two-byte characters.
53730
78a7eee7
RM
537312011-06-27 Roland McGrath <roland@hack.frob.com>
53732
62bede13
RM
53733 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53734 AC_CACHE_CHECK invocation.
53735 * configure: Regenerated.
53736
78a7eee7
RM
53737 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53738
5ce33a62
UD
537392011-06-27 Ulrich Drepper <drepper@gmail.com>
53740
034807a9
UD
53741 [BZ #12350]
53742 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53743 bit from old_res_options.
53744
4902da17
UD
53745 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53746
5ce33a62
UD
53747 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53748 value type for setfct.
53749
c2344f56
L
537502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53751
53752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53753 __gettimeofday instead of gettimeofday.
53754
68468076
UD
537552011-06-26 Ulrich Drepper <drepper@gmail.com>
53756
53757 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53758
acb0d739
L
537592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53760
53761 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53762
53763 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53764 info.
53765
8912479f
L
537662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53767
53768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53769 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53770 strcpy-sse2-unaligned strncpy-sse2-unaligned
53771 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53772 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53773 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53774 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53775 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53776 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53778 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53779 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53780 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53781 (STRCPY): Support SSE2 and SSSE3 versions.
53782
d5495a11
UD
537832011-06-24 Ulrich Drepper <drepper@gmail.com>
53784
53785 [BZ #12874]
53786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53787 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53788 kernels which artificially limit size of requests.
53789
0b1cbaae
L
537902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53791
53792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53793 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53794 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53795 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53796 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53797 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53798 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53799 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53800 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53802 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53803 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53804 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53805 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53806 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53808 Enable unaligned load optimization for Intel Core i3, i5 and i7
53809 processors.
53810 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53811 Define.
53812 (index_Fast_Unaligned_Load): Define.
53813 (HAS_FAST_UNALIGNED_LOAD): Define.
53814
07f494a0
MP
538152011-06-23 Marek Polacek <mpolacek@redhat.com>
53816
53817 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53818
fa3fc0fe
UD
538192011-06-22 Ulrich Drepper <drepper@gmail.com>
53820
53821 [BZ #12907]
53822 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53823 until it is clear that the information is realy needed.
53824 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53825
e12df166
AS
538262011-06-22 Andreas Schwab <schwab@redhat.com>
53827
53828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53829
852eb34d
UD
538302011-06-22 Ulrich Drepper <drepper@gmail.com>
53831
84e2a551
UD
53832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53833 /sys/devices/system/cpu/online if it is usable.
53834
852eb34d
UD
53835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53836 reading the information from the /proc filesystem to once a second.
53837
6e502e19
UD
538382011-06-21 Andreas Jaeger <aj@suse.de>
53839
53840 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53841 NULL after inclusion of kernel headers.
53842
75d39ff2
UD
538432011-06-21 Ulrich Drepper <drepper@gmail.com>
53844
51f9aa6a
UD
53845 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53846 calls to internal_setent.
53847
c0244a9d
UD
53848 [BZ #12885]
53849 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53850 addresses using gethostbyname4_r ignore IPv4 addresses.
53851
c5e3c2ae
UD
53852 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53853 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53854
75d39ff2
UD
53855 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53856
42675c6f
DM
538572011-06-20 David S. Miller <davem@davemloft.net>
53858
53859 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53860 inclusions.
53861 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53862
53863 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53864 (elf_irel): Use it.
53865 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53866 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53867 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53868 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53869 * sysdeps/x86_64/dl-irel.h: Likewise.
53870
53871 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53872 * elf/dl-sym.c: Likewise.
53873
57912a71
UD
538742011-06-15 Ulrich Drepper <drepper@gmail.com>
53875
53876 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53877 need to dereference resplen2.
53878
ee22793d
AS
538792011-06-14 Andreas Schwab <schwab@redhat.com>
53880
53881 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53882
a9e836b0
UD
538832011-06-15 Ulrich Drepper <drepper@gmail.com>
53884
77fb9117
UD
53885 * Makeconfig: Define vardbdir and inst_vardbdir.
53886 * nss/Makefile: Add rules to install db-Makefile.
53887
40c1b22c
UD
53888 * nss/nss_db/db-XXX.c: Cleanup.
53889
9f2da732
UD
53890 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53891 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53892 GLIBC_PRIVATE.
53893 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53894 * nss/makedb.c: Implement -g option to specify that value strings
53895 are generated and should not be added to table iterated over for
53896 get*ent calls.
53897 * nss/nss_db/db-initgroups.c: New file.
53898
82e9a1f7
UD
53899 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53900 interface.
53901
c41af17e
UD
53902 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53903 (internal_getgrouplist): Adjust to name change.
53904 Update use_initgroups_entry if this is not the first call.
53905 * nss/databases.def: Add initgroups entry.
53906
a9e836b0
UD
53907 * nss/makedb.c (compute_tables): Check result of multiple hash table
53908 sizes to minimize maximum chain length.
53909
2666d441
UD
539102011-06-14 Ulrich Drepper <drepper@gmail.com>
53911
53912 * Versions.def: Add entry for libnss_db.
53913 * shlib-versions: Likewise.
53914 * nss/Makefile: Add rules to build libnss_db.
53915 * nss/Versions: Add libnss_db information. Organize libnss_files
53916 entries better.
53917 * nss/db-Makefile: Add gshadow support. Change rules for the new
53918 makedb progra. Some minor improvements to generate smaller files.
53919 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53920 here from...
53921 * nss/makedb.c: ...here.
53922 Improve database format to be smaller and require less memory at
53923 runtime.
53924 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53925 db anymore.
53926 * nss/nss_db/db-netgrp.c: Likewise.
53927 * nss/nss_db/db-open.c: Likewise.
53928 * nss/nss_files/flies-XXX.x: Adjust comments.
53929 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53930 * nss/nss_files/files-grp.c: Likewise.
53931 * nss/nss_files/files-hosts.c: Likewise.
53932 * nss/nss_files/files-network.c: Likewise.
53933 * nss/nss_files/files-proto.c: Likewise.
53934 * nss/nss_files/files-pwd.c: Likewise.
53935 * nss/nss_files/files-rpc.c: Likewise.
53936 * nss/nss_files/files-service.c: Likewise.
53937 * nss/nss_files/files-sgrp.c: Likewise.
53938 * nss/nss_files/files-spwd.c: Likewise.
53939 * nss/nss_db/db-alias.c: Removed.
53940 * nss/nss_db/dummy-db.h: Removed.
53941
9ee76b5a
UD
539422011-06-02 Ulrich Drepper <drepper@gmail.com>
53943
53944 * nss/makedb.c: Rewritten to not use database library.
53945 * nss/Makefile: Update to build new makedb program.
53946
c71ca1f8
AJ
539472011-06-14 Andreas Jaeger <aj@suse.de>
53948
53949 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53950 memset declaration.
53951
3154bfb8
UD
539522011-06-10 Andreas Schwab <schwab@redhat.com>
53953
53954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53955 tmpbuf.
53956
b350afab
RM
539572011-06-10 Roland McGrath <roland@hack.frob.com>
53958
decd4e50
RM
53959 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53960 * elf/Makefile ($(objpfx)ld.so): Likewise.
53961
5615eaf2
RM
53962 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53963 Don't list ld.so twice in dependencies.
53964
53965 * posix/bug-regex31.c: Include <stdlib.h>.
53966
53967 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53968
53969 * nis/nss_compat/compat-spwd.c
53970 (getspent_next_nss_netgr): Remove unused variable.
53971 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53972
53973 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53974 nonmembers" output to use the right array.
53975
53976 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53977
53978 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53979
53980 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53981 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53982 * catgets/gencat.c (read_input_file): Likewise.
53983 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53984
53985 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53986 variable definition inside #if's controlling its use.
53987
53988 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53989
53990 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53991
53992 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53993
53994 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53995 unreachable code.
53996
53997 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53998
b68e08db
RM
53999 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54000 * configure: Regenerated.
54001
b350afab
RM
54002 * Makerules: Revert last change.
54003 * elf/Makefile: Likewise.
54004
28368601
RM
540052011-06-09 Roland McGrath <roland@hack.frob.com>
54006
54007 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54008 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54009 (reloc-link): Likewise.
54010
11988f8f
UD
540112011-06-09 Ulrich Drepper <drepper@gmail.com>
54012
54013 * elf/Makefile: Add rules to build pldd.
54014 * elf/pldd.c: New file.
54015 * elf/pldd-xx.c: New file.
54016
e80fab37
UD
540172011-06-07 Ulrich Drepper <drepper@gmail.com>
54018
54019 * version.h: Update for 2.15 development version.
54020
9b849836
DM
540212011-06-07 David S. Miller <davem@davemloft.net>
54022
54023 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54024 ifuncs.
54025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54026 elf_machine_lazy_rel): Likewise.
54027 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54029 elf_machine_lazy_rel): Likewise.
54030 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54031 dl_hwcap via passed in argument.
54032 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54033 Likewise.
54034
5a31b283
AK
540352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54036
54037 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54038
069e52f8
RM
540392011-06-06 Roland McGrath <roland@hack.frob.com>
54040
54041 [BZ #12849]
54042 * manual/fdl-1.1.texi: New file, verbatim from:
54043 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54044 * manual/lgpl-2.1.texi: New file, verbatim from:
54045 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54046 * manual/Makefile (licenses): New variable, list those new file names.
54047 (texis): Use it.
54048 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54049
54050 * manual/fdl.texi: File removed.
54051 * manual/lesser.texi: File removed.
54052 * manual/libc.texinfo (Copying, Documentation License):
54053 Use new @include file names, put @appendix directive before @include.
54054
f16846a5
JJ
540552011-06-04 Jakub Jelinek <jakub@redhat.com>
54056
54057 [BZ #12841]
54058 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54059 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54060 (mq_open): Add __NTH.
54061
3d29045b
L
540622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54063
54064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54065 Assume Intel Core i3/i5/i7 processor if AVX is available.
54066
8c297311
UD
540672011-05-31 Ulrich Drepper <drepper@gmail.com>
54068
54069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54070 typo.
54071
c8fc0c91
UD
540722011-05-31 Andreas Schwab <schwab@redhat.com>
54073
54074 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54075 memory. Use alloca_account. Fix memory leak when retrying.
54076
5b27a807
UD
540772011-05-31 Ulrich Drepper <drepper@gmail.com>
54078
356f8bc6
UD
54079 * version.h (RELEASE): Bump for 2.14 release.
54080 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54081
5b27a807
UD
54082 * config.make.in (RANLIB): Remove entry.
54083
01f16ab0
UD
540842011-05-30 Ulrich Drepper <drepper@gmail.com>
54085
41fce8bd
UD
54086 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54087 (libc.pot): Work around missing support for .ksh extension in xgettext.
54088
4769ae77
UD
54089 [BZ #12684]
54090 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54091 if both request failed.
54092 (send_dg): In case of server errors clear resplen or *resplen2.
54093
6b1e7d19
UD
54094 [BZ #12454]
54095 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54096 when there are multiple maps.
54097 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54098 (_dl_fini): Remove test here.
54099
01f16ab0
UD
54100 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54101
b1ebd700
UD
541022011-05-29 Ulrich Drepper <drepper@gmail.com>
54103
7ae22829
UD
54104 [BZ #12350]
54105 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54106 bit from old_res_options.
54107 (gaih_inet): Likewise.
54108
553149f6 54109 [BZ #11099]
18a84741 54110 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54111 as signed.
54112
652ffab1
UD
54113 * resolv/res_init.c (res_setoptions): Make the code more compact.
54114
16985fd0
UD
54115 [BZ #11558]
54116 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54117 set RES_USEVC.
54118
0464f746
UD
54119 [BZ #11634]
54120 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54121
7d17596c
UD
54122 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54123
cf6bbbd7
UD
54124 [BZ #11781]
54125 * malloc/malloc.h: Declare malloc hook variables as volatile.
54126
13f1ab36
UD
54127 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54128 in last patch.
54129
b1ebd700
UD
54130 [BZ #11799]
54131 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54132 raise in the comment.
80e2212d
UD
54133 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54134 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54135 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54136
ce67228d
UD
541372011-05-28 Ulrich Drepper <drepper@gmail.com>
54138
8887a920
UD
54139 [BZ #12811]
54140 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54141 grow the buffers more if it already has to be sufficient.
54142 (build_wcs_upper_buffer): Likewise.
54143 * posix/regexec.c (check_matching): Likewise.
54144 (clean_state_log_if_needed): Likewise.
54145 (extend_buffers): Don't enlarge buffers beyond size of the input
54146 buffer.
54147 Patches mostly by Emil Wojak <emil@wojak.eu>.
54148 * posix/bug-regex32.c: New file.
54149 * posix/Makefile (tests): Add bug-regex32.
54150
4f031072
UD
54151 * locale/findlocale.c (_nl_find_locale): Return right away if
54152 _nl_explode_name failed.
54153 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54154
d0478f0c
UD
54155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54156
de81b246
UD
54157 * debug/xtrace.sh: Unify messages.
54158 * malloc/memusage.sh: Likewise.
54159
c738465a
UD
54160 [BZ #12813]
54161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54162 time symbol from vDSO. Substitute with vsyscall if not available.
54163 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54164 __vdso_time.
54165
f1f929d7
UD
54166 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54167 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54168 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54169 Add sendmmsg and internal_sendmmsg.
54170 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54171 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54172 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54173
ce67228d
UD
54174 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54175 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54177
e57420c6
UD
541782011-05-27 Ulrich Drepper <drepper@gmail.com>
54179
a8509ca5
UD
54180 [BZ #12813]
54181 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54182 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54183 available.
54184 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54185 __vdso_getcpu.
54186
e57420c6
UD
54187 [BZ #12814]
54188 * iconvdata/Makefile (tests): Add bug-iconv9.
54189 * iconvdata/bug-iconv9.c: New file.
54190
4d07db15
AS
541912011-05-27 Andreas Schwab <schwab@redhat.com>
54192
54193 [BZ #12814]
54194 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54195
ea486f69
JJ
541962011-05-25 Jakub Jelinek <jakub@redhat.com>
54197
54198 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54199 (struct user_regs_struct): Change intcs field back to cs.
54200
6f038433
UD
542012011-05-25 Ulrich Drepper <drepper@gmail.com>
54202
54203 * po/ja.po: Update from translation team.
54204
67f86a25
UD
542052011-05-23 Ulrich Drepper <drepper@gmail.com>
54206
54207 [BZ #12795]
54208 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54209 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54210
def7fbd6
AS
542112011-05-20 Andreas Schwab <schwab@redhat.com>
54212
54213 * stdlib/longlong.h: Update from GCC.
54214
f50ef8f1
AS
542152011-05-23 Andreas Schwab <schwab@redhat.com>
54216
54217 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54218 parameter name.
54219 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54220 Add parameter name.
54221 (__sysconf): Pass it down.
54222
de7ce8f1
UD
542232011-05-22 Ulrich Drepper <drepper@gmail.com>
54224
f2962a71
UD
54225 [BZ #12671]
54226 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54227 some situations.
54228 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54229 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54230 add in in __libc_use_alloca calls. Adjust callers.
54231 (glob): Use malloc in some situations.
54232
de7ce8f1
UD
54233 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54234 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54235 pltexit.
54236
aec84f53
UD
542372011-05-21 Ulrich Drepper <drepper@gmail.com>
54238
05bb4a68
UD
54239 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54240 and CLOCK_BOOTTIME_ALARM.
54241
7ea72f99
UD
54242 [BZ #12782]
54243 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54244 is returned.
54245
7e4afad5
UD
54246 * string/_strerror.c (__strerror_r): Print negative errors as signed
54247 numbers.
54248
8e211fec
UD
54249 [BZ #12777]
54250 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54251 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54252 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54253
f7d82dc9
UD
54254 * configure.in: Fix typo in redirection and correct removal of test
54255 files in two cases.
54256
cc9e536d
UD
54257 [BZ #12788]
54258 * locale/setlocale.c (new_composite_name): Fix test to check for
54259 identical name of all categories.
54260
aec84f53
UD
54261 [BZ #12792]
54262 * libio/filedoalloc.c (local_isatty): New function.
54263 (_IO_file_doallocate): Use local_isatty.
54264 * stdio-common/perror.c (perror): In case a new stream is used
54265 forward the stream error.
54266 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54267 error flag.
54268
78e64fdc
RT
542692011-05-20 Ulrich Drepper <drepper@gmail.com>
54270
34a9094f
UD
54271 [BZ #11869]
54272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54273 alloca.
54274 * include/alloca.h (extend_alloca_account): Define.
54275
78e64fdc
RT
54276 [BZ #11857]
54277 * posix/regex.h: Fix comments with documentation of user-accessible
54278 fields after compilation and describe correct free'ing of pattern
54279 after re_compile_pattern.
54280 Patch by Reuben Thomas <rrt@sc3d.org>.
54281
457bddfc
RA
542822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54283
54284 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54285 and -mno-altivec to prevent the compiler from using Altivec and/or
54286 VSX instructions when the corresponding registers are not available.
54287
a4527b51
AS
542882011-05-19 Andreas Schwab <schwab@redhat.com>
54289
54290 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54291
ed690b2f
UD
542922011-05-19 Ulrich Drepper <drepper@gmail.com>
54293
54294 * libio/freopen.c (freopen): Use __dup2, not dup2.
54295 * libio/freopen64.c (freopen64): Likewise.
54296
8db73634
L
542972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54298
54299 [BZ #12775]
54300 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54301 * math/Makefile (tests): Add test-powl.
54302 (CFLAGS-test-powl.c): Define.
54303 * math/test-powl.c: New file.
54304
0a197a9d
L
543052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54306
54307 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54308
ee30c380
UD
543092011-05-17 Ulrich Drepper <drepper@gmail.com>
54310
54311 [BZ #11837]
54312 * iconvdata/gb18030.c: Update to GB18020-2005.
54313
6ce75379
UD
543142011-05-16 Ulrich Drepper <drepper@gmail.com>
54315
a4b89fd8
AR
54316 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54317 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54318 Patch by Aharon Robbins <arnold@skeeve.com>.
54319
ea389b12
UD
54320 [BZ #11892]
54321 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54322 on the stack.
54323
68a3f91f
UD
54324 [BZ #11895]
54325 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54326 through underflows.
54327
15cc7dd1
UD
54328 [BZ #12766]
54329 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54330 point to strings before performing equality test for error_one_per_line
54331 mode.
54332
f3799213
UD
54333 [BZ #11697]
54334 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54335
d79a9c94
UD
54336 [BZ #11820]
54337 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54338 (struct user_fpregs_struct): Avoid __uint*_t types.
54339
56e5eb46
UD
54340 [BZ #6420]
54341 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54342 symbol info. Use it instead of calling _dl_addr locally.
54343 (lock_and_info): New function.
54344 (tr_freehook): Call lock_and_info and pass symbol info as additional
54345 parameter to tr_where.
54346 (tr_mallochook): Likewise.
54347 (tr_reallochook): Likewise.
54348 (tr_memalignhook): Likewise.
54349
6ce75379
UD
54350 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54351 used and couldn't be at all thread-safe.
54352
f8a3b5bf
UD
543532011-05-15 Ulrich Drepper <drepper@gmail.com>
54354
94b7cc37
UD
54355 * libio/freopen.c (freopen): Don't close old file descriptor
54356 before the new one is opened. Instead dup the new file descriptor
54357 to the old one after the new stream is created.
54358 * libio/freopen64.c (freopen64): Likewise.
54359 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54360 * libio/fileops.c (_IO_new_file_close_it): Handle new
54361 _IO_FLAGS2_NOCLOSE flag.
54362 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54363 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54364 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54365 _IO_FLAGS2_NOCLOSE flag.
54366 * include/unistd.h: Add hidden_proto for dup3.
54367 Define __have_dup3.
54368 * io/dup3.c: Define hidden symbol.
54369 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54370
bd25564e
UD
54371 [BZ #7101]
54372 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54373 when an incomplete long option is used.
54374 * posix/tst-getopt_long1.c: New file.
54375 * posix/Makefile (tests): Add tst-getopt_long1.
54376
c84cfef4
UD
54377 [BZ #10138]
54378 * scripts/config.guess: Update from autoconf-2.68.
54379 * scripts/config.sub: Likewise.
54380
3b85df27
UD
54381 [BZ #10157]
54382 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54383 tests into ...
54384 (has_cpuclock): ...this. New function.
54385 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54386 macro here based on has_cpuclock code.
54387
15a856b1
UD
54388 [BZ #10149]
54389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54390 First byte (not low byte) is now always NUL.
54391 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54392
05f399e6
UD
54393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54394 Use non-cancelable interfaces.
54395
10a52685 54396 [BZ #9809]
94ecc67d
UD
54397 * locale/iso-639.def: Add entry for Sorani.
54398
f8a3b5bf
UD
54399 [BZ #11901]
54400 * include/stdlib.h: Move include protection to the right place.
54401 Define abort_msg_s. Declare __abort_msg with it.
54402 * stdlib/abort.c (__abort_msg): Adjust type.
54403 * assert/assert.c (__assert_fail_base): New function. Majority
54404 of code from __assert_fail. Allocate memory for __abort_msg with
54405 mmap.
54406 (__assert_fail): Now call __assert_fail_base.
54407 * assert/assert-perr.c: Remove bulk of implementation. Use
54408 __assert_fail_base.
54409 * include/assert.hL Declare __assert_fail_base.
54410 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54411 mmap.
54412 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54413
1af4e298
UD
544142011-05-14 Ulrich Drepper <drepper@gmail.com>
54415
f8a3b5bf 54416 [BZ #11952]
d26dfc60
MG
54417 [BZ #12453]
54418 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54419 until all modules are registered in the DTV.
54420 * elf/Makefile: Add rules to build and run tst-tls19.
54421 * elf/tst-tls19.c: New file.
54422 * elf/tst-tls19mod1.c: New file.
54423 * elf/tst-tls19mod2.c: New file.
54424 * elf/tst-tls19mod3.c: New file.
54425 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54426
2fc54d6f
UD
54427 [BZ #12083]
54428 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54429 correctly.
54430
98d76b46
UD
54431 [BZ #12601]
54432 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54433 two-byte sequence errors.
54434 * iconvdata/Makefile (tests): Add bug-iconv8.
54435 * iconvdata/bug-iconv8.c: New file.
54436
da3c19ef
UD
54437 [BZ #12626]
54438 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54439 buf2 definition.
54440
ca408c15
UD
54441 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54442
d6f67f7d
UD
54443 [BZ #12432]
54444 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54445 (dummy_getcfa): New function.
54446 (init): Get _Unwind_GetCFA address, use dummy if not found.
54447 (backtrace_helper): In recursion check, also check whether CFA changes.
54448 (__backtrace): Completely initialize arg.
54449
1af4e298 54450 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54451 storing incomplete byte sequence in state object. Avoid testing for
54452 guaranteed too small input if we know there is enough data available.
1af4e298 54453
da62f81b
AS
544542011-05-11 Andreas Schwab <schwab@redhat.com>
54455
54456 * Makeconfig (+link-pie): Indent.
54457 * Rules (binaries-pie): Define if $(have-fpie) and
54458 $(build-shared).
54459 (binaries-shared): Also filter out $(binaries-pie).
54460 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54461 * nscd/Makefile (others-pie): Add nscd.
54462 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54463 ($(objpfx)nscd): Remove command override.
54464 * login/Makefile (others-pie): Add pt_chown.
54465 ($(objpfx)pt_chown): Remove command override.
54466 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54467 remove command overrides.
54468
fcabc0f8
UD
544692011-05-13 Ulrich Drepper <drepper@gmail.com>
54470
20030ae6
UD
54471 * libio/tst_putwc.c: Fix error messages.
54472
fcabc0f8
UD
54473 [BZ #12724]
54474 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54475 currently writing and seek to current position when not.
54476 * libio/Makefile (tests): Add bug-fclose1.
54477 * libio/bug-fclose1.c: New file.
54478
320a5dc0
PB
544792011-05-12 Ulrich Drepper <drepper@gmail.com>
54480
54481 [BZ #12511]
54482 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54483 don't set DF_1_NODELETE here.
54484 (do_lookup_x): When entering new entry test for copy relocation
54485 and if necessary set DF_1_NODELETE flag.
54486 * elf/tst-unique4.cc: New file.
54487 * elf/tst-unique4.h: New file.
54488 * elf/tst-unique4lib.cc: New file.
54489 * elf/Makefile: Add rules to build and run tst-unique4.
54490 Patch by Piotr Bury <pbury@goahead.com>.
54491
22836f52
UD
544922011-05-11 Ulrich Drepper <drepper@gmail.com>
54493
f574184a
UD
54494 [BZ #12052]
54495 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54496
e1fb097f
UD
54497 [BZ #12625]
54498 * misc/mntent_r.c (addmntent): Flush the stream after the output
54499
22836f52
UD
54500 [BZ #12393]
54501 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54502 (is_trusted_path_normalize): Skip initial colon. Append slash
54503 to empty buffer. Duplicate is_trusted_path code but allow
54504 constructed patch to be prefix.
54505 (is_dst): Allow $ORIGIN followed by /.
54506 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54507 Correct testing of result of is_trusted_path_normalize
54508 (decompose_rpath): Fix warning.
54509
7b3b0b2a
UD
545102011-05-10 Ulrich Drepper <drepper@gmail.com>
54511
54512 [BZ #11257]
54513 * grp/initgroups.c (internal_getgrouplist): When we found the service
54514 list through the initgroups entry in nsswitch.conf do not always
54515 continue on a successful lookup. Don't always use the
eac80ce2 54516 __nss_group_database value if it is set.
7b3b0b2a
UD
54517 * nss/nsswitch.conf (initgroups): Change action for successful db
54518 lookup to continue for compatibility.
54519
2a81eaa5
UD
545202011-05-09 Ulrich Drepper <drepper@gmail.com>
54521
be97a69e
UD
54522 [BZ #11532]
54523 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54524 and CP774 modules.
54525 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54526 and CP774 modules.
54527 * iconvdata/tst-tables.sh: Likewise.
54528 * iconvdata/cp770.c: New file.
54529 * iconvdata/cp771.c: New file.
54530 * iconvdata/cp772.c: New file.
54531 * iconvdata/cp773.c: New file.
54532 * iconvdata/cp774.c: New file.
54533 * iconvdata/testdata/CP770: New file.
54534 * iconvdata/testdata/CP770..UTF8: New file.
54535 * iconvdata/testdata/CP771: New file.
54536 * iconvdata/testdata/CP771..UTF8: New file.
54537 * iconvdata/testdata/CP772: New file.
54538 * iconvdata/testdata/CP772..UTF8: New file.
54539 * iconvdata/testdata/CP773: New file.
54540 * iconvdata/testdata/CP773..UTF8: New file.
54541 * iconvdata/testdata/CP774: New file.
54542 * iconvdata/testdata/CP774..UTF8: New file.
54543
54544 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54545 END CHARMAP line.
54546 * iconvdata/gen-8bit-gap.sh: Likewise.
54547 * iconvdata/gen-8bit.sh: Likewise.
54548
c1e9e399
UD
54549 * locale/iso-639.def: Add ary entry.
54550
24c55fb3 54551 [BZ #11258]
96b4b1b0
UD
54552 * locale/C-translit.h.in: Add U20A1 transliteration.
54553
bdc2f971
KB
54554 [BZ #12178]
54555 * locale/iso-639.def: Add wae entry.
54556 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54557
2952b117
UD
54558 [BZ #12545]
54559 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54560 for n.
54561
2a81eaa5
UD
54562 [BZ #12711]
54563 * locale/C-translit.h.in: Add entry for U20B9.
54564 Patch by pravin.d.s@gmail.com.
54565
28377d1b
UD
545662011-05-08 Ulrich Drepper <drepper@gmail.com>
54567
7fb90fb8
UD
54568 [BZ #12713]
54569 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54570 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54571 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54572 in rtld. Use *stat64.
7fb90fb8 54573 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54574 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54575 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54576 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54577 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54578 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54579 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54580 __fstatat64 macros.
7fb90fb8
UD
54581 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54582 * dirent/rewinddir.c: Add libc_hidden_def.
54583 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54584 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54585
28377d1b
UD
54586 * include/dirent.h (__alloc_dir): Add flags parameter.
54587 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54588 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54589 __alloc_dir.
54590 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54591 from fdopendir if O_CLOEXEC is already set.
54592
66bdbaa4
AM
545932011-03-15 Alan Modra <amodra@gmail.com>
54594
54595 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54596 l_tls_firstbyte_offset non-zero. Save padding offset in
54597 l_tls_firstbyte_offset for later use.
54598 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54599 freeing static tls block.
54600
95721191
JN
546012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54602
54603 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54604 where #ifdef was intended. The intent is to prevent ARG_MAX from
54605 being defined by the kernel headers.
54606
f87dfb1f
UD
546072011-05-07 Ulrich Drepper <drepper@gmail.com>
54608
54609 [BZ #12734]
54610 * resolv/resolv.h: Define RES_NOTLDQUERY.
54611 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54612 no-tld-query and set RES_NOTLDQUERY.
54613 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54614 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54615 modern BIND to search name as TLD unless forbidden.
54616
47c3cd7a
UD
546172011-05-07 Petr Baudis <pasky@suse.cz>
54618 Ulrich Drepper <drepper@gmail.com>
54619
54620 [BZ #12393]
54621 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54622 (is_trusted_path): ...to here.
c1e9ea35 54623 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54624 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54625 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54626
8a35c912
PP
546272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54628
54629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54630 __BEGIN/__END_DECLS.
54631
acd41f47
UD
546322011-05-06 Ulrich Drepper <drepper@gmail.com>
54633
54634 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54635 NSS_STATUS_NOTFOUND if no record was found.
54636
597df647
AS
546372011-05-05 Andreas Schwab <schwab@redhat.com>
54638
54639 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54640 (headers-not-in-tirpc): Remove rpc/netdb.h
54641 * resolv/netdb.h: Revert last change.
54642
b9af1301
PP
546432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54644
54645 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54646 circular dependency between libgcc.a and libc.a.
54647
4e34d5f5
AS
546482011-05-05 Andreas Schwab <schwab@redhat.com>
54649
54650 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54651 * nis/Makefile: Don't install rpcsvc/*.
54652 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54653 instead of <rpc/types.h>.
54654 (MAXHOSTNAMELEN): Define.
54655
00ee369c
AS
546562011-05-03 Andreas Schwab <schwab@redhat.com>
54657
54658 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54659
0b592a30
MB
546602011-04-28 Maciej Babinski <mbabinski@google.com>
54661
54662 [BZ #12714]
54663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54664 gethostbyname4_r when IPv6 results are possible.
54665
6e04cbbe
UD
546662011-05-02 Ulrich Drepper <drepper@gmail.com>
54667
54668 [BZ #12723]
54669 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54670 _PC_PIPE_BUF handling.
54671
e4ecafe0
BH
546722011-04-30 Bruno Haible <bruno@clisp.org>
54673
54674 [BZ #12717]
54675 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54676 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54677 to 'int'.
54678 * inet/getnameinfo.c (getnameinfo): Likewise.
54679
125ee683
UD
546802011-04-29 Ulrich Drepper <drepper@gmail.com>
54681
54682 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54683 to groups setting in database lookup.
54684 * nss/nsswitch.conf: Add initgroups entry.
54685
b722481a
EB
546862011-04-22 Ulrich Drepper <drepper@gmail.com>
54687
54688 [BZ #12685]
54689 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54690 mode string.
54691 Patch by Eric Blake <eblake@redhat.com>.
54692
4df46dbd
L
546932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54694
54695 * sunrpc/Makefile (need-export-routines): Add svc_run.
54696 (routines): Remove svc_run.
54697 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54698 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54699 * sunrpc/svc_run.c (svc_run): Likewise.
54700 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54701
e84142d2
UD
547022011-04-21 Ulrich Drepper <drepper@gmail.com>
54703
54704 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54705 problem in reallocation in last patch.
54706
877175d8
UD
547072011-04-20 Ulrich Drepper <drepper@gmail.com>
54708
54709 * sunrpc/Makefile: Move inclusion of Rules.
54710
ab8eed78
UD
547112011-04-19 Ulrich Drepper <drepper@gmail.com>
54712
54713 * nss/nss_files/files-initgroups.c: New file.
54714 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54715 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54716 _nss_files_initgroups_dyn.
54717
e3d8f584
RS
547182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54719
54720 * elf/elf.h (R_ARM_IRELATIVE): Define.
54721
af190f45
UD
547222011-04-19 Ulrich Drepper <drepper@gmail.com>
54723
54724 * po/ru.po: Update from translation team.
54725
53cf59ef
UD
547262011-04-17 Ulrich Drepper <drepper@gmail.com>
54727
54728 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54729 dependencies.
54730
4c559bcd
MF
547312011-02-06 Mike Frysinger <vapier@gentoo.org>
54732
54733 [BZ #12653]
54734 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54735 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54738 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54739
4420675c
AS
547402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54741
54742 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54743 differing bytes.
54744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54747
75ea32ab
UD
547482011-04-17 Ulrich Drepper <drepper@gmail.com>
54749
54750 [BZ #12420]
54751 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54752 storing it.
54753 * stdlib/bug-getcontext.c: New file.
54754 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54755
27390476
AK
547562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54757
54758 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54759 instructions into .machine "z9-109".
54760 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54761 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54762
10442705
AK
547632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54764
54765 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54766 between environment variables and auxiliary vector.
54767
7b57bfe5
UD
547682011-04-16 Ulrich Drepper <drepper@gmail.com>
54769
54770 * Makefile: Add rules to build linkobj/libc.so.
54771 * include/libc-symbols.h: Define libc_hidden_nolink.
54772 * include/rpc/auth.h: Mark functions which are to be hidden.
54773 * include/rpc/auth_des.h: Likewise.
54774 * include/rpc/auth_unix.h: Likewise.
54775 * include/rpc/clnt.h: Likewise.
54776 * include/rpc/des_crypt.h: Likewise.
54777 * include/rpc/key_prot.h: Likewise.
54778 * include/rpc/pmap_clnt.h: Likewise.
54779 * include/rpc/pmap_prot.h: Likewise.
54780 * include/rpc/pmap_rmt.h: Likewise.
54781 * include/rpc/rpc_msg.h: Likewise.
54782 * include/rpc/svc.h: Likewise.
54783 * include/rpc/svc_auth.h: Likewise.
54784 * include/rpc/xdr.h: Likewise.
54785 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54786 * nss/Makefile: Likewise.
54787 * sunrpc/Makefile: Don't install headers. Build library with normal
54788 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54789 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54790 for the compat linking library. Remove use of INTDEF/INTUSE.
54791 * sunrpc/auth_none.c: Likewise.
54792 * sunrpc/auth_unix.c: Likewise.
54793 * sunrpc/authdes_prot.c: Likewise.
54794 * sunrpc/authuxprot.c: Likewise.
54795 * sunrpc/clnt_gen.c: Likewise.
54796 * sunrpc/clnt_perr.c: Likewise.
54797 * sunrpc/clnt_raw.c: Likewise.
54798 * sunrpc/clnt_simp.c: Likewise.
54799 * sunrpc/clnt_tcp.c: Likewise.
54800 * sunrpc/clnt_udp.c: Likewise.
54801 * sunrpc/clnt_unix.c: Likewise.
54802 * sunrpc/des_crypt.c: Likewise.
54803 * sunrpc/des_soft.c: Likewise.
54804 * sunrpc/get_myaddr.c: Likewise.
54805 * sunrpc/key_call.c: Likewise.
54806 * sunrpc/key_prot.c: Likewise.
54807 * sunrpc/netname.c: Likewise.
54808 * sunrpc/pm_getmaps.c: Likewise.
54809 * sunrpc/pm_getport.c: Likewise.
54810 * sunrpc/pmap_clnt.c: Likewise.
54811 * sunrpc/pmap_prot.c: Likewise.
54812 * sunrpc/pmap_prot2.c: Likewise.
54813 * sunrpc/pmap_rmt.c: Likewise.
54814 * sunrpc/publickey.c: Likewise.
54815 * sunrpc/rpc_cmsg.c: Likewise.
54816 * sunrpc/rpc_common.c: Likewise.
54817 * sunrpc/rpc_dtable.c: Likewise.
54818 * sunrpc/rpc_prot.c: Likewise.
54819 * sunrpc/rpc_thread.c: Likewise.
54820 * sunrpc/rtime.c: Likewise.
54821 * sunrpc/svc.c: Likewise.
54822 * sunrpc/svc_auth.c: Likewise.
54823 * sunrpc/svc_authux.c: Likewise.
54824 * sunrpc/svc_raw.c: Likewise.
54825 * sunrpc/svc_run.c: Likewise.
54826 * sunrpc/svc_simple.c: Likewise.
54827 * sunrpc/svc_tcp.c: Likewise.
54828 * sunrpc/svc_udp.c: Likewise.
54829 * sunrpc/svc_unix.c: Likewise.
54830 * sunrpc/svcauth_des.c: Likewise.
54831 * sunrpc/xcrypt.c: Likewise.
54832 * sunrpc/xdr.c: Likewise.
54833 * sunrpc/xdr_array.c: Likewise.
54834 * sunrpc/xdr_float.c: Likewise.
54835 * sunrpc/xdr_intXX_t.c: Likewise.
54836 * sunrpc/xdr_mem.c: Likewise.
54837 * sunrpc/xdr_rec.c: Likewise.
54838 * sunrpc/xdr_ref.c: Likewise.
54839 * sunrpc/xdr_sizeof.c: Likewise.
54840 * sunrpc/xdr_stdio.c: Likewise.
54841
e6c61494
UD
548422011-04-10 Ulrich Drepper <drepper@gmail.com>
54843
54844 [BZ #12650]
54845 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54846 * sysdeps/ia64/dl-tls.h: Likewise.
54847 * sysdeps/powerpc/dl-tls.h: Likewise.
54848 * sysdeps/s390/dl-tls.h: Likewise.
54849 * sysdeps/sh/dl-tls.h: Likewise.
54850 * sysdeps/sparc/dl-tls.h: Likewise.
54851 * sysdeps/x86_64/dl-tls.h: Likewise.
54852 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54853
34fe483e
AS
548542011-03-14 Andreas Schwab <schwab@redhat.com>
54855
54856 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54857 rpath element also skip the following colon.
54858 (expand_dynamic_string_token): Add is_path parameter and pass
54859 down to DL_DST_REQUIRED and _dl_dst_substitute.
54860 (decompose_rpath): Call expand_dynamic_string_token with
54861 non-zero is_path. Ignore empty rpaths.
54862 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54863 with zero is_path.
54864
f12a32e6
AS
548652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54866
54867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54868 Make cancelable.
54869
38a7d692
UD
548702011-04-09 Ulrich Drepper <drepper@gmail.com>
54871
54872 [BZ #12655]
54873 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54874 Patch by Filipe David Manana <fdmanana@apache.org>.
54875
e451d22b
AS
548762011-04-07 Andreas Schwab <schwab@redhat.com>
54877
54878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54879 Maintain aligned stack.
54880 (CHECK_RSP): Remove unused macro.
54881
dedc7c7b
UD
548822011-04-03 Ulrich Drepper <drepper@gmail.com>
54883
54884 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54885 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54886
94521213
UD
548872011-04-02 Ulrich Drepper <drepper@gmail.com>
54888
54889 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54890
8cb700c0 54891 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54892
0354e355
L
548932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54894
54895 [BZ #12518]
54896 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54897 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54898 * sysdeps/x86_64/memmove.c: New file.
54899 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54900 (memcpy): Renamed to ...
54901 (__new_memcpy): This.
54902 (memcpy): Provide GLIBC_2_14 memcpy.
54903 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54904 (memcpy): Provide GLIBC_2_2_5 memcpy.
54905
8593482f
UD
549062011-04-01 Ulrich Drepper <drepper@gmail.com>
54907
54908 [BZ #12631]
54909 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54910
81a5726b
AS
549112011-03-30 Andreas Schwab <schwab@redhat.com>
54912
54913 * misc/syncfs.c: New file.
54914 * misc/Makefile (routines): Add syncfs.
54915 * posix/unistd.h: Declare syncfs.
54916 * sysdeps/unix/syscalls.list: Add syncfs.
54917
00e5419f
AS
549182011-04-01 Andreas Schwab <schwab@redhat.com>
54919
54920 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54921 open_by_handle_at.
54922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54923 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54927 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54928 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54929
748876bf
UD
549302011-04-01 Ulrich Drepper <drepper@gmail.com>
54931
658e451d
UD
54932 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54934 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54936 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54937 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54939
748876bf
UD
54940 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54941 sync_file_range.c with -fexceptions.
54942 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54943 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54944 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54945 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54946 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54949 sync_file_range as cancellation point
54950 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54951 now a wrapper around __call_sync_file_range with cancellation handling.
54952 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54953 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54954 function name to __call_sync_file_range.
54955 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54956 Add call_sync_file_range.
748876bf 54957
6e63d5e1
AS
549582011-04-01 Andreas Schwab <schwab@redhat.com>
54959
54960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54961 bits/timex.h.
6e63d5e1 54962
46998f74
UD
549632011-04-01 Ulrich Drepper <drepper@gmail.com>
54964
4c1423ed
UD
54965 * iconv/iconv.h: Fix typo in comment.
54966 * io/fcntl.h: Likewise.
54967 * libio/stdio.h: Likewise.
54968 * posix/spawn.h: Likewise.
54969 * posix/unistd.h: Likewise.
54970 * stdlib/stdlib.h: Likewise.
54971 * time/time.h: Likewise.
54972 * wcsmbs/wchar.h: Likewise.
54973
158648c0
UD
54974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54975 open_by_handle): Add.
54976 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54977 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54978 Augment a few comments.
54979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54984 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54985 open_by_handle.
54986
46998f74
UD
54987 * io/fcntl.h (AT_EMPTY_PATH): Define.
54988
83fe108b
UD
549892011-03-30 Ulrich Drepper <drepper@gmail.com>
54990
54991 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54992 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54993 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54994 to...
54995 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54996 * Versions.def: Add GLIBC_2.14.
54997 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54998 Export.
83fe108b 54999
bb242059
UD
550002011-03-22 Ulrich Drepper <drepper@gmail.com>
55001
55002 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55003 round counter.
55004 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55005
c97a1282
L
550062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55007
55008 [BZ #12597]
55009 * string/test-strncmp.c (do_page_test): New function.
55010 (check2): Likewise.
55011 (test_main): Call check2.
55012 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55013
2a115601
UD
550142011-03-20 Ulrich Drepper <drepper@gmail.com>
55015
55016 [BZ #12587]
55017 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55018 Handle cache information in CPU leaf 4.
55019 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55020
8126d904
UD
550212011-03-18 Ulrich Drepper <drepper@gmail.com>
55022
042c49c6 55023 [BZ #12583]
8126d904
UD
55024 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55025 character representation.
55026 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55027
ccfe366e
RA
550282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55029
55030 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55031 END(__isnan) to END(__isnanf) to match function entry point/label
55032 EALIGN(__isnanf,...).
55033
c6e13027
JJ
550342011-03-10 Jakub Jelinek <jakub@redhat.com>
55035
55036 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55037
33f85a3f
UD
550382011-03-10 Ulrich Drepper <drepper@gmail.com>
55039
028478fa
UD
55040 [BZ #12510]
55041 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55042 copy from the symbol referenced in the relocation to initialize the
55043 used variable.
55044 Patch by Piotr Bury <pbury@goahead.com>.
55045 * elf/Makefile: Add rules to build and tst-unique3.
55046 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55047 * elf/tst-unique3.cc: New file.
55048 * elf/tst-unique3.h: New file.
55049 * elf/tst-unique3lib.cc: New file.
55050 * elf/tst-unique3lib2.cc: New file.
55051
33f85a3f
UD
55052 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55053
03592fc7
MF
550542011-03-10 Mike Frysinger <vapier@gentoo.org>
55055
55056 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55057 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55058 to _start.
03592fc7 55059
6a5ee102
UD
550602011-03-06 Ulrich Drepper <drepper@gmail.com>
55061
55062 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55063 to-be-loaded object along a path to loader is ld.so.
55064
7e4ba49c
HJ
550652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55066 Ulrich Drepper <drepper@gmail.com>
55067
55068 * sysdeps/x86_64/memset.S: After aligning destination, code
55069 branches to different locations depending on the value of
55070 misalignment, when multiarch is enabled. Fix this.
55071
550722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55073
55074 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55075 Set _x86_64_preferred_memory_instruction for AMD processsors.
55076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55077 Set bit_Prefer_SSE_for_memop for AMD processors.
55078
13a804de
UD
550792011-03-04 Ulrich Drepper <drepper@gmail.com>
55080
55081 * libio/fmemopen.c (fmemopen): Optimize a bit.
55082
9d25c392
AS
550832011-03-03 Andreas Schwab <schwab@redhat.com>
55084
55085 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55086
a5543c6a
RM
550872011-03-03 Roland McGrath <roland@redhat.com>
55088
55089 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55090
012d35f7
DM
550912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55092
7e4ba49c 55093 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55094 __bzero_ultra1 instead of __memset_ultra1.
55095
4bff6e01
AS
550962011-02-23 Andreas Schwab <schwab@redhat.com>
55097 Ulrich Drepper <drepper@gmail.com>
55098
55099 [BZ #12509]
55100 * include/link.h (struct link_map): Add l_orig_initfini.
55101 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55102 returning unsuccessfully.
55103 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55104 close of a file loaded at startup, restore the original l_initfini
55105 list.
55106 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55107 list, store the pointer.
55108 * elf/Makefile ($(objpfx)noload-mem): New rule.
55109 (noload-ENV): Define.
55110 (tests): Add $(objpfx)noload-mem.
55111 * elf/noload.c: Include <memcheck.h>.
55112 (main): Call mtrace. Close all opened handles.
55113
f2092faf
AS
551142011-02-17 Andreas Schwab <schwab@redhat.com>
55115
55116 [BZ #12454]
55117 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55118 dependencies are missing.
55119
6c8a2e88
ST
551202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55121
f2092faf 55122 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55123 Hurd needs munmap.
55124 * sysdeps/mach/hurd/ifreq.h: New file.
55125
84a42118
PB
551262011-01-27 Petr Baudis <pasky@suse.cz>
55127 Ulrich Drepper <drepper@gmail.com>
55128
071f805e 55129 [BZ 12445]#
84a42118
PB
55130 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55131 to extend_alloca().
55132 * stdio-common/bug23.c: New file.
55133 * stdio-common/Makefile (tests): Add bug23.
55134
e23fe25b
AS
551352010-09-28 Andreas Schwab <schwab@redhat.com>
55136 Ulrich Drepper <drepper@gmail.com>
55137
55138 [BZ #12489]
55139 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55140 before performing relro protection. At old place add assertion
55141 to make sure nothing changed.
55142
d3f02e10
NS
551432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55144 Glauber de Oliveira Costa <glommer@gmail.com>
55145
55146 * elf/elf.h: Add new ARM TLS relocs.
55147
d55fd7a5
RA
551482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55149
55150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55151 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55152 cast from r3.
55153 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55154 'tests' variable.
55155 * sysdeps/wordsize-64/tst-writev.c: New file.
55156
2206397e
RA
551572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55158
55159 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55160 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55161 insns in _dl_start to prevent a TOC reference before relocs are
55162 resolved.
55163
e9433893
UD
551642011-02-15 Ulrich Drepper <drepper@gmail.com>
55165
55166 [BZ #12469]
55167 * Makeconfig: Remove RANLIB definition.
55168 * Makerules: Don't use RANLIB.
55169 * aclocal.m4: Remove ranlib test.
55170 * configure.in: No need to check for ranlib.
55171 * elf/rtld-Rules: Don't use RANLIB.
55172
f75286c6
ST
551732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55174
8e31c82d
ST
55175 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55176 protection macro.
55177 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55178 inclusion protection macro.
55179
f75286c6
ST
55180 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55181 SIGRTMIN and SIGRTMAX and print information in that case only when
55182 SIGRTMIN is defined.
55183
c1d0e639
JJ
551842011-02-11 Jakub Jelinek <jakub@redhat.com>
55185
55186 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55187 arginfo fn returning -1.
55188
55189 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55190 and thousands string is zero terminated.
55191
edf9294e
AS
551922011-02-03 Andreas Schwab <schwab@redhat.com>
55193
55194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55195 sysdeps/unix/sysv/linux/bits/socket.h.
55196
2b7e92df
ST
551972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55198
edf9294e
AS
55199 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55200 (__CPU_COUNT): Remove old macros.
55201 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55202 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55203 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55204 (__sched_cpualloc, __sched_cpufree): Add declarations.
55205
a4c7ea7b
UD
552062011-02-05 Ulrich Drepper <drepper@gmail.com>
55207
55208 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55209 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55210 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55211 (readdhstai): Return value of addhstaiX call.
55212 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55213 (addgrbyX): Return value returned by cache_addgr.
55214 (readdgrbyname): Return value returned by addgrbyX.
55215 (readdgrbygid): Likewise.
55216 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55217 (addpwbyX): Return value returned by cache_addpw.
55218 (readdpwbyname): Return value returned by addhstbyX.
55219 (readdpwbyuid): Likewise.
55220 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55221 (addservbyX): Return value returned by cache_addserv.
55222 (readdservbyname): Return value returned by addservbyX:
55223 (readdservbyport): Likewise.
55224 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55225 (addhstbyX): Return value returned by cache_addhst.
55226 (readdhstbyname): Return value returned by addhstbyX.
55227 (readdhstbyaddr): Likewise.
55228 (readdhstbynamev6): Likewise.
55229 (readdhstbyaddrv6): Likewise.
55230 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55231 (readdinitgroups): Return value returned by addinitgroupsX.
55232 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55233 (prune_cache): Keep track of timeout value of re-added entries.
55234 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55235 * nscd/nscd.h: Adjust prototypes of readd* functions.
55236
a0bf67cc
RM
552372011-02-04 Roland McGrath <roland@redhat.com>
55238
55239 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55240 (nis_stats): Likewise.
55241 * nis/nis_modify.c (nis_modify): Likewise.
55242 * nis/nis_remove.c (nis_remove): Likewise.
55243 * nis/nis_add.c (nis_add): Likewise.
55244
55245 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55246
55247 * posix/fnmatch_loop.c: Add some consts.
55248
55249 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55250
435b95eb
L
552512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55252
55253 [BZ #12460]
55254 * config.make.in (config-cflags-novzeroupper): Define.
55255 * configure.in: Substitute libc_cv_cc_novzeroupper.
55256 * elf/Makefile (AVX-CFLAGS): Define.
55257 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55258 (CFLAGS-tst-auditmod4a.c): Likewise.
55259 (CFLAGS-tst-auditmod4b.c): Likewise.
55260 (CFLAGS-tst-auditmod6b.c): Likewise.
55261 (CFLAGS-tst-auditmod6c.c): Likewise.
55262 (CFLAGS-tst-auditmod7b.c): Likewise.
55263 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55264
8517b15e
UD
552652011-02-02 Ulrich Drepper <drepper@gmail.com>
55266
55267 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55268 function to the callback.
55269 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55270
10a656fe
AS
552712011-02-02 Andreas Schwab <schwab@redhat.com>
55272
55273 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55274 of errno.
55275
968dad0a
UD
552762011-01-19 Ulrich Drepper <drepper@gmail.com>
55277
9f94d2ea 55278 [BZ #11724]
968dad0a
UD
55279 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55280 of constructors.
55281 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55282 of destructors.
55283 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55284
55285 [BZ #11724]
55286 * elf/Makefile: Add rules to build and run new test.
55287 * elf/tst-initorder.c: New file.
55288 * elf/tst-initorder.exp: New file.
55289 * elf/tst-initordera1.c: New file.
55290 * elf/tst-initordera2.c: New file.
55291 * elf/tst-initordera3.c: New file.
55292 * elf/tst-initordera4.c: New file.
55293 * elf/tst-initorderb1.c: New file.
55294 * elf/tst-initorderb2.c: New file.
55295 * elf/tst-order-a1.c: New file.
55296 * elf/tst-order-a2.c: New file.
55297 * elf/tst-order-a3.c: New file.
55298 * elf/tst-order-a4.c: New file.
55299 * elf/tst-order-b1.c: New file.
55300 * elf/tst-order-b2.c: New file.
55301 * elf/tst-order-main.c: New file.
55302 New test case by George Gensure <werkt0@gmail.com>.
55303
86e92359
UD
553042010-10-01 Andreas Schwab <schwab@redhat.com>
55305
55306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55307 decoding ACE if AI_CANONIDN.
55308
5d5732b0
UD
553092011-01-18 Ulrich Drepper <drepper@gmail.com>
55310
55311 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55312
a77e8cbc
UD
553132011-01-17 Ulrich Drepper <drepper@gmail.com>
55314
6392473f
UD
55315 * version.h (RELEASE): Bump for 2.13 release.
55316 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55317
620a0529
UD
55318 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55319
18ba70a5
UD
55320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55321 MADV_NOHUGEPAGE.
32465c3e
UD
55322 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55328
c0dafcf1
UD
55329 * posix/getconf.c: Update copyright year.
55330 * catgets/gencat.c: Likewise.
55331 * csu/version.c: Likewise.
55332 * debug/catchsegv.sh: Likewise.
55333 * debug/xtrace.sh: Likewise.
55334 * elf/ldconfig.c: Likewise.
55335 * elf/ldd.bash.in: Likewise.
55336 * elf/sprof.c (print_version): Likewise.
55337 * iconv/iconv_prog.c: Likewise.
55338 * iconv/iconvconfig.c: Likewise.
55339 * locale/programs/locale.c: Likewise.
55340 * locale/programs/localedef.c: Likewise.
55341 * malloc/memusage.sh: Likewise.
55342 * malloc/mtrace.pl: Likewise.
55343 * nscd/nscd.c (print_version): Likewise.
55344 * nss/getent.c: Likewise.
55345
a77e8cbc
UD
55346 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55347 PF_CAIF, and PF_ALG.
55348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55349
77e8bddf
AS
553502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55351
1f20b93a
AS
55352 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55353 (modules-names): Use them.
55354 (ifunc-test-modules, ifunc-pie-tests): Define.
55355 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55356 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55357 (test-extras): Likewise.
55358 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55359 $(compile-command.c).
55360 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55361 (all-built-dso): Define.
55362 (check-textrel.out, check-execstack.out): Depend on it.
55363
77e8bddf
AS
55364 * configure.in: Don't override --enable-multi-arch.
55365
bc425b33
UD
553662011-01-15 Ulrich Drepper <drepper@gmail.com>
55367
55368 [BZ #6812]
55369 * nscd/hstcache.c (tryagain): Define.
55370 (cache_addhst): Return tryagain not notfound for temporary errors.
55371 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55372 failed.
55373
794c3ad3
UD
553742011-01-14 Ulrich Drepper <drepper@gmail.com>
55375
70181fdd
UD
55376 [BZ #10563]
55377 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55378 to make the syscall.
55379 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55380
794c3ad3
UD
55381 [BZ #12378]
55382 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55383 and fall back to matching as normal character if the string ends before
55384 the matching ']' is found. This is what POSIX requires.
55385 * posix/testfnm.c: Adjust test result.
55386 * posix/globtest.sh: Adjust test result. Add new test.
55387 * posix/tst-fnmatch.input: Likewise.
55388 * posix/tst-fnmatch2.c: Add new test.
55389
68dc9497
AS
553902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55391
55392 * elf/Makefile (check-execstack): Revert last change. Depend on
55393 check-execstack.h.
55394 (check-execstack.h): New target.
55395 (generated): Add check-execstack.h.
55396 * elf/check-execstack.c: Include "check-execstack.h".
55397 (main): Revert last change.
55398 (handle_file): Return zero if GNU_STACK is absent and
55399 DEFAULT_STACK_PERMS doesn't include PF_X.
55400
451f001b
UD
554012011-01-13 Ulrich Drepper <drepper@gmail.com>
55402
cfa28e56
UD
55403 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55404 in child fails because the descriptor is already closed.
8cf8ce17
UD
55405 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55406 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55407 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55408
1086d70d
UD
55409 [BZ #12397]
55410 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55411 syscall.
55412
451f001b
UD
55413 [BZ #10484]
55414 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55415 temporary buffer used to handle multi lookups locally.
a85b5cb4 55416 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55417
08769175
UD
554182011-01-12 Ulrich Drepper <drepper@gmail.com>
55419
55420 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55421 loader is ld.so.
55422
5e49c52e
UD
554232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55424
55425 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55426 alignment for SSE2.
55427
60522a5f
UD
554282011-01-12 Ulrich Drepper <drepper@gmail.com>
55429
55430 [BZ #12394]
55431 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55432 characters. When rounding increased number of integer digits recompute
55433 number of groups.
55434 * stdio-common/tst-grouping.c: New file.
55435 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55436
f257bbd7
UD
554372011-01-09 Ulrich Drepper <drepper@gmail.com>
55438
55439 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55440 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55441
55442 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55443 void.
55444 * bits/select.h: Likewise.
55445
fa9c15cb
UD
554462011-01-08 Ulrich Drepper <drepper@gmail.com>
55447
55448 * po/ja.po: Update from translation team.
55449
16c2895f
DM
554502011-01-04 David S. Miller <davem@sunset.davemloft.net>
55451
55452 [BZ #11155]
55453 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55454 implementation just like for lxstat, fxstatat, et al.
55455
2543fef2
JM
554562010-12-27 Jim Meyering <meyering@redhat.com>
55457
55458 [BZ #12348]
55459 * posix/regexec.c (build_trtable): Return failure indication upon
55460 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55461
98727dbe
UD
554622010-12-25 Ulrich Drepper <drepper@gmail.com>
55463
5bd6dc5c
UD
55464 [BZ #12201]
55465 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55466 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55467 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55469
97983464
UD
55470 [BZ #12207]
55471 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55472
98727dbe
UD
55473 [BZ #12204]
55474 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55475 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55476
4a531bb0
L
554772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55478
55479 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55480 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55481 script has SORT_BY_INIT_PRIORITY.
55482 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55483 NO_CTORS_DTORS_SECTIONS is defined.
55484 * elf/soinit.c: Likewise.
55485 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55486 NO_CTORS_DTORS_SECTIONS is defined.
55487 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55488 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55489 * sysdeps/sh/init-first.c: Likewise.
55490 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55491
07eb4b71
UD
554922010-12-24 Ulrich Drepper <drepper@gmail.com>
55493
55494 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55495 always use the slow path.
55496
30950a5f
RA
554972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55498
55499 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55500 similar rule which adds the sysdep directories to the header search in
55501 order to pick up the correct platform stackinfo.h.
55502 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55503 perform test if it is, otherwise return successfully without testing.
55504 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55505 DEFAULT_STACK_PERMS define in stackinfo.h.
55506 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55507 defined in stackinfo.h.
55508 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55509 DEFAULT_STACK_PERMS defined in stackinfo.h.
55510 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55511 * sysdeps/ia64/stackinfo.h: Likewise.
55512 * sysdeps/s390/stackinfo.h: Likewise.
55513 * sysdeps/sh/stackinfo.h: Likewise.
55514 * sysdeps/sparc/stackinfo.h: Likewise.
55515 * sysdeps/x86_64/stackinfo.h: Likewise.
55516 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55517 PF_X for powerpc64. Retain PF_X for powerpc32.
55518
db753e2c
UD
555192010-12-19 Ulrich Drepper <drepper@gmail.com>
55520
14b697f7
UD
55521 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55522 accurately.
db753e2c
UD
55523 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55524 GETDENTS_64BIT_ALIGNED.
55525
28300719
UD
555262010-12-14 Ulrich Drepper <dreper@gmail.com>
55527
14b697f7 55528 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55529
4f197237
AS
555302010-12-10 Andreas Schwab <schwab@redhat.com>
55531
dbb0472f
AS
55532 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55533 _GNU_SOURCE.
55534
4f197237
AS
55535 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55536 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55537 Remove __restrict.
55538 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55539 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55540
fb88ac72
UD
555412010-12-09 Ulrich Drepper <drepper@gmail.com>
55542
55543 [BZ #11655]
55544 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55545 are initialized.
55546
42acbb92
JJ
555472010-12-09 Jakub Jelinek <jakub@redhat.com>
55548
55549 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55550
c038d98d
UD
555512010-12-03 Ulrich Drepper <drepper@gmail.com>
55552
55553 * po/it.po: Update from translation team.
55554
3a4a2499
L
555552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55556
55557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55558 unused codes.
55559
1e24cf6e
UD
555602010-11-30 Ulrich Drepper <drepper@gmail.com>
55561
55562 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55563
a7690819
AS
555642010-11-24 Andreas Schwab <schwab@redhat.com>
55565
55566 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55567 specially.
55568 (gaih_getanswer_slice): Likewise.
55569
3bf8d1b1
JJ
555702010-10-20 Jakub Jelinek <jakub@redhat.com>
55571
55572 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55573
6db52fbb
PB
555742010-05-31 Petr Baudis <pasky@suse.cz>
55575
55576 [BZ #11149]
55577 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55578 silently even in the chroot mode.
55579
eaca7569
UD
555802010-11-22 Ulrich Drepper <drepper@gmail.com>
55581
55582 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55583 last patch a bit. Pretty printing
55584
3056dcdb
UD
555852010-05-31 Petr Baudis <pasky@suse.cz>
55586
55587 [BZ #10085]
55588 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55589 initialization of skip_initgroups_dyn.
55590
cf7c9078
UD
555912010-11-19 Ulrich Drepper <drepper@gmail.com>
55592
55593 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55594 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55595
a1fb5e3e
UD
555962010-11-16 Ulrich Drepper <drepper@gmail.com>
55597
55598 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55599
3540d66b
AS
556002010-11-11 Andreas Schwab <schwab@redhat.com>
55601
55602 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55603 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55604 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55605 ($(objpfx)tst-fnmatch-mem): New rule.
55606 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55607 * posix/tst-fnmatch.c (main): Call mtrace.
55608
13b69574
L
556092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55610
55611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55612 Support Intel processor model 6 and model 0x2c.
55613
da93d214
LM
556142010-11-10 Luis Machado <luisgpm@br.ibm.com>
55615
55616 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55617 signed comparison.
55618
8ca52c6e
L
556192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55620
55621 [BZ #12205]
55622 * string/test-strncasecmp.c (check_result): New function.
55623 (do_one_test): Use it.
55624 (check1): New function.
55625 (test_main): Use it.
55626 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55627 Support strcasecmp and strncasecmp.
55628
69da074d
UD
556292010-11-08 Ulrich Drepper <drepper@gmail.com>
55630
55631 [BZ #12194]
55632 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55633 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55634
ff02d528
L
556352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55636
55637 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55638 IFUNC support.
55639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55640 memset-x86-64.
55641 * sysdeps/x86_64/multiarch/bzero.S: New file.
55642 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55643 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55644 * sysdeps/x86_64/multiarch/memset.S: New file.
55645 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55647 Set bit_Prefer_SSE_for_memop for Intel processors.
55648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55649 Define.
55650 (index_Prefer_SSE_for_memop): Define.
55651 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55652
344d0b54
LM
556532010-11-04 Luis Machado <luisgpm@br.ibm.com>
55654
55655 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55656 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55657
c0dde15b
UD
556582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55659
55660 [BZ #12191]
55661 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55662 (__x86_64_raw_data_cache_size_half): Likewise.
55663 (__x86_64_raw_shared_cache_size): Likewise.
55664 (__x86_64_raw_shared_cache_size_half): Likewise.
55665
55666 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55667 (__x86_64_raw_data_cache_size_half): Likewise.
55668 (__x86_64_raw_shared_cache_size): Likewise.
55669 (__x86_64_raw_shared_cache_size_half): Likewise.
55670 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55671 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55672 and __x86_64_raw_shared_cache_size_half. Round
55673 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55674 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55675 to multiple of 256 bytes.
55676
0e516e0e
MS
556772010-11-03 Ulrich Drepper <drepper@gmail.com>
55678
55679 [BZ #12167]
55680 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55681 of inacessible symlinks. Verify result of symlink before returning it.
55682 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55683 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55684
0e012e87
ER
556852010-10-28 Erich Ritz <erichritz@gmail.com>
55686
55687 * math/math.h (isinf): Fix typo in comment.
55688
de0ff7bc
UD
556892010-11-01 Ulrich Drepper <drepper@gmail.com>
55690
55691 * po/da.po: Update from translation team.
55692
fa41c84d
UD
556932010-10-26 Ulrich Drepper <drepper@gmail.com>
55694
55695 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55696 is added to the list.
55697
f0967738
AK
556982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55699 Ulrich Drepper <drepper@gmail.com>
55700
55701 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55702 the global list here. Move code to...
55703 (_dl_add_to_namespace_list): ...here. New function.
55704 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55705 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55706 * elf/dl-load.c (lose): Don't remove the element from the list.
55707 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55708 (_dl_map_object): Likewise.
55709
557102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55711
55712 [BZ #12159]
55713 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55714 into all bytes of SSE register.
55715 Patch by Richard Li <richardpku@gmail.com>.
55716
f0967738 557172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55718
55719 [BZ #12140]
55720 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55721 perturbing.
55722
d0b9e94f
MB
557232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55724
55725 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55726 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55728 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55730 submachine.
55731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55732
8e9f92e9
AS
557332010-10-22 Andreas Schwab <schwab@redhat.com>
55734
55735 * include/dlfcn.h (__RTLD_SECURE): Define.
55736 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55737 mode & __RTLD_SECURE instead.
55738 (open_path): Rename preloaded parameter to secure.
55739 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55740 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55741 * elf/dl-deps.c (openaux): Likewise.
55742 * elf/rtld.c (struct map_args): Remove is_preloaded.
55743 (map_doit): Don't use it.
55744 (dl_main): Likewise.
55745 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55746 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55747
bc96fbda
AS
557482010-09-09 Andreas Schwab <schwab@redhat.com>
55749
55750 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55751 (sysd-rules-targets): Remove duplicates.
55752 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55753 rtld-%.$o dependency.
55754
22cd1c9b
AS
557552010-10-18 Andreas Schwab <schwab@redhat.com>
55756
55757 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55758 _dl_map_object do it.
55759
18edac48
UD
557602010-10-19 Ulrich Drepper <drepper@gmail.com>
55761
55762 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55763 fast fma builtins, define the macros in the C99 standard.
55764 (FP_FAST_FMAF): Likewise.
55765 (FP_FAST_FMAL): Likewise.
55766 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55767
55768 * bits/mathdef.h: Update copyright year.
55769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55770
d2050124
MM
557712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55772
55773 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55774 builtins, define the macros in the C99 standard.
55775 (FP_FAST_FMAF): Likewise.
55776 (FP_FAST_FMAL): Likewise.
55777 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55778 multiply/add.
55779 (FP_FAST_FMAF): Likewise.
55780
475facd1
JJ
557812010-10-15 Jakub Jelinek <jakub@redhat.com>
55782
55783 [BZ #3268]
55784 * math/libm-test.inc (fma_test): Some new testcases.
55785 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55786 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55787 y and infinite z. Do multiplication by C already in long double.
55788 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55790 y and infinite z. Do bitwise or of inexact bit into u.d.
55791 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55792 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55793 * sysdeps/i386/fpu/s_fma.S: Removed.
55794 * sysdeps/i386/fpu/s_fmal.S: Removed.
55795
7c08a05c
JJ
557962010-10-16 Jakub Jelinek <jakub@redhat.com>
55797
55798 [BZ #3268]
55799 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55800 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55801 computation is not scheduled after fetestexcept. Fix value
55802 of minimum denormal long double.
55803
f3f7372d
JJ
558042010-10-14 Jakub Jelinek <jakub@redhat.com>
55805
55806 [BZ #3268]
55807 * math/libm-test.inc (fma_test): Add some more tests.
55808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55809 correctly.
55810
14d43591
AS
558112010-10-15 Andreas Schwab <schwab@redhat.com>
55812
55813 * scripts/data/localplt-s390-linux-gnu.data: New file.
55814 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55815
5e908464
JJ
558162010-10-13 Jakub Jelinek <jakub@redhat.com>
55817
55818 [BZ #3268]
55819 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55820 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55821 instead of dbl-64.
55822 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55823 inlines.
55824 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55826 if one of x and y is very large and the other is subnormal.
55827 * sysdeps/s390/fpu/s_fmaf.c: New file.
55828 * sysdeps/s390/fpu/s_fma.c: New file.
55829 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55830 * sysdeps/powerpc/fpu/s_fma.S: New file.
55831 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55832 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55833 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55834
558352010-10-12 Jakub Jelinek <jakub@redhat.com>
55836
55837 [BZ #3268]
55838 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55839 fma tests.
55840 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55841 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55842 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55843 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55844 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55845 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55846 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55847
b833d51f
UD
558482010-10-12 Ulrich Drepper <drepper@redhat.com>
55849
55850 [BZ #12078]
55851 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55852 * posix/bug-regex31.input: Add test case.
55853
1751705d
UD
558542010-10-11 Ulrich Drepper <drepper@gmail.com>
55855
e9b9cbf5
UD
55856 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55857 * posix/bug-regex31.input: New file.
55858
55859 [BZ #12078]
55860 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55861 (parse_sub_exp): Fix last change, use postorder.
55862
ef06edbe
UD
55863 * posix/bug-regex31.c: New file.
55864 * posix/Makefile: Add rules to build and run bug-regex31.
55865
a129c80d
UD
55866 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55867
55868 [BZ #12078]
55869 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55870
b76b818e
UD
55871 [BZ #12108]
55872 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55873 to have entries in sys_siglist.
55874
1751705d
UD
55875 [BZ #12093]
55876 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55877 be NULL.
55878
9ff8d36f
JJ
558792010-10-07 Jakub Jelinek <jakub@redhat.com>
55880
55881 [BZ #3268]
55882 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55883 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55884 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55885 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55886 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55887 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55888 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55889 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55890 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55891 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55892 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55893 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55894 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55895 * math/ftestexcept.c (fetestexcept): Likewise.
55896 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55897 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55898 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55899 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55900 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55901 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55902 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55903
af325969
UD
559042010-10-11 Ulrich Drepper <drepper@gmail.com>
55905
c579b202 55906 [BZ #12107]
af325969
UD
55907 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55908 newline.
55909
67a67b95
UD
559102010-10-06 Ulrich Drepper <drepper@gmail.com>
55911
55912 * string/bug-strstr1.c: New file.
55913 * string/Makefile: Add rules to build and run bug-strstr1.
55914
5fb308bc
EB
559152010-10-05 Eric Blake <eblake@redhat.com>
55916
55917 [BZ #12092]
55918 * string/str-two-way.h (two_way_long_needle): Always clear memory
55919 when skipping input due to the shift table.
55920
45db99c7
UD
559212010-10-03 Ulrich Drepper <drepper@gmail.com>
55922
3b111893
UD
55923 [BZ #12005]
55924 * malloc/mcheck.c: Handle large requests.
55925
45db99c7
UD
55926 [BZ #12077]
55927 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55928 for strncmp and strncasecmp.
55929 * string/stratcliff.c: Add tests for strcmp and strncmp.
55930 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55931
cf7a1eb8
NI
559322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55933
55934 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55935 __set_fpscr.
55936
6484ba5e
AJ
559372010-09-30 Andreas Jaeger <aj@suse.de>
55938
55939 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55940 (CGROUP_SUPER_MAGIC): Define.
55941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55942 Handle btrfs and cgroup file systems.
55943 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55944 Likewise.
55945
91c42559
LM
559462010-09-27 Luis Machado <luisgpm@br.ibm.com>
55947
55948 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55949 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55950
87a97932
AK
559512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55952
55953 [BZ #12067]
55954 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55955 trying to locate the ELF header.
55956
c21cc9bc
AS
559572010-09-27 Andreas Schwab <schwab@redhat.com>
55958
55959 [BZ #11611]
55960 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55961 Mask out sign-bit copies when constructing f_fsid.
55962
315970f6
PB
559632010-09-24 Petr Baudis <pasky@suse.cz>
55964
55965 * debug/stack_chk_fail_local.c: Add missing licence exception.
55966 * debug/warning-nop.c: Likewise.
55967
1ac7a2c7
JM
559682010-09-15 Joseph Myers <joseph@codesourcery.com>
55969
55970 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55971 implementing getdents64 using getdents syscall, set d_type if
55972 __ASSUME_GETDENTS32_D_TYPE.
55973
56801c50
AS
559742010-09-16 Andreas Schwab <schwab@redhat.com>
55975
55976 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55977 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55978
dda51327
UD
559792010-09-21 Ulrich Drepper <drepper@redhat.com>
55980
55981 [BZ #12037]
55982 * posix/unistd.h: Undo change of feature selection for ftruncate from
55983 2010-01-11.
55984
8ffcee4a
UD
559852010-09-20 Ulrich Drepper <drepper@redhat.com>
55986
a545ecd9 55987 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55988 detection.
55989
e24f0a8b
AS
559902010-09-20 Andreas Schwab <schwab@redhat.com>
55991
55992 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55993 fanotify_mark.
55994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55995
7291c56f
AS
559962010-09-14 Andreas Schwab <schwab@redhat.com>
55997
55998 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55999 variables after CHECK_SP call.
56000 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56001
bc5fb037
AS
560022010-09-13 Andreas Schwab <schwab@redhat.com>
56003 Ulrich Drepper <drepper@redhat.com>
56004
56005 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56006 re-relocationg ld.so.
56007 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56008 _dl_init_paths call.
56009 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56010 here anymore.
56011
e66e7419
UD
560122010-09-14 Ulrich Drepper <drepper@redhat.com>
56013
56014 * resolv/res_init.c (__res_vinit): Count the default server we added.
56015
c044aa75
CLT
560162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56017 Ulrich Drepper <drepper@redhat.com>
56018
56019 [BZ #11968]
56020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56021 (____longjmp_chk): Use %ebx for saving value across system call.
56022 Add unwind info.
56023
32cf4069
AS
560242010-09-06 Andreas Schwab <schwab@redhat.com>
56025
56026 * manual/Makefile: Don't mix pattern rules with normal rules.
56027
817328ee
AS
560282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56029
56030 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56031 operation.
56032 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56033 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56034 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56035 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56037 Likewise.
56038
29fddf61
UD
560392010-09-04 Ulrich Drepper <drepper@redhat.com>
56040
56041 [BZ #11979]
56042 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56043 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56044
0959ffc9
UD
560452010-09-02 Ulrich Drepper <drepper@redhat.com>
56046
56047 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56048 * sysdeps/x86_64/addmul_1.S: Likewise.
56049 * sysdeps/x86_64/lshift.S: Likewise.
56050 * sysdeps/x86_64/mul_1.S: Likewise.
56051 * sysdeps/x86_64/rshift.S: Likewise.
56052 * sysdeps/x86_64/sub_n.S: Likewise.
56053 * sysdeps/x86_64/submul_1.S: Likewise.
56054
ece29840
ST
560552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56056
0959ffc9
UD
56057 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56058 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56059 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56060 * bits/sched.h [__need_schedparam]
ece29840 56061 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56062 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56063 (__defined_schedparam): Define to 1.
ece29840
ST
56064 (__sched_param): New structure, identical to sched_param.
56065 (__need_schedparam): Undefine.
56066
e53a31fe
MF
560672010-08-31 Mike Frysinger <vapier@gentoo.org>
56068
fdc0c10d
MF
56069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56070 (epoll_create1): Declare.
56071
e53a31fe
MF
56072 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56073
a726d796
AS
560742010-08-31 Andreas Schwab <schwab@redhat.com>
56075
56076 [BZ #7066]
56077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56078 shifting retval into place.
56079
2f3e3dc7
UD
560802010-09-01 Ulrich Drepper <drepper@redhat.com>
56081
f2933da9
UD
56082 * nis/rpcsvc/nis.h: Update copyright notice.
56083 * nis/rpcsvc/nis.x: Likewise.
56084 * nis/rpcsvc/nis_callback.h: Likewise.
56085 * nis/rpcsvc/nis_callback.x: Likewise.
56086 * nis/rpcsvc/nis_object.x: Likewise.
56087 * nis/rpcsvc/nis_tags.h: Likewise.
56088 * nis/rpcsvc/yp.h: Likewise.
56089 * nis/rpcsvc/yp.x: Likewise.
56090 * nis/rpcsvc/ypupd.h: Likewise.
56091 * nis/yp_xdr.c: Likewise.
56092 * nis/ypupdate_xdr.c: Likewise.
56093
2f3e3dc7
UD
56094 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56095 mainly the body of pmap_getport. Add parameters to specify timeouts.
56096 (pmap_getport): Use __libc_rpc_getport.
56097 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56098 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56099 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56100
f3dcc2f9
AS
561012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56102
56103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56104 fanotify_mark.
56105
6d34eb5b
RM
561062010-08-27 Roland McGrath <roland@redhat.com>
56107
56108 * sysdeps/i386/i686/multiarch/Makefile
56109 (CFLAGS-varshift.c): New variable.
56110
9ea3de11
UD
561112010-08-27 Ulrich Drepper <drepper@redhat.com>
56112
c96d23fc
UD
56113 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56114 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56115
9ea3de11
UD
56116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56117
56118 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56119
623aac7f
L
561202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56121
56122 * sysdeps/x86_64/strlen.S: Unroll the loop.
56123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56124 strlen-sse2 strlen-sse2-bsf.
56125 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56126 __strlen_no_bsf if bit_Slow_BSF is set.
56127 (__strlen_sse42): Removed.
56128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56129 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56130
8b2b7715
RM
561312010-08-25 Roland McGrath <roland@redhat.com>
56132
56133 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56134 * sysdeps/x86_64/multiarch/varshift.c: New file.
56135 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56136 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56137 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56138 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56139
e73015f2
L
561402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56141
56142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56143 strlen-sse2 strlen-sse2-bsf.
56144 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56145 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56146 (__strlen_sse2): Removed.
56147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56150 bit_Slow_BSF for Atom.
56151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56152 (index_Slow_BSF): Define.
56153 (HAS_SLOW_BSF): Define.
56154
df24a73e
UD
561552010-08-25 Ulrich Drepper <drepper@redhat.com>
56156
56157 [BZ #10851]
56158 * resolv/res_init.c (__res_vinit): When no server address at all
56159 is given default to loopback.
56160
f2ac4868
RM
561612010-08-24 Roland McGrath <roland@redhat.com>
56162
09055553
RM
56163 * configure.in: Remove config-name.h generation.
56164 * configure: Regenerated.
56165 * config-name.in: File removed.
56166 * scripts/config-uname.sh: New file.
56167 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56168 ($(objdir)config-name.h): New target.
56169
f2ac4868
RM
56170 * sunrpc/rpc_parse.h: Avoid nested comment.
56171
73f27d5e
RH
561722010-08-24 Richard Henderson <rth@redhat.com>
56173 Ulrich Drepper <drepper@redhat.com>
56174 H.J. Lu <hongjiu.lu@intel.com>
56175
56176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56178 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56179 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56180 _mm_alignr_epi8 with _mm_loadu_si128.
56181 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56182 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56183 (__m128i_shift_right): Removed.
56184 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56185 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56186 * sysdeps/x86_64/multiarch/varshift.h: New file.
56187 * sysdeps/x86_64/multiarch/varshift.S: New file.
56188
84b9230c
MF
561892010-08-21 Mike Frysinger <vapier@gentoo.org>
56190
56191 * configure.in: Move assembler checks to before sysdep dir checking.
56192
9bbd0ddc
PB
561932010-08-20 Petr Baudis <pasky@suse.cz>
56194
56195 * LICENSES: Sync the sunrpc license.
56196
9da4bb31
UD
561972010-08-19 Ulrich Drepper <drepper@redhat.com>
56198
a7ab6ec8
UD
56199 * sunrpc/auth_des.c: Update copyright notice once again.
56200 * sunrpc/auth_none.c: Likewise.
56201 * sunrpc/auth_unix.c: Likewise.
56202 * sunrpc/authdes_prot.c: Likewise.
56203 * sunrpc/authuxprot.c: Likewise.
56204 * sunrpc/bindrsvprt.c: Likewise.
56205 * sunrpc/clnt_gen.c: Likewise.
56206 * sunrpc/clnt_perr.c: Likewise.
56207 * sunrpc/clnt_raw.c: Likewise.
56208 * sunrpc/clnt_simp.c: Likewise.
56209 * sunrpc/clnt_tcp.c: Likewise.
56210 * sunrpc/clnt_udp.c: Likewise.
56211 * sunrpc/clnt_unix.c: Likewise.
56212 * sunrpc/des_crypt.c: Likewise.
56213 * sunrpc/des_soft.c: Likewise.
56214 * sunrpc/get_myaddr.c: Likewise.
56215 * sunrpc/getrpcport.c: Likewise.
56216 * sunrpc/key_call.c: Likewise.
56217 * sunrpc/key_prot.c: Likewise.
56218 * sunrpc/openchild.c: Likewise.
56219 * sunrpc/pm_getmaps.c: Likewise.
56220 * sunrpc/pm_getport.c: Likewise.
56221 * sunrpc/pmap_clnt.c: Likewise.
56222 * sunrpc/pmap_prot.c: Likewise.
56223 * sunrpc/pmap_prot2.c: Likewise.
56224 * sunrpc/pmap_rmt.c: Likewise.
56225 * sunrpc/rpc/auth.h: Likewise.
56226 * sunrpc/rpc/auth_unix.h: Likewise.
56227 * sunrpc/rpc/clnt.h: Likewise.
56228 * sunrpc/rpc/des_crypt.h: Likewise.
56229 * sunrpc/rpc/key_prot.h: Likewise.
56230 * sunrpc/rpc/netdb.h: Likewise.
56231 * sunrpc/rpc/pmap_clnt.h: Likewise.
56232 * sunrpc/rpc/pmap_prot.h: Likewise.
56233 * sunrpc/rpc/pmap_rmt.h: Likewise.
56234 * sunrpc/rpc/rpc.h: Likewise.
56235 * sunrpc/rpc/rpc_des.h: Likewise.
56236 * sunrpc/rpc/rpc_msg.h: Likewise.
56237 * sunrpc/rpc/svc.h: Likewise.
56238 * sunrpc/rpc/svc_auth.h: Likewise.
56239 * sunrpc/rpc/types.h: Likewise.
56240 * sunrpc/rpc/xdr.h: Likewise.
56241 * sunrpc/rpc_clntout.c: Likewise.
56242 * sunrpc/rpc_cmsg.c: Likewise.
56243 * sunrpc/rpc_common.c: Likewise.
56244 * sunrpc/rpc_cout.c: Likewise.
56245 * sunrpc/rpc_dtable.c: Likewise.
56246 * sunrpc/rpc_hout.c: Likewise.
56247 * sunrpc/rpc_main.c: Likewise.
56248 * sunrpc/rpc_parse.c: Likewise.
56249 * sunrpc/rpc_parse.h: Likewise.
56250 * sunrpc/rpc_prot.c: Likewise.
56251 * sunrpc/rpc_sample.c: Likewise.
56252 * sunrpc/rpc_scan.c: Likewise.
56253 * sunrpc/rpc_scan.h: Likewise.
56254 * sunrpc/rpc_svcout.c: Likewise.
56255 * sunrpc/rpc_tblout.c: Likewise.
56256 * sunrpc/rpc_util.c: Likewise.
56257 * sunrpc/rpc_util.h: Likewise.
56258 * sunrpc/rpcinfo.c: Likewise.
56259 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56260 * sunrpc/rpcsvc/key_prot.x: Likewise.
56261 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56262 * sunrpc/rpcsvc/mount.x: Likewise.
56263 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56264 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56265 * sunrpc/rpcsvc/rex.x: Likewise.
56266 * sunrpc/rpcsvc/rstat.x: Likewise.
56267 * sunrpc/rpcsvc/rusers.x: Likewise.
56268 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56269 * sunrpc/rpcsvc/spray.x: Likewise.
56270 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56271 * sunrpc/rtime.c: Likewise.
56272 * sunrpc/svc.c: Likewise.
56273 * sunrpc/svc_auth.c: Likewise.
56274 * sunrpc/svc_authux.c: Likewise.
56275 * sunrpc/svc_raw.c: Likewise.
56276 * sunrpc/svc_run.c: Likewise.
56277 * sunrpc/svc_simple.c: Likewise.
56278 * sunrpc/svc_tcp.c: Likewise.
56279 * sunrpc/svc_udp.c: Likewise.
56280 * sunrpc/svc_unix.c: Likewise.
56281 * sunrpc/svcauth_des.c: Likewise.
56282 * sunrpc/xcrypt.c: Likewise.
56283 * sunrpc/xdr.c: Likewise.
56284 * sunrpc/xdr_array.c: Likewise.
56285 * sunrpc/xdr_float.c: Likewise.
56286 * sunrpc/xdr_mem.c: Likewise.
56287 * sunrpc/xdr_rec.c: Likewise.
56288 * sunrpc/xdr_ref.c: Likewise.
56289 * sunrpc/xdr_sizeof.c: Likewise.
56290 * sunrpc/xdr_stdio.c: Likewise.
56291
9da4bb31
UD
56292 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56293 handling.
56294
bdaa77bc
AS
562952010-08-19 Andreas Schwab <schwab@redhat.com>
56296
56297 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56298
fe2f79db
LM
562992010-08-19 Luis Machado <luisgpm@br.ibm.com>
56300
56301 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56304 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56306 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56307 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56308 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56310 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56311 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56312 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56313 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56314 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56315
b9b42ee0
AB
563162010-07-26 Anton Blanchard <anton@samba.org>
56317
56318 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56319 * malloc/arena.c (heap_trim): Likewise.
56320
1c06ba31
UD
563212010-08-16 Ulrich Drepper <drepper@redhat.com>
56322
56323 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56324 here. Not...
56325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56326 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56327
f8392f40
L
563282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56329
56330 * sysdeps/i386/elf/Makefile: New file.
56331
3162f12e
AS
563322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56333
56334 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56335 from fanotify_init.
56336 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56337 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56338
28c90b2c
UD
563392010-08-15 Ulrich Drepper <drepper@redhat.com>
56340
56341 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56342 of strncasecmp_l.
1feccb6c 56343 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56344
ca6bb004
UD
563452010-08-14 Ulrich Drepper <drepper@redhat.com>
56346
e9f82e0d
UD
56347 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56348 strncase_l-nonascii.
56349 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56350 Add strncase_l-ssse3.
56351 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56352 * sysdeps/x86_64/strcmp.S: Likewise.
56353 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56354 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56355 * sysdeps/x86_64/strncase.S: New file.
56356 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56357 * sysdeps/x86_64/strncase_l.S: New file.
56358 * string/Makefile (strop-tests): Add strncasecmp.
56359 * string/test-strncasecmp.c: New file.
56360
56361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56362 warning.
56363
ca6bb004
UD
56364 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56365 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56366
052fa7b3
AS
563672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56368
56369 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56370
962dba78
UD
563712010-08-12 Ulrich Drepper <drepper@redhat.com>
56372
56373 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56374 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56375 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56376
bebff237
AM
563772010-05-01 Alan Modra <amodra@gmail.com>
56378
56379 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56380 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56381 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56382 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56383 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56384 tidying. Don't tail-call __sigjmp_save for static lib.
56385 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56386 save location.
56387 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56388 (CALL_MCOUNT): Add eh info, and nop after bl.
56389 (TAIL_CALL_SYSCALL_ERROR): New macro.
56390 (PSEUDO_RET): Use it.
56391 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56392 Correct save location of integer regs and cr.
56393 (_dl_profile_resolve): Correct cr save location. Delete nops
56394 after bl when SHARED. Reduce cfi size a little by better
56395 placement of cfi directives.
56396 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56397 make a stack frame. Instead use parm save area as a temp.
56398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56399 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56401 Don't make a stack frame for parent, use parm save area.
56402 Increase child stack frame to 112 bytes. Don't save unused reg,
56403 and adjust reg usage. Set up cfi on error recovery and
56404 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56406 (__makecontext): Add dummy nop after jump to exit.
56407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56408 Use correct parm save area and cr save, reduce stack frame.
56409 Correct cfi for possible PSEUDO_RET frame setup.
56410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56411 Branch to local label emitted by PSEUDO_RET rather than
56412 __syscall_error.
56413
02637374
AS
564142010-08-12 Andreas Schwab <schwab@redhat.com>
56415
56416 [BZ #11904]
56417 * locale/programs/locale.c (print_assignment): New function.
56418 (show_locale_vars): Use it.
56419
c3e2f19b
UD
564202010-08-11 Ulrich Drepper <drepper@redhat.com>
56421
3cdaa6ad
UD
56422 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56423 field.
56424 (struct statfs64): Likewise.
56425 (_STATFS_F_FLAGS): Define.
56426 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56427 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56428 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56429 (ST_VALID): Define locally.
56430 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56431 __statvfs_getflags, use the provided value.
56432 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56433 __ASSUME_STATFS_F_FLAGS.
56434
754f7da3
UD
56435 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56436
10b3bedc
UD
56437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56438 Add sys/fanotify.h.
56439 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56440 fanotify_mask for GLIBC_2.13.
56441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56442 fanotify_init and fanotify_mark.
56443 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56444 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56445
c08fb0d7
UD
56446 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56447 Add prlimit.
56448 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56449 prlimit64 for GLIBC_2.13.
56450 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56451 prlimit64.
56452 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56453 syscall.
56454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56456 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56457 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56459 add prlimit alias.
56460 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56461
15bac72b
UD
56462 [BZ #11903]
56463 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56464 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56465
c3e2f19b
UD
56466 * nss/Makefile: Add rules to build and run tst-nss-test1.
56467 * shlib-versions: Add entry for libnss_test1.
56468 * nss/nss_test1.c: New file.
56469 * nss/tst-nss-test1.c: New file.
56470
56471 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56472 (__nss_configure_lookup): Set appropriate entry in
56473 __nss_configure_lookup to true.
56474 * nss/nsswitch.h: Define enum with indeces of databases in
56475 databases and __nss_database_custom arrays. Declare
56476 __nss_database_custom.
56477 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56478 to avoid using nscd when custom rules are installed.
56479 * nss/getXXbyYY_r.c: Likewise.
56480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56481
56482 * nss/nss_files/files-parse.c: Whitespace fixes.
56483
f15ce4d8
UD
564842010-08-09 Ulrich Drepper <drepper@redhat.com>
56485
56486 [BZ #11883]
56487 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56488 * posix/fnmatch_loop.c: Likewise.
56489
d22e4cc9
AK
564902010-07-17 Andi Kleen <ak@linux.intel.com>
56491
56492 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56493 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56494 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56495 * Versions.def [GLIBC_2.13]: Add.
56496
805bc17d
UD
564972010-08-06 Ulrich Drepper <drepper@redhat.com>
56498
56499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56500 Also fail if tpwd after pwuid call is NULL.
56501
5a42321d
ST
565022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56503
56504 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56505 when converting to ms.
56506
fd3ebeda
ST
565072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56508
56509 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56510 EOPNOTSUPP errors with ENOTTY.
56511 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56512 EOPNOTSUPP errors with ENOTTY.
56513
73507d3a
UD
565142010-07-31 Ulrich Drepper <drepper@redhat.com>
56515
56516 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56517 Add strcasecmp_l-ssse3.
56518 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56519 strcasecmp.
56520 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56521 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56523
fe36dd02
UD
565242010-07-30 Ulrich Drepper <drepper@redhat.com>
56525
66f6765a
UD
56526 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56527
42e08a54
UD
56528 * string/Makefile (strop-tests): Add strcasecmp.
56529 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56530 strcasecmp_l-nonascii.
56531 (gen-as-const-headers): Add locale-defines.sym.
56532 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56533 * sysdeps/x86_64/strcasecmp.S: New file.
56534 * sysdeps/x86_64/strcasecmp_l.S: New file.
56535 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56536 * sysdeps/x86_64/locale-defines.sym: New file.
56537 * string/test-strcasecmp.c: New file.
56538
fe36dd02
UD
56539 * string/test-strcasestr.c: Test both ends of the range of characters.
56540 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56541
48cbc0d6
RM
565422010-07-29 Roland McGrath <roland@redhat.com>
56543
76e6d6bc 56544 [BZ #11856]
48cbc0d6
RM
56545 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56546
880113d9
UD
565472010-07-27 Ulrich Drepper <drepper@redhat.com>
56548
56549 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56550 for ld.so.
56551
deb9cabb
AS
565522010-07-27 Andreas Schwab <schwab@redhat.com>
56553
56554 * manual/memory.texi (Malloc Tunable Parameters): Document
56555 M_PERTURB.
56556
1c7570ff
RM
565572010-07-26 Roland McGrath <roland@redhat.com>
56558
56559 [BZ #11840]
56560 * configure.in (-fgnu89-inline check): Set and substitute
56561 gnu89_inline, not libc_cv_gnu89_inline.
56562 * configure: Regenerated.
56563 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56564
24fb0f88
UD
565652010-07-26 Ulrich Drepper <drepper@redhat.com>
56566
56567 * string/test-strnlen.c: New file.
56568 * string/Makefile (strop-tests): Add strnlen.
56569 * string/tester.c (test_strnlen): Add a few more test cases.
56570 * string/tst-strlen.c: Better error reporting.
56571
56572 * sysdeps/x86_64/strnlen.S: New file.
56573
8e96b93a
UD
565742010-07-24 Ulrich Drepper <drepper@redhat.com>
56575
56576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56577 lower-latency instructions.
56578
dbc676d4
UD
565792010-07-23 Ulrich Drepper <drepper@redhat.com>
56580
56581 * string/test-strcasestr.c: New file.
56582 * string/test-strstr.c: New file.
56583 * string/Makefile (strop-tests): Add strstr and strcasestr.
56584 * string/str-two-way.h: Don't undefine MAX.
56585 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56586
f6a31e0e
AS
565872010-07-21 Andreas Schwab <schwab@redhat.com>
56588
56589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56590 strcasestr-nonascii.
56591 (CFLAGS-strcasestr-nonascii.c): Define.
56592 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56594 Remove unused attribute.
56595
5dbc3b6c
RM
565962010-07-20 Roland McGrath <roland@redhat.com>
56597
56598 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56599 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56600 ld.so.cache was broken. With it, there is no way to disable dsocaps
56601 like LD_HWCAP_MASK can disable hwcaps.
56602
23d101d8
EPM
566032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56604
56605 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56606
cc9f2e47
UD
566072010-07-16 Ulrich Drepper <drepper@redhat.com>
56608
56609 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56610 call in strcasestr.
56611 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56612 __strcasestr_sse42_nonascii.
56613 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56614 strcasestr-nonascii.c.
56615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56616
77c1b069
LM
566172010-06-15 Luis Machado <luisgpm@br.ibm.com>
56618
56619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56623
440566c3
UD
566242010-07-09 Ulrich Drepper <drepper@redhat.com>
56625
56626 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56627 fcntl.
56628
5be9d05d
AS
566292010-07-06 Andreas Schwab <schwab@redhat.com>
56630
c30b7ee2 56631 [BZ #11577]
5be9d05d
AS
56632 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56633 dl_signal_cerror.
56634
8a492a67
UD
566352010-07-06 Ulrich Drepper <drepper@redhat.com>
56636
56637 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56638 _PC_PIPE_BUF using F_GETPIPE_SZ.
56639
713df3d5
RM
566402010-07-05 Roland McGrath <roland@redhat.com>
56641
56642 * manual/arith.texi (Rounding Functions): Fix rint description
56643 implicit in round description.
56644
702e8f14
UD
566452010-07-02 Ulrich Drepper <drepper@redhat.com>
56646
56647 * elf/Makefile: Fix linking for a few tests to make recent linker
56648 happy.
56649
52ed8be9
AS
566502010-06-30 Andreas Schwab <schwab@redhat.com>
56651
56652 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56653 $(common-objpfx)libc_nonshared.a.
56654
f47c9a11
LM
566552010-06-21 Luis Machado <luisgpm@br.ibm.com>
56656
56657 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56658 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56659 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56660 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56661 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56663 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56664 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56679 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56680 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56681 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56682 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56683 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56684 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56685 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56686 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56687 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56688 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56689 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56690 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56705
6fb8cbcb
L
567062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56707
56708 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56709 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56710 * string/memmove.c (memmove): Renamed to ...
56711 (MEMMOVE): ...this. Default to memmove.
56712 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56713 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56714 (END_CHK): Define.
56715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56716 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56717 mempcpy-ssse3-back memmove-ssse3-back.
56718 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56719 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56721 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56722 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56723 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56724 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56725 * sysdeps/x86_64/multiarch/memmove.c: New file.
56726 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56727 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56728 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56729 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56730 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56731 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56732 Define.
56733 (index_Fast_Copy_Backward): Define.
56734 (HAS_ARCH_FEATURE): Define.
56735 (HAS_FAST_REP_STRING): Define.
56736 (HAS_FAST_COPY_BACKWARD): Define.
56737
4e733bac 567382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56739
56740 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56741 Restore proper fallback handling.
56742
63c4ed22
UD
567432010-06-19 Ulrich Drepper <drepper@redhat.com>
56744
ac2b484c
UD
56745 [BZ #11701]
56746 * posix/group_member.c (__group_member): Correct checking loop.
56747
63c4ed22
UD
56748 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56749 OOM in getpwuid_r correctly. Return error number when the caller
56750 should return, otherwise -1.
56751 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56752 call returning > 0 value.
56753 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56754
765ade4b
AS
567552010-06-07 Andreas Schwab <schwab@redhat.com>
56756
56757 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56758 libc_nonshared.a from targets in modules-names.
56759
80da2e09
KS
567602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56761
56762 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56763 requires it.
56764
158db122
LM
567652010-06-10 Luis Machado <luisgpm@br.ibm.com>
56766
56767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56768 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56769 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56770 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56771
caa78cf8
AS
567722010-06-02 Andreas Schwab <schwab@redhat.com>
56773
56774 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56775
b2ef2c01
UD
567762010-06-14 Ulrich Drepper <drepper@redhat.com>
56777
56778 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56779 and F_GETPIPE_SZ.
56780 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56784 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56785 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56786
fbd643b6
RM
567872010-06-14 Roland McGrath <roland@redhat.com>
56788
56789 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56790
f32f2869
JJ
567912010-06-07 Jakub Jelinek <jakub@redhat.com>
56792
56793 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56794 __REDIRECT followed by __THROW.
56795 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56796 * posix/getopt.h (getopt): Likewise.
56797
2a50c078
EPM
567982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56799
56800 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56801 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56802 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56803 in AT_FLAGS.
56804 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56805 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56806
eb5ad2eb
LM
568072010-05-28 Luis Machado <luisgpm@br.ibm.com>
56808
56809 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56810
3c88fe1e
L
568112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56812
56813 [BZ #11640]
56814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56815 Properly check family and model.
56816
d2f73151
TY
568172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56818
56819 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56820
ebd2e13d
LM
568212010-05-24 Luis Machado <luisgpm@br.ibm.com>
56822
56823 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56824
b32b8b45
UD
568252010-05-21 Ulrich Drepper <drepper@redhat.com>
56826
56827 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56828 symbol reference.
56829
9acbe24d
AS
568302010-05-19 Andreas Schwab <schwab@redhat.com>
56831
56832 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56833 symbol reference.
56834
f0ccf6ea
AS
568352010-05-21 Andreas Schwab <schwab@redhat.com>
56836
3d04ff3a
AS
56837 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56838 and internal_recvmmsg.
56839 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56840 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56841 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56842 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56843
f0ccf6ea
AS
56844 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56845 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56846 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56847
5b08ac57
AS
568482010-05-20 Andreas Schwab <schwab@redhat.com>
56849
56850 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56851
4828935d
LM
568522010-05-17 Luis Machado <luisgpm@br.ibm.com>
56853
56854 POWER7 optimizations.
56855 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56856 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56857
373d545e
UD
568582010-05-19 Ulrich Drepper <drepper@redhat.com>
56859
56860 * version.h: Update for 2.13 development version.
56861
21a2b1ae
AS
568622010-05-12 Andrew Stubbs <ams@codesourcery.com>
56863
56864 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56865 exceptions. Return 0.
56866
3f7dcb2b
RM
568672010-05-07 Roland McGrath <roland@redhat.com>
56868
56869 * elf/ldconfig.c (main): Add a const.
56870
5f24d53a 568712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56872
a160f8d8
UD
56873 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56874 (args_options): Add no-idn option.
56875 (ahosts_keys_int): Add idn_flags to ai_flags.
56876 (parse_option): Handle 'i' option to clear idn_flags.
56877
5f24d53a
UD
56878 * malloc/malloc.c (_int_free): Possible race in the most recently
56879 added check. Only act on the data if no current modification
56880 happened.
265bb1ce
UD
56881
56882See ChangeLog.17 for earlier changes.