]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Cleanup: add missing #include's
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8ae4bb5a
PP
12015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 * libio/fileops.c: Add missing sys/mman.h
4 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5
18a218b7
JM
62015-02-17 Joseph Myers <joseph@codesourcery.com>
7
8 * manual/math.texi (Errors in Math Functions): Clarify goals
9 regarding inexact and underflow exceptions.
10
e72ad0ef
SE
112015-02-17 Steve Ellcey <sellcey@imgtec.com>
12
13 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14 * sysdeps/mips/memset.S: Ditto.
15
2caa4099
SE
162015-02-17 Steve Ellcey <sellcey@imgtec.com>
17
18 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19
f20bfc9b
SL
202015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21
22 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23 (__v1longjmp): Remove versioned symbol.
24 (__v1siglongjmp): Remove alias and versioned symbol.
25 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26 (__v2siglongjmp): Likewise.
27
71c06b69
TR
282015-02-16 Torvald Riegel <triegel@redhat.com>
29
30 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31
a9a05adb
MF
322015-02-16 Mike Frysinger <vapier@gentoo.org>
33
34 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
35
ce8fc784
JM
362015-02-16 Joseph Myers <joseph@codesourcery.com>
37
38 [BZ #17987]
39 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
40 zero result does not depend on the sign resulting from
41 subtraction.
42 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
43 Likewise.
44 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
45 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
46 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
48 * math/libm-test.inc (remquo_test_data): Add more tests.
49
0d7036bd
PE
502015-02-16 Paul Eggert <eggert@cs.ucla.edu>
51
52 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
53 Problem reported by J William Piggott.
54
86c56b16
JM
552015-02-16 Joseph Myers <joseph@codesourcery.com>
56
a820f9b3
JM
57 [BZ #17978]
58 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
59 products 4 * y and 2 * y where those would overflow.
60 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
61 Likewise.
62 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
63 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
64 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
65 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
66 * math/libm-test.inc (remquo_test_data): Add more tests.
67
be802953
JM
68 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
69
e5e72fe9
JM
70 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
71 [defined _COMPILING_NEWLIB].
72 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
73 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
74
86c56b16
JM
75 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
76 [!defined __mips_isa_rev || __mips_isa_rev < 6].
77
35264d14
TR
782015-02-16 Torvald Riegel <triegel@redhat.com>
79
80 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
81 acquired.
82
6f49e32a
MF
832015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
84
85 [BZ #17792]
86 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
87 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
88 HOST_STACK_END_ADDR): Likewise.
89
e525154e
SE
902015-02-13 Steve Ellcey <sellcey@imgtec.com>
91
92 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
93 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
94 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
95
4ab770b7
RM
962015-02-13 Roland McGrath <roland@hack.frob.com>
97
98 * sysdeps/generic/c++-types.data: New file.
99 * sysdeps/generic/ld.abilist: New file.
100 * sysdeps/generic/libBrokenLocale.abilist: New file.
101 * sysdeps/generic/libanl.abilist: New file.
102 * sysdeps/generic/libc.abilist: New file.
103 * sysdeps/generic/libcrypt.abilist: New file.
104 * sysdeps/generic/libdl.abilist: New file.
105 * sysdeps/generic/libm.abilist: New file.
106 * sysdeps/generic/libpthread.abilist: New file.
107 * sysdeps/generic/libresolv.abilist: New file.
108 * sysdeps/generic/librt.abilist: New file.
109
d9afe48d
JM
1102015-02-13 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #17569]
113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
114 Compute absolute value of x as modified by fmod, not original
115 value of x.
116 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
117 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
118 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
119 RUN_TEST_ffI_f1_mod8.
120 (remquo_test_data): Add more tests.
121
3846188b
RM
1222015-02-13 Roland McGrath <roland@hack.frob.com>
123
124 * sysdeps/init_array/pt-crti.S: New file.
125
95c26233
JM
1262015-02-13 Joseph Myers <joseph@codesourcery.com>
127
128 [BZ #17967]
129 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
130 __builtin_fmaf instead of relying on contraction of a * b + c.
131
3f293d61
WP
1322015-02-12 J William Piggott <elseifthen@gmx.com>
133
134 [BZ #17969]
135 * manual/time.texi: correct the zoneinfo path in the TZ Variable
136 node.
137
e8bd5286
JM
1382015-02-12 Joseph Myers <joseph@codesourcery.com>
139
140 [BZ #17964]
141 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
142 __builtin_fma instead of relying on contraction of a * b + c.
143
04f5a636
RM
1442015-02-12 Roland McGrath <roland@hack.frob.com>
145
96a15749
RM
146 * Makeconfig (ASFLAGS): Add -Werror=undef.
147 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
148 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
149 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
150
04f5a636
RM
151 * Makeconfig (after-link): New variable.
152 (+link-pie, +link-pie-tests): Use it.
153 (+link-static, +link-static-tests): Likewise.
154 (+link, +link-tests): Likewise.
155 * Makerules (build-module, build-module-asneeded): Likewise.
156 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
157 Likewise.
158 * elf/Makefile ($(objpfx)ld.so): Likewise.
159
87a629c5
RS
1602015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
161
162 [BZ #17965]
163 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
164 both struct timeval and struct timespec.
165
03d95bd4
JM
1662015-02-12 Joseph Myers <joseph@codesourcery.com>
167
168 [BZ #16560]
169 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
170 and redefine.
171 (__ieee754_exp2l): Do not multiply small fractional parts by
172 M_LN2l.
173 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
174 small argument.
175 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
176 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
177 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
178 * math/auto-libm-test-in: Add more tests of exp2.
179 * math/auto-libm-test-out: Regenerated.
180
98408b95
RS
1812015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
182
183 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
184 unaligned path.
185
6f741503
AZ
1862015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187
188 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
189 little endian.
190
2868e070
AS
1912015-02-12 Andreas Schwab <schwab@suse.de>
192
193 [BZ #15790]
194 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
195 Filter out elision flags from value returned in kind.
196 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
197 * nptl/tst-pthread-mutexattr.c: New file.
198
ebf27d12
ST
1992015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
200
201 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
202 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
203 into gnu-gnu, and update comment to refer to abi-tags.
204
d435569c
JM
2052015-02-11 Joseph Myers <joseph@codesourcery.com>
206
207 [BZ #15467]
208 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
209 (__sincos): Set errno to EDOM for infinite argument.
210 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
211 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
212 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
213 (__sincosl): Set errno to EDOM for infinite argument.
214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
215 (__sincosl): Set errno to EDOM for infinite argument.
216 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
217 (__sincosl): Set errno to EDOM for infinite argument.
218 * math/libm-test.inc (sincos_test_data): Test errno setting.
219
d35273f2
LH
2202015-02-11 Leonhard Holz <leonhard.holz@web.de>
221
222 * string/strxfrm_l.c: Remove #define STRCMP.
223 * string/strcoll_l.c: Remove #define STRLEN.
224 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
225 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
226
306bc0d1
JM
2272015-02-10 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
230 * sysdeps/mips/mips32/sfp-machine.h: ... here.
231 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
232 * sysdeps/mips/mips64/Makefile: ... here.
233 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
234 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
235 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
236 * sysdeps/mips/mips64/sfp-machine.h: ... here.
237 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
238 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
239 * sysdeps/mips/mips64/n64/Implies: Likewise.
240
92b67e8d
RM
2412015-02-10 Roland McGrath <roland@hack.frob.com>
242
243 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
244 <sys/time.h>, <string.h>, and <errno.h>.
245 (dest_offset, dest_address, value, zero): Remove unused variables.
246 (ldouble): Remove typedef.
247 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
248 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
249 1). Fix code style.
250 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
251 (check): Function removed.
252 (CHECK): New macro.
253 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
254 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
255 Don't call set_sigaction_FP and remove_sigaction_FP here.
256 (ldouble_test): Just use 'long double' as macro argument, no need for
257 the 'ldouble' typedef.
258 (do_test): Set up SIGFPE handler at start, using plain signal rather
259 than sigaction. Fix code style.
260
132a1328
EF
2612015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
262
263 [BZ #17949]
264 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
265 jump label.
266
3001e54c
AZ
2672015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
268
bc0cdc49
AZ
269 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
270 * sysdeps/powerpc/powerpc32/configure: Regenerated.
271
83658961
AZ
272 * sysdeps/powerpc/configure.ac: Remove file.
273 * sysdeps/powerpc/configure: Likewise.
274
10169938
AZ
275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
276 [sysdep_routines]: Remove wordcopy-power6 object.
277 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
278 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
279 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
280 (__memmove_ppc32): Likewise.
281 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
282 file.
283 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
285 Remove preprocessor.
286
8548a53d
AZ
287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
288 [sysdep_routines]: Remove wide chars objects.
289 [wcsmbs]: New rule for wide char objects.
290
b2692114
AZ
291 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
292 Remove wordcopy-power6 obejct.
293 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
294 Use local call for wordcopy and memcpy symbols.
295 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
296 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
297 implementation for loader.
298 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
299
18e270aa
AZ
300 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
301 Remove wordcopy-power7 object.
302 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
303 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
304 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
305 (_wordcopy_fwd_dest_aligned): Likewise.
306 (_wordcopy_bwd_aligned): Likewise.
307 (_wordcopy_bwd_dest_aligned): Likewise.
308
6f0993a6
AZ
309 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
310 Rewrite to call __memmove_ppc instead of include default
311 implementation.
312
3001e54c
AZ
313 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
314 Remove wide chars objects.
315 [wcsmbs]: New rule for wide char objects.
316
59b61c82
AS
3172015-02-09 Andreas Schwab <schwab@suse.de>
318
319 [BZ #17912]
320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
321 in terms of __O_DIRECTORY.
322
ebd7aede
ST
3232015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
324
325 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
326 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
327 call PTR_MANGLE.
328 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
329 PTR_DEMANGLE.
ebd7aede 330
3999d26e
PE
3312015-02-07 Paul Eggert <eggert@cs.ucla.edu>
332
333 Add ersatz _Static_assert on older C hosts
334 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
335 pre-C11 C platform that is not known to support _Static_assert.
336
e9a5bc1c
ST
3372015-02-07 Richard Braun <rbraun@sceen.net>
338
339 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
340 sigstate.
e86c5b64 341 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 342
e2049d17
ST
3432015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
344
345 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
346 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
347 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
348 instead of int.
349 * misc/fchflags.c (fchflags): Likewise.
350 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
351 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
352 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
353 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
354 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
355 Declare macros.
356 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
357 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
358 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
359 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
360 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
361 45.
a9a002fb
ST
362 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
363 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
364 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
365 MACH_RCV_TIMED_OUT.
f96ec27a
ST
366 * hurd/hurd/signal.h (_hurd_self_sigstate,
367 _hurd_critical_section_lock, _hurd_critical_section_unlock):
368 Explicit casts from void *.
4fc81a77 369 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 370 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 371
f05826f0
ST
372 [BZ #4719]
373 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
374 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
375 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
376 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
377 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
378 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
379
a5eb23de
ST
380 [BZ #17944]
381 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
382 duplicates ADDR->sun_path with sockaddr LEN limitation.
383 * sysdeps/mach/hurd/connect.c: Include <string.h>
384 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
385 * sysdeps/mach/hurd/sendmsg.c: Likewise.
386 * sysdeps/mach/hurd/sendto.c: Likewise.
387 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
388 implementing it by hand.
389
ac9e0e5e
RM
3902015-02-06 Roland McGrath <roland@hack.frob.com>
391
f8d1bb4c
RM
392 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
393 Use sfi_breg on ldr.
394 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
395 Likewise.
396
022f4812
RM
397 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
398 it's defined.
399 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
400 Test SIGSETXID only if it's defined.
401
1ac074e6
RM
402 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
403
f50ad78b
RM
404 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
405 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
406
9e7265f4
RM
407 * nptl/tst-align2.c: Moved ...
408 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
409 * nptl/Makefile (tests): Remove tst-align2.
410 * sysdeps/unix/sysv/linux/Makefile
411 [$(subdir) = nptl] (tests): Add tst-align-clone.
412 * nptl/tst-getpid1.c: Moved ...
413 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
414 * nptl/tst-getpid2.c: Moved ...
415 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
416 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
417 * sysdeps/unix/sysv/linux/Makefile
418 [$(subdir) = nptl] (tests): ... here.
419 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
420 * sysdeps/unix/sysv/linux/Makefile
421 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
422
62ad2abc
RM
423 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
424 Drop trailing \n from perror argument. Use return rather than exit.
425
cfa69b0b
RM
426 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
427 on [SA_SIGINFO].
428 * nptl/tst-cancel21.c (do_test): Likewise.
429 * debug/tst-backtrace6.c: Include <signal.h> first thing.
430 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
431 [!SA_SIGINFO]: Make it a stub test.
432
82727806
RM
433 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
434 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
435
da3a1594
RM
436 * posix/tst-getlogin.c: Move to ...
437 * login/tst-getlogin.c: ... here.
438 * posix/Makefile (tests): Move tst-getlogin to ...
439 * login/Makefile (tests): ... here.
440
b65c0ff9
RM
441 * libio/tst-atime.c (do_test): Move local variables SV and E
442 inside [ST_NOATIME] conditional.
443
56606ab3
RM
444 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
445
ebf7d6ee
RM
446 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
447
ca0e0675
RM
448 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
449 (wait_code): New function replaces macro.
450 Call nanosleep rather than syscall.
451
8c28bbc6
RM
452 * nptl/pt-system.c: Rewritten. Put everything under
453 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
454 Use IFUNC to redirect when possible.
455
ec2a88b3
RM
456 * nptl/pt-longjmp.c: Rewritten. Put everything under
457 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
458 Use IFUNC to redirect when possible.
459
beff1d13
RM
460 * nptl/pt-fork.c: Rewritten. Put everything under
461 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
462 Use IFUNC to redirect when possible.
463 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
464
ea02c6b8
RM
465 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
466 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
467 unconditionally nowadays. This included the only reference to
468 __vdso_clock_gettime that appears outside libc proper.
469 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
470 Remove version set (containing only __vdso_clock_gettime).
471 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
472 Add attribute_hidden.
473 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
474 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
475 libc_hidden_data_def.
476 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
477 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
478
a1309c2b
RM
479 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
480 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
481 setrpcent, and getrpcport to ...
482 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
483 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
484 getrpcbynumber_r, and getrpcent_r to ...
485 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
486 * inet/getrpcbyname.c: Moved ...
487 * sunrpc/getrpcbyname.c: ... here.
488 * inet/getrpcbyname_r.c: Moved ...
489 * sunrpc/getrpcbyname_r.c: ... here.
490 * inet/getrpcbynumber.c: Moved ...
491 * sunrpc/getrpcbynumber.c: ... here.
492 * inet/getrpcbynumber_r.c: Moved ...
493 * sunrpc/getrpcbynumber_r.c: ... here.
494 * inet/getrpcent.c: Moved ...
495 * sunrpc/getrpcent.c: ... here.
496 * inet/getrpcent_r.c: Moved ...
497 * sunrpc/getrpcent_r.c: ... here.
498 * inet/Makefile (routines): Move those to ...
499 * sunrpc/Makefile (routines): ... here.
500 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
501 the $(subdirs) list.
502 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
503 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
504 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
505 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
506
ac9e0e5e
RM
507 * elf/Makefile (routines): Include $(all-dl-routines), not just
508 $(dl-routines).
509 (rtld-routines): Likewise. Use = rather than :=.
510 * sysdeps/aarch64/Makefile [$(subdir) = elf]
511 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
512 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
513 * sysdeps/arm/Makefile: Likewise.
514 * sysdeps/i386/Makefile: Likewise.
515 * sysdeps/x86_64/Makefile: Likewise.
516 * sysdeps/hppa/Makefile [$(subdir) = elf]
517 (sysdep_routines, sysdep-rtld-routines): Don't add
518 $(sysdep-dl-routines) to these.
519 * sysdeps/ia64/Makefile: Likewise.
520 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
521 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
522 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
523 Don't add dl-static to these; sysdep-dl-routines alone is enough.
524 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
525 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
527 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
528 * sysdeps/powerpc/Makefile [$(subdir) = elf]
529 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
530 these; sysdep-dl-routines alone is enough.
531
639e42eb
JM
5322015-02-06 Joseph Myers <joseph@codesourcery.com>
533
1c7a4a51
JM
534 [BZ #17932]
535 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
536 where multiplication results in zero and third argument is finite
537 and nonzero.
538 * math/auto-libm-test-in: Add more tests of fma.
539 * math/auto-libm-test-out: Regenerated.
540
61f006c1
JM
541 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
542 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
543 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
544 (_FP_CMP_EQ): Likewise.
545 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
546
639e42eb
JM
547 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
548 extra argument CHECK_NAN. Redefine as wrapper around
549 _FP_EXTEND_CNAN.
550
3c0c543b
CD
5512015-02-06 Carlos O'Donell <carlos@systemhalted.org>
552
4e42b5b8
CD
553 * version.h (RELEASE): Set to "stable".
554 (VERSION): Set to "2.21"
555 * include/features.h (__GLIBC_MINOR__): Set to 21.
556
3c0c543b
CD
557 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
558
5bd80bfe 5592015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 560 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
561
562 [BZ #16618]
563 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
565 size in bytes. Store needed elements in wpmax. Use needed size
566 in bytes for extend_alloca.
567
3f823f48
CD
5682015-02-05 Carlos O'Donell <carlos@systemhalted.org>
569
04cb913d
CD
570 * manual/install.texi: Latest tested versions are GCC 4.9.2,
571 binutls 2.25, and texinfo 5.2.
572 * INSTALL: Regenerate.
573 * sysdeps/nios2/configure: Regenerate.
574 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
575 * manual/contrib.texi: Update.
576 * po/be.po: Update.
577 * po/bg.po: Update.
578 * po/ca.po: Update.
579 * po/cs.po: Update.
580 * po/da.po: Update.
581 * po/de.po: Update.
582 * po/el.po: Update.
583 * po/eo.po: Update.
584 * po/es.po: Update.
585 * po/fi.po: Update.
586 * po/fr.po: Update.
587 * po/gl.po: Update.
588 * po/hr.po: Update.
589 * po/hu.po: Update.
590 * po/ia.po: Update.
591 * po/id.po: Update.
592 * po/it.po: Update.
593 * po/ja.po: Update.
594 * po/ko.po: Update.
595 * po/lt.po: Update.
596 * po/nb.po: Update.
597 * po/nl.po: Update.
598 * po/pl.po: Update.
599 * po/pt_BR.po: Update.
600 * po/ru.po: Update.
601 * po/rw.po: Update.
602 * po/sk.po: Update.
603 * po/sl.po: Update.
604 * po/sv.po: Update.
605 * po/tr.po: Update.
606 * po/uk.po: Update.
607 * po/vi.po: Update.
608 * po/zh_CN.po: Update.
609 * po/zh_TW.po: Update.
610
3f823f48
CD
611 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
612 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
613 * sysdeps/hppa/dl-irel.h: Remove #warning.
614 * sysdeps/hppa/entry.h: Provide prototype for
615 __canonicalize_funcptr_for_compare and cast argument.
616 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
617 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
618 * sysdeps/hppa/sotruss-lib.c: New file.
619 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
620 (atomic_compare_and_exchange_val_acq): Use __typeof__.
621 (atomic_compare_and_exchange_bool_acq): Likewise.
622 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
623 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
624
625 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
626 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
627 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
628
34c56048
CLT
6292015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
630
631 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
632 called function in non-PIC case.
633
d4abeca5
DM
6342015-01-31 David S. Miller <davem@davemloft.net>
635
edac0a60
DM
636 * sysdeps/sparc/sparc32/bits/atomic.h
637 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
638 unlock not after it.
639 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
640 volatile register usage warnings from the compiler.
641
d4abeca5
DM
642 * sysdeps/sparc/nptl/sem_init.c: Delete.
643 * sysdeps/sparc/nptl/sem_post.c: Delete.
644 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
645 * sysdeps/sparc/nptl/sem_wait.c: Delete.
646 * sysdeps/sparc/sparc32/sem_init.c: New file.
647 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
648 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
649 padding explicitly initialized.
650 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
651 padding for in-semaphore spinlock.
652 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
653 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
654 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
655 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
656 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
657 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
658 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
659 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
660 version.
661 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
662 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
663
5f3d0b78
L
6642015-01-30 H.J. Lu <hongjiu.lu@intel.com>
665
666 [BZ #17801]
667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
668 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
669 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
670 New.
671 (index_AVX_Fast_Unaligned_Load): Likewise.
672 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
673 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
674 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
675 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
676 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
677 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
678 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
679 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
680 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
681
b658fdd8
AS
6822015-01-29 Andreas Schwab <schwab@suse.de>
683
684 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
685
3cb26316
SP
6862015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
687
688 [BZ #17892]
689 * nscd/nscd_stat.c (send_stats): Initialize DATA.
690
527de9e4
MS
6912015-01-28 Martin Sebor <msebor@redhat.com>
692
693 * math/README.libm-test: Clarify. Add "How to read the test output."
694
06991eb8
CM
6952015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
696
697 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
698 Define to 0.
699
df341342
JM
7002015-01-28 Joseph Myers <joseph@codesourcery.com>
701
702 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
703 (__HAVE_64B_ATOMICS): Define to 0.
704
08cee2a4
AZ
7052015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
706
d4d0ecb2
AZ
707 [BZ #17885]
708 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
709 value to set as new flag.
710
08cee2a4
AZ
711 [BZ #16576]
712 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
713 and use _ARCH_PPCSQ instead.
714 (__ieee754_sqrt): Likewise.
715 (__ieee754_sqrtf): Likewise.
716 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
717 _ARCH_PPCSQ is defined.
718 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
719 fsqrt instruction.
720 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
721 _ARCH_PPCSQ is defined.
722 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
723 fsqrts instruction.
724 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
725
5fe8e359
AK
7262015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
727
728 * iconv/loop.c: Suppress array out of bound warning caused by GCC
729 bug (GCC BZ #64739).
730
24bb7432
AS
7312015-01-25 Andreas Schwab <schwab@linux-m68k.org>
732
fa20da31
AS
733 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
734 Mark _retval as used.
735 (lll_futex_wake_unlock): Likewise.
736 (lll_futex_timed_wait_requeue_pi): Likewise.
737
45819cbc
AS
738 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
739 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
740 register variables.
741
403cc231
AS
742 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
743 libm_hidden_def.
744
24bb7432
AS
745 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
746 (__bswap_64): Mark as __always_inline.
747
9317ea65
B
7482015-01-25 Bram <bug_rh@spam.wizbit.be>
749
750 [BZ #15378]
751 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
752 when none of the search directories exist.
753
0e87343e
AZ
7542015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
755
bea58013
AZ
756 [BZ #17869]
757 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
758 power8 in .machine directive.
759
0e87343e
AZ
760 [BZ #17868]
761 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
762 set dependency from opd value.
763
ede0236c
L
7642015-01-23 H.J. Lu <hongjiu.lu@intel.com>
765
766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
767 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
768 architecture.
ede0236c 769
22971c35
L
7702015-01-23 H.J. Lu <hongjiu.lu@intel.com>
771
772 [BZ #17870]
773 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
774 with uint64_t.
775 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
776 (uint64_t) 1.
e0da28a1 777 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
778 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
779 Replace 1UL with (uint64_t) 1.
780 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
781 int with uint64_t.
782
da5bf245
RM
7832015-01-23 Roland McGrath <roland@hack.frob.com>
784
2ec2d703
RM
785 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
786 (if_freenameindex): Likewise.
787
da5bf245
RM
788 * resource/getrlimit64.c: Add missing libc_hidden_def.
789
d7423856
JM
7902015-01-22 Joseph Myers <joseph@codesourcery.com>
791
792 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
793 __label__.
794 (_FP_FMA): Likewise.
795 (_FP_TO_INT_ROUND): Likewise.
796 (_FP_FROM_INT): Likewise.
797
6b2ba95b
AZ
7982015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799
800 [BZ #16418]
801 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
802 Make code racy and cancel safe.
803
ccdb048d
CD
8042015-01-21 Carlos O'Donell <carlos@redhat.com>
805
191220b3
CD
806 * sysdeps/arm/unwind-resume.h: Fix copyright year.
807 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
808 attribution.
809
0897c551
CD
810 * pwd/tst-getpw.c: Rewrite.
811
ccdb048d
CD
812 [BZ #17702]
813 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
814 (modules-names): Add moddummy1 and moddummy2.
815 ($(objpfx)tst-rec-dlopen): Define.
816 * dlfcn/moddummy1.c: New file.
817 * dlfcn/moddummy2.c: New file.
818 * dlfcn/tst-rec-dlopen.c: New file.
819 * elf/dl-cache.c (_dl_load_cache_lookup):
820 Return char*. Copy result with alloca/strcpy/strdup.
821 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
822 returns char*. Free cached. If not saving realname
823 free cached.
824 * elf/dl-open.c (dl_open_worker): Do not assert that
825 _r_debug->r_state is RT_CONSISTENT.
826 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
827 returns char*.
828
042e1521
CD
8292015-01-21 Torvald Riegel <triegel@redhat.com>
830 Carlos O'Donell <carlos@redhat.com>
831
832 [BZ #12674]
833 * nptl/sem_waitcommon.c: New file.
834 * nptl/sem_wait.c: Include sem_waitcommon.c.
835 (__sem_wait_cleanup, do_futex_wait): Remove.
836 (__new_sem_wait): Adapt.
837 (__new_sem_trywait): New function.
838 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
839 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
840 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
841 (sem_timedwait): Adapt.
842 * nptl/sem_post.c (__new_sem_post): Adapt.
843 (futex_wake): New function.
844 (__old_sem_post): Add release MO fence.
845 * nptl/sem_open.c (sem_open): Adapt.
846 * nptl/sem_init.c (__new_sem_init): Adapt.
847 (futex_private_if_supported): New function.
848 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
849 (__old_sem_getvalue): Add using previous code.
850 * sysdeps/nptl/internaltypes.h: Adapt.
851 * nptl/tst-sem13.c (do_test): Adapt.
852 * nptl/tst-sem11.c (main): Adapt.
853 * nptl/sem_trywait.c: Remove.
854 * nptl/DESIGN-sem.txt: Remove.
855 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
856 (gen-as-const-headers): Remove structsem.sym.
857 * nptl/structsem.sym: Remove.
858 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
859 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
860 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
861 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
862 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
863 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
864 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
865 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
866 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
867 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
868 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
869 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
870 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
871 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
872 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
873 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
874 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
875 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
876 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
877 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
878 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
879 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
880
fe0e85af
CD
8812015-01-20 Carlos O'Donell <carlos@redhat.com>
882
a8db092e
CD
883 * INSTALL: Regenerated.
884
fe0e85af
CD
885 * po/libc.pot: Regenerated.
886
522e6ee3
CLT
8872015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
888 Sandra Loosemore <sandra@codesourcery.com>
889 Andrew Jenner <andrew@codesourcery.com>
890 Joseph Myers <joseph@codesourcery.com>
891 Nathan Sidwell <nathan@codesourcery.com>
892
893 * NEWS: Mention new Nios II port.
894 * sysdeps/nios2/Implies: New file.
895 * sysdeps/nios2/Makefile: New file.
896 * sysdeps/nios2/Subdirs: New file.
897 * sysdeps/nios2/Versions: New file.
898 * sysdeps/nios2/__longjmp.S: New file.
899 * sysdeps/nios2/abort-instr.h: New file.
900 * sysdeps/nios2/backtrace.c: New file.
901 * sysdeps/nios2/bits/endian.h: New file.
902 * sysdeps/nios2/bits/fenv.h: New file.
903 * sysdeps/nios2/bits/link.h: New file.
904 * sysdeps/nios2/bits/setjmp.h: New file.
905 * sysdeps/nios2/bsd-_setjmp.S: New file.
906 * sysdeps/nios2/bsd-setjmp.S: New file.
907 * sysdeps/nios2/configure: New generated file.
908 * sysdeps/nios2/configure.ac: New file.
909 * sysdeps/nios2/crti.S: New file.
910 * sysdeps/nios2/crtn.S: New file.
911 * sysdeps/nios2/dl-init.c: New file.
912 * sysdeps/nios2/dl-machine.h: New file.
913 * sysdeps/nios2/dl-sysdep.h: New file.
914 * sysdeps/nios2/dl-tls.h: New file.
915 * sysdeps/nios2/dl-trampoline.S: New file.
916 * sysdeps/nios2/gccframe.h: New file.
917 * sysdeps/nios2/gmp-mparam.h: New file.
918 * sysdeps/nios2/jmpbuf-offsets.h: New file.
919 * sysdeps/nios2/jmpbuf-unwind.h: New file.
920 * sysdeps/nios2/ldsodefs.h: New file.
921 * sysdeps/nios2/libc-tls.c: New file.
922 * sysdeps/nios2/libm-test-ulps: New file.
923 * sysdeps/nios2/machine-gmon.h: New file.
924 * sysdeps/nios2/math-tests.h: New file.
925 * sysdeps/nios2/math_private.h: New file.
926 * sysdeps/nios2/memusage.h: New file.
927 * sysdeps/nios2/nptl/Makefile: New file.
928 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
929 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
930 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
931 * sysdeps/nios2/nptl/pthreaddef.h: New file.
932 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
933 * sysdeps/nios2/nptl/tls.h: New file.
934 * sysdeps/nios2/preconfigure: New file.
935 * sysdeps/nios2/s_fma.c: New file.
936 * sysdeps/nios2/s_fmaf.c: New file.
937 * sysdeps/nios2/setjmp.S: New file.
938 * sysdeps/nios2/sfp-machine.h: New file.
939 * sysdeps/nios2/sotruss-lib.c: New file.
940 * sysdeps/nios2/stackguard-macros.h: New file.
941 * sysdeps/nios2/stackinfo.h: New file.
942 * sysdeps/nios2/start.S: New file.
943 * sysdeps/nios2/sysdep.h: New file.
944 * sysdeps/nios2/tls-macros.h: New file.
945 * sysdeps/nios2/tst-audit.h: New file.
946 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
947 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
948 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
949 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
950 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
951 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
952 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
953 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
954 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
955 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
956 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
957 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
958 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
959 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
960 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
961 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
962 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
963 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
964 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
965 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
966 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
967 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
968 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
969 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
970 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
971 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
972 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
973 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
974 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
975 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
976 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
977 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
978 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
979 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
980 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
981 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
982 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
983 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
984 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
985 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
986 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
987 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
988 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
989 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
990
026eb207
SL
9912015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
992
993 [BZ #17844]
994 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
995 (getutent): Use weak_alias in non SHARED case
996 and default_symbol_version in SHARED case.
997 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
998 (getutent_r, pututline): Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1000 (getutid): Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1002 (getutid_r): Likewise.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1004 (getutline): Likewise.
1005 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1006 (getutline_r): Likewise.
1007 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1008 (updwtmp): Likewise.
1009
1d532483
SL
10102015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1011
1012 [BZ #17848]
1013 * sysdeps/s390/s390-32/memcmp.S
1014 (memcmp_g5): Rename to __memcmp_g5.
1015 * sysdeps/s390/s390-32/memcpy.S
1016 (memcpy_g5): Rename to __memcpy_g5.
1017 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1018 (memcpy_mvcle) Rename to __memcpy_mvcle.
1019 * sysdeps/s390/s390-32/memset.S
1020 (memset_g5): Rename to __memset_g5.
1021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1022 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1023 and use prefixed functions.
1024 * sysdeps/s390/s390-32/multiarch/memcmp.S
1025 (memcmp_z196): Rename to __memcmp_z196.
1026 (memcmp_z10): Rename to __memcmp_z10.
1027 (memcmp): Set alias to __memcmp_g5.
1028 (bcmp): Set alias to __memcmp_g5.
1029 * sysdeps/s390/s390-32/multiarch/memcpy.S
1030 (memcpy_z196): Rename to __memcpy_z196.
1031 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1032 (memcpy_z10): Rename to __memcpy_z10.
1033 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1034 (memcpy): Set alias to __memcpy_g5.
1035 * sysdeps/s390/s390-32/multiarch/memset.S
1036 (memset_z196): Rename to __memset_z196.
1037 Jump to __memset_mvcle instead of memset_mvcle.
1038 (memset_z10): Rename to __memset_z10.
1039 Jump to __memset_mvcle instead of memset_mvcle.
1040 (memset_mvcle) Rename to __memset_mvcle.
1041 (memset): Set alias to __memset_g5.
1042 * sysdeps/s390/s390-64/memcmp.S
1043 (memcmp_z900): Rename to __memcmp_z900.
1044 * sysdeps/s390/s390-64/memcpy.S
1045 (memcpy_z900): Rename to __memcpy_z900.
1046 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1047 (memcpy_mvcle) Rename to __memcpy_mvcle.
1048 * sysdeps/s390/s390-64/memset.S
1049 (memset_z900): Rename to __memset_z900.
1050 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1051 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1052 and use prefixed functions.
1053 * sysdeps/s390/s390-64/multiarch/memcmp.S
1054 (memcmp_z196): Rename to __memcmp_z196.
1055 (memcmp_z10): Rename to __memcmp_z10.
1056 (memcmp): Set alias to __memcmp_z900.
1057 (bcmp): Set alias to __memcmp_z900.
1058 * sysdeps/s390/s390-64/multiarch/memcpy.S
1059 (memcpy_z196): Rename to __memcpy_z196.
1060 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1061 (memcpy_z10): Rename to __memcpy_z10.
1062 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1063 (memcpy): Set alias to __memcpy_z900.
1064 * sysdeps/s390/s390-64/multiarch/memset.S
1065 (memset_z196): Rename to __memset_z196.
1066 Jump to __memset_mvcle instead of memset_mvcle.
1067 (memset_z10): Rename to __memset_z10.
1068 Jump to __memset_mvcle instead of memset_mvcle.
1069 (memset_mvcle) Rename to __memset_mvcle.
1070 (memset): Set alias to __memset_z900.
1071
53fbd169
JM
10722015-01-14 Joseph Myers <joseph@codesourcery.com>
1073
1074 [BZ #17748]
1075 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1076 __fesetenv instead of fesetenv.
1077
d639a363
SP
10782015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1079
1080 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1081 macro.
1082
d3b00f46
AZ
10832015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1084
ce6615c9
AZ
1085 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1086 regression on LE.
1087
d3b00f46
AZ
1088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1089 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1090 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1091 strncmp-power8 object.
1092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1093 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1094 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1095 * NEWS: Update.
1096
72607db0
RS
10972015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1098 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099
1100 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1101 trailing byte check.
1102
54dc5461
DM
11032015-01-13 David S. Miller <davem@davemloft.net>
1104
1105 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1106
1c6e6f23
RM
11072015-01-13 Roland McGrath <roland@hack.frob.com>
1108
1109 * login/logout.c (logout): Use memset rather than bzero.
1110 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1111 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1112 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1113 (_gethtbyaddr): Likewise.
1114 * locale/programs/simple-hash.c (bcopy): Macro removed.
1115
96d6fd6c
AZ
11162015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1117
8bedcb5f
AZ
1118 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1119 Add strcmp-power8 object.
1120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1121 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1122 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1123 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1124 __strcmp_power8 implementation.
1125 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1126 * NEWS: Update.
1127
f06a4faf
AZ
1128 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1129 Add strncpy-power8 and stpncpy-power8 objects.
1130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1131 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1132 implementations.
1133 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1135 __stpncpy_power8 implementation.
1136 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1137 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1138 __strncpy_power8 implementation.
1139 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1140 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1141 * NEWS: Update.
1142
9f2f36e5
AZ
1143 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1144 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1145 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1146
96d6fd6c 1147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1148 strncat-power8 object.
1149 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1150 __strcat_power8 implementation.
1151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1152 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1153 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1154 optimized strcat for power8.
1155
1156 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1157 strcpy-power8 and stpcpy-power8 objects.
1158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1159 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1160 implementations.
1161 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1162 multiarch stpcpy implementation for POWER8.
1163 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1164 multiarch strcpy implementation for POWER8.
1165 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1166 __strcpy_power8 function.
1167 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1168 stpcpy for POWER8.
1169 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1170 strcpy for POWER8.
1171 * NEWS: Update.
1172
0f9e5854
LH
11732015-01-13 Leonhard Holz <leonhard.holz@web.de>
1174
1175 [BZ #16009]
1176 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1177 weights and rules. Use do_xfrm_cached if data fits in cache,
1178 do_xfrm otherwise. Moved former main loop to...
1179 * (do_xfrm_cached): New function.
1180 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1181 find_idx, find_position and stack_push.
1182 * (find_idx): New function.
1183 * (find_position): Likewise.
1184 * localedata/sort-test.sh: Added test run for do_xfrm.
1185 * localedata/xfrm-test.c (main): Added command line option
1186 -nocache to run the test with strings that are too large for
1187 the STRXFRM cache.
1188
c60ec0e0
TR
11892015-01-13 Torvald Riegel <triegel@redhat.com>
1190
1191 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1192 variable to lll_futex_wake call, not the value itself.
1193
34e93d6c
JM
11942015-01-12 Joseph Myers <joseph@codesourcery.com>
1195
5a9e4c09
JM
1196 [BZ #17803]
1197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1198 twom64. Adjust value to 0x1p-64L.
1199 (__scalblnl): Only return standard underflowing result for K <=
1200 -64 not K <= -63; adjust exponent for underflowing result by 64
1201 not 63.
1202 * math/libm-test.inc (scalbn_test_data): Add more tests.
1203 (scalbln_test_data): Likewise.
1204
34e93d6c
JM
1205 [BZ #17834]
1206 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1207 0x1p63L.
1208 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1209 not HX.
1210 * math/libm-test.inc (scalbn_test_data): Add more tests.
1211 (scalbln_test_data): Likewise.
1212
ca677d3c
AZ
12132015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214 Stefani Seibold <stefani@seibold.net>
1215
1216 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1217 (sysdep_routines): Add dl-vdso here, ...
1218 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1219 (sysdep_routines): ... not here.
1220 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1221 fallback when vDSO is not presented.
1222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1223 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1224 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1225 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1226 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1227 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1228 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1230 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1232 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1233 fallback configurable symbol when vDSO is not available.
1234 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1235 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1236 be able to redefine fallback symbol when vDSO is not available.
1237 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1238 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1239
49a9f6ab 12402015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1241
56cf2763
AZ
1242 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1243 (TLS_INIT_TP): Add tm_capable initialization.
1244 (TLS_DEFINE_INIT_TP): Likewise.
1245 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1246 TCB.
1247 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1248 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1249 calculation.
1250 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1251 transactoion is lock elision is built and TCB tm_capable is set.
1252 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1254 (INTERNAL_SYSCALL_NCS): Likewise.
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1256 (INTERNAL_SYSCALL_NCS): Likewise.
1257 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1258
4b45943a
AZ
1259 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1260 for powerpc.
1261 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1262 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1263 and remove it for 32 bits case.
1264 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1266 initialization.
1267 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1268 Disable lock elision with rdlocks if elision is not available.
1269
8d2c0a59
AZ
1270 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1271 (sysdep_routines): Add lock elision objects.
1272 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1273 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1274 [pthread_mutex_t] (__elision): Add field.
1275 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1276 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1277 elision definitions for powerpc.
1278 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1279 implementation of lock elision for powerpc.
1280 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1281 implementation of timed lock elision for powerpc.
1282 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1283 implementation of trylock with lock elision for powerpc.
1284 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1285 implementaion of unlock for lock elision for powerpc.
1286 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1287 automatic enable lock elision for mutexes.
1288 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1289 transaction execution definitions for powerpc.
1290 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1291 definitions.
1292 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1293 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1294 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1295 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1296 * NEWS: Update.
1297
bc0ed9f7
RM
12982015-01-09 Roland McGrath <roland@hack.frob.com>
1299
1300 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1301 for #include of <shm-directory.h>.
1302
585d9c18
CLT
13032015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1304
1305 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1306 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1307
aee6626c
MF
13082015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1309
1310 [BZ #17791]
1311 * NEWS: Mention bug fix.
1312 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1313 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1314 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1315
9e560f48
TR
13162015-01-09 Torvald Riegel <triegel@redhat.com>
1317
1318 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1319
e1cfbd0c
TR
13202015-01-09 Torvald Riegel <triegel@redhat.com>
1321
1322 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1323
cf71e44f
DH
13242015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1325
1326 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1327 pointer and cast to uintptr_t.
1328
b360ee62
DH
13292015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1330
1331 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1332 removed.
1333 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1334
caff764e
DH
13352015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1336
1337 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1338 of 0.
1339
59ff172f
RM
13402015-01-08 Roland McGrath <roland@hack.frob.com>
1341
c97d27f1
RM
1342 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1343 <nptl/pthreadP.h> instead.
1344 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1345
08734ccd
RM
1346 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1347 already defined.
1348 [__SIGRTMIN] (init): Function removed.
1349 [__SIGRTMIN] (initialized): Variable removed.
1350 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1351 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1352 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1353 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1354 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1355 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1356 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1357 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1358 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1359 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1360 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1361 * sysdeps/nptl/allocrtsig.c: New file.
1362 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1363 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1364 * sysdeps/generic/testrtsig.h: File removed.
1365
7b052e33
RM
1366 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1367 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1368
cc40d25e
RM
1369 * nptl/nptl-init.c (pthread_functions): Conditionalize
1370 .ptr__nptl_setxid initialization on [SIGSETXID].
1371
9287adf0
RM
1372 * sysdeps/nptl/sys/procfs.h: New file.
1373 * nptl_db/Makefile (headers): Add it.
1374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1375
59ff172f
RM
1376 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1377 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1378 * nptl/pthread_attr_setaffinity.c: Include it.
1379 * nptl/pthread_setattr_default_np.c: Likewise.
1380 * nptl/check-cpuset.h: New file.
1381
b9205857
RH
13822015-01-08 Richard Henderson <rth@redhat.com>
1383
1384 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1385 (CFLAGS-tst-execstack-prog.c): Likewise.
1386 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1387
1a0a8d15
CLT
13882015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1389 Sandra Loosemore <sandra@codesourcery.com>
1390 Andrew Jenner <andrew@codesourcery.com>
1391 Joseph Myers <joseph@codesourcery.com>
1392 Nathan Sidwell <nathan@codesourcery.com>
1393
1394 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1395 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1396 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1397 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1398 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1399 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1400 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1401 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1402 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1403 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1404 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1405 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1406 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1407 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1408 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1409 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1410 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1411
dd6e8af6
AZ
14122015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413
1414 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1415 timespec struct member in syscall macro.
1416 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1417 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1418 first timeval struct member in syscall macro.
1419 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1420
8116321f
JM
14212015-01-07 Joseph Myers <joseph@codesourcery.com>
1422
1423 [BZ #17748]
1424 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1425 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1426 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1427 __feupdateenv and define as weak alias of __feupdateenv. Use
1428 libm_hidden_weak.
1429 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1430 libm_hidden_def.
1431 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1432 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1433 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1434 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1435 libm_hidden_def.
1436 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1437 __feupdateenv and define as weak alias of __feupdateenv. Use
1438 libm_hidden_weak.
1439 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1440 libm_hidden_def.
1441 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1442 __feupdateenv and define as weak alias of __feupdateenv. Use
1443 libm_hidden_weak.
1444 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1445 libm_hidden_def.
1446 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1447 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1448 (__feupdateenv): Likewise.
1449 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1450 __feupdateenv and define as weak alias of __feupdateenv. Use
1451 libm_hidden_weak.
1452 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1453 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1454 libm_hidden_def.
1455 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1456 function.
1457 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1458 libm_hidden_def.
1459 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1460 __feupdateenv instead of feupdateenv.
1461 (default_libc_feupdateenv_test): Likewise.
1462 (libc_feresetround_ctx): Likewise.
1463
882dfe18
AZ
14642015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1467 prototype.
1468
39a12f8d
CM
14692015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1470
1471 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1472 COLL_SYM in a couple of places to avoid uninitialized variable
1473 wanings on tilegx gcc 4.8.2.
1474
dc400d7b
RE
14752015-01-07 Richard Earnshaw <rearnsha@arm.com>
1476
1477 * sysdeps/aarch64/strcpy.S: New file.
1478 * sysdeps/aarch64/stpcpy.S: New file.
1479 * NEWS: Updated.
1480
ec582ca0
RE
14812015-01-07 Richard Earnshaw <rearnsha@arm.com>
1482
1483 * sysdeps/aarch64/strrchr.S: New file.
1484 * NEWS: Updated.
1485
d5b1c5ed
EB
14862015-01-07 Eric Biggers <ebiggers3@gmail.com>
1487
1488 [BZ #17658]
1489 * stdlib/setenv.c: Fix memory leak when setting large,
1490 duplicate string.
1491
fb87ee96
VN
14922015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1493
60f046a8 1494 [BZ #17273]
fb87ee96
VN
1495 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1496 and tabs from buffer before parsing fstab entry.
1497 * misc/tst-mntent.c (main): Add test for mount entry with
1498 trailing spaces and tabs.
1499
cd42798a
JM
15002015-01-06 Joseph Myers <joseph@codesourcery.com>
1501
01238691
JM
1502 [BZ #17748]
1503 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1504 * math/fesetround.c (fesetround): Rename to __fesetround and
1505 define as weak alias of __fesetround. Use libm_hidden_weak.
1506 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1507 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1508 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1509 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1510 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1511 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1512 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1513 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1514 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1515 __fesetround_inline.
1516 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1517 __fesetround_inline instead of __fesetround.
1518 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1519 __fesetround and define as weak alias of __fesetround. Use
1520 libm_hidden_weak. Call __fesetround_inline instead of
1521 __fesetround.
1522 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1523 __fesetround and define as weak alias of __fesetround. Use
1524 libm_hidden_weak.
1525 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1526 Likewise.
1527 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1528 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1529 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1530 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1531 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1532 __fesetround and define as weak alias of __fesetround. Use
1533 libm_hidden_weak.
1534 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1535 __fesetround instead of fesetround.
1536 (default_libc_feholdexcept_setround): Likewise.
1537 (libc_feholdsetround_ctx): Likewise.
1538 (libc_feholdsetround_noex_ctx): Likewise.
1539
cd42798a
JM
1540 [BZ #17748]
1541 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1542 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1544 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1545 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1546 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1547 define as weak alias of __fesetenv. Use libm_hidden_weak.
1548 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1549 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1550 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1551 define as weak alias of __fesetenv. Use libm_hidden_weak.
1552 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1553 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1554 define as weak alias of __fesetenv. Use libm_hidden_weak.
1555 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1556 libm_hidden_def.
1557 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1558 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1559 Likewise.
1560 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1561 define as weak alias of __fesetenv. Use libm_hidden_weak.
1562 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1563 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1564 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1565 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1566 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1567 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1568 __fesetenv instead of fesetenv.
1569 (libc_feresetround_noex_ctx): Likewise.
1570 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1571 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1572 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1573 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1574 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1575 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1576 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1577 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1578 (__feupdateenv): Likewise.
1579 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1580 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1581 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1582 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1583
38949026
AJ
15842015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1585
1cf98e27 1586 [BZ #17806]
38949026
AJ
1587 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1588 addresses have been freed.
1589
5fe55e9c
AJ
15902015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1591
1592 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1593 and nservall.
1594
dc8ab018
OB
15952015-01-06 Ondřej Bílka <neleai@seznam.cz>
1596
1597 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1598 Clean up check_pf allocation pattern. addresses
1599
14bb4e57
AZ
16002015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1601
1602 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1603 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1604 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1605 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1606 * nptl/pthread_join.c (pthread_join): Likewise.
1607 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1608 * sysdeps/posix/waitid.c (__waitid): Likewise.
1609 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1610 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1611 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1612 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1613 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1614 Likewise.
1615 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1616 (__libc_pread64): Likewise.
1617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1618 (__libc_pwrite): Likewise.
1619 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1620 (__libc_pwrite64): Likewsie.
1621 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1622 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1623 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1624 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1625 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1626 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1627 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1629 Likewise.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1631 (__libc_pread64): Likewise.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1633 Likewise.
1634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1635 (__libc_pwrite64): Likewise.
1636 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1637 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1638 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1639 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1640 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1641 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1642 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1643 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1644 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1645 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1646 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1647 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1648 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1649 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1650 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1651 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1652 Likewise.
1653
10a5e112
AS
16542015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1655
1656 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1657 (CFLAGS-test-double.c): Likewise.
1658 (CFLAGS-test-ldouble.c): Likewise.
1659 (CPPFLAGS-test-ifloat.c): Likewise.
1660 (CPPFLAGS-test-idouble.c): Likewise.
1661 (CPPFLAGS-test-ildoubl.c): Likewise.
1662 (CFLAGS-test-test-fenv.c): Remove variable.
1663 (CFLAGS-test-misc.c): Likewise.
1664
57ada0e7
L
16652015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 [BZ #17797]
1668 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1669 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1670 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1671 CLOCKS_PER_SEC == 1000000.
1672 * time/clocktest.c (main): Replace %ld with %jd and cast to
1673 intmax_t.
1674
46abb64d
RM
16752015-01-05 Roland McGrath <roland@hack.frob.com>
1676
1677 * sysdeps/generic/unwind-resume.h: New file.
1678 * sysdeps/gnu/unwind-resume.c: Include it.
1679 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1680 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1681 argument list.
1682 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1683 global rather than static.
1684 (_Unwind_Resume): Update user.
1685 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1686 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1687 rather than static. Add __attribute__ ((cold)).
1688 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1689 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1690 * sysdeps/arm/arm-unwind-resume.S: New file.
1691 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1692 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1693 * sysdeps/arm/Makefile [$(subdir) = csu]
1694 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1695 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1696 Add rt-arm-unwind-resume.
1697 [$(subdir) = nptl]
1698 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1699 Add pt-arm-unwind-resume.
1700 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1701 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1702
ef9faf13
JM
17032015-01-05 Joseph Myers <joseph@codesourcery.com>
1704
1705 [BZ #17748]
1706 * include/fenv.h (__feholdexcept): Declare. Use
1707 libm_hidden_proto.
1708 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1709 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1710 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1711 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1712 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1713 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1715 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1716 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1717 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1718 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1719 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1720 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1721 (feholdexcept): Likewise.
1722 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1723 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1724 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1725 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1726 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1727 __feholdexcept instead of feholdexcept.
1728 (default_libc_feholdexcept_setround): Likewise.
1729
295a453e
SE
17302015-01-05 Steve Ellcey <sellcey@imgtec.com>
1731
1732 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1733 to avoid using stl/str to align destination.
1734
882c4b9f
SE
17352015-01-05 Steve Ellcey <sellcey@imgtec.com>
1736
1737 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1738
ac4c11f5
JM
17392015-01-05 Joseph Myers <joseph@codesourcery.com>
1740
1741 [BZ #17796]
1742 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1743 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1744 Define as weak alias not strong alias.
1745
03403e30
SE
17462015-01-05 Steve Ellcey <sellcey@imgtec.com>
1747
1748 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1749 bltzal with addiupc.
1750 (RTLD_START): Ditto.
1751
1dca195e
CM
17522015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1753
00b8b9ba
SP
1754 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1755 for __vdso_* functions in declarations.
1756 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1757 definitions.
1758 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1759 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1760
1dca195e
CM
1761 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1762 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1763 function with cast from llround().
1764 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1765 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1766 Define.
1767
a287953a
JM
17682015-01-05 Joseph Myers <joseph@codesourcery.com>
1769
ab70da77
JM
1770 [BZ #17793]
1771 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1772 Define as weak alias not strong alias.
1773
b8986484
JM
1774 [BZ #17635]
1775 * ctype/ctype-c99.c: New file. isblank implementation moved from
1776 ...
1777 * ctype/ctype-extn.c: ... here.
1778 (__isblank_l): Move to ...
1779 * ctype/ctype-c99_l.c: ... here. New file.
1780 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1781 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1782 Remove variable.
1783 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1784 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1785 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1786 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1787 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1788
a287953a
JM
1789 [BZ #17777]
1790 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1791 (posix_fadvise64): Define as weak alias not strong alias.
1792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1793 (posix_fallocate64): Likewise.
1794 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1795 Remove variable.
1796 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1797 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1798 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1799 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1800 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1801
b1efe3bb
MF
18022015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1803
1804 [BZ #16191]
1805 * NEWS: Mention bug fix.
1806 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1807 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1808 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1809 (HOST_STACK_END_ADDR): Likewise.
1810
9706dc5f
JM
18112015-01-02 Joseph Myers <joseph@codesourcery.com>
1812
b93c2205
JM
1813 [BZ #17748]
1814 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1815 * math/fegetround.c (fegetround): Rename to __fegetround and
1816 define as weak alias of __fegetround. Use libm_hidden_weak.
1817 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1818 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1819 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1820 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1821 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1822 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1823 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1824 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1825 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1826 Undefine after rather than before function definition; use
1827 parentheses around function name in definition.
1828 (__fegetround): Also undefine macro after function definition.
1829 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1830 __fegetround and define as weak alias of __fegetround. Use
1831 libm_hidden_weak. Do not undefine as macro.
1832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1833 Likewise.
1834 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1835 __fegetround and define as weak alias of __fegetround. Use
1836 libm_hidden_weak.
1837 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1838 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1839 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1840 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1841 __fegetround and define as weak alias of __fegetround. Use
1842 libm_hidden_weak.
1843 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1844 __fegetround instead of fegetround.
1845
253a59cc
JM
1846 [BZ #17782]
1847 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1848 Condition macro definition on [__USE_MISC].
1849
27dae011
JM
1850 [BZ #17781]
1851 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1852 (struct sigaction): Change type of sa_flags field to int.
1853
172019c0
JM
1854 [BZ #17780]
1855 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1856 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1857 __glibc_reserved0.
1858
522ad1d6
JM
1859 * nptl/version.c (banner): Use single year in copyright notice.
1860
9706dc5f
JM
1861 * NEWS: Update copyright dates.
1862 * catgets/gencat.c (print_version): Likewise.
1863 * csu/version.c (banner): Likewise.
1864 * debug/catchsegv.sh: Likewise.
1865 * debug/pcprofiledump.c (print_version): Likewise.
1866 * debug/xtrace.sh (do_version): Likewise.
1867 * elf/ldconfig.c (print_version): Likewise.
1868 * elf/ldd.bash.in: Likewise.
1869 * elf/pldd.c (print_version): Likewise.
1870 * elf/sotruss.sh: Likewise.
1871 * elf/sprof.c (print_version): Likewise.
1872 * iconv/iconv_prog.c (print_version): Likewise.
1873 * iconv/iconvconfig.c (print_version): Likewise.
1874 * locale/programs/locale.c (print_version): Likewise.
1875 * locale/programs/localedef.c (print_version): Likewise.
1876 * login/programs/pt_chown.c (print_version): Likewise.
1877 * malloc/memusage.sh (do_version): Likewise.
1878 * malloc/memusagestat.c (print_version): Likewise.
1879 * malloc/mtrace.pl: Likewise.
1880 * manual/libc.texinfo: Likewise.
1881 * nptl/version.c (banner): Likewise.
1882 * nscd/nscd.c (print_version): Likewise.
1883 * nss/getent.c (print_version): Likewise.
1884 * nss/makedb.c (print_version): Likewise.
1885 * posix/getconf.c (main): Likewise.
1886 * scripts/test-installation.pl: Likewise.
1887 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1888
b8607aac
WN
18892015-01-02 Will Newton <will.newton@linaro.org>
1890
1891 * sysdeps/arm/armv7/configure: Removed.
1892 * sysdeps/arm/armv7/configure.ac: Likewise.
1893
b168057a
JM
18942015-01-02 Joseph Myers <joseph@codesourcery.com>
1895
1896 * All files with FSF copyright notices: Update copyright dates
1897 using scripts/update-copyrights.
1898 * intl/plural.c: Regenerated.
1899 * locale/programs/charmap-kw.h: Likewise.
1900 * locale/programs/locfile-kw.h: Likewise.
1901
b217c15f
SP
19022015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1903
1904 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1905
73a268c7
JM
19062014-12-31 Joseph Myers <joseph@codesourcery.com>
1907
1908 [BZ #17748]
1909 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1910 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1911 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1912 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1913 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1914 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1915 define as weak alias of __fegetenv. Use libm_hidden_weak.
1916 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1917 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1918 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1919 define as weak alias of __fegetenv. Use libm_hidden_weak.
1920 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1921 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1922 define as weak alias of __fegetenv. Use libm_hidden_weak.
1923 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1924 libm_hidden_def.
1925 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1926 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1927 Likewise.
1928 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1929 define as weak alias of __fegetenv. Use libm_hidden_weak.
1930 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1931 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1932 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1933 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1934 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1935 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1936 __fegetenv instead of fegetenv.
1937 (libc_feholdsetround_noex_ctx): Likewise.
1938
0bd95672
MF
19392014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1940
1941 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1942 (Elf_MIPS_ABIFlags_v0): New structure.
1943 (EF_MIPS_FP64): Define.
1944 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1945 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1946 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1947 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1948 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1949 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1950 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1951 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1952 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1953 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1954 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1955 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1956 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1957 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1958 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1959 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1960 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1961 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1962 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1963 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1964 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1965 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1966 field.
1967 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1968 EF_MIPS_FP64.
1969 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1970 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1971 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1972 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1973 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1974 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1975 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1976 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1977 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1978 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1979 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1980 record the current FP ABI extension.
1981 (mips-mode-switch): Define to show if kernel headers support mode
1982 switching.
1983 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1984 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1985 supported SYSV ABI version to 3.
1986 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1987 feature.
1988
f59ad976
RS
19892014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1990 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1993 path.
1994 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1995
4a3d3999
JM
19962014-12-31 Joseph Myers <joseph@codesourcery.com>
1997
1998 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1999 __fegetround and redefine to call __fegetround. Remove condition
2000 on [!__NO_MATH_INLINES].
2001 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2002 function.
2003 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2005 Remove macro.
2006 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2007 instead of <fenv_libc.h>.
2008 (__llrintl): Call fegetround instead of __fegetround.
2009 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2010 instead of <fenv_libc.h>.
2011 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2012 (__lrintl): Call fegetround instead of __fegetround.
2013 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2014 instead of <fenv_libc.h>.
2015 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2016 (__rintl): Call fegetround instead of __fegetround.
2017
195f3afc
SP
20182014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2019
2020 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2021 arrays.
2022
7062bd42
L
20232014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2024
2025 [BZ #17775]
2026 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2027 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2028 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2029
07256e18
AS
20302014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2031
2032 * sysdeps/i386/tls-macros.h: Include <features.h>.
2033 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2034 (TLS_IE): Likewise.
2035 (TLS_LD): Likewise.
2036 (TLS_GD): Likewise.
2037 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2038 define for GCC >= 5.0.
2039
1ff950ad
CM
20402014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2041
2042 * math/test-fenv.c (test_single_exception, set_single_exc,
2043 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2044 feexcp_mask_test, feenable_test, fe_single_test): Add
2045 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2046 case where they are not used.
2047 * math/libm-test.inc: Likewise.
2048 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2049 unused in the absence of FP rounding/exception support.
2050 * stdio-common/tst-printf-round.c: Likewise.
2051 * stdlib/tst-strtod-round.c: Likewise.
2052 * stdlib/tst-strtod-underflow.c: Likewise.
2053
0747f818
JM
20542014-12-30 Joseph Myers <joseph@codesourcery.com>
2055
2056 [BZ #17723]
2057 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2058 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2059 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2060 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2061 libm_hidden_weak.
2062 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2063 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2064 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2065 libm_hidden_def.
2066 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2067 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2068 libm_hidden_weak.
2069 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2070 Likewise.
2071 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2072 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2073 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2074 libm_hidden_weak.
2075 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2076 libm_hidden_def.
2077 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2078 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2079 (__feraiseexcept): Likewise.
2080 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2081 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2082 libm_hidden_weak.
2083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2084 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2085 libm_hidden_def.
2086 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2087 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2088 Use libm_hidden_def.
2089 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2090 libm_hidden_def.
2091 (feraiseexcept): Define as weak not strong alias. Use
2092 libm_hidden_weak.
2093 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2094 New inline function. Factored out of ...
2095 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2096 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2097 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2098 feraiseexcept.
2099 * math/w_acos.c (__acos): Likewise.
2100 * math/w_asin.c (__asin): Likewise.
2101 * math/w_ilogb.c (__ilogb): Likewise.
2102 * math/w_j0.c (y0): Likewise.
2103 * math/w_j1.c (y1): Likewise.
2104 * math/w_jn.c (yn): Likewise.
2105 * math/w_log.c (__log): Likewise.
2106 * math/w_log10.c (__log10): Likewise.
2107 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2108 * sysdeps/aarch64/fpu/math_private.h
2109 (libc_feupdateenv_test_aarch64): Likewise.
2110 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2111 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2112 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2114 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2115 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2116 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2117 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2118 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2119 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2120
8d2b2763
L
21212014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 [BZ #17732]
2124 * io/test-utime.c (main): Replace %ld with %jd and cast to
2125 intmax_t.
41fad830 2126 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2127 * nptl/tst-mutex5.c: Include <stdint.h>.
2128 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2129 * posix/tst-regex.c (run_test): Likewise.
2130 (run_test_backwards): Likewise.
5d619de4
L
2131 * rt/tst-clock.c: Include <stdint.h>.
2132 (clock_test): Replace %ld with %jd and cast to intmax_t.
2133 * rt/tst-cpuclock1.c: Include <stdint.h>.
2134 (do_test): Replace %lu with %ju and cast to uintmax_t.
2135 * rt/tst-cpuclock2.c: Include <stdint.h>.
2136 (do_test): Replace %lu with %ju and cast to uintmax_t.
2137 * rt/tst-mqueue1.c: Include <stdint.h>.
2138 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2139 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2140 intmax_t.
2141 * rt/tst-mqueue4.c (do_test): Likewise.
2142 * rt/tst-timer4.c: Include <stdint.h>.
2143 (check_ts): Replace %ld with %jd and cast to intmax_t.
2144 (do_test): Likewise.
ad86fbc3
L
2145 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2146 and cast to intmax_t.
37f46900 2147 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2148 * time/clocktest.c (main): Likewise.
2149 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2150 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2151
8b4416d8
AS
21522014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2153 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2156 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2157 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2158 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2159 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2160 version if bit_Fast_Unaligned_Load is set.
2161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2168 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2169 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2170 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2171 to 4.
2172 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2173 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2174 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2175 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2176
e47b8d3b
CM
21772014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2178
6d6d7fde
CM
2179 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2180 instead of #if to avoid a Wundef warning.
2181 * stdlib/tst-limits.c (do_test): Likewise.
2182
cd2c37c9
CM
2183 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2184 parallel other exception macros.
2185 (fegetenv): Convert from macro to extern inline so that it applies
2186 retroactively to inline functions already seen by the compiler.
2187 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2188
e47b8d3b
CM
2189 * posix/Makefile (before-compile): Use $(objpfx) for
2190 posix-conf-vars-def.h.
2191
4a6aca7b
SP
21922014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
7910c2ae
SP
2194 * posix/getconf.c (main): Use size_t for type of I.
2195 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2196 NSPEC.
2197
50cbbaa9
SP
2198 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2199 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2200 * posix/posix-envs.def: Likewise.
2201 * sysdeps/posix/sysconf.c: Likewise.
2202 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2203 (specs): Remove array.
2204 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2205 array.
2206
3b566046
SP
2207 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2208 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2209 (__sysconf): Use CONF_IS_* macros.
2210
4a6aca7b
SP
2211 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2212 ($(objpfx)posix-conf-vars-def.h): New target.
2213 * posix/posix-conf-vars.list: New file.
2214 * posix/posix-conf-vars.h: New file.
2215 * posix/confstr.c: Include posix-conf-vars.h.
2216 (confstr): Use CONF_IS_* macros.
2217 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2218 CONF_IS_* macros.
2219 * scripts/gen-posix-conf-vars.awk: New file.
2220
7c1395a7
CM
22212014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2222
0025b4cc
CM
2223 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2224 fegetround): Add no-op macros to avoid linknamespace issues.
2225
d8aaf74b
CM
2226 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2227 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2228
5d24aa60
CM
2229 * sysdeps/unix/sysv/linux/tile/sysdep.h
2230 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2231 assembly-specific section to avoid a redefinition warning.
2232
7c1395a7
CM
2233 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2234 long before casting to pointer to avoid a cast warning.
2235
3c87c616
CM
22362014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2237
2238 * sysdeps/tile/tilegx/Implies: New file.
2239
f559d8cf
RE
22402014-12-23 Richard Earnshaw <rearnsha@arm.com>
2241
2242 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2243
7d81e8d6
FW
22442014-12-23 Florian Weimer <fweimer@redhat.com>
2245
2246 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2247
90aa3d09
JM
22482014-12-22 Joseph Myers <joseph@codesourcery.com>
2249
2250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2251 not define.
2252 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2253 <kernel-features.h>.
2254 (__utimes) [__NR_utimes]: Make code unconditional.
2255 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2256 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2257 (__ASSUME_UTIMES): Do not undefine.
2258 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2259 (__ASSUME_UTIMES): Likewise.
2260 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2261 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2262 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2263 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2264
4c0c0e2a
SE
22652014-12-22 Steve Ellcey <sellcey@imgtec.com>
2266
2267 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2268
0dacd7a3
CM
22692014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2270
b638f96a
CM
2271 [BZ #17747]
2272 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2273 alias to weak alias for j0l, y0l.
2274 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2275 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2276
0dacd7a3
CM
2277 [BZ #17746]
2278 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2279 conversion.
2280
528479c4
SE
22812014-12-22 Steve Ellcey <sellcey@imgtec.com>
2282
2283 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2284 to zero if not already defined.
2285
f56f9124
JM
22862014-12-22 Joseph Myers <joseph@codesourcery.com>
2287
2288 [BZ #17724]
2289 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2290 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2291 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2292 (char *) casts added.
2293 * sysdeps/ieee754/k_standardf.c: New file.
2294 * sysdeps/ieee754/k_standardl.c: Likewise.
2295 * math/Makefile (libm-support): Remove k_standard.
2296 (libm-calls): Add k_standard.
2297
8622d556
WD
22982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2299
2300 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2301 Optimize to avoid an unnecessary FPCR read.
2302
f3806bdb
WD
23032014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2304
2305 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2306 Optimize to reduce FPCR/FPSR accesses.
2307
9b47df58
WD
23082014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2309
2310 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2311 Call libc_fetestexcept_aarch64.
2312
97be3cac
WD
23132014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2314
2315 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2316 Call libc_fesetround_aarch64.
2317
935ab817
JM
23182014-12-22 Joseph Myers <joseph@codesourcery.com>
2319
2320 [BZ #17733]
2321 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2322 (__bind): Do not define as weak alias.
2323 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2324 define.
2325 (__getsockname): Do not define as weak alias.
2326
cc8623f1
WN
23272014-12-22 Will Newton <will.newton@linaro.org>
2328
2329 * manual/install.texi: Document that we require bison 2.7
2330 or above.
2331 * INSTALL: Regenerate.
2332 * configure.ac: Use AC_CHECK_PROG_VER instead of
2333 AC_PATH_PROG when checking for bison and check for
2334 version 2.7 or above.
2335 * configure: Regenerate.
2336
a19ca65a
CM
23372014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2338
92901170 2339 [BZ #17745]
e969965a
CM
2340 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2341 * sysdeps/tile/ffsll.c (ffsll): To here.
2342
a19ca65a
CM
2343 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2344
050f7298
L
23452014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2348 if not defined.
2349 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2350 definition.
2351 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2352 hidden ___tls_get_addr.
2353 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2354 hidden __tls_get_addr.
2355 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2356 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2357 Likewise.
2358
6df5547e
AS
23592014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2360
2361 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2362 _dl_init call.
2363
7432d613
L
23642014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2367 from "call _dl_init@PLT".
2368 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2369
98fe149e
AK
23702014-12-21 Anders Kaseorg <andersk@mit.edu>
2371
2372 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2373 guarantees.
2374
d12455f5
CM
23752014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2376
2377 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2378
95dee05f
CM
23792014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2380
92901170 2381 [BZ #17744]
95dee05f
CM
2382 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2383 strnlen.
2384
2ef4b74a
SE
23852014-12-19 Steve Ellcey <sellcey@imgtec.com>
2386
2387 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2388 of multu on MIPSr6.
2389 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2390 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2391 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2392 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2393 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2394
23952014-12-19 Steve Ellcey <sellcey@imgtec.com>
2396
2397 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2398 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2399 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2400 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2401 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2402 mips32r6/mips64r6.
2403 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2404
3eb38795
OB
24052014-12-19 Ondřej Bílka <neleai@seznam.cz>
2406
2407 * string/strncat.c (STRNCAT): Simplify implementation.
2408
6d4188dd
DM
24092014-12-19 David S. Miller <davem@davemloft.net>
2410
0d4ba8be
DM
2411 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2412 access the quad as both a long double and as a series of 4 words.
2413
6d4188dd
DM
2414 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2415 link_map->l_info array access.
2416
4ef91cdc
CM
24172014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2418
804c54f7
CM
2419 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2420
4ef91cdc
CM
2421 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2422 * math/atest-exp2.c (TIMEOUT): Likewise.
2423 * math/atest-sincos.c (TIMEOUT): Likewise.
2424
afd176d6
L
24252014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2428 -Wno-error with -fno-builtin-lround.
2429
a4a43a90
TR
24302014-12-19 Torvald Riegel <triegel@redhat.com>
2431
2432 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2433 Contains futex constants and functions moved over from ...
2434 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2435 <lowlevellock-futex.h>.
2436 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2437 (lll_timedwait_tid): Add comments and parentheses around macro
2438 arguments.
2439
76f71081
TR
24402014-12-19 Torvald Riegel <triegel@redhat.com>
2441
2442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2443 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2444 (__lll_private_flag): Remove.
2445 (lll_futex_wait): Likewise.
2446 (lll_futex_timed_wait): Likewise.
2447 (lll_futex_wake): Likewise.
2448 (lll_futex_requeue): Likewise.
2449 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2450 (__lll_timedwait_tid): Spell out argument names.
2451 (lll_timedwait_tid): Add comments and parentheses around macro
2452 arguments.
2453 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2454 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2455
6b814909
TR
24562014-12-19 Torvald Riegel <triegel@redhat.com>
2457
2458 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2459 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2460 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2461 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2462 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2463 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2464 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2465 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2466 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2467 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2468 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2469 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2470 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2471 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2472 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2473 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2474 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2475 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2476 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2477
9cd4d4ab
L
24782014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2479
2480 * sysdeps/x86_64/x32/Makefile: New file.
2481
c9c1a2d0
L
24822014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2483
2484 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2485 1L with (mp_limb_t) 1.
2486
af102d95
RM
24872014-12-17 Roland McGrath <roland@hack.frob.com>
2488
dd690454
RM
2489 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2490 * nptl/libc_pthread_init.c: ... here.
2491 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2492 * nptl/register-atfork.c: ... here.
2493
74eb826c
RM
2494 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2495 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2496 Use assert_perror to check its return value.
2497 (__gai_create_helper_thread): Likewise.
2498
c9ce306b
RM
2499 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2500
af102d95
RM
2501 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2502
8ac5a76a
JM
25032014-12-17 Joseph Myers <joseph@codesourcery.com>
2504
ea41469b
JM
2505 [BZ #17725]
2506 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2507 __profil_counter.
2508 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2511 Likewise.
2512 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2513 Likewise.
2514 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2515 (profil_counter): Likewise.
2516 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2517 (profil_counter): Likewise.
2518 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2519 Likewise.
2520 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2521 Likewise.
2522 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2523 (profil_counter): Likewise.
2524 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2525 Likewise.
2526 [!__profil_counter] (profil_counter): Define as weak alias of
2527 __profil_counter.
2528 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2529 (profil_counter): Rename to __profil_counter.
2530 [!__profil_counter] (profil_counter): Define as weak alias of
2531 __profil_counter.
2532 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2533 (profil_counter): Rename to __profil_counter.
2534 [!__profil_counter] (profil_counter): Define as weak alias of
2535 __profil_counter.
2536 * sysdeps/posix/profil.c: Update comment referring to
2537 profil_counter.
2538 (__profil): Use __profil_counter instead of profil_counter.
2539 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2540 __profil_counter. Use __profil_counter_ushort and
2541 __profil_counter_uint in definitions.
2542 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2543 instead of profil_counter_uint and profil_counter_ushort.
2544
8ac5a76a
JM
2545 [BZ #17722]
2546 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2547 define as weak alias of __inet_makeaddr.
2548 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2549 as weak alias of __inet_addr.
2550 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2551 as weak alias of __inet_pton. Use libc_hidden_weak.
2552 * include/arpa/inet.h (__inet_pton): Declare. Use
2553 libc_hidden_proto.
2554 (inet_makeaddr): Don't use libc_hidden_proto.
2555 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2556 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2557 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2558 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2559 Remove variable.
2560 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2561 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2562
66ce3cb1
SE
25632014-12-17 Steve Ellcey <sellcey@imgtec.com>
2564
2565 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2566
d22ce01b
SL
25672014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2568
2569 * stdio-common/bug-vfprintf-nargs.c (do_test):
2570 Cast value to intptr_t to avoid format warning
2571 for usage with PRIdPTR printing macro.
2572
eca2772b
SL
25732014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2574
2575 * libio/tst-widetext.c (do_test):
2576 Use format type %td instead of %Zd for ptrdiff_t
2577 in order to avoid format warning.
2578
bdf079da
AS
25792014-12-17 Andreas Schwab <schwab@suse.de>
2580
2581 * nscd/mem.c (gc): Add size_t cast to match printf format.
2582
3eb5d2fc
RM
25832014-12-16 Roland McGrath <roland@hack.frob.com>
2584
2585 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2586 (init): Apply PTR_MANGLE to pointers before storing them.
2587 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2588 before using them.
2589
d003ada2
JM
25902014-12-16 Joseph Myers <joseph@codesourcery.com>
2591
380292ba
JM
2592 [BZ #17719]
2593 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2594 define as weak alias of __memrchr.
2595 (__memrchr): Do not define as strong alias of memrchr.
2596 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2597 Remove variable.
2598 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2599 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2600 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2601
9a44d530
JM
2602 [BZ #17717]
2603 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2604 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2605 (if_indextoname): Rename to __if_indextoname and define as weak
2606 alias of __if_indextoname. Use libc_hidden_weak.
2607 (if_freenameindex): Rename to __if_freenameindex and define as
2608 weak alias of __if_freenameindex.
2609 (if_nameindex): Rename to __if_nameindex and define as weak alias
2610 of __if_nameindex.
2611 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2612 __if_nametoindex and define as weak alias of __if_nametoindex.
2613 Use libc_hidden_weak.
2614 (if_freenameindex): Rename to __if_freenameindex and define as
2615 weak alias of __if_freenameindex.
2616 (if_nameindex): Rename to __if_nameindex and define as weak alias
2617 of __if_nameindex.
2618 (if_indextoname): Rename to __if_indextoname and define as weak
2619 alias of __if_indextoname. Use libc_hidden_weak.
2620 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2621 __if_nametoindex and define as weak alias of __if_nametoindex.
2622 Use libc_hidden_weak.
2623 (if_freenameindex): Rename to __if_freenameindex and define as
2624 weak alias of __if_freenameindex. Use libc_hidden_weak.
2625 (if_nameindex_netlink): Use __if_freenameindex instead of
2626 if_freenameindex.
2627 (if_nameindex): Rename to __if_nameindex and define as weak alias
2628 of __if_nameindex. Use libc_hidden_weak.
2629 (if_indextoname): Rename to __if_indextoname and define as weak
2630 alias of __if_indextoname. Use libc_hidden_weak.
2631 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2632 libc_hidden_proto.
2633 [!_ISOMAC] (__if_freenameindex): Likewise.
2634 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2635 if_nametoindex.
2636 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2637 variable.
2638 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2639 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2640 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2641 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2642 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2643 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2644 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2645
d003ada2
JM
2646 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2647 Remove variable.
2648 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2649 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2650
a0d424ef
SP
26512014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2652
0cd85520
SP
2653 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2654 subscript above bounds'
2655
a0d424ef
SP
2656 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2657 bounds.
2658
0e426475
AS
26592014-12-16 Arjun Shankar <arjun.is@lostca.se>
2660
8b460906
AS
2661 * libio/tst-fopenloc.c: Use test-skeleton.c.
2662
fa13e15b
AS
2663 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2664 (entry): Rename to ITEM.
2665 (do_test, comp): Adjust.
2666
0e426475
AS
2667 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2668
4f646bce
TR
26692014-12-16 Torvald Riegel <triegel@redhat.com>
2670
2671 * string/tester.c: Include <libc-internal.h>.
2672 (test_memset): Ignore -Wmemset-transposed-args.
2673
a07c4427
TR
26742014-12-16 Torvald Riegel <triegel@redhat.com>
2675
2676 * misc/tst-mntent2.c (do_test): Fix warning.
2677
1469f466
TR
26782014-12-16 Torvald Riegel <triegel@redhat.com>
2679
2680 * elf/tst-unique4lib.cc(a): Mark as used.
2681
11e3417a
FW
26822014-12-16 Florian Weimer <fweimer@redhat.com>
2683
2684 [BZ #17630]
2685 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2686 names.
2687
ae61fc7b
AM
26882014-12-16 Allan McRae <allan@archlinux.org>
2689
2690 * stdio-common/Makefile (tests): Re-add bug26.
2691
363a9899
OB
26922014-12-15 Ondřej Bílka <neleai@seznam.cz>
2693
2694 [BZ #17657]
2695 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2696 static array.
2697
d52c62df
TR
26982014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2699
2700 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2701 (__lll_lock_wait): Likewise.
2702 (__lll_timedlock_wait): Likewise.
2703 (__lll_timedwait_tid): Likewise.
2704 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2705 (__lll_robust_timedlock_wait): Likewise.
2706 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2707 (lll_cond_trylock): Likewise.
2708 (__lll_lock): Likewise.
2709 (__lll_robust_lock): Likewise.
2710 (__lll_cond_lock): Likewise.
2711 (lll_robust_cond_lock): Likewise.
2712 (__lll_timedlock): Likewise.
2713 (__lll_robust_timedlock): Likewise.
2714 (__lll_unlock): Likewise.
2715 (__lll_robust_unlock): Likewise.
2716 (lll_wait_tid): Likewise.
2717 (lll_timedwait_tid): Likewise.
2718
045a6bcd
TR
27192014-12-15 Torvald Riegel <triegel@redhat.com>
2720
2721 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2722
7f786dc1
TR
27232014-12-15 Torvald Riegel <triegel@redhat.com>
2724
2725 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2726
e7e21cba
AZ
27272014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2728
2729 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2730 * stdio-common/tst-sprintf.c: Likewise.
2731
bc89c0fc
TR
27322014-12-15 Torvald Riegel <triegel@redhat.com>
2733
2734 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2735
a5357b7c
JL
27362014-12-15 Jeff Law <law@redhat.com>
2737
2738 [BZ #16617]
2739 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2740 on the heap. (CVE-2012-3406)
2741 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2742 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2743 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2744
3a12c70f
WN
27452014-12-15 Will Newton <will.newton@linaro.org>
2746
2747 * manual/install.texi: Bump required version of texinfo
2748 to 4.7 from 4.5.
2749 * INSTALL: Regenerated.
2750 * configure.ac: Check for makeinfo version 4.7 and above.
2751 * configure: Regenerated.
2752
e4f639e4
RM
27532014-12-12 Roland McGrath <roland@hack.frob.com>
2754
2755 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2756 PREFIX, string constant to insert between directory and name.
2757 * sysdeps/posix/shm_open.c: Update caller.
2758 * sysdeps/posix/shm_unlink.c: Likewise.
2759 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2760 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2761 (SEM_SHM_PREFIX): New macro.
2762 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2763 [$(have-thread-library) = no].
2764 * nptl/Makefile (libpthread-routines): Add shm-directory.
2765 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2766 * sysdeps/nptl/shm-directory.h: New file.
2767 * sysdeps/posix/shm-directory.c
2768 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2769 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2770 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2771 INTERNAL_SYSCALL.
2772 (__where_is_shmfs): Function removed.
2773 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2774 Variables removed.
2775 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2776 Use SHM_GET_NAME.
2777 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2778
2779 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2780 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2781 unconditional for use inside libpthread.
2782 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2783
439c43f6
RM
27842014-12-12 Roland McGrath <roland@hack.frob.com>
2785
c76d1ff5
RM
2786 * nptl/pthread_getaffinity.c: New file.
2787 * nptl/pthread_setaffinity.c: New file.
2788 * nptl/pthread_getname.c: New file.
2789 * nptl/pthread_setname.c: New file.
2790
439c43f6
RM
2791 * nptl/pthread_create.c (START_THREAD_DEFN)
2792 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2793
48e435cd
SL
27942014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2795 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2796
2797 * resolv/res_send.c (send_vc): Disable warning resplen may
2798 be used uninitialized.
2799
9d9c0019
SL
28002014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2801
2802 * nptl/tst-mutex6.c
2803 (ATTR_NULL): New define checks ATTR against NULL.
2804 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2805 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2806
9173840b
JL
28072014-12-11 James Lemke <jwlemke@codesourcery.com>
2808
2809 [BZ #17581]
2810 * malloc/hooks.c
2811 (mem2mem_check): Revert my previous change.
2812 (malloc_check_get_size): Revert my previous change.
2813 (mem2chunk_check): Revert my previous change.
2814
78e21c5d
RM
28152014-12-11 Roland McGrath <roland@hack.frob.com>
2816
2817 * sysdeps/posix/shm-directory.c: New file.
2818 * sysdeps/posix/shm-directory.h: New file.
2819 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2820 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2821 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2822 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2823 Transmute EPERM to EACCES.
2824 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2825 from ...
2826 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2827 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2828
f82c43af
KK
28292014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2830
2831 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2832 pointer and cast to uintptr_t.
2833 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2834 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2835 Add cast to avoid warning.
2836 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2837
fc00cf7b
JM
28382014-12-11 Joseph Myers <joseph@codesourcery.com>
2839
2840 * nptl/semaphore.h: Move to ...
2841 * sysdeps/pthread/semaphore.h: ... here.
2842 * Makefile (installed-headers): Change nptl/semaphore.h to
2843 sysdeps/pthread/semaphore.h.
2844
1c4053db
RM
28452014-12-11 Roland McGrath <roland@hack.frob.com>
2846
73b0c1a1
RM
2847 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2848 generated error format strings.
2849
1c4053db
RM
2850 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2851 -Wformat-extra-args warnings for scanf formats.
2852 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2853 test of zero-length format (duh).
2854 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2855 corner-case scanf format test.
2856 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2857 generated fprintf format string.
2858 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2859 corner-case sprintf format tests.
2860 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2861 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2862 -Wformat-extra-args warnings throughout.
2863 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2864 (CFLAGS-scanf4.c): Likewise.
2865 (CFLAGS-scanf7.c): Likewise.
2866 (CFLAGS-tst-sprintf.c): Likewise.
2867 (CFLAGS-tst-printf.c): Likewise.
2868 (CFLAGS-tst-printfsz.c): Likewise.
2869
47d51f4f
JM
28702014-12-11 Joseph Myers <joseph@codesourcery.com>
2871
a1edbf3c
JM
2872 * include/cpio.h: New file.
2873 * include/fmtmsg.h: Likewise.
2874
47d51f4f
JM
2875 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2876 corresponding format argument to size_t.
2877 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2878 arguments.
2879 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2880 corresponding format argument to size_t.
2881 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2882 arguments.
2883 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2884 corresponding format argument to size_t.
2885 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2886 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2887 (CFLAGS-tst-mbswcs2.c): Likewise.
2888 (CFLAGS-tst-mbswcs3.c): Likewise.
2889 (CFLAGS-tst-mbswcs4.c): Likewise.
2890 (CFLAGS-tst-mbswcs5.c): Likewise.
2891 (CFLAGS-tst-trans.c): Likewise
2892
e9813cfb
RM
28932014-12-11 Roland McGrath <roland@hack.frob.com>
2894
2895 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2896 rather than assuming they won't contain any '%'s.
2897
f627ca82
CM
28982014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2899
2900 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2901 inhibit_loop_to_libcall to avoid recursive calls.
2902 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2903 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2904
7f296942
AZ
29052014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2906
2907 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2908 prototype.
2909
d0276e18
SE
29102014-12-11 Steve Ellcey <sellcey@imgtec.com>
2911
2912 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2913 integer value instead of boolean.
2914
fc56e970
SE
29152014-12-11 Steve Ellcey <sellcey@imgtec.com>
2916
2917 * malloc/malloc.c: Fix powerof2 check.
2918
40e53917
SL
29192014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2920
2921 * locale/programs/locfile.h (maybe_swap_uint32):
2922 Remove inline and add unused attribute.
2923
1ea166df
SL
29242014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2925
9d9c0019 2926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2927 Truncating assembler expression to a .long expression.
2928
acf869f4
AS
29292014-12-11 Andreas Schwab <schwab@suse.de>
2930
2931 * elf/rtld.c (struct map_args): Constify str member.
2932 (do_preload): Constify fname argument.
2933
9d969099
AZ
29342014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935
2936 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2937 constants definition.
2938
da5bcaa4
AS
29392014-12-11 Andreas Schwab <schwab@suse.de>
2940
b0a3c164
AS
2941 [BZ #16657]
2942 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2943 FORCE_ELISION instead of DO_ELISION.
2944 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2945 Remove.
2946 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2947 Likewise.
2948
da5bcaa4
AS
2949 * iconvdata/gconv-modules: Remove duplicate entry.
2950
6d248857
WN
29512014-12-11 Will Newton <will.newton@linaro.org>
2952
2953 Merge gettext 0.19.3 into intl/.
2954
2955 This involves a number of cosmetic changes to comments
2956 and ANSI function definitions and prototypes throughout
2957 all the files. The gettext copyright header is used but
2958 with the date ranges taken from the glibc copy.
2959
2960 * NEWS: Add gettext merge to 2.21.
2961 * intl/bindtextdom.c: Switch to gettext copyright.
2962 Use ANSI definitions and prototypes.
2963 Use gl_* locking primitives rather than __libc_* ones.
2964 Use __builtin_expect rather than __glibc_likely/unlikely.
2965 * intl/dcgettext.c: Switch to gettext copyright.
2966 Use ANSI definitions and prototypes.
2967 * intl/dcigettext.c: Switch to gettext copyright.
2968 Use ANSI definitions and prototypes.
2969 (INTDIV0_RAISES_SIGFPE): New define.
2970 Use gl_* locking primitives rather than __libc_* ones.
2971 Include eval-plural.h instead of plural-eval.c.
2972 Use __builtin_expect rather than __glibc_likely/unlikely.
2973 * intl/dcngettext.c: Switch to gettext copyright.
2974 Use ANSI definitions and prototypes.
2975 * intl/dgettext.c: Likewise.
2976 * intl/dngettext.c: Likewise.
2977 * intl/plural-eval.c: Renamed to...
2978 * intl/eval-plural.h: ...this.
2979 * intl/explodename.c: Switch to gettext copyright.
2980 Use ANSI definitions and prototypes.
2981 (_nl_explode_name): Use strchr instead of __rawmemchr.
2982 * intl/finddomain.c: Switch to gettext copyright.
2983 Use ANSI definitions and prototypes.
2984 Use gl_* locking primitives rather than __libc_* ones.
2985 (_nl_find_domain): Use malloc rather than alloca for
2986 allocation of temporary locale name.
2987 * intl/gettext.c: Switch to gettext copyright.
2988 Use ANSI definitions and prototypes.
2989 * intl/gettextP.h: Switch to gettext copyright.
2990 Use ANSI definitions and prototypes.
2991 Use gl_* locking primitives rather than __libc_* ones.
2992 * intl/gmo.h: Switch to gettext copyright.
2993 (struct sysdep_string): Move struct segment_pair outside of
2994 struct definition.
2995 * intl/hash-string.c: Use ANSI definitions and prototypes.
2996 * intl/hash-string.h: Switch to gettext copyright.
2997 Use ANSI definitions and prototypes.
2998 * intl/l10nflist.c: Switch to gettext copyright.
2999 Use ANSI definitions and prototypes.
3000 (_nl_normalize_codeset): Avoid integer overflow.
3001 * intl/loadinfo.h: Switch to gettext copyright.
3002 Use ANSI definitions and prototypes.
3003 (LIBINTL_DLL_EXPORTED): New define.
3004 (PATH_SEPARATOR): New define.
3005 * intl/loadmsgcat.c: Switch to gettext copyright.
3006 * intl/localealias.c: Switch to gettext copyright.
3007 Use ANSI definitions and prototypes.
3008 (_nl_expand_alias): Use PATH_SEPARATOR.
3009 * intl/ngettext.c: Switch to gettext copyright.
3010 Use ANSI definitions and prototypes.
3011 * intl/plural-exp.c: Likewise.
3012 * intl/plural-exp.h: Switch to gettext copyright.
3013 Use ANSI definitions and prototypes.
3014 (struct expression): Move definition of enum operator outside
3015 of struct definition.
3016 * intl/plural.c: Regenerate.
3017 * intl/plural.y: Switch to gettext copyright.
3018 Use ANSI definitions and prototypes.
3019 Port to bison 3.0.
3020 * intl/textdomain.c: Switch to gettext copyright.
3021 Use ANSI definitions and prototypes.
3022 Use gl_* locking primitives rather than __libc_* ones.
3023
48c43298
SE
30242014-12-10 Steve Ellcey <sellcey@imgtec.com>
3025
3026 * debug/warning-nop.c: Add used atrribute.
3027
2b89bce9
JM
30282014-12-10 Joseph Myers <joseph@codesourcery.com>
3029
c153ac9f
JM
3030 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3031
2b89bce9
JM
3032 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3033 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3034 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3035
2cfbdb9a
JM
30362014-12-10 Joseph Myers <joseph@codesourcery.com>
3037 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3038
3039 [BZ #17634]
3040 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3041 Undefine after defining function. Define as weak alias of
3042 __wcschr. Use libc_hidden_weak.
3043 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3044 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3045 (libc_hidden_def): Also define __GI___wcschr alias.
3046 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3047 __wcschr and define as weak alias of __wcschr.
3048 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3049 __wcschr.
3050 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3051 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3052 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3053 libc_hidden_weak. Do not use libc_hidden_def.
3054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3055 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3056 __GI___wcschr alias.
3057 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3058 [IS_IN (libc)] (wcschr): Define as macro expanding to
3059 __redirect_wcschr.
3060 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3061 [IS_IN (libc)] (__wcschr_power6): Likewise.
3062 [IS_IN (libc)] (__wcschr_power7): Likewise.
3063 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3064 instead of wcschr.
3065 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3066 __libc_wcschr.
3067 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3068 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3069 __wcschr and define as weak alias of __wcschr. Use
3070 libc_hidden_builtin_def.
3071 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3072 as weak alias of __wcschr. Use libc_hidden_weak.
3073 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3074 wcschr.
3075 * time/era.c (_nl_init_era_entries): Likewise.
3076 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3077 variable.
3078 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3079 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3080
1b8bf351
JM
30812014-12-10 Joseph Myers <joseph@codesourcery.com>
3082
3083 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3084 format for long int variable.
3085
f5f46d51
AK
30862014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3087
3088 [BZ #10672]
07008f7d 3089 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3090 qsort stable.
3091
217a74a8
AS
30922014-12-10 Andreas Schwab <schwab@suse.de>
3093
3094 [BZ #12847]
3095 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3096 user-controlled locks.
3097
aa76a5c7
RE
30982014-12-10 Richard Earnshaw <rearnsha@arm.com>
3099
3100 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3101 register.
3102
2084e7ca
JM
31032014-12-10 Joseph Myers <joseph@codesourcery.com>
3104
a4ecc9eb
JM
3105 * configure.ac (--disable-werror): New configure option.
3106 (enable_werror): New AC_SUBST.
3107 * configure: Regenerated.
3108 * config.make.in (enable-werror): New variable.
3109 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3110 -Wno-error=undef.
3111 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3112 * manual/install.texi (Configuring and compiling): Document
3113 --disable-werror.
3114 * INSTALL: Regenerated.
3115 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3116 (CFLAGS-tst-chk2.c): Likewise.
3117 (CFLAGS-tst-chk3.c): Likewise.
3118 (CFLAGS-tst-chk4.cc): Likewise.
3119 (CFLAGS-tst-chk5.cc): Likewise.
3120 (CFLAGS-tst-chk6.cc): Likewise.
3121 (CFLAGS-tst-lfschk1.c): Likewise.
3122 (CFLAGS-tst-lfschk2.c): Likewise.
3123 (CFLAGS-tst-lfschk3.c): Likewise.
3124 (CFLAGS-tst-lfschk4.cc): Likewise.
3125 (CFLAGS-tst-lfschk5.cc): Likewise.
3126 (CFLAGS-tst-lfschk6.cc): Likewise.
3127
0f88636c
JM
3128 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3129 (main): Disable -Wdeprecated-declarations around calls to
3130 register_printf_function.
3131
c81e9deb
JM
3132 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3133 (do_test): Disable -Wdiv-by-zero around some calls to
3134 fwrite_unlocked and fread_unlocked.
3135
2084e7ca
JM
3136 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3137 (DIAG_POP_NEEDS_COMMENT): Likewise.
3138 (_DIAG_STR1): Likewise.
3139 (_DIAG_STR): Likewise.
3140 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3141 * stdio-common/bug21.c: Include <libc-internal.h>.
3142 (do_test): Disable -Wformat around call to sscanf.
3143 * stdio-common/scanf14.c: Include <libc-internal.h>.
3144 (main): Disable -Wformat around some calls to scanf functions.
3145
df7ecc6b
TR
31462014-12-09 Torvald Riegel <triegel@redhat.com>
3147
3148 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3149
2aa3862e
AZ
31502014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3151
3152 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3153 stack variable alignment.
3154
c5c2b7c3
JM
31552014-12-06 Joseph Myers <joseph@codesourcery.com>
3156
3157 [BZ #17682]
3158 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3159 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3160 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3161 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3162 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3163 __getrlimit instead of getrlimit.
3164 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3165 __gettimeofday instead of gettimeofday.
3166 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3167 Likewise.
3168 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3169 Likewise.
3170 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3171 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3172 Remove variable.
3173 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3174 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3175
9752c3cd
AZ
31762014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
3178 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3179 for wide-character tests.
3180
4bee4cd9
RM
31812014-12-04 Roland McGrath <roland@hack.frob.com>
3182
3183 * io/openat64.c: #include <libc-internal.h>
3184 (__openat64): Prototypify. Use ignore_value on MODE.
3185 * io/openat.c: Likewise.
3186 * misc/reboot.c: #include <libc-internal.h>
3187 (reboot): Prototypify. Use ignore_value on HOWTO.
3188 * misc/ptrace.c: #include <libc-internal.h>
3189 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3190
84dbedb6
JM
31912014-12-04 Joseph Myers <joseph@codesourcery.com>
3192
3193 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3194 XPG4, UNIX98 and XOPEN2K.
3195 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3196 Remove variable.
3197 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3198
b7a3e1c4 31992014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3200
af50dfc1 3201 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3202 * libio/iofopen.c: Likewise.
3203 * libio/wfileops.c: Likewise.
3204
fe8b4d98
SP
3205 [BZ #17653]
3206 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3207 offset on EOF.
3208 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3209 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3210 (fgets_func): Function pointer to fgets and fgetws.
3211 (do_ftell_test): Add test to verify ftell value after read
3212 EOF.
3213 (do_test): Set fgets_func.
3214
61b4f792
SP
3215 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3216 O_TRUNC flag for w and w+ modes.
3217 (do_rewind_test): Likewise.
3218 (do_ftell_test): Likewise.
3219 (do_write_test): Likewise.
3220
be349d70
SP
3221 [BZ #17647]
3222 * libio/fileops.c (do_ftell): Seek only when there are
3223 unflushed writes.
3224 * libio/wfileops.c (do_ftell_wide): Likewise.
3225 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3226 test case.
3227 (do_one_test): Call it.
3228
e3d6dba5
JM
32292014-12-03 Joseph Myers <joseph@codesourcery.com>
3230
3231 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3232 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3233 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3234 Remove variable.
3235 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3236 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3237 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3238
7f994279
JM
32392014-12-02 Joseph Myers <joseph@codesourcery.com>
3240
28a91e8f
JM
3241 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3242 Remove variable.
3243 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3244
7f994279
JM
3245 [BZ #17668]
3246 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3247 as weak alias of __getifaddrs. Use libc_hidden_weak.
3248 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3249 __freeifaddrs. Use libc_hidden_weak.
3250 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3251 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3252 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3253 __freeifaddrs. Use libc_hidden_weak.
3254 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3255 __getifaddrs and define as weak alias of __getifaddrs. Use
3256 libc_hidden_weak.
3257 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3258 __freeifaddrs. Use libc_hidden_weak.
3259 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3260 Remove variable.
3261 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3262 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3263
bbe4c142
PJ
32642014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3265
3266 [BZ #17601]
3267 * sysdeps/mips/start.S (__start): Use indirect jump to call
3268 __libc_start_main.
3269
66cadc05
JM
32702014-12-02 Joseph Myers <joseph@codesourcery.com>
3271
909e16d9
JM
3272 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3273
4e0b9016
JM
3274 * nptl/tst-mutex1.c: Include <stdbool.h>.
3275 [!ATTR] (ATTR_NULL): New macro.
3276 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3277 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3278 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3279
b1aff6a4
JM
3280 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3281 to char *.
3282
266865c0
JM
3283 [BZ #17665]
3284 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3285 Change conditional to [__USE_MISC].
3286
84e5e756
JM
3287 [BZ #17664]
3288 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3289 fgets_unlocked.
3290 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3291 __fgets_unlocked.
3292 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3293 fgets_unlocked.
3294 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3295 Remove variable.
3296 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3297 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3298 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3299 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3300 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3301 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3302 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3303 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3304 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3305
66cadc05
JM
3306 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3307
2e8a2de2 33082014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3309
3310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3311 Remove strpbrk objects.
3312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3313 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3314 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3315 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3316 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3317 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3318
bb2542e0
AZ
3319 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3320 Remove strcspn objects.
3321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3322 (__libc_ifunc_impl_list): Remove strcspn implementation.
3323 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3324 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3325 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3326 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3327
3328 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3329 Remove strspn objetcs.
3330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3331 (__libc_ifunc_impl_list): Remove strspn implementation.
3332 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3333 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3334 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3335 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3336
08f1e1d2
JL
33372014-12-01 James Lemke <jwlemke@codesourcery.com>
3338
3339 [BZ #17581]
3340 * malloc/hooks.c
3341 (mem2mem_check): Add a terminator to the chain of checking blocks.
3342 (malloc_check_get_size): Use it here.
3343 (mem2chunk_check): Ditto.
3344
a8a7d7d2
RS
33452014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3346
3347 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3348 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3349
97114a38
CD
33502014-11-29 Carlos O'Donell <carlos@redhat.com>
3351
c8dc1727
CD
3352 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3353
6d03458e
CD
3354 * nptl/nptl-init.c: Include libc-internal.h.
3355 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3356
97114a38
CD
3357 * elf/ldconfig.c (search_dir): Expand comment.
3358
0e7e69ba
JM
33592014-11-29 Joseph Myers <joseph@codesourcery.com>
3360
3361 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3362 variable.
3363 (linknamespace-symlist-stdlibs-tests): Likewise.
3364 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3365 instead of $(objpfx)symlist-stdlibs.
3366 (linknamespace-libs-isoc): New variable.
3367 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3368 (linknamespace-libs-ISO): New variable.
3369 (linknamespace-libs-ISO99): Likewise.
3370 (linknamespace-libs-ISO11): Likewise.
3371 (linknamespace-libs-XPG3): Likewise.
3372 (linknamespace-libs-XPG4): Likewise.
3373 (linknamespace-libs-POSIX): Likewise.
3374 (linknamespace-libs-UNIX98): Likewise.
3375 (linknamespace-libs-XOPEN2K): Likewise.
3376 (linknamespace-libs-POSIX2008): Likewise.
3377 (linknamespace-libs-XOPEN2K8): Likewise.
3378 ($(objpfx)symlist-stdlibs): Replace by
3379 $(linknamespace-symlist-stdlibs-tests). Use
3380 $(linknamespace-libs-$*) as set of libraries.
3381 ($(linknamespace-header-tests)): Update dependencies. Use
3382 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3383 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3384 * conform/linknamespace.pl: Remove comment about considering
3385 definitions of symbols from irrelevant libraries.
3386
d8dd0080
L
33872014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 [BZ #13862]
3390 * elf/dl-tls.c: Include <atomic.h>.
3391 (oom): Remove #ifdef SHARED/#endif.
3392 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3393 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3394 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3395 big enough.
3396 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3397 * nptl/Makefile (tests): Add tst-stack4.
3398 (modules-names): Add tst-stack4mod.
3399 ($(objpfx)tst-stack4): New.
3400 (tst-stack4mod.sos): Likewise.
3401 ($(objpfx)tst-stack4.out): Likewise.
3402 ($(tst-stack4mod.sos)): Likewise.
3403 (clean): Likewise.
3404 * nptl/tst-stack4.c: New file.
3405 * nptl/tst-stack4mod.c: Likewise.
3406
167da422
B
34072014-11-27 J. Brown <jb999@gmx.de>
3408
3409 * sysdeps/x86/bits/string.h: Add recent CPUs.
3410
9114625b
JM
34112014-11-27 Joseph Myers <joseph@codesourcery.com>
3412
6b5189eb
JM
3413 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3414 sigblock.
3415
49051f8e
JM
3416 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3417 feof.
3418
9114625b
JM
3419 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3420 variable.
3421
e7300fef
SL
34222014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3423
3424 * nscd/connections.c: Include libc-internal.h because of macro
3425 usage ignore_value.
3426
1721f0a4
SP
34272014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
3429 * string/bits/string3.h (__warn_memset_zero_len): Don't
3430 declare for gcc newer than 5.0.
3431 (memset): Don't test for zero-length __LEN for gcc newer than
3432 5.0.
3433
be970916
JM
34342014-11-27 Joseph Myers <joseph@codesourcery.com>
3435
d88548f4
JM
3436 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3437 size_t for %zu format.
3438
be970916
JM
3439 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3440 difference, not %ju.
3441
3b20fd5c
JM
34422014-11-26 Joseph Myers <joseph@codesourcery.com>
3443
8915eace
JM
3444 * include/libc-internal.h (ignore_value): New macro.
3445 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3446 with ignore_value.
3447
f1a5a0e3
JM
3448 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3449 definition.
3450
59ef1715
JM
3451 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3452 pthread_cleanup_push to void *.
3453
a6f3079b
JM
3454 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3455 Undefine.
3456
706688aa
JM
3457 [BZ #16619]
3458 [BZ #16740]
3459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3460 instead of 1L << 52.
3461
12da14a5
JM
3462 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3463 * libio/bug-rewind2.c (do_test): Likewise.
3464
bd5dadac
JM
3465 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3466 * debug/test-strcpy_chk-ifunc.c: Likewise.
3467 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3468 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3469 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3470 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3471 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3472 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3473 * Rules [$(multi-arch) = no] (tests): Do not filter out
3474 $(tests-ifunc).
3475 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3476 * debug/Makefile (tests-ifunc): Remove variable.
3477 (tests): Do not add $(tests-ifunc).
3478 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3479 (tests): Do not add $(tests-ifunc).
3480 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3481 [TEST_IFUNC]: Remove conditionals.
3482 * string/test-string.h (TEST_IFUNC): Remove macro.
3483 [TEST_IFUNC]: Remove conditionals.
3484
3b20fd5c
JM
3485 * string/test-strchr.c [!WIDE] (L): New macro.
3486 [WIDE] (L): Likewise.
3487 (check1): Use CHAR instead of char. Use L on string and character
3488 constants.
3489
704f7947
AZ
34902014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3491
3492 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3493 tests.
3494 * sysdeps/powerpc/bits/atomic.h
3495 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3496 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3497 (atomic_exchange_and_add_acq): Likewise.
3498 (atomic_exchange_and_add_rel): Likewise.
3499 * sysdeps/powerpc/powerpc32/bits/atomic.h
3500 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3501 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3502 * sysdeps/powerpc/powerpc64/bits/atomic.h
3503 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3504 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3505
cdcb42d7
TR
35062014-11-26 Torvald Riegel <triegel@redhat.com>
3507
3508 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3509 Change synchronization of __sched_fifo_min_prio and
3510 __sched_fifo_max_prio.
3511 * nptl/pthread_mutexattr_getprioceiling.c
3512 (pthread_mutexattr_getprioceiling): Likewise.
3513 * nptl/pthread_mutexattr_setprioceiling.c
3514 (pthread_mutexattr_setprioceiling): Likewise.
3515 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3516 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3517 Likewise.
3518
c82f5c0c
JM
35192014-11-26 Joseph Myers <joseph@codesourcery.com>
3520
3521 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3522 void.
3523
439e1ad6
JM
35242014-11-25 Joseph Myers <joseph@codesourcery.com>
3525
3526 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3527 third argument const.
3528
b1eda10e
PE
35292014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3530
3531 fnmatch: work around GCC compiler warning bug with uninit var
3532 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3533 This works around a bug with x86-64 GCC 4.9.2 and earlier
3534 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3535 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3536 used uninitialized in this function [-Wmaybe-uninitialized]".
3537
bde2667a
JM
35382014-11-25 Joseph Myers <joseph@codesourcery.com>
3539
3540 * posix/bug-regex31.c (main): Return RES not 0.
3541
5fbb5691
AB
35422014-11-25 Anton Blanchard <anton@samba.org>
3543
3544 * sysdeps/powerpc/bits/atomic.h
3545 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3546
467fec0b
BM
35472014-11-24 Sterling Augustine <saugustine@google.com>
3548
3549 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3550
e9ff8efb
RC
35512014-11-24 Ryan Cumming <etaoins@gmail.com>
3552
3553 [BZ #17608]
3554 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3555
9744496f
JM
35562014-11-24 Joseph Myers <joseph@codesourcery.com>
3557
3558 [BZ #17633]
3559 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3560 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3561 variable.
3562 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3563 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3564
6423d475
WD
35652014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3566
3567 * string/strncpy.c (strncpy): Improve performance by using memset.
3568
35692014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3570
3571 * string/strcpy.c (strcpy):
3572 Improve performance by using strlen and memcpy.
3573
5d178c37
LH
35742014-11-24 Leonhard Holz <leonhard.holz@web.de>
3575
3576 * string/strcoll_l.c (get_next_seq): __always_inline.
3577 * string/strcoll_l.c (do_compare): __always_inline.
3578
279bc5b3
SP
35792014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3580
7a9ebfa1
SP
3581 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3582 defined.
3583 * include/mqueue.h: Likewise.
3584 * include/stdlib.h: Likewise.
3585
4f41c682
SP
3586 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3587 (get_null_defines): Adjust.
3588 * sunrpc/Makefile: Adjust comment.
3589 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3590 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3591 (CFLAGS-interp.c): Likewise.
3592 (CFLAGS-ldconfig.c): Likewise.
3593 (CPPFLAGS-.os): Likewise.
3594 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3595 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3596 * extra-modules.mk (extra-modules.mk): Likewise.
3597 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3598 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3599 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3600 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3601 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3602 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3603 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3604 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3605 * iconvdata/Makefile (CPPFLAGS): Likewise.
3606 (cpp-srcs-left): Add libof for all iconvdata routines.
3607 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3608 * include/assert.h: Likewise.
3609 * include/ctype.h: Likewise.
3610 * include/errno.h: Likewise.
3611 * include/libc-symbols.h: Likewise.
3612 * include/math.h: Likewise.
3613 * include/netdb.h: Likewise.
3614 * include/resolv.h: Likewise.
3615 * include/stdio.h: Likewise.
3616 * include/stdlib.h: Likewise.
3617 * include/string.h: Likewise.
3618 * include/sys/stat.h: Likewise.
3619 * include/wctype.h: Likewise.
3620 * intl/l10nflist.c: Likewise.
3621 * libidn/idn-stub.c: Likewise.
3622 * libio/libioP.h: Likewise.
3623 * nptl/libc_multiple_threads.c: Likewise.
3624 * nptl/pthreadP.h: Likewise.
3625 * posix/regex_internal.h: Likewise.
3626 * resolv/res_hconf.c: Likewise.
3627 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3628 * sysdeps/arm/memmove.S: Likewise.
3629 * sysdeps/arm/sysdep.h: Likewise.
3630 * sysdeps/generic/_itoa.h: Likewise.
3631 * sysdeps/generic/symbol-hacks.h: Likewise.
3632 * sysdeps/gnu/errlist.awk: Likewise.
3633 * sysdeps/gnu/errlist.c: Likewise.
3634 * sysdeps/i386/i586/memcpy.S: Likewise.
3635 * sysdeps/i386/i586/memset.S: Likewise.
3636 * sysdeps/i386/i686/memcpy.S: Likewise.
3637 * sysdeps/i386/i686/memmove.S: Likewise.
3638 * sysdeps/i386/i686/mempcpy.S: Likewise.
3639 * sysdeps/i386/i686/memset.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3647 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3657 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3687 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3692 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3695 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3698 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3701 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3702 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3703 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3704 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3705 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3706 * sysdeps/posix/closedir.c: Likewise.
3707 * sysdeps/posix/opendir.c: Likewise.
3708 * sysdeps/posix/readdir.c: Likewise.
3709 * sysdeps/posix/rewinddir.c: Likewise.
3710 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3711 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3712 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3713 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3714 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3716 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3718 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3720 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3721 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3723 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3725 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3729 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3730 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3732 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3739 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3746 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3747 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3748 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3749 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3750 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3751 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3752 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3753 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3754 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3755 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3756 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3757 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3758 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3759 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3760 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3761 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3762 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3763 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3764 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3767 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3768 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3769 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3770 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3771 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3772 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3773 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3774 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3775 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3777 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3778 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3779 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3780 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3781 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3782 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3783 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3784 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3785 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3786 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3787 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3788 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3789 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3790 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3791 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3792 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3793 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3794 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3796 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3797 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3798 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3799 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3800 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3801 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3802 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3804 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3806 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3808 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3809 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3811 * sysdeps/unix/alpha/sysdep.S: Likewise.
3812 * sysdeps/unix/alpha/sysdep.h: Likewise.
3813 * sysdeps/unix/make-syscalls.sh: Likewise.
3814 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3816 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3817 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3818 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3819 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3820 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3821 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3822 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3823 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3824 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3825 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3826 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3827 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3828 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3829 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3830 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3831 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3832 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3833 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3834 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3835 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3836 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3837 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3838 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3839 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3843 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3844 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3848 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3852 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3853 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3854 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3855 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3856 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3857 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3858 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3864 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3865 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3866 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3867 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3872 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3873 * sysdeps/x86_64/memcpy.S: Likewise.
3874 * sysdeps/x86_64/memmove.c: Likewise.
3875 * sysdeps/x86_64/memset.S: Likewise.
3876 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3877 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3878 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3879 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3880 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3883 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3884 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3885 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3886 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3888 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3889 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3890 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3891 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3892 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3893 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3894 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3895 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3896 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3897 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3898 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3899 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3900 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3901 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3902 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3903 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3904 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3905 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3906 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3907 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3908 * sysdeps/x86_64/strcmp.S: Likewise.
3909
76ca86a5
SP
3910 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3911
a3848485
SP
3912 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3913 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3914 * elf/rtld-Rules: Likewise.
3915 * elf/setup-vdso.h: Likewise.
3916 * include/assert.h: Likewise.
3917 * include/bits/stdlib-float.h: Likewise.
3918 * include/errno.h: Likewise.
3919 * include/sys/stat.h: Likewise.
3920 * include/unistd.h: Likewise.
3921 * sysdeps/aarch64/setjmp.S: Likewise.
3922 * sysdeps/alpha/setjmp.S: Likewise.
3923 * sysdeps/arm/__longjmp.S: Likewise.
3924 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3925 * sysdeps/arm/setjmp.S: Likewise.
3926 * sysdeps/arm/sysdep.h: Likewise.
3927 * sysdeps/generic/_itoa.h: Likewise.
3928 * sysdeps/generic/dl-sysdep.h: Likewise.
3929 * sysdeps/generic/ldsodefs.h: Likewise.
3930 * sysdeps/i386/dl-tls.h: Likewise.
3931 * sysdeps/i386/setjmp.S: Likewise.
3932 * sysdeps/m68k/setjmp.c: Likewise.
3933 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3934 * sysdeps/mach/hurd/opendir.c: Likewise.
3935 * sysdeps/posix/getcwd.c: Likewise.
3936 * sysdeps/posix/opendir.c: Likewise.
3937 * sysdeps/posix/profil.c: Likewise.
3938 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3939 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3940 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3941 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3942 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3945 * sysdeps/s390/dl-tls.h: Likewise.
3946 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3947 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3948 * sysdeps/sh/sh3/setjmp.S: Likewise.
3949 * sysdeps/sh/sh4/setjmp.S: Likewise.
3950 * sysdeps/unix/alpha/sysdep.h: Likewise.
3951 * sysdeps/unix/arm/sysdep.S: Likewise.
3952 * sysdeps/unix/i386/sysdep.S: Likewise.
3953 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3954 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3955 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3956 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3957 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3958 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3959 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3960 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3961 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3962 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3963 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3964 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3965 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3968 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3971 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3972 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3974 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3975 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3976 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3977 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3978 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3980 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3981 * sysdeps/x86_64/setjmp.S: Likewise.
3982
a109996e
SP
3983 * include/math.h: Use IS_IN instead of IS_IN_libm.
3984 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3996 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4004 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4005 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4006 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4007 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4008 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4009 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4011 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4012 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4013 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4014 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4015 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4016 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4018 Likewise.
4019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4020 Likewise.
4021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4022 Likewise.
4023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4024 Likewise.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4026 Likewise.
4027 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4028 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4029 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4030 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4038 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4039 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4040 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4043 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4045 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4046 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4047 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4048 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4051 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4053 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4054
ce9f10f7
SP
4055 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4056 * nptl/pthreadP.h: Likewise.
4057 * nptl_db/structs.def: Likewise.
4058 * sysdeps/arm/sysdep.h: Likewise.
4059 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4060 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4061 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4062 * sysdeps/unix/alpha/sysdep.h: Likewise.
4063 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4064 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4065 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4066 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4067 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4068 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4070 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4071 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4072 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4073 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4074 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4075 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4076 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4080 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4081 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4084 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4085 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4086 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4087 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4088 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4089
016afc75
SP
4090 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4091 * nptl/pthreadP.h: Likewise.
4092 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4093 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4094 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4095 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4096 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4097 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4098 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4099 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4100 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4101 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4102 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4103 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4105 Likewise.
4106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4109 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4110 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4113 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4114 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4115 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4116
9b42a0b3
SP
4117 * dlfcn/dladdr.c: Use IS_IN.
4118 * dlfcn/dladdr1.c: Likewise.
4119 * dlfcn/dlclose.c: Likewise.
4120 * dlfcn/dlerror.c: Likewise.
4121 * dlfcn/dlinfo.c: Likewise.
4122 * dlfcn/dlmopen.c: Likewise.
4123 * dlfcn/dlopen.c: Likewise.
4124 * dlfcn/dlsym.c: Likewise.
4125 * dlfcn/dlvsym.c: Likewise.
4126
85f36372
SP
4127 * include/ifaddrs.h: Use IS_IN.
4128 * inet/check_pf.c: Likewise.
4129 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4130 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4131
fb6784e3
SP
4132 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4133 IS_IN_ldconfig.
4134 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4135 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4136
2886d2d1
SP
4137 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4138 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4139 IS_IN (libc).
4140
9a484857
SP
4141 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4142
a10178bd
SP
4143 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4144 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4145 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4146 * include/libc-symbols.h (IS_IN_LIB): New macro.
4147 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4148 * include/netdb.h: Likewise.
4149 * include/stap-probe.h: Remove all uses of IN_LIB.
4150
279bc5b3
SP
4151 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4152 instead of IN_MODULE.
4153 * include/libc-symbols.h (IN_MODULE): Define using
4154 MODULE_NAME.
4155 (PASTE_NAME, PASTE_NAME1): New macros.
4156 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4157 of IN_LIB.
4158 (STAP_PROBE_ASM): Likewise.
4159
e0cfa510
ST
41602014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4161
4162 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4163 __mach_init in dlopened libc.
4164
34d97d87
MF
41652014-11-22 Mike Frysinger <vapier@gentoo.org>
4166
4167 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4168 * sysdeps/arm/preconfigure: Regenerate.
4169
33cd1f74
RM
41702014-11-21 Roland McGrath <roland@hack.frob.com>
4171
4172 * nptl/pthread_create.c (__pthread_create_2_1): Set
4173 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4174 when copying values from IATTR into PD.
4175
8c230039
WN
41762014-11-21 Will Newton <will.newton@linaro.org>
4177 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4178
6d3db89b
AP
4179 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4180 Refactor inline-asm. Also add comment.
4181
01194ba1
WN
4182 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4183 ElfW macro instead of hardcoded Elf64 types.
4184 (la_aarch64_gnu_pltenter): Likewise.
4185 * sysdeps/aarch64/dl-machine.h
4186 (elf_machine_runtime_setup): Use ElfW(Addr).
4187
8c230039
WN
4188 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4189 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4190 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4191 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4192 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4193 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4194 (R_AARCH64_TLS_DTPMOD): This.
4195 (R_AARCH64_TLS_DTPREL64): Rename to ...
4196 (R_AARCH64_TLS_DTPREL): This.
4197 (R_AARCH64_TLS_TPREL64): Rename to ...
4198 (R_AARCH64_TLS_TPREL): This.
4199 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4200 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4201 R_AARCH64_TLS_TPREL64.
4202 (elf_machine_rela): Likewise.
4203
0d79fa53
TR
42042014-11-21 Torvald Riegel <triegel@redhat.com>
4205
4206 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4207 by setting it to 0. 64b atomics are not supported currently.
4208
b59d114b
AO
42092014-11-21 Alexandre Oliva <aoliva@redhat.com>
4210
4211 [BZ #16469]
4212 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4213 search domain names.
4214
f3d945d5
AO
42152014-11-21 Alexandre Oliva <aoliva@redhat.com>
4216
4217 [BZ #16469]
4218 * NEWS: Update.
4219 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4220 trailing dot.
4221 * posix/tst-getaddrinfo5.c: New.
4222 * posix/Makefile (tests): Add it.
4223
49698902
AO
42242014-11-21 Alexandre Oliva <aoliva@redhat.com>
4225
4226 [BZ #14498]
4227 * NEWS: Fixed.
4228 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4229 after parsing line but before break_if_match.
4230 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4231 if there is a protocol mismatch.
4232
81959214
MS
42332014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4234
4235 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4236 because the potential race is on the user-supplied stream.
4237
7729e0e9
AO
42382014-11-21 Alexandre Oliva <aoliva@redhat.com>
4239
4240 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4241 string literal if not passed a buffer.
4242 * manual/job.texi (ctermid): Update reasoning, note deviation
4243 from posix, suggest mtasurace when not passed a buffer, for
4244 future non-preliminary safety notes.
4245
a4ea5e28
AO
42462014-11-21 Alexandre Oliva <aoliva@redhat.com>
4247
4248 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4249 of not passing it a buffer.
4250 Reported by Peng Haitao.
4251
a2b581cb
AO
42522014-11-21 Alexandre Oliva <aoliva@redhat.com>
4253
4254 * manual/Makefile ($(objpfx)stamp-summary): Require
4255 check-safety.sh to pass.
4256 * manual/check-safety.sh: Wish for verification that every
4257 @deftypefn and @deftypefun is followed by a @safety remark.
4258
f214ff74
RM
42592014-11-20 Roland McGrath <roland@hack.frob.com>
4260
7f0dfae0
RM
4261 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4262
2f531bbb
RM
4263 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4264 PTHREAD_CANCEL_ASYNCHRONOUS.
4265 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4266 send SIGCANCEL.
4267
f214ff74
RM
4268 * nptl/default-sched.h: New file.
4269 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4270 * nptl/pthread_create.c: Include it.
4271 (__pthread_create_2_1): Use collect_default_sched instead of making
4272 Linux syscalls here directly.
4273
e37c91d4
TR
42742014-11-20 Torvald Riegel <triegel@redhat.com>
4275
4276 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4277 __pthread_once): Use C11 atomics.
4278
1eccfecd
TR
42792014-11-20 Torvald Riegel <triegel@redhat.com>
4280
4281 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4282
ff871426
TR
42832014-11-20 Torvald Riegel <triegel@redhat.com>
4284
4285 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4286 atomic_thread_fence_acquire, atomic_thread_fence_release,
4287 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4288 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4289 atomic_compare_exchange_weak_relaxed,
4290 atomic_compare_exchange_weak_acquire,
4291 atomic_compare_exchange_weak_release,
4292 atomic_exchange_acquire, atomic_exchange_release,
4293 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4294 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4295 atomic_fetch_and_acquire,
4296 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4297
1ea339b6
TR
42982014-11-20 Torvald Riegel <triegel@redhat.com>
4299
4300 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4301 USE_ATOMIC_COMPILER_BUILTINS): Define.
4302 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4303 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4304 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4305 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4306 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4307 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4308 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4309 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4310 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4311 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4312 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4314 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4316 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4318 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4320 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4321 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4322 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4323 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4324 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4326 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4327 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4328 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4329 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4330 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4331 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4332 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4333 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4334 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4335 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4336 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4337 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4338 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4339 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4340 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4341 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4342
cbd463e2
RM
43432014-11-19 Roland McGrath <roland@hack.frob.com>
4344
d960211f
RM
4345 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4346 the sched_priority value here. It was already checked when the user
4347 called pthread_attr_setschedparam.
4348
cbd463e2
RM
4349 * nptl/tst-bad-schedattr.c: New file.
4350 * nptl/Makefile (tests): Add it.
4351
a39208bd
CD
43522014-11-19 Carlos O'Donell <carlos@redhat.com>
4353 Florian Weimer <fweimer@redhat.com>
4354 Joseph Myers <joseph@codesourcery.com>
4355 Adam Conrad <adconrad@0c3.net>
4356 Andreas Schwab <schwab@suse.de>
4357 Brooks <bmoses@google.com>
4358
4359 [BZ #17625]
4360 * wordexp-test.c (__dso_handle): Add prototype.
4361 (__register_atfork): Likewise.
4362 (__app_register_atfork): New function.
4363 (registered_forks): New global.
4364 (register_fork): New function.
4365 (test_case): Add 3 new tests for WRDE_CMDSUB.
4366 (main): Call __app_register_atfork.
4367 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4368 fork count is non-zero fail the test.
4369 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4370 is set.
4371 (parse_dollars): Remove check for WRDE_NOCMD.
4372 (parse_dquote): Likewise.
4373
9cd47470
SP
43742014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
130ac68c
SP
4376 * Makeconfig (built-modules): List non-library modules to be
4377 built.
4378 (module-cppflags): Include libc-modules.h for
4379 everything except shlib-versions.v.i.
4380 (CPPFLAGS): Use it.
4381 (before-compile): Add libc-modules.h.
4382 ($(common-objpfx)libc-modules.h,
4383 $(common-objpfx)libc-modules.stmp): New targets.
4384 (common-generated): Add libc-modules.h and libc-modules.stmp.
4385 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4386 * include/libc-symbols.h: Don't include libc-modules.h.
4387 * include/libc-modules.h: Remove file.
4388 * scripts/gen-libc-modules.awk: New script to generate
4389 libc-modules.h.
4390 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4391 Depend on libc-modules.stmp.
4392
286663c3
SP
4393 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4394
9cd47470
SP
4395 * Makeconfig (in-module): Get value of libof set for the
4396 translation unit.
4397 (CPPFLAGS): Use $(in-module).
4398 * Makerules: Don't suffix routine names for nonlib.
4399 * include/libc-modules.h: New file.
4400 * include/libc-symbols.h: Include libc-modules.h
4401 (IS_IN): New macro to replace IS_IN_* macros.
4402 * elf/Makefile: Set libof-* for each routine.
4403 * elf/rtld-Rules: Likewise.
4404 * extra-modules.mk: Likewise.
4405 * iconv/Makefile: Likewise.
4406 * iconvdata/Makefile: Likewise.
4407 * locale/Makefile: Likewise.
4408 * malloc/Makefile: Likewise.
4409 * nss/Makefile: Likewise.
4410 * sysdeps/gnu/Makefile: Likewise.
4411 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4412 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4413 * sysdeps/s390/s390-64/Makefile: Likewise.
4414 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4415 CPPFLAGS for nscd instead of nonlib.
4416
32fed10f
RM
44172014-11-18 Roland McGrath <roland@hack.frob.com>
4418
d71035bd
RM
4419 * nptl/createthread.c: New file.
4420
6540b991
RM
4421 * nptl/createthread.c: Moved ...
4422 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4423
32fed10f
RM
4424 * nptl/createthread.c: Add proper top-line comment.
4425 (do_clone): Folded into ...
4426 (create_thread): ... here. Take new arguments STOPPED_START and
4427 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4428 increment __nptl_threads, do event-reporting logic, do
4429 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4430 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4431 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4432 just send SIGCANCEL.
4433 * nptl/pthread_create.c: Forward-declare create_thread before
4434 including createthread.c.
4435 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4436 declaration, and new macro START_THREAD_SELF to replace argument.
4437 Remove return statement.
4438 (report_thread_creation): New function.
4439 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4440 synchronization logic, and __nptl_nthreads increment here, around
4441 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4442 PD->parent_cancelhandling here, before create_thread. When
4443 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4444 __deallocate_stack, and ENOMEM translation here.
4445
107a5bf0
JM
44462014-11-18 Joseph Myers <joseph@codesourcery.com>
4447
4448 [BZ #17616]
4449 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4450 (mptwo): Rename to __mptwo.
4451 (__inv): Use __mptwo instead of mptwo.
4452 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4453 (mptwo): Rename to __mptwo.
4454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4455 of mpone and __mptwo instead of mptwo.
4456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4457 instead of mpone.
4458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4459 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4460 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4461 of mpone and __mptwo instead of mptwo.
4462 (__mpranred): Use __mpone instead of mpone.
4463 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4464 variable.
4465 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4466 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4467 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4468 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4469 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4470 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4471 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4472 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4473 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4474 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4475 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4476 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4477 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4478 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4479 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4480 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4481 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4482 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4483 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4484
3b679ab3
TV
44852014-11-18 Tom de Vries <tom@codesoucery.com>
4486
4487 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4488 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4489
44902014-11-17 Richard Henderson <rth@redhat.com>
4491
4492 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4493 (_FP_PACK_RAW_2): Remove.
4494 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4495 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4496 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4497 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4498 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4499 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4500 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4501 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4502 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4503 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4504 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4505 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4506 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4507 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4508 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4509 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4510
0781a777
RM
45112014-11-14 Roland McGrath <roland@hack.frob.com>
4512
4513 * signal/signal.h [__USE_MISC]
4514 (struct sigvec): Remove type.
4515 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4516 (sigvec): Remove declaration.
4517 * sysdeps/posix/sigvec.c: Moved ...
4518 * signal/sigvec.c: ... here, replacing old file.
4519 (struct sigvec): New type, copied from old signal.h definition.
4520 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4521 (__sigvec): Convert definition to prototype.
4522 (sigvec): Replace weak_alias with compat_symbol.
4523 * signal/Versions (libc: GLIBC_2.21): New version set.
4524 * include/signal.h: Remove __sigvec declaration.
4525 * sysdeps/unix/bsd/sigvec.c: Remove file.
4526 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4527 * manual/signal.texi (BSD Handler): Remove subsection.
4528 Move siginterrupt up to ...
4529 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4530 (Blocking in BSD): Fold subsection into its parent.
4531 * NEWS: Mention sigvec removal.
4532
a4733812
JM
45332014-11-14 Joseph Myers <joseph@codesourcery.com>
4534
5ae4fe60
JM
4535 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4536 (DLA_FMS): Make definition conditional only on [__FMA4__].
4537 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4538 definition.
4539
6a0dd472
JM
4540 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4541 Make definition conditional only on [PROF].
4542 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4543 definition.
4544 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4545 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4546
a4733812
JM
4547 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4548 !__GNUC__].
4549 * include/signal.h (__sigpause): Move declaration above call to
4550 libc_hidden_proto.
4551 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4552 variable.
4553 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4554 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4555
cf7246dd
DM
45562014-11-14 David S. Miller <davem@davemloft.net>
4557
4558 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4559 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4560
c1b0aadc
JM
45612014-11-14 Joseph Myers <joseph@codesourcery.com>
4562
4863355a
JM
4563 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4564 * configure: Regenerated.
4565 * manual/install.texi (Tools for Compilation): Document a
4566 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4567 compiler verified to work.
4568 * INSTALL: Regenerated.
4569
c1b0aadc
JM
4570 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4571 redeclare with asm name.
4572 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4573 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4574 including <string.h>.
4575 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4576 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4577 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4578 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4579 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4581 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4582
2a1cfd94
JM
45832014-11-13 Joseph Myers <joseph@codesourcery.com>
4584
bf438382
JM
4585 * stdlib/strtol.c (__strtol): Use prototype definition.
4586
2a1cfd94
JM
4587 [BZ #17594]
4588 * stdlib/strtol.c (SYM__): New macro.
4589 (SYM__1): Likewise.
4590 (__strtol): Likewise.
4591 (strtol): Rename to __strtol and define as weak alias of
4592 __strtol. Use libc_hidden_weak.
4593
20ed0d26
SL
45942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4595
4596 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4597 Use numbered labels in inline assembly.
4598
53244a4e
SL
45992014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4600
4601 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4602 Add setjmp LIBC_PROBE.
4603 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4604 Likewise.
4605 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4606 Add longjmp, longjmp_target LIBC_PROBE.
4607 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4608 Likewise.
4609
47df8251
SL
46102014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4611
4612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4613 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4614 to get rid of unused variable warning.
4615
618cebef
SL
46162014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4617
4618 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4619 Check for unwind_backtrace == NULL only in SHARED case.
4620 (__backchain_backtrace): Compile only in SHARED case.
4621 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4622 Likewise.
4623 (__backchain_backtrace): Declare as static.
4624
c6aab2cb
RM
46252014-11-12 Roland McGrath <roland@hack.frob.com>
4626
4627 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4628 (__libc_multiple_threads_ptr): Variable moved ...
4629 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4630
5a6fa4d7
JM
46312014-11-12 Joseph Myers <joseph@codesourcery.com>
4632
24f4f825
JM
4633 * conform/GlibcConform.pm: New file.
4634 * conform/conformtest.pl: Use GlibcConform module.
4635 * conform/linknamespace.pl: New file.
4636 * conform/list-header-symbols.pl: Likewise.
4637 * conform/Makefile (linknamespace-symlists-base): New variable.
4638 (linknamespace-symlists-tests): Likewise.
4639 (linknamespace-header-base): Likewise.
4640 (linknamespace-header-tests): Likewise.
4641 (tests-special): Add new tests.
4642 ($(linknamespace-symlists-tests)): New rule.
4643 (linknamespace-libs): New variable.
4644 ($(objpfx)symlist-stdlibs): New rule.
4645 ($(linknamespace-header-tests)): Likewise.
4646 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4647 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4648 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4649 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4650 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4651 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4652 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4653 (test-xfail-ISO/math.h/linknamespace): Likewise.
4654 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4655 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4656 (test-xfail-ISO/time.h/linknamespace): Likewise.
4657 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4658 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4659 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4660 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4661 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4662 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4663 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4664 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4665 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4666 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4667 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4668 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4669 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4670 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4671 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4672 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4673 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4674 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4675 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4676 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4677 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4678 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4679 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4680 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4681 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4682 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4683 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4684 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4685 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4686 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4687 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4688 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4689 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4690 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4691 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4692 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4693 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4694 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4695 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4696 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4697 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4698 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4699 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4700 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4701 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4702 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4703 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4704 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4705 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4706 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4707 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4708 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4709 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4710 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4711 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4712 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4713 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4714 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4715 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4716 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4717 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4718 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4719 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4720 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4721 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4722 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4723 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4724 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4725 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4726 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4727 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4728 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4729 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4730 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4731 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4732 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4733 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4734 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4735 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4736 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4737 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4738 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4739 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4740 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4741 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4742 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4743 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4744 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4745 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4746 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4747 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4748 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4749 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4750 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4751 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4752 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4753 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4754 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4755 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4756 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4757 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4758 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4759 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4760 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4761 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4762 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4763 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4764 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4765 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4766 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4767 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4768 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4769 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4770 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4771 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4772 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4773 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4774 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4775 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4776 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4777 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4778 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4779 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4780 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4781 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4782 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4783 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4784 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4785 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4787 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4788 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4789 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4790 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4791 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4792 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4793 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4794 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4795 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4796 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4797 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4798 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4799 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4800 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4801 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4802 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4803 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4804 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4805 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4806 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4807
cc67478e
JM
4808 [BZ #17589]
4809 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4810 of fgets_unlocked.
4811
9975e3d3
JM
4812 [BZ #17585]
4813 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4814 (memmem): Rename to __memmem and define as weak alias of
4815 __memmem. Use libc_hidden_weak.
4816 (__memmem): Use libc_hidden_def.
4817 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4818 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4819 memmem.
4820
c4eae752
JM
4821 [BZ #17582]
4822 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4823 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4824 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4825 and define as weak alias of __fgets_unlocked. Use
4826 libc_hidden_weak.
4827 (__fgets_unlocked): Use libc_hidden_def.
4828 * include/stdio.h (__fgets_unlocked): Declare. Use
4829 libc_hidden_proto.
4830 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4831 __fgets_unlocked instead of fgets_unlocked.
4832 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4833 (GET_NPROCS_CONF_PARSER): Likewise.
4834 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4835 (GET_NPROCS_CONF_PARSER): Likewise.
4836
01cad84e
JM
4837 [BZ #17574]
4838 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4839 weak alias of __wmemset. Use libc_hidden_weak.
4840 (__wmemset): Use libc_hidden_def.
4841 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4842 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4843 of wmemset.
4844
939da411
JM
4845 [BZ #17573]
4846 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4847 with asm name __mempcpy.
4848 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4849
293d9a41
JM
4850 [BZ #17572]
4851 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4852 and define as weak alias of __rawmemchr.
4853 (__rawmemchr): Do not define as strong alias of rawmemchr.
4854
bef8fd60
JM
4855 [BZ #17571]
4856 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4857 alias of __qsort_r.
4858 (qsort): Call __qsort_r instead of qsort_r.
4859 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4860 (__qsort_r): Declare. Call libc_hidden_proto.
4861 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4862 instead of qsort_r.
4863 * nscd/gai.c (__qsort_r): Define to qsort_r.
4864 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4865 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4866 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4867
c52ff39e
JM
4868 [BZ #17570]
4869 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4870 define as weak alias of __malloc_info.
4871
2f5c1b00
JM
4872 [BZ #17584]
4873 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4874 as weak alias of __rewinddir. Don't use libc_hidden_def.
4875 (__rewinddir): Use libc_hidden_def.
4876 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4877 as weak alias of __rewinddir. Don't use libc_hidden_def.
4878 (__rewinddir): Use libc_hidden_def.
4879 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4880 weak alias of __rewinddir. Don't use libc_hidden_def.
4881 (__rewinddir): Use libc_hidden_def.
4882 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4883 (__rewinddir): Use libc_hidden_proto.
4884 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4885 rewinddir.
4886 (__getcwd): Use __rewinddir instead of rewinddir.
4887
5a6fa4d7
JM
4888 [BZ #17583]
4889 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4890 alias of __fileno. Use libc_hidden_weak.
4891 (__fileno): Use libc_hidden_def.
4892 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4893 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4894 alias of __ftello.
4895 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4896 __ftello.
4897 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4898 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4899 libc_hidden_def.
4900 (fread_unlocked): Don't use libc_hidden_ver.
4901 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4902 and define as weak alias of __fread_unlocked. Don't use
4903 libc_hidden_def.
4904 (__fread_unlocked): Use libc_hidden_def.
4905 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4906 (ftello): Don't use libc_hidden_proto.
4907 (__ftello): Declare. Use libc_hidden_proto.
4908 (fread_unlocked): Don't use libc_hidden_proto.
4909 (__fread_unlocked): Declare. Use libc_hidden_proto.
4910 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4911 and __ftello instead of fileno, fread_unlocked and ftello.
4912
2581b98e
SP
49132012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4914
4915 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4916 GOT12.
4917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4918 Likewise.
4919 (_dl_start_user): Likewise.
4920 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4921
533bb7c2
SP
49222014-11-12 Carlos O'Donell <carlos@redhat.com>
4923 Siddhesh Poyarekar <siddhesh@redhat.com>
4924
4925 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4926 Move argv and envp down instead of moving argc up.
4927 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4928
fffa1cf8
LH
49292014-11-12 Leonhard Holz <leonhard.holz@web.de>
4930
4931 [BZ #17506]
4932 * test-skeleton.c (main): Return successful if one of
4933 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4934 * string/tst-strcoll-overflow.c: Define expected status.
4935
fb89b46d
TU
49362014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4937
4938 [BZ #17475]
4939 * locale/iso-639.def: Define Bhili and Tulu language codes.
4940
5c40c3ba
AH
49412014-11-11 Alan Hayward <alan.hayward@arm.com>
4942
4943 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4944
b17fe01b 49452014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4946
4947 [BZ #17555]
4948 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4949
bd805071
AS
49502014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4951
4952 * configure.ac: Updated check of minimal required version to
4953 2.22.
4954 * manual/install.texi (Tools for Compilation): Updated version
4955 number.
4956 * configure: Regenerated.
4957 * INSTALL: Likewise.
4958
1400983e
AS
49592014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4960
4961 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4962 __tls_get_addr.
4963
2c46a66a
JM
49642014-11-07 Joseph Myers <joseph@codesourcery.com>
4965
4966 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4967 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4968 (__waitpid): Don't define as alias. Use libc_hidden_def not
4969 libc_hidden_weak.
4970 (waitpid): Define as alias of __waitpid.
4971 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4972 __waitpid.
4973 (__waitpid): Don't define as alias. Use libc_hidden_def not
4974 libc_hidden_weak.
4975 (waitpid): Define as alias of __waitpid.
4976 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4977 __libc_waitpid alias.
4978 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4979 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4980 Likewise.
4981 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4983 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4984 alias.
4985 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4986 __waitpid.
4987 (__waitpid): Don't define as alias. Use libc_hidden_def not
4988 libc_hidden_weak.
4989 (waitpid): Define as alias of __waitpid.
4990
da53d6db
CD
49912014-11-06 Carlos O'Donell <carlos@redhat.com>
4992
a2887bdb
CD
4993 * manual/llio.texi: Add comment that write safety has been
4994 fixed in Linux.
4995
da53d6db
CD
4996 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4997 (localplt-build-dso): Add elf/ld.so.
4998 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4999 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5000 and free for ld.so.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5002 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5004 Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5008 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5009 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5010 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5011 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5012 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5013 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5014 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5015 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5018
9cf27b8d
JM
50192014-11-05 Joseph Myers <joseph@codesourcery.com>
5020
5021 [BZ #14132]
5022 * include/libc-symbols.h (INTUSE): Remove macro.
5023 (INTDEF): Likewise.
5024 (INTVARDEF): Likewise.
5025 (_INTVARDEF): Likewise.
5026 (INTDEF2): Likewise.
5027 (INTVARDEF2): Likewise.
5028 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5029 rtld_hidden_def instead of INTVARDEF.
5030 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5031 (_dl_starting_up_internal): Remove declaration.
5032 (_dl_starting_up): Use rtld_hidden_proto.
5033 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5034 declaration.
5035 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5036 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5037 _dl_starting_up.
5038 * elf/dl-writev.h (_dl_writev): Likewise.
5039 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5040 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5041 _dl_starting_up_internal.
5042
af83568d
AZ
50432014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5044
5045 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5046 test-skeleton.c.
5047
b01ee67c
WN
50482014-11-05 Will Newton <will.newton@linaro.org>
5049
5050 * benchtests/Makefile: (bench-malloc): Add malloc thread
5051 scalability benchmark.
5052 * benchtests/bench-malloc-threads.c: New file.
5053
be9d4ccc
RE
50542014-11-05 Richard Earnshaw <rearnsha@arm.com>
5055
5056 * sysdeps/aarch64/strchrnul.S: New file.
5057
7110166d
AZ
50582014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059
5060 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5061 definition.
5062 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5063 Likwise.
5064 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5065 Likewise.
5066 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5067 Likewise.
5068 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5069 Likewise.
5070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5071 Likewise.
5072
50732014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5074
5075 * catgets/test-gencat.c: Use test-skeleton.c.
5076 * catgets/tst-catgets.c: Likewise.
5077 * csu/tst-empty.c: Likewise.
5078 * elf/tst-audit2.c: Likewise.
5079 * elf/tst-global1.c: Likewise.
5080 * elf/tst-pathopt.c: Likewise.
5081 * elf/tst-piemod1.c: Likewise.
5082 * elf/tst-tls10.c: Likewise.
5083 * elf/tst-tls11.c: Likewise.
5084 * elf/tst-tls12.c: Likewise.
5085 * gnulib/tst-gcc.c: Likewise.
5086 * iconvdata/tst-e2big.c: Likewise.
5087 * iconvdata/tst-loading.c: Likewise.
5088 * iconv/tst-iconv1.c: Likewise.
5089 * iconv/tst-iconv2.c: Likewise.
5090 * inet/test-inet6_opt.c: Likewise.
5091 * inet/tst-gethnm.c: Likewise.
5092 * inet/tst-network.c: Likewise.
5093 * inet/tst-ntoa.c: Likewise.
5094 * intl/tst-codeset.c: Likewise.
5095 * intl/tst-gettext2.c: Likewise.
5096 * intl/tst-gettext3.c: Likewise.
5097 * intl/tst-ngettext.c: Likewise.
5098 * intl/tst-translit.c: Likewise.
5099 * io/test-stat.c: Likewise.
5100 * libio/test-fmemopen.c: Likewise.
5101 * libio/tst-freopen.c: Likewise.
5102 * libio/tst-sscanf.c: Likewise.
5103 * libio/tst-ungetwc1.c: Likewise.
5104 * libio/tst-ungetwc2.c: Likewise.
5105 * libio/tst-widetext.c: Likewise.
5106 * localedata/tst-ctype.c: Likewise.
5107 * localedata/tst-digits.c: Likewise.
5108 * localedata/tst-leaks.c: Likewise.
5109 * localedata/tst-mbswcs1.c: Likewise.
5110 * localedata/tst-mbswcs2.c: Likewise.
5111 * localedata/tst-mbswcs3.c: Likewise.
5112 * localedata/tst-mbswcs4.c: Likewise.
5113 * localedata/tst-mbswcs5.c: Likewise.
5114 * localedata/tst-setlocale.c: Likewise.
5115 * localedata/tst-trans.c: Likewise.
5116 * localedata/tst-wctype.c: Likewise.
5117 * localedata/tst-xlocale1.c: Likewise.
5118 * login/tst-grantpt.c: Likewise.
5119 * malloc/tst-calloc.c: Likewise.
5120 * malloc/tst-malloc.c: Likewise.
5121 * malloc/tst-mallocstate.c: Likewise.
5122 * malloc/tst-mcheck.c: Likewise.
5123 * malloc/tst-mtrace.c: Likewise.
5124 * malloc/tst-obstack.c: Likewise.
5125 * math/atest-exp2.c: Likewise.
5126 * math/atest-exp.c: Likewise.
5127 * math/atest-sincos.c: Likewise.
5128 * math/test-matherr.c: Likewise.
5129 * math/test-misc.c: Likewise.
5130 * math/test-powl.c: Likewise.
5131 * math/tst-definitions.c: Likewise.
5132 * misc/tst-dirname.c: Likewise.
5133 * misc/tst-efgcvt.c: Likewise.
5134 * misc/tst-fdset.c: Likewise.
5135 * misc/tst-hsearch.c: Likewise.
5136 * misc/tst-mntent2.c: Likewise.
5137 * nptl/tst-sem7.c: Likewise.
5138 * nptl/tst-sem8.c: Likewise.
5139 * nptl/tst-sem9.c: Likewise.
5140 * nss/test-netdb.c: Likewise.
5141 * posix/tst-fnmatch.c: Likewise.
5142 * posix/tst-getlogin.c: Likewise.
5143 * posix/tst-gnuglob.c: Likewise.
5144 * posix/tst-mmap.c: Likewise.
5145 * pwd/tst-getpw.c: Likewise.
5146 * resolv/tst-inet_ntop.c: Likewise.
5147 * rt/tst-timer.c: Likewise.
5148 * stdio-common/test-fseek.c: Likewise.
5149 * stdio-common/test-popen.c: Likewise.
5150 * stdio-common/test-vfprintf.c: Likewise.
5151 * stdio-common/tst-cookie.c: Likewise.
5152 * stdio-common/tst-fileno.c: Likewise.
5153 * stdio-common/tst-gets.c: Likewise.
5154 * stdio-common/tst-obprintf.c: Likewise.
5155 * stdio-common/tst-perror.c: Likewise.
5156 * stdio-common/tst-sprintf2.c: Likewise.
5157 * stdio-common/tst-sprintf3.c: Likewise.
5158 * stdio-common/tst-sprintf.c: Likewise.
5159 * stdio-common/tst-swprintf.c: Likewise.
5160 * stdio-common/tst-tmpnam.c: Likewise.
5161 * stdio-common/tst-unbputc.c: Likewise.
5162 * stdio-common/tst-wc-printf.c: Likewise.
5163 * stdlib/tst-environ.c: Likewise.
5164 * stdlib/tst-fmtmsg.c: Likewise.
5165 * stdlib/tst-limits.c: Likewise.
5166 * stdlib/tst-rand48-2.c: Likewise.
5167 * stdlib/tst-rand48.c: Likewise.
5168 * stdlib/tst-random2.c: Likewise.
5169 * stdlib/tst-random.c: Likewise.
5170 * stdlib/tst-strtol.c: Likewise.
5171 * stdlib/tst-strtoll.c: Likewise.
5172 * stdlib/tst-tls-atexit.c: Likewise.
5173 * stdlib/tst-xpg-basename.c: Likewise.
5174 * string/test-ffs.c: Likewise.
5175 * string/tst-bswap.c: Likewise.
5176 * string/tst-inlcall.c: Likewise.
5177 * string/tst-strtok.c: Likewise.
5178 * string/tst-strxfrm.c: Likewise.
5179 * sysdeps/x86_64/tst-audit10.c: Likewise.
5180 * sysdeps/x86_64/tst-audit3.c: Likewise.
5181 * sysdeps/x86_64/tst-audit4.c: Likewise.
5182 * sysdeps/x86_64/tst-audit5.c: Likewise.
5183 * time/tst-ftime_l.c: Likewise.
5184 * time/tst-getdate.c: Likewise.
5185 * time/tst-mktime3.c: Likewise.
5186 * time/tst-mktime.c: Likewise.
5187 * time/tst-posixtz.c: Likewise.
5188 * time/tst-strptime2.c: Likewise.
5189 * time/tst-strptime3.c: Likewise.
5190 * wcsmbs/tst-btowc.c: Likewise.
5191 * wcsmbs/tst-mbrtowc.c: Likewise.
5192 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5193 * wcsmbs/tst-wchar-h.c: Likewise.
5194 * wcsmbs/tst-wcpncpy.c: Likewise.
5195 * wcsmbs/tst-wcrtomb.c: Likewise.
5196 * wcsmbs/tst-wcsnlen.c: Likewise.
5197 * wcsmbs/tst-wcstof.c: Likewise.
5198
2004e7fb
JM
51992014-11-04 Joseph Myers <joseph@codesourcery.com>
5200
ab97ee8f
JM
5201 [BZ #14132]
5202 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5203 INTDEF.
5204 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5205 declaration.
5206 (_dl_mcount): Use rtld_hidden_proto.
5207 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5208 _dl_mcount.
5209 * elf/rtld.c (_rtld_global_ro): Likewise.
5210
c5684fdb
JM
5211 [BZ #14132]
5212 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5213 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5214 of _dl_init_internal.
5215 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5216 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5217 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5218 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5219 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5220 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5221 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5222 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5223 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5224 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5225 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5226 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5227 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5228 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5229 * sysdeps/tile/dl-start.S (_start): Likewise.
5230 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5231 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5232
4243cbea
JM
5233 [BZ #14132]
5234 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5235 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5236 (rtld_progname): Make macro definition unconditional.
5237 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5238 INTDEF.
5239 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5240 (dl_main): Likewise.
5241 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5242 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5243 instead of _dl_argv_internal.
5244 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5245 __GI__dl_argv instead of INTUSE(_dl_argv).
5246 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5247 __GI__dl_argv instead of _dl_argv_internal.
5248
2004e7fb
JM
5249 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5250 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5251 macro.
5252 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5253 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5254 New macro.
5255 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5256 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5257 macro.
5258 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5259 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5260
97827bfc
AS
52612014-11-04 Andreas Schwab <schwab@suse.de>
5262
5263 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5264
5e4df284
AZ
52652014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5266
5267 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5268 mtvsrd instruction in binary form.
5269
04b76b5a
AS
52702014-11-03 Andreas Schwab <schwab@suse.de>
5271
5272 [BZ #17522]
5273 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5274 for less than MB_LEN_MAX use a local buffer of that size.
5275 * libio/tst-fputws.c: New file.
5276 * libio/Makefile (tests): Add tst-fputws.
5277
4c6da7da
JM
52782014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5279
5280 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5281 the size of the fpu_fr.fpu_dregs[] array.
5282
1679ba8e
JM
52832014-11-01 Joseph Myers <joseph@codesourcery.com>
5284
5285 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5286 (__nanosleep): Do not define as alias.
5287 (nanosleep): Define as alias of __nanosleep.
5288 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5289 __libc_nanosleep name.
5290
2626c183
JM
52912014-10-31 Joseph Myers <joseph@codesourcery.com>
5292
5293 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5294 install.texi in comment.
5295
7f981fc2
TR
52962014-10-31 Torvald Riegel <triegel@redhat.com>
5297
5298 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5299 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5300 ... add here and use lwsync or sync ...
5301 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5302 ... and add here using lwsync.
5303
d6f373d2
MF
53042014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5305
5306 * elf/dl-machine-reject-phdr.h: New file.
5307 * elf/dl-load.c: #include that.
5308 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5309 if that returned true.
5310
67c37987
RM
53112014-10-31 Roland McGrath <roland@hack.frob.com>
5312
5313 [BZ #17496]
5314 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5315 gen-as-const-headers chunk. Add a big scare comment after the last
5316 safe place to touch before-compile.
5317
94a42455 53182014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5319
f3f5d895
JM
5320 * manual/install.texi (Tools for Compilation): Update autoconf
5321 version requirements.
5322 * INSTALL: Regenerated.
5323
f62ff286
JM
5324 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5325 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5326 (__libc_pselect): Likewise.
94a42455
JM
5327
5328 [BZ #14138]
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5333
ff9dbdc0
TR
53342014-10-31 Torvald Riegel <triegel@redhat.com>
5335
5336 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5337 correct barrier instruction.
5338 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5339 Likewise.
5340 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5341 Likewise.
5342
b4f66884
RM
53432014-10-30 Roland McGrath <roland@hack.frob.com>
5344
5345 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5346 after defining inlines. Instead, just use parens to defeat macro
5347 expansion of __isctype in its declaration.
5348
e19c95fd
JM
53492014-10-30 Joseph Myers <joseph@codesourcery.com>
5350
5351 * include/sys/uio.h (__libc_readv): Remove declaration.
5352 (__libc_writev): Likewise.
5353 * misc/readv.c (__libc_readv): Rename to __readv.
5354 (__readv): Do not define as alias.
5355 (readv): Define as alias of __readv.
5356 * misc/writev.c (__libc_writev): Rename to __writev.
5357 (__writev): Do not define as alias.
5358 (writev): Define as alias of __writev.
5359 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5360 (__readv): Do not define as alias.
5361 (readv): Define unconditionally as alias of __readv.
5362 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5363 (__writev): Do not define as alias.
5364 (writev): Define unconditionally as alias of __writev.
5365 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5366 name.
5367 (writev): Do not define __libc_writev name.
5368
65b00b6c
RM
53692014-10-30 Roland McGrath <roland@hack.frob.com>
5370
5371 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5372 (convert_charseq): New function, broken out of ...
5373 (use_from_charmap): ... here. Call it.
5374 (use_to_charmap): Use convert_charseq and free instead of duplicating
5375 its code with a variable-length stack struct.
5376
d4e157aa
JM
53772014-10-30 Joseph Myers <joseph@codesourcery.com>
5378
5379 * include/fcntl.h (__libc_creat): Remove declaration.
5380 * io/creat.c (__libc_creat): Rename to creat.
5381 (creat): Do not define as alias.
5382 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5383 of creat instead of __libc_creat.
5384 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5385 to creat.
5386 (creat): Do not define as alias.
5387 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5388 __libc_creat.
5389 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5390 __libc_creat name.
5391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5392 Likewise.
5393
0c6891a0
CD
53942014-10-29 Carlos O'Donell <carlos@redhat.com>
5395
5396 * manual/llio.texi: Add comments discussing why write() may be
5397 considered MT-unsafe on Linux.
5398
cc00cece
CD
53992014-10-28 Carlos O'Donell <carlos@redhat.com>
5400
5401 * dl-load.c (local_strdup): Remove.
5402 (expand_dynamic_string_token): Use __strdup.
5403 (decompose_rpath): Likewise.
5404 (_dl_map_object): Likewise.
5405
51e623f2
JM
54062014-10-28 Joseph Myers <joseph@codesourcery.com>
5407
5408 [BZ #14132]
5409 * sysdeps/generic/unwind-dw2-fde.c
5410 (__register_frame_info_bases_internal): Do not declare.
5411 (__register_frame_info_table_bases_internal): Likewise.
5412 (__deregister_frame_info_bases_internal): Likewise.
5413 (__register_frame_info_bases): Declare and use hidden_proto before
5414 definition. Use hidden_def instead of INTDEF.
5415 (__register_frame_info_table_bases): Likewise.
5416 (__deregister_frame_info_bases): Likewise.
5417 (__register_frame_info): Do not use INTUSE.
5418 (__register_frame): Likewise.
5419 (__register_frame_info_table): Likewise.
5420 (__register_frame_table): Likewise.
5421 (__deregister_frame_info): Likewise.
5422 (__deregister_frame): Likewise.
5423
03d41216
GC
54242014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5425
5426 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5427 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5428 not undefine.
5429 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5430 Likewise.
5431 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5432 Likewise.
5433
a4b3624d
JM
54342014-10-27 Joseph Myers <joseph@codesourcery.com>
5435
5436 [BZ #14138]
5437 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5438 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5439 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5440 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5441 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5442 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5443 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5444 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5445 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5446 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5447 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5448 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5449 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5450 syscall.
5451 (setfsuid): Likewise.
5452 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5453 (setfsuid): Likewise.
5454 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5455 (setfsuid): Likewise.
5456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5457 Likewise.
5458 (setfsuid): Likewise.
5459 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5460 (setfsuid): Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5462 Likewise.
5463 (setfsuid): Likewise.
5464
3574f2fd
AS
54652014-10-27 Andreas Schwab <schwab@suse.de>
5466
5467 [BZ #17501]
5468 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5469 check for Slow_SSE4_2 feature bit.
5470 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5471 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5472 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5473 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5474
70996a37
RM
54752014-10-24 Roland McGrath <roland@hack.frob.com>
5476
461a7b1e
RM
5477 * configure.ac: Validate compiler version with a empirical test of
5478 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5479 $CC -v output.
5480 * configure: Regenerated.
5481
70996a37
RM
5482 * inet/htons.c (htons): Prototypify.
5483 * inet/htonl.c (htonl): Likewise.
5484
e80514b5
WD
54852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5486
5487 * string/strncat.c (strncat): Improve performance by using strlen.
5488
6e46de42
WD
54892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5490
5491 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5492
6a9ad2fa
WD
54932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5494
5495 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5496 Call libc_fetestexcept_aarch64.
5497
1c8810ed
WD
54982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5499
5500 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5501 Call libc_feholdexcept_aarch64.
5502
8b1af712
WD
55032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5504
5505 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5506 Call get_rounding_mode.
5507
a7b00c11
WD
55082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5509
5510 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5511 Simplify logic.
5512
3a84f1a6
WD
55132014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5514
5515 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5516 Simplify logic.
5517
48eb7a94
JM
55182014-10-24 Joseph Myers <joseph@codesourcery.com>
5519
c8bc4038
JM
5520 [BZ #14138]
5521 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5522 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5523 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5524 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5525 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5526 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5527 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5528 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5529 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5530 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5531 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5532 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5533 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5534 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5535 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5536 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5537 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5538 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5539 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5540 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5541 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5543 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5546 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5547 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5548 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5549 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5550 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5551 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5552 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5553 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5554 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5555 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5557 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5558 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5559 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5560 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5561 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5562 syscall.
5563 (geteuid): Likewise.
5564 (getgid): Likewise.
5565 (getuid): Likewise.
5566 (getresgid): Likewise.
5567 (getresuid): Likewise.
5568 (getgroups): Likewise.
5569 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5570 (geteuid): Likewise.
5571 (getgid): Likewise.
5572 (getuid): Likewise.
5573 (getresgid): Likewise.
5574 (getresuid): Likewise.
5575 (getgroups): Likewise.
5576 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5577 (geteuid): Likewise.
5578 (getgid): Likewise.
5579 (getuid): Likewise.
5580 (getresgid): Likewise.
5581 (getresuid): Likewise.
5582 (getgroups): Likewise.
5583 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5584 Likewise.
5585 (geteuid): Likewise.
5586 (getgid): Likewise.
5587 (getuid): Likewise.
5588 (getresgid): Likewise.
5589 (getresuid): Likewise.
5590 (getgroups): Likewise.
5591 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5592 (geteuid): Likewise.
5593 (getgid): Likewise.
5594 (getuid): Likewise.
5595 (getresgid): Likewise.
5596 (getresuid): Likewise.
5597 (getgroups): Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5599 Likewise.
5600 (geteuid): Likewise.
5601 (getgid): Likewise.
5602 (getuid): Likewise.
5603 (getgroups): Likewise.
5604
48eb7a94
JM
5605 [BZ #14138]
5606 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5607 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5608 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5609 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5610 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5611 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5612 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5613 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5614 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5615 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5616 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5617 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5619 __chown.
5620 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5621 (lchown): Likewise.
5622 (fchown): Likewise.
5623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5624 Likewise.
5625 (lchown): Likewise.
5626 (fchown): Likewise.
5627 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5628 (lchown): Likewise.
5629 (fchown): Likewise.
5630 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5631 Likewise.
5632 (lchown): Likewise.
5633 (fchown): Likewise.
5634
ea9a7c8b
WD
56352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5636
5637 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5638 Simplify logic.
5639
e226de33
WD
56402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5641
5642 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5643 Cleanup logic.
5644
6e3d8ed3
WD
56452014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5646
5647 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5648 Remove unused include.
5649
eb04247d
WD
56502014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5651
5652 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5653 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5654 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5655 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5656
13d84554
CD
56572014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5658 Helge Deller <deller@gmx.de>
5659
5660 [BZ #17508]
5661 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5662 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5663 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5664
15f9c5df
JM
56652014-10-23 Joseph Myers <joseph@codesourcery.com>
5666
5667 [BZ #14132]
5668 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5669 Remove macro definition.
5670 (__ashrdi3_v_glibc20): Likewise.
5671 (__lshrdi3_v_glibc20): Likewise.
5672 (__cmpdi2_v_glibc20): Likewise.
5673 (__ucmpdi2_v_glibc20): Likewise.
5674 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5675 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5676 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5677 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5678 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5679 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5680
c6dfed24
RM
56812014-10-22 Roland McGrath <roland@hack.frob.com>
5682
5683 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5684 old GNU extension [0] syntax.
5685 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5686 alloca rather than an array member with variable length.
5687 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5688 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5689 (parse_opt): ... here. Likewise use alloca there.
5690 Validate the -i argument before checking for rootness.
5691 (send_shutdown): New function, broken out of ...
5692 (parse_opt): ... here.
5693
8c2b1ed8
RM
56942014-10-22 Roland McGrath <roland@hack.frob.com>
5695
5696 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5697 macro to get at the _rt_local_ro field.
5698 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5699 ([PIC] case) or _dl_hwcap ([!PIC] case).
5700 * sysdeps/arm/setjmp.S: Likewise.
5701
5702 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5703 * sysdeps/arm/configure.ac: New check to define it.
5704 * sysdeps/arm/configure: Regenerated.
5705 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5706 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5707 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5708 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5709 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5710 Use move/movt pair instead of a load.
5711 (LDST_GLOBAL): Macro removed.
5712 (LDR_GLOBAL): New macro replaces it.
5713 (LDR_HIDDEN): New macro.
5714 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5715 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5716
5717 * setjmp/tst-setjmp-static.c: New file.
5718 * setjmp/Makefile (tests): Add it.
5719 (tests-static): New variable.
5720
b5af9297
MR
57212014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5722
5723 [BZ #17485]
5724 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5725
a13d0d74
JM
57262014-10-21 Joseph Myers <joseph@codesourcery.com>
5727
5728 [BZ #14132]
5729 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5730
f05e73f6
RM
57312014-10-21 Roland McGrath <roland@hack.frob.com>
5732
5733 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5734
6ab1d1ea
RM
57352014-10-20 Roland McGrath <roland@hack.frob.com>
5736
5737 * io/fts.c (dirent_not_directory): New function.
5738 (fts_build): Call it.
5739
ab49e763
RM
57402014-10-20 Roland McGrath <roland@hack.frob.com>
5741
e436eb79
RM
5742 * nptl/version.c (__nptl_main): Use normal __write rather than
5743 INTERNAL_SYSCALL.
5744 (banner): Update copyright years.
5745
6af246cf
RM
5746 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5747 gettimeofday.
5748 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5749 * nptl/pthread_cond_timedwait.c: Likewise.
5750 * nptl/pthread_mutex_timedlock.c: Likewise.
5751 * nptl/sem_timedwait.c: Likewise.
5752
ab49e763
RM
5753 * sysdeps/nptl/bits/libc-lock.h
5754 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5755 (__libc_lock_init_recursive): Return void, not 0.
5756 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5757 (__libc_rwlock_init): Likewise.
5758 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5759
f50277c1
TR
57602014-10-20 Torvald Riegel <triegel@redhat.com>
5761
5762 [BZ #15215]
5763 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5764 (__pthread_once_slow): ... here.
5765 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5766 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5767
63668b70
TR
57682014-10-20 Torvald Riegel <triegel@redhat.com>
5769
5770 [BZ #15215]
5771 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5772 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5773 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5774 * nptl/pthread_once.c (__pthread_once): Likewise.
5775 Update comments.
5776
42b7f5d4
JM
57772014-10-20 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #14138]
5780 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5781 name.
5782 (writev): Use __libc_writev as strong name.
5783 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5784 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5785
b0643088
RM
57862014-10-17 Roland McGrath <roland@hack.frob.com>
5787
114c4e09
RM
5788 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5789
674b8978
RM
5790 * sysdeps/i386/nptl/tls.h
5791 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5792 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5793 New macros.
5794 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5795 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5796 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5797 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5798 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5799 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5800
184ee940
RM
5801 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5802 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5803 on [__NR_futex].
5804 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5805 broken out of ...
5806 (__pthread_mutex_init): ... here. Call it.
5807 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5808 Conditionalize PI cases on [__NR_futex].
5809 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5810 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5811 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5812
327ae257
RM
5813 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5814 conditional on [SIGSETXID].
5815 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5816 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5817 is defined. Likewise for SIGSETXID.
5818 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5819 Conditionalize definitions on [SIGSETXID].
5820 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5821 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5822 unblocking on [SIGCANCEL].
5823
b0643088
RM
5824 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5825 [__NR_set_robust_list].
5826
33cc770b
SP
58272014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5828
5829 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5830 (do_compare): Likewise.
5831
0742aef6
LH
58322014-10-17 Leonhard Holz <leonhard.holz@web.de>
5833
5834 [BZ #15884]
5835 * string/strcoll_l.c: Don't include stdio.h.
5836 (coll_seq): Remove members idxarr and rulearr.
5837 (get_next_seq_cached): Remove function.
5838 (get_next_seq): Likewise.
5839 (get_next_seq_nocache): Rename to get_next_seq.
5840 (do_compare): Remove function.
5841 (do_compare_nocache): Rename to do_compare.
5842 (STRCOLL): Remove weight and rules cache.
5843
ee54ce44
RM
58442014-10-16 Roland McGrath <roland@hack.frob.com>
5845
5846 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5847 * sysdeps/arm/sfp-machine.h: ... to here.
5848 * sysdeps/arm/Implies: Remove arm/soft-fp.
5849
a75d3b02
JM
58502014-10-14 Joseph Myers <joseph@codesourcery.com>
5851
5852 * conform/data/sys/utsname.h-data (*_t): Allow.
5853 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5854 [POSIX] (WEXITED): Do not expect constant.
5855 [POSIX] (WSTOPPED): Likewise.
5856 [POSIX] (WNOHANG): Likewise.
5857 [POSIX] (WNOWAIT): Likewise.
5858 [POSIX] (siginfo_t): Do not expect type or elements.
5859 [POSIX] (pid_t): Do not expect type.
5860 [POSIX] (signal.h): Do not allow header.
5861 [POSIX] (sys/resource.h): Likewise.
5862 [POSIX] (si_*): Do not allow pattern.
5863 [POSIX] (W*): Likewise.
5864 [POSIX] (P_*): Likewise.
5865 [POSIX] (BUS_*): Likewise.
5866 [POSIX] (CLD_*): Likewise.
5867 [POSIX] (FPE_*): Likewise.
5868 [POSIX] (ILL_*): Likewise.
5869 [POSIX] (POLL_*): Likewise.
5870 [POSIX] (SEGV_*): Likewise.
5871 [POSIX] (SI_*): Likewise.
5872 [POSIX] (TRAP_*): Likewise.
5873 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5874 variable.
5875
fda389c8
SP
58762014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5877
5878 [BZ #12926]
5879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5880 infinite loop when __recvmsg returns 0.
5881
6bc6bd3b
JM
58822014-10-10 Joseph Myers <joseph@codesourcery.com>
5883
fcb32af1
JM
5884 * CANCEL-FCT-WAIVE: Remove file.
5885 * CANCEL-FILE-WAIVE: Likewise.
5886
6bc6bd3b
JM
5887 [BZ #14132]
5888 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5889 instead of INTVARDEF.
5890 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5891 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5892 rtld_hidden_data_def instead of INTVARDEF.
5893 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5894 * elf/dl-deps.c (expand_dst): Likewise.
5895 * elf/dl-load.c (_dl_dst_count): Likewise.
5896 (_dl_dst_substitute): Likewise.
5897 (decompose_rpath): Likewise.
5898 (_dl_init_paths): Likewise.
5899 (open_path): Likewise.
5900 (_dl_map_object): Likewise.
5901 * elf/rtld.c (dl_main): Likewise.
5902 (process_dl_audit): Likewise.
5903 (process_envvars): Likewise.
5904 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5905 Remove declaration.
5906 (__libc_enable_secure): Use rtld_hidden_proto.
5907
b8c80a7e
KS
59082014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5909
5910 * elf/dl-load.c
5911 (add_path): New function broken out of _dl_rtld_di_serinfo.
5912 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5913
ff12c11f
JM
59142014-10-09 Joseph Myers <joseph@codesourcery.com>
5915
5c0508a3
JM
5916 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5917 parentheses around macro arguments.
5918 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5920 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5921 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5923 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5924 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5925 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5928 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5929 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5930 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5931 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5932 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5933 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5934 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5935 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5936 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5938 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5943 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5947 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5948 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5949 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5950 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5951 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5952 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5953 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5954 Likewise.
5955 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5956 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5957 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5958 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5959 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5960 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5961 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5962 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5963 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5964 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5965 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5966 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5967 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5968 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5969 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5970 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5971 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5972 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5973 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5974 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5975 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5976 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5977 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5978 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5979 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5980 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5981 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5982 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5983 (_FP_FRAC_SRS_1): Likewise.
5984 (_FP_FRAC_CLZ_1): Likewise.
5985 (_FP_MUL_MEAT_1_imm): Likewise.
5986 (_FP_MUL_MEAT_1_wide): Likewise.
5987 (_FP_MUL_MEAT_1_hard): Likewise.
5988 (_FP_SQRT_MEAT_1): Likewise.
5989 (_FP_FRAC_ASSEMBLE_1): Likewise.
5990 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5991 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5992 (__FP_CLZ_2): Likewise.
5993 (_FP_MUL_MEAT_2_wide): Likewise.
5994 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5995 (_FP_MUL_MEAT_2_gmp): Likewise.
5996 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5997 (_FP_SQRT_MEAT_2): Likewise.
5998 (_FP_FRAC_ASSEMBLE_2): Likewise.
5999 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6000 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6001 (_FP_FRAC_CLZ_4): Likewise.
6002 (_FP_MUL_MEAT_4_wide): Likewise.
6003 (_FP_MUL_MEAT_4_gmp): Likewise.
6004 (_FP_SQRT_MEAT_4): Likewise.
6005 (_FP_FRAC_ASSEMBLE_4): Likewise.
6006 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6007 * soft-fp/op-common.h (_FP_CMP): Likewise.
6008 (_FP_CMP_EQ): Likewise.
6009 (_FP_CMP_UNORD): Likewise.
6010 (_FP_TO_INT): Likewise.
6011 (_FP_FROM_INT): Likewise.
6012 [!__FP_CLZ] (__FP_CLZ): Likewise.
6013 (_FP_DIV_HELP_imm): Likewise.
6014 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6015 Likewise.
6016 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6017 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6018 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6019 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6020 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6021 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6022 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6023 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6024 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6027 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6028 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6029 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6030 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6031 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6032 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6033 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6034 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6035 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6036 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6037 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6038 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6039 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6041 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6045 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6046 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6047 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6048 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6049 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6050 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6051 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6052 (FP_UNPACK_RAW_SP): Likewise.
6053 (FP_PACK_RAW_S): Likewise.
6054 (FP_PACK_RAW_SP): Likewise.
6055 (FP_UNPACK_S): Likewise.
6056 (FP_UNPACK_SP): Likewise.
6057 (FP_UNPACK_SEMIRAW_S): Likewise.
6058 (FP_UNPACK_SEMIRAW_SP): Likewise.
6059 (FP_PACK_S): Likewise.
6060 (FP_PACK_SP): Likewise.
6061 (FP_PACK_SEMIRAW_S): Likewise.
6062 (FP_PACK_SEMIRAW_SP): Likewise.
6063 (_FP_SQRT_MEAT_S): Likewise.
6064 (FP_CMP_S): Likewise.
6065 (FP_CMP_EQ_S): Likewise.
6066 (FP_CMP_UNORD_S): Likewise.
6067 (FP_TO_INT_S): Likewise.
6068 (FP_FROM_INT_S): Likewise.
6069
a736ec37
JM
6070 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6071
ff12c11f
JM
6072 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6073 (FP_EX_INVALID_IMZ): Likewise.
6074 (FP_EX_INVALID_IMZ_FMA): Likewise.
6075 (FP_EX_INVALID_ISI): Likewise.
6076 (FP_EX_INVALID_ZDZ): Likewise.
6077 (FP_EX_INVALID_IDI): Likewise.
6078 (FP_EX_INVALID_SQRT): Likewise.
6079 (FP_EX_INVALID_CVI): Likewise.
6080 (FP_EX_INVALID_VC): Likewise.
6081 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6082 "invalid" exceptions.
6083 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6084 (_FP_ADD_INTERNAL): Likewise.
6085 (_FP_MUL): Likewise.
6086 (_FP_FMA): Likewise.
6087 (_FP_DIV): Likewise.
6088 (_FP_CMP_CHECK_NAN): Likewise.
6089 (_FP_SQRT): Likewise.
6090 (_FP_TO_INT): Likewise.
6091 (FP_EXTEND): Likewise.
6092
b6dcfe8c
AM
60932014-10-09 Allan McRae <allan@archlinux.org>
6094
6095 * po/fr.po: Update French translation from translation project.
6096
2d6a47ba
JM
60972014-10-09 Joseph Myers <joseph@codesourcery.com>
6098
cb831245
JM
6099 [BZ #14132]
6100 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6101 of INTDEF.
6102 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6103 (__cxa_atexit): Use libc_hidden_proto.
6104 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6105
5deeb190
JM
6106 [BZ #14132]
6107 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6108 declaration.
6109 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6110 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6111 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6112 [!_ISOMAC] (__iswctype_internal): Likewise.
6113 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6114 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6115 alias.
6116 (fcntl): Remove __fcntl_internal alias.
6117 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6118 __connect_internal alias.
6119 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6120 Likewise.
6121
454ac701
JM
6122 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6123 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6124 FP_DENORM_ZERO.
6125 (_FP_CHECK_FLUSH_ZERO): New macro.
6126 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6127 (_FP_CMP): Likewise.
6128 (_FP_CMP_EQ): Likewise.
6129 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6130 FP_DENORM_ZERO.
6131 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6132 (FP_TRUNC): Likewise.
6133
0022e688
JM
6134 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6135 treated as invalid conversion, not as normal exponent.
6136
73e28d9c
JM
6137 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6138 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6139 (_FP_CMP_EQ): Likewise.
6140 (_FP_CMP_UNORD): Likewise.
6141 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6142 (FP_CMP_EQ_D): Likewise.
6143 (FP_CMP_UNORD_D): Likewise.
6144 * soft-fp/extended.h (FP_CMP_E): Likewise.
6145 (FP_CMP_EQ_E): Likewise.
6146 (FP_CMP_UNORD_E): Likewise.
6147 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6148 (FP_CMP_EQ_Q): Likewise.
6149 (FP_CMP_UNORD_Q): Likewise.
6150 * soft-fp/single.h (FP_CMP_S): Likewise.
6151 (FP_CMP_EQ_S): Likewise.
6152 (FP_CMP_UNORD_S): Likewise.
6153 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6154 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6155 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6156 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6157 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6158 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6159 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6160 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6161 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6162 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6163 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6164 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6165 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6166 to FP_CMP_Q.
6167 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6168 FP_CMP_Q.
6169 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6170 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6171 FP_CMP_EQ_Q.
6172 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6173 FP_CMP_Q.
6174 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6175 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6176 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6177 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6178 FP_CMP_EQ_Q.
6179 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6180 FP_CMP_Q.
6181 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6182 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6183 FP_CMP_EQ_Q.
6184 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6185 FP_CMP_Q.
6186 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6187 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6188 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6189 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6190 FP_CMP_EQ_Q.
6191
43059f42
JM
6192 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6193 a subnormal result, set the underflow exception if trapping on
6194 underflow is enabled.
6195 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6196 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6197 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6198 redefine to 0.
6199 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6200 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6201 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6202 * soft-fp/extendxftf2.c (__extendxftf2): Use
6203 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6204
2d6a47ba
JM
6205 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6206 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6207 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6208 FP_HANDLE_EXCEPTIONS.
6209 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6210 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6211 FP_HANDLE_EXCEPTIONS.
6212 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6213 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6214 FP_HANDLE_EXCEPTIONS.
6215 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6216 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6217 FP_HANDLE_EXCEPTIONS.
6218
620f462e
JM
62192014-10-08 Joseph Myers <joseph@codesourcery.com>
6220
6221 [BZ #14132]
6222 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6223 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6224 use INTUSE.
6225 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6226 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6227 Remove alias.
6228 (__adjtimex): Define using libc_hidden_ver.
6229 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6230 Remove declaration.
6231 (ntp_gettime): Call __adjtimex directly.
6232 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6233 Remove declaration.
6234 (ntp_gettimex): Call __adjtimex directly.
6235 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6236 __adjtimex_internal alias.
6237
c763c5d2
RM
62382014-10-08 Roland McGrath <roland@hack.frob.com>
6239
6240 [BZ #17460]
6241 * nscd/nscd.c (more_help): Rewrite list of tables collection
6242 using xstrdup and asprintf.
6243
6244 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6245
7b8fb2b8
RM
62462014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6247 Roland McGrath <roland@hack.frob.com>
6248
6249 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6250 (do_lookup_unique): ... local function 'enter' here; update callers.
6251
abb280f7
JM
62522014-10-06 Joseph Myers <joseph@codesourcery.com>
6253
f7b42517
JM
6254 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6255 compat_symbol calls on [SHARED].
6256 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6257 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6258 Remove.
6259 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6260 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6261 (oldsetrlimit): Remove.
6262 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6264 (lchown): New syscall entry.
6265 (oldsetrlimit): Remove.
6266 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6267 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6268 (oldsetrlimit): Remove.
6269 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6270
abb280f7
JM
6271 [BZ #14138]
6272 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6273 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6274 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6275 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6276 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6277 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6278 (fchown): Likewise.
6279 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6280 (fchown): Likewise.
6281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6282 Likewise.
6283
47d46237
AZ
62842014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6285
6286 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6287 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6288 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6289 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6290 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6291 Likewise.
6292 (__old_sem_post): Likewise.
6293
62942014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6295
845a7343
CM
6296 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6297 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6298 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6299 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6300 Use INLINE_VSYSCALL macro.
6301 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6302 __vdso_clock_gettime.
6303 * sysdeps/unix/sysv/linux/tile/init-first.c
6304 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6305 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6306 __vdso_clock_gettime.
6307
83d641ef
CM
6308 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6309 to set up frame more cleanly.
6310
d9cd52e6
CM
6311 * sysdeps/tile/memcmp.c: New file.
6312
4b68ea11
CM
6313 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6314
c86f7b80
CM
6315 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6316 * sysdeps/tile/tilegx/strcasestr.c: New file.
6317 * sysdeps/tile/tilegx/strnlen.c: New file.
6318 * sysdeps/tile/tilegx/strstr.c: New file.
6319
1c4c1a6f
CM
6320 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6321
99d86ea3
AS
63222014-10-06 Arjun Shankar <arjun.is@lostca.se>
6323
6324 * nptl/tst-setuid3.c: Write errors to stdout.
6325
06210a44
KS
63262014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6327
6328 * elf/dl-deps.c
6329 (preload): New functions broken out of _dl_map_object_deps.
6330 (_dl_map_object_deps): Remove a nested function. Update call sites.
6331
6268f532
JM
63322014-10-01 Joseph Myers <joseph@codesourcery.com>
6333
6334 [BZ #14138]
6335 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6336 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6337
b925285f
SE
63382014-10-01 Steve Ellcey <sellcey@mips.com>
6339
6340 * sysdeps/mips/strcmp.S: New.
6341
754a15c6
JM
63422014-09-30 Joseph Myers <joseph@codesourcery.com>
6343
6344 [BZ #14138]
6345 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6346 (linkat): Likewise.
6347 (mkdirat): Likewise.
6348 (readlinkat): Likewise.
6349 (renameat): Likewise.
6350 (symlinkat): Likewise.
6351 (unlinkat): Likewise.
6352 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6353 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6354 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6355 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6356 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6357 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6358 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6359
85bb81c9
WN
63602014-09-30 Will Newton <will.newton@linaro.org>
6361
dc6fe23b
WN
6362 * math/math.h: Define long double math functions if
6363 _LIBC_TEST is defined.
6364 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6365
85bb81c9
WN
6366 * localedata/Makefile: Move assignment to tests-special
6367 into an ifdef testing run-built-tests.
6368 * timezone/Makefile: Likewise.
6369
b7e02da4
JM
63702014-09-29 Joseph Myers <joseph@codesourcery.com>
6371
6372 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6373 with $(BASH) not $(SHELL).
6374
62058ce6
CD
63752014-09-29 Carlos O'Donell <carlos@redhat.com>
6376 Matthew LeGendre <legendre1@llnl.gov>
6377
6378 [BZ #17411]
6379 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6380 l_reloc_result.
6381
8e257a29
KS
63822014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6383
6384 * stdio-common/printf_fp.c
6385 (hack_digit): New function, broken out of ...
6386 (__printf_fp): ... local function here. Update call sites.
6387 hack_digit now takes an additional parameter that is a pointer
6388 to a struct of the referenced locals. Those locals moved inside
6389 the struct and references updated.
6390
f4a58f0d
L
63912014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * aclocal.m4: Require autoconf 2.69.
6394 * configure: Regenerated.
6395 * sysdeps/aarch64/configure: Likewise.
6396 * sysdeps/alpha/configure: Likewise.
6397 * sysdeps/arm/armv7/configure: Likewise.
6398 * sysdeps/arm/configure: Likewise.
6399 * sysdeps/ia64/configure: Likewise.
6400 * sysdeps/mach/configure: Likewise.
6401 * sysdeps/mips/configure: Likewise.
6402 * sysdeps/s390/configure: Likewise.
6403 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6405
6406 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6407 file.
6408 * sysdeps/ia64/configure.ac: Likewise.
6409
93ae1eba
JM
64102014-09-26 Joseph Myers <joseph@codesourcery.com>
6411
1810d3ab
JM
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6413 specify symbol version for ld.so. Do not include entry for
6414 libpthread.
6415 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6416 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6417 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6418
93ae1eba
JM
6419 [BZ #14171]
6420 * Makeconfig [$(build-shared) = yes]
6421 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6422 makefiles.
6423 [$(build-shared) = yes && $(soversions.mk-done) = t]
6424 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6425 [$(build-shared) = yes && $(soversions.mk-done) = t]
6426 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6427 to Makerules.
6428 [$(build-shared) = yes && $(soversions.mk-done) = t]
6429 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6430 here.
6431 [$(build-shared) = yes && $(soversions.mk-done) = t]
6432 (common-generated): Don't append gnu/lib-names.h and
6433 gnu/lib-names.stmp here.
6434 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6435 (lib-names-h-abi): New variable.
6436 [$(build-shared) = yes && $(soversions.mk-done) = t]
6437 (lib-names-stmp-abi): Likewise.
6438 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6439 abi-variants] (before-compile): Append
6440 $(common-objpfx)$(lib-names-h-abi).
6441 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6442 abi-variants] (common-generated): Append gnu/lib-names.h.
6443 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6444 abi-variants] (install-others-nosubdir): Depend on
6445 $(inst_includedir)/$(lib-names-h-abi).
6446 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6447 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6448 [$(build-shared) = yes && $(soversions.mk-done) = t]
6449 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6450 [$(build-shared) = yes && $(soversions.mk-done) = t]
6451 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6452 [$(build-shared) = yes && $(soversions.mk-done) = t]
6453 (common-generated): Append $(lib-names-h-abi) and
6454 $(lib-names-stmp-abi).
6455 * scripts/lib-names.awk: Do not handle multi being set.
6456 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6457 Remove variable.
6458 (abi-lp64_be-ld-soname): Likewise.
6459 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6460 Likewise.
6461 (abi-hard-ld-soname): Likewise.
6462 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6463 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6464 Remove variable.
6465 (abi-o32_hard-ld-soname): Likewise.
6466 (abi-o32_soft_2008-ld-soname): Likewise.
6467 (abi-o32_hard_2008-ld-soname): Likewise.
6468 (abi-n32_soft-ld-soname): Likewise.
6469 (abi-n32_hard-ld-soname): Likewise.
6470 (abi-n32_soft_2008-ld-soname): Likewise.
6471 (abi-n32_hard_2008-ld-soname): Likewise.
6472 (abi-n64_soft-ld-soname): Likewise.
6473 (abi-n64_hard-ld-soname): Likewise.
6474 (abi-n64_soft_2008-ld-soname): Likewise.
6475 (abi-n64_hard_2008-ld-soname): Likewise.
6476 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6477 Likewise.
6478 (abi-64-v2-ld-soname): Likewise.
6479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6480 ld.so entries.
6481 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6482 variable.
6483 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6484 entry.
6485 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6486 variable.
6487 (abi-64-ld-soname): Likewise.
6488 (abi-x32-ld-soname): Likewise.
6489 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6490 entry.
6491 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6492
68870f12
JM
64932014-09-23 Joseph Myers <joseph@codesourcery.com>
6494
6495 [BZ #14138]
6496 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6497 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6498 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6499 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6500 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6502 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6503 syscall entry for GLIBC_2.2 symbol version.
6504 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6505 Likewise.
6506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6507 (setrlimit): Likewise.
6508 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6509 Likewise.
6510
ea58f202
WN
65112014-09-23 Will Newton <will.newton@linaro.org>
6512
6513 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6514 _LINUX_ARM_SYSDEP_H include guard too.
6515 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6516 define.
6517
69eb9a18
RV
65182014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6519
6520 * sysdeps/unix/sysv/linux/eventfd.c:
6521 Make first argument unsigned.
6522 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6523 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6524
20e5a5f7
OB
65252014-09-20 Ondřej Bílka <neleai@seznam.cz>
6526
6527 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6528 * socket/sys/socket.h: Likewise
6529 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6530
d3c827e7
AK
65312014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6532
6533 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6534
fe1cc35a
AS
65352014-09-17 Arjun Shankar <arjun.is@lostca.se>
6536
6537 * time/tst-ftime.c: New test.
6538 * time/Makefile (tests): Add tst-ftime.
6539
4e8afe69
JM
65402014-09-17 Joseph Myers <joseph@codesourcery.com>
6541
c4fe3ea7
JM
6542 * soft-fp/extended.h: Fix comment formatting.
6543 * soft-fp/op-1.h: Likewise.
6544 * soft-fp/op-2.h: Likewise.
6545 * soft-fp/op-4.h: Likewise.
6546 * soft-fp/op-8.h: Likewise.
6547 * soft-fp/op-common.h: Likewise.
6548 * soft-fp/soft-fp.h: Likewise.
6549
4e8afe69
JM
6550 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6551
af296fcd
JM
65522014-09-16 Joseph Myers <joseph@codesourcery.com>
6553
6554 [BZ #6652]
6555 * Makeconfig (soversions-default-setname): Remove variable.
6556 ($(common-objpfx)soversions.i): Don't pass default_setname to
6557 soversions.awk.
6558 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6559 oldest_abi to abi-versions.awk.
6560 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6561 * config.make.in (oldest-abi): Remove variable.
6562 * configure.ac (--enable-oldest-abi): Remove configure option.
6563 * configure: Regenerated.
6564 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6565 text.
6566 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6567 * scripts/soversions.awk: Do not handle default_setname variable.
6568 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6569 variable.
6570 * sysdeps/mach/hurd/configure: Regenerated.
6571 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6572 variable.
6573 * sysdeps/unix/sysv/linux/configure: Regenerated.
6574
545583d6
SP
65752014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6576
d330b980
SP
6577 * elf/Makefile (CFLAGS-interp.c): Remove.
6578 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6579 path string.
6580 * elf/interp.c: Include generated runtime-linker.h
6581
02657da2
SP
6582 * Makerules (lib%.so): Don't include $(+interp) in
6583 prerequisites.
6584 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6585 * dlfcn/eval.c: Remove file.
6586
653b1080
SP
6587 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6588 macros.
6589
602f80ec
SP
6590 [BZ #17266]
6591 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6592 4.2 and newer.
6593
545583d6
SP
6594 [BZ #17370]
6595 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6596
884ddc50
SP
65972014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 Jakub Jelinek <jakub@redhat.com>
6599
6600 [BZ #17266]
6601 * libio/stdio.h: Check definition of __fortify_function
6602 instead of __extern_always_inline to include bits/stdio2.h.
6603 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6604 check if __extern_always_inline is defined.
6605 [__USE_MISC || __USE_XOPEN]: Likewise.
6606 [__USE_ISOC99] Likewise.
6607 * misc/sys/cdefs.h (__fortify_function): Define only if
6608 __extern_always_inline is defined.
6609 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6610 __extern_always_inline and __extern_inline only for g++-4.3
6611 and newer or a compatible gcc.
6612
a7b87268
AS
66132014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6614
6615 [BZ #17371]
6616 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6617 last change to handle zero prefix length.
6618
3f41521d
SP
66192014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6620
61fe374a
SP
6621 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6622 _SC_REGEX_VERSION.
6623
3f41521d
SP
6624 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6625 _POSIX_RAW_SOCKETS.
6626
d8f879ee
AM
66272014-09-13 Allan McRae <allan@archlinux.org>
6628
6629 * po/ru.po: Update Russian translation from translation project.
6630
c079afb7
RM
66312014-09-12 Roland McGrath <roland@hack.frob.com>
6632
a62b3c15
RM
6633 * locale/programs/locale.c (show_locale_vars): Inline local function
6634 into its sole call site. Clean up some style nits.
6635 (print_item): New function, broken out of ...
6636 (show_info): ... local function here. Clean up style nits.
6637
d7e49b19
RM
6638 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6639 out of ...
6640 (set_class_defaults): ... local function set_default here.
6641 Define set_default as a macro locally to pass constant parameters.
6642 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6643 rather than a shared local.
6644
c079afb7
RM
6645 * stdlib/rpmatch.c (try): New function, broken out of ...
6646 (rpmatch): ... local function here. Also, prototypify definition.
6647
0bd72468
JM
66482014-09-12 Joseph Myers <joseph@codesourcery.com>
6649
ba90e050
JM
6650 * scripts/soversions.awk: Do not handle configuration names.
6651 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6652 vendor and os variables to soversions.awk.
6653 * configure.ac: Do not modify gnu-* host_os.
6654 * configure: Regenerated
6655 * shlib-versions: Remove first column with configuration names.
6656 * nptl/shlib-versions: Likewise.
6657 * nptl_db/shlib-versions: Likewise.
6658 * sysdeps/hppa/shlib-versions: Likewise.
6659 * sysdeps/m68k/shlib-versions: Likewise.
6660 * sysdeps/mach/hurd/shlib-versions: Likewise.
6661 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6662 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6663 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6664 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6665 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6666 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6667 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6668 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6670 Likewise.
6671 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6672 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6673 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6676 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6677 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6678 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6679
73a39112
JM
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6681 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6683 Regenerated.
6684 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6686 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6687
c729e7c1
JM
6688 * shlib-versions: Remove OS-specific entries. Moved to files in
6689 sysdeps.
6690 * sysdeps/mach/hurd/shlib-versions: New file.
6691 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6692
dc932a24
JM
6693 * nptl/shlib-versions: Remove architecture-specific entries.
6694 Moved to files in sysdeps.
6695 * shlib-versions: Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6697 file.
6698 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6699 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6700 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6701 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6702
0bd72468
JM
6703 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6704 (UDP_NO_CHECK6_RX): Likewise.
6705
920238e0
SP
67062014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6707
6708 * sysdeps/posix/sysconf.c (__sysconf): Spell
6709 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6710
ba7b4d29
FW
67112014-08-12 Florian Weimer <fweimer@redhat.com>
6712
6713 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6714 loading.
6715 * iconv/Versions (__gconv_transliterate): Export for use from
6716 gconv modules.
6717 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6718 (struct __gconv_trans_data, __gconv_trans_fct,
6719 __gconv_trans_context_fct, __gconv_trans_query_fct,
6720 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6721 definitions.
6722 (struct __gconv_step_data): Remove __trans member.
6723 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6724 longer hidden. Remove unused trans_data argument.
6725 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6726 (__gconv_translit_find): Remove declaration.
6727 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6728 prototype.
6729 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6730 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6731 trans_data argument. Add hidden definition.
6732 (__gconv_translit_find): Remove.
6733 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6734 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6735 * iconv/skeleton.c: Remove transliteration initialization.
6736 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6737 __gconv_step_data initialization.
6738 * libio/iofwide.c (__libio_translit_): Remove.
6739 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6740 * wcsmbs/btowc.c (__btowc): Likewise.
6741 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6742 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6743 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6744 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6745 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6746 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6747 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6748 * wcsmbs/wctob.c (wctob): Likewise.
6749
5379aebd
SP
67502014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6751
6752 [BZ #16194]
6753 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6754 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6755 register usage.
6756 * sysdeps/x86/Makefile: Adjust.
6757
8c0ab919
RM
67582014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6759 Roland McGrath <roland@hack.frob.com>
6760
6761 * locale/weight.h: Add include guard.
6762 (findidx): Make static rather than auto; take new parameters
6763 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6764 * locale/weightwc.h: Likewise.
6765 * posix/fnmatch_loop.c
6766 (FCT): Change type of EXTRA from int32_t to wint_t.
6767 Don't include either header inside the function.
6768 Call FINDIDX rather than findidx, and pass new arguments.
6769 #undef FINDIDX at the end of the file.
6770 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6771 FINDIDX before including fnmatch_loop.c for the non-wide version.
6772 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6773 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6774 for the wide version.
6775 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6776 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6777 Pass new arguments to findidx.
6778 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6779 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6780 Don't #include it inside the function. Pass new arguments to findidx.
6781 * posix/regex_internal.h
6782 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6783 (re_string_elem_size_at): Don't #include it inside the function.
6784 Pass new arguments to findidx.
6785 * string/strcoll_l.c: #include WEIGHT_H at top level.
6786 (get_next_seq): Don't #include it inside the function.
6787 Pass new arguments to findidx.
6788 (get_next_seq_nocache): Likewise.
6789 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6790 (STRXFRM): Don't #include it inside the function.
6791 Pass new arguments to findidx.
6792
52ffbdf2
FW
67932014-09-11 Florian Weimer <fweimer@redhat.com>
6794
6795 [BZ #17344]
6796 * malloc/malloc.c (unlink): Turn asserts into a call to
6797 malloc_printerr.
6798
984c0ea9
TL
67992014-09-11 Tim Lammens <tim.lammens@gmail.com>
6800
6801 [BZ #17370]
6802 * libio/wfileops (do_ftell_wide): Free OUT.
6803
3daee107
CM
68042014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6805
6806 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6807
58b930ae
SP
68082014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6809
6810 [BZ #17363]
6811 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6812 group if the current group is empty.
6813
3b473fec
AZ
68142014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6815
71ae8647
AZ
6816 * benchtests/bench-memset.c (test_main): Add more test from size
6817 from 32 to 512 bytes.
6818 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6819 Add POWER8 memset object.
6820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6821 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6822 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6823 implementation.
6824 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6825 Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6827 multiarch POWER8 memset optimization.
6828 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6829 POWER8 memset optimization.
6830
3b473fec
AZ
6831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6832 Remove bzero multiarch objects.
6833 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6834 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6835 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6837 Remove define.
6838 [__bzero]: Redefine to specific name.
6839 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6840 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6841 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6842 define.
6843 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6844 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6845
e6fb9587
FW
68462014-09-10 Florian Weimer <fweimer@redhat.com>
6847
6848 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6849 warnings into errors.
6850
6851 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6852 __cxa_thread_atexit_impl prototype.
6853
9d3a350b
SE
68542014-09-09 Steve Ellcey <sellcey@mips.com>
6855
6856 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6857 Fix capitalization of error message.
6858
0febba23
SE
68592014-09-09 Steve Ellcey <sellcey@mips.com>
6860
6861 * sysdeps/mips/preconfigure: Modify ABI tests.
6862
645a0e9c
CD
68632014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6864
6865 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6866
d83f0734
CD
68672014-09-07 Roland McGrath <roland@hack.frob.com>
6868 Carlos O'Donell <carlos@systemhalted.org>
6869
6870 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6871 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6872 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6873 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6874 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6875 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6876 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6877 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6878 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6879 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6880 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6881 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6882 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6883 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6884 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6885 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6886 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6887 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6888 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6889 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6891 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6892 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6893 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6894 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6895 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6896 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6897 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6898 Deconditionalize the code that was previously under [RESET_PID].
6899 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6900 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6901 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6902 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6903 include sysdep.h.
6904
21c83793
AM
69052014-09-08 Allan McRae <allan@archlinux.org>
6906
6907 * version.h (RELEASE): Set to "development".
6908 (VERSION): Set to "2.20.90"
6909
1cd9b65c
AM
69102014-09-07 Allan McRae <allan@archlinux.org
6911
b8079dd0
AM
6912 * version.h (RELEASE): Set to "stable".
6913 (VERSION): Set to "2.20"
6914 * include/features.h (__GLIBC_MINOR__): Set to 20.
6915
c46303ef
AM
6916 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6917 Liebler.
6918
1cd9b65c
AM
6919 * po/ko.po: Update Korean translation from translation project.
6920
8622092d
CM
69212014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6922
6923 [BZ #17354]
6924 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6925 macro for handling signed relocations.
6926
41488498
FW
69272014-09-03 Florian Weimer <fweimer@redhat.com>
6928
6929 [BZ #17325]
6930 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6931 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6932 assert.
6933 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6934 * iconvdata/ibm935.c (BODY): Likewise.
6935 * iconvdata/ibm937.c (BODY): Likewise.
6936 * iconvdata/ibm939.c (BODY): Likewise.
6937 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6938 assert.
6939 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6940 script.
6941 * iconvdata/run-iconv-test.sh: New test loop for checking for
6942 decoder crashers.
6943
a78b712d
KR
69442014-09-02 Khem Raj <raj.khem@gmail.com>
6945
6946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6947 libm_hidden_ver.
6948
cb08abc6
AM
69492014-09-01 Allan McRae <allan@archlinux.org>
6950
2c31e102
AM
6951 * po/eo.po: Update Esperanto translation from translation project.
6952
cb08abc6
AM
6953 * po/ca.po: Update Catalan translation from translation project.
6954
17a62de1
ST
69552014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6956
6957 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6958 __proc_dostop call.
6959
9570bc53
MW
69602014-08-27 Mark Wielaard <mjw@redhat.com>
6961
6962 [BZ #17319]
6963 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6964 to call set_thread_area instead of hand written asm.
6965 (__NR_set_thread_area): Removed define.
6966 (TLS_FLAG_WRITABLE): Likewise.
6967 (__ASSUME_SET_THREAD_AREA): Remove check.
6968 (TLS_EBX_ARG): Remove define.
6969 (TLS_LOAD_EBX): Likewise.
6970
b0f955c9
ST
69712014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6972
6973 Simplify atomicity of socket creation in bind.
6974
6975 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6976 looking up the name after linking the file.
6977
529bf515
AM
69782014-08-27 Allan McRae <allan@archlinux.org>
6979
6980 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6981
a1a6a401
FW
69822014-08-26 Florian Weimer <fweimer@redhat.com>
6983
6984 [BZ #17187]
6985 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6986 trans_compare, open_translit, __gconv_translit_find):
6987 Remove module loading code.
6988
686ab290
AM
69892014-08-26 Allan McRae <allan@archlinux.org>
6990
e4e7cfd2
AM
6991 * po/vi.po: Update Vietnamese translation from translation project.
6992
6aa09f71
AM
6993 * po/uk.po: Update Ukrainian translation from translation project.
6994
edc0660e
AM
6995 * po/fr.po: Update French translation from translation project.
6996
7eea72ac
AM
6997 * po/ru.po: Update Russian translation from translation project.
6998
93c49eff
AM
6999 * po/pl.po: Update Polish translation from translation project.
7000
46acaf63
AM
7001 * po/cs.po: Update Czech translation from translation project.
7002
a9f5ce98
AM
7003 * po/de.po: Update German translation from translation project.
7004
373f2b78
AM
7005 * po/bg.po: Update Bulgarian translation from translation project.
7006
e7548bd8
AM
7007 * po/sv.po: Update Sweedish translation from translation project.
7008
c526bf4d
AM
7009 * po/nl.po: Update Dutch translation from translation project.
7010
686ab290
AM
7011 * po/es.po: Update Spanish translation from translation project.
7012
eb72478a
SP
70132014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7014
dd763fdb
SP
7015 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7016
318c7a58
SP
7017 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7018 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7019 (CPPFLAGS-iconvconfig): Likewise.
7020 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7021
eb72478a
SP
7022 * include/libc-symbols.h: Remove unnecessary check for
7023 NOT_IN_libc.
7024 * nptl/pthreadP.h: Likewise.
7025 * sysdeps/aarch64/setjmp.S: Likewise.
7026 * sysdeps/alpha/setjmp.S: Likewise.
7027 * sysdeps/arm/sysdep.h: Likewise.
7028 * sysdeps/i386/setjmp.S: Likewise.
7029 * sysdeps/m68k/setjmp.c: Likewise.
7030 * sysdeps/posix/getcwd.c: Likewise.
7031 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7032 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7033 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7034 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7035 * sysdeps/sh/sh3/setjmp.S: Likewise.
7036 * sysdeps/sh/sh4/setjmp.S: Likewise.
7037 * sysdeps/unix/alpha/sysdep.h: Likewise.
7038 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7039 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7040 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7041 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7049 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7051 * sysdeps/x86_64/setjmp.S: Likewise.
7052
d44a052c
JM
70532014-08-13 Joseph Myers <joseph@codesourcery.com>
7054
7055 [BZ #17263]
7056 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7057 <stdint.h>.
7058 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7059 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7060
508ce3ac
SP
70612014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7062
e44c8b0e
SP
7063 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7064
508ce3ac
SP
7065 [BZ #17262]
7066 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7067 and __x86_64__ when disabling x87 inline functions.
7068
b4acef1f
L
70692014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7070
7071 [BZ #17259]
7072 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7073 asm statement with __cpuid_count.
7074
61b1ef6e
MF
70752014-08-12 Mike Frysinger <vapier@gentoo.org>
7076
7077 * configure.ac: Change __ehdr_start code to dereference the struct.
7078 Run readelf on the output to look for relocations.
7079 * configure: Regenerated.
7080
898c62f4
JM
70812014-08-12 Joseph Myers <joseph@codesourcery.com>
7082
7083 [BZ #17261]
7084 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7085 value to 0.
7086 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7087
9a8a5720
RM
70882014-08-12 Roland McGrath <roland@hack.frob.com>
7089
7090 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7091
4e75751c
BO
70922014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7093
7094 [BZ #16892]
7095 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7096 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7097
bb2ce416
SA
70982014-08-12 Sean Anderson <seanga2@gmail.com>
7099
7100 * malloc/malloc.c: Fix typo in comment.
7101
7950a4ee
AM
71022014-08-09 Allan McRae <allan@archlinux.org>
7103
7104 * Regenerate libc.po.
7105
f469c49f
MF
71062014-08-08 Mike Frysinger <vapier@gentoo.org>
7107
7108 * intl/tst-gettext2.sh: Check every lang file for creation.
7109
656b84c2
WD
71102014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7111
7112 * sysdeps/aarch64/fpu/math_private.h
7113 (libc_feholdsetround_noex_aarch64_ctx): New function.
7114
538e9e45
W
71152014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7116
7117 * sysdeps/arm/armv6/strcpy.S (strcpy):
7118 Fix performance issue in misaligned cases.
7119
d4795e4a
AZ
71202014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7121
7122 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7123 Move definition from termios.h.
7124 (struct termio): Likewise.
7125 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7126 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7127 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7128 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7129 Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7131 Move definition to ioctl-types.h
7132 (struct termio): Likewise.
7133 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7134 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7135 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7136 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7137 Likewise.
7138
64accb62
RH
71392014-08-05 Richard Henderson <rth@redhat.com>
7140
27bb6dc0
RH
7141 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7142 exceptions.
7143 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7144 Add fraiseexcpt.
7145 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7146 Use __feraiseexcept.
7147 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7148 Protect libm symbols with IS_IN_libm.
7149
64accb62
RH
7150 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7151
e5292691
BO
71522014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7153
7154 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7155
5b4bd2d4
WN
71562014-08-04 Will Newton <will.newton@linaro.org>
7157
7158 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7159 file.
7160
fcadaeef
MF
71612014-08-04 Mike Frysinger <vapier@gentoo.org>
7162
7163 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7164 variants for each function.
7165
43a94c64
RM
71662014-08-04 Roland McGrath <roland@hack.frob.com>
7167
7168 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7169 appended ...
7170 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7171 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7172 appended ...
7173 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7174 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7175 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7176 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7177 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7178 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7179 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7180 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7181 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7182 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7183 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7184 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7185 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7186 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7187 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7188 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7189 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7191 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7192 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7195 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7196 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7197 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7198 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7199 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7200 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7201 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7202 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7203 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7204 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7205 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7209 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7210 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7211 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7212 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7213 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7214 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7215 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7216 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7217 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7218 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7219 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7221 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7223 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7224 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7225 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7226 Update #include.
7227 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7228 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7229
8f3c1fa4
RM
72302014-08-04 Roland McGrath <roland@hack.frob.com>
7231
7232 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7233 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7234 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7235 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7236 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7237 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7238
ca08746f
RM
72392014-08-04 Roland McGrath <roland@hack.frob.com>
7240
7241 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7242 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7243 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7244 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7245
9c925ff9
RM
72462014-08-04 Roland McGrath <roland@hack.frob.com>
7247
7248 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7249 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7250 (__libc_vfork): Define function under this name.
7251 (__vfork): Define as an alias.
7252 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7253 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7254
e641054c
RM
72552014-08-04 Roland McGrath <roland@hack.frob.com>
7256
7257 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7258 that was previously under [RESET_PID].
7259 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7260
dacdc867
AS
72612014-08-04 Andreas Schwab <schwab@suse.de>
7262
7263 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7264
41f725ff
MF
72652014-08-03 Mike Frysinger <vapier@gentoo.org>
7266
7267 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7268 (main): Likewise.
7269
277cfb31
RM
72702014-08-01 Roland McGrath <roland@hack.frob.com>
7271
7272 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7273
4896f049
RH
72742014-08-01 Richard Henderon <rth@redhat.com>
7275
7276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7277 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7278 typo in exact zero test.
7279 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7281 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7282
6f64e7d7
RM
72832014-08-01 Roland McGrath <roland@hack.frob.com>
7284
7285 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7286 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7287 * sysdeps/arm/sysdep.h: ... here.
7288 [!__ASSEMBLER__]: Include <stdint.h>.
7289
3f3dd810
SP
72902014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7291
a476ac4b
SP
7292 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7293 (HAVE_WCTYPE_H): Likewise.
7294 (HAVE_ISWCTYPE): Likewise.
7295 (ENABLE_NLS): Likewise.
7296 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7297 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7298
78dd658a
SP
7299 * posix/regex_internal.c: Check if DEBUG is defined and is
7300 set.
7301
3f3dd810
SP
7302 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7303 (HAVE_MBSRTOWCS): Likewise.
7304 * posix/fnmatch.c: Include string.h unconditionally.
7305
95ee7fb1
SL
73062014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7307
7308 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7309 reversal.
7310
23fe486b
RM
73112014-07-31 Roland McGrath <roland@hack.frob.com>
7312
f61a113f
RM
7313 * sysdeps/generic/safe-fatal.h: New file.
7314 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7315 * nptl/forward.c: Include it.
7316 (__pthread_unwind): Use __safe_fatal as default action, rather
7317 than a bogus use of INTERNAL_SYSCALL that could never work.
7318
9fe7e787
RM
7319 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7320 * configure.ac (libc_cv_builtin_trap): New test.
7321 * configure: Regenerated.
7322 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7323 (ABORT_INSTRUCTION): Define using __builtin_trap.
7324
23fe486b
RM
7325 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7326 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7327 * sysdeps/nptl/nptl-signals.h: New file.
7328 * nptl/pthreadP.h: Include <nptl-signals.h>.
7329
f349489e
SL
73302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7331
7332 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7333 (ONE_DIRECTION): Define.
7334 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7335 (ONE_DIRECTION): Define.
7336 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7337 (ONE_DIRECTION): Define.
7338
2f438e20
SL
73392014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7340
7341 * sysdeps/s390/Makefile: Delete file.
7342 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7343 * sysdeps/s390/__longjmp.c: Delete file.
7344 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7345 Remove fields __flags and __reserved.
7346 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7347 and add versioning.
7348 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7349 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7350 * sysdeps/s390/rtld-setjmp.S: Likewise.
7351 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7352 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7353 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7354 * sysdeps/s390/s390-32/setjmp.S: ... here.
7355 Add versioning.
7356 (__sigsetjmp): Remove setting __flags field.
7357 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7358 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7359 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7360 * sysdeps/s390/s390-64/setjmp.S: ... here.
7361 Add versioning.
7362 (__sigsetjmp): Remove setting __flags field.
7363 * sysdeps/s390/setjmp.S: Delete file.
7364 * sysdeps/s390/sigjmp.c: Likewise.
7365 * sysdeps/s390/v1-longjmp.c: Likewise.
7366 * sysdeps/s390/v1-setjmp.h: Likewise.
7367 * sysdeps/s390/v1-sigjmp.c: Likewise.
7368 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7369 Remove v1-longjmp_chk.
7370 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7371 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7372 Include debug/longjmp_chk.c and add versioning.
7373 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7374 Include nptl/pt-longjmp.c and add versioning.
7375 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7376 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7377 Include __longjmp.c.
7378 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7379 Move to ...
7380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7381 (__getcontext): Remove setting __flags field.
7382 Add versioning.
7383 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7384 Don't restore upper high grps.
7385 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7386 Likewise.
7387 (__swapcontext): Remove setting uc_flags field.
7388 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7389 Delete file.
7390 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7391 Include __longjmp.c.
7392 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7393 Move to ...
7394 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7395 (__getcontext): Remove setting __flags field.
7396 Add versioning.
7397 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7398 (__swapcontext): Remove setting uc_flags field.
7399 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7401 Remove fields uc_high_gprs and __reserved.
7402 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7403 New file with reverted content.
7404 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7405 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7406 Regenerated.
7407 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7408 Regenerated.
7409
6c9578a2
AS
74102014-07-31 Andreas Schwab <schwab@suse.de>
7411
7412 * config.h.in (HAVE_IFUNC): Define to 0.
7413 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7414 definedness.
7415
05f3633d
LM
74162014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7417
7418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7419 memmove-avx-unaligned, memcpy-avx-unaligned and
7420 mempcpy-avx-unaligned.
7421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7422 Add tests for AVX memcpy functions.
7423 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7424 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7425 memcpy_chk.
7426 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7427 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7428 memmove_chk.
7429 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7431 mempcpy_chk.
7432 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7433 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7434 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7435
a53fbd8e
AZ
74362013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7437
7438 [BZ #17213]
7439 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7440 powerpc64le.
7441
0961f7e1
JL
74422014-07-29 Jeff Layton <jlayton@poochiereds.net>
7443
7444 [BZ #16839]
7445 * manual/llio.texi: Add section about open file description locks.
7446 * manual/examples/ofdlocks.c: Example of open file description
7447 lock usage.
7448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7449 F_OFD_SETLK, and F_OFD_SETLKW.
7450
cc5fb300
AM
74512014-07-23 Allan McRae <allan@archlinux.org>
7452
7453 * po/es.po: Update Spanish translation from translation project.
7454
23329dca
AS
74552014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7456
7457 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7458
9c82da17
MR
74592014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7460
7461 [BZ #17078]
7462 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7463 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7464 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7465
29c4f53e
JM
74662014-07-17 Joseph Myers <joseph@codesourcery.com>
7467
831b9896
JM
7468 [BZ #17088]
7469 * math/fesetenv.c (__fesetenv)
7470 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7471 * math/feupdateenv.c (__feupdateenv)
7472 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7473
b21c2d50
JM
7474 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7475 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7476 (__ASSUME_SOCKETCALL): Do not define.
7477
067764ef
JM
7478 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7479 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7480 (__ASSUME_SOCKETCALL): Do not define.
7481 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7482 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7483 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7484 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7485 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7486 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7487 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7488 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7489
642530c1
JM
7490 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7491 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7492 (__ASSUME_SOCKETCALL): Do not define.
7493 (__ASSUME_IPC64): Define unconditionally.
7494 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7495 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7496 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7497 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7498 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7499 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7500 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7501 Likewise.
7502
03f77315
JM
7503 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7504 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7505 (__ASSUME_SOCKETCALL): Do not define.
7506 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7507 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7508 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7509 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7510 (__ASSUME_REQUEUE_PI): Define unconditionally.
7511 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7512 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7513 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7514 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7515 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7516 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7517
083b1f7c
JM
7518 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7519 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7520 (__ASSUME_SOCKETCALL): Do not define.
7521 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7522 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7523 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7524 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7526 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7527
5be44ea6
JM
7528 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7529 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7530 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7531 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7533 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7534 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7535 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7536 (__ASSUME_GETCPU_SYSCALL): Likewise.
7537
d95ffd4c
JM
7538 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7539 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7540 cases for individual architectures.
7541 * sysdeps/gnu/configure: Regenerated.
7542 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7543 LIBC_SLIBDIR_RTLDDIR.
7544 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7545 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7546 LIBC_SLIBDIR_RTLDDIR.
7547 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7549 LIBC_SLIBDIR_RTLDDIR.
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7551 Regenerated.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7553 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7554 file.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7556 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7557 file.
7558 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7559 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7560 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7561 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7562
29c4f53e
JM
7563 * sysdeps/aarch64/shlib-versions: Move to ...
7564 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7565 * sysdeps/alpha/shlib-versions: Move to ...
7566 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7567 * sysdeps/arm/shlib-versions: Move to ...
7568 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7569 * sysdeps/hppa/shlib-versions: Move all contents except for
7570 libgcc_s entry to ...
7571 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7572 entry from ...
7573 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7574 * sysdeps/ia64/shlib-versions: Move to ...
7575 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7576 entry from ...
7577 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7578 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7579 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7580 * sysdeps/microblaze/shlib-versions: Move to ...
7581 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7582 * sysdeps/mips/shlib-versions: Move to ...
7583 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7584 entry from ...
7585 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7586 * sysdeps/tile/shlib-versions: Move to ...
7587 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7588 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7589 from ...
7590 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7592 entry from ...
7593 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7594
32bead5b
WN
75952014-07-17 Will Newton <will.newton@linaro.org>
7596
57977c4b
WN
7597 * sysdeps/arm/bits/atomic.h
7598 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7599 (__arch_compare_and_exchange_bool_16_int): Likewise.
7600 (__arch_compare_and_exchange_bool_64_int): Likewise.
7601
32bead5b
WN
7602 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7603 into an #else block.
7604
37fccd41
RM
76052014-07-16 Roland McGrath <roland@hack.frob.com>
7606
7607 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7608 just Linux configurations. Test empirically that the compiler sets
7609 __ARM_EABI__, rather than using the tuple to decide.
7610 * sysdeps/arm/preconfigure: Regenerated.
7611 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7612 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7613 contents appended ...
7614 * sysdeps/arm/configure.ac: ... here.
7615 * sysdeps/arm/configure: Regenerated.
7616
b365f3ec
RM
76172014-07-15 Roland McGrath <roland@hack.frob.com>
7618
8badf496
RM
7619 * nptl/pthread_kill.c: New file.
7620 * nptl/pthread_sigmask.c: New file.
7621 * nptl/pthread_sigqueue.c: New file.
7622
3df6f22e
RM
7623 * sysdeps/nptl/lowlevellock.h: New file.
7624 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7625 * sysdeps/nptl/lowlevellock-futex.h: New file.
7626
b365f3ec
RM
7627 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7628 Remove dead declarations.
7629
f2fef657
L
76302014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7631
7632 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7633 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7634 config-cflags-avx2.
7635 * sysdeps/x86_64/configure.ac: Likewise.
7636 * sysdeps/i386/configure: Regenerated.
7637 * sysdeps/x86_64/configure: Likewise.
7638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7639 memset-avx2 only if config-cflags-avx2 is yes.
7640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7641 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7642 defined.
7643 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7644 only if HAVE_AVX2_SUPPORT is defined.
7645 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7646
f6c44d47
AM
76472014-07-14 Alan Modra <amodra@gmail.com>
7648
7649 [BZ #17153]
7650 * elf/elf.h (DT_PPC64_NUM): Correct value.
7651 * NEWS: Add to fixed bug list.
7652
7ee03f00
JM
76532014-07-13 Jim Meyering <meyering@fb.com>
7654
7655 [BZ 17150]
7656 regex: don't deref NULL upon heap allocation failure
7657 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7658 failure in one more place.
7659 To trigger the segfault, configure grep -with-included-regex,
7660 build it, and run these commands:
7661 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7662
9d39d517
AS
76632014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7664
7665 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7666
a75b89b7
RH
76672014-07-11 Richard Henderson <rth@redhat.com>
7668
7669 * sysdeps/aarch64/libm-test-ulps: Update.
7670
771eb141
FW
76712014-07-10 Florian Weimer <fweimer@redhat.com>
7672
7673 [BZ #17135]
7674 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7675 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7676 (__nptl_setxid): Initialize error member. Call
7677 __nptl_setxid_error.
7678 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7679 * nptl/descr.h (struct xid_command): Add error member.
7680 * nptl/tst-setuid3.c: New file.
7681 * nptl/Makefile (tests): Add it.
7682
bc1da176
AZ
76832014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7684
7685 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7686 New define.
7687 (__lll_trylock): Use __lll_base_trylock.
7688 (__lll_cond_trylock): Likewise.
7689
887865fc
RM
76902014-07-10 Roland McGrath <roland@hack.frob.com>
7691
c0c6bac9
RM
7692 * nptl/pthread_create.c (start_thread): Use atomic_or and
7693 lll_futex_wake directly rather than lll_robust_dead.
7694 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7695 (lll_robust_dead): Macro removed.
6a42be57 7696 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7697 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7698 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7699 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7701 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7702 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7703 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7704 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7706 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7707 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7708 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7709 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7710 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7711
887865fc
RM
7712 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7713 Use atomic_compare_and_exchange_val_acq directly rather than
7714 lll_robust_trylock.
7715 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7716 (__lll_robust_trylock, lll_robust_trylock): Removed.
7717 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7718 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7719 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7720 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7721 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7722 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7723 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7724 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7725 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7726 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7727 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7728 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7729 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7730 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7731
58536726
FW
77322014-07-02 Florian Weimer <fweimer@redhat.com>
7733
7734 * manual/locale.texi (Locale Names): New section documenting
7735 locale name syntax. Adjust menu and node chaining accordingly.
7736 (Choosing Locale): Reference Locale Names, Locale Categories.
7737 Mention setting LC_ALL=C. Reflect that name syntax is now
7738 documented.
7739 (Locale Categories): New section title. Reference Locale Names.
7740 LC_ALL is an environment variable, but not a category.
7741 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7742 description, now in Locale Name. Reference that section. Locale
7743 name syntax is now documented.
7744
4e8f95a0
FW
77452014-07-02 Florian Weimer <fweimer@redhat.com>
7746
7747 [BZ #17137]
7748 * locale/findlocale.c (name_present, valid_locale_name): New
7749 functions.
7750 (_nl_find_locale): Use the loc_name variable to store name
7751 candidates. Call name_present and valid_locale_name to check and
7752 validate locale names. Return an error if the locale is invalid.
7753
d1836456
FW
77542014-07-02 Florian Weimer <fweimer@redhat.com>
7755
7756 * locale/setlocale.c (setlocale): Use strdup for allocating
7757 composite name copy.
7758
d69b7f5a
SP
77592014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
888c679b
SP
7761 Sync up with gnulib.
7762 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7763 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7764 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7765 and _GL_ARG_NONNULL.
7766 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7767 [!_LIBC]: Include code for Windows and Cygwin.
7768 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7769 Include prototype for int strerror_r.
7770 [!_LIBC] (is_open): New function.
7771 (flush_stdout): New function.
7772 (print_errno_message): Use it.
7773 (error): Likewise.
7774 (error_at_line): Likewise.
7775 (error_tail) Add function attribute macros. Use
7776 __builtin_expect.
7777
180e0e4b
SP
7778 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7779
d22f1fe2
SP
7780 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7781
12f2254b
SP
7782 * io/ftw.c: Include sys/param.h unconditionally.
7783
c3c7c360
SP
7784 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7785
d62aa75a
SP
7786 [BZ #17125]
7787 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7788 libc_freeres_ptr.
7789 (freecache): New function to free CACHE on exit.
7790
d69b7f5a
SP
7791 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7792 initialization.
7793
5efe06a1
DM
77942014-07-09 David S. Miller <davem@davemloft.net>
7795
7796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7797
7000d82e
DM
7798 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7799 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7800 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7801 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7802 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7803 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7804 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7805 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7806 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7807 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7808 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7809 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7810 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7811
c213442d
AS
78122014-07-09 Andreas Schwab <schwab@suse.de>
7813
4a2552c3
AS
7814 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7815 output.
7816 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7817 (do_test): Likewise.
7818
c213442d
AS
7819 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7820
82374e65
WN
78212014-07-09 Will Newton <will.newton@linaro.org>
7822
7823 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7824 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7825 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7826 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7827 * sysdeps/hppa/start.S (_start): Likewise.
7828
6680738a
SP
78292014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7830
6ee3eab4
SP
7831 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7832
6680738a
SP
7833 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7834 defined.
7835
80b5c505
SP
78362014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7837
e35c53e3
SP
7838 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7839 after checking that it is non-NULL.
7840
80b5c505
SP
7841 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7842
91f4b564
AZ
78432014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7844
27b75f56
AZ
7845 * sysdeps/powerpc/memmove.c: Remove file.
7846 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7847 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7848 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7849 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7850 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7851 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7852 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7853 string memmove instead of removed powerpc one.
7854
e7f95bb5
AZ
7855 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7856 [weak_alias]: Fix compiler warning due trailing data.
7857 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7858 [weak_alias]: Likewise.
7859 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7860 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7861
91f4b564
AZ
7862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7863 (__libc_ifunc_impl_list): Add memmove functions.
7864
7c33f1e5
SP
78652014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7866
7867 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7868 Remove code.
7869 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7870 Likewise
7871 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7872 Likewise
7873 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7874 Likewise
7875 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7876 Likewise
7877 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7878 Likewise
7879 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7880 Likewise
7881 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7882 Likewise
7883 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7884 Likewise
7885 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7886 Likewise
7887 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7888 Likewise
7889 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7890 Likewise
7891 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7892 Likewise
7893 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7894 Likewise
7895 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7896 Likewise
7897 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7898 Likewise
7899 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7900 Likewise
7901
3f17b03b
AZ
79022014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7903
87868c24
AZ
7904 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7905 to avoid alignment traps in non-cacheable memory.
7906 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7907
07aedd78
AZ
7908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7909 multiarch objects.
7910 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7911 file: multiarch power7 memmove.
7912 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7913 multiarch default memmove.
7914 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7915 multiarch memove for powerpc32/power4.
7916
17762f66
AZ
7917 * string/bcopy.c: Use full path to include memmove.c.
7918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7919 multiarch objects.
7920 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7921 bcopy for powerpc64.
7922 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7923 bcopy for powerpc64.
7924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7925 and memmove implementations.
7926 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7927 optimized multiarch memmove for POWER7/powerpc64.
7928 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7929 default multiarch memmove for powerpc64.
7930 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7931 multiarch for powerpc64.
7932 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7933 for POWER7/powerpc64.
7934 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7935 memmove for POWER7/powerpc64.
7936
d6f68bbe
AZ
7937 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7938 glibc default one.
7939
3f17b03b
AZ
7940 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7941 __ELF_NATIVE_CLASS equal to 64.
7942
08192659
RM
79432014-07-07 Roland McGrath <roland@hack.frob.com>
7944
f4c4021b
RM
7945 * sysdeps/nptl/lowlevellock.h: File removed.
7946
f083450f
RM
7947 * NEWS: NPTL is no longer an add-on!
7948 * nptl/internaltypes.h: Moved ...
7949 * sysdeps/nptl/internaltypes.h: ... here.
7950 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7951 * sysdeps/nptl/fork.c: Likewise.
7952 * sysdeps/nptl/gai_misc.h: Likewise.
7953 * sysdeps/nptl/librt-cancellation.c: Likewise.
7954 * sysdeps/nptl/jmp-unwind.c: Likewise.
7955 * sysdeps/nptl/setxid.h: Likewise.
7956 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7957 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7958 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7959 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7960 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7961 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7962 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7963 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7964 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7965 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7966 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7967 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7968 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7969 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7970 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7971 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7972 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7973 * nptl/Makeconfig: Moved ...
7974 * sysdeps/nptl/Makeconfig: ... here.
7975 * nptl/configure: File removed.
7976 * nptl/ANNOUNCE: File removed.
7977 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7978 * sysdeps/unix/sysv/linux/configure: Regenerated.
7979
08192659
RM
7980 * nptl/Makefile (routines): Add libc_pthread_init,
7981 libc_multiple_threads, register-atfork and unregister-atfork.
7982 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7983 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7984 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7985 pthread-pi-defines.sym, structsem.sym.
7986 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7987 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7988 [$(subdir) = nptl] (tests): Add tst-setgetname.
7989 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7990 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7991 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7992 [!LIBC_SIGACTION]: Remove aliases.
7993 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7994 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7995 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7996 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7997 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7998 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8001 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8002 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8003 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8004 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8005 __libc_allocate_rtsig_private.
8006 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8007 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8008 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8009 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8010 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8011 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8012 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8013 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8014 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8015 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8016 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8017 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8018 * nptl/internaltypes.h: ... here.
8019 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8020 * sysdeps/nptl/jmp-unwind.c: ... here.
8021 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8022 * nptl/libc-lowlevellock.c: ... here.
8023 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8024 * nptl/libc_multiple_threads.c: ... here.
8025 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8026 * nptl/libc_pthread_init.c: ... here.
8027 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8028 * nptl/lowlevelbarrier.sym: ... here.
8029 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8030 * nptl/lowlevelcond.sym: ... here.
8031 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8032 * nptl/lowlevellock.c: ... here.
8033 * nptl/lowlevellock.h: Moved ...
8034 * sysdeps/nptl/lowlevellock.h: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8036 * nptl/lowlevelrobustlock.c: ... here.
8037 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8038 * nptl/lowlevelrobustlock.sym: ... here.
8039 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8040 * nptl/lowlevelrwlock.sym: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8042 * nptl/pt-fork.c: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8044 * nptl/pthread-pi-defines.sym: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8046 * nptl/pthread_attr_getaffinity.c: ... here.
8047 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8048 * nptl/pthread_attr_setaffinity.c: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8050 * nptl/pthread_mutex_cond_lock.c: ... here.
8051 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8052 Update #include.
8053 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8054 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8055 * nptl/pthread_once.c: ... here, replacing old file.
8056 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8057 * nptl/pthread_yield.c: ... here.
8058 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8059 * nptl/register-atfork.c: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8061 * nptl/sem_post.c: ... here.
8062 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8063 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8064 * nptl/sem_timedwait.c: ... here.
8065 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8066 * nptl/sem_trywait.c: ... here.
8067 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8068 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8069 * nptl/sem_wait.c: ... here.
8070 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8071 * nptl/structsem.sym: ... here.
8072 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8073 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8074 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8075 * nptl/unregister-atfork.c: ... here.
8076 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8077 * nptl/unwindbuf.sym: ... here.
8078 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8079 * sysdeps/nptl/fork.c: ... here.
8080 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8081 * sysdeps/nptl/fork.h: ... here.
8082 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8083 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8084 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8086 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8088 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8090 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8091 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8092 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8093 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8094 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8096 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8098 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8099 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8100 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8102 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8104 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8106 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8108 * sysdeps/unix/sysv/linux/raise.c: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8110 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8112 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8114 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8116 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8118 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8120 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8122 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8123 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8124
96baf6ff
SP
81252014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8126
8127 * sysdeps/generic/memcopy.h: Add comment for
8128 MEMCPY_OK_FOR_FWD_MEMMOVE.
8129
6b7b14b2
WN
81302014-07-04 Will Newton <will.newton@linaro.org>
8131
1570a72b
WN
8132 * string/memchr.c: Merge from gnulib.
8133 [_LIBC]: Remove conditionals.
8134 (__ptr_t): Remove define.
8135 (LONG_MAX_32_BITS): Likewise.
8136 (LONG_MAX): Likewise.
8137 (MEMCHR): Use ANSI prototype and optimize algorithm.
8138
6b7b14b2
WN
8139 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8140
38851324
SP
81412014-07-03 Roland McGrath <roland@hack.frob.com>
8142
3d9eb57c
RM
8143 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8144 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8145
78b984ae
RM
8146 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8147 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8148 in a bare environment with no <stdlib.h> installed.
8149 * sysdeps/nptl/configure: Regenerated.
8150
2d5976a5
RM
8151 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8152
c1f5acd4
RM
8153 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8154 AC_EGREP_CPP for kernel header checks, so they only succeed if
8155 including <linux/version.h> actually works right.
8156 * sysdeps/unix/sysv/linux/configure: Regenerated.
8157
4d614fe5
RM
8158 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8159 value so it's not diagnosed as unused.
8160
38851324
SP
8161 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8162 thing) with "ifeq ($(subdir),rt)".
8163
b3ec00e5
RH
81642014-07-03 Richard Henderson <rth@redhat.com>
8165
69862e25
RH
8166 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8167 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8168 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8169
d5e16ade
RH
8170 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8171 (math_force_eval): New.
8172
ca7b945c
RH
8173 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8174 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8175
cd1175a3
RH
8176 * sysdeps/alpha/fpu/s_round.c: Remove file.
8177 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8178
b3ec00e5
RH
8179 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8180 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8181 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8182 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8183 (_dl_start, print_statistics): Likewise.
8184 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8185 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8186
8187 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8188 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8189 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8190 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8191 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8192 (HP_SMALL_TIMING_AVAIL): Define.
8193 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8194 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8195 (HP_SMALL_TIMING_AVAIL): Define.
8196 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8197 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8198
8199 * sysdeps/aarch64/hp-timing.h: New file.
8200
8201 * sysdeps/generic/hp-timing.h: Remove dead comment.
8202 * sysdeps/generic/hp-timing-common.h: New file.
8203 * sysdeps/alpha/hp-timing.h: Include it.
8204 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8205 * sysdeps/i386/i686/hp-timing.h: Likewise.
8206 * sysdeps/ia64/hp-timing.h: Likewise.
8207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8208 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8209 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8210 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8211 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8212 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8213 (hp_timing_t): New.
8214
8215 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8216 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8217 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8218 * elf/rtld.c (_dl_start_final): Likewise.
8219 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8220 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8221 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8222 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8223 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8224 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8225 (HP_TIMING_DIFF_INIT): Remove.
8226 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8227 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8228 (HP_TIMING_DIFF_INIT): Remove.
8229 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8230 * sysdeps/i386/i686/hp-timing.c: Remove file.
8231 * sysdeps/x86_64/hp-timing.c: Remove file.
8232 * sysdeps/ia64/hp-timing.c: Remove file.
8233 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8234 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8236 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8237
8238 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8239 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8240 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8241 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8243 (HP_TIMING_ACCUM): Remove.
8244 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8246 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8247
8248 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8249 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8250 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8251 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8253 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8254 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8255 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8256
8257 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8258
225f410f
MR
82592014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8260
8261 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8262
3247f285
SP
82632014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8264
8265 Sync up with gettext.
8266 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8267 [_MSC_VER]: Include malloc.h
8268 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8269 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8270 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8271 TEMP_FAILURE_RETRY. Cast return of alloca.
8272 [!_LIBC] Call gl_rwlock_init.
8273 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8274
d12704c7
SP
82752014-07-02 Roland McGrath <roland@hack.frob.com>
8276
8277 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8278 before checking its value.
8279
99f8dc92
SP
82802014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8281
05fdac77
SP
8282 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8283
99f8dc92
SP
8284 * debug/memcpy_chk.c: Don't include pagecopy.h.
8285 * debug/mempcpy_chk.c: Likewise.
8286 * string/memcpy.c: Likewise.
8287 * string/memmove.c: Likewise.
8288 * sysdeps/powerpc/memmove.c: Likewise.
8289 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8290 definition of PAGE_COPY_FWD_MAYBE here...
8291 * sysdeps/generic/pagecopy.h: ... from here.
8292 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8293
bc8ea385
VR
82942014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8295 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296
8297 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8299 optimizations.
8300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8301 (__libc_ifunc_impl_list): Likewise.
8302 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8303 multiarch strcat for PPC64.
8304 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8305 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8306
fe5f34e4
RM
83072014-07-02 Roland McGrath <roland@hack.frob.com>
8308
8309 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8310
256aa665
SP
83112014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8312
d4eb8195
SP
8313 * intl/loadmsgcat.c: Remove declaration of
8314 get_sysdep_segment_value.
8315 (get_sysdep_segment_value): Use ISO C style.
8316 (_nl_load_domain): Use ISO C style. Get rid of redundant
8317 semicolon. Fix typo and formatting in comment.
8318 (_nl_unload_domain): Use ISO C style.
8319
256aa665
SP
8320 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8321
b100f9aa
WN
83222014-07-02 Will Newton <will.newton@linaro.org>
8323
8324 * malloc/obstack.c: Merge from gnulib master.
8325 [HAVE_CONFIG_H]: Remove conditional code.
8326 [!_LIBC]: Include config.h.
8327 [!ELIDE_CODE]: Don't include inttypes.h, include
8328 stdint.h unconditionally.
8329 (print_and_abort): Mark as _Noreturn.
8330 (_obstack_allocated_p): Mark as __attribute_pure__.
8331 (obstack_free): Rename to __obstack_free.
8332 [!__attribute__]: Remove conditional code.
8333 * malloc/obstack.h: Merge from gnulib master.
8334 [__cplusplus]: Move conditional down.
8335 [!__attribute_pure__]: Define __attribute_pure__ here
8336 if it is not already defined.
8337 (_obstack_memory_used): Mark as __attribute_pure__.
8338 [!__obstack_free]: Define as obstack_free.
8339 [__GNUC__]: Remove check for ancient NeXT gcc.
8340
c4c41244
PE
83412014-07-02 Will Newton <will.newton@linaro.org>
8342 Paul Eggert <eggert@cs.ucla.edu>
8343
8344 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8345
e1e041c4
SP
83462014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8347
8348 * resolv/gethnamaddr.c: Add comment warning that the file is
8349 not maintained.
8350
ccf431ff
CD
83512014-07-01 Carlos O'Donell <carlos@redhat.com>
8352
d34570a6
CD
8353 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8354 entries.
8355
ccf431ff
CD
8356 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8357 entry for aio_cancel and aio_cancel64.
8358 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8359 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8360 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8361 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8362 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8363 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8364 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8365 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8366 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8367 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8368 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8369 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8370 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8371
ca06321d
RM
83722014-07-01 Roland McGrath <roland@hack.frob.com>
8373
8374 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8375 * nptl/pthread_mutex_lock.c: Likewise.
8376 * nptl/pthread_mutex_timedlock.c: Likewise.
8377 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8378
a1ac3184
RH
83792014-07-01 Richard henderson <rth@redhat.com>
8380
631021e0
RH
8381 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8382 (__isnan, __isnanl): Remove.
8383 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8384
a1ac3184
RH
8385 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8386
0c1d731f
SL
83872014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8388
8389 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8390
76985d3e
SP
83912014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8392
8393 * resolv/nss_dns/dns-host.c (getanswer_r)
8394 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8395
b0cb3096
JM
83962014-07-01 Joseph Myers <joseph@codesourcery.com>
8397
8398 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8399 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8400 undefine.
8401 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8402 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8403
4d76cb39
RM
84042014-07-01 Roland McGrath <roland@hack.frob.com>
8405
8406 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8407 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8408
8409 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8410 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8411
8412 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8413 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8414 ... here.
8415 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8416 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8417
8418 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8419 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8420 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8421 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8422
8423 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8424 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8425 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8426 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8430 ... here.
8431 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8432 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8434 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8436 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8437 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8438 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8442 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8443 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8444 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8446 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8447 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8448 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8449 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8450 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8451 ... here.
8452 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8455 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8456 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8457 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8458 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8459 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8460
0cdcad17
DH
84612014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8462
8463 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8464 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8465 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8466 Add sysdep.
8467
9b71d0e3
AZ
84682014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8469
8470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8471
665390c2
JM
84722014-06-30 Joseph Myers <joseph@codesourcery.com>
8473
ae05a9d7
JM
8474 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8475 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8476
a7672a2f
JM
8477 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8478
665390c2
JM
8479 * sysdeps/arm/libm-test-ulps: Regenerated.
8480
d7a05d07
MR
84812014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8482 Roland McGrath <roland@hack.frob.com>
8483
8484 * test-skeleton.c (signal_handler): Kill the whole process group
8485 before killing the child individually.
8486 (main): Report any failure on `setpgid'.
8487
46f1d8a6
RM
84882014-06-30 Roland McGrath <roland@hack.frob.com>
8489
8490 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8491 from _TLS_H to _ARM_NPTL_TLS_H.
8492 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8493 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8494
9c37ec0b
JM
84952014-06-30 Joseph Myers <joseph@codesourcery.com>
8496
ce9c5b3e
JM
8497 [BZ #16539]
8498 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8499 (__expm1l): Return argument unchanged when small but not
8500 subnormal.
8501
3a6e9887
JM
8502 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8503 include macro name.
8504 (_FP_UNPACK_RAW_1_P): Likewise.
8505 (_FP_PACK_RAW_1): Likewise.
8506 (_FP_PACK_RAW_1_P): Likewise.
8507 (_FP_MUL_MEAT_1_wide): Likewise.
8508 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8509 (_FP_MUL_MEAT_1_hard): Likewise.
8510 (_FP_DIV_MEAT_1_imm): Likewise.
8511 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8512 (_FP_DIV_MEAT_1_udiv): Likewise.
8513 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8514 (_FP_UNPACK_RAW_2): Likewise.
8515 (_FP_UNPACK_RAW_2_P): Likewise.
8516 (_FP_PACK_RAW_2): Likewise.
8517 (_FP_PACK_RAW_2_P): Likewise.
8518 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8519 (_FP_MUL_MEAT_2_wide): Likewise.
8520 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8521 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8522 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8523 (_FP_MUL_MEAT_2_gmp): Likewise.
8524 (_FP_DIV_MEAT_2_udiv): Likewise.
8525 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8526 (_FP_FRAC_SRL_4): Likewise.
8527 (_FP_FRAC_SRST_4): Likewise.
8528 (_FP_FRAC_SRS_4): Likewise.
8529 (_FP_UNPACK_RAW_4): Likewise.
8530 (_FP_UNPACK_RAW_4_P): Likewise.
8531 (_FP_PACK_RAW_4): Likewise.
8532 (_FP_PACK_RAW_4_P): Likewise.
8533 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8534 (_FP_MUL_MEAT_4_wide): Likewise.
8535 (_FP_MUL_MEAT_4_gmp): Likewise.
8536 (umul_ppppmnnn): Likewise.
8537 (_FP_DIV_MEAT_4_udiv): Likewise.
8538 (__FP_FRAC_ADD_4): Likewise.
8539 (__FP_FRAC_SUB_3): Likewise.
8540 (__FP_FRAC_SUB_4): Likewise.
8541 (__FP_FRAC_DEC_3): Likewise.
8542 (__FP_FRAC_DEC_4): Likewise.
8543 (__FP_FRAC_ADDI_4): Likewise.
8544 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8545 (_FP_FRAC_SRL_8): Likewise.
8546 (_FP_FRAC_SRS_8): Likewise.
8547
9c37ec0b
JM
8548 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8549 include macro name.
8550 (FP_UNPACK_RAW_EP): Likewise.
8551 (FP_PACK_RAW_E): Likewise.
8552 (FP_PACK_RAW_EP): Likewise.
8553 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8554 (_FP_ISSIGNAN): Likewise.
8555 (_FP_ADD_INTERNAL): Likewise.
8556 (_FP_FMA): Likewise.
8557 (_FP_CMP): Likewise.
8558 (_FP_SQRT): Likewise.
8559 (_FP_TO_INT): Likewise.
8560 (_FP_FROM_INT): Likewise.
8561 (FP_EXTEND): Likewise.
8562 (_FP_DIV_MEAT_N_loop): Likewise.
8563
2125f674
MR
85642014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8565
8566 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8567 throughout.
8568
edea4028
JM
85692014-06-29 Joseph Myers <joseph@codesourcery.com>
8570
8571 [BZ #17097]
8572 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8573 result with correct sign in case of exponents that produce
8574 overflow except for X very close to 1.
8575
dd0ba018
PE
85762014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8577
8578 mktime: merge #if/#ifdef usage from glibc
8579 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8580 as that works with both Glibc's and Gnulib's style.
8581 See thread starting at Siddhesh Poyarekar's bug report at:
8582 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8583
64df73c2
SP
85842014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8585
8586 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8587 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8588 * sysdeps/tile/tilegx/memmove.c: Remove file.
8589
f1eafb41
JM
85902014-06-27 Joseph Myers <joseph@codesourcery.com>
8591
8592 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8593 abi-name definition.
8594 * scripts/soversions.awk: Do not handle or generate ABI lines.
8595 * shlib-versions: Remove ABI entries.
8596 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8597 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8598
58eb0862
RM
85992014-06-27 Roland McGrath <roland@hack.frob.com>
8600
37caf178
RM
8601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8602 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8603 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8608 Moved ...
8609 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8610 ... here.
8611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8624 Moved ...
8625 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8627 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8629 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8631 Moved ...
8632 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8634 Moved ...
8635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8639 Moved ...
8640 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8642 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8644 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8646 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8647 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8648 Moved ...
8649 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8651 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8652 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8653 Moved ...
8654 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8656 Moved ...
8657 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8661 Moved ...
8662 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8663 ... here.
8664 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8665 Identical file removed.
8666 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8667 Moved ...
8668 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8669 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8670 Identical file removed.
8671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8672 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8674 Moved ...
8675 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8677 Identical file removed.
8678 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8681 Identical file removed.
8682 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8683 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8685 Identical file removed.
8686 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8687 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8688 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8689 Identical file removed.
8690 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8691 Moved ...
8692 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8694 Identical file removed.
8695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8696 Moved ...
8697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8701 Identical file removed.
8702 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8703 Moved ...
8704 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8705 ... here.
8706 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8707 Identical file removed.
8708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8709 Moved ...
8710 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8712 Identical file removed.
8713 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8714 Moved ...
8715 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8716 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8721 Moved ...
8722 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8723 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8724 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8725
58eb0862
RM
8726 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8727 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8728 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8729 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8730 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8731
6f12d062
AS
87322014-06-27 Arjun Shankar <arjun.is@lostca.se>
8733
8734 [BZ #17092]
8735 * nscd/nscd.c (monitor_child): Return exit status of child
8736 instead of return value from wait syscall.
8737
be254932
JM
87382014-06-27 Joseph Myers <joseph@codesourcery.com>
8739
cb403c34
JM
8740 * configure.ac (libc_commonpagesize): Remove variable.
8741 (libc_relro_required): Likewise.
8742 (libc_cv_z_relro): Remove configure test.
8743 * configure: Regenerated.
8744 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8745 variable.
8746 (libc_relro_required): Likewise.
8747 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8748 (libc_relro_required): Likewise.
8749 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8750 (libc_relro_required): Likewise.
8751 * sysdeps/arm/preconfigure: Regenerated.
8752 * sysdeps/ia64/preconfigure: Remove file.
8753 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8754 variable.
8755 (libc_relro_required): Likewise.
8756
be254932
JM
8757 [BZ #16561]
8758 [BZ #16562]
8759 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8760 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8761 recompute overflowing results in original rounding mode.
8762 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8763 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8764 recompute overflowing results in original rounding mode.
8765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8766 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8767 recompute overflowing results in original rounding mode.
8768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8769 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8770 recompute overflowing results in original rounding mode.
8771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8772 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8773 recompute overflowing results in original rounding mode.
8774 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8775 (libc_feholdsetround_ctx): New macro.
8776 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8777 * sysdeps/i386/fpu/libm-test-ulps: Update.
8778 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8779
b351d85a
JM
87802014-06-26 Joseph Myers <joseph@codesourcery.com>
8781
8782 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8783 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8784 corresponding .cpsetup call.
8785
3cb4de47
RM
87862014-06-26 Roland McGrath <roland@hack.frob.com>
8787
8788 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8789 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8790 * sysdeps/arm/Makefile [$(subdir) = csu]
8791 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8792 (static-only-routines): Add aeabi_read_tp here.
8793 (shared-only-routines): Add libc-aeabi_read_tp here.
8794 (CFLAGS-libc-start.c): Add -fexceptions here.
8795 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8796 (sysdep_routines, static-only-routines, shared-only-routines):
8797 Don't add to these here.
8798 (CFLAGS-libc-start.c): Likewise.
8799
8800 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8801 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8802 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8803 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8804 * sysdeps/arm/Makefile [$(subdir) = rt]
8805 (librt-sysdep_routines, librt-shared-only-routines):
8806 Append rt-aeabi_unwind_cpp_pr1 here.
8807 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8808 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8809 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8810 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8811 Append nptl-aeabi_unwind_cpp_pr1 here.
8812 (tests): Filter out tst-cleanupx4 here.
8813 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8814 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8815 Don't do those here.
8816
354426bb
JM
88172014-06-26 Joseph Myers <joseph@codesourcery.com>
8818
8819 * scripts/list-sources.sh: Do not handle ports specially.
8820
28b0a8c9
RM
88212014-06-26 Roland McGrath <roland@hack.frob.com>
8822
a3dd035d
RM
8823 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8824 * sysdeps/arm/feupdateenv.c: Likewise.
8825
28b0a8c9
RM
8826 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8827
e66a8203
JM
88282014-06-26 Joseph Myers <joseph@codesourcery.com>
8829
8830 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8831 trailing whitespace removed.
8832 * scripts/config.guess: Update to version 2014-03-23.
8833 * scripts/config.sub: Update to version 2014-05-01
8834 * scripts/install-sh: Update to version 2013-12-25.23.
8835 * scripts/move-if-change: Update from gnulib.
8836
74171115
SP
88372014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
b97c9ce5
SP
8839 * debug/memmove_chk.c: Remove pagecopy.h include.
8840
4000f892
SP
88412014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8842
74171115
SP
8843 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8844 identical to gnulib mktime.
8845
a8779c28
JM
88462014-06-26 Joseph Myers <joseph@codesourcery.com>
8847
e64708de
JM
8848 * configure.ac: Do not test for machine being rs6000. Do not test
8849 for powerpc*-*soft.
8850 * configure: Regenerated.
8851
a8779c28
JM
8852 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8853 test.
8854 * configure: Regenerated.
8855 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8856 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8857 Remove configure test.
8858 * sysdeps/arm/configure: Regenerated.
8859 * sysdeps/nptl/configure.ac: Do not check
8860 libc_cv_asm_cfi_directives.
8861 * sysdeps/nptl/configure: Regenerated.
8862 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8863 * sysdeps/x86_64/nptl/configure: Remove generated file.
8864 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8865 unconditional.
8866 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8867
2aac0a86
SP
88682014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8869
059bf913
SP
8870 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8871 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8872 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8873 it is defined.
8874
4cf5b6d0
SP
8875 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8876 instead of whether it is defined.
8877 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8878 * sysdeps/hppa/dl-machine.h: Likewise.
8879 * sysdeps/ia64/dl-machine.h: Likewise.
8880 * sysdeps/m68k/dl-machine.h: Likewise.
8881 * sysdeps/microblaze/dl-machine.h: Likewise.
8882 * sysdeps/mips/dl-machine.: Likewise.
8883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8887 * sysdeps/sh/dl-machine.h: Likewise.
8888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8890 * sysdeps/tile/dl-machine.h: Likewise.
8891 * sysdeps/x86_64/dl-machine.h: Likewise.
8892
2aac0a86
SP
8893 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8894 code.
8895 (verify_persistent_db): Likewise.
8896
6ad2df0b
RM
88972014-06-26 Roland McGrath <roland@hack.frob.com>
8898
d8a483f3
RM
8899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8900 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8904 Moved ...
8905 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8906 ... here.
8907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8910 Identical file removed.
8911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8922 Moved ...
8923 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8925 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8927 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8929 Moved ...
8930 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8932 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8934 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8936 Identical file removed.
8937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8938 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8942 Moved ...
8943 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8944 ... here.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8946 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8956 Moved ...
8957 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8959 Moved ...
8960 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8964 Moved ...
8965 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8967 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8968
52ae23b4
RM
8969 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8970 folded into ...
8971 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8972 * sysdeps/unix/sysv/linux/s390/Versions
8973 (libpthread: GLIBC_2.19): New version set.
8974 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8975 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8976 (librt: GLIBC_2.3.3): New version set.
8977 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8978 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8979 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8981 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8983 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8985 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8987 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8989 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8991 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8993 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8995 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8997 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8998 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8999 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9001 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9003 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9004 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9005 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9007 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9009 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9013 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9015 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9017 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9019 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9021 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9022
39507e4a
RM
9023 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9024 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9025 (__libc_vfork): Define the function under this name.
9026 [!NOT_IN_libc] (__vfork): Make this an alias.
9027 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9029 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9030 (__libc_vfork): Define the function under this name.
9031 [!NOT_IN_libc] (__vfork): Make this an alias.
9032 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9033 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9034 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9035 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9037 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9038
e549ee56
RM
9039 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9040 code that was previously under [RESET_PID].
9041 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9042 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9043 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9044
6ad2df0b
RM
9045 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9046 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9047 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9048 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9049 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9050 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9051 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9052 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9053 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9054 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9055 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9056 Moved ...
9057 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9058 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9059 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9063 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9065 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9066 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9067 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9068 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9069 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9071 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9072 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9073 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9074 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9075 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9076 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9077 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9078 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9079 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9080 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9081 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9082 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9083 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9084 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9085 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9086
7c1c1d8e
RM
90872014-06-25 Roland McGrath <roland@hack.frob.com>
9088
9089 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9090 that was previously under [RESET_PID].
9091 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9092
3e239be6
JM
90932014-06-25 Joseph Myers <joseph@codesourcery.com>
9094
74385da5
JM
9095 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9096 not undefine and redefine.
9097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9098 [O_CLOEXEC]: Make code unconditional.
9099 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9100 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9101 <kernel-features.h>.
9102 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9103 conditional variable definition.
9104 (shm_open) [O_CLOEXEC]: Make code unconditional.
9105 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9106 code.
9107
c2570a0b
JM
9108 * configure.ac (USE_REGPARMS): Don't define here.
9109 * configure: Regenerated.
9110 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9111 * sysdeps/i386/configure: Regenerated.
9112
11b076bb
JM
9113 * nptl/createthread.c: Don't include kernel-features.h.
9114 * nptl/pthread_cancel.c: Likewise.
9115 * nptl/pthread_condattr_setclock.c: Likewise.
9116 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9117 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9118 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9119 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9120 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9121 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9124 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9125 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9126 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9127 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9128 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9129 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9130 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9131 * nscd/gai.c: Likewise.
9132 * nss/nss_db/db-open.c: Likewise.
9133 * sysdeps/generic/ldsodefs.h: Likewise.
9134 * sysdeps/sh/nptl/tls.h: Likewise.
9135 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9136 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9137 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9138 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9139 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9140 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9141 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9142 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9144 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9145 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9146 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9147 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9148 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9149 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9150 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9151 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9152 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9153 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9154 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9155 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9156 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9157 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9158 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9159 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9160 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9161 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9163 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9164 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9165 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9166 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9167 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9168 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9169 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9170 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9171 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9172 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9173 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9174 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9175 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9176 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9177 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9178 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9179 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9180 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9181 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9182 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9183 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9184 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9185 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9186 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9187 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9188 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9189 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9190 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9191 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9192 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9215 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9216 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9217 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9218 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9219 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9220 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9221 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9222 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9223 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9224 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9225 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9226 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9227 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9228 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9229 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9230 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9231 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9232 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9233 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9234 * sysdeps/unix/sysv/linux/system.c: Likewise.
9235 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9236 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9237 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9238 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9239 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9241 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9242
92072d57
JM
9243 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9244 * configure: Regenerated.
9245 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9246
3e239be6
JM
9247 * configure.ac (base_machine): Do not set specially for particular
9248 machines here.
9249 * configure: Regenerated.
9250 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9251 settings from configure.ac.
9252 * sysdeps/i386/preconfigure: New file.
9253 * sysdeps/s390/preconfigure: Likewise.
9254 * sysdeps/sh/preconfigure: Likewise.
9255 * sysdeps/sparc/preconfigure: Likewise.
9256
06d50baa
RM
92572014-06-25 Roland McGrath <roland@hack.frob.com>
9258
74836003
RM
9259 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9260 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9261 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9262 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9263 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9264 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9265 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9266 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9267 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9268 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9269 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9270 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9271 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9272 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9273 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9274 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9276 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9277 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9278
9279 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9280 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9281 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9282 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9283 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9284 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9285 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9286 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9287 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9288 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9289 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9290 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9291 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9292 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9293 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9294 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9295 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9296 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9297 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9298 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9299 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9300 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9301 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9302 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9303 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9304 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9305 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9306 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9307 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9308 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9309 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9310 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9311 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9312 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9313 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9314 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9315 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9316 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9317
06d50baa
RM
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9319 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9323 Moved ...
9324 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9325 ... here.
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9327 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9329 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9331 Moved ...
9332 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9338 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9340 Moved ...
9341 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9343 Moved ...
9344 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9346 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9348 Moved ...
9349 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9351 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9353 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9355 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9357 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9359 Moved ...
9360 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9361 ... here.
9362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9367 Moved ...
9368 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9372 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9376 Moved ...
9377 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9379 Moved ...
9380 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9382 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9389 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9390
a4ccbc9b
JM
93912014-06-25 Joseph Myers <joseph@codesourcery.com>
9392
0828edbf
JM
9393 * timezone/checktab.awk: Update from tzcode 2014e.
9394 * timezone/private.h: Likewise.
9395 * timezone/tzfile.h: Likewise.
9396 * timezone/zdump.c: Likewise.
9397 * timezone/zic.c: Likewise.
9398
a4ccbc9b
JM
9399 * sysdeps/unix/sysv/linux/kernel-features.h
9400 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9402 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9403 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9404 Remove conditional code.
9405
9aea0cb8
WN
94062014-06-25 Will Newton <will.newton@linaro.org>
9407
9408 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9409 (_dl_arm_cap_flags): Add HWCAP2 values.
9410 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9411 (_DL_HWCAP_COUNT): Increase to 37.
9412 (_DL_HWCAP_LAST): New define.
9413 (_DL_HWCAP2_LAST): New define.
9414 (_dl_procinfo): Add support for printing
9415 AT_HWCAP2 entries.
9416 (_dl_string_hwcap): Use _dl_hwcap_string.
9417
6eaa65ce
AZ
94182014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9419
9420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9421
0f5b7185
JM
94222014-06-25 Joseph Myers <joseph@codesourcery.com>
9423
cfd2ea50
JM
9424 * README: Do not mention ports directory.
9425
cecf2ed4
JM
9426 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9427 Remove macro.
9428 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9429 <kernel-features.h>.
9430 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9431 conditional variable definition.
9432 (__futimes): Update comment.
9433 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9434 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9435
a638de82
JM
9436 [BZ #16560]
9437 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9438 arguments close to 0.
9439 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9440 Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9442 Likewise.
9443 * math/auto-libm-test-in: Add more tests of exp10.
9444 * math/auto-libm-test-out: Regenerated.
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9446
0f5b7185
JM
9447 * sysdeps/unix/sysv/linux/kernel-features.h
9448 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9449 * sysdeps/unix/sysv/linux/readv.c: Do not include
9450 <kernel-features.h>.
9451 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9452 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9453 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9454 unconditional.
9455 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9456 conditional code.
9457 * sysdeps/unix/sysv/linux/writev.c: Do not include
9458 <kernel-features.h>.
9459 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9460 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9461 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9462 unconditional.
9463 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9464 conditional code.
9465
c7aec4be
WN
94662014-06-25 Will Newton <will.newton@linaro.org>
9467
9468 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9469 comment changes throughout the file. Remove checks
9470 for HAVE_*_H definitions that are not required.
9471 (__gen_tempname): Call abort if an unknown kind value is
9472 passed.
9473
c5241f95
AS
94742014-06-25 Andreas Schwab <schwab@suse.de>
9475
9476 [BZ #17086]
9477 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9478 scalbln, scalblnf, scalblnl in libc.
9479
911422da
SP
94802014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9481
9482 [BZ #17086]
9483 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9484 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9485 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9486
0d749bbe
RM
94872014-06-24 Roland McGrath <roland@hack.frob.com>
9488
9489 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9490 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9491 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9492 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9493 Update #include.
9494 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9495 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9496 Update #include.
9497 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9498 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9499 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9500 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9501 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9502 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9503 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9504 * sysdeps/x86/bits/semaphore.h: ... here.
9505 * sysdeps/x86/nptl/elide.h: Moved ...
9506 * sysdeps/x86/elide.h: ... here.
9507 * sysdeps/x86_64/nptl/Implies: File removed.
9508 * sysdeps/i386/nptl/Implies: File removed.
9509
0ea5d373
JM
95102014-06-24 Joseph Myers <joseph@codesourcery.com>
9511
4060283d
JM
9512 [BZ #16539]
9513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9514 return the argument for normal arguments with exponent below -64.
9515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9516 Likewise.
9517 * math/auto-libm-test-in: Add another test of expm1.
9518 * math/auto-libm-test-out: Regenerated.
9519
e7dd3c8c
JM
9520 [BZ #16287]
9521 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9522 calling __erfcl for arguments at least 16.
9523 * math/auto-libm-test-in: Add more tests of erf.
9524 * math/auto-libm-test-out: Regenerated.
9525
0ea5d373
JM
9526 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9527 individual architectures.
9528 * sysdeps/unix/sysv/linux/configure: Regenerated.
9529 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9530 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9531 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9532 (ldd_rewrite_script): Define variable.
9533 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9535 file.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9537 generated file.
9538 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9539 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9540 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9541 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9542 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9543 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9544 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9545 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9546
2307e126
SP
95472014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9548
9549 [BZ #17084]
9550 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9551 Rename member __data.d to __data.__elision_data.
9552
c0a4ed77
W
95532014-06-24 Wilco <wdijkstr@arm.com>
9554
9555 * NEWS: Add 16918 to fixed bug list.
9556
b8c00573
W
95572014-06-24 Wilco <wdijkstr@arm.com>
9558
9559 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9560
b5570d92
W
95612014-06-24 Wilco <wdijkstr@arm.com>
9562
9563 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9564 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9565 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9566 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9567 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9568 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9569 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9570 Use _FPU_MASK_RM.
9571
947bdca2
W
95722014-06-24 Wilco <wdijkstr@arm.com>
9573
9574 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9575
00f669ed
W
95762014-06-24 Wilco <wdijkstr@arm.com>
9577
9578 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9579 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9580 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9581 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9582
db59bad3
W
95832014-06-24 Wilco <wdijkstr@arm.com>
9584
9585 [BZ #16918]
9586 * sysdeps/arm/feupdateenv.c (feupdateenv):
9587 Rewrite to reduce FPSCR accesses and fix return value.
9588
001f7b77
W
95892014-06-24 Wilco <wdijkstr@arm.com>
9590
9591 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9592 Optimize to avoid unnecessary FPSCR writes.
9593 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9594 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9595 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9596 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9597
4841e6a6
W
95982014-06-24 Wilco <wdijkstr@arm.com>
9599
9600 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9601 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9602 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9603 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9604 Call libc_fetestexcept_vfp.
9605 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9606 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9607 __SOFTFP__ ifdef so that they can be built for softfp.
9608
0813022c
SP
96092014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9610
08e5862f
SP
9611 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9612 argument type signed char.
9613
0813022c
SP
9614 * Makerules (check-abi): Dump diff of symlist if the test
9615 fails.
9616
3fc7236a
RM
96172014-06-23 Roland McGrath <roland@hack.frob.com>
9618
aba8ef95
RM
9619 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9620 using abort.
9621
3fc7236a
RM
9622 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9623 Remove unused variable ST.
9624
4da6db51
JM
96252014-06-23 Joseph Myers <joseph@codesourcery.com>
9626
4648909d
JM
9627 [BZ #16354]
9628 [BZ #17061]
9629 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9630 small arguments before calling __expm1.
9631 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9632 small arguments before calling __expm1f.
9633 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9634 small arguments before calling __expm1l.
9635 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9636 Likewise.
9637 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9638 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9639 spurious underflow for some cosh tests.
9640 * math/auto-libm-test-out: Regenerated.
9641 * sysdeps/i386/fpu/libm-test-ulps: Update.
9642
46a3d3c7
JM
9643 [BZ #17050]
9644 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9645 (__ieee754_y1): Set errno if return value overflows.
9646 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9647 (__ieee754_y1f): Set errno if return value overflows.
9648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9649 (__ieee754_y1l): Set errno if return value overflows.
9650 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9651 (__ieee754_y1l): Set errno if return value overflows.
9652 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9653 * math/auto-libm-test-out: Regenerated.
9654
863893ec
JM
9655 * math/gen-auto-libm-tests.c: Document use of
9656 ignore-zero-inf-sign.
9657 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9658 (input_flags): Add ignore-zero-inf-sign.
9659 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9660 * math/gen-libm-test.pl (generate_testfile): Handle
9661 ignore-zero-inf-sign.
9662 * math/auto-libm-test-in: Mark some cpow tests with
9663 ignore-zero-inf-sign and some with xfail-rounding.
9664 * math/auto-libm-test-out: Regenerated.
9665 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9666 * sysdeps/i386/fpu/libm-test-ulps: Update.
9667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668
4da6db51
JM
9669 [BZ #16315]
9670 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9671 overflowing or underflowing operations take place with sign of
9672 result.
9673 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9674 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9675 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9676 (__ieee754_pow): Recompute overflowing and underflowing results in
9677 original rounding mode.
9678 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9679 (__powl_helper): Allow negative argument X and scale negated value
9680 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9681 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9682 overflowing or underflowing operations take place with sign of
9683 result.
9684 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9685 Include <math.h>.
9686 * math/auto-libm-test-in: Add more tests of pow.
9687 * math/auto-libm-test-out: Regenerated.
9688 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9689 (pow_tonearest_test_data): Remove.
9690 (pow_test_tonearest): Likewise.
9691 (pow_towardzero_test_data): Likewise.
9692 (pow_test_towardzero): Likewise.
9693 (pow_downward_test_data): Likewise.
9694 (pow_test_downward): Likewise.
9695 (pow_upward_test_data): Likewise.
9696 (pow_test_upward): Likewise.
9697 (main): Don't call removed functions.
9698 * sysdeps/i386/fpu/libm-test-ulps: Update.
9699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9700
5686b236
RM
97012014-06-23 Roland McGrath <roland@hack.frob.com>
9702
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9704 Moved ...
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9707 Moved ...
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9710 Moved ...
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9716 File removed.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9718 File removed.
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9720 File removed.
9721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9722 File removed.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9724 File removed.
9725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9726 File removed.
9727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9728 File removed.
9729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9730 File removed.
9731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9732 File removed.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9734 File removed.
9735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9736 File removed.
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9738 File removed.
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9740 Moved ...
9741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9743 Moved ...
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9745 ... here.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9750 Moved ...
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9756 Moved ...
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9759 Moved ...
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9765 Moved ...
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9769 ... here.
9770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9771 Moved ...
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9776 ... here.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9778 Moved ...
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9780 ... here.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9782 Moved ...
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9784 ... here.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9786 Moved ...
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9789 Moved ...
9790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9794 Moved ...
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9796 ... here.
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9798 Moved ...
9799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9800 ... here.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9802 Moved ...
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9808 Moved ...
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9811 Moved ...
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9814 Moved ...
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9816 ... here.
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9818 Moved ...
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9821 Moved ...
9822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9824 Moved ...
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9827 Moved ...
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9832 Moved ...
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9835 Moved ...
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9838 Moved ...
9839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9840 ... here.
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9842 Moved ...
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9844 ... here.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9846 Moved ...
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9848 ... here.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9850 Moved ...
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9853 Moved ...
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9856 Moved ...
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9859 Moved ...
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9861 ... here.
9862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9863 Moved ...
9864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9865 ... here.
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9867 Moved ...
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9869 ... here.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9871 Moved ...
9872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9874 Moved ...
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9876
e6d90d67
WD
98772014-06-23 Will Newton <will.newton@linaro.org>
9878 Wilco <wdijkstr@arm.com>
9879
9880 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9881 implementation. Include get-rounding-mode.h.
9882 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9883 [!libc_feholdsetround_noex_ctx]: Define
9884 libc_feholdsetround_noex_ctx.
9885 [!libc_feholdsetround_noexf_ctx]: Define
9886 libc_feholdsetround_noexf_ctx.
9887 [!libc_feholdsetround_noexl_ctx]: Define
9888 libc_feholdsetround_noexl_ctx.
9889 (libc_feholdsetround_ctx): New function.
9890 (libc_feresetround_ctx): New function.
9891 (libc_feholdsetround_noex_ctx): New function.
9892 (libc_feresetround_noex_ctx): New function.
9893
d42df555
RM
98942014-06-23 Roland McGrath <roland@hack.frob.com>
9895
88a46474
RM
9896 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9897 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9898 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9899 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9900 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9901 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9902
15bed472
RM
9903 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9904 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9905 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9906 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9907 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9908 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9910 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9914 Moved ...
9915 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9916 ... here.
9917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9920 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9922 Moved ...
9923 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9925 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9931 Moved ...
9932 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9933 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9934 Moved ...
9935 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9937 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9939 Moved ...
9940 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9944 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9945 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9946 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9947 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9948 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9950 Moved ...
9951 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9952 ... here.
9953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9956 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9966 Moved ...
9967 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9968 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9969 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9970 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9971 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9972 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9973 Moved ...
9974 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9978 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9979
d42df555
RM
9980 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9981 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9982 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9983 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9984 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9985 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9986 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9987 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9989 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9990 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9991 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9993 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9995 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9997 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9998 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9999 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10005 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10008
76e5216e
JM
100092014-06-23 Joseph Myers <joseph@codesourcery.com>
10010
10011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10012 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10013 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10014 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10015 (IPV6_PMTUDISC_INTERFACE): Likewise.
10016 (IPV6_PMTUDISC_OMIT): Likewise.
10017
7a81cbcc
AS
100182014-06-23 Andreas Schwab <schwab@suse.de>
10019
10020 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10021 Remove unused errout label.
10022
db224009
AZ
100232014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10024
10025 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10026 macro: hardware supports Vector Crypto instructions.
10027
f393b4aa
WN
100282014-06-23 Will Newton <will.newton@linaro.org>
10029
cc7d0447
WN
10030 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10031 rather than __builtin_expect.
10032
d6d06225
WN
10033 * elf/dl-lookup.c (undefined_msg): Remove variable.
10034 (_dl_lookup_symbol_x): Replace undefined_msg with string
10035 literal.
10036
f393b4aa
WN
10037 * elf/dl-lookup.c (do_lookup_unique): New function.
10038 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10039 to a separate function.
10040
ac60763e
AS
100412014-06-23 Andreas Schwab <schwab@suse.de>
10042
10043 [BZ #17079]
10044 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10045 before reading the next line.
10046
c5c13355
WN
100472014-06-23 Will Newton <will.newton@linaro.org>
10048
10049 * test-skeleton.c (signal_handler): Use printf and %m
10050 rather than perror. Use printf rather than fprintf to
10051 stderr. Use puts rather than fputs to stderr.
10052 (main): Likewise.
10053
bd3675f9
LC
100542014-06-22 Ludovic Courtès <ludo@gnu.org>
10055
10056 * nscd/nscd.c (thread_info_t): Remove typedef.
10057 (thread_info): Remove variable.
10058
d03efb2f
AM
100592014-06-21 Allan McRae <allan@archlinux.org>
10060
10061 * NEWS: Mention CVE-2014-4043.
10062
bc4a86fa
RM
100632014-06-20 Roland McGrath <roland@hack.frob.com>
10064
dc9a54f8
RM
10065 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10066 * nptl/smp.h: ... here.
10067
bd7022c4
RM
10068 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10069
26ffd5e6
RM
10070 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10071 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10072 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10073 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10074
93a6d082
RM
10075 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10076 * nptl/stack-aliasing.h: New file.
10077 * sysdeps/i386/i686/stack-aliasing.h: New file.
10078 * sysdeps/i386/i686/nptl/Makefile: File removed.
10079 * sysdeps/x86_64/stack-aliasing.h: New file.
10080 * sysdeps/x86_64/nptl/Makefile
10081 (CFLAGS-pthread_create.c): Variable removed.
10082
bc4a86fa
RM
10083 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10084 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10085 old file.
10086 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10087 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10088 old file.
10089
2272ffc1
JM
100902014-06-21 Joseph Myers <joseph@codesourcery.com>
10091
10092 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10093 (__ASSUME_SIGFRAME_V2): Remove macro.
10094 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10095 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10096 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10097 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10098 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10099 Declare as function. Remove conditional macro definitions.
10100 (__default_rt_sa_restorer): Likewise.
10101 (__default_sa_restorer_v1): Remove declaration.
10102 (__default_sa_restorer_v2): Likewise.
10103 (__default_rt_sa_restorer_v1): Likewise.
10104 (__default_rt_sa_restorer_v2): Likewise.
10105 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10106 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10107 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10108
4b88139b
RM
101092014-06-20 Roland McGrath <roland@hack.frob.com>
10110
10111 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10112 (libpthread-routines): Add sysdep.
10113 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10114 * sysdeps/unix/sysv/linux/sparc/Versions
10115 (libpthread: GLIBC_2.3.3): New version set.
10116 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10117 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10118 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10120 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10121 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10122 Moved ...
10123 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10125 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10127 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10128 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10129 * sysdeps/sparc/nptl/sem_init.c: ... here.
10130 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10131 * sysdeps/sparc/nptl/sem_post.c: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10133 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10135 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10137 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10138 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10139 (libpthread-routines): Add cpu_relax.
10140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10141 File removed.
10142 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10143 (librt: GLIBC_2.3.3): New version set.
10144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10145 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10146 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10147 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10150 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10152 Moved ...
10153 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10155 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10157 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10159 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10161 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10163 Moved ...
10164 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10165 Update #include.
10166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10167 Moved ...
10168 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10169 Update #include.
10170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10171 Moved ...
10172 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10173 Update #include.
10174 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10175 Moved ...
10176 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10177 Update #include.
10178 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10179 Moved ...
10180 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10181 Update #include.
10182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10183 Moved ...
10184 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10185 Update #include.
10186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10187 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10193 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10195 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10197 Moved ...
10198 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10200 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10202 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10203
d7109027
JM
102042014-06-20 Joseph Myers <joseph@codesourcery.com>
10205
9bc6103d
JM
10206 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10207 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10208 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10209 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10210 * nscd/nscd.c: Likewise.
10211 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10212 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10213 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10214 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10215
d7109027
JM
10216 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10217 <kernel-features.h>.
10218 (init_mq_netlink): Remove conditional have_sock_cloexec
10219 definitions. Remove code conditional on have_sock_cloexec < 0.
10220 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10221 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10222 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10223 <kernel-features.h>.
10224 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10225 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10226
d92d8f8a
L
102272014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10228
10229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10230 Add tests for memset_chk and memset.
10231
10232 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10233 with AVX2_Usable.
10234
4e6d2347
MR
102352014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10236
257ce712
MR
10237 [BZ #16046]
10238 * elf/tst-dl-iter-static.c: New file.
10239 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10240
4e6d2347
MR
10241 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10242 error.
10243
a2a76afe
JM
102442014-06-20 Joseph Myers <joseph@codesourcery.com>
10245
7fd00f99
JM
10246 * sysdeps/unix/sysv/linux/kernel-features.h
10247 (__ASSUME_F_GETOWN_EX): Remove macro.
10248 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10249 <kernel-features.h>.
10250 (miss_F_GETOWN_EX): Remove variable or macro.
10251 (do_fcntl): Do not check miss_F_GETOWN_EX.
10252 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10253
4a103975
JM
10254 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10255 Remove macro.
10256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10257 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10258 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10259
a2a76afe
JM
10260 * sysdeps/unix/sysv/linux/kernel-features.h
10261 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10262 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10263 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10264 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10265
90e5dd48
MR
102662014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10267
10268 [BZ #17075]
10269 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10270 Fix calculation of the symbol's value.
10271 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10272 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10273 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10274 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10275 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10276 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10277 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10278 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10279 (modules-names): Add `tst-armtlsdescmod',
10280 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10281 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10282 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10283 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10284 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10285 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10286 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10287 ($(objpfx)tst-armtlsdescloc): New dependency.
10288 ($(objpfx)tst-armtlsdescextnow): Likewise.
10289 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10290 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10291 TLS scheme support.
10292 * sysdeps/arm/configure: Regenerate.
10293
809fdf0d
JM
102942014-06-20 Joseph Myers <joseph@codesourcery.com>
10295
10296 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10297 (__atfct_seterrno_2): Likewise.
10298 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10299 <kernel-features.h>.
10300 (__ASSUME_ATFCTS): Do not undefine and redefine.
10301 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10302 (__have_atfcts): Remove conditional definition.
10303 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10304 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10305 unreachable if [__ASSUME_ATFCTS].
10306 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10307 not undefine and redefine.
10308 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10309 <kernel-features.h>.
10310 (faccessat) [__NR_faccessat]: Make code unconditional.
10311 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10312 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10313 <kernel-features.h>.
10314 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10315 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10316 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10317 <kernel-features.h>.
10318 (fchownat) [__NR_fchownat]: Make code unconditional.
10319 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10320 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10321 <kernel-features.h>.
10322 (futimesat) [__NR_futimesat]: Make code unconditional.
10323 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10324 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10325 <kernel-features.h>.
10326 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10327 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10328 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10329 <kernel-features.h>.
10330 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10331 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10332 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10333 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10334 <kernel-features.h>.
10335 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10336 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10337 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10338 <kernel-features.h>.
10339 (linkat) [__NR_linkat]: Make code unconditional.
10340 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10341 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10342 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10343 <kernel-features.h>.
10344 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10345 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10346 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10347 <kernel-features.h>.
10348 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10349 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10350 * sysdeps/unix/sysv/linux/openat.c: Do not include
10351 <kernel-features.h>.
10352 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10353 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10354 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10355 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10357 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10358 <kernel-features.h>.
10359 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10360 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10361 result of INLINE_SYSCALL directly, not via int variable.
10362 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10363 <kernel-features.h>.
10364 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10365 (renameat) [__NR_renameat]: Make code unconditional.
10366 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10367 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10368 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10369 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10370 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10371 (__ASSUME_ATFCTS): Do not undefine and redefine.
10372 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10373 <kernel-features.h>.
10374 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10375 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10376 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10377 <kernel-features.h>.
10378 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10379 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10380 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10381 (__ASSUME_ATFCTS): Do not undefine and redefine.
10382 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10383 <kernel-features.h>.
10384 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10385 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10386 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10387 <kernel-features.h>.
10388 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10389 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10390
224c6c51
L
103912014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10392
10393 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10394
aa6ec754
AS
103952014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10396
10397 [BZ #17069]
10398 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10399 constructed tree before returning error.
10400 * posix/bug-regexp36.c: Expand test case.
10401
d8c2869d
SL
104022014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10403
3ef6b850
SL
10404 [BZ #6803]
10405 * math/libm-test.inc (scalbln_test_date):
10406 Add errno expectations.
10407 * math/w_scalblnf.c: New File.
10408 Add wrapper which checks for setting errno to ERANGE.
10409 Add weak_alias for corresponding scalbln function.
10410 * math/w_scalbln.c: Likewise.
10411 * math/w_scalblnl.c: Likewise.
10412 * math/Makefile (libm-calls): Add w_scalbln.
10413 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10414 Remove weak_alias for corresponding scalbln function.
10415 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10419 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10420 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10421 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10422 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10423 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10424 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10425 Remove long_double_symbol for scalblnl function in libm, libc.
10426 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10427 Add wrapper which checks for setting errno to ERANGE.
10428 Add long_double_symbol for scalblnl function in libm, libc.
10429 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10430 Remove long_double_symbol for scalblnl in libm.
10431 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10432 Add wrapper which checks for setting errno to ERANGE.
10433 Add long_double_symbol for scalblnl function in libm.
10434 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10435 Do not use wrapper because of own implementation.
10436
c8daec5c
L
104372014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10440 3 bytes for __pad1 for x32.
10441 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10442
5c74e47c
LM
104432014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10444 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10447 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10448 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10449 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10450 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10451
4d43ef1e
AS
104522014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 [BZ #17069]
10455 * posix/regcomp.c (parse_expression): Deallocate partially
10456 constructed tree before returning error.
10457 * posix/Makefile.c (tests): Add bug-regex36.
10458 (generated): Add bug-regex36.mtrace.
10459 (tests-special): Add $(objpfx)bug-regex36-mem.out
10460 (bug-regex36-ENV): New variable.
10461 ($(objpfx)bug-regex36-mem.out): New rule.
10462 * posix/bug-regex36.c: New file.
10463
51a7380b
WN
104642014-06-19 Will Newton <will.newton@linaro.org>
10465
10466 * malloc/malloc.c (systrim): If extra is zero then return
10467 early.
10468
91b84fe5
SP
104692014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10470
10471 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10472
f940b965
RE
104732014-06-19 Richard Earnshaw <rearnsha@arm.com>
10474
10475 * sysdeps/aarch64/strchr.S: New file.
10476
4ba7a00f
JM
104772014-06-18 Joseph Myers <joseph@codesourcery.com>
10478
10479 [BZ #17022]
10480 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10481 from arguments -2 or below.
10482 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10483 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10484
b3a9f56b
AS
104852014-06-18 Andreas Schwab <schwab@suse.de>
10486
10487 [BZ #17062]
10488 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10489 of a bracket expr not to run off the end of the string.
10490 * posix/Makefile (tests): Add tst-fnmatch3.
10491 * posix/tst-fnmatch3.c: New file.
10492
85d89278
JM
104932014-06-18 Joseph Myers <joseph@codesourcery.com>
10494
10495 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10496 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10497 [$(cross-compiling) = no]: Likewise.
10498 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10499 [$(cross-compiling) = no]: Likewise.
10500
754c5a08
RS
105012014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10502
10503 [BZ #17031]
10504 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10505 double, adjusted for any remainder from the high double.
10506 * math/libm-test.inc (nearbyint): Add tests.
10507 (rint): Likewise.
10508
556f529d
AZ
105092014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 * nptl/sysdeps/powerpc/Makefile: Moved ...
10512 * sysdeps/powerpc/nptl/Makefile: ... here.
10513 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10514 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10515 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10516 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10517 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10518 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10519 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10520 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10521 * nptl/sysdeps/powerpc/tls.h: Moved ...
10522 * sysdeps/powerpc/nptl/tls.h: ... here.
10523
91c03c53
JM
105242014-06-16 Joseph Myers <joseph@codesourcery.com>
10525
10526 [BZ #16681]
10527 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10528 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10529 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10530 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10531 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10532 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10533 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10534 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10535 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10536
a76e63c5
AS
105372014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10538
10539 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10540
f2f6d82f
AS
105412014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10542
ea8a15f6
AS
10543 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10544 defined operator.
10545
f2f6d82f
AS
10546 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10547 $TIMEOUTFACTOR.
10548
a7291117
FW
105492014-06-16 Florian Weimer <fweimer@redhat.com>
10550
10551 [BZ #17058]
10552 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10553 non-executed part of the test.
10554
3d7c00e3
AS
105552014-06-16 Andreas Schwab <schwab@suse.de>
10556
10557 * string/bits/string2.h (strdup, strndup): Update feature guard.
10558
6957fb31
DM
105592014-06-14 David S. Miller <davem@davemloft.net>
10560
10561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10562
11b9e55b
AS
105632014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10564
1d2a0492
AS
10565 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10566 that was previously under [RESET_PID].
10567 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10568
11b9e55b
AS
10569 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10570 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10571 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10573 (__libc_vfork): New strong alias.
10574 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10575
0f6901d0
AK
105762014-06-14 Andi Kleen <ak@linux.intel.com>
10577
10578 * sysdeps/generic/elide.h: New file.
10579
38bbbb9f
SL
105802014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10581
10582 * Makefile (installed-headers): Adjust path of pthread.h header.
10583
45193bb8
RM
105842014-06-13 Roland McGrath <roland@hack.frob.com>
10585
9a25fd1e
RM
10586 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10587 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10588 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10589 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10590
4004f7e4
RM
10591 * nptl/sysdeps/s390/Makefile: Moved ...
10592 * sysdeps/s390/nptl/Makefile: ... here.
10593 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10594 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10595 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10596 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10597 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10598 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10599 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10600 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10601 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10602 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10603 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10604 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10605 * nptl/sysdeps/s390/tls.h: Moved ...
10606 * sysdeps/s390/nptl/tls.h: ... here.
10607
45193bb8
RM
10608 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10609 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10610
f6fdf533
DM
106112014-06-13 David S. Miller <davem@davemloft.net>
10612
10613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10621 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10622 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10623 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10624 Remove RESET_PID cpp guards.
10625 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10626 Remove RESET_PID cpp guards.
10627 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10628
f5d71e14
AS
106292014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10630
10631 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10632 __sp to uintptr_t.
10633
b7aa8caa
AK
106342014-06-13 Andi Kleen <ak@linux.intel.com>
10635
4b266200
AZ
10636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10637 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10638 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10639 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10640 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10641 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10642 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10643 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10644 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10645 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10646 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10647 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10648 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10649 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10650 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10651 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10654 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10656
10657 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10658 (pthread_rwlock_rdlock): Add elision.
10659 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10660 (pthread_rwlock_wrlock): Add elision.
10661 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10662 (pthread_rwlock_trywrlock): Add elision.
10663 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10664 (pthread_rwlock_tryrdlock): Add elision.
10665 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10666 (pthread_rwlock_tryrdlock): Add elision unlock.
10667 * nptl/sysdeps/pthread/pthread.h:
10668 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10669 (PTHREAD_RWLOCK_INITIALIZER,
10670 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10671 Handle new elision field.
10672 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10673 * sysdeps/arm/nptl/bits/pthreadtypes.h
10674 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10675 * sysdeps/sh/nptl/bits/pthreadtypes.h
10676 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10677 * sysdeps/tile/nptl/bits/pthreadtypes.h
10678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10679 * sysdeps/a/nptl/bits/pthreadtypes.h
10680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10681 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10682 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10683 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10685 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10687 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10689 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10691 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10693 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10695 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10697 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10698 (elision_init): Set try_xbegin to zero when no RTM.
10699 * sysdeps/x86/nptl/bits/pthreadtypes.h
10700 (pthread_rwlock_t): Change __pad1 to __rwelision.
10701 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10702
a832bdd3
AK
107032014-06-13 Andi Kleen <ak@linux.intel.com>
10704
10705 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10706 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10707 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10708 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10709
995a46bb
MI
107102014-06-13 Meador Inge <meadori@codesourcery.com>
10711
10712 [BZ #16996]
03ed7738 10713 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10714 that the cached result has been set before returning it.
10715
45262aee
RM
107162014-06-12 Roland McGrath <roland@hack.frob.com>
10717
febf6cc5
RM
10718 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10719 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10721 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10722 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10723 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10724
e2682246
RM
10725 * nptl/sysdeps/sparc/Makefile: Moved ...
10726 * sysdeps/sparc/nptl/Makefile: ... here.
10727 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10728 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10729 * nptl/sysdeps/sparc/tls.h: Moved ...
10730 * sysdeps/sparc/nptl/tls.h: ... here.
10731 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10732 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10733 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10734 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10735 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10736 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10737 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10738 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10739 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10740 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10741 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10742 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10743 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10744 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10745 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10746 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10747 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10749 Update #include.
10750 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10751 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10752 Update #include.
10753 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10754 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10755 Update #include.
10756 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10757 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10758 Update #include.
10759
b0725f43
RM
10760 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10761
b14368b8
RM
10762 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10763 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10764
c5620eb3
RM
10765 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10766 (struct list_links): Type removed.
10767 (struct thread_node, struct timer_node): Replace struct list_links
10768 with struct list_head.
10769 (list_unlink_ip): Likewise.
10770 * sysdeps/pthread/timer_routines.c
10771 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10772 (list_append, list_insbefore): Likewise.
10773 (list_init): Function removed.
10774 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10775 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10776 * sysdeps/pthread/Makefile: ... here, new file.
10777
10778 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10779 * sysdeps/nptl/Implies: ... here.
10780 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10781 * nptl/sysdeps/pthread/list.h: Moved ...
10782 * include/list.h: ... here.
10783 * nptl/sysdeps/pthread/createthread.c: Moved ...
10784 * nptl/createthread.c: ... here.
10785 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10786 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10787 * nptl/pt-longjmp.c: ... here.
10788 * nptl/sysdeps/pthread/Makefile: Moved ...
10789 * sysdeps/nptl/Makefile: ... here.
10790 * nptl/sysdeps/pthread/Subdirs: Moved ...
10791 * sysdeps/nptl/Subdirs: ... here.
10792 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10793 * sysdeps/nptl/aio_misc.h: ... here.
10794 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10795 * sysdeps/nptl/bits/libc-lock.h: ... here.
10796 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10797 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10798 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10799 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10800 * nptl/sysdeps/pthread/configure: Moved ...
10801 * sysdeps/nptl/configure: ... here.
10802 * nptl/sysdeps/pthread/configure.ac: Moved ...
10803 * sysdeps/nptl/configure.ac: ... here.
10804 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10805 * sysdeps/nptl/gai_misc.h: ... here.
10806 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10807 * sysdeps/nptl/librt-cancellation.c: ... here.
10808 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10809 * sysdeps/nptl/malloc-machine.h: ... here.
10810 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10811 * sysdeps/nptl/pthread-functions.h: ... here.
10812 * nptl/sysdeps/pthread/pthread.h: Moved ...
10813 * sysdeps/nptl/pthread.h: ... here.
10814 * nptl/sysdeps/pthread/setxid.h: Moved ...
10815 * sysdeps/nptl/setxid.h: ... here.
10816 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10817 * sysdeps/nptl/sigfillset.c: ... here.
10818 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10819 * sysdeps/nptl/tcb-offsets.h: ... here.
10820 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10821 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10822 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10823 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10824 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10825 * sysdeps/pthread/allocalim.h: ... here.
10826 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10827 * sysdeps/pthread/bits/sigthread.h: ... here.
10828 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10829 * sysdeps/pthread/flockfile.c: ... here.
10830 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10831 * sysdeps/pthread/ftrylockfile.c: ... here.
10832 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10833 * sysdeps/pthread/funlockfile.c: ... here.
10834 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10835 * sysdeps/pthread/posix-timer.h: ... here.
10836 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10837 * sysdeps/pthread/timer_create.c: ... here.
10838 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10839 * sysdeps/pthread/timer_delete.c: ... here.
10840 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10841 * sysdeps/pthread/timer_getoverr.c: ... here.
10842 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10843 * sysdeps/pthread/timer_gettime.c: ... here.
10844 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10845 * sysdeps/pthread/timer_routines.c: ... here.
10846 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10847 * sysdeps/pthread/timer_settime.c: ... here.
10848 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10849 * sysdeps/pthread/tst-timer.c: ... here.
10850 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10851 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10852
e876b090
RM
10853 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10854 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10855
f6b07b3d
RM
10856 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10857 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10858 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10859 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10860 Update #include target.
10861 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10862 * sysdeps/i386/i686/nptl/Makefile: ... here.
10863 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10864 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10865 Update #include target.
10866 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10867 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10868 * nptl/sysdeps/i386/Makefile: Moved ...
10869 * sysdeps/i386/nptl/Makefile: ... here.
10870 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10871 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10872 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10873 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10874 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10875 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10876 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10877 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10878 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10879 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10880 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10881 * nptl/sysdeps/i386/tls.h: Moved ...
10882 * sysdeps/i386/nptl/tls.h: ... here.
10883
45262aee
RM
10884 * sysdeps/sh/Makefile [$(subdir) = csu]
10885 (gen-as-const-headers): Add tcb-offsets.sym.
10886 * nptl/sysdeps/sh/Makefile: File removed.
10887 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10888 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10889 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10890 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10891 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10892 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10893 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10894 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10895 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10896 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10897 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10898 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10899 * nptl/sysdeps/sh/tls.h: Moved ...
10900 * sysdeps/sh/nptl/tls.h: ... here.
10901 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10902 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10903 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10904 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10906 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10907 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10908 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10909 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10910 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10912 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10914 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10916 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10917 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10918 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10920 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10922 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10924 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10926 Moved ...
10927 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10928 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10929 Moved ...
10930 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10932 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10935 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10936 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10937 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10938 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10939 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10940 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10941 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10942 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10943 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10944 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10945 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10946 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10947 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10948 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10949
35a5e3e3
SL
109502014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10951
10952 * posix/spawn_faction_addopen.c: Include string.h.
10953
14642b85
RM
109542014-06-11 Roland McGrath <roland@hack.frob.com>
10955
10956 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10957 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10958 * nptl/sysdeps/x86_64/Makefile: Moved ...
10959 * sysdeps/x86_64/nptl/Makefile: ... here.
10960 * nptl/sysdeps/x86_64/configure: Moved ...
10961 * sysdeps/x86_64/nptl/configure: ... here.
10962 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10963 * sysdeps/x86_64/nptl/configure.ac: ... here.
10964 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10965 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10966 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10967 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10968 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10969 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10970 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10971 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10972 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10973 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10974 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10975 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10976 * nptl/sysdeps/x86_64/tls.h: Moved ...
10977 * sysdeps/x86_64/nptl/tls.h: ... here.
10978 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10979 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10980 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10981 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10982
10983 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10984
31c44fea
AZ
109852014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10986
10987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10988
e81a4f9a
JM
109892014-06-11 Joseph Myers <joseph@codesourcery.com>
10990
10991 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10992 type.
10993 [POSIX] (off_t): Likewise.
10994 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10995 [POSIX] (S_ISBLK): Require macro.
10996 [POSIX] (S_ISCHR): Likewise.
10997 [POSIX] (S_ISDIR): Likewise.
10998 [POSIX] (S_ISFIFO): Likewise.
10999 [POSIX] (S_ISREG): Likewise.
11000 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11001 optional-macro.
11002 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11003 type.
11004 [POSIX] (time_t): Likewise.
11005 [POSIX] (timer_t): Likewise.
11006
89e435f3
FW
110072014-06-11 Florian Weimer <fweimer@redhat.com>
11008
11009 [BZ #17048]
11010 * posix/spawn_int.h (struct __spawn_action): Make the path string
11011 non-const to support deallocation.
11012 * posix/spawn_faction_addopen.c
11013 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11014 * posix/spawn_faction_destroy.c
11015 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11016 path in all spawn_do_open actions.
11017 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11018 posix_spawn_file_actions_addopen.
11019
c3a2ebe1
CM
110202014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11021
11022 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11023 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11024 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11025 conditional code always true.
11026 (__libc_vfork): New alias.
11027
9503784a
RM
110282014-06-11 Roland McGrath <roland@hack.frob.com>
11029
c9cab3d2
RM
11030 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11031 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11032
d3996c79
RM
11033 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11034
ba5ec611
RM
11035 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11036 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11037
f12b4814
RM
11038 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11039 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11040
9503784a
RM
11041 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11042 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11043
e23d3d26
VR
110442014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11045
11046 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11047 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11048 multiarch strcmp for PPC64.
11049 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11050 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11052 multiarch optimizations.
11053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11054 (__libc_ifunc_impl_list): Likewise.
11055
42b1161e
SP
110562014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
11058 * benchtests/scripts/validate_benchout.py: New script.
11059 * benchtests/Makefile (bench-func): Call it.
11060 * benchtests/scripts/benchout.schema.json: New file.
11061
2d0fc4dc
CM
110622014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11063
4a594c34
AZ
11064 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11065 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11066 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11067 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11068 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11069 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11070 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11071 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11072 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11073 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11074 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11075 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11076 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11077 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11078 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11079 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11081 Moved ...
4a594c34 11082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11083 ... here.
4a594c34 11084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11085 Moved ...
4a594c34
AZ
11086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11088 Moved ...
4a594c34 11089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11090 ... here.
4a594c34 11091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11092 Moved ...
4a594c34 11093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11094 ... here.
4a594c34 11095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11096 Moved ...
4a594c34
AZ
11097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11099 Moved ...
4a594c34 11100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11101 ... here.
4a594c34 11102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11103 Moved ...
4a594c34 11104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11105 ... here.
4a594c34 11106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11107 Moved ...
4a594c34
AZ
11108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11110 Moved ...
4a594c34 11111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11112 ... here.
4a594c34 11113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11114 Moved ...
4a594c34 11115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11116 ... here.
4a594c34 11117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11118 Moved ...
4a594c34 11119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11120 ... here.
4a594c34 11121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11122 Moved ...
4a594c34
AZ
11123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11125 Moved ...
4a594c34 11126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11127 ... here.
4a594c34 11128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11129 Moved ...
4a594c34 11130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11131 ... here.
4a594c34 11132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11133 Moved ...
4a594c34 11134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11135 ... here.
4a594c34 11136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11137 Moved ...
4a594c34
AZ
11138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11140 Moved ...
4a594c34 11141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11142 ... here.
4a594c34 11143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11144 Moved ...
4a594c34 11145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11146 ... here.
4a594c34 11147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11148 Moved ...
4a594c34
AZ
11149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11151 Moved ...
4a594c34 11152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11153 ... here.
4a594c34 11154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11155 Moved ...
4a594c34
AZ
11156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11158 Moved ...
4a594c34
AZ
11159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11161 Moved ...
4a594c34 11162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11163 ... here.
4a594c34 11164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11165 Moved ...
4a594c34 11166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11167 ... here.
4a594c34 11168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11169 Moved ...
4a594c34 11170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11171 ... here.
4a594c34 11172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11173 Moved ...
4a594c34
AZ
11174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11176 Moved ...
4a594c34 11177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11178 ... here.
4a594c34 11179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11180 Moved ...
4a594c34 11181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11182 ... here.
4a594c34
AZ
11183 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11184 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11185 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11188 Moved ...
4a594c34 11189 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11190 ... here.
4a594c34
AZ
11191 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11194 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11200 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11204 Moved ...
4a594c34
AZ
11205 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11207 Moved ...
4a594c34
AZ
11208 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11210 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11212 Moved ...
4a594c34
AZ
11213 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11217 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11218 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11219 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11220
0570cfed
W
112212014-06-10 Wilco <wdijkstr@arm.com>
11222
11223 * math/test-fenv-return.c: New file.
11224 * math/Makefile: Add new test test-fenv-return.
11225
f8ba1b56
JM
112262014-06-10 Joseph Myers <joseph@codesourcery.com>
11227
11228 [BZ #17042]
11229 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11230 when x - 1 is zero.
11231 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11232 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11233 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11234 0.0L for an argument of 1.0L.
11235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11236 Likewise.
11237 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11238 value when x - 1 is zero.
11239 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11240 * sysdeps/i386/fpu/libm-test-ulps: Update.
11241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11242
2c3520d9
BO
112432014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11244
11245 [BZ #15119]
11246 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11247
acaa4d24
RM
112482014-06-09 Roland McGrath <roland@hack.frob.com>
11249
11250 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11251 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11252
962b744d
RM
112532014-06-09 Roland McGrath <roland@hack.frob.com>
11254
d752f0cc
RM
11255 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11256 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11257
34eda6d1
RM
11258 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11259 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11260
50f0a637
RM
11261 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11262 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11263
08f41f04
RM
11264 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11265 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11266
962b744d
RM
11267 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11268 if not already defined.
11269 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11270 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11271 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11272 (TLS_INIT_TP): Use it.
11273 (TLS_DEFINE_INIT_TP): New macro.
11274 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11275
09f19b05
JM
112762014-06-09 Joseph Myers <joseph@codesourcery.com>
11277
11278 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11279 constant.
11280 [POSIX] (IXANY): Likewise.
11281 [POSIX] (OLCUC): Likewise.
11282 [POSIX || POSIX2008] (CBAUD): Do not allow.
11283 [POSIX || POSIX2008] (DEFECHO): Likewise.
11284 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11285 [POSIX || POSIX2008] (ECHOKE): Likewise.
11286 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11287 [POSIX || POSIX2008] (EXTA): Likewise.
11288 [POSIX || POSIX2008] (EXTB): Likewise.
11289 [POSIX || POSIX2008] (FLUSHO): Likewise.
11290 [POSIX || POSIX2008] (LOBLK): Likewise.
11291 [POSIX || POSIX2008] (PENDIN): Likewise.
11292 [POSIX || POSIX2008] (SWTCH): Likewise.
11293 [POSIX || POSIX2008] (VDISCARD): Likewise.
11294 [POSIX || POSIX2008] (VDSUSP): Likewise.
11295 [POSIX || POSIX2008] (VLNEXT): Likewise.
11296 [POSIX || POSIX2008] (VREPRINT): Likewise.
11297 [POSIX || POSIX2008] (VSTATUS): Likewise.
11298 [POSIX || POSIX2008] (VWERASE): Likewise.
11299 (B*): Change to B[0123456789]*.
11300 * conform/data/time.h-data [POSIX || UNIX98]
11301 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11302 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11303 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11304 [POSIX] (tm_*): Do not allow.
11305
686554bf
JM
113062014-06-07 Joseph Myers <joseph@codesourcery.com>
11307
11308 * Makefile (install): Don't set LANGUAGE.
11309 * Makefile.in (install): Likewise.
11310 * assert/Makefile (test-assert-ENV): Remove variable.
11311 (test-assert-perr-ENV): Likewise.
11312 * elf/Makefile (neededtest4-ENV): Likewise.
11313 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11314 [$(cross-compiling) = no]: Don't set LANGUAGE.
11315 * io/ftwtest-sh (LANG): Remove variable.
11316 * libio/Makefile (tst-widetext-ENV): Likewise.
11317 * manual/install.texi (Running make install): Don't refer to
11318 environment settings for make install.
11319 * INSTALL: Regenerated.
11320 * nptl/tst-tls6.sh: Don't set LANG.
11321 * posix/globtest.sh (LANG): Remove variable.
11322 * string/Makefile (tester-ENV): Likewise.
11323 (inl-tester-ENV): Likewise.
11324 (noinl-tester-ENV): Likewise.
11325 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11326 [$(cross-compiling) = no]: Don't set LANGUAGE.
11327 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11328 without explicit environment settings.
11329
68e6b6b1
RM
113302014-06-06 Roland McGrath <roland@hack.frob.com>
11331
11332 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11333 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11335 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11336
4d3ae034
CM
113372014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11338
11339 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11340 other files in the crypt directory.
11341 * crypt/crypt.c: Remove duplicate includes.
11342 * crypt/crypt-entry.c: Likewise.
11343 * crypt/crypt_util.c: Likewise.
11344
8540f6d2
JM
113452014-06-06 Joseph Myers <joseph@codesourcery.com>
11346
11347 * Makeconfig (run-program-env): New variable.
11348 (run-program-prefix-before-env): Likewise.
11349 (run-program-prefix-after-env): Likewise.
11350 (run-program-prefix): Define in terms of new variables.
11351 (built-program-cmd-before-env): New variable.
11352 (built-program-cmd-after-env): Likewise.
11353 (built-program-cmd): Define in terms of new variables.
11354 (test-program-prefix-before-env): New variable.
11355 (test-program-prefix-after-env): Likewise.
11356 (test-program-prefix): Define in terms of new variables.
11357 (test-program-cmd-before-env): New variable.
11358 (test-program-cmd-after-env): Likewise.
11359 (test-program-cmd): Define in terms of new variables.
11360 * Rules (make-test-out): Use $(run-program-env).
11361 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11362 (help): Do not mention environment variables. Mention
11363 --timeoutfactor option.
11364 (timeoutfactor): New variable.
11365 (blacklist_exports): Remove function.
11366 (exports): Remove variable.
11367 (command): Do not include ${exports}.
11368 * manual/install.texi (Configuring and compiling): Do not mention
11369 test wrappers preserving environment variables. Mention that last
11370 assignment to a variable must take precedence.
11371 * INSTALL: Regenerated.
11372 * benchtests/Makefile (run-bench): Use $(run-program-env).
11373 * catgets/Makefile ($(objpfx)test1.cat): Use
11374 $(built-program-cmd-before-env), $(run-program-env) and
11375 $(built-program-cmd-after-env).
11376 ($(objpfx)test2.cat): Do not specify environment variables
11377 explicitly.
11378 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11379 $(run-program-env) and $(built-program-cmd-after-env).
11380 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11381 $(run-program-env) and $(test-program-cmd-after-env).
11382 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11383 explicitly.
11384 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11385 run_program_env and test_program_cmd_after_env arguments.
11386 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11387 * elf/tst-pathopt.sh: Use run_program_env argument.
11388 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11389 $(test-wrapper-env) and $(run-program-env).
11390 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11391 run_program_env arguments.
11392 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11393 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11394 $(test-program-prefix-before-env), $(run-program-env) and
11395 $(test-program-prefix-after-env).
11396 ($(objpfx)tst-gettext2.out): Likewise.
11397 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11398 run_program_env and test_program_prefix_after_env arguments.
11399 * intl/tst-gettext2.sh: Likewise.
11400 * intl/tst-gettext4.sh: Do not set environment variables
11401 explicitly.
11402 * intl/tst-gettext6.sh: Likewise.
11403 * intl/tst-translit.sh: Likewise.
11404 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11405 $(test-program-prefix-before-env), $(run-program-env) and
11406 $(test-program-prefix-after-env).
11407 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11408 run_program_env and test_program_prefix_after_env arguments.
11409 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11410 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11411 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11412 explicitly with each use of ${test_wrapper_env}.
11413 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11414 $(test-program-prefix-before-env), $(run-program-env) and
11415 $(test-program-prefix-after-env).
11416 * posix/tst-getconf.sh: Do not set environment variables
11417 explicitly.
11418 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11419 run_program_env and test_program_prefix_after_env arguments.
11420 * stdio-common/tst-printf.sh: Do not set environment variables
11421 explicitly.
11422 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11423 $(test-program-prefix-before-env), $(run-program-env) and
11424 $(test-program-prefix-after-env).
11425 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11426 run_program_env and test_program_prefix_after_env arguments.
11427 Split $test calls into $test_pre and $test.
11428 * timezone/Makefile (build-testdata): Use
11429 $(built-program-cmd-before-env), $(run-program-env) and
11430 $(built-program-cmd-after-env).
11431
ed36bfa1
AZ
114322014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11433
11434 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11435 strlen for non SHARED builds.
11436
fc75bf46
SP
114372014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11438
11439 * nptl/allocatestack.c (check_list): Inlined function...
11440 (__reclaim_stacks): ... here.
11441
d89b3d80
OB
114422014-06-05 Ondřej Bílka <neleai@seznam.cz>
11443
11444 [BZ #15698]
11445 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11446 memory overrun.
11447
2bf18041
JM
114482014-06-05 Joseph Myers <joseph@codesourcery.com>
11449
11450 * Rules (make-test-out): Include
11451 LOCPATH=$(common-objpfx)localedata in default environment.
11452 * debug/Makefile (tst-chk1-ENV): Remove variable.
11453 (tst-chk2-ENV): Likewise.
11454 (tst-chk3-ENV): Likewise.
11455 (tst-chk4-ENV): Likewise.
11456 (tst-chk5-ENV): Likewise.
11457 (tst-chk6-ENV): Likewise.
11458 (tst-lfschk1-ENV): Likewise.
11459 (tst-lfschk2-ENV): Likewise.
11460 (tst-lfschk3-ENV): Likewise.
11461 (tst-lfschk4-ENV): Likewise.
11462 (tst-lfschk5-ENV): Likewise.
11463 (tst-lfschk6-ENV): Likewise.
11464 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11465 (tst-iconv7-ENV): Likewise.
11466 * intl/Makefile (LOCPATH-ENV): Likewise.
11467 (tst-codeset-ENV): Likewise.
11468 (tst-gettext3-ENV): Likewise.
11469 (tst-gettext5-ENV): Likewise.
11470 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11471 (tst-fopenloc-ENV): Likewise.
11472 (tst-fgetws-ENV): Remove variable.
11473 (tst-ungetwc1-ENV): Likewise.
11474 (tst-ungetwc2-ENV): Likewise.
11475 (bug-ungetwc2-ENV): Likewise.
11476 (tst-swscanf-ENV): Likewise.
11477 (bug-ftell-ENV): Likewise.
11478 (tst-fgetwc-ENV): Likewise.
11479 (tst-fseek-ENV): Likewise.
11480 (tst-ftell-partial-wide-ENV): Likewise.
11481 (tst-ftell-active-handler-ENV): Likewise.
11482 (tst-ftell-append-ENV): Likewise.
11483 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11484 (tst-regexloc-ENV): Likewise.
11485 (bug-regex1-ENV): Likewise.
11486 (tst-regex-ENV): Likewise.
11487 (tst-regex2-ENV): Likewise.
11488 (bug-regex5-ENV): Likewise.
11489 (bug-regex6-ENV): Likewise.
11490 (bug-regex17-ENV): Likewise.
11491 (bug-regex18-ENV): Likewise.
11492 (bug-regex19-ENV): Likewise.
11493 (bug-regex20-ENV): Likewise.
11494 (bug-regex22-ENV): Likewise.
11495 (bug-regex23-ENV): Likewise.
11496 (bug-regex25-ENV): Likewise.
11497 (bug-regex26-ENV): Likewise.
11498 (bug-regex30-ENV): Likewise.
11499 (bug-regex32-ENV): Likewise.
11500 (bug-regex33-ENV): Likewise.
11501 (bug-regex34-ENV): Likewise.
11502 (bug-regex35-ENV): Likewise.
11503 (tst-rxspencer-ENV): Likewise.
11504 (tst-rxspencer-no-utf8-ENV): Likewise.
11505 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11506 (tst-sscanf-ENV): Likewise.
11507 (tst-swprintf-ENV): Likewise.
11508 (tst-swscanf-ENV): Likewise.
11509 (test-vfprintf-ENV): Likewise.
11510 (scanf13-ENV): Likewise.
11511 (bug14-ENV): Likewise.
11512 (tst-grouping-ENV): Likewise.
11513 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11514 (tst-strtod3-ENV): Likewise.
11515 (tst-strtod4-ENV): Likewise.
11516 (tst-strtod5-ENV): Likewise.
11517 (testmb2-ENV): Likewise./
11518 * string/Makefile (tst-strxfrm-ENV): Likewise.
11519 (tst-strxfrm2-ENV): Likewise.
11520 (bug-strcoll1-ENV): Likewise.
11521 (test-strcasecmp-ENV): Likewise.
11522 (test-strncasecmp-ENV): Likewise.
11523 * time/Makefile (tst-strptime-ENV): Likewise.
11524 (tst-ftime_l-ENV): Likewise.
11525 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11526 (tst-mbrtowc-ENV): Likewise.
11527 (tst-wcrtomb-ENV): Likewise.
11528 (tst-mbrtowc2-ENV): Likewise.
11529 (tst-c16c32-1-ENV): Likewise.
11530 (tst-mbsnrtowcs-ENV): Likewise.
11531
cd1fb604
OB
115322014-06-05 Ondřej Bílka <neleai@seznam.cz>
11533
11534 * manual/resource.texi (How to get information about the memory
11535 subsystem?): Fix typo.
11536 Reported by Peon de la Parra Ivan <peon@keba.com>
11537
b42eca7d
GY
115382014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11539
11540 [BZ #16882]
11541 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11542 (pthread_spin_lock): Branch out of spin loop to proper location.
11543 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11544 (pthread_spin_lock): Likewise.
11545
902b71f9
DM
11546 * nptl/tst-spin4.c: New test.
11547 * nptl/Makefile (tests): Add tst-spin4.
11548
f9d2d032
AS
115492014-06-03 Andreas Schwab <schwab@suse.de>
11550
11551 [BZ #15946]
11552 * resolv/res_send.c (send_dg): Reload file descriptor after
11553 calling reopen.
11554
cf7bfd28
SL
115552014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11556
11557 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11558
111cc714
RH
115592014-06-03 Richard Henderson <rth@redhat.com>
11560
89b4bd6b
RH
11561 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11562 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11563 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11564 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11565 in the SAVE_PID block.
11566 (__libc_vfork): New alias.
71840409 11567 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11568
111cc714
RH
11569 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11570 child in registers, not on the stack. Remove RESET_PID conditionals.
11571 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11572
ccc39911
MS
115732014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11574
11575 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11576
693096cc
W
115772014-06-03 Wilco <wdijkstr@arm.com>
11578
11579 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11580 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11581 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11582 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11583 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11584 Likewise.
11585
0b4366bc
W
115862014-06-03 Wilco <wdijkstr@arm.com>
11587
11588 * sysdeps/aarch64/fpu/math_private.h
11589 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11590 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11591 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11592 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11593 Fix declarations.
11594
8747cd03
KS
115952014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11596
11597 * crypt/crypt-private.h: Include ufc-crypt.h.
11598 (__b64_from_24bit): Declare extern.
11599 * crypt/crypt_util.c(__b64_from_24bit): New function.
11600 (b64t): New static const variable.
11601 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11602 (b64t): Remove variable.
11603 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11604 * crypt/sha256-crypt.c: Include crypt-private.h.
11605 (b64t): Remove variable.
11606 (__sha256_crypt_r): Remove b64_from_24bit and replace
11607 with __b64_from_24bit.
11608 * crypt/sha512-crypt.c: Likewise.
11609
d936d379
RM
116102014-06-02 Roland McGrath <roland@hack.frob.com>
11611
11612 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11613 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11614 Label the code __libc_vfork rather than __vfork.
11615 [!NOT_IN_libc] (vfork): Define as weak alias.
11616 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11617 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11618 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11619
9fa76613
SP
116202014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11621
11622 * malloc/malloc.c (malloc_info): Fix format specifier for
11623 n_mmaps.
11624
a88dadbe
W
116252014-06-02 Wilco <wdijkstr@arm.com>
11626
11627 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11628 FPCR write.
11629
c95b3011
W
116302014-06-02 Wilco <wdijkstr@arm.com>
11631
11632 [BZ #17009]
11633 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11634 Rewrite to reduce FPCR/FPSR accesses.
11635
6b4d7a90
DM
116362014-06-01 David S. Miller <davem@davemloft.net>
11637
11638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11639
30f3d07c
DM
116402014-05-31 David S. Miller <davem@davemloft.net>
11641
11642 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11643 to occur in round to nearest mode when |x| >= 2.0
11644
74f31c18
RH
116452014-05-30 Richard Henderson <rth@twiddle.net>
11646
f0712b54
RH
11647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11648 (PSEUDO_RET_NOERRNO): Remove.
11649 (ret): Don't redefine.
11650 (ret_NOERRNO): Define in terms of ret.
11651 (ret_ERRVAL): Likewise.
11652
74f31c18
RH
11653 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11654 use of PSEUDO_RET; perform the error check directly.
11655
30477995
MM
116562014-05-30 Marko Myllynen <myllynen@redhat.com>
11657
11658 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11659 with __int128_t.
11660
62a58816
SP
116612014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11662
11663 * malloc/malloc (malloc_info): Fix formatting.
11664
4d653a59
SP
116652014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11666 Roland McGrath <roland@hack.frob.com>
11667
11668 * malloc/malloc (malloc_info): Also print mmapped statistics.
11669
5190c17f
RM
116702014-05-30 Roland McGrath <roland@hack.frob.com>
11671
11672 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11673 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11674
987c0269
OB
116752014-05-30 Ondřej Bílka <neleai@seznam.cz>
11676
11677 * malloc/malloc.c (malloc_info): Inline mi_arena.
11678
af4e8ef9
RH
116792014-05-29 Richard Henderson <rth@twiddle.net>
11680
1670e207
RH
11681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11682 Remove comma before expanding ASM_ARGS_##nr.
11683 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11684 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11685 of ASM_ARGS_##nr.
11686 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11687 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11688 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11689 (ASM_ARGS_1): Add leading comma.
11690
11a28aee
RH
11691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11692 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11693 to __errno_location.
11694 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11695 Remove the expected plt for __errno_location.
11696
a17e5ffb 11697 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11698 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11699 call to __read_tp.
11700
b5be4597
RH
11701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11702 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11703 it and break it down.
11704 (DOCARGS_0, DOCARGS_1): Do nothing.
11705 (DOCARGS_2): Update to store into the new stack frame.
11706 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11707 (UNDOCARGS_1): Update to restore from the new stack frame.
11708 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11709 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11710
645d44ab
RH
11711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11712 (SINGLE_THREAD_P): New parameter for result regno.
11713 (PSEUDO): Update to match; use cbz instead of beq.
11714
a8b4f04a
RH
11715 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11716 Use ENTRY to define the _nocancel entry point. Share the syscall
11717 and syscall error check paths with the cancel path.
11718 (PSEUDO_END): New.
11719
af4e8ef9
RH
11720 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11721 whitespace; tabs before and after asm mnemonics.
11722
26b0d2e1
EW
117232014-05-29 Eric Wong <normalperson@yhbt.net>
11724
11725 [BZ #15132]
11726 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11727 Call fstat64 or stat64 internally, depending on arguments passed.
11728 Replace stat buffer argument with file descriptor argument.
11729 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11730 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11731 Pass fd to __internal_statvfs instead of calling fstat64.
11732 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11733 Pass fd to __internal_statvfs64 instead of calling fstat64.
11734 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11735 Pass -1 to __internal_statvfs instead of calling stat64.
11736 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11737 Pass -1 to __internal_statvfs64 instead of calling stat64.
11738
1efe2bd9
RM
117392014-05-28 Roland McGrath <roland@hack.frob.com>
11740
0d3b7a19
RM
11741 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11742 that was previously under [RESET_PID].
11743 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11744
1efe2bd9
RM
11745 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11746 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11747
a6bea3ca
RM
117482014-05-27 Roland McGrath <roland@hack.frob.com>
11749
30b6629e
RM
11750 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11751
a6bea3ca
RM
11752 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11753 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11754
3dfb9a5c
OB
117552014-05-27 Ondřej Bílka <neleai@seznam.cz>
11756
11757 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11758
774f9285
AS
117592014-05-27 Andreas Schwab <schwab@suse.de>
11760
11761 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11762 TLS_INIT_TP macro.
11763 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11764 * elf/rtld.c (init_tls, dl_main): Likewise.
11765 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11766 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11767 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11768 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11769 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11770 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11771 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11772 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11773 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11774 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11775 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11776 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11777 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11778 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11779 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11780 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11781 * sysdeps/generic/tls.h: Update description.
11782
36ffe739
WN
117832014-05-27 Will Newton <will.newton@linaro.org>
11784
11785 [BZ #16990]
11786 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11787 and restore r2 rather than just restoring.
11788
2482ae43
SP
117892014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11790
11791 [BZ #16724]
11792 * libio/tst-ftell-append.c: New test case.
11793 * libio/Makefile (tests): Add test case.
11794 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11795 append mode.
11796 * libio/wfileops.c (do_ftell_wide): Likewise.
11797
3d1024e8
AZ
117982014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11799
bab90016
AZ
11800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11801
c7a8d667
AZ
11802 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11803 ...
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11806 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11807 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11809 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11811 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11815 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11816 Moved ...
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11819 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11820 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11821 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11822 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11823 ...
11824 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11825 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11826 Moved ...
11827 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11828 here.
11829 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11830 ...
11831 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11833 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11834
daee7851
AZ
11835 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11836 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11838 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11839
50a40819
AZ
11840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11841 merge into ...
11842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11844 ...
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11847 ...
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11850 Moved ...
11851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11852 here.
11853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11854 Moved ...
11855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11857 Moved ...
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11859
8464c2a1
AZ
11860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11861 conditional [RESET_PID].
11862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11864 removed.
11865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11866 removed.
11867
3d1024e8
AZ
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11869 <tcb-offsets.h>.
11870 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11871 (__libc_vfork): New strong alias.
11872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11873 removed.
11874 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11875 Removed.
11876
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11878 <tcb-offsets.h>.
11879 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11880 (__libc_vfork): New strong alias.
11881 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11882 removed.
11883 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11884 removed.
11885
fdfd175d
CD
118862014-05-26 Carlos O'Donell <carlos@redhat.com>
11887
11888 * malloc/malloc.c (mi_arena): New function.
11889 (malloc_info): Remove nested function mi_arena. Call non-nosted
11890 function mi_arena.
11891
d298c416
AZ
118922014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11893
11894 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11895 by insrwi.
11896 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11897 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11898 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11899 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11900 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11901 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11902 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11903
b60ea6ff
AS
119042014-05-26 Andreas Schwab <schwab@suse.de>
11905
11906 [BZ #16984]
11907 * locale/programs/repertoire.c (repertoire_read): Add slash
11908 between I18NPATH element and file name.
11909 * locale/programs/locfile.c (locfile_read): Likewise.
11910
67365926
SL
119112014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11912
11913 * nptl/pthread_mutexattr_settype.c
11914 (__pthread_mutexattr_settype):
11915 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11916
f8bdf1f0
SL
119172014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11918
11919 * nptl/tst-mutex5 (do_test):
11920 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11921
15eaf6ff
SP
119222014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11923
11924 * benchtests/README: Document 'init' directive.
11925 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11926 BENCH_INIT.
11927 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11928 (parse_file): Recognize 'init' directive.
11929
75f11331
KM
119302014-05-26 Kyle McMartin <kyle@redhat.com>
11931
11932 [BZ #16796]
11933 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11934 alignment of struct pthread.
11935
c3ec475c
SP
119362014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11937
11938 [BZ #16878]
11939 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11940 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11941 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11942 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11943
82aab97c
RH
119442014-05-25 Richard Henderson <rth@twiddle.net>
11945
aa2f176d
RH
11946 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11947 (SINGLE_THREAD_P_PIC): Remove.
11948 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11949 (SINGLE_THREAD_P_PIC): Remove.
11950
ca3cfa40
RH
11951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11952 branch to syscall error ...
11953 (PSEUDO): ... here.
11954 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11955 from __local_syscall_error to .Lsyscall_error.
11956 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11957 (SYSCALL_ERROR): Update label name.
11958
6e6c2d01
RH
11959 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11960 Do not use DOARGS/UNDOARGS.
11961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11962 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11963 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11964 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11965 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11966
c69abcee
RH
11967 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11968 block comment.
11969
82aab97c
RH
11970 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11971 define if !NOT_IN_libc.
11972 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11973 define with non-default symbol versions.
11974
8820e3ac
RH
119752014-05-23 Richard Henderson <rth@twiddle.net>
11976
900e445f
RH
11977 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11978 (vfork, __vfork): Define via compat_symbol.
11979
8820e3ac
RH
11980 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11981 [!HAVE_IFUNC] (vfork_compat): Remove.
11982 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11983
e59252a5
JM
119842014-05-23 Joseph Myers <joseph@codesourcery.com>
11985
11986 [BZ #16978]
11987 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11988 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11989 variable.
11990
132c7f5f
RH
119912014-05-23 Richard Henderson <rth@twiddle.net>
11992
bc89e962
RH
11993 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11994 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11995 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11996 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11997
11998 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11999 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12000 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12001 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12002 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12003 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12004 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12005 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12006 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12007 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12008 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12009 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12010 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12011 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12012 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12013 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12014 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12015 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12016 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12017 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12019 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12020 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12021 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12022 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12023 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12024 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12025 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12026 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12027 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12028 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12029 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12030 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12031 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12032 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12033 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12035 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12037 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12038 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12039 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12040 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12041 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12042 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12043 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12044 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12045 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12046 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12047 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12048 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12049 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12050 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12051 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12052 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12053 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12054
e2fa4bc2
RH
12055 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12056 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12057 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12058 before exiting on error.
12059 (__libc_vfork): New strong alias.
12060 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12061 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12062
279b24e2
RH
12063 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12064 that was previously under [RESET_PID].
12065 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12066
132c7f5f
RH
12067 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12068
b72592e7
JM
120692014-05-23 Joseph Myers <joseph@codesourcery.com>
12070
12071 [BZ #16977]
12072 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12073 value when x - 1 is zero.
12074 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12075 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12076 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12077 0.0L for an argument of 1.0L.
12078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12079 Likewise.
12080 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12081 value when x - 1 is zero.
12082 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12083 * sysdeps/i386/fpu/libm-test-ulps: Update.
12084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12085
2302d679
RV
120862014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12087
12088 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12089 alphasort and versionsort.
12090
32999d63
AZ
120912014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12092
12093 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12094 macro.
12095 [copysignf]: Likewise.
12096
019324d0
SP
120972014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12098
12099 * crypt/md5-crypt.c: Fix formatting.
12100
34fff5c2
KS
121012014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12102
12103 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12104 (b64_from_24bit): New function.
12105
3d2badac
AZ
121062014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12107
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12109 libc_hidden_builtin_def to ifunc.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12111 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12112
f7bb179f 121132014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12114
12115 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12116 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12117
4134b50d
JM
121182014-05-21 Joseph Myers <joseph@codesourcery.com>
12119
bb7d0337
JM
12120 * nscd/Depend (linuxthreads): Remove.
12121 (nptl): Add.
12122 * resolv/Depend (linuxthreads): Remove.
12123 * rt/Depend (linuxthreads): Remove.
12124
4134b50d
JM
12125 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12126 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12127 $(common-objpfx)elf/.
12128 (link-libc-before-gnulib): Likewise.
12129 (elfobjdir): Remove variable.
12130 * Makefile (install): Use $(elf-objpfx) instead of
12131 $(common-objpfx)elf/.
12132 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12133 $(elfobjdir)/.
12134 (link-libc-deps): Likewise.
12135 ($(common-objpfx)libc.so): Likewise.
12136 ($(common-objpfx)linkobj/libc.so): Likewise.
12137 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12138 instead of $(common-objpfx)elf/.
12139 (symbolic-link-list): Likewise.
12140 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12141 [$(cross-compiling) = no]: Likewise.
12142 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12143 $(elfobjdir)/.
12144 (static-gnulib-arch): Likewise.
12145 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12146 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12147 $(common-objpfx)elf/.
12148
3612eb8f
RH
121492014-05-21 Richard Henderson <rth@redhat.com>
12150
a6b3657b
RH
12151 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12152 (SINGLE_THREAD_P): Use the correct width load. Fold
12153 into the ldr offset.
12154
3612eb8f
RH
12155 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12156 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12157
175cef41
JM
121582014-05-20 Joseph Myers <joseph@codesourcery.com>
12159
12160 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12161 (libgcc_s_resume): Use __attribute_used__.
12162 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12163 Likewise.
12164
e13bccd3
AZ
121652014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12166
12167 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12168 optimization when used with float constants.
12169
7c112a38
AZ
12170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12171
ae75a883
AJ
121722014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12173
12174 [BZ #16915]
12175 * locale/nl_langinfo_l.c: Make direct reference to every
12176 _nl_current_CATEGORY symbol.
12177 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12178 (tests-static): Add tst-langinfo-static.
12179 (tests-special): Add tst-langinfo-static.out.
12180 ($(objpfx)tst-langinfo.out): Redirect output.
12181 ($(objpfx)tst-langinfo-static.out): New.
12182 * localedata/tst-langinfo.sh: Send output to stdout.
12183 * localedata/tst-langinfo-static.c: New file.
12184
4406c41c
AJ
12185 [BZ #16965]
12186 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12187 when the shift amount is modulo the limb size.
12188
4c0a1e63
RH
121892014-05-20 Richard Henderson <rth@redhat.com>
12190
de9d8f20
RH
12191 [BZ #16967]
12192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12193 Change type of sa_flags from unsigned int to int.
12194
4c0a1e63
RH
12195 [BZ #16966]
12196 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12197
12198 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12199
a60339aa
WN
122002014-05-20 Will Newton <will.newton@linaro.org>
12201
12202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12203 Test the return value of the system call in the nocancel case.
12204
7d05a816
YR
122052014-05-20 Will Newton <will.newton@linaro.org>
12206 Yvan Roux <yvan.roux@linaro.org>
12207
12208 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12209 #include of asm/ptrace.h.
12210 (PTRACE_GET_THREAD_AREA): Remove #undef.
12211 (PTRACE_GETHBPREGS): Likewise.
12212 (PTRACE_SETHBPREGS): Likewise.
12213 (struct user_regs_struct): New structure.
12214 (struct user_fpsimd_struct): New structure.
12215 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12216 #include of asm/ptrace.h and second #include of sys/user.h.
12217 (PTRACE_GET_THREAD_AREA): Remove #undef.
12218 (PTRACE_GETHBPREGS): Likewise.
12219 (PTRACE_SETHBPREGS): Likewise.
12220 (ELF_NGREG): Use new struct user_regs_struct.
12221 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12222
af121e37
AZ
122232014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12224
12225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12227
834caf06
JM
122282014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12229
12230 [BZ #16958]
12231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12232 membar to avoid block loads/stores to overlap previous stores.
12233
e184a918
RH
122342014-05-17 Richard Henderson <rth@redhat.com>
12235
12236 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12237 Create the __##syscall_name##_nocancel entry point.
12238 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12239 Remove; let the sysdep-cancel.h code create it.
12240
f56c7a6a
DM
122412014-05-17 David S. Miller <davem@davemloft.net>
12242
12243 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12244 Protect with __USE_GNU.
12245 (TIOCSET_TEMPT): Likewise.
12246 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12247 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12248 these are already provided in bits/ioctl-types.h
12249
f75616b2
RM
122502014-05-16 Roland McGrath <roland@hack.frob.com>
12251
3edeca86
RM
12252 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12253 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12254
f75616b2
RM
12255 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12256 Use wait4 regardless of [__NR_waitpid].
12257
deb0f7f6
MR
122582014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12259
12260 PR libgcc/60166
12261 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12262 (_FP_NANSIGN_Q): Set the quiet bit.
12263
79520f4b
JM
122642014-05-16 Joseph Myers <joseph@codesourcery.com>
12265
12266 * benchtests/Makefile
12267 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12268 not $(common-objpfx)math/libm.so.
12269 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12270 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12271 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12272 $(common-objpfx)dlfcn/libdl.so.
12273 ($(objpfx)tst-audit8): Depend on $(libm), not
12274 $(common-objpfx)math/libm.so.
12275 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12276 not $(common-objpfx)dlfcn/libdl.so.
12277 * math/Makefile
12278 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12279 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12280 [$(build-shared) = yes].
12281 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12282 $(common-objpfx)nptl/libpthread.so.
12283 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12284 $(common-objpfx)math/libm.so$(libm.so-version) or
12285 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12286 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12287 $(common-objpfx)dlfcn/libdl.so.
12288 * setjmp/Makefile (link-libm): Remove variable.
12289 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12290 * stdio-common/Makefile (link-libm): Remove variable.
12291 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12292 * stdlib/Makefile (link-libm): Remove variable.
12293 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12294 ($(objpfx)tst-strtod-round): Likewise.
12295 ($(objpfx)tst-tininess): Likewise.
12296 ($(objpfx)tst-strtod-underflow): Likewise.
12297 ($(objpfx)tst-strtod6): Likewise.
12298 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12299 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12300 $(common-objpfx)dlfcn/libdl.so.
12301
026b0fe4
AZ
123022014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12303
12304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12305 BSD terminal modes definitions.
12306
def4bcb2
RM
123072014-05-16 Roland McGrath <roland@hack.frob.com>
12308
fe39b021
RM
12309 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12310 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12311
1d1fc46e 12312 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12313 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12314 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12315 Don't do #include_next.
12316 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12317 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12318 Don't do #include_next.
12319 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12320 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12321 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12322 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12323
c72399fb
AM
123242014-05-16 Allan McRae <allan@archlinux.org>
12325
d51d659d
AM
12326 * po/sv.po: Update Swedish translation from translation project.
12327
c72399fb
AM
12328 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12329 in sed expression.
12330
d0583c40
AJ
123312014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12332
12333 [BZ #16917]
12334 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12335 errno if the TIOCGPTN ioctl fails with an error different than
12336 EINVAL.
12337 * login/tst-ptsname.c: New file.
12338 * login/Makefile (tests): Add tst-ptsname.
12339
d16e6ec7
AJ
12340 [BZ #16943]
12341 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12342 and prlimit64.
12343
cf26a0cb
SP
123442014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12345
12346 [BZ #16849]
12347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12348 herrno to return EAI_AGAIN.
12349
5675da1e
RM
123502014-05-14 Roland McGrath <roland@hack.frob.com>
12351
a5d87b3d
RM
12352 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12353 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12354 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12355 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12356 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12357 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12358 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12359 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12361 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12363 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12364 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12365 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12366 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12367 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12371 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12372 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12373 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12374 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12375 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12376 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12377 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12378 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12379 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12380 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12381 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12383 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12385 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12387 Moved ...
12388 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12390 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12392 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12394 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12396 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12398 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12400 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12402 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12404 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12406 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12408 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12410 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12412 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12416 Moved ...
12417 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12419 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12421 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12423 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12425 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12427 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12429 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12431 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12433 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12437 Moved ...
12438 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12441
039890a6
RM
12442 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12443 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12444 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12445 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12446 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12448 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12450 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12452 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12453 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12454 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12455 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12456 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12458 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12460 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12462 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12464 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12465 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12466 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12467 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12468 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12470 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12472 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12473
65c89320
RM
12474 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12475 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12476
348f8e8c
RM
12477 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12478 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12479 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12480 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12481 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12483 Moved ...
12484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12485 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12486 Moved ...
12487 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12489 Moved ...
12490 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12492 Moved ...
12493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12495 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12497 Moved ...
12498 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12500 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12502 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12503 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12504 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12505 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12506 Moved ...
12507 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12509 Moved ...
12510 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12511 ... here.
12512 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12513 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12514 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12515 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12517 Moved ...
12518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12519 ... here.
12520 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12521 Moved ...
12522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12524 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12525 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12526 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12528 Moved ...
12529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12530 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12531 Moved ...
12532 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12534 Moved ...
12535 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12537 Moved ...
12538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12539 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12540 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12542 Moved ...
12543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12544 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12545 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12547 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12548 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12549 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12550 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12551 Moved ...
12552 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12554 Moved ...
12555 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12556 ... here.
12557 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12558 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12559 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12560 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12561 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12562 Moved ...
12563 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12564 ... here.
12565 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12566 Moved ...
12567 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12568 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12569 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12570 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12571 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12572 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12573 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12574 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12575 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12577 Moved ...
12578 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12580 Moved ...
12581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12582 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12583 Moved ...
12584 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12585 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12586 Moved ...
12587 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12588 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12589 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12590 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12591 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12593 Moved ...
12594 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12595 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12596 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12597 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12598 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12599 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12600 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12601 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12602 Moved ...
12603 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12604 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12605 Moved ...
12606 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12607 ... here.
12608 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12609 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12610 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12611 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12612 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12613 Moved ...
12614 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12615 ... here.
12616 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12617 Moved ...
12618 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12620 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12622 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12623 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12624 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12625 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12626 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12627 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12628 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12629
5085af05
RM
12630 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12631 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12632
708f0813
RM
12633 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12634 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12635
c96067bc
RM
12636 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12637 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12638 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12639 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12640 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12641 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12642 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12643 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12644 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12646 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12647 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12649 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12650 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12651 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12652 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12654 Moved ...
12655 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12657 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12659 Moved ...
12660 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12662 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12664 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12666 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12667 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12668 Moved ...
12669 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12670 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12671 Moved ...
12672 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12674 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12678 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12679 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12680 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12681 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12682 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12683 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12684 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12685 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12686 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12687 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12688 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12689
ec136444
RM
12690 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12691 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12692 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12693 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12694 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12695
2fbdf533
RM
12696 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12697 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12698 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12699 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12700 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12701 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12702 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12703 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12704 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12705 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12706
4c68138b
RM
12707 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12708 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12709
4eaae765
RM
12710 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12711 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12712 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12713 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12714 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12715 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12716 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12717 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12718 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12719 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12720 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12721 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12722 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12723 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12725 Update #include.
12726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12727 Likewise.
12728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12729 Likewise.
12730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12731 Likewise.
12732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12733 Likewise.
12734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12735 Likewise.
12736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12737 Likewise.
12738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12739 Likewise.
12740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12741 Likewise.
12742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12743 Likewise.
4ef6befa
RM
12744 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12745 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12747 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12748 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12749 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12750 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12752 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12754 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12755 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12756 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12757 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12758 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12759
941d7dfd
RM
12760 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12761 that was previously under [RESET_PID].
12762 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12763 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12764 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12765
1b731c35
RM
12766 * sysdeps/i386/nptl/Implies: New file.
12767 * sysdeps/x86_64/nptl/Implies: New file.
12768 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12769 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12770 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12771 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12772
e2787137
RM
12773 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12774 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12775 (__libc_vfork): New strong alias.
12776 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12777 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12778
12779 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12780 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12781 (__libc_vfork): New strong alias.
12782 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12783 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12784
5675da1e
RM
12785 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12786 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12787 (__libc_vfork): New strong alias.
12788 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12789 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12790 * nptl/pt-vfork.c: New file.
12791 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12792 (libpthread: GLIBC_2.20): New version set (empty).
12793
4f02e2b8
WN
127942014-05-14 Will Newton <will.newton@linaro.org>
12795
12796 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12797 rather than #if.
12798
0bf061d3
JM
127992014-05-14 Joseph Myers <joseph@codesourcery.com>
12800
1a84c3d6
JM
12801 [BZ #16564]
12802 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12803 arguments with exponent 65 or above.
12804 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12805 arguments 0x1p113L or above.
12806 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12807 to arguments 0x1p107L or above.
12808 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12809 positive arguments with exponent 65 or above.
12810 * math/auto-libm-test-in: Add more tests of log1p.
12811 * math/auto-libm-test-out: Regenerated.
12812
01dbacd2
JM
12813 [BZ #16928]
12814 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12815 non-finite arguments is +0.
12816 * math/s_cacosf.c (__cacosf): Likewise.
12817 * math/s_cacosl.c (__cacosl): Likewise.
12818 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12819 * sysdeps/i386/fpu/libm-test-ulps: Update.
12820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12821
913d03c8
JM
12822 [BZ #16927]
12823 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12824 value.
12825 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12826 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12827 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12828 for explicit high bit of mantissa when testing for argument equal
12829 to 1.
12830 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12831 * sysdeps/i386/fpu/libm-test-ulps: Update.
12832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12833
0bf061d3
JM
12834 [BZ #16516]
12835 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12836 (__erf): Scale by 16 instead of 8 in potentially underflowing
12837 case. Ensure exception if result actually underflows.
12838 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12839 (__erff): Scale by 16 instead of 8 in potentially underflowing
12840 case. Ensure exception if result actually underflows.
12841 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12842 (efx8): Remove variable.
12843 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12844 case. Ensure exception if result actually underflows.
12845 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12846 (efx8): Remove variable.
12847 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12848 case. Ensure exception if result actually underflows.
12849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12850 (efx8): Remove variable.
12851 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12852 case. Ensure exception if result actually underflows.
12853 * math/auto-libm-test-in: Add more tests of erf.
12854 * math/auto-libm-test-out: Regenerated.
12855
73ba67cb
AS
128562014-05-14 Andreas Schwab <schwab@suse.de>
12857
3d8c8bff
AS
12858 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12859 Remove code conditionalized on USE___THREAD.
12860
73ba67cb
AS
12861 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12862 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12863 not definedness.
12864
5c521ecd
JM
128652014-05-14 Joseph Myers <joseph@codesourcery.com>
12866
5e7698c6
JM
12867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12868 Define unconditionally.
12869 (__ASSUME_O_CLOEXEC): Likewise.
12870 (__ASSUME_SOCK_CLOEXEC): Likewise.
12871 (__ASSUME_IN_NONBLOCK): Likewise.
12872 (__ASSUME_PIPE2): Likewise.
12873 (__ASSUME_EVENTFD2): Likewise.
12874 (__ASSUME_SIGNALFD4): Likewise.
12875 (__ASSUME_DUP3): Likewise.
12876 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12877 (__ASSUME_DUP3): Do not define.
12878 (__ASSUME_EVENTFD2): Likewise.
12879 (__ASSUME_IN_NONBLOCK): Likewise.
12880 (__ASSUME_O_CLOEXEC): Likewise.
12881 (__ASSUME_PIPE2): Likewise.
12882 (__ASSUME_SIGNALFD4): Likewise.
12883 (__ASSUME_SOCK_CLOEXEC): Likewise.
12884 (__ASSUME_UTIMES): Undefine.
12885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12886 (__ASSUME_UTIMES): Do not define.
12887 (__ASSUME_O_CLOEXEC): Likewise.
12888 (__ASSUME_SOCK_CLOEXEC): Likewise.
12889 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12890 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12891 0x020621].
12892 (__ASSUME_PIPE2): Likewise.
12893 (__ASSUME_EVENTFD2): Likewise.
12894 (__ASSUME_SIGNALFD4): Likewise.
12895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12896 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12897 Do not define.
12898 (__ASSUME_EVENTFD2): Likewise.
12899 (__ASSUME_SIGNALFD4): Likewise.
12900 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12901 (__ASSUME_32BITUIDS): Likewise.
12902 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12903 (__ASSUME_IPC64): Likewise.
12904 (__ASSUME_ST_INO_64_BIT): Likewise.
12905 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12906 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12907 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12908 (__ASSUME_UTIMES): Do not define.
12909 (__ASSUME_PSELECT): Likewise.
12910 (__ASSUME_PPOLL): Likewise.
12911 (__ASSUME_O_CLOEXEC): Likewise.
12912 (__ASSUME_SOCK_CLOEXEC): Likewise.
12913 (__ASSUME_IN_NONBLOCK): Likewise.
12914 (__ASSUME_PIPE2): Likewise.
12915 (__ASSUME_EVENTFD2): Likewise.
12916 (__ASSUME_SIGNALFD4): Likewise.
12917 (__ASSUME_DUP3): Likewise.
12918 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12919 (__ASSUME_UTIMES): Likewise.
12920 (__ASSUME_O_CLOEXEC): Likewise.
12921 (__ASSUME_SOCK_CLOEXEC): Likewise.
12922 (__ASSUME_IN_NONBLOCK): Likewise.
12923 (__ASSUME_PIPE2): Likewise.
12924 (__ASSUME_EVENTFD2): Likewise.
12925 (__ASSUME_SIGNALFD4): Likewise.
12926 (__ASSUME_DUP3): Likewise.
12927 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12928 (__ASSUME_UTIMES): Likewise.
12929 (__ASSUME_O_CLOEXEC): Likewise.
12930 (__ASSUME_SOCK_CLOEXEC): Likewise.
12931 (__ASSUME_IN_NONBLOCK): Likewise.
12932 (__ASSUME_PIPE2): Likewise.
12933 (__ASSUME_EVENTFD2): Likewise.
12934 (__ASSUME_SIGNALFD4): Likewise.
12935 (__ASSUME_DUP3): Likewise.
12936 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12937 Likewise.
12938 (__ASSUME_UTIMES): Likewise.
12939 (__ASSUME_EVENTFD2): Likewise.
12940 (__ASSUME_SIGNALFD4): Likewise.
12941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12942 (__ASSUME_O_CLOEXEC): Likewise.
12943 (__ASSUME_SOCK_CLOEXEC): Likewise.
12944 (__ASSUME_IN_NONBLOCK): Likewise.
12945 (__ASSUME_PIPE2): Likewise.
12946 (__ASSUME_EVENTFD2): Likewise.
12947 (__ASSUME_SIGNALFD4): Likewise.
12948 (__ASSUME_DUP3): Likewise.
12949 (__ASSUME_UTIMES): Undefine.
12950
5c521ecd
JM
12951 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12952 feclearexcept. Remove symbol versioning code.
12953 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12954 symbol versioning code.
12955 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12956 symbol versioning code.
12957 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12958 feupdateenv. Remove symbol versioning code.
12959 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12960 fegetexceptflag. Remove symbol versioning code.
12961 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12962 fesetexceptflag. Remove symbol versioning code.
12963 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12964 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12965 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12966 (__posix_fadvise64_l32): Remove prototype.
12967 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12968 code.
12969
5da9dfad
RM
129702014-05-13 Roland McGrath <roland@hack.frob.com>
12971
12972 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12973 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12974 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12975 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12976
893b4f37
SK
129772014-05-13 Sami Kerola <kerolasa@iki.fi>
12978
12979 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12980 current working directory
12981
e0db6517
RM
129822014-05-13 Roland McGrath <roland@hack.frob.com>
12983
58aa195d
RM
12984 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12985 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12986 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12987 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12988 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12989 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12990 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12991 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12993 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12994 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12995 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12996 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12997 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12998 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12999 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13000 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13001 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13002 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13003 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13004 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13005 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13006 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13007 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13008 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13009 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13010 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13011 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13013 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13014 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13015 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13016 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13017 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13018 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13019 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13020 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13021 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13022 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13023 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13024 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13025 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13026
8c6d01f0
RM
13027 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13028 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13029
13030 * sysdeps/unix/sysv/linux/arm/Makefile
13031 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13032 Add rt-aeabi_unwind_cpp_pr1.
13033 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13034 Add nptl-aeabi_unwind_cpp_pr1.
13035 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13036 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13037 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13038 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13039 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13040 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13041
13042 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13043 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13044 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13045 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13046
bba6da4e
RM
13047 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13048 Deconditionalize the code that was previously under [RESET_PID].
13049 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13050
e0db6517
RM
13051 * sysdeps/generic/exit-thread.h: New file.
13052 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13053 * include/unistd.h (__exit_thread): Remove declaration.
13054 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13055 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13056 * csu/libc-start.c: Include <exit-thread.h>.
13057 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13058 * nptl/pthread_create.c: Include <exit-thread.h>.
13059 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13060 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13061 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13062 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13063 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13064 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13065 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13066 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13067 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13068 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13069 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13070 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13071 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13072 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13073 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13074 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13075 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13076
01eb16fd
AS
130772014-05-13 Andreas Schwab <schwab@suse.de>
13078
13079 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13080
637461d9
JM
130812014-05-12 Joseph Myers <joseph@codesourcery.com>
13082
13083 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13084 (__ASSUME_UTIMES): Do not condition on kernel version.
13085 (__ASSUME_PSELECT): Define unconditionally.
13086 (__ASSUME_PPOLL): Likewise.
13087 (__ASSUME_ATFCTS): Likewise.
13088 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13089 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13090 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13091 (__ASSUME_UTIMENSAT): Define unconditionally.
13092 (__ASSUME_PRIVATE_FUTEX): Likewise.
13093 (__ASSUME_FALLOCATE): Likewise.
13094 (__ASSUME_O_CLOEXEC): Likewise.
13095 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13096 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13097 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13098 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13099 (__ASSUME_IN_NONBLOCK): Likewise.
13100 (__ASSUME_PIPE2): Likewise.
13101 (__ASSUME_EVENTFD2): Likewise.
13102 (__ASSUME_SIGNALFD4): Likewise.
13103 (__ASSUME_DUP3): Likewise.
13104 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13105 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13106 (__ASSUME_AT_RANDOM): Likewise.
13107 (__ASSUME_PREADV): Likewise.
13108 (__ASSUME_PWRITEV): Likewise.
13109 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13110 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13111 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13112 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13113 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13114 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13115 (__ASSUME_O_CLOEXEC): Define unconditionally.
13116 (__ASSUME_PSELECT): Do not undefine conditionally.
13117 (__ASSUME_PPOLL): Likewise.
13118 (__ASSUME_ATFCTS): Likewise.
13119 (__ASSUME_SET_ROBUST_LIST): Likewise.
13120 (__ASSUME_UTIMENSAT): Likewise.
13121 (__ASSUME_FDATASYNC): Define unconditionally.
13122 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13123 (__ASSUME_SIGFRAME_V2): Likewise.
13124 )__ASSUME_EVENTFD2): Likewise.
13125 (__ASSUME_SIGNALFD4): Likewise.
13126 (__ASSUME_PSELECT): Do not undefine conditionally.
13127 (__ASSUME_PPOLL): Likewise.
13128 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13129 (__ASSUME_PSELECT): Define unconditionally.
13130 (__ASSUME_PPOLL): Likewise.
13131 (__ASSUME_O_CLOEXEC): Likewise.
13132 (__ASSUME_SOCK_CLOEXEC): Likewise.
13133 (__ASSUME_IN_NONBLOCK): Likewise.
13134 (__ASSUME_PIPE2): Likewise.
13135 (__ASSUME_EVENTFD2): Likewise.
13136 (__ASSUME_SIGNALFD4): Likewise.
13137 (__ASSUME_DUP3): Likewise.
13138 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13139 (__ASSUME_O_CLOEXEC): Likewise.
13140 (__ASSUME_SOCK_CLOEXEC): Likewise.
13141 (__ASSUME_IN_NONBLOCK): Likewise.
13142 (__ASSUME_PIPE2): Likewise.
13143 (__ASSUME_EVENTFD2): Likewise.
13144 (__ASSUME_SIGNALFD4): Likewise.
13145 (__ASSUME_DUP3): Likewise.
13146 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13147 (__ASSUME_EVENTFD2): Likewise.
13148 (__ASSUME_SIGNALFD4): Likewise.
13149 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13150
315eb1d8
AS
131512014-05-12 Andreas Schwab <schwab@suse.de>
13152
13153 [BZ #16932]
13154 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13155 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13156 than maximum RPC packet size.
13157 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13158 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13159 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13160 (_nss_nis_getservbyport_r): Likewise.
13161
91df99f7
WN
131622014-05-12 Will Newton <will.newton@linaro.org>
13163
13164 * malloc/Makefile (tests): Add tst-mallopt.
13165 * malloc/tst-mallopt.c: New file.
13166
0a982a29
RM
131672014-05-09 Roland McGrath <roland@hack.frob.com>
13168
13169 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13170 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13171
0ded08a5
AZ
131722014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13173
13174 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13175 (tst-tlsmod6.so): Likewise.
13176
55d4d550
RM
131772014-05-09 Roland McGrath <roland@hack.frob.com>
13178
13179 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13180
77d08aca
JM
131812014-05-09 Joseph Myers <joseph@codesourcery.com>
13182
13183 [BZ #16064]
13184 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13185 and <dl-procinfo.h>.
13186 (__fegetenv): Save SSE state in envp->__eip if supported.
13187 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13188 envp->__eip if supported.
13189 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13190 and <dl-procinfo.h>.
13191 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13192 __data_offset and __data_selector in environment to 0. Set SSE
13193 state if supported.
13194 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13195 test-fenv-sse.
13196 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13197 -mfpmath=sse.
13198 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13199
28162f4d
WN
132002014-05-09 Will Newton <will.newton@linaro.org>
13201
13202 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13203 and libc_relro_required for ARM.
13204 * sysdeps/arm/preconfigure: Regenerate.
13205
5a414ff7
DV
132062014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13207 Stefan Liebler <stli@linux.vnet.ibm.com>
13208
13209 * config.make.in (enable-lock-elision): New Makefile variable.
13210 * configure.ac: Likewise.
13211 * configure: Regenerate.
13212 * sysdeps/s390/configure.ac:
13213 Add check for gcc transactions support.
13214 * sysdeps/s390/configure: Regenerate.
13215 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13216 Build elision files if enabled.
13217 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13218 Add lock elision support for s390.
13219 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13220 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13221 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13222 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13223 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13224 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13225 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13226 Likewise.
13227 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13228 Likewise.
13229 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13230 Likewise.
13231 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13232 Likewise.
13233 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13234 (__lll_timedlock_elision, __lll_lock_elision)
13235 (__lll_unlock_elision, __lll_trylock_elision)
13236 (lll_timedlock_elision, lll_lock_elision)
13237 (lll_unlock_elision, lll_trylock_elision): Add.
13238 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13239 (pthread_mutex_t): Add lock elision support for s390.
13240
1a2f40e5
W
132412014-05-14 Wilco <wdijkstr@arm.com>
13242
13243 * sysdeps/arm/fclrexcpt.c: Cleanup.
13244 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13245 * sysdeps/arm/feenablxcpt.c: Cleanup.
13246 * sysdeps/arm/fegetenv.c: Cleanup.
13247 * sysdeps/arm/fegetexcept.c: Cleanup.
13248 * sysdeps/arm/fegetround.c: Cleanup.
13249 * sysdeps/arm/feholdexcpt.c: Cleanup.
13250 * sysdeps/arm/fesetenv.c: Cleanup.
13251 * sysdeps/arm/fesetround.c: Cleanup.
13252 * sysdeps/arm/feupdateenv.c: Cleanup.
13253 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13254 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13255 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13256 * sysdeps/arm/ftestexcept.c: Cleanup.
13257 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13258 * sysdeps/arm/setfpucw.c: Cleanup.
13259
f63c86fe
WN
132602014-05-09 Will Newton <will.newton@linaro.org>
13261
13262 * sysdeps/arm/armv7/strcmp.S: New file.
13263 * NEWS: Mention addition of ARMv7 optimized strcmp.
13264
7a1a51b5
RM
132652014-05-08 Roland McGrath <roland@hack.frob.com>
13266
95afbbe5
RM
13267 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13268 look for %.ac rather than %.in.
13269
13270 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13271 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13272 * sysdeps/mach/hurd/configure: Regenerated.
13273 * sysdeps/unix/sysv/linux/configure: Regenerated.
13274
7a1a51b5
RM
13275 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13276
5057ad3b
SE
132772014-05-07 Steve Ellcey <sellcey@mips.com>
13278
13279 [BZ# 16922]
13280 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13281 (LONG_SUB): Ditto.
13282 (PTR_SUB): Ditto.
13283
8dc97517
AS
132842014-05-07 Andreas Schwab <schwab@suse.de>
13285
13286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13287 when skipping over non-matching result from nscd.
13288
ce0c5b8f
OB
132892014-05-07 Ondřej Bílka <neleai@seznam.cz>
13290
13291 [BZ #16876]
13292 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13293
a1189263
OB
13294 [BZ #16877]
13295 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13296 nscd security class.
ce0c5b8f 13297
0f58d252
RM
132982014-05-06 Roland McGrath <roland@hack.frob.com>
13299
13300 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13301 * sysdeps/arm/unwind.h: ... here.
13302
83df9ad0
AJ
133032014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13304
ce0c5b8f
OB
13305 [BZ# 16916]
13306 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13307 Define.
83df9ad0 13308
f360f94a
VR
133092014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13310
13311 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13312 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13313 multiarch strncpy for PPC64.
13314 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13315 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13317 multiarch optimizations.
13318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13319 (__libc_ifunc_impl_list): Likewise.
13320 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13321 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13322 multiarch stpncpy for PPC64.
13323 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13325
978a41c3
AS
133262014-05-06 Andreas Schwab <schwab@suse.de>
13327
13328 [BZ #16912]
13329 * gmon/mcount.c (_MCOUNT_DECL): Use
13330 atomic_compare_and_exchange_bool_acq instead of
13331 catomic_compare_and_exchange_bool_acq.
13332
eb1ed03d
RM
133332014-05-05 Roland McGrath <roland@hack.frob.com>
13334
fe658845
RM
13335 * elf/Makefile (others, install-bin): Remove pldd.
13336 (pldd-modules): Variable removed.
13337 ($(objpfx)pldd): Target removed.
13338 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13339 (others, install-bin): Append pldd here.
13340 ($(objpfx)pldd): New target.
13341
eb1ed03d
RM
13342 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13343 to 0, so the first #if test emitted later doesn't see it undefined.
13344 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13345 * sysdeps/gnu/errlist.c: Regenerated.
13346
19c4bec0
AZ
133472014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13348
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13350 [libc_hidden_builtin_def]: Define to empty value.
13351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13352 [libc_hidden_builtin_def]: Likewise.
13353 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13354 [libc_hidden_builtin_def]: Likewise.
13355 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13356 [libc_hidden_builtin_def]: Likewise.
13357 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13358 __redirect_memcpy and define ifunc as default hidden symbol.
13359 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13360 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13361
7776e669
AC
133622014-05-04 Adam Conrad <adconrad@0c3.net>
13363
13364 * locale/iso-4217.def: Reintroduce XDR currency.
13365
d69aeb12
AM
133662014-05-04 Allan McRae <allan@archlinux.org>
13367
13368 * po/eo.po: Update Esperanto translation from translation project.
13369
8f1df5cf
CD
133702014-05-02 Carlos O'Donell <carlos@redhat.com>
13371
13372 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13373 and FEATURE_INDEX_MAX to 1.
13374 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13375
13e402e7
SE
133762014-05-01 Steve Ellcey <sellcey@mips.com>
13377
13378 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13379 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13380 * iconvdata/big5.c (ONE_DIRECTION): Define.
13381 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13382 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13383 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13384 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13385 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13386 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13387 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13388 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13389 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13390 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13391 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13392 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13393 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13394 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13395 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13396 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13397 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13398 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13399 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13400 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13401 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13402 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13403 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13404 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13405 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13406 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13407 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13408 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13409 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13410 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13411 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13412 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13413 * iconvdata/johab.c (ONE_DIRECTION): Define.
13414 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13415 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13416 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13417 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13418 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13419 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13420 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13421 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13422 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13423 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13424
c727f032
RM
134252014-05-01 Roland McGrath <roland@hack.frob.com>
13426
8f2f08d0
RM
13427 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13428 (_IO_JUMPS_OFFSET): Define to 0.
13429
c727f032
RM
13430 * nptl/sysdeps/pthread/bits/libc-lock.h
13431 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13432 (__libc_lock_define_initialized_recursive): Always define using
13433 initializer. Modern compilers treat uninitialized (implicit zero) and
13434 explicit zero initializers the same (i.e. put the datum in bss).
13435
a849e800
AS
134362014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * nscd/nscd-client.h: Include <string.h>.
13439
5331255b
DM
134402014-05-01 David S. Miller <davem@davemloft.net>
13441
13442 [BZ #16885]
13443 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13444 multiple zero bytes exist at the end of a string.
13445 Reported by Aurelien Jarno <aurelien@aurel32.net>
13446
13447 * string/test-strcmp.c (check): Add explicit test for situations where
13448 there are multiple zero bytes after the first.
13449
4fdfe821
AS
134502014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13451
13452 [BZ #16890]
13453 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13454 when compiling wprintf.
13455 * stdio-common/tstdiomisc.c (t3): New function.
13456 (main): Call it.
13457
0cdddc25
SE
134582014-05-01 Steve Ellcey <sellcey@mips.com>
13459
13460 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13461 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13462 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13463 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13464
6426d77e
SE
134652014-05-01 Steve Ellcey <sellcey@mips.com>
13466
13467 * stdlib/longlong.h: Updated from GCC.
13468
6d96f5e4
WN
134692014-05-01 Will Newton <will.newton@linaro.org>
13470 Bernard Ogden <bernie.ogden@linaro.org>
13471
7470db0c
WN
13472 * NEWS: Update fixed bug list.
13473
6d96f5e4
WN
13474 [BZ #15119]
13475 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13476
211d653c
DM
134772014-04-30 David S. Miller <davem@davemloft.net>
13478
4fa262fa
DM
13479 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13480 (libc_feholdexcept_setround_sparc_ctx): New function.
13481 (libc_fesetenv_sparc_ctx): Likewise.
13482 (libc_feupdateenv_sparc_ctx): Likewise.
13483 (libc_feholdsetround_sparc_ctx): Likewise.
13484 (libc_feholdexcept_setround_ctx): Define.
13485 (libc_feholdexcept_setroundf_ctx): Likewise.
13486 (libc_feholdexcept_setroundl_ctx): Likewise.
13487 (libc_fesetenv_ctx): Likewise.
13488 (libc_fesetenvf_ctx): Likewise.
13489 (libc_fesetenvl_ctx): Likewise.
13490 (libc_feupdateenv_ctx): Likewise.
13491 (libc_feupdateenvf_ctx): Likewise.
13492 (libc_feupdateenvl_ctx): Likewise.
13493 (libc_feresetround_ctx): Likewise.
13494 (libc_feresetroundf_ctx): Likewise.
13495 (libc_feresetroundl_ctx): Likewise.
13496 (libc_feholdsetround_ctx): Likewise.
13497 (libc_feholdsetroundf_ctx): Likewise.
13498 (libc_feholdsetroundl_ctx): Likewise.
13499
1d3d93ef
DM
13500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13501 with __USE_GNU instead of XOPEN cpp guards.
13502
8aa583c3
DM
13503 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13504 0.
13505
211d653c
DM
13506 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13507 with XOPEN cpp guards.
13508
60c8f1f6
JB
135092014-04-30 Julian Brown <julian@codesourcery.com>
13510
13511 [BZ #16888]
13512 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13513 handling.
13514
9a461d46
JM
135152014-04-30 Joseph Myers <joseph@codesourcery.com>
13516
d0f5b3f8
JM
13517 [BZ #9894]
13518 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13519 Change to 2.6.32.
13520 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13521 * sysdeps/unix/sysv/linux/configure: Regenerated.
13522 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13523 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13524 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13525 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13526 * README: Update reference to required Linux kernel version.
13527 * manual/install.texi (Linux): Update reference to required Linux
13528 kernel headers version.
13529 * INSTALL: Regenerated.
13530
9a461d46
JM
13531 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13532 header inclusion.
13533 [POSIX] (limits.h): Likewise.
13534 [POSIX] (math.h): Likewise.
13535 [POSIX] (sys/wait.h): Likewise.
13536 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13537 function.
13538 [POSIX] (stddef.h): Do not allow header inclusion.
13539
1775babf
AZ
135402014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13541
57f41c40 13542 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13543
8f630cca
YY
135442014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13545
13546 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13547 Return immediately after lll_futex_wake.
13548
1cdeb237
SP
135492014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13550
bc8f194c
SP
13551 [BZ #16791]
13552 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13553 structure.
13554 (datahead_init_pos): Call datahead_init_common early.
13555 (datahead_init_neg): Likewise.
13556
1cdeb237
SP
13557 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13558 datahead_init_neg): New functions.
13559 * nscd/aicache.c (addhstaiX): Use them.
13560 * nscd/grpcache.c (cache_addgr): Likewise.
13561 * nscd/hstcache.c (cache_addhst): Likewise.
13562 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13563 * nscd/netgroupcache.c (do_notfound): Likewise.
13564 (addgetnetgrentX): Likewise.
13565 (addinnetgrX): Likewise.
13566 * nscd/pwdcache.c (cache_addpw): Likewise.
13567 * nscd/servicescache.c (cache_addserv): Likewise.
13568
16b293a7
SP
135692014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13570 Atsushi Onoe <atsushi@onoe.org>
13571
13572 [BZ #14308]
13573 [BZ #12994]
13574 [BZ #13651]
13575 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13576 one response is valid.
13577 * resolv/res_send.c (send_dg): Check for validity of other
13578 response if the current response is a referral.
13579
a28a9b94
SE
135802014-04-29 Steve Ellcey <sellcey@mips.com>
13581
13582 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13583
2ca180e9
SL
135842014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13585
13586 [BZ #16823]
13587 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13588 Always divide by positive zero when computing -Inf result.
13589 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13590 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13591
18f2945a
AZ
135922014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13593
13594 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13595 FPSCR if value do not change.
13596 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13597 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13598 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13599 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13600 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13601 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13602 function.
13603
5abebba4
CD
136042014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13605
13606 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13607 * sysdeps/unix/sysv/linux/hppa: Move directory from
13608 ports/systeps/unix/sysv/linux/hppa.
13609 * README: Update listing for hppa-*-linux-gnu.
13610
f7ed60c2
OB
136112014-04-28 Ondřej Bílka <neleai@seznam.cz>
13612
fff763a5
OB
13613 [BZ #16754]
13614 * manual/stdio.texi (Hook functions): Fix types of stream hook
13615 functions.
f7ed60c2
OB
13616 [BZ #16854]
13617 * socket/sys/socket.h: Fix typo in comment.
13618
df639d73
WD
136192014-04-28 Wilco <wdijkstr@arm.com>
13620
f7ed60c2 13621 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13622 * sysdeps/arm/math_private.h: New file.
13623 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13624
48332d82
L
136252014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13626
13627 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13628 with __int128_t.
13629 (La_x86_64_retval): Likewise.
13630
e5e0d9a4
IB
136312014-04-24 Ian Bolton <ian.bolton@arm.com>
13632
13633 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13634 fpsr if value didn't change.
13635 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13636 to fpcr if value didn't change.
13637 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13638 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13639 fpsr or fpcr if value didn't change.
13640 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13641 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13642 fpcr if value didn't change.
13643 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13644 to fpsr if value didn't change.
13645
bacc75f7
SP
136462014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13647
13648 * nptl/tst-sem3.c: Use test-skeleton.c
13649 (main): Rename to do_test. Use return instead of
13650 exit.
13651 * nptl/tst-sem4.c: Use test-skeleton.c
13652 (main): Rename to do_test.
13653
a059d359
DM
136542014-04-22 David S. Miller <davem@davemloft.net>
13655
13656 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13657 (struct sigaction): New struct member __glibc_reserved0, change
13658 type of sa_flags to int.
13659
ea6c92f3
YZ
136602014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13661
13662 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13663 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13664
766c4a36
SP
136652014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13666
13667 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13668 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13669
140cc7ab
VK
136702014-04-22 Will Newton <will.newton@linaro.org>
13671 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13672
13673 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13674 (__longjmp): Add longjmp and longjmp_target SystemTap
13675 probes.
13676 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13677 (__sigsetjmp): Add setjmp SystemTap probe.
13678
c54e5cf7
CD
136792014-04-17 Carlos O'Donell <carlos@redhat.com>
13680
13681 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13682 match manual order.
13683
75ffb047
AZ
136842014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13685
13686 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13687
2cd925f7
AZ
13688 * sysdeps/powerpc/fpu/fenv_private.h
13689 (libc_feholdexcept_setroundl_ctx): Define to
13690 libc_feholdexcept_setround_ppc_ctx.
13691 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13692 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13693 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13694 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13695
39e6cd8d
IB
136962014-04-17 Ian Bolton <ian.bolton@arm.com>
13697
13698 * sysdeps/aarch64/math-tests.h: New file.
13699
f9281df9
SY
137002014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13701
13702 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13703 New.
13704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13705 Check and set bit_AVX2_Usable.
13706 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13707 macro.
13708 (bit_AVX2): Likewise.
13709 (index_AVX2_Usable): Likewise.
13710 (CPUID_AVX2): Likewise.
13711 (HAS_AVX2): Likewise.
13712
37d35007
WN
137132014-04-17 Will Newton <will.newton@linaro.org>
13714
7c677662
WN
13715 * manual/setjmp.texi (System V contexts): Add note that
13716 calling setcontext on a context created by a call to a
13717 signal handler is undefined. Update text to note that
13718 setcontext from a signal handler is possible but not
13719 recommended.
13720
37d35007 13721 [BZ #16629]
e04a4e9d
WN
13722 * stdlib/tst-setcontext.c: Include signal.h.
13723 (main): Check that the signal stack before and
13724 after swapcontext is the same.
13725
37d35007
WN
13726 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13727 Re-implement to restore registers in user code and avoid
13728 rt_sigreturn system call.
13729
423a7160
W
137302014-04-17 Wilco <wdijkstr@arm.com>
13731
13732 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13733 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13734 * math/test-fenv.c: Skip exception trap tests on targets which only
13735 support non-stop mode.
13736
bc93ab29
IB
137372014-04-17 Ian Bolton <ian.bolton@arm.com>
13738 Wilco Dijkstra <wilco.dijkstra@arm.com>
13739
13740 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13741 (libc_feholdsetround_aarch64_ctx)
13742 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13743 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13744 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13745 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13746 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13747 (libc_feresetround_noexl_ctx): Define.
13748
95fc5fa3
RH
137492014-04-16 Richard Henderson <rth@redhat.com>
13750
ddb04724
RH
13751 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13752
d77c0899
RH
13753 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13754 unwind tables.
13755
a3df56fc
RH
13756 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13757 const from the non-libc, non-ldso copy.
13758
95fc5fa3
RH
13759 * sysdeps/alpha/libm-test-ulps: Regenerate.
13760
7e0b6763
IB
137612014-04-16 Ian Bolton <ian.bolton@arm.com>
13762 Wilco Dijkstra <wilco.dijkstra@arm.com>
13763
13764 * sysdeps/aarch64/fpu/math_private.h: New file.
13765
a9ea2e0c
MS
137662014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13767
13768 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13769
ea8ba7cd
IZ
137702014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13771
7e54fd04 13772 [BZ #16275]
ea8ba7cd
IZ
13773 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13774 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13776 Intel MPX bound registers before _dl_profile_fixup.
13777 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13778 registers after _dl_profile_fixup. Save and restore bound
13779 registers bnd0/bnd1 when calling _dl_call_pltexit.
13780 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13781 (LR_BND_OFFSET): Likewise.
13782 (LRV_BND0_OFFSET): Likewise.
13783 (LRV_BND1_OFFSET): Likewise.
13784
9f2a4fbc
ST
137852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13786
13787 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13788 to...
13789 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13790 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13791 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13792 fields.
9f2a4fbc 13793
fd15a59b
ST
137942014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13795
13796 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13797
f19dfa0a
SL
137982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13799
13800 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13801
4fa8bc3b
SL
138022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13803
13804 [BZ #14770]
13805 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13806 * sysdeps/s390/configure: Regenerate.
13807
8ea587db
SL
13808 [BZ #16824]
13809 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13810 Set round-to-nearest internally to reduce error accumulation.
13811
aa5f0ff1
AM
138122014-04-16 Alan Modra <amodra@gmail.com>
13813
13814 [BZ #16740]
13815 [BZ #16619]
13816 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13817 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13818 * NEWS: Update fixed bug list.
aa5f0ff1 13819
bb9c256f
SP
138202014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13821
13822 * benchtests/Makefile: Depend on libraries in build directory.
13823 (bench-math): Separate out math tests.
13824 (bench-pthread): Separate out pthread tests.
13825 (bench): Include math and pthread tests.
13826
f737dfd0
CD
138272014-04-14 Carlos O'Donell <carlos@redhat.com>
13828
13829 [BZ #16831]
13830 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13831 _dl_debug_initialize.
13832
0699f766
CD
13833 * configure.ac: Remove SELinux header check.
13834 * configure: Regenerate.
13835 * nscd/selinux.c (perms): Array of const char* to permission names.
13836 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13837 default policy. Call string_to_security_class and string_to_av_perm to
13838 translate strings. Enforce default policy and call avs_has_perm with
13839 results of translated strings.
13840
809bd45f
DM
138412014-04-13 David S. Miller <davem@davemloft.net>
13842
13843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13844
89e691f2
AM
138452014-04-12 Allan McRae <allan@archlinux.org>
13846
13847 [BZ #16838]
13848 * manual/string.texi (Collation Functions): Fix qsort argument
13849 order in example.
13850 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13851
9c9daaeb
CM
138522014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13853
13854 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13855 Make the test a no-op if there are no exceptions defined.
13856
95561fb9
PP
138572014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13858
fe8d072c 13859 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13860 enable-hardcoded-path-in-tests
13861
970c602a
WN
138622014-04-11 Will Newton <will.newton@linaro.org>
13863
13864 * benchtests/Makefile (extra-objs): Add json-lib.o.
13865 (bench-func): Tidy up JSON output.
13866 * benchtests/bench-skeleton.c: Include json-lib.h.
13867 (main): Use JSON library functions to do output of
13868 benchmark results.
13869 * benchtests/bench-timing-type.c (main): Output the
13870 timing type simply, leaving formatting to the user.
13871 * benchtests/json-lib.c: New file.
13872 * benchtests/json-lib.h: Likewise.
13873
36875b06
TR
138742014-04-11 Torvald Riegel <triegel@redhat.com>
13875
13876 [BZ #15215]
13877 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13878 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13879 memory barriers. Add comments.
13880 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13881 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13882 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13883 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13884 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13885 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13886
579db35a
SL
138872014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13888
13889 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13890 * sysdeps/s390/s390-64/configure.ac: ... this ...
13891 * sysdeps/s390/configure.ac: ... to here.
13892 * sysdeps/s390/s390-32/configure: Delete file.
13893 * sysdeps/s390/s390-64/configure: Delete file.
13894 * sysdeps/s390/configure: Regenerate.
13895
c12e9f37
JAPH
138962014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13897
13898 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13899
439bda32
WN
139002014-04-11 Will Newton <will.newton@linaro.org>
13901
13902 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13903 to zero if it is not defined elsewhere. (mtrim): Test
13904 the value of MALLOC_DEBUG with #if rather than #ifdef.
13905
6a5d6ea1
TR
139062014-04-10 Torvald Riegel <triegel@redhat.com>
13907
13908 * benchtests/pthread_once-inputs: New file.
13909 * benchtests/pthread_once-source.c: New file.
13910 * benchtests/README: Update documentation.
13911
a4c75cfd
IZ
139122014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13913 H.J. Lu <hongjiu.lu@intel.com>
13914
7e54fd04 13915 [BZ #16275]
a4c75cfd
IZ
13916 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13917 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13918 * sysdeps/x86_64/configure: Regenerated.
13919 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13920 macro.
13921 (REGISTER_SAVE_RAX): Likewise.
13922 (REGISTER_SAVE_RCX): Likewise.
13923 (REGISTER_SAVE_RDX): Likewise.
13924 (REGISTER_SAVE_RSI): Likewise.
13925 (REGISTER_SAVE_RDI): Likewise.
13926 (REGISTER_SAVE_R8): Likewise.
13927 (REGISTER_SAVE_R9): Likewise.
13928 (REGISTER_SAVE_BND0): Likewise.
13929 (REGISTER_SAVE_BND1): Likewise.
13930 (REGISTER_SAVE_BND2): Likewise.
13931 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13932 bound registers when calling _dl_fixup.
13933
27822ce6
AZ
139342014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13935
13936 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13937 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13938 of its definition.
27822ce6
AZ
13939 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13940 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13941 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13942 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13943 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13944 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13945 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13946
a88ddc90
PTB
139472014-04-09 Peter Brett <peter@peter-b.co.uk>
13948
13949 [BZ #15514]
13950 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13951 pathconf(_PC_NAME_MAX).
13952
01f8eac2
AZ
139532014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13954
13955 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13956 Remove macro usage.
13957 (__PTHREAD_SPINS): Move definition to ...
13958 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13959 (__PTHREAD_SPINS): ... here.
13960 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13961 (__PTHREAD_SPIN): Likewise.
13962 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13963 (__PTHREAD_SPIN): Likewise.
13964 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13965 (__PTHREAD_SPIN): Likewise.
13966 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13967 (__PTHREAD_SPIN): Likewise.
13968 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13969 (__PTHREAD_SPIN): Likewise.
13970 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13971 (__PTHREAD_SPIN): Likewise.
13972 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13973 (__PTHREAD_SPIN): Likewise.
13974 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13975 (__PTHREAD_SPIN): Likewise.
13976 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13977 (__PTHREAD_SPIN): Likewise.
13978 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13979 (__PTHREAD_SPIN): Likewise.
13980 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13981 (__PTHREAD_SPIN): Likewise.
13982 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13983 (__PTHREAD_SPIN): Likewise.
13984
de21c33c
AZ
13985 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13986 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13987 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13988 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13989 imply folder.
13990 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13991 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13992 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13993 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13994 correct imply path.
13995 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13996 strlen symbol for non multi-arch builds.
13997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13998 missing hidden_def and weak_alias.
13999
862c472e
CD
140002014-04-08 Carlos O'Donell <carlos@redhat.com>
14001
14002 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14003
8667f90e
WN
140042014-04-07 Will Newton <will.newton@linaro.org>
14005
14006 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14007 and contents. [!_LIBC] Remove #ifndef and contents.
14008 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14009 * string/memccpy.c (__memccpy): Use ANSI prototype.
14010 * string/memfrob.c (memfrob): Likewise.
14011 * string/strcoll.c (STRCOLL): Likewise.
14012 * string/strlen.c (strlen): Likewise.
14013 * string/strtok.c (STRTOK): Likewise.
14014 * string/strcat.c: Remove unused #include of memcopy.h.
14015 (strcat): Use ANSI prototype.
14016 * string/strchr.c: Remove unused #include of memcopy.h.
14017 (strchr): Use ANSI prototype.
14018 * string/strcmp.c: Remove unused #include of memcopy.h.
14019 (strcmp): Use ANSI prototype.
14020 * string/strcpy.c: Remove unused #include of memcopy.h.
14021 (strcpy): Use ANSI prototype.
14022
7ffa9423
AZ
140232014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14024
14025 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14026 * config.make.in (config-extra-cppflags): Set it from
14027 libc_extra_cppflags.
14028 * configure.ac (libc_extra_cflags): Make it accumulate over
14029 configure fragments.
14030 (libc_extra_cppflags): New flag.
14031 * configure. Regenerate.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14033 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14034 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14036
8bd70862
AZ
14037 [BZ #16815]
14038 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14039 result for FE_DOWNWARD rounding mode.
14040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14041 Likewise.
14042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14043
d42f3448
CM
140442014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14045
14046 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14047 in function argument name.
14048
1c21d115
DS
140492014-04-03 David Svoboda <svoboda@cert.org>
14050
14051 [BZ #5666]
14052 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14053 explicitly.
14054
fcccd512
RM
140552014-04-03 Roland McGrath <roland@hack.frob.com>
14056
14057 * elf/dl-unmap-segments.h: New file.
14058 * sysdeps/generic/ldsodefs.h
14059 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14060 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14061 * elf/dl-fptr.c: Likewise.
14062 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14063 * sysdeps/aarch64/tlsdesc.c: Likewise.
14064 * sysdeps/arm/tlsdesc.c: Likewise.
14065 * sysdeps/i386/tlsdesc.c: Likewise.
14066 * sysdeps/tile/dl-runtime.c: Likewise.
14067 * sysdeps/x86_64/tlsdesc.c: Likewise.
14068 * elf/dl-load.h: New file.
14069 * elf/dl-load.c: Include it.
14070 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14071 Macros moved to dl-load.h.
14072 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14073 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14074 Use _dl_unmap_segments in place of __munmap.
14075 Break out segment-mapping loop into ...
14076 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14077
f6488e2b
WN
140782014-04-03 Will Newton <will.newton@linaro.org>
14079
14080 * elf/dl-lookup.c (do_lookup_x): Remove comment
14081 referring to nested function and move variable
14082 declarations down to before first use.
14083
6f05bafe
JM
140842014-04-02 Joseph Myers <joseph@codesourcery.com>
14085
a84e78c8
JM
14086 [BZ #16799]
14087 [BZ #16800]
14088 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14089 with 0 numerator.
14090 * math/s_catanf.c (__catanf): Likewise.
14091 * math/s_catanh.c (__catanh): Likewise.
14092 * math/s_catanhf.c (__catanhf): Likewise.
14093 * math/s_catanhl.c (__catanhl): Likewise.
14094 * math/s_catanl.c (__catanl): Likewise.
14095 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14096 by positive zero when computing -Inf result.
14097 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14098 (catanh_test): Likewise.
14099 * sysdeps/i386/fpu/libm-test-ulps: Update.
14100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14101
6f05bafe
JM
14102 [BZ #16789]
14103 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14104 instead of using underflowing value in computing result.
14105 * math/s_clog10.c (__clog10): Likewise.
14106 * math/s_clog10f.c (__clog10f): Likewise.
14107 * math/s_clog10l.c (__clog10l): Likewise.
14108 * math/s_clogf.c (__clogf): Likewise.
14109 * math/s_clogl.c (__clogl): Likewise.
14110 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14111 (clog10_test): Likewise.
14112 * sysdeps/i386/fpu/libm-test-ulps: Update.
14113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14114
b0abbc21
AM
141152014-04-02 Alan Modra <amodra@gmail.com>
14116
14117 [BZ #16739]
14118 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14119 output when value is near a power of two. Use int64_t for lx and
14120 remove casts. Use decimal rather than hex exponent constants.
14121 Don't use long double multiplication when double will suffice.
14122 * math/libm-test.inc (nextafter_test_data): Add tests.
14123 * NEWS: Add 16739 and 16786 to bug list.
14124
af6b1797
AM
14125 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14126
483818d7
AM
14127 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14128
f6c55796
WN
141292014-04-01 Will Newton <will.newton@linaro.org>
14130
14131 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14132 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14133
13f7fe35
FW
141342014-04-01 Florian Weimer <fweimer@redhat.com>
14135
14136 [BZ #13347]
14137 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14138 * nptl/tst-setuid2.c: New file.
14139 * nptl/Makefile (xtests): Add tst-setuid2.
14140
c859b32e
AM
141412014-04-01 Alan Modra <amodra@gmail.com>
14142
14143 [BZ #16786]
14144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14145
54fa2475
JM
141462014-03-31 Joseph Myers <joseph@codesourcery.com>
14147
8795b4a4
JM
14148 [BZ #6803]
14149 [BZ #6804]
14150 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14151 set errno as appropriate.
14152 * math/w_scalbf.c (__scalbf): Likewise.
14153 * math/w_scalbl.c (__scalbl): Likewise.
14154 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14155 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14156 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14157 Add more NaN tests.
14158
54fa2475
JM
14159 [BZ #16349]
14160 * math/w_atan2.c: Include <errno.h>.
14161 (__atan2): Set errno for result underflowing to zero.
14162 * math/w_atan2f.c: Include <errno.h>.
14163 (__atan2f): Set errno for result underflowing to zero.
14164 * math/w_atan2l.c: Include <errno.h>.
14165 (__atan2l): Set errno for result underflowing to zero.
14166 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14167 tests.
14168 * math/auto-libm-test-out: Regenerated.
14169
757d9dd5
AZ
141702014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14171
14172 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14173 Encode instruction correctly in little endian.
14174 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14175 Likewise.
14176 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14177 Likewise.
14178 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14179 Likewise.
14180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14181 Likewise.
14182
d7a68734
JM
141832014-03-31 Joseph Myers <joseph@codesourcery.com>
14184
47c5adeb
JM
14185 [BZ #9894]
14186 * sysdeps/unix/sysv/linux/kernel-features.h
14187 [__sparc__ && !__arch64__ && !__sparc_v9__]
14188 (__ASSUME_SET_ROBUST_LIST): Do not define.
14189 [__sparc__ && !__arch64__ && !__sparc_v9__]
14190 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14191 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14192 Likewise.
14193 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14194 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14195 (__ASSUME_REQUEUE_PI): Likewise.
14196 (__ASSUME_SET_ROBUST_LIST): Likewise.
14197 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14198 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14199 Undefine.
14200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14201 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14202 Likewise.
14203 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14204 Likewise.
14205 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14206 Likewise.
14207 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14208 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14209 Undefine.
14210 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14211 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14212 Likewise.
14213
d7a68734
JM
14214 [BZ #16648]
14215 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14217 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14218
c760f5c2
WN
142192014-03-31 Will Newton <will.newton@linaro.org>
14220
14221 * benchtests/Makefile (bench): Add ffs and ffsll to list
14222 of tests.
14223 * benchtests/ffs-inputs: New file.
14224 * benchtests/ffsll-inputs: Likewise.
14225
ea6029b1
JM
142262014-03-29 Joseph Myers <joseph@codesourcery.com>
14227
14228 [BZ #16770]
14229 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14230 too large before casting to int.
14231 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14232 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14233 * math/libm-test.inc (scalb_test_data): Add more tests.
14234
cf806aff
SP
142352014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14236
56737508
SP
14237 * benchtests/Makefile (DETAILED_OPT): New make option.
14238 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14239 set.
14240 * benchtests/bench-skeleton.c: Include stdbool.h.
14241 (main): Store and print timings per input.
14242 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14243 member to each argument value.
14244 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14245 (_print_arg_data): Initialize per-input timing to 0.
14246
cb5e4aad
SP
14247 * benchtests/Makefile (timing-type): New binary.
14248 (bench-clean): Also remove bench-timing-type.
14249 (bench): New target for timing-type.
14250 (bench-func): Print output in JSON format.
14251 * benchtests/bench-skeleton.c (main): Print output in JSON
14252 format.
14253 * benchtests/bench-timing-type.c: New file.
14254 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14255 (TIMING_PRINT_STATS): Remove.
14256 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14257 name separately.
14258
cf806aff
SP
14259 * benchtests/bench-modf.c: Remove.
14260 * benchtests/modf-inputs: New inputs file.
14261
289e0779
JM
142622014-03-28 Joseph Myers <joseph@codesourcery.com>
14263
14264 [BZ #16362]
14265 * math/s_clog10.c (M_PI_LOG10E): New macro.
14266 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14267 imaginary parts are 0.
14268 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14269 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14270 imaginary parts are 0.
14271 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14272 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14273 imaginary parts are 0.
14274 * math/libm-test.inc (clog10_test_data): Update expected results
14275 for when real and imaginary parts are 0.
14276
277ae3f1
PP
142772014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14278
14279 * elf/dl-load.c: Finish conversion of __builtin_expect into
14280 __glibc_{un}likely.
14281
03a7091f
JM
142822014-03-27 Joseph Myers <joseph@codesourcery.com>
14283
14284 [BZ #16348]
14285 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14286 1+x for argument with exponent below -67.
14287 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14288 Likewise.
14289 * math/auto-libm-test-in: Add more tests of exp.
14290 * math/auto-libm-test-out: Regenerated.
14291
ea7d8b95
SP
142922014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14293
dd3022d7
SP
14294 [BZ #16759]
14295 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14296 (nscd_getnetgrent): Use it.
14297
ea7d8b95
SP
14298 [BZ #16760]
14299 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14300 of stpcpy.
14301
df5b85da
AK
143022014-03-27 Andi Kleen <ak@linux.intel.com>
14303
57f41c40
AS
14304 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14305 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14306 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14307 (lll_robust_unlock): Remove out of line section. Use cfi
14308 intrinsics.
df5b85da 14309 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14310 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14311 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14312 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14313 (lll_robust_unlock): Remove out of line section. Use cfi
14314 intrinsics.
df5b85da
AK
14315 (LLL_STUB_UNWIND_INFO*): Remove.
14316
fbd6b5a4
SP
143172014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 [BZ #16758]
14320 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14321 blank values.
14322
1b26b855
PP
143232014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14324
14325 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14326
9be36fb8
JM
143272014-03-26 Joseph Myers <joseph@codesourcery.com>
14328
14329 [BZ #16198]
14330 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14331 fnstenv.
14332 * math/test-fenv-preserve.c: New file.
14333 * math/Makefile (tests): Add test-fenv-preserve.
14334
60a2f3c1
WN
143352014-03-26 Will Newton <will.newton@linaro.org>
14336
14337 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14338
a5e5f1e2
RM
143392014-03-25 Roland McGrath <roland@hack.frob.com>
14340
14341 * scripts/versionlist.awk: Partition the version sets and emit all
14342 GLIBC_* (sorted) before all others (sorted).
14343
00f4012a
JM
143442014-03-25 Joseph Myers <joseph@codesourcery.com>
14345
14346 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14347 GLIBC_2.2.5 version.
14348
7bc5a741
AZ
143492014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350
14351 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14352 calls.
14353
7578473b
AZ
14354 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14355 previous change.
14356
f3f1dab3
AZ
14357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14358
6da36183
AS
143592014-03-25 Andreas Schwab <schwab@suse.de>
14360
14361 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14362 label to be used after in6ailist is initialized.
14363
f3f1dab3 143642014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14365
7578473b 14366 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14367 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14368
046651c1
JM
143692014-03-25 Joseph Myers <joseph@codesourcery.com>
14370
14371 [BZ #16357]
14372 [BZ #16599]
14373 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14374 min_plus_half.
14375 (fp_formats): Update initializers.
14376 (init_fp_formats): Initialize new field.
14377 (output_for_one_input_case): Allow underflow for results up to
14378 min_plus_half.
14379 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14380 * math/auto-libm-test-in: Don't mark some underflows from asin and
14381 atanh as spurious.
14382 * math/auto-libm-test-out: Regenerated.
14383 * sysdeps/i386/fpu/libm-test-ulps: Update.
14384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14385
003e49ed
AS
143862014-03-25 Andreas Schwab <schwab@suse.de>
14387
14388 * libio/Makefile (tst-ftell-partial-wide-ENV)
14389 (tst-ftell-active-handler-ENV): Define.
14390
de031874
SL
143912014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14392
14393 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14394
55a81e3b
PP
143952014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14396
14397 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14398
f3426898
JM
143992014-03-24 Joseph Myers <joseph@codesourcery.com>
14400
14401 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14402 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14403 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14404
a42faf59
PP
144052014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14406
14407 [BZ #16634]
a42faf59 14408 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14409 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14410 (open_path): Change from boolean 'secure' to complete flag 'mode'
14411 (_dl_map_object): Adjust.
a42faf59
PP
14412 * elf/Makefile (tests): Add tst-dlopen-aout.
14413 * elf/tst-dlopen-aout.c: New test.
14414
50936127
SL
144152014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14416
14417 [BZ #16714]
14418 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14419 (struct stat): Rename member pad0 to __glibc_reserved0.
14420
26011b5c
SL
14421 [BZ #16712]
14422 * sysdeps/s390/s390-32/bits/wordsize.h
14423 (__WORDSIZE32_SIZE_ULONG): New define.
14424 * sysdeps/s390/s390-64/bits/wordsize.h
14425 (__WORDSIZE32_SIZE_ULONG): Likewise.
14426 * sysdeps/generic/stdint.h (SIZE_MAX):
14427 Define as UL if __WORDSIZE32_SIZE_ULONG.
14428
a2d86bf1
SL
14429 [BZ #16713]
14430 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14431 (__glibc_reserved0): New variable.
14432 (sa_flags): Change type to int.
14433
78b6eebc
SL
14434 * posix/Makefile (before-compile): Use += before-compile instead
14435 of a :=.
14436
f1399b5a
SL
14437 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14438 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14439
a071766e
AS
144402014-03-20 Andreas Schwab <schwab@suse.de>
14441
14442 [BZ #16743]
14443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14444 non-matching result from nscd.
14445
27c673b8
SP
144462014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14447
14448 * scripts/bench.py: Moved to ...
14449 * benchtests/scripts/bench.py: ... here.
14450 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14451
44152e4b
AS
144522014-03-24 Andreas Schwab <schwab@suse.de>
14453
14454 [BZ #16002]
14455 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14456 alloca_account and account alloca use for struct in6ailist.
14457
b376a11a
JM
144582014-03-24 Joseph Myers <joseph@codesourcery.com>
14459
14460 [BZ #16284]
14461 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14462 rounding mode to recompute results that overflow to infinity or
14463 underflow to zero.
14464 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14465 bug 16284.
14466 * math/auto-libm-test-out: Regenerated.
14467 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14468 (ccosh_test): Likewise.
14469 (csin_test_data): Use plus_oflow.
14470 (csin_test): Use ALL_RM_TEST.
14471 (csinh_test_data): Use plus_oflow.
14472 (csinh_test): Use ALL_RM_TEST.
14473 * sysdeps/i386/fpu/libm-test-ulps: Update.
14474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14475
f7be7376
JM
144762014-03-21 Joseph Myers <joseph@codesourcery.com>
14477
1ca2d03e
JM
14478 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14479 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14480 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14481
f7be7376
JM
14482 [BZ #16731]
14483 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14484 when x - 1 is zero.
14485 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14486 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14487 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14489 argument is 1.
14490 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14491 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14492 zero.
14493 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14494 * sysdeps/i386/fpu/libm-test-ulps: Update.
14495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14496
fdf4534d
SP
144972014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14498
df26ea53
SP
14499 * scripts/bench.pl: Remove file.
14500 * scripts/bench.py: New benchmark script.
14501 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14502 * benchtests/README: Mention python dependency.
14503 * scripts/pylintrc: New file.
14504 * scripts/pylint: New file.
14505
fdf4534d
SP
14506 * bits/mathdef.h: Use #ifdef instead of #if.
14507 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14508 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14509 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14510 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14511 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14512 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14513
6f23d093
AZ
145142014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14515 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14516
14517 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14519 and strpbrk-ppc64 objects.
14520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14521 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14522 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14523 multiarch strpbrk for POWER7.
14524 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14525 multiarch strpbrk for PPC64.
14526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14527 ifunc selector.
14528 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14529 strpbrk for POWER7.
14530
8c92dfff
JM
145312014-03-20 Joseph Myers <joseph@codesourcery.com>
14532
14533 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14534 (atan_test): Likewise.
14535 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14536 (atanh_test): Use ALL_RM_TEST.
14537 (atan2_test_data): Likewise.
14538 (cabs_test): Likewise.
14539 (cacosh_test): Likewise.
14540 (carg_test): Likewise.
14541 (casin_test): Likewise.
14542 (casinh_test): Likewise.
14543 (cbrt_test): Likewise.
14544 (csqrt_test): Likewise.
14545 (erf_test): Likewise.
14546 (erfc_test): Likewise.
14547 (pow10_test): Likewise.
14548 (exp2_test): Likewise.
14549 (hypot_test): Likewise.
14550 (j0_test): Likewise.
14551 (j1_test): Likewise.
14552 (lgamma_test): Likewise.
14553 (gamma_test): Likewise.
14554 (sincos_test): Likewise.
14555 (tanh_test): Likewise.
14556 (y0_test): Likewise.
14557 (y1_test): Likewise.
14558 * sysdeps/i386/fpu/libm-test-ulps: Update.
14559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14560
6eaf95cb
AZ
145612014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14562
a387428c
SP
14563 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14565 and strcspn-ppc64 objects.
14566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14567 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14568 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14569 multiarch strcspn for POWER7.
14570 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14571 multiarch strcspn for PPC64.
14572 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14573 ifunc selector.
14574 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14575 strcspn for POWER7.
14576
ae3a5dff
JM
145772014-03-20 Joseph Myers <joseph@codesourcery.com>
14578
14579 * math/gen-libm-test.pl (generate_testfile): Expect only function
14580 name as argument to AUTO_TESTS_* and pass results for all rounding
14581 modes to parse_args.
14582 (parse_auto_input): Separate inputs of automatic tests from
14583 outputs before storing in %auto_tests.
14584 * math/libm-test.inc (acos_test_data): Update call to
14585 AUTO_TESTS_f_f.
14586 (acos_test): Use ALL_RM_TEST.
14587 (acos_tonearest_test_data): Remove.
14588 (acos_test_tonearest): Likewise.
14589 (acos_towardzero_test_data): Likewise.
14590 (acos_test_towardzero): Likewise.
14591 (acos_downward_test_data): Likewise.
14592 (acos_test_downward): Likewise.
14593 (acos_upward_test_data): Likewise.
14594 (acos_test_upward): Likewise.
14595 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14596 (asin_test_data): Likewise.
14597 (asin_test): Use ALL_RM_TEST.
14598 (asin_tonearest_test_data): Remove.
14599 (asin_test_tonearest): Likewise.
14600 (asin_towardzero_test_data): Likewise.
14601 (asin_test_towardzero): Likewise.
14602 (asin_downward_test_data): Likewise.
14603 (asin_test_downward): Likewise.
14604 (asin_upward_test_data): Likewise.
14605 (asin_test_upward): Likewise.
14606 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14607 (atan_test_data): Likewise.
14608 (atanh_test_data): Likewise.
14609 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14610 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14611 (carg_test_data): Likewise.
14612 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14613 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14614 (ccosh_test_data): Likewise.
14615 (cexp_test_data): Likewise.
14616 (clog_test_data): Likewise.
14617 (clog10_test_data): Likewise.
14618 (cos_test_data): Update call to AUTO_TESTS_f_f.
14619 (cos_test): Use ALL_RM_TEST.
14620 (cos_tonearest_test_data): Remove.
14621 (cos_test_tonearest): Likewise.
14622 (cos_towardzero_test_data): Likewise.
14623 (cos_test_towardzero): Likewise.
14624 (cos_downward_test_data): Likewise.
14625 (cos_test_downward): Likewise.
14626 (cos_upward_test_data): Likewise.
14627 (cos_test_upward): Likewise.
14628 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14629 (cosh_test): Use ALL_RM_TEST.
14630 (cosh_tonearest_test_data): Remove.
14631 (cosh_test_tonearest): Likewise.
14632 (cosh_towardzero_test_data): Likewise.
14633 (cosh_test_towardzero): Likewise.
14634 (cosh_downward_test_data): Likewise.
14635 (cosh_test_downward): Likewise.
14636 (cosh_upward_test_data): Likewise.
14637 (cosh_test_upward): Likewise.
14638 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14639 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14640 (ctan_test_data): Likewise.
14641 (ctan_test): Use ALL_RM_TEST.
14642 (ctan_tonearest_test_data): Remove.
14643 (ctan_test_tonearest): Likewise.
14644 (ctan_towardzero_test_data): Likewise.
14645 (ctan_test_towardzero): Likewise.
14646 (ctan_downward_test_data): Likewise.
14647 (ctan_test_downward): Likewise.
14648 (ctan_upward_test_data): Likewise.
14649 (ctan_test_upward): Likewise.
14650 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14651 (ctanh_test): Use ALL_RM_TEST.
14652 (ctanh_tonearest_test_data): Remove.
14653 (ctanh_test_tonearest): Likewise.
14654 (ctanh_towardzero_test_data): Likewise.
14655 (ctanh_test_towardzero): Likewise.
14656 (ctanh_downward_test_data): Likewise.
14657 (ctanh_test_downward): Likewise.
14658 (ctanh_upward_test_data): Likewise.
14659 (ctanh_test_upward): Likewise.
14660 (erf_test_data): Update call to AUTO_TESTS_f_f.
14661 (erfc_test_data): Likewise.
14662 (exp_test_data): Likewise.
14663 (exp_test): Use ALL_RM_TEST.
14664 (exp_tonearest_test_data): Remove.
14665 (exp_test_tonearest): Likewise.
14666 (exp_towardzero_test_data): Likewise.
14667 (exp_test_towardzero): Likewise.
14668 (exp_downward_test_data): Likewise.
14669 (exp_test_downward): Likewise.
14670 (exp_upward_test_data): Likewise.
14671 (exp_test_upward): Likewise.
14672 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14673 (exp10_test): Use ALL_RM_TEST.
14674 (exp10_tonearest_test_data): Remove.
14675 (exp10_test_tonearest): Likewise.
14676 (exp10_towardzero_test_data): Likewise.
14677 (exp10_test_towardzero): Likewise.
14678 (exp10_downward_test_data): Likewise.
14679 (exp10_test_downward): Likewise.
14680 (exp10_upward_test_data): Likewise.
14681 (exp10_test_upward): Likewise.
14682 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14683 (expm1_test_data): Likewise.
14684 (expm1_test): Use ALL_RM_TEST.
14685 (expm1_tonearest_test_data): Remove.
14686 (expm1_test_tonearest): Likewise.
14687 (expm1_towardzero_test_data): Likewise.
14688 (expm1_test_towardzero): Likewise.
14689 (expm1_downward_test_data): Likewise.
14690 (expm1_test_downward): Likewise.
14691 (expm1_upward_test_data): Likewise.
14692 (expm1_test_upward): Likewise.
14693 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14694 (fma_test): Use ALL_RM_TEST.
14695 (fma_towardzero_test_data): Remove.
14696 (fma_test_towardzero): Likewise.
14697 (fma_downward_test_data): Likewise.
14698 (fma_test_downward): Likewise.
14699 (fma_upward_test_data): Likewise.
14700 (fma_test_upward): Likewise.
14701 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14702 (j0_test_data): Update call to AUTO_TESTS_f_f.
14703 (j1_test_data): Likewise.
14704 (jn_test_data): Update call to AUTO_TESTS_if_f.
14705 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14706 (log_test_data): Update call to AUTO_TESTS_f_f.
14707 (log10_test_data): Likewise.
14708 (log1p_test_data): Likewise.
14709 (log2_test_data): Likewise.
14710 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14711 (pow_tonearest_test_data): Likewise.
14712 (sin_test_data): Update call to AUTO_TESTS_f_f.
14713 (sin_test): Use ALL_RM_TEST.
14714 (sin_tonearest_test_data): Remove.
14715 (sin_test_tonearest): Likewise.
14716 (sin_towardzero_test_data): Likewise.
14717 (sin_test_towardzero): Likewise.
14718 (sin_downward_test_data): Likewise.
14719 (sin_test_downward): Likewise.
14720 (sin_upward_test_data): Likewise.
14721 (sin_test_upward): Likewise.
14722 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14723 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14724 (sinh_test): Use ALL_RM_TEST.
14725 (sinh_tonearest_test_data): Remove.
14726 (sinh_test_tonearest): Likewise.
14727 (sinh_towardzero_test_data): Likewise.
14728 (sinh_test_towardzero): Likewise.
14729 (sinh_downward_test_data): Likewise.
14730 (sinh_test_downward): Likewise.
14731 (sinh_upward_test_data): Likewise.
14732 (sinh_test_upward): Likewise.
14733 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14734 (sqrt_test): Use ALL_RM_TEST.
14735 (sqrt_tonearest_test_data): Remove.
14736 (sqrt_test_tonearest): Likewise.
14737 (sqrt_towardzero_test_data): Likewise.
14738 (sqrt_test_towardzero): Likewise.
14739 (sqrt_downward_test_data): Likewise.
14740 (sqrt_test_downward): Likewise.
14741 (sqrt_upward_test_data): Likewise.
14742 (sqrt_test_upward): Likewise.
14743 (tan_test_data): Update call to AUTO_TESTS_f_f.
14744 (tan_test): Use ALL_RM_TEST.
14745 (tan_tonearest_test_data): Remove.
14746 (tan_test_tonearest): Likewise.
14747 (tan_towardzero_test_data): Likewise.
14748 (tan_test_towardzero): Likewise.
14749 (tan_downward_test_data): Likewise.
14750 (tan_test_downward): Likewise.
14751 (tan_upward_test_data): Likewise.
14752 (tan_test_upward): Likewise.
14753 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14754 (tgamma_test_data): Likewise.
14755 (y0_test_data): Likewise.
14756 (y1_test_data): Likewise.
14757 (yn_test_data): Update call to AUTO_TESTS_if_f.
14758 (main): Do not call removed functions.
14759
d71aeee8
JM
147602014-03-19 Joseph Myers <joseph@codesourcery.com>
14761
14762 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14763 (ldexp_test_data): Remove.
14764 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14765 scalbn_test_data.
14766 (scalb_test): Use ALL_RM_TEST.
14767
baaf1ded
AS
147682014-03-19 Andreas Schwab <schwab@suse.de>
14769
14770 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14771
b1115e91
JM
147722014-03-19 Joseph Myers <joseph@codesourcery.com>
14773
14774 [BZ #16649]
14775 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14776 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14777 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14778 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14779 (__ASSUME_PREADV): Undefine.
14780 (__ASSUME_PWRITEV): Likewise.
14781
0283ecca
RM
147822014-03-18 Roland McGrath <roland@hack.frob.com>
14783
7d375303
RM
14784 * bits/mman-linux.h: Add comment about non-Linux use.
14785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14786 bits/mman-linux.h resting place.
14787
0283ecca
RM
14788 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14789 * bits/mman-linux.h: ... here.
14790
aebe1003
AZ
147912014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14792
14793 * conform/conformtest.pl: Add standard definition when calling C
14794 preprocessor on data files.
14795 (checknamespace): Remove unused variable.
14796
b29b6bb8
JM
147972014-03-18 Joseph Myers <joseph@codesourcery.com>
14798
14799 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14800 minus_oflow, plus_uflow and minus_uflow in expected results.
14801 * math/libm-test.inc (scalbn_test_data): Add more tests of
14802 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14803 minus_uflow.
14804 (scalbn_test): Use ALL_RM_TEST.
14805 (scalbln_test_data): Add more tests of negative arguments. Use
14806 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14807 (scalbln_test): Use ALL_RM_TEST.
14808
c8f8fa15
RM
148092014-03-18 Roland McGrath <roland@hack.frob.com>
14810
14811 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14812
fede7a5f
WN
148132014-03-18 Will Newton <will.newton@linaro.org>
14814
14815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14816 inaccurate comment.
14817
80cf0a58
JM
148182014-03-18 Joseph Myers <joseph@codesourcery.com>
14819
14820 * Makerules [!subdir] (check-abi): Exit with error status if a
14821 test failed.
14822
b3620862
JM
148232014-03-17 Joseph Myers <joseph@codesourcery.com>
14824
14825 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14826 for rint. Include results for all rounding modes.
14827 (nearbyint_test): Use ALL_RM_TEST.
14828 (rint_test_data): Include all tests used for nearbyint.
14829
788bba36
WN
148302014-03-17 Will Newton <will.newton@linaro.org>
14831
04ec140a
WN
14832 * nptl/sysdeps/pthread/pthread.h: Revert previous
14833 change.
14834
7579d8d5
WN
14835 * sysdeps/generic/ldsodefs.h: Revert previous
14836 change.
14837
c15cf13a
WN
14838 * libio/genops.c: Revert previous change.
14839 * libio/libioP.h: Likewise.
14840 * stdio-common/vfprintf.c: Likewise.
14841
d0ac1324
WN
14842 * sysdeps/generic/math_private.h: Revert previous
14843 change.
14844
9290130a
WN
14845 * sysdeps/generic/math_private.h: Check whether
14846 HAVE_RM_CTX is defined with #ifdef rather
14847 than #if.
14848
afb466fc
WN
14849 * argp/argp-fmtstream.h: Check whether
14850 __STRICT_ANSI__ is defined with #ifdef rather
14851 than #if.
14852 * argp/argp.h: Likewise.
14853
f7efd7c3
WN
14854 * libio/genops.c: Check whether
14855 _IO_JUMPS_OFFSET is defined with #ifdef rather
14856 than #if.
14857 * libio/libioP.h: Likewise.
14858 * stdio-common/vfprintf.c: Likewise.
14859
53f1bed3
WN
14860 * sysdeps/generic/ldsodefs.h: Check whether
14861 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14862 than #if.
14863
788bba36
WN
14864 * nptl/sysdeps/pthread/pthread.h: Check
14865 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14866 its value.
14867
fcd89ebe
SP
148682014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14869
ae42bbc5
SP
14870 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14871 setting O_APPEND.
14872 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14873 test case.
14874
ea33158c
SP
14875 [BZ #16680]
14876 * libio/fileops.c (_IO_file_open): Seek to end of file but
14877 don't cache the offset.
14878 (get_file_offset): Remove function.
14879 (do_ftell): Use cached offset when available.
14880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14881 don't cache the offset.
14882 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14883 case.
14884 (do_one_test): Call it.
14885 (do_ftell_test): Fix up expected old offset for a+ mode.
14886 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14887 available.
14888
b1dbb426
SP
14889 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14890 up test status with function return status.
14891 (do_write_test): Likewise.
14892 (do_append_test): Likewise.
14893
fcd89ebe
SP
14894 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14895 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14896 Remove.
14897
9962a2d3
JM
148982014-03-17 Joseph Myers <joseph@codesourcery.com>
14899
14900 * math/gen-libm-test.pl (parse_args): Handle results specified for
14901 each rounding mode separately.
14902 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14903 tests and results from lrint_tonearest_test_data,
14904 lrint_towardzero_test_data, lrint_downward_test_data and
14905 lrint_upward_test_data.
14906 (lrint_test): Use ALL_RM_TEST.
14907 (lrint_tonearest_test_data): Remove.
14908 (lrint_test_tonearest): Likewise.
14909 (lrint_towardzero_test_data): Likewise.
14910 (lrint_test_towardzero): Likewise.
14911 (lrint_downward_test_data): Likewise.
14912 (lrint_test_downward): Likewise.
14913 (lrint_upward_test_data): Likewise.
14914 (lrint_test_upward): Likewise.
14915 (llrint_test_data): Merge in per-rounding-mode tests and results
14916 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14917 llrint_downward_test_data and llrint_upward_test_data.
14918 (llrint_test): Use ALL_RM_TEST.
14919 (llrint_tonearest_test_data): Remove.
14920 (llrint_test_tonearest): Likewise.
14921 (llrint_towardzero_test_data): Likewise.
14922 (llrint_test_towardzero): Likewise.
14923 (llrint_downward_test_data): Likewise.
14924 (llrint_test_downward): Likewise.
14925 (llrint_upward_test_data): Likewise.
14926 (llrint_test_upward): Likewise.
14927 (rint_test_data): Merge in per-rounding-mode tests and results
14928 from rint_tonearest_test_data, rint_towardzero_test_data,
14929 rint_downward_test_data and rint_upward_test_data. Add
14930 per-rounding-mode results for tests not in those arrays.
14931 (rint_test): Use ALL_RM_TEST.
14932 (rint_tonearest_test_data): Remove.
14933 (rint_test_tonearest): Likewise.
14934 (rint_towardzero_test_data): Likewise.
14935 (rint_test_towardzero): Likewise.
14936 (rint_downward_test_data): Likewise.
14937 (rint_test_downward): Likewise.
14938 (rint_upward_test_data): Likewise.
14939 (rint_test_upward): Likewise.
14940 (main): Don't call removed functions.
14941
5006148e
RM
149422014-03-14 Roland McGrath <roland@hack.frob.com>
14943
14944 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14945 "Compiled on ..." crapola. It is anti-useful.
14946
d6fe5e58
JM
149472014-03-14 Joseph Myers <joseph@codesourcery.com>
14948
14949 * scripts/evaluate-test.sh: Handle fourth argument to determine
14950 whether test run should stop on failure.
14951 * Makeconfig (stop-on-test-failure): New variable.
14952 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14953 $(stop-on-test-failure).
14954 * Makefile (tests): Give a summary of results from testing and
14955 exit with failure status if they include an ERROR or FAIL.
14956 (xtests): Likewise.
14957 * manual/install.texi (Configuring and compiling): Mention
14958 stop-on-test-failure=y.
14959 * INSTALL: Regenerated.
14960
498a2233
RM
149612014-03-14 Roland McGrath <roland@hack.frob.com>
14962
22dbc19d
RM
14963 * scripts/versionlist.awk: New file.
14964 * Makerules [$(build-shared) = yes]
14965 (postclean-generated): Add Versions.def, not Versions.def.v and
14966 Versions.def.v.i.
14967 ($(common-objpfx)Versions.def.v.i): Target removed.
14968 ($(common-objpfx)Versions.def): New target.
14969 ($(common-objpfx)Versions.all): Depend on that rather that
14970 $(common-objpfx)Versions.def.v.
14971 * Versions.def: File removed.
14972
498a2233
RM
14973 * Makeconfig (+gccwarn): Add -Wundef.
14974 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14975 a dl-sysdep.h breaking its contract.
14976 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14977 * include/stackinfo.h: New file.
14978 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14979 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14980 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14981 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14982 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14983 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14984 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14985 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14986 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14987 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14988 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14989 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14990 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14991 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14992 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14993
c7de5025
AZ
149942014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14995
14996 [BZ #16707]
14997 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14998 implementation.
14999 * math/libm-test.inc (round_test_data): Add more tests.
15000
98fb27a3
AZ
15001 [BZ #16706]
15002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15003 implementation.
15004 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15005
374f7f61
AZ
15006 [BZ #16701]
15007 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15008 implementation.
15009 * math/libm-test.inc (ceil_test_data): Add more tests.
15010
4655c291
AZ
15011 * math/libm-test.inc (trunc_test_data): Add more tests related to
15012 BZ#16414.
15013
d7329d4b
RM
150142014-03-14 Roland McGrath <roland@hack.frob.com>
15015
15016 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15017 with #if rather than #ifdef.
15018 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15019
aa4de9ce
L
150202014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15023 first. Disable AVX-512 GCC support if assembler doesn't support
15024 it.
15025 * sysdeps/x86_64/configure: Regenerated.
15026
2e03fae7
CD
150272014-03-13 Carlos O'Donell <carlos@redhat.com>
15028
15029 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15030 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15031 (__old_pthread_attr_setstack): Likewise.
15032 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15033 [!_STACK_GROWS_DOWN]: Likewise.
15034
43ca83ec
MF
150352014-03-13 Mike Frysinger <vapier@gentoo.org>
15036
15037 * config.make.in (have-bash2): Delete.
15038 * configure.ac (libc_cv_have_bash2): Delete.
15039 * configure: Regenerate.
15040 * elf/Makefile (common-ldd-rewrite): Rename to ...
15041 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15042 (sh-ldd-rewrite): Delete.
15043 (bash-ldd-rewrite): Delete.
15044 (have-bash2): Delete checks.
57f41c40
AS
15045 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15046 ldd-rewrite.
c66e48b4
MF
15047
15048 * config.make.in (have-ksh): Delete.
15049 (KSH): Delete.
15050 * configure.ac (libc_cv_have_ksh): Delete.
15051 * configure: Regenerate.
15052
b93834ef
MF
15053 * elf/Makefile: Delete $(have-ksh) check.
15054 ($(objpfx)sotruss): Change KSH to BASH.
15055 * elf/sotruss.ksh: Rename to ...
15056 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15057 function style to match POSIX. Drop ksh vim mode setting.
15058
f3a4632a
MF
15059 * manual/time.texi (Specifying the Time Zone with TZ): Change
15060 Tuesday to Thursday.
15061
5896c8bd
MF
15062 * debug/tst-longjmp_chk2.c: Update header comment.
15063 (stackoverflow_handler): Add comment. Call assert on pass value.
15064
2d63a517
IZ
150652014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15066
7e54fd04 15067 [BZ #16194]
2d63a517
IZ
15068 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15069 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15070 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15071 (La_x86_64_vector): Add zmm.
15072 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15073 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15074 ($(objpfx)tst-audit10): New target.
15075 ($(objpfx)tst-audit10.out): Likewise.
15076 (tst-audit10-ENV): New.
15077 (AVX512-CFLAGS): Likewise.
15078 (CFLAGS-tst-audit10.c): Likewise.
15079 (CFLAGS-tst-auditmod10a.c): Likewise.
15080 (CFLAGS-tst-auditmod10b.c): Likewise.
15081 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15082 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15083 * sysdeps/x86_64/configure: Regenerated.
15084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15085 AVX-512 zmm register support.
15086 (_dl_x86_64_save_sse): Likewise.
15087 (_dl_x86_64_restore_sse): Likewise.
15088 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15089 size vector registers.
15090 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15091 (ZMM_SIZE): Likewise.
15092 * sysdeps/x86_64/tst-audit10.c: New file.
15093 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15094 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15095
44c4e5d5
RM
150962014-03-13 Roland McGrath <roland@hack.frob.com>
15097
15098 * configure.ac (HAVE_EHDR_START): New check.
15099 * configure: Regenerated.
15100 * config.h.in (HAVE_EHDR_START): New #undef.
15101 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15102 assuming the lowest-addressed segment maps the start of the file.
15103
acd6e389
JM
151042014-03-13 Joseph Myers <joseph@codesourcery.com>
15105
15106 * INSTALL: Regenerated.
15107
6f918f36
WN
151082014-03-13 Will Newton <will.newton@linaro.org>
15109
15110 * manual/setjmp.texi (System V contexts): Improve
15111 clarity and grammar of documentation.
15112
798212a0
PP
151132014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15114
15115 [BZ #16381]
798212a0 15116 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15117 (tests-pie): Add tst-pie2.
798212a0
PP
15118 * elf/tst-pie2.c: New file.
15119 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15120 for ET_EXEC.
15121 * elf/rtld.c (map_doit): Load executable as lt_executable.
15122 (dl_main): Likewise.
15123
abe6d90c
JM
151242014-03-12 Joseph Myers <joseph@codesourcery.com>
15125
15126 [BZ #16642]
15127 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15128 (__ASSUME_PSELECT): Undefine.
15129
dd3946c6
AZ
151302014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15131
15132 [BZ #16689]
15133 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15134 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15135 static build.
15136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15137 selector for static builds.
15138
c44496df
SP
151392014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15140
15141 [BZ #16695]
15142 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15143 key in the buffer.
15144
27c7220a
AZ
151452014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15146
57f41c40
AS
15147 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15148 IFUNC selector for static builds.
27c7220a 15149
600fa361
JM
151502014-03-11 Joseph Myers <joseph@codesourcery.com>
15151
76c96cf7
JM
15152 * sysdeps/mips/math_private.h [__mips_hard_float]
15153 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15154 libc_feresetround_mips_ctx.
15155 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15156 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15157 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15158
600fa361
JM
15159 [BZ #16677]
15160 * math/s_nextafter.c (__nextafter): Do not return value from
15161 overflowing computation.
15162 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15163 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15165 Likewise.
15166 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15167 Likewise.
15168 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15169 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15170
d7706c32
RM
151712014-03-11 Roland McGrath <roland@hack.frob.com>
15172
15173 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15174 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15175 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15176 the new mov targetting sp.
15177
4facea47
AZ
151782014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15179
15180 [BZ #16683]
15181 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15182 Define it for static builds as well.
15183 (NO_BZERO_IMPL): Likewise.
15184
e65caf1f
VR
151852014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15186
15187 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15188 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15189 multiarch strspn for PPC64.
15190 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15191 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15193 (__libc_ifunc_impl_list): Likewise.
15194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15195 multiarch optimizations
15196 * string/strspn.c (strspn): Using macro to redefine symbol name.
15197
ba9cc071
AZ
151982014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15199 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15200
15201 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15202 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15203 multiarch strncat for PPC64.
15204 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15205 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15207 (__libc_ifunc_impl_list): Likewise.
15208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15209 multiarch optimizations
15210
8b4ff974
SP
152112014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15212
15213 [BZ #16639]
15214 * nscd/nscd.service: Make service type forking.
15215
54b46a4b
AZ
152162014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15217
15218 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15219 sign in non default rounding modes.
15220 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15221
e9996ef7
JM
152222014-03-08 Joseph Myers <joseph@codesourcery.com>
15223
15224 * math/libm-test.inc (ALL_RM_TEST): New macro.
15225 (ceil_test): Use ALL_RM_TEST.
15226 (cimag_test): Likewise.
15227 (conj_test): Likewise.
15228 (copysign_test): Likewise.
15229 (cproj_test): Likewise.
15230 (creal_test): Likewise.
15231 (fabs_test): Likewise.
15232 (floor_test): Likewise.
15233 (fmax_test): Likewise.
15234 (fmin_test): Likewise.
15235 (fmod_test): Likewise.
15236 (fpclassify_test): Likewise.
15237 (frexp_test): Likewise.
15238 (ilogb_test): Likewise.
15239 (isfinite_test): Likewise.
15240 (finite_test): Likewise.
15241 (isgreater_test): Likewise.
15242 (isgreaterequal_test): Likewise.
15243 (isinf_test): Likewise.
15244 (isless_test): Likewise.
15245 (islessequal_test): Likewise.
15246 (islessgreater_test): Likewise.
15247 (isnan_test): Likewise.
15248 (isnormal_test): Likewise.
15249 (issignaling_test): Likewise.
15250 (isunordered_test): Likewise.
15251 (logb_test): Likewise.
15252 (logb_downward_test_data): Remove.
15253 (logb_test_downward): Likewise.
15254 (lround_test): Use ALL_RM_TEST.
15255 (llround_test): Likewise.
15256 (modf_test): Likewise.
15257 (nexttoward_test): Likewise.
15258 (remainder_test): Likewise.
15259 (drem_test): Likewise.
15260 (remainder_tonearest_test_data): Likewise.
15261 (remainder_test_tonearest): Likewise.
15262 (drem_test_tonearest): Likewise.
15263 (remainder_towardzero_test_data): Likewise.
15264 (remainder_test_towardzero): Likewise.
15265 (drem_test_towardzero): Likewise.
15266 (remainder_downward_test_data): Likewise.
15267 (remainder_test_downward): Likewise.
15268 (drem_test_downward): Likewise.
15269 (remainder_upward_test_data): Likewise.
15270 (remainder_test_upward): Likewise.
15271 (drem_test_upward): Likewise.
15272 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15273 (round_test): Use ALL_RM_TEST.
15274 (signbit_test): Likewise.
15275 (trunc_test): Likewise.
15276 (significand_test): Likewise.
15277 (main): Don't call removed functions.
15278
bc61d27c
JM
152792014-03-07 Joseph Myers <joseph@codesourcery.com>
15280
5c780849
JM
15281 [BZ #16674]
15282 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15283 || __USE_XOPEN2K8].
15284 (ILL_ILLOPN): Likewise.
15285 (ILL_ILLADR): Likewise.
15286 (ILL_ILLTRP): Likewise.
15287 (ILL_PRVOPC): Likewise.
15288 (ILL_PRVREG): Likewise.
15289 (ILL_COPROC): Likewise.
15290 (ILL_BADSTK): Likewise.
15291 (FPE_INTDIV): Likewise.
15292 (FPE_INTOVF): Likewise.
15293 (FPE_FLTDIV): Likewise.
15294 (FPE_FLTOVF): Likewise.
15295 (FPE_FLTUND): Likewise.
15296 (FPE_FLTRES): Likewise.
15297 (FPE_FLTINV): Likewise.
15298 (FPE_FLTSUB): Likewise.
15299 (SEGV_MAPERR): Likewise.
15300 (SEGV_ACCERR): Likewise.
15301 (BUS_ADRALN): Likewise.
15302 (BUS_ADRERR): Likewise.
15303 (BUS_OBJERR): Likewise.
15304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15305 (TRAP_TRACE): Likewise.
15306 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15307 __USE_XOPEN2K8].
15308 (CLD_KILLED): Likewise.
15309 (CLD_DUMPED): Likewise.
15310 (CLD_TRAPPED): Likewise.
15311 (CLD_STOPPED): Likewise.
15312 (CLD_CONTINUED): Likewise.
15313 (POLL_IN): Likewise.
15314 (POLL_OUT): Likewise.
15315 (POLL_MSG): Likewise.
15316 (POLL_ERR): Likewise.
15317 (POLL_PRI): Likewise.
15318 (POLL_HUP): Likewise.
15319 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15320 Likewise.
15321 (ILL_ILLOPN): Likewise.
15322 (ILL_ILLADR): Likewise.
15323 (ILL_ILLTRP): Likewise.
15324 (ILL_PRVOPC): Likewise.
15325 (ILL_PRVREG): Likewise.
15326 (ILL_COPROC): Likewise.
15327 (ILL_BADSTK): Likewise.
15328 (FPE_INTDIV): Likewise.
15329 (FPE_INTOVF): Likewise.
15330 (FPE_FLTDIV): Likewise.
15331 (FPE_FLTOVF): Likewise.
15332 (FPE_FLTUND): Likewise.
15333 (FPE_FLTRES): Likewise.
15334 (FPE_FLTINV): Likewise.
15335 (FPE_FLTSUB): Likewise.
15336 (SEGV_MAPERR): Likewise.
15337 (SEGV_ACCERR): Likewise.
15338 (BUS_ADRALN): Likewise.
15339 (BUS_ADRERR): Likewise.
15340 (BUS_OBJERR): Likewise.
15341 (BUS_MCEERR_AR): Likewise.
15342 (BUS_MCEERR_AO): Likewise.
15343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15344 (TRAP_TRACE): Likewise.
15345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15346 __USE_XOPEN2K8].
15347 (CLD_KILLED): Likewise.
15348 (CLD_DUMPED): Likewise.
15349 (CLD_TRAPPED): Likewise.
15350 (CLD_STOPPED): Likewise.
15351 (CLD_CONTINUED): Likewise.
15352 (POLL_IN): Likewise.
15353 (POLL_OUT): Likewise.
15354 (POLL_MSG): Likewise.
15355 (POLL_ERR): Likewise.
15356 (POLL_PRI): Likewise.
15357 (POLL_HUP): Likewise.
15358 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15359 (ILL_ILLOPN): Likewise.
15360 (ILL_ILLADR): Likewise.
15361 (ILL_ILLTRP): Likewise.
15362 (ILL_PRVOPC): Likewise.
15363 (ILL_PRVREG): Likewise.
15364 (ILL_COPROC): Likewise.
15365 (ILL_BADSTK): Likewise.
15366 (FPE_INTDIV): Likewise.
15367 (FPE_INTOVF): Likewise.
15368 (FPE_FLTDIV): Likewise.
15369 (FPE_FLTOVF): Likewise.
15370 (FPE_FLTUND): Likewise.
15371 (FPE_FLTRES): Likewise.
15372 (FPE_FLTINV): Likewise.
15373 (FPE_FLTSUB): Likewise.
15374 (SEGV_MAPERR): Likewise.
15375 (SEGV_ACCERR): Likewise.
15376 (BUS_ADRALN): Likewise.
15377 (BUS_ADRERR): Likewise.
15378 (BUS_OBJERR): Likewise.
15379 (BUS_MCEERR_AR): Likewise.
15380 (BUS_MCEERR_AO): Likewise.
15381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15382 (TRAP_TRACE): Likewise.
15383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15384 __USE_XOPEN2K8].
15385 (CLD_KILLED): Likewise.
15386 (CLD_DUMPED): Likewise.
15387 (CLD_TRAPPED): Likewise.
15388 (CLD_STOPPED): Likewise.
15389 (CLD_CONTINUED): Likewise.
15390 (POLL_IN): Likewise.
15391 (POLL_OUT): Likewise.
15392 (POLL_MSG): Likewise.
15393 (POLL_ERR): Likewise.
15394 (POLL_PRI): Likewise.
15395 (POLL_HUP): Likewise.
15396 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15397 Likewise.
15398 (ILL_ILLOPN): Likewise.
15399 (ILL_ILLADR): Likewise.
15400 (ILL_ILLTRP): Likewise.
15401 (ILL_PRVOPC): Likewise.
15402 (ILL_PRVREG): Likewise.
15403 (ILL_COPROC): Likewise.
15404 (ILL_BADSTK): Likewise.
15405 (ILL_BADIADDR): Likewise.
15406 (ILL_BREAK): Likewise.
15407 (FPE_INTDIV): Likewise.
15408 (FPE_INTOVF): Likewise.
15409 (FPE_FLTDIV): Likewise.
15410 (FPE_FLTOVF): Likewise.
15411 (FPE_FLTUND): Likewise.
15412 (FPE_FLTRES): Likewise.
15413 (FPE_FLTINV): Likewise.
15414 (FPE_FLTSUB): Likewise.
15415 (FPE_DECOVF): Likewise.
15416 (FPE_DECDIV): Likewise.
15417 (FPE_DECERR): Likewise.
15418 (FPE_INVASC): Likewise.
15419 (FPE_INVDEC): Likewise.
15420 (SEGV_MAPERR): Likewise.
15421 (SEGV_ACCERR): Likewise.
15422 (SEGV_PSTKOVF): Likewise.
15423 (BUS_ADRALN): Likewise.
15424 (BUS_ADRERR): Likewise.
15425 (BUS_OBJERR): Likewise.
15426 (BUS_MCEERR_AR): Likewise.
15427 (BUS_MCEERR_AO): Likewise.
15428 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15429 (TRAP_TRACE): Likewise.
15430 (TRAP_BRANCH): Likewise.
15431 (TRAP_HWBKPT): Likewise.
15432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15433 __USE_XOPEN2K8].
15434 (CLD_KILLED): Likewise.
15435 (CLD_DUMPED): Likewise.
15436 (CLD_TRAPPED): Likewise.
15437 (CLD_STOPPED): Likewise.
15438 (CLD_CONTINUED): Likewise.
15439 (POLL_IN): Likewise.
15440 (POLL_OUT): Likewise.
15441 (POLL_MSG): Likewise.
15442 (POLL_ERR): Likewise.
15443 (POLL_PRI): Likewise.
15444 (POLL_HUP): Likewise.
15445 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15446 (ILL_ILLOPN): Likewise.
15447 (ILL_ILLADR): Likewise.
15448 (ILL_ILLTRP): Likewise.
15449 (ILL_PRVOPC): Likewise.
15450 (ILL_PRVREG): Likewise.
15451 (ILL_COPROC): Likewise.
15452 (ILL_BADSTK): Likewise.
15453 (FPE_INTDIV): Likewise.
15454 (FPE_INTOVF): Likewise.
15455 (FPE_FLTDIV): Likewise.
15456 (FPE_FLTOVF): Likewise.
15457 (FPE_FLTUND): Likewise.
15458 (FPE_FLTRES): Likewise.
15459 (FPE_FLTINV): Likewise.
15460 (FPE_FLTSUB): Likewise.
15461 (SEGV_MAPERR): Likewise.
15462 (SEGV_ACCERR): Likewise.
15463 (BUS_ADRALN): Likewise.
15464 (BUS_ADRERR): Likewise.
15465 (BUS_OBJERR): Likewise.
15466 (BUS_MCEERR_AR): Likewise.
15467 (BUS_MCEERR_AO): Likewise.
15468 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15469 (TRAP_TRACE): Likewise.
15470 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15471 __USE_XOPEN2K8].
15472 (CLD_KILLED): Likewise.
15473 (CLD_DUMPED): Likewise.
15474 (CLD_TRAPPED): Likewise.
15475 (CLD_STOPPED): Likewise.
15476 (CLD_CONTINUED): Likewise.
15477 (POLL_IN): Likewise.
15478 (POLL_OUT): Likewise.
15479 (POLL_MSG): Likewise.
15480 (POLL_ERR): Likewise.
15481 (POLL_PRI): Likewise.
15482 (POLL_HUP): Likewise.
15483 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15484 (ILL_ILLOPN): Likewise.
15485 (ILL_ILLADR): Likewise.
15486 (ILL_ILLTRP): Likewise.
15487 (ILL_PRVOPC): Likewise.
15488 (ILL_PRVREG): Likewise.
15489 (ILL_COPROC): Likewise.
15490 (ILL_BADSTK): Likewise.
15491 (FPE_INTDIV): Likewise.
15492 (FPE_INTOVF): Likewise.
15493 (FPE_FLTDIV): Likewise.
15494 (FPE_FLTOVF): Likewise.
15495 (FPE_FLTUND): Likewise.
15496 (FPE_FLTRES): Likewise.
15497 (FPE_FLTINV): Likewise.
15498 (FPE_FLTSUB): Likewise.
15499 (SEGV_MAPERR): Likewise.
15500 (SEGV_ACCERR): Likewise.
15501 (BUS_ADRALN): Likewise.
15502 (BUS_ADRERR): Likewise.
15503 (BUS_OBJERR): Likewise.
15504 (BUS_MCEERR_AR): Likewise.
15505 (BUS_MCEERR_AO): Likewise.
15506 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15507 (TRAP_TRACE): Likewise.
15508 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15509 __USE_XOPEN2K8].
15510 (CLD_KILLED): Likewise.
15511 (CLD_DUMPED): Likewise.
15512 (CLD_TRAPPED): Likewise.
15513 (CLD_STOPPED): Likewise.
15514 (CLD_CONTINUED): Likewise.
15515 (POLL_IN): Likewise.
15516 (POLL_OUT): Likewise.
15517 (POLL_MSG): Likewise.
15518 (POLL_ERR): Likewise.
15519 (POLL_PRI): Likewise.
15520 (POLL_HUP): Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15522 (ILL_ILLOPN): Likewise.
15523 (ILL_ILLADR): Likewise.
15524 (ILL_ILLTRP): Likewise.
15525 (ILL_PRVOPC): Likewise.
15526 (ILL_PRVREG): Likewise.
15527 (ILL_COPROC): Likewise.
15528 (ILL_BADSTK): Likewise.
15529 (FPE_INTDIV): Likewise.
15530 (FPE_INTOVF): Likewise.
15531 (FPE_FLTDIV): Likewise.
15532 (FPE_FLTOVF): Likewise.
15533 (FPE_FLTUND): Likewise.
15534 (FPE_FLTRES): Likewise.
15535 (FPE_FLTINV): Likewise.
15536 (FPE_FLTSUB): Likewise.
15537 (SEGV_MAPERR): Likewise.
15538 (SEGV_ACCERR): Likewise.
15539 (BUS_ADRALN): Likewise.
15540 (BUS_ADRERR): Likewise.
15541 (BUS_OBJERR): Likewise.
15542 (BUS_MCEERR_AR): Likewise.
15543 (BUS_MCEERR_AO): Likewise.
15544 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15545 (TRAP_TRACE): Likewise.
15546 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15547 __USE_XOPEN2K8].
15548 (CLD_KILLED): Likewise.
15549 (CLD_DUMPED): Likewise.
15550 (CLD_TRAPPED): Likewise.
15551 (CLD_STOPPED): Likewise.
15552 (CLD_CONTINUED): Likewise.
15553 (POLL_IN): Likewise.
15554 (POLL_OUT): Likewise.
15555 (POLL_MSG): Likewise.
15556 (POLL_ERR): Likewise.
15557 (POLL_PRI): Likewise.
15558 (POLL_HUP): Likewise.
15559 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15560 (ILL_ILLOPN): Likewise.
15561 (ILL_ILLADR): Likewise.
15562 (ILL_ILLTRP): Likewise.
15563 (ILL_PRVOPC): Likewise.
15564 (ILL_PRVREG): Likewise.
15565 (ILL_COPROC): Likewise.
15566 (ILL_BADSTK): Likewise.
15567 (ILL_DBLFLT): Likewise.
15568 (ILL_HARDWALL): Likewise.
15569 (FPE_INTDIV): Likewise.
15570 (FPE_INTOVF): Likewise.
15571 (FPE_FLTDIV): Likewise.
15572 (FPE_FLTOVF): Likewise.
15573 (FPE_FLTUND): Likewise.
15574 (FPE_FLTRES): Likewise.
15575 (FPE_FLTINV): Likewise.
15576 (FPE_FLTSUB): Likewise.
15577 (SEGV_MAPERR): Likewise.
15578 (SEGV_ACCERR): Likewise.
15579 (BUS_ADRALN): Likewise.
15580 (BUS_ADRERR): Likewise.
15581 (BUS_OBJERR): Likewise.
15582 (BUS_MCEERR_AR): Likewise.
15583 (BUS_MCEERR_AO): Likewise.
15584 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15585 (TRAP_TRACE): Likewise.
15586 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15587 __USE_XOPEN2K8].
15588 (CLD_KILLED): Likewise.
15589 (CLD_DUMPED): Likewise.
15590 (CLD_TRAPPED): Likewise.
15591 (CLD_STOPPED): Likewise.
15592 (CLD_CONTINUED): Likewise.
15593 (POLL_IN): Likewise.
15594 (POLL_OUT): Likewise.
15595 (POLL_MSG): Likewise.
15596 (POLL_ERR): Likewise.
15597 (POLL_PRI): Likewise.
15598 (POLL_HUP): Likewise.
15599 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15600 (ILL_ILLOPN): Likewise.
15601 (ILL_ILLADR): Likewise.
15602 (ILL_ILLTRP): Likewise.
15603 (ILL_PRVOPC): Likewise.
15604 (ILL_PRVREG): Likewise.
15605 (ILL_COPROC): Likewise.
15606 (ILL_BADSTK): Likewise.
15607 (FPE_INTDIV): Likewise.
15608 (FPE_INTOVF): Likewise.
15609 (FPE_FLTDIV): Likewise.
15610 (FPE_FLTOVF): Likewise.
15611 (FPE_FLTUND): Likewise.
15612 (FPE_FLTRES): Likewise.
15613 (FPE_FLTINV): Likewise.
15614 (FPE_FLTSUB): Likewise.
15615 (SEGV_MAPERR): Likewise.
15616 (SEGV_ACCERR): Likewise.
15617 (BUS_ADRALN): Likewise.
15618 (BUS_ADRERR): Likewise.
15619 (BUS_OBJERR): Likewise.
15620 (BUS_MCEERR_AR): Likewise.
15621 (BUS_MCEERR_AO): Likewise.
15622 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15623 (TRAP_TRACE): Likewise.
15624 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15625 __USE_XOPEN2K8].
15626 (CLD_KILLED): Likewise.
15627 (CLD_DUMPED): Likewise.
15628 (CLD_TRAPPED): Likewise.
15629 (CLD_STOPPED): Likewise.
15630 (CLD_CONTINUED): Likewise.
15631 (POLL_IN): Likewise.
15632 (POLL_OUT): Likewise.
15633 (POLL_MSG): Likewise.
15634 (POLL_ERR): Likewise.
15635 (POLL_PRI): Likewise.
15636 (POLL_HUP): Likewise.
15637 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15638 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15639
bc61d27c
JM
15640 [BZ #16670]
15641 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15642 before #include of <time.h>.
15643 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15644 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15645 (test-xfail-UNIX98/sched.h/conform): Likewise.
15646
302949e2
MS
156472014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15648
15649 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15650 error absence of trapping exception support.
15651 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15652
a00f522a
JM
156532014-03-07 Joseph Myers <joseph@codesourcery.com>
15654
6f99f280
JM
15655 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15656 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15657 * timezone/Makefile (testdata): Move definition above include of
15658 Rules.
15659 (test-zones): New variable.
15660 (tests-special): Add zone files.
15661 (build-testdata): Use $(evaluate-test).
15662
0b20a9e8
JM
15663 * elf/Makefile (tests-special): Rename tests to end with .out.
15664 ($(objpfx)noload-mem): Likewise.
15665 ($(objpfx)tst-leaks1-mem): Likewise.
15666 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15667 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15668 $(objpfx)test-iconvconfig.out.
15669 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15670 set -e inside subshell and redirect output to file.
15671 * iconvdata/Makefile (generated): Rename tests to end with .out.
15672 Correct type.
15673 (tests-special): Rename tests to end with .out.
15674 ($(objpfx)mtrace-tst-loading): Likewise.
15675 * intl/Makefile (generated): Likewise.
15676 (tests-special): Likewise.
15677 ($(objpfx)mtrace-tst-gettext): Likewise.
15678 * misc/Makefile (generated): Likewise.
15679 (tests-special): Likewise.
15680 ($(objpfx)tst-error1-mem): Likewise.
15681 * nptl/Makefile (tests-special): Likewise.
15682 ($(objpfx)tst-stack3-mem): Likewise.
15683 (generated): Likewise.
15684 * posix/Makefile (generated): Likewise.
15685 (tests-special): Likewise.
15686 (xtests-special): Likewise.
15687 ($(objpfx)tst-fnmatch-mem): Likewise.
15688 ($(objpfx)bug-regex2-mem): Likewise.
15689 ($(objpfx)bug-regex14-mem): Likewise.
15690 ($(objpfx)bug-regex21-mem): Likewise.
15691 ($(objpfx)bug-regex31-mem): Likewise.
15692 ($(objpfx)tst-vfork3-mem): Likewise.
15693 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15694 ($(objpfx)tst-pcre-mem): Likewise.
15695 ($(objpfx)tst-boost-mem): Likewise.
15696 ($(objpfx)bug-ga2-mem): Likewise.
15697 ($(objpfx)bug-glob2-mem): Likewise.
15698 * resolv/Makefile (generate): Likewise.
15699 (tests-special): Likewise.
15700 (xtests-special): Likewise.
15701 (generated): Likewise.
15702 ($(objpfx)mtrace-tst-leaks): Likewise.
15703 ($(objpfx)mtrace-tst-leaks2): Likewise.
15704
265d52ab
JM
15705 * scripts/merge-test-results.sh: New file.
15706 * Makefile (tests-special-notdir): New variable.
15707 (tests): Run merge-test-results.sh.
15708 (xtests): Likewise.
15709 * Rules (tests-special-notdir): New variable.
15710 (xtests-special-notdir): Likewise.
15711 (tests): Run merge-test-results.sh
15712 (xtests): Likewise.
15713
54ee292d
JM
15714 * Makeconfig (test-xfail-name): New variable.
15715 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15716 compute variable name for expected failures.
15717 * conform/Makefile (conformtest-headers-data): New variable.
15718 (conformtest-standards): Likewise.
15719 (conformtest-headers-ISO): Likewise.
15720 (conformtest-headers-ISO99): Likewise.
15721 (conformtest-headers-ISO11): Likewise.
15722 (conformtest-headers-POSIX): Likewise.
15723 (conformtest-headers-XPG3): Likewise.
15724 (conformtest-headers-XPG4): Likewise.
15725 (conformtest-headers-UNIX98): Likewise.
15726 (conformtest-headers-XOPEN2K): Likewise.
15727 (conformtest-headers-POSIX2008): Likewise.
15728 (conformtest-headers-XOPEN2K8): Likewise.
15729 (conformtest-header-list-base): Likewise.
15730 (conformtest-header-list-tests): Likewise.
15731 (conformtest-header-base): Likewise.
15732 (conformtest-header-tests): Likewise.
15733 (tests-special): Add $(conformtest-header-list-tests). If
15734 [$(fast-check) && !$(cross-compiling)], add
15735 $(conformtest-header-tests) instead of
15736 $(objpfx)run-conformtest.out.
15737 (generated): Add $(conformtest-header-list-base). If
15738 [$(fast-check) && !$(cross-compiling)], add
15739 $(conformtest-header-base). Remove previous setting.
15740 ($(conformtest-header-list-tests)): New target.
15741 (test-xfail-run-conformtest): Remove variable.
15742 ($(objpfx)run-conformtest.out): Remove target.
15743 (test-xfail-ISO11/complex.h/conform): New variable.
15744 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15745 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15746 (test-xfail-XPG3/varargs.h/conform): Likewise.
15747 (test-xfail-XPG4/varargs.h/conform): Likewise.
15748 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15749 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15750 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15751 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15752 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15753 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15754 (test-xfail-XPG3/ftw.h/conform): Likewise.
15755 (test-xfail-XPG3/grp.h/conform): Likewise.
15756 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15757 (test-xfail-XPG3/limits.h/conform): Likewise.
15758 (test-xfail-XPG3/pwd.h/conform): Likewise.
15759 (test-xfail-XPG3/search.h/conform): Likewise.
15760 (test-xfail-XPG3/signal.h/conform): Likewise.
15761 (test-xfail-XPG3/stdio.h/conform): Likewise.
15762 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15763 (test-xfail-XPG3/string.h/conform): Likewise.
15764 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15765 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15766 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15767 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15768 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15769 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15770 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15771 (test-xfail-XPG3/termios.h/conform): Likewise.
15772 (test-xfail-XPG3/time.h/conform): Likewise.
15773 (test-xfail-XPG3/unistd.h/conform): Likewise.
15774 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15775 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15776 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15777 (test-xfail-XPG4/netdb.h/conform): Likewise.
15778 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15779 (test-xfail-XPG4/signal.h/conform): Likewise.
15780 (test-xfail-XPG4/stdio.h/conform): Likewise.
15781 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15782 (test-xfail-XPG4/stropts.h/conform): Likewise.
15783 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15784 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15785 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15786 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15787 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15788 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15789 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15790 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15791 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15792 (test-xfail-XPG4/termios.h/conform): Likewise.
15793 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15794 (test-xfail-XPG4/unistd.h/conform): Likewise.
15795 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15796 (test-xfail-POSIX/sched.h/conform): Likewise.
15797 (test-xfail-POSIX/signal.h/conform): Likewise.
15798 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15799 (test-xfail-POSIX/tar.h/conform): Likewise.
15800 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15801 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15802 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15803 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15804 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15805 (test-xfail-UNIX98/sched.h/conform): Likewise.
15806 (test-xfail-UNIX98/signal.h/conform): Likewise.
15807 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15808 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15809 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15810 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15811 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15812 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15813 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15814 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15815 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15816 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15817 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15818 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15819 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15820 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15821 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15822 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15823 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15824 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15825 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15826 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15827 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15828 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15829 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15830 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15831 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15832 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15833 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15834 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15835 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15836 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15837 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15838 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15839 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15840 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15841 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15842 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15843 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15844 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15845 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15846 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15847 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15848 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15849 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15850 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15851 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15852 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15853 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15854 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15855 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15856 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15857 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15858 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15859 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15860 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15861 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15862 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15863 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15864 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15865 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15866 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15867 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15868 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15869 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15870 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15871 (conformtest-cc-flags): Likewise.
15872 ($(conformtest-header-tests): New target.
15873 * conform/check-header-lists.sh: New file.
15874 * conform/run-conformtest.sh: Remove.
15875
a00f522a
JM
15876 * conform/conformtest.pl: Allow ' and \ in values given for
15877 constants.
15878 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15879 inclusion.
15880 [POSIX] (sys/types.h): Likewise.
15881 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15882 inclusion.
15883 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15884 inclusion.
15885 * conform/data/signal.h-data (SIGIO): Remove expectation.
15886 [XPG3] (SIGBUS): Do not expect.
15887 [POSIX || XPG3] (SIGPOLL): Likewise.
15888 [POSIX || XPG3] (SIGPROF): Likewise.
15889 [POSIX || XPG3] (SIGSYS): Likewise.
15890 [XPG3] (SIGTRAP): Likewise.
15891 [POSIX || XPG3] (SIGURG): Likewise.
15892 [POSIX || XPG3] (SIGVTALRM): Likewise.
15893 [POSIX || XPG3] (SIGXCPU): Likewise.
15894 [POSIX || XPG3] (SIGXFSZ): Likewise.
15895 [POSIX] (SA_SIGINFO): Expect.
15896 [XPG3] (siginfo_t): Do not expect type or contents.
15897 [POSIX] (si_pid): Do not expect element.
15898 [POSIX] (si_uid): Likewise.
15899 [POSIX] (si_addr): Likewise.
15900 [POSIX] (si_status): Likewise.
15901 [POSIX] (si_band): Likewise.
15902 [XPG4] (si_value): Likewise.
15903 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15904 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15905 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15906 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15907 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15908 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15909 [POSIX || XPG3] (ILL_COPROC): Likewise.
15910 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15911 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15912 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15913 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15914 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15915 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15916 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15917 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15918 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15919 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15920 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15921 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15922 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15923 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15924 [POSIX || XPG3] (CLD_EXITED): Likewise.
15925 [POSIX || XPG3] (CLD_KILLED): Likewise.
15926 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15927 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15928 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15929 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15930 [POSIX || XPG3] (POLL_IN): Likewise.
15931 [POSIX || XPG3] (POLL_OUT): Likewise.
15932 [POSIX || XPG3] (POLL_MSG): Likewise.
15933 [POSIX || XPG3] (POLL_ERR): Likewise.
15934 [POSIX || XPG3] (POLL_PRI): Likewise.
15935 [POSIX || XPG3] (POLL_HUP): Likewise.
15936 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15937 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15938 (SIG*): Do not allow.
15939 [XPG3] (si_*): Likewise.
15940 [XPG3] (SI_*): Likewise.
15941 [XPG3 || XPG4] (sigev_*): Likewise.
15942 [XPG3 || XPG4] (SIGEV_*): Likewise.
15943 [XPG3 || XPG4] (sival_*): Likewise.
15944 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15945 [POSIX || XPG3] (BUS_*): Likewise.
15946 [POSIX || XPG3] (CLD_*): Likewise.
15947 [POSIX || XPG3] (FPE_*): Likewise.
15948 [POSIX || XPG3] (ILL_*): Likewise.
15949 [POSIX || XPG3] (POLL_*): Likewise.
15950 [POSIX || XPG3] (SEGV_*): Likewise.
15951 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15952 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15953 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15954 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15955 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15956 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15957 Specify type and value.
15958 (TVERSLEN): Likewise.
15959 (REGTYPE): Likewise.
15960 (AREGTYPE): Likewise.
15961 (LNKTYPE): Likewise.
15962 (SYMTYPE): Likewise.
15963 (CHRTYPE): Likewise.
15964 (BLKTYPE): Likewise.
15965 (DIRTYPE): Likewise.
15966 (FIFOTYPE): Likewise.
15967 (CONTTYPE): Likewise.
15968 (TSUID): Likewise.
15969 (TSGID): Likewise.
15970 (TSVTX): Likewise.
15971 (TUREAD): Likewise.
15972 (TUWRITE): Likewise.
15973 (TUEXEC): Likewise.
15974 (TGREAD): Likewise.
15975 (TGWRITE): Likewise.
15976 (TGEXEC): Likewise.
15977 (TOREAD): Likewise.
15978 (TOWRITE): Likewise.
15979 (TOEXEC): Likewise.
15980 [POSIX] (TSVTX): Expect constant.
15981
aa97dee1
JM
159822014-03-06 Joseph Myers <joseph@codesourcery.com>
15983
f214606a
JM
15984 * Makefile (tests): Change dependencies to ....
15985 (tests-special): ... additions to this variable.
15986 (tests): Depend on $(tests-special).
15987 * Makerules (check-abi-list): New variable.
15988 (check-abi): Depend on $(check-abi-list).
15989 [$(subdir) = elf] (tests-special): Add
15990 $(objpfx)check-abi-libc.out.
15991 [$(build-shared) = yes && subdir] (tests-special): Add
15992 $(check-abi-list).
15993 [$(build-shared) = yes && subdir] (tests): Do not depend on
15994 check-abi.
15995 * Rules (tests): Depend on $(tests-special).
15996 (xtests): Depend on $(xtests-special).
15997 * catgets/Makefile (tests): Change dependencies to ....
15998 (tests-special): ... additions to this variable.
15999 * conform/Makefile (tests): Change dependencies to ....
16000 (tests-special): ... additions to this variable.
16001 * elf/Makefile (tests): Change dependencies to ....
16002 (tests-special): ... additions to this variable.
16003 * grp/Makefile (tests): Change dependencies to ....
16004 (tests-special): ... additions to this variable.
16005 * iconv/Makefile (xtests): Change dependencies to ....
16006 (xtests-special): ... additions to this variable.
16007 * iconvdata/Makefile (tests): Change dependencies to ....
16008 (tests-special): ... additions to this variable.
16009 * intl/Makefile (tests): Change dependencies to ....
16010 (tests-special): ... additions to this variable. Also add
16011 $(objpfx)tst-gettext.out.
16012 * io/Makefile (tests): Change dependencies to ....
16013 (tests-special): ... additions to this variable.
16014 * libio/Makefile (tests): Change dependencies to ....
16015 (tests-special): ... additions to this variable.
16016 * malloc/Makefile (tests): Change dependencies to ....
16017 (tests-special): ... additions to this variable.
16018 * misc/Makefile (tests): Change dependencies to ....
16019 (tests-special): ... additions to this variable.
16020 * nptl/Makefile (tests): Change dependencies to ....
16021 (tests-special): ... additions to this variable.
16022 * nptl_db/Makefile (tests): Change dependencies to ....
16023 (tests-special): ... additions to this variable.
16024 * posix/Makefile (tests): Change dependencies to ....
16025 (tests-special): ... additions to this variable.
16026 (xtests): Change dependencies to ....
16027 (xtests-special): ... additions to this variable.
16028 * resolv/Makefile (tests): Change dependencies to ....
16029 (tests-special): ... additions to this variable.
16030 (xtests): Change dependencies to ....
16031 (xtests-special): ... additions to this variable.
16032 * stdio-common/Makefile (tests): Change dependencies to ....
16033 (tests-special): ... additions to this variable.
16034 (do-tst-unbputc): Remove target.
16035 (do-tst-printf): Likewise.
16036 * stdlib/Makefile (tests): Change dependencies to ....
16037 (tests-special): ... additions to this variable.
16038 * string/Makefile (tests): Change dependencies to ....
16039 (tests-special): ... additions to this variable.
16040 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16041 (tests-special): ... additions to this variable.
16042
81700b53
JM
16043 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16044 whole file.
16045 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16046 whole file.
16047 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16048 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16049
2ea18461
JM
16050 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16051 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16052 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16053 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16054 * conform/data/libgen.h-data [XPG3]: Likewise.
16055 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16056 * conform/data/ndbm.h-data [XPG3]: Likewise.
16057 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16058 * conform/data/netdb.h-data [XPG3]: Likewise.
16059 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16060 * conform/data/poll.h-data [XPG3]: Likewise.
16061 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16062 * conform/data/strings.h-data [XPG3]: Likewise.
16063 * conform/data/stropts.h-data [XPG3]: Likewise.
16064 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16065 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16066 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16067 Likewise.
16068 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16069 * conform/data/sys/time.h-data [XPG3]: Likewise.
16070 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16071 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16072 * conform/data/sys/un.h-data [XPG3]: Likewise.
16073 * conform/data/syslog.h-data [XPG3]: Likewise.
16074 * conform/data/ucontext.h-data [XPG3]: Likewise.
16075 * conform/data/utmpx.h-data [XPG3]: Likewise.
16076 * conform/data/varargs.h-data [UNIX98]: Enable file.
16077
355bc986
JM
16078 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16079
215db402
JM
16080 * math/libm-test.inc (struct test_f_f_data): Move expected results
16081 into structure for each rounding mode.
16082 (struct test_ff_f_data): Likewise.
16083 (struct test_ff_f_data_nexttoward): Likewise.
16084 (struct test_fi_f_data): Likewise.
16085 (struct test_fl_f_data): Likewise.
16086 (struct test_if_f_data): Likewise.
16087 (struct test_fff_f_data): Likewise.
16088 (struct test_c_f_data): Likewise.
16089 (struct test_f_f1_data): Likewise.
16090 (struct test_fF_f1_data): Likewise.
16091 (struct test_ffI_f1_data): Likewise.
16092 (struct test_c_c_data): Likewise.
16093 (struct test_cc_c_data): Likewise.
16094 (struct test_f_i_data): Likewise.
16095 (struct test_ff_i_data): Likewise.
16096 (struct test_f_l_data): Likewise.
16097 (struct test_f_L_data): Likewise.
16098 (struct test_fFF_11_data): Likewise.
16099 (RM_): New macro.
16100 (RM_FE_DOWNWARD): Likewise.
16101 (RM_FE_TONEAREST): Likewise.
16102 (RM_FE_TOWARDZERO): Likewise.
16103 (RM_FE_UPWARD): Likewise.
16104 (RUN_TEST_LOOP_f_f): Update references to expected results.
16105 (RUN_TEST_LOOP_2_f): Likewise.
16106 (RUN_TEST_LOOP_fff_f): Likewise.
16107 (RUN_TEST_LOOP_c_f): Likewise.
16108 (RUN_TEST_LOOP_f_f1): Likewise.
16109 (RUN_TEST_LOOP_fF_f1): Likewise.
16110 (RUN_TEST_LOOP_fI_f1): Likewise.
16111 (RUN_TEST_LOOP_ffI_f1): Likewise.
16112 (RUN_TEST_LOOP_c_c): Likewise.
16113 (RUN_TEST_LOOP_cc_c): Likewise.
16114 (RUN_TEST_LOOP_f_i): Likewise.
16115 (RUN_TEST_LOOP_f_i_tg): Likewise.
16116 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16117 (RUN_TEST_LOOP_f_b): Likewise.
16118 (RUN_TEST_LOOP_f_b_tg): Likewise.
16119 (RUN_TEST_LOOP_f_l): Likewise.
16120 (RUN_TEST_LOOP_f_L): Likewise.
16121 (RUN_TEST_LOOP_fFF_11): Likewise.
16122 * math/gen-libm-test.pl (parse_args): Output four copies of
16123 expected results for each test.
16124
67737b8f
JM
16125 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16126 (__ASSUME_UTIMES): Remove.
16127 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16128 (__ASSUME_UTIMES): Likewise.
16129
aa97dee1
JM
16130 * math/gen-auto-libm-tests.c: Update comment on output format.
16131 (output_for_one_input_case): Generate before-rounding and
16132 after-rounding information as conditions on output flags not
16133 floating-point format.
16134 * math/auto-libm-test-out: Regenerated.
16135 * math/gen-libm-test.pl (cond_value): New function.
16136 (or_cond_value): Use cond_value.
16137 (generate_testfile): Handle conditional exceptions.
16138
e6b6a857
JM
161392014-03-05 Joseph Myers <joseph@codesourcery.com>
16140
2f0a0f44
JM
16141 * math/libm-test.inc (max_valid_error): New variable.
16142 (init_max_error): Take new argument specifying whether function
16143 results are exactly determined. Set max_valid_error and bound
16144 other variables for errors based on this argument.
16145 (set_max_error): Do not record results above max_valid_error.
16146 (check_float_internal): Only accept errors of up to 0.5ulps if
16147 also at most max_valid_error.
16148 (START): Take new argument EXACT and pass it to init_max_error.
16149 (acos_test): Update call to START.
16150 (acos_test_tonearest): Likewise.
16151 (acos_test_towardzero): Likewise.
16152 (acos_test_downward): Likewise.
16153 (acos_test_upward): Likewise.
16154 (acosh_test): Likewise.
16155 (asin_test): Likewise.
16156 (asin_test_tonearest): Likewise.
16157 (asin_test_towardzero): Likewise.
16158 (asin_test_downward): Likewise.
16159 (asin_test_upward): Likewise.
16160 (asinh_test): Likewise.
16161 (atan_test): Likewise.
16162 (atanh_test): Likewise.
16163 (atan2_test): Likewise.
16164 (cabs_test): Likewise.
16165 (cacos_test): Likewise.
16166 (cacosh_test): Likewise.
16167 (carg_test): Likewise.
16168 (casin_test): Likewise.
16169 (casinh_test): Likewise.
16170 (catan_test): Likewise.
16171 (catanh_test): Likewise.
16172 (cbrt_test): Likewise.
16173 (ccos_test): Likewise.
16174 (ccosh_test): Likewise.
16175 (ceil_test): Likewise.
16176 (cexp_test): Likewise.
16177 (cimag_test): Likewise.
16178 (clog_test): Likewise.
16179 (clog10_test): Likewise.
16180 (conj_test): Likewise.
16181 (copysign_test): Likewise.
16182 (cos_test): Likewise.
16183 (cos_test_tonearest): Likewise.
16184 (cos_test_towardzero): Likewise.
16185 (cos_test_downward): Likewise.
16186 (cos_test_upward): Likewise.
16187 (cosh_test): Likewise.
16188 (cosh_test_tonearest): Likewise.
16189 (cosh_test_towardzero): Likewise.
16190 (cosh_test_downward): Likewise.
16191 (cosh_test_upward): Likewise.
16192 (cpow_test): Likewise.
16193 (cproj_test): Likewise.
16194 (creal_test): Likewise.
16195 (csin_test): Likewise.
16196 (csinh_test): Likewise.
16197 (csqrt_test): Likewise.
16198 (ctan_test): Likewise.
16199 (ctan_test_tonearest): Likewise.
16200 (ctan_test_towardzero): Likewise.
16201 (ctan_test_downward): Likewise.
16202 (ctan_test_upward): Likewise.
16203 (ctanh_test): Likewise.
16204 (ctanh_test_tonearest): Likewise.
16205 (ctanh_test_towardzero): Likewise.
16206 (ctanh_test_downward): Likewise.
16207 (ctanh_test_upward): Likewise.
16208 (erf_test): Likewise.
16209 (erfc_test): Likewise.
16210 (exp_test): Likewise.
16211 (exp_test_tonearest): Likewise.
16212 (exp_test_towardzero): Likewise.
16213 (exp_test_downward): Likewise.
16214 (exp_test_upward): Likewise.
16215 (exp10_test): Likewise.
16216 (exp10_test_tonearest): Likewise.
16217 (exp10_test_towardzero): Likewise.
16218 (exp10_test_downward): Likewise.
16219 (exp10_test_upward): Likewise.
16220 (pow10_test): Likewise.
16221 (exp2_test): Likewise.
16222 (expm1_test): Likewise.
16223 (expm1_test_tonearest): Likewise.
16224 (expm1_test_towardzero): Likewise.
16225 (expm1_test_downward): Likewise.
16226 (expm1_test_upward): Likewise.
16227 (fabs_test): Likewise.
16228 (fdim_test): Likewise.
16229 (floor_test): Likewise.
16230 (fma_test): Likewise.
16231 (fma_test_towardzero): Likewise.
16232 (fma_test_downward): Likewise.
16233 (fma_test_upward): Likewise.
16234 (fmax_test): Likewise.
16235 (fmin_test): Likewise.
16236 (fmod_test): Likewise.
16237 (fpclassify_test): Likewise.
16238 (frexp_test): Likewise.
16239 (hypot_test): Likewise.
16240 (ilogb_test): Likewise.
16241 (isfinite_test): Likewise.
16242 (finite_test): Likewise.
16243 (isgreater_test): Likewise.
16244 (isgreaterequal_test): Likewise.
16245 (isinf_test): Likewise.
16246 (isless_test): Likewise.
16247 (islessequal_test): Likewise.
16248 (islessgreater_test): Likewise.
16249 (isnan_test): Likewise.
16250 (isnormal_test): Likewise.
16251 (issignaling_test): Likewise.
16252 (isunordered_test): Likewise.
16253 (j0_test): Likewise.
16254 (j1_test): Likewise.
16255 (jn_test): Likewise.
16256 (ldexp_test): Likewise.
16257 (lgamma_test): Likewise.
16258 (gamma_test): Likewise.
16259 (lrint_test): Likewise.
16260 (lrint_test_tonearest): Likewise.
16261 (lrint_test_towardzero): Likewise.
16262 (lrint_test_downward): Likewise.
16263 (lrint_test_upward): Likewise.
16264 (llrint_test): Likewise.
16265 (llrint_test_tonearest): Likewise.
16266 (llrint_test_towardzero): Likewise.
16267 (llrint_test_downward): Likewise.
16268 (llrint_test_upward): Likewise.
16269 (log_test): Likewise.
16270 (log10_test): Likewise.
16271 (log1p_test): Likewise.
16272 (log2_test): Likewise.
16273 (logb_test): Likewise.
16274 (logb_test_downward): Likewise.
16275 (lround_test): Likewise.
16276 (llround_test): Likewise.
16277 (modf_test): Likewise.
16278 (nearbyint_test): Likewise.
16279 (nextafter_test): Likewise.
16280 (nexttoward_test): Likewise.
16281 (pow_test): Likewise.
16282 (pow_test_tonearest): Likewise.
16283 (pow_test_towardzero): Likewise.
16284 (pow_test_downward): Likewise.
16285 (pow_test_upward): Likewise.
16286 (remainder_test): Likewise.
16287 (drem_test): Likewise.
16288 (remainder_test_tonearest): Likewise.
16289 (drem_test_tonearest): Likewise.
16290 (remainder_test_towardzero): Likewise.
16291 (drem_test_towardzero): Likewise.
16292 (remainder_test_downward): Likewise.
16293 (drem_test_downward): Likewise.
16294 (remainder_test_upward): Likewise.
16295 (drem_test_upward): Likewise.
16296 (remquo_test): Likewise.
16297 (rint_test): Likewise.
16298 (rint_test_tonearest): Likewise.
16299 (rint_test_towardzero): Likewise.
16300 (rint_test_downward): Likewise.
16301 (rint_test_upward): Likewise.
16302 (round_test): Likewise.
16303 (scalb_test): Likewise.
16304 (scalbn_test): Likewise.
16305 (scalbln_test): Likewise.
16306 (signbit_test): Likewise.
16307 (sin_test): Likewise.
16308 (sin_test_tonearest): Likewise.
16309 (sin_test_towardzero): Likewise.
16310 (sin_test_downward): Likewise.
16311 (sin_test_upward): Likewise.
16312 (sincos_test): Likewise.
16313 (sinh_test): Likewise.
16314 (sinh_test_tonearest): Likewise.
16315 (sinh_test_towardzero): Likewise.
16316 (sinh_test_downward): Likewise.
16317 (sinh_test_upward): Likewise.
16318 (sqrt_test): Likewise.
16319 (sqrt_test_tonearest): Likewise.
16320 (sqrt_test_towardzero): Likewise.
16321 (sqrt_test_downward): Likewise.
16322 (sqrt_test_upward): Likewise.
16323 (tan_test): Likewise.
16324 (tan_test_tonearest): Likewise.
16325 (tan_test_towardzero): Likewise.
16326 (tan_test_downward): Likewise.
16327 (tan_test_upward): Likewise.
16328 (tanh_test): Likewise.
16329 (tgamma_test): Likewise.
16330 (trunc_test): Likewise.
16331 (y0_test): Likewise.
16332 (y1_test): Likewise.
16333 (yn_test): Likewise.
16334 (significand_test): Likewise.
16335
e6b6a857
JM
16336 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16337 individual tests in comment.
16338 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16339 (prev_max_error): New variable.
16340 (prev_real_max_error): Likewise.
16341 (prev_imag_max_error): Likewise.
16342 (compare_ulp_data): Don't refer to test names in comment.
16343 (find_test_ulps): Remove function.
16344 (find_function_ulps): Likewise.
16345 (find_complex_function_ulps): Likewise.
16346 (init_max_error): Take function name as argument. Look up ulps
16347 for that function.
16348 (print_ulps): Remove function.
16349 (print_max_error): Use prev_max_error instead of calling
16350 find_function_ulps.
16351 (print_complex_max_error): Use prev_real_max_error and
16352 prev_imag_max_error instead of calling find_complex_function_ulps.
16353 (check_float_internal): Take max_ulp parameter instead of calling
16354 find_test_ulps. Don't call print_ulps.
16355 (check_float): Update call to check_float_internal.
16356 (check_complex): Update calls to check_float_internal.
16357 (START): Pass argument to init_max_error.
16358 * math/gen-libm-test.pl (%results): Don't include "kind"
16359 information.
16360 (parse_ulps): Don't handle ulps of individual tests.
16361 (print_ulps_file): Likewise.
16362 (output_ulps): Likewise.
16363 * math/README.libm-test: Update.
16364 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16365 individual tests.
16366 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16367 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16368 * sysdeps/arm/libm-test-ulps: Likewise.
16369 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16370 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16371 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16372 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16373 * sysdeps/microblaze/libm-test-ulps: Likewise.
16374 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16375 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16377 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16379 * sysdeps/sh/libm-test-ulps: Likewise.
16380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16381 * sysdeps/tile/libm-test-ulps: Likewise.
16382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16383
45adef3c
JM
163842014-03-04 Joseph Myers <joseph@codesourcery.com>
16385
16386 * math/libm-test.inc (print_complex_max_error): Check separately
16387 whether real and imaginary errors are within allowed range and
16388 pass 0 to print_complex_function_ulps instead of value within
16389 allowed range.
16390
000232b9
SP
163912014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16392
d4b17258
SP
16393 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16394 formatting.
16395 (get_handles_fopen): Likewise.
16396 (do_write_test): Likewise.
16397
091eff71
SP
16398 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16399
fa3cd248
SP
16400 * libio/fileops.c (do_ftell): Use cached offset when
16401 available.
16402 * libio/iofwide.c (do_ftell_wide): Likewise.
16403 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16404 _IO_file_attach.
16405 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16406
000232b9
SP
16407 [BZ #16532]
16408 * libio/libioP.h (get_file_offset): New function.
16409 * libio/fileops.c (get_file_offset): Likewise.
16410 (do_ftell): Likewise.
16411 (_IO_new_file_seekoff): Split out ftell logic.
16412 * libio/wfileops.c (do_ftell_wide): Likewise.
16413 (_IO_wfile_seekoff): Split out ftell logic.
16414 * libio/tst-ftell-active-handler.c: New test case.
16415 * libio/Makefile (tests): Add it.
16416
116f4d1a
RM
164172014-03-03 Roland McGrath <roland@hack.frob.com>
16418
16419 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16420 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16421
532a6035
SP
164222014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16423
16424 [BZ #16639]
16425 * nscd/connections.c (nscd_init): Call do_exit.
16426 (start_threads): Call do_exit and notify_parent.
16427 (begin_drop_privileges): Call do_exit.
16428 (finish_drop_privileges): Likewise.
16429 * nscd/selinux.c (preserve_capabilities): Likewise.
16430 (install_real_capabilities): Likewise.
16431 (nscd_selinux_enabled): Likewise.
16432 (avc_create_thread): Likewise.
16433 (avc_alloc_lock): Likewise.
16434 (nscd_avc_init): Likewise.
16435 * nscd/nscd.c (parent_fd): New static variable.
16436 (main): Create a pipe between parent and child processes.
16437 Skip closing parent_fd.
16438 (monitor_child): New function.
16439 (do_exit): Likewise.
16440 (notify_parent): Likewise.
16441 * nscd/nscd.h (notify_parent): Likewise.
16442 (do_exit): Likewise.
16443
d6285c9f
CD
164442014-03-03 Carlos O'Donell <carlos@redhat.com>
16445
16446 * malloc/malloc.c (__libc_calloc): Revert last change.
16447
2b85d2a0
AZ
164482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16449
16450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16451
c7debbdf
RS
164522014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16453
16454 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16456 implementation.
16457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16458 (__libc_ifunc_impl_list): Likewise.
16459 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16460 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16461 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16462 * string/strrchr.c: Define STRRCHR.
16463
235eed86
OB
164642014-02-28 Ondřej Bílka <neleai@seznam.cz>
16465
16466 * benchtest/bench-strtok.c (simple_strtok): Delete.
16467 (strtok_string): Use as benchmark.
16468 * string/strtok (STRTOK): New macro.
16469
8e25d1e7
CD
164702014-02-28 Carlos O'Donell <carlos@redhat.com>
16471
ef563f92
CD
16472 * manual/threads.texi: Add header and standard comments to all
16473 functions.
16474
8e25d1e7
CD
16475 * elf/dl-lookup.c (check_match): New function.
16476 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16477 (do_lookup_x): Remove nested function check_match. Use non-nested
16478 function check_match.
16479
ff71cc37
RM
164802014-02-28 Roland McGrath <roland@hack.frob.com>
16481
f08e9a26
RM
16482 * csu/Makefile (generated, before-compile): Use += rather than =.
16483 * catgets/Makefile (generated, generated-dirs): Likewise.
16484 * debug/Makefile (generated): Likewise.
16485 * dlfcn/Makefile (generated): Likewise.
16486 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16487 * iconvdata/Makefile (before-compile, generated): Likewise.
16488 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16489 * libio/Makefile (generated): Likewise.
16490 * malloc/Makefile (generated): Likewise.
16491 * manual/Makefile (generated, generated-dirs): Likewise.
16492 * misc/Makefile (generated): Likewise.
16493 * posix/Makefile (generated): Likewise.
16494 * resolv/Makefile (generated): Likewise.
16495 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16496 * timezone/Makefile (generated, generated-dirs): Likewise.
16497
ff71cc37
RM
16498 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16499
fe13a20c
AZ
165002014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16501
57f41c40
AS
16502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16503 power8 implementation.
16504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16505 file: POWER8 llround ifunc implementation.
16506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16507 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16509 POWER8 llround implementation.
16510
57f41c40
AS
16511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16512 power8 implementation.
16513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16514 file: POWER8 llrint ifunc implementation.
16515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16516 Add POWER8 implementation.
1ad8950a
AZ
16517 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16518 POWER8 llrint implementation.
16519
57f41c40
AS
16520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16521 power8 implementation.
16522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16523 file: POWER8 finite ifunc implementation.
16524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16525 Add POWER8 implementation.
cac626d6
AZ
16526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16527 Likewise.
16528 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16529 POWER8 finite implementation.
16530 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16531
57f41c40
AS
16532 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16533 power8 implementation.
16534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16535 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16537 POWER8 implementation.
16538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16539 Likewise.
57f41c40
AS
16540 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16541 isinf implementation.
4393fc11
AZ
16542 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16543
57f41c40
AS
16544 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16545 (INIT_ARCH): Add hwcap2 initialization.
16546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16547 power8 implementation.
16548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16549 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16551 POWER8 implementation.
16552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16553 Likewise.
57f41c40
AS
16554 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16555 isnan implementation.
487972ae
AZ
16556 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16557
7d92b787
JY
165582014-02-27 Joey Ye <joey.ye@arm.com>
16559
16560 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16561 (_FP_NANFRAC_Q): Set to zero.
16562
1cadc858
SP
165632014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16564
16565 [BZ #16623]
16566 * math/auto-libm-test-in: New test inputs.
16567 * math/auto-libm-test-out: Regenerate.
16568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16569 and DA.
16570 (__cos): Likewise.
16571 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16572
f8c17e79
JM
165732014-02-27 Joseph Myers <joseph@codesourcery.com>
16574
16575 * scripts/evaluate-test.sh: Take new argument indicating whether
16576 failure is expected.
16577 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16578 indicating whether failure is expected.
16579 * conform/Makefile (test-xfail-run-conformtest): New variable.
16580 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16581 level.
16582 * posix/Makefile (test-xfail-annexc): New variable.
16583 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16584
a5f891ac
JM
165852014-02-26 Joseph Myers <joseph@codesourcery.com>
16586
16587 * argp/Makefile: Include Makeconfig immediately after defining
16588 subdir.
16589 * assert/Makefile: Likewise.
16590 * benchtests/Makefile: Likewise.
16591 * catgets/Makefile: Likewise.
16592 * conform/Makefile: Likewise.
16593 * crypt/Makefile: Likewise.
16594 * csu/Makefile: Likewise.
16595 (all): Remove target.
16596 * ctype/Makefile: Include Makeconfig immediately after defining
16597 subdir.
16598 * debug/Makefile: Likewise.
16599 * dirent/Makefile: Likewise.
16600 * dlfcn/Makefile: Likewise.
16601 * gmon/Makefile: Likewise.
16602 * gnulib/Makefile: Likewise.
16603 * grp/Makefile: Likewise.
16604 * gshadow/Makefile: Likewise.
16605 * hesiod/Makefile: Likewise.
16606 * hurd/Makefile: Likewise.
16607 (all): Remove target.
16608 * iconvdata/Makefile: Include Makeconfig immediately after
16609 defining subdir.
16610 * inet/Makefile: Likewise.
16611 * intl/Makefile: Likewise.
16612 * io/Makefile: Likewise.
16613 * libio/Makefile: Likewise.
16614 (all): Remove target.
16615 * locale/Makefile: Include Makeconfig immediately after defining
16616 subdir.
16617 * login/Makefile: Likewise.
16618 * mach/Makefile: Likewise.
16619 (all): Remove target.
16620 * malloc/Makefile: Include Makeconfig immediately after defining
16621 subdir.
16622 (all): Remove target.
16623 * manual/Makefile: Include Makeconfig immediately after defining
16624 subdir.
16625 * math/Makefile: Likewise.
16626 * misc/Makefile: Likewise.
16627 * nis/Makefile: Likewise.
16628 * nss/Makefile: Likewise.
16629 * po/Makefile: Likewise.
16630 (all): Remove target.
16631 * posix/Makefile: Include Makeconfig immediately after defining
16632 subdir.
16633 * pwd/Makefile: Likewise.
16634 * resolv/Makefile: Likewise.
16635 * resource/Makefile: Likewise.
16636 * rt/Makefile: Likewise.
16637 * setjmp/Makefile: Likewise.
16638 * shadow/Makefile: Likewise.
16639 * signal/Makefile: Likewise.
16640 * socket/Makefile: Likewise.
16641 * soft-fp/Makefile: Likewise.
16642 * stdio-common/Makefile: Likewise.
16643 * stdlib/Makefile: Likewise.
16644 * streams/Makefile: Likewise.
16645 * string/Makefile: Likewise.
16646 * sunrpc/Makefile: Likewise.
16647 (all): Remove target.
16648 * sysvipc/Makefile: Include Makeconfig immediately after defining
16649 subdir.
16650 * termios/Makefile: Likewise.
16651 * time/Makefile: Likewise.
16652 * timezone/Makefile: Likewise.
16653 (all): Remove target.
16654 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16655 subdir.
16656 * wctype/Makefile: Likewise.
16657
5b456e9d
SE
166582014-02-26 Steve Ellcey <sellcey@mips.com>
16659
16660 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16661 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16662 (libc_feholdexcept_setround_mips): Ditto.
16663 (libc_feholdsetround): New.
16664 (libc_feholdsetroundf): New.
16665 (libc_feholdsetroundl): New.
16666 (libc_feupdateenv_test_mips): New.
16667 (libc_feupdateenv_test): New.
16668 (libc_feupdateenv_testf): New.
16669 (libc_feupdateenv_testl): New.
16670 (libc_feresetround): New.
16671 (libc_feresetroundf): New.
16672 (libc_feresetroundl): New.
16673 (libc_fetestexcept_mips): New.
16674 (libc_fetestexcept): New.
16675 (libc_fetestexceptf): New.
16676 (libc_fetestexceptl): New.
16677 (HAVE_RM_CTX): New.
16678 (libc_feholdexcept_setround_mips_ctx): New.
16679 (libc_feholdexcept_setround_ctx): New.
16680 (libc_feholdexcept_setroundf_ctx): New.
16681 (libc_feholdexcept_setroundl_ctx): New.
16682 (libc_fesetenv_mips_ctx): New.
16683 (libc_fesetenv_ctx): New.
16684 (libc_fesetenv_ctxf): New.
16685 (libc_fesetenv_ctxl): New.
16686 (libc_feupdateenv_mips_ctx): New.
16687 (libc_feupdateenv_ctx): New.
16688 (libc_feupdateenvf_ctx): New.
16689 (libc_feupdateenvl_ctx): New.
16690 (libc_feholdsetround_mips_ctx): New.
16691 (libc_feholdsetround_ctx): New.
16692 (libc_feholdsetroundf_ctx): New.
16693 (libc_feholdsetroundl_ctx): New.
16694 (libc_feresetround_mips_ctx): New.
16695 (libc_feresetround_ctx): New.
16696 (libc_feresetroundf_ctx): New.
16697 (libc_feresetroundl_ctx): New.
16698
085d0e35
CD
166992014-02-26 Carlos O'Donell <carlos@redhat.com>
16700
f067bf1f
CD
16701 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16702
085d0e35
CD
16703 * manual/ipc.texi: New file.
16704 * manual/Makefile (chapters): Add ipc.
16705 * manual/job.texi: Add "Inter-Process Communication" to next.
16706 * manual/process.texi: Add "Inter-Process Communication" to prev.
16707
86e58c08
AZ
167082014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709
16710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16711
4248f0da
OB
167122014-02-26 Ondřej Bílka <neleai@seznam.cz>
16713
16714 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16715
cf822e3c
OB
16716 * manual/arith.texi: Fix spaces after sentences.
16717 * manual/charset.texi: Likewise.
16718 * manual/errno.texi: Likewise.
16719 * manual/install.texi: Likewise.
16720 * manual/llio.texi: Likewise.
16721 * manual/locale.texi: Likewise.
16722 * manual/maint.texi: Likewise.
16723 * manual/math.texi: Likewise.
16724 * manual/memory.texi: Likewise.
16725 * manual/message.texi: Likewise.
16726 * manual/probes.texi: Likewise.
16727 * manual/resource.texi: Likewise.
16728 * manual/signal.texi: Likewise.
16729 * manual/socket.texi: Likewise.
16730 * manual/stdio.texi: Likewise.
16731 * manual/string.texi: Likewise.
16732 * manual/time.texi: Likewise.
16733 * manual/users.texi: Likewise.
16734
ade40b10
CD
167352014-02-25 Carlos O'Donell <carlos@redhat.com>
16736
16737 [BZ #16632]
16738 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16739 _DEFAULT_SOURCE is defined.
16740
d0503676
CD
167412014-02-25 Ulrich Drepper <drepper@gmail.com>
16742 Carlos O'Donell <carlos@redhat.com>
16743
16744 [BZ #16613]
16745 * elf/dl-tls.c (_dl_count_modids): New function.
16746 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16747 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16748 audit library and increment generation counter.
16749 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16750 * elf/tst-audit9.c: New file.
16751 * elf/tst-auditmod9a.c: New file.
16752 * elf/tst-auditmod9b.c: New file.
16753 * elf/Makefile: Add rules to build and run tst-audit9.
16754
4cbf380c
FW
167552014-02-25 Florian Weimer <fweimer@redhat.com>
16756
16757 [BZ #15347]
16758 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16759
80a56cc3
WN
167602014-02-25 Will Newton <will.newton@linaro.org>
16761
16762 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16763 (__longjmp): Restore sp and lr before restoring callee
16764 saved registers. Add longjmp and longjmp_target
16765 SystemTap probe point.
16766 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16767 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16768 Define to zero to match jmpbuf layout.
16769 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16770 (__sigsetjmp): Save sp and lr before saving callee
16771 saved registers. Add setjmp SystemTap probe point.
16772
3ea0f74e
SL
167732014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16774
16775 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16776
b04acb26
AS
167772014-02-24 Andreas Schwab <schwab@suse.de>
16778
16779 [BZ #15804]
16780 * elf/pldd.c (wait_for_ptrace_stop): New function.
16781 (main): Call it after attaching.
16782
098ad55c
RM
167832014-02-22 Roland McGrath <roland@hack.frob.com>
16784
d4ec6ae1
RM
16785 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16786 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16787 Versions files is now verboten.
16788 * hurd/Versions (libc: GLIBC_2.0):
16789 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16790 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16791 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16792 * mach/Versions: Likewise.
16793
098ad55c
RM
16794 * csu/Versions: Remove unused %include.
16795 * resolv/Versions: Likewise.
16796
acd7f096
JM
167972014-02-21 Joseph Myers <joseph@codesourcery.com>
16798
f0881698
JM
16799 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16800 ($(objpfx)check-local-headers.out): Likewise.
16801 ($(objpfx)begin-end-check.out): Likewise.
16802 * Makerules (check-abi-%.out): Likewise.
16803 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16804 ($(objpfx)test2.cat): Likewise.
16805 ($(objpfx)de/libc.cat): Likewise.
16806 ($(objpfx)test-gencat.out): Likewise.
16807 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16808 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16809 ($(objpfx)noload-mem): Likewise.
16810 ($(objpfx)tst-pathopt.out): Likewise.
16811 ($(objpfx)tst-rtld-load-self.out): Likewise.
16812 ($(objpfx)tst-array1-cmp.out): Likewise.
16813 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16814 ($(objpfx)tst-array2-cmp.out): Likewise.
16815 ($(objpfx)tst-array3-cmp.out): Likewise.
16816 ($(objpfx)tst-array4-cmp.out): Likewise.
16817 ($(objpfx)tst-array5-cmp.out): Likewise.
16818 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16819 ($(objpfx)check-textrel.out): Likewise.
16820 ($(objpfx)check-execstack.out): Likewise.
16821 ($(objpfx)check-localplt.out): Likewise.
16822 ($(objpfx)order2-cmp.out): Likewise.
16823 ($(objpfx)tst-leaks1-mem): Likewise.
16824 ($(objpfx)tst-leaks1-static-mem): Likewise.
16825 ($(objpfx)tst-initorder-cmp.out): Likewise.
16826 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16827 ($(objpfx)tst-unused-dep.out): Likewise.
16828 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16830 * iconv/Makefile (test-iconvconfig): Likewise.
16831 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16832 ($(objpfx)iconv-test.out): Likewise.
16833 ($(objpfx)tst-tables.out): Likewise.
16834 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16835 ($(objpfx)tst-gettext.out): Likewise.
16836 ($(objpfx)tst-translit.out): Likewise.
16837 ($(objpfx)tst-gettext2.out): Likewise.
16838 ($(objpfx)tst-gettext4.out): Likewise.
16839 ($(objpfx)tst-gettext6.out): Likewise.
16840 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16841 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16842 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16843 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16844 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16845 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16846 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16847 ($(objpfx)wordexp-tst.out): Likewise.
16848 ($(objpfx)annexc.out): Likewise.
16849 ($(objpfx)tst-fnmatch-mem): Likewise.
16850 ($(objpfx)bug-regex2-mem): Likewise.
16851 ($(objpfx)bug-regex14-mem): Likewise.
16852 ($(objpfx)bug-regex21-mem): Likewise.
16853 ($(objpfx)bug-regex31-mem): Likewise.
16854 ($(objpfx)tst-vfork3-mem): Likewise.
16855 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16856 ($(objpfx)tst-pcre-mem): Likewise.
16857 ($(objpfx)tst-boost-mem): Likewise.
16858 ($(objpfx)tst-getconf.out): Likewise.
16859 ($(objpfx)bug-ga2-mem): Likewise.
16860 ($(objpfx)bug-glob2-mem): Likewise.
16861 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16862 ($(objpfx)mtrace-tst-leaks2): Likewise.
16863 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16864 ($(objpfx)tst-printf.out): Likewise.
16865 ($(objpfx)tst-setvbuf1.out): Likewise.
16866 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16867 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16868 ($(objpfx)tst-fmtmsg.out): Likewise.
16869 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16870 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16871
acd7f096
JM
16872 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16873 * bits/sigaction.h [__USE_MISC]: Likewise.
16874 * bits/waitstatus.h: Update #endif comments.
16875 * ctype/ctype.h: Likewise.
16876 * dirent/dirent.h: Likewise.
16877 [__USE_MISC]: Remove redundant conditionals.
16878 * grp/grp.h: Update #endif comments.
16879 [__USE_GNU]: Remove redundant conditionals.
16880 [__USE_MISC]: Likewise.
16881 * inet/netinet/in.h [__USE_GNU]: Likewise.
16882 * io/sys/stat.h [__USE_MISC]: Likewise.
16883 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16884 * libio/bits/stdio.h: Update #endif comments.
16885 [__USE_MISC]: Remove redundant conditionals.
16886 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16887 * libio/stdio.h: Update #endif comments.
16888 [__USE_MISC]: Remove redundant conditionals.
16889 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16890 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16891 * math/math.h: Update #else and #endif comments.
16892 [__USE_MISC]: Remove redundant conditionals.
16893 * misc/sys/uio.h: Update #endif comments.
16894 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16895 * posix/glob.h [__USE_MISC]: Likewise.
16896 * posix/sys/types.h: Update #endif comments.
16897 [__USE_MISC]: Remove redundant conditionals.
16898 * posix/sys/wait.h: Update #endif comments.
16899 [__USE_MISC]: Remove redundant conditionals.
16900 * posix/unistd.h: Update #endif comments.
16901 [__USE_MISC]: Remove redundant conditionals.
16902 * pwd/pwd.h [__USE_GNU]: Likewise.
16903 [__USE_MISC]: Likewise.
16904 * resolv/netdb.h [__USE_GNU]: Likewise.
16905 * signal/signal.h: Update #endif comments.
16906 [__USE_MISC]: Remove redundant conditionals.
16907 * stdlib/stdlib.h: Update #else and #endif comments.
16908 [__USE_MISC]: Remove redundant conditionals.
16909 [__USE_GNU]: Likewise.
16910 * string/bits/string2.h [__USE_MISC]: Likewise.
16911 * string/string.h: Update #endif comments.
16912 [__USE_MISC]: Remove redundant conditionals.
16913 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16914 Likewise.
16915 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16916 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16917 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16918 Likewise.
16919 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16920 Likewise.
16921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16922 comments.
16923 [__USE_MISC]: Remove redundant conditionals.
16924 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16925 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16926 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16927 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16928 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16929 Likewise.
16930 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16931 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16932 Likewise.
16933 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16934 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16935 Likewise.
16936 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16937 Likewise.
16938 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16939 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16940 Likewise.
16941 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16942 Likewise.
16943 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16944 * sysdeps/x86/bits/string.h: Update #endif comments.
16945 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16946 conditionals.
16947 * time/sys/time.h: Update #endif comments.
16948 * time/time.h: Likewise.
16949 [__USE_MISC]: Remove redundant conditionals.
16950
a5d82e4e
YG
169512014-02-21 Yury Gribov <y.gribov@samsung.com>
16952
16953 [BZ #16600]
16954 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16955
9a80491d
AS
169562014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16957
16958 * Versions.def (librt): Add GLIBC_2.17.
16959
105fa381
AC
169602014-02-21 Adam Conrad <adconrad@0c3.net>
16961
16962 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16963 synonym for _SYS_AUXV_H to allow direct inclusion.
16964 * sysdeps/sparc/bits/hwcap.h: Likewise.
16965 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16966 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16967 * sysdeps/sparc/sysdep.h: Likewise.
16968
b8cd1c4e
SP
169692014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16970
16971 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16972
bd939d23
RS
169732014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16974
16975 * benchtests/bench-strrchr.c: Print length instead of position.
16976
5d7b57ca
JM
169772014-02-20 Joseph Myers <joseph@codesourcery.com>
16978
bc688c10
JM
16979 [BZ #16611]
16980 * sysdeps/unix/sysv/linux/kernel-features.h
16981 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16982 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16983 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16984 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16985 Likewise.
16986 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16987 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16988 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16989 (__ASSUME_SENDMMSG): Define instead of using previous
16990 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16991 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16992 (__ASSUME_SENDMMSG_SYSCALL): Define.
16993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16994 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16995 Likewise.
16996 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16997 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16998 Likewise.
16999 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17000 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17001 Likewise.
17002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17003 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17004 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17005 [__ASSUME_SENDMMSG]: Change conditionals to
17006 [__ASSUME_SENDMMSG_SOCKETCALL].
17007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17008 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17009 Define.
17010 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17011 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17012 Likewise.
17013 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17014 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17015 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17016 [!__ASSUME_SENDMMSG]: Change conditional to
17017 [!__ASSUME_SENDMMSG_SOCKETCALL].
17018 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17019 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17020 Define.
17021
0e31b18c
JM
17022 [BZ #16610]
17023 * sysdeps/unix/sysv/linux/kernel-features.h
17024 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17025 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17026 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17027 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17028 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17029 [__i386__ || __sparc__]
17030 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17031 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17032 (__ASSUME_RECVMMSG): Define instead of using previous
17033 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17034 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17035 (__ASSUME_RECVMMSG_SYSCALL): Define.
17036 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17037 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17038 Likewise.
17039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17040 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17041 Likewise.
17042 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17043 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17044 Likewise.
17045 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17046 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17047 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17048 [__ASSUME_RECVMMSG]: Change condition to
17049 [__ASSUME_RECVMMSG_SOCKETCALL].
17050 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17051 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17052 Define.
17053 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17054 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17056 Likewise.
17057 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17058 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17059 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17060 [!__ASSUME_RECVMMSG]: Change condition to
17061 [!__ASSUME_RECVMMSG_SOCKETCALL].
17062 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17063 (__ASSUME_RECVMMSG_SYSCALL): Define.
17064
dd481ccf
JM
17065 [BZ #16609]
17066 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17067 __powerpc__ || __s390__ || __sh__ || __sparc__]
17068 (__ASSUME_SOCKETCALL): Define.
17069 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17070 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17071 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17072 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17073 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17074 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17075 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17076 (__ASSUME_ACCEPT4): Define instead of using previous
17077 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17078 __powerpc__ || __sparc__ || __s390__)] condition.
17079 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17080 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17081 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17082 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17083 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17084 [!__ASSUME_ACCEPT4]: Change condition to
17085 [!__ASSUME_ACCEPT4_SOCKETCALL].
17086 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17087 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17088 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17089 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17090 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17091 __ASSUME_ACCEPT4_SYSCALL.
17092 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17093 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17094 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17095 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17096 __ASSUME_ACCEPT4_SYSCALL.
17097 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17098 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17099 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17100 [__ASSUME_ACCEPT4]: Change condition to
17101 [__ASSUME_ACCEPT4_SOCKETCALL].
17102 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17103 (__ASSUME_SOCKETCALL): Define.
17104 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17106 (__ASSUME_SOCKETCALL): Define.
17107 (__ASSUME_ACCEPT4): Remove.
17108 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17109 Define.
17110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17111 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17112 Likewise.
17113 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17114 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17115
5d7b57ca
JM
17116 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17117 macro.
17118 (HWCAP_ARM_LPAE): Likewise.
17119 (HWCAP_ARM_EVTSTRM): Likewise.
17120 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17121 Add vpfd32, lpae and evtstrm.
17122 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17123 Increase to 22.
17124
63689d61
JM
171252014-02-19 Joseph Myers <joseph@codesourcery.com>
17126
17127 * math/auto-libm-test-in: Add tests of clog10.
17128 * math/auto-libm-test-out: Regenerated.
17129 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17130 * sysdeps/i386/fpu/libm-test-ulps: Update.
17131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17132
ab09bf61
AS
171332014-02-18 Andreas Schwab <schwab@suse.de>
17134
17135 [BZ #16574]
17136 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17137 Store non-zero if the second buffer was newly allocated.
17138 (send_dg): Likewise.
17139 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17140 to send_vc and send_dg.
17141 (res_nsend): Pass NULL for ansp2_malloced.
17142 * resolv/res_query.c (__libc_res_nquery): Add parameter
17143 answerp2_malloced and pass it down to __libc_res_nsend.
17144 (res_nquery): Pass additional NULL to __libc_res_nquery.
17145 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17146 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17147 second answer buffer if answerp2_malloced was set.
17148 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17149 (__libc_res_nquerydomain): Add parameter
17150 answerp2_malloced and pass it down to __libc_res_nquery.
17151 (res_nquerydomain): Pass additional NULL to
17152 __libc_res_nquerydomain.
17153 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17154 additional NULL to __libc_res_nsend and __libc_res_nquery.
17155 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17156 additional NULL to __libc_res_nsearch.
17157 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17158 parameter of __libc_res_nsearch to check for separately allocated
17159 second buffer.
17160 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17161 __libc_res_nquery.
17162 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17163 additional NULL to __libc_res_nquery.
17164 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17165 __libc_res_nsearch.
17166 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17167 * include/resolv.h: Update prototypes of __libc_res_nquery,
17168 __libc_res_nsearch, __libc_res_nsend.
17169
a4fb7861
JM
171702014-02-18 Joseph Myers <joseph@codesourcery.com>
17171
c6af2d89
JM
17172 * math/auto-libm-test-in: Add tests of fma.
17173 * math/auto-libm-test-out: Regenerated.
17174 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17175 (fma_towardzero_test_data): Likewise.
17176 (fma_downward_test_data): Likewise.
17177 (fma_upward_test_data): Likewise.
17178 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17179 mpc_mode.
17180 (rounding_modes): Add values for new field.
17181 (func_calc_method): Add value mpfr_fff_f.
17182 (func_calc_desc): Add mpfr_fff_f union field.
17183 (test_function): Add field exact_args.
17184 (FUNC): Add macro argument EXACT_ARGS.
17185 (FUNC_mpfr_f_f): Update call to FUNC.
17186 (FUNC_mpfr_f_f): Likewise.
17187 (FUNC_mpfr_ff_f): Likewise.
17188 (FUNC_mpfr_if_f): Likewise.
17189 (FUNC_mpc_c_f): Likewise.
17190 (FUNC_mpc_c_c): Likewise.
17191 (test_functions): Add fma. Update calls to FUNC.
17192 (handle_input_arg): Add argument exact_args.
17193 (add_test): Update call to handle_input_arg.
17194 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17195 (output_for_one_input_case): Update call to calc_generic_results.
17196 Recalculate exact zero results in each rounding mode.
17197
a4fb7861
JM
17198 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17199 non-negative before setting low bit.
17200 * math/auto-libm-test-in: Mark one asin test possibly having
17201 spurious underflow.
17202 * math/auto-libm-test-out: Regenerated.
17203 * sysdeps/i386/fpu/libm-test-ulps: Update.
17204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17205
ef114eaf
DH
172062014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17207
2b7f4f2c
SP
17208 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17209 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17210 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17211 * README: Add missing listing for microblaze*-*-linux-gnu.
17212
8125aedc
AM
172132014-02-16 Ondřej Bílka <neleai@seznam.cz>
17214
17215 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17216 duplicate code
17217
c70a4b1d
MF
172182014-02-16 Mike Frysinger <vapier@gentoo.org>
17219
17220 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17221 * sysdeps/unix/sysv/linux/ia64: Move directory from
17222 ports/sysdeps/unix/sysv/linux/ia64.
17223 * README: Update listing for ia64-*-linux-gnu.
17224
591aeaf7
TD
172252014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17226 Joseph Myers <joseph@codesourcery.com>
17227
17228 * Makeconfig (test-name): New variable.
17229 (evaluate-test): Likewise.
17230 * Makerules (do-test-clean): Remove .test-result files.
17231 (common-mostlyclean): Likewise.
17232 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17233 * scripts/evaluate-test.sh: New file.
17234
6e89caf1
JM
172352014-02-14 Joseph Myers <joseph@codesourcery.com>
17236
7f98f180
JM
17237 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17238 separate $(objpfx)tst-fopenloc-cmp.out and
17239 $(objpfx)tst-fopenloc-mem.out targets.
17240 (tests): Update dependencies.
17241 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17242 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17243 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17244 (tst-rxspencer-no-utf8-ARGS): New variable.
17245 (tst-rxspencer-no-utf8-ENV): Likewise.
17246 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17247 instead of $(objpfx)tst-rxspencer-mem.
17248 ($(objpfx)tst-rxspencer-mem): Change target to
17249 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17250 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17251 * posix/tst-rxspencer-no-utf8.c: New file.
17252
6e89caf1
JM
17253 * elf/Makefile ($(objpfx)order.out): Remove rule.
17254 [$(run-built-tests) = yes] (tests): Depend on
17255 $(objpfx)order-cmp.out.
17256 ($(objpfx)order-cmp.out): New rule.
17257 [$(run-built-tests) = yes] (tests): Depend on
17258 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17259 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17260 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17261 $(objpfx)tst-array5-static-cmp.out.
17262 ($(objpfx)tst-array1.out): Remove rule.
17263 ($(objpfx)tst-array1-cmp.out): New rule.
17264 ($(objpfx)tst-array1-static.out): Remove rule.
17265 ($(objpfx)tst-array1-static-cmp.out): New rule.
17266 ($(objpfx)tst-array2.out): Remove rule.
17267 ($(objpfx)tst-array2-cmp.out): New rule.
17268 ($(objpfx)tst-array3.out): Remove rule.
17269 ($(objpfx)tst-array3-cmp.out): New rule.
17270 ($(objpfx)tst-array4.out): Remove rule.
17271 ($(objpfx)tst-array4-cmp.out): New rule.
17272 ($(objpfx)tst-array5.out): Remove rule.
17273 ($(objpfx)tst-array5-cmp.out): New rule.
17274 ($(objpfx)tst-array5-static.out): Remove rule.
17275 ($(objpfx)tst-array5-static-cmp.out): New rule.
17276 [$(run-built-tests) = yes] (tests): Depend on
17277 $(objpfx)order2-cmp.out.
17278 ($(objpfx)order2.out): Remove rule.
17279 ($(objpfx)order2-cmp.out): New rule.
17280 ($(objpfx)tst-initorder.out): Remove rule.
17281 [$(run-built-tests) = yes] (tests): Depend on
17282 $(objpfx)tst-initorder-cmp.out.
17283 ($(objpfx)tst-initorder-cmp.out): New rule.
17284 ($(objpfx)tst-initorder2.out): Remove rule.
17285 [$(run-built-tests) = yes] (tests): Depend on
17286 $(objpfx)tst-initorder2-cmp.out.
17287 ($(objpfx)tst-initorder2-cmp.out): New rule.
17288 [$(run-built-tests) = yes] (tests): Depend on
17289 $(objpfx)tst-unused-dep-cmp.out.
17290 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17291 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17292 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17293 on $(objpfx)tst-setvbuf1-cmp.out.
17294 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17295 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17296 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17297 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17298 ($(objpfx)tst-svc.out): Remove rule.
17299 ($(objpfx)tst-svc-cmp.out): New rule.
17300
ed9a38e2
JM
173012014-02-13 Joseph Myers <joseph@codesourcery.com>
17302
17303 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17304 * ctype/ctype.h [__USE_MISC]: Likewise.
17305 * dirent/dirent.h [__USE_MISC]: Likewise.
17306 * grp/grp.h [__USE_MISC]: Likewise.
17307 * io/fcntl.h [__USE_MISC]: Likewise.
17308 * io/sys/stat.h [__USE_MISC]: Likewise.
17309 * libio/stdio.h [__USE_MISC]: Likewise.
17310 * posix/unistd.h [__USE_MISC]: Likewise.
17311 * pwd/pwd.h [__USE_MISC]: Likewise.
17312 * stdlib.h [__USE_MISC]: Likewise.
17313 * string/bits/string2.h [__USE_MISC]: Likewise.
17314 * string/string.h [__USE_MISC]: Likewise.
17315 * time/time.h [__USE_MISC]: Likewise.
17316
d6680619
AS
173172014-02-13 Andreas Schwab <schwab@suse.de>
17318
17319 [BZ #16574]
17320 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17321 second answer buffer if it was separately allocated.
17322
ace614b8
JM
173232014-02-12 Joseph Myers <joseph@codesourcery.com>
17324
743151ae
JM
17325 * sysdeps/mips/math-tests.h: Include <features.h>.
17326 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17327 (ROUNDING_TESTS_long_double): Do not define.
17328 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17329 (EXCEPTION_TESTS_long_double): Likewise.
17330 * sysdeps/mips/mips64/libm-test-ulps: Update.
17331
498afc54
JM
17332 * include/features.h (__USE_BSD): Remove macro definitions.
17333 (__USE_SVID): Likewise.
17334 (_BSD_SOURCE): Likewise.
17335 (_SVID_SOURCE): Likewise.
17336 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17337 from definition of _DEFAULT_SOURCE.
17338 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17339 [_DEFAULT_SOURCE].
17340 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17341 * bits/mman.h [__USE_BSD]: Likewise.
17342 * bits/termios.h [__USE_BSD]: Likewise.
17343 * bits/waitstatus.h [__USE_BSD]: Likewise.
17344 * ctype/ctype.h [__USE_SVID]: Likewise.
17345 * dirent/dirent.h [__USE_BSD]: Likewise.
17346 * grp/grp.h [__USE_SVID]: Likewise.
17347 [__USE_BSD]: Likewise.
17348 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17349 * io/fcntl.h [__USE_BSD]: Likewise.
17350 * io/ftw.h [__USE_BSD]: Likewise.
17351 * io/sys/stat.h [__USE_BSD]: Likewise.
17352 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17353 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17354 * libio/stdio.h [__USE_SVID]: Likewise.
17355 [__USE_BSD]: Likewise.
17356 * math/math.h [__USE_SVID]: Likewise.
17357 [__USE_BSD]: Likewise.
17358 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17359 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17360 * misc/search.h [__USE_SVID]: Likewise.
17361 * misc/sys/mman.h [__USE_BSD]: Likewise.
17362 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17363 * misc/sys/uio.h [__USE_BSD]: Likewise.
17364 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17365 * posix/glob.h [__USE_BSD]: Likewise.
17366 * posix/regex.h [__USE_BSD]: Likewise.
17367 * posix/sys/types.h [__USE_BSD]: Likewise.
17368 [__USE_SVID]: Likewise.
17369 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17370 * posix/sys/wait.h [__USE_BSD]: Likewise.
17371 [__USE_SVID]: Likewise.
17372 * posix/unistd.h [__USE_BSD]: Likewise.
17373 [__USE_SVID]: Likewise.
17374 * pwd/pwd.h [__USE_SVID]: Likewise.
17375 * resolv/netdb.h [__USE_BSD]: Likewise.
17376 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17377 * signal/signal.h [__USE_BSD]: Likewise.
17378 [__USE_SVID]: Likewise.
17379 * socket/sys/socket.h [__USE_BSD]: Likewise.
17380 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17381 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17382 [__USE_SVID]: Likewise.
17383 * string/bits/string2.h [__USE_BSD]: Likewise.
17384 [__USE_SVID]: Likewise.
17385 * string/bits/string3.h [__USE_BSD]: Likewise.
17386 * string/endian.h [__USE_BSD]: Likewise.
17387 * string/string.h [__USE_SVID]: Likewise.
17388 [__USE_BSD]: Likewise.
17389 * string/strings.h [__USE_BSD]: Likewise.
17390 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17391 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17392 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17393 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17394 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17395 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17396 Likewise.
17397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17398 Likewise.
17399 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17400 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17401 Likewise.
17402 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17403 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17404 Likewise.
17405 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17406 Likewise.
17407 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17408 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17409 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17410 Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17412 Likewise.
17413 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17414 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17415 * termios/termios.h [__USE_BSD]: Likewise.
17416 * time/sys/time.h [__USE_BSD]: Likewise.
17417 * time/time.h [__USE_BSD]: Likewise.
17418 [__USE_SVID]: Likewise.
17419
dd7b064c
JM
17420 * Makefile (subdir_targets): Remove subdir_lint.out.
17421
a2c4c199
JM
17422 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17423 (do-tst-printf): Likewise.
17424 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17425 $(objpfx)tst-printf.out.
17426
8756f740
JM
17427 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17428
1b6dd3f1
JM
17429 * Makerules (check-abi-%): Change target to
17430 $(objpfx)check-abi-%.out.
17431 (check-abi target): Update dependencies.
17432 (check-abi-pattern variable): Redirect output of diff to $@.
17433 (check-abi variable): Likewise.
17434 * elf/Makefile (check-abi): Update dependencies.
17435
ace614b8
JM
17436 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17437 unused.
17438 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17439 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17440 subnormal range.
17441 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17442 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17443 value has largest subnormal exponent.
17444 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17445 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17446 * sysdeps/aarch64/soft-fp/sfp-machine.h
17447 (_FP_TININESS_AFTER_ROUNDING): New macro.
17448 * sysdeps/alpha/soft-fp/sfp-machine.h
17449 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17450 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17451 Likewise.
17452 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17453 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17454 * sysdeps/mips/soft-fp/sfp-machine.h
17455 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17456 * sysdeps/powerpc/soft-fp/sfp-machine.h
17457 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17458 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17459 Likewise.
17460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17461 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17464 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17465 Likewise.
17466
fbfdf9cb
DAS
174672014-02-12 Dylan Alex Simon <dylan@dylex.net>
17468
17469 [BZ #16545]
17470 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17471 model 1.
17472
68b7efaa
RH
174732014-02-12 Richard Henderson <rth@redhat.com>
17474
c70a4b1d 17475 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17476 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17477 * sysdeps/unix/sysv/linux/alpha: Move directory from
17478 ports/sysdeps/unix/sysv/linux/alpha.
17479 * README: Update listing for alpha-*-linux-gnu.
17480
cb4a2928
JM
174812014-02-11 Joseph Myers <joseph@codesourcery.com>
17482
c941736c
JM
17483 * include/features.h: Update comment documenting feature test
17484 macros.
17485 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17486 _DEFAULT_SOURCE.
17487 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17488 (_SVID_SOURCE): Likewise.
17489 (_DEFAULT_SOURCE): Update description of default features.
17490 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17491 with _GNU_SOURCE.
17492 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17493 (S_ISVTX): Likewise.
17494 * manual/math.texi (Mathematical Constants): Likewise.
17495 * manual/signal.texi (Interrupted Primitives): Likewise.
17496 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17497 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17498 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17499 Don't refer to _SVID_SOURCE in warning text.
17500
e8d8d7ec
JM
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17502
cb4a2928
JM
17503 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17504 already defined.
17505 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17506 * sysdeps/mips/dl-lookup.c: Remove.
17507 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17508
7e6424e3
AK
175092014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17510
17511 [BZ #16447]
17512 * math/auto-libm-test-in: Add testcase for expl.
17513 * math/auto-libm-test-out: Regenerate.
17514 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17515 calculation of unsafe.
17516 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17517
75eff3fe
MS
175182014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17519
17520 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17521 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17522 ports/sysdeps/unix/sysv/linux/aarch64.
17523 * README: Update listing for aarch64*-*-linux-gnu.
17524
d35f1e80
WN
175252014-02-11 Will Newton <will.newton@linaro.org>
17526
17527 * manual/probes.texi (Mathematical Function Probes): Use
17528 "triggered" instead of "hit".
17529
7b3436d4
WN
17530 * manual/probes.texi (Internal Probes): Add documentation
17531 of setjmp, longjmp and longjmp_target probes.
17532
b4f12ca3
WN
17533 * include/stap-probe.h: Add comment about probe argument
17534 format.
17535
c13a72b7
WN
17536 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17537 definition. (tr_where, tr_freehook, tr_mallochook,
17538 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17539
195b8165
DM
175402014-02-11 David S. Miller <davem@davemloft.net>
17541
17542 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17543 processing int_tests.
17544
2ad7600b
JM
175452014-02-10 Joseph Myers <joseph@codesourcery.com>
17546
17547 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17548 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17549 * sysdeps/unix/sysv/linux/mips: Move directory from
17550 ports/sysdeps/unix/sysv/linux/mips.
17551 * README: Update listing for mips-*-linux-gnu and
17552 mips64-*-linux-gnu.
17553
73588a72
AS
175542014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17555
17556 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17557 * sysdeps/unix/sysv/linux/m68k: Move directory from
17558 ports/sysdeps/unix/sysv/linux/m68k.
17559 * README: Update listing for m68k-*-linux-gnu.
17560
4372980f
CM
175612014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17562
17563 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17564 * sysdeps/unix/sysv/linux/generic: Move directory from
17565 ports/sysdeps/unix/sysv/linux/generic.
17566 * sysdeps/unix/sysv/linux/tile: Move directory from
17567 ports/sysdeps/unix/sysv/linux/tile.
17568 * README: Update listing for tile*-*-linux-gnu.
17569
a1ffb40e
OB
175702014-02-10 Ondřej Bílka <neleai@seznam.cz>
17571
57f41c40
AS
17572 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17573 __builtin_expect.
a1ffb40e
OB
17574 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17575 * catgets/open_catalog.c (__open_catalog): Likewise.
17576 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17577 * debug/confstr_chk.c: Likewise.
17578 * debug/fread_chk.c (__fread_chk): Likewise.
17579 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17580 * debug/getgroups_chk.c: Likewise.
17581 * debug/mbsnrtowcs_chk.c: Likewise.
17582 * debug/mbsrtowcs_chk.c: Likewise.
17583 * debug/mbstowcs_chk.c: Likewise.
17584 * debug/memcpy_chk.c: Likewise.
17585 * debug/memmove_chk.c: Likewise.
17586 * debug/mempcpy_chk.c: Likewise.
17587 * debug/memset_chk.c: Likewise.
17588 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17589 * debug/strcat_chk.c (__strcat_chk): Likewise.
17590 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17591 * debug/strncat_chk.c (__strncat_chk): Likewise.
17592 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17593 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17594 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17595 * debug/wcpncpy_chk.c: Likewise.
17596 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17597 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17598 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17599 * debug/wcsncpy_chk.c: Likewise.
17600 * debug/wcsnrtombs_chk.c: Likewise.
17601 * debug/wcsrtombs_chk.c: Likewise.
17602 * debug/wcstombs_chk.c: Likewise.
17603 * debug/wmemcpy_chk.c: Likewise.
17604 * debug/wmemmove_chk.c: Likewise.
17605 * debug/wmempcpy_chk.c: Likewise.
17606 * debug/wmemset_chk.c: Likewise.
17607 * dirent/scandirat.c (SCANDIRAT): Likewise.
17608 * dlfcn/dladdr1.c (dladdr1): Likewise.
17609 * dlfcn/dladdr.c (dladdr): Likewise.
17610 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17611 * dlfcn/dlerror.c (__dlerror): Likewise.
17612 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17613 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17614 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17615 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17616 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17617 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17618 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17619 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17620 Likewise.
17621 * elf/dl-conflict.c: Likewise.
17622 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17623 * elf/dl-dst.h: Likewise.
17624 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17625 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17626 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17627 * elf/dl-init.c (call_init, _dl_init): Likewise.
17628 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17629 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17630 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17631 Likewise.
a1ffb40e
OB
17632 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17633 Likewise.
17634 * elf/dl-minimal.c (__libc_memalign): Likewise.
17635 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17636 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17637 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17638 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17639 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17640 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17641 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17642 * elf/dl-writev.h (_dl_writev): Likewise.
17643 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17644 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17645 (dl_main): Likewise.
a1ffb40e
OB
17646 * elf/setup-vdso.h (setup_vdso): Likewise.
17647 * grp/compat-initgroups.c (compat_call): Likewise.
17648 * grp/fgetgrent.c (fgetgrent): Likewise.
17649 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17650 * grp/putgrent.c (putgrent): Likewise.
17651 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17652 Likewise.
17653 * hurd/hurdinit.c: Likewise.
17654 * iconvdata/8bit-gap.c (struct): Likewise.
17655 * iconvdata/ansi_x3.110.c : Likewise.
17656 * iconvdata/big5.c : Likewise.
17657 * iconvdata/big5hkscs.c : Likewise.
17658 * iconvdata/cp1255.c: Likewise.
17659 * iconvdata/cp1258.c : Likewise.
17660 * iconvdata/cp932.c : Likewise.
17661 * iconvdata/euc-cn.c: Likewise.
17662 * iconvdata/euc-jisx0213.c : Likewise.
17663 * iconvdata/euc-jp.c: Likewise.
17664 * iconvdata/euc-jp-ms.c : Likewise.
17665 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17666 * iconvdata/gb18030.c : Likewise.
17667 * iconvdata/gbbig5.c (const): Likewise.
17668 * iconvdata/gbgbk.c: Likewise.
17669 * iconvdata/gbk.c : Likewise.
17670 * iconvdata/ibm1364.c : Likewise.
17671 * iconvdata/ibm930.c : Likewise.
17672 * iconvdata/ibm932.c: Likewise.
17673 * iconvdata/ibm933.c : Likewise.
17674 * iconvdata/ibm935.c : Likewise.
17675 * iconvdata/ibm937.c : Likewise.
17676 * iconvdata/ibm939.c : Likewise.
17677 * iconvdata/ibm943.c: Likewise.
17678 * iconvdata/iso_11548-1.c: Likewise.
17679 * iconvdata/iso-2022-cn.c : Likewise.
17680 * iconvdata/iso-2022-cn-ext.c : Likewise.
17681 * iconvdata/iso-2022-jp-3.c: Likewise.
17682 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17683 * iconvdata/iso-2022-kr.c : Likewise.
17684 * iconvdata/iso646.c (gconv_end): Likewise.
17685 * iconvdata/iso_6937-2.c : Likewise.
17686 * iconvdata/iso_6937.c : Likewise.
17687 * iconvdata/iso8859-1.c: Likewise.
17688 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17689 * iconvdata/shift_jisx0213.c : Likewise.
17690 * iconvdata/sjis.c : Likewise.
17691 * iconvdata/t.61.c : Likewise.
17692 * iconvdata/tcvn5712-1.c : Likewise.
17693 * iconvdata/tscii.c: Likewise.
17694 * iconvdata/uhc.c : Likewise.
17695 * iconvdata/unicode.c (gconv_end): Likewise.
17696 * iconvdata/utf-16.c (gconv_end): Likewise.
17697 * iconvdata/utf-32.c (gconv_end): Likewise.
17698 * iconvdata/utf-7.c (base64): Likewise.
17699 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17700 * iconv/gconv_close.c (__gconv_close): Likewise.
17701 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17702 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17703 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17704 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17705 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17706 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17707 * iconv/iconv.c (iconv): Likewise.
17708 * iconv/iconv_close.c: Likewise.
17709 * iconv/loop.c (SINGLE): Likewise.
17710 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17711 * include/atomic.h: Likewise.
17712 * inet/inet6_option.c (option_alloc): Likewise.
17713 * intl/bindtextdom.c (set_binding_values): Likewise.
17714 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17715 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17716 * intl/localealias.c (read_alias_file): Likewise.
17717 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17718 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17719 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17720 * libio/fmemopen.c (fmemopen): Likewise.
17721 * libio/iofgets.c (_IO_fgets): Likewise.
17722 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17723 * libio/iofgetws.c (fgetws): Likewise.
17724 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17725 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17726 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17727 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17728 * locale/findlocale.c (_nl_find_locale): Likewise.
17729 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17730 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17731 Likewise.
17732 * locale/setlocale.c (setlocale): Likewise.
17733 * login/programs/pt_chown.c (main): Likewise.
17734 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17735 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17736 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17737 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17738 * math/e_exp2l.c: Likewise.
17739 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17740 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17741 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17742 * math/s_catan.c (__catan): Likewise.
17743 * math/s_catanf.c (__catanf): Likewise.
17744 * math/s_catanh.c (__catanh): Likewise.
17745 * math/s_catanhf.c (__catanhf): Likewise.
17746 * math/s_catanhl.c (__catanhl): Likewise.
17747 * math/s_catanl.c (__catanl): Likewise.
17748 * math/s_ccosh.c (__ccosh): Likewise.
17749 * math/s_ccoshf.c (__ccoshf): Likewise.
17750 * math/s_ccoshl.c (__ccoshl): Likewise.
17751 * math/s_cexp.c (__cexp): Likewise.
17752 * math/s_cexpf.c (__cexpf): Likewise.
17753 * math/s_cexpl.c (__cexpl): Likewise.
17754 * math/s_clog10.c (__clog10): Likewise.
17755 * math/s_clog10f.c (__clog10f): Likewise.
17756 * math/s_clog10l.c (__clog10l): Likewise.
17757 * math/s_clog.c (__clog): Likewise.
17758 * math/s_clogf.c (__clogf): Likewise.
17759 * math/s_clogl.c (__clogl): Likewise.
17760 * math/s_csin.c (__csin): Likewise.
17761 * math/s_csinf.c (__csinf): Likewise.
17762 * math/s_csinh.c (__csinh): Likewise.
17763 * math/s_csinhf.c (__csinhf): Likewise.
17764 * math/s_csinhl.c (__csinhl): Likewise.
17765 * math/s_csinl.c (__csinl): Likewise.
17766 * math/s_csqrt.c (__csqrt): Likewise.
17767 * math/s_csqrtf.c (__csqrtf): Likewise.
17768 * math/s_csqrtl.c (__csqrtl): Likewise.
17769 * math/s_ctan.c (__ctan): Likewise.
17770 * math/s_ctanf.c (__ctanf): Likewise.
17771 * math/s_ctanh.c (__ctanh): Likewise.
17772 * math/s_ctanhf.c (__ctanhf): Likewise.
17773 * math/s_ctanhl.c (__ctanhl): Likewise.
17774 * math/s_ctanl.c (__ctanl): Likewise.
17775 * math/w_pow.c: Likewise.
17776 * math/w_powf.c: Likewise.
17777 * math/w_powl.c: Likewise.
17778 * math/w_scalb.c (sysv_scalb): Likewise.
17779 * math/w_scalbf.c (sysv_scalbf): Likewise.
17780 * math/w_scalbl.c (sysv_scalbl): Likewise.
17781 * misc/error.c (error_tail): Likewise.
17782 * misc/pselect.c (__pselect): Likewise.
17783 * nis/nis_callback.c (__nis_create_callback): Likewise.
17784 * nis/nis_call.c (__nisfind_server): Likewise.
17785 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17786 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17787 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17788 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17789 * nis/nis_lookup.c (nis_lookup): Likewise.
17790 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17791 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17792 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17793 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17794 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17795 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17796 * nis/nss_compat/compat-initgroups.c (add_group)
17797 (internal_getgrent_r): Likewise.
17798 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17799 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17800 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17801 (internal_getspnam_r): Likewise.
17802 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17803 (_nss_nis_getaliasbyname_r): Likewise.
17804 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17805 (_nss_nis_getntohost_r): Likewise.
17806 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17807 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17808 (_nss_nis_getgrgid_r): Likewise.
17809 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17810 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17811 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17812 (_nss_nis_gethostbyname4_r): Likewise.
17813 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17814 (initgroups_netid): Likewise.
a1ffb40e 17815 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17816 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17817 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17818 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17819 (_nss_nis_getprotobynumber_r): Likewise.
17820 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17821 (_nss_nis_getsecretkey): Likewise.
17822 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17823 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17824 (_nss_nis_getpwuid_r): Likewise.
17825 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17826 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17827 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17828 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17829 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17830 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17831 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17832 Likewise.
57f41c40
AS
17833 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17834 (_nss_nisplus_getntohost_r): Likewise.
17835 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17836 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17837 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17838 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17839 Likewise.
57f41c40
AS
17840 * nis/nss_nisplus/nisplus-initgroups.c
17841 (_nss_nisplus_initgroups_dyn): Likewise.
17842 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17843 (_nss_nisplus_getnetbyaddr_r): Likewise.
17844 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17845 (_nss_nisplus_getprotobynumber_r): Likewise.
17846 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17847 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17848 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17849 Likewise.
57f41c40
AS
17850 * nis/nss_nisplus/nisplus-service.c
17851 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17852 (_nss_nisplus_getservbyport_r): Likewise.
17853 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17854 (_nss_nisplus_getspnam_r): Likewise.
17855 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17856 Likewise.
a1ffb40e
OB
17857 * nscd/aicache.c (addhstaiX): Likewise.
17858 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17859 * nscd/connections.c (register_traced_file, send_ro_fd)
17860 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17861 (main_loop_epoll): Likewise.
a1ffb40e
OB
17862 * nscd/grpcache.c (addgrbyX): Likewise.
17863 * nscd/hstcache.c (addhstbyX): Likewise.
17864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17865 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17866 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17867 (addinnetgrX): Likewise.
17868 * nscd/nscd-client.h (__nscd_acquire_maplock)
17869 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17870 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17871 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17872 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17873 Likewise.
17874 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17876 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17877 (__nscd_get_map_ref): Likewise.
a1ffb40e 17878 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17879 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17880 Likewise.
a1ffb40e
OB
17881 * nscd/pwdcache.c (addpwbyX): Likewise.
17882 * nscd/selinux.c (preserve_capabilities): Likewise.
17883 * nscd/servicescache.c (addservbyX): Likewise.
17884 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17885 * posix/fnmatch.c (fnmatch): Likewise.
17886 * posix/getopt.c (_getopt_internal_r): Likewise.
17887 * posix/glob.c (glob, glob_in_dir): Likewise.
17888 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17889 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17890 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17891 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17892 * resolv/res_init.c: Likewise.
17893 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17894 * resolv/res_query.c (__libc_res_nquery): Likewise.
17895 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17896 Likewise.
17897 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17898 * stdio-common/perror.c (perror): Likewise.
17899 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17900 * stdio-common/tmpnam.c (tmpnam): Likewise.
17901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17902 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17903 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17904 Likewise.
a1ffb40e
OB
17905 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17906 * stdlib/putenv.c (putenv): Likewise.
17907 * stdlib/setenv.c (__add_to_environ): Likewise.
17908 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17909 * stdlib/strtol_l.c (INTERNAL): Likewise.
17910 * string/memmem.c (memmem): Likewise.
17911 * string/strerror.c (strerror): Likewise.
17912 * string/strnlen.c (__strnlen): Likewise.
17913 * string/test-memmem.c (simple_memmem): Likewise.
17914 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17915 * sunrpc/pm_getport.c (__get_socket): Likewise.
17916 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17917 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17918 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17919 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17920 Likewise.
17921 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17922 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17923 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17924 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17925 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17926 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17927 Likewise.
17928 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17929 Likewise.
a1ffb40e
OB
17930 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17931 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17932 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17933 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17934 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17936 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17937 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17938 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17939 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17940 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17941 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17942 Likewise.
17943 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17944 Likewise.
17945 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17946 Likewise.
17947 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17951 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17952 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17953 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17954 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17955 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17962 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17963 Likewise.
a1ffb40e
OB
17964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17965 Likewise.
17966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17967 Likewise.
17968 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17969 Likewise.
17970 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17971 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17972 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17973 Likewise.
17974 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17975 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17976 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17977 * sysdeps/posix/sleep.c: Likewise.
17978 * sysdeps/posix/tempname.c: Likewise.
17979 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17980 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17981 Likewise.
57f41c40
AS
17982 * sysdeps/powerpc/powerpc32/dl-machine.h
17983 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17984 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17986 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17987 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17988 Likewise.
17989 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17990 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17991 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17992 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17993 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17994 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17995 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17996 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17997 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17998 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17999 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18000 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18001 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18003 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18004 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18005 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18006 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18007 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18008 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18009 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18010 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18012 Likewise.
18013 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18014 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18015 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18016 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18017 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18018 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18019 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18020 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18021 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18022 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18023 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18024 Likewise.
18025 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18026 (__posix_fallocate64_l64): Likewise.
18027 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18028 (posix_fallocate): Likewise.
57f41c40
AS
18029 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18030 Likewise.
a1ffb40e 18031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18032 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18033 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18034 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18035 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18036 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18037 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18038 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18039 (__posix_fallocate64_l64): Likewise.
18040 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18041 Likewise.
18042 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18043 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18044 (__get_clockfreq): Likewise.
a1ffb40e
OB
18045 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18046 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18047 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18048 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18050 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18051 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18052 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18053 Likewise.
18054 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18055 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18056 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18057 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18058 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18059 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18060 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18061 Likewise.
18062 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18063 (posix_fallocate): Likewise.
18064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18065 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18066 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18067 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18068 (elf_machine_rela, elf_machine_rela_relative)
18069 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18070 * time/asctime.c (asctime_internal): Likewise.
18071 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18072 * time/tzset.c (__tzset_parse_tz): Likewise.
18073 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18074 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18075 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18076 * wcsmbs/wcsmbsload.h: Likewise.
18077
f3d338c9
OB
18078 [BZ #15894]
18079 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18080
57f41c40
AS
18081 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18082 (arena_get2): Remove THREAD_STATS conditionals.
18083 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18084 (__malloc_stats, int): Likewise.
bdfe308a 18085
d674667c
MF
180862014-02-08 Mike Frysinger <vapier@gentoo.org>
18087
18088 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18089 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18090
6349768c
MF
18091 * manual/setjmp.texi: Fix typos/grammar errors.
18092
0b7c7473
MF
18093 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18094 Only return early when n is <= 0. Delete unused return statement.
18095
ac8cc9e3
MF
18096 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18097 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18098 * debug/tst-longjmp_chk3.c: New file.
18099
c5bb8e23
MF
18100 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18101 (test_main): Replace code with set_fortify_handler call.
18102 * debug/test-strcpy_chk.c: Likewise.
18103 * debug/tst-chk1.c: Likewise.
18104 * debug/tst-longjmp_chk.c: Likewise.
18105 * test-skeleton.c: Include fcntl.h & paths.h
18106 (set_fortify_handler): Define.
18107
10444e42
MF
18108 * debug/tst-longjmp_chk.c: Add header comment and include
18109 ../test-skeleton.c.
18110 (do_test): Mark static.
18111 (TEST_FUNCTION): Define.
18112
1e805e8d
MF
18113 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18114 (IP_PMTUDISC_INTERFACE): Likewise.
18115 (IP_MULTICAST_IF): Likewise.
18116 (IP_MULTICAST_TTL): Likewise.
18117 (IP_MULTICAST_LOOP): Likewise.
18118 (IP_ADD_MEMBERSHIP): Likewise.
18119 (IP_DROP_MEMBERSHIP): Likewise.
18120 (IP_UNBLOCK_SOURCE): Likewise.
18121 (IP_BLOCK_SOURCE): Likewise.
18122 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18123 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18124 (IP_MSFILTER): Likewise.
18125 (MCAST_JOIN_GROUP): Likewise.
18126 (MCAST_BLOCK_SOURCE): Likewise.
18127 (MCAST_UNBLOCK_SOURCE): Likewise.
18128 (MCAST_LEAVE_GROUP): Likewise.
18129 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18130 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18131 (MCAST_MSFILTER): Likewise.
18132 (IP_MULTICAST_ALL): Likewise.
18133 (IP_UNICAST_IF): Likewise.
18134
73f79bb7
MF
18135 * timezone/Makefile: Delete $(have-ksh) check.
18136 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18137 * timezone/tzselect.ksh: Add +x mode bits.
18138
8da79b60
MF
18139 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18140 (ANON_INODE_FS_MAGIC): Likewise.
18141 (BDEVFS_MAGIC): Likewise.
18142 (BINFMTFS_MAGIC): Likewise.
18143 (BTRFS_TEST_MAGIC): Likewise.
18144 (CRAMFS_MAGIC_WEND): Likewise.
18145 (DEBUGFS_MAGIC): Likewise.
18146 (ECRYPTFS_SUPER_MAGIC): Likewise.
18147 (EXT3_SUPER_MAGIC): Likewise.
18148 (EXT4_SUPER_MAGIC): Likewise.
18149 (FUTEXFS_SUPER_MAGIC): Likewise.
18150 (HOSTFS_SUPER_MAGIC): Likewise.
18151 (HUGETLBFS_MAGIC): Likewise.
18152 (MINIX3_SUPER_MAGIC): Likewise.
18153 (MTD_INODE_FS_MAGIC): Likewise.
18154 (NILFS_SUPER_MAGIC): Likewise.
18155 (OPENPROM_SUPER_MAGIC): Likewise.
18156 (PIPEFS_MAGIC): Likewise.
18157 (PSTOREFS_MAGIC): Likewise.
18158 (QNX6_SUPER_MAGIC): Likewise.
18159 (RAMFS_MAGIC): Likewise.
18160 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18161 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18162 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18163 (SECURITYFS_MAGIC): Likewise.
18164 (SELINUX_MAGIC): Likewise.
18165 (SMACK_MAGIC): Likewise.
18166 (SOCKFS_MAGIC): Likewise.
18167 (SQUASHFS_MAGIC): Likewise.
18168 (STACK_END_MAGIC): Likewise.
18169 (TMPFS_MAGIC): Likewise.
18170 (USBDEVICE_SUPER_MAGIC): Likewise.
18171 (V9FS_MAGIC): Likewise.
18172 (XENFS_SUPER_MAGIC): Likewise.
18173 (CRAMFS_MAGIC): Fix typo in comment.
18174 (EXT2_SUPER_MAGIC): Update comment.
18175 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18176
464263cc
JM
181772014-02-08 Joseph Myers <joseph@codesourcery.com>
18178
c6bfe5c4
JM
18179 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18180 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18181 * sysdeps/unix/sysv/linux/arm: Move directory from
18182 ports/sysdeps/unix/sysv/linux/arm.
18183 * README: Update listing for arm-*-linux-gnueabi.
18184
464263cc
JM
18185 * README: Remove mention of am33.
18186
32749f6c
RM
181872014-02-07 Roland McGrath <roland@hack.frob.com>
18188
18189 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18190 than the comma operator, to avoid "rhs of comma has no effect"
18191 compiler warnings.
18192 (__sigfillset, __sigandset, __sigorset): Likewise.
18193 * include/signal.h (__sigemptyset): Likewise.
18194 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18195
d5b396c1
AM
181962014-02-07 Allan McRae <allan@archlinux.org>
18197
18198 * version.h (RELEASE): Set to "development".
18199 (VERSION): Set to "2.19.90"
18200 * NEWS: Add 2.20 section.
18201
3bfff2ed
CD
182022014-02-06 Carlos O'Donell <carlos@redhat.com>
18203
18204 [BZ #16529]
18205 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18206
ee7cc385
SP
182072014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18208
18209 * manual/contrib.texi: Update entry for Carlos O'Donell,
18210 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18211
f877c4f2
CD
182122014-02-05 Carlos O'Donell <carlos@rehdat.com>
18213
27e839f6
CD
18214 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18215
f877c4f2
CD
18216 * sysdeps/unix/sysv/linux/kernel-features.h
18217 [__LINUX_KERNEL_VERSION >= 0x020621]
18218 (__ASSUME_PROC_PID_TASK_COMM): Define.
18219
68159946
SP
182202014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18221
ba17cdbd
SP
18222 [BZ #16398]
18223 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18224 conversion when destination buffer does not have enough space.
18225 * libio/tst-ftell-partial-wide.c: New test case.
18226 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18227
68159946
SP
18228 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18229 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18230 Leonard and Allan McRae.
18231
2b528732
DM
182322014-02-04 David S. Miller <davem@davemloft.net>
18233
18234 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18235 32-bit.
18236
0ff82463
AZ
182372014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18238
57f41c40
AS
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18240 New file
c01603f7
AZ
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18242 New file
57f41c40
AS
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18244 New file.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18246 New file.
c01603f7
AZ
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18248 New file.
57f41c40
AS
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18250 New file.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18252 New file.
c01603f7
AZ
18253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18254 New file.
18255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18256 New file.
18257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18258 New file.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18260 New file.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18262 New file.
18263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18264 New file.
18265
182662014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18267
0ff82463
AZ
18268 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18269 * shlib-versions: Likewise.
18270
1695c773
AZ
182712014-02-04 Roland McGrath <roland@hack.frob.com>
18272 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18273
18274 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18275 (abilist-pattern): New variable, set to %-le.abilist.
18276
18277 * Makerules (abilist-pattern): New variable.
18278 (vpath): Use $(abilist-pattern) in place of %.abilist.
18279 (check-abi-% pattern rule): Likewise.
18280 (check-abi, update-abi): Likewise.
18281
6c0ce4b4
EW
182822014-02-04 Eric Wong <normalperson@yhbt.net>
18283
18284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18285
481e3524
CD
182862014-02-03 Carlos O'Donell <carlos@redhat.com>
18287
18288 * manual/startup.texi: Add next, previous, and top entries for
18289 the `Program Arguments' and `Environment Variables' nodes.
18290
375592d3
AO
182912014-02-03 Alexandre Oliva <aoliva@redhat.com>
18292
18293 * manual/macros.texi: Add comments before MTASC-safety macros.
18294
f54838ba
AO
18295 * manual/users.texi: Document MTASC-safety properties.
18296
57f41c40
AS
18297 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18298 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18299 @deftypefun, and add @safety note.
18300 * manual/signal.texi: Move comments that analyze the above
18301 functions to their home place.
18302
fd3daba4
AM
183032014-02-03 Allan McRae <allan@archlinux.org>
18304
18305 * po/sl.po: Update Slovenian translation from translation project.
18306
597636d7
AO
183072014-02-02 Alexandre Oliva <aoliva@redhat.com>
18308
18309 * manual/time.texi (timegm): Add missing blank after @c.
18310 Reported by Joseph Myers <joseph@codesourcery.com>.
18311
ee196e3c
AO
183122014-02-01 Alexandre Oliva <aoliva@redhat.com>
18313
18314 * manual/check-safety.sh: New.
18315 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18316
f8d529d5
AO
18317 * manual/terminal.texi: Document MTASC-safety properties.
18318
de55fdf4
AO
18319 * manual/filesys.texi: Document MTASC-safety properties.
18320
c3299c08
AO
18321 * manual/errno.texi: Document MTASC-safety properties.
18322
06e90b14
AO
18323 * manual/intro.texi: Document safety identifiers and
18324 conditionals.
18325
1acd4371
AO
18326 * manual/string.texi (wcstok): Fix prototype.
18327 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18328
23e5b8cb
AO
18329 * manual/time.texi: Document MTASC-safety properties.
18330
11087373
AO
18331 * manual/string.texi: Document MTASC-safety properties.
18332
5da2c93d
AO
18333 * manual/threads.texi: Document MTASC-safety properties.
18334
171e9210
AO
18335 * manual/stdio.texi: Document MTASC-safety properties.
18336
d9e02532
AO
18337 * manual/syslog.texi: Document MTASC-safety properties.
18338
6af8bab7
AO
18339 * manual/sysinfo.texi: Document MTASC-safety properties.
18340
663b02d7
AO
18341 * manual/startup.texi: Document MTASC-safety properties.
18342
973f180b
AO
18343 * manual/socket.texi: Document MTASC-safety properties.
18344
8f3c25c8
AO
18345 * manual/signal.texi: Document MTASC-safety properties.
18346
542210fb
AO
183472014-01-31 Alexandre Oliva <aoliva@redhat.com>
18348
18349 * manual/setjmp.texi: Document MTASC-safety properties.
18350
433c45a2
AO
18351 * manual/search.texi: Document MTASC-safety properties.
18352
c8ce789c
AO
18353 * manual/resource.texi: Document MTASC-safety properties.
18354
19f5d29c
AO
18355 * manual/process.texi: Document MTASC-safety properties.
18356
e2dfb7f4
AO
18357 * manual/platform.texi: Document MTASC-safety properties.
18358
8c1413f5
AO
18359 * manual/pipe.texi: Document MTASC-safety properties.
18360
03483ada
AO
18361 * manual/pattern.texi: Document MTASC-safety properties.
18362
29e7e2df
AO
18363 * manual/message.texi: Document MTASC-safety properties.
18364
9f529d7c
AO
18365 [BZ #12751]
18366 * manual/memory.texi: Document MTASC-safety properties.
18367
27aaa791
AO
18368 * manual/math.texi: Document MTASC-safety properties.
18369
f2d58726
AO
18370 * manual/locale.texi: Document MTASC-safety properties.
18371
2cc3615c
AO
18372 * manual/llio.texi: Document MTASC-safety properties.
18373
d9f0ec97
AO
18374 * manual/libdl.texi: New.
18375
e7c4409a
AO
18376 * manual/lang.texi: Document MTASC-safety properties.
18377
27bdc63c
AO
18378 * manual/job.texi: Document MTASC-safety properties.
18379
a7b90ea9
AO
18380 * manual/getopt.texi: Document MTASC-safety properties.
18381
c49130e3
AO
18382 * manual/ctype.texi: Document MTASC-safety properties.
18383
0d23a5c1
MR
183842014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18385
18386 [BZ #16046]
18387 * csu/libc-tls.c (static_map): Remove variable.
18388 (__libc_setup_tls): Use main executable's link map for TLS data.
18389 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18390 casing for LM_ID_BASE and GL(dl_nns).
18391 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18392 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18393 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18394 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18395 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18396 member.
18397 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18398 l_phnum members.
18399
0037bb60
AO
184002014-01-30 Alexandre Oliva <aoliva@redhat.com>
18401
18402 * manual/debug.texi: Document MTASC-safety properties.
18403
409e00bd
L
184042014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 [BZ #16510]
18407 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18408 of __x86_64__ when disabling x87 inline functions.
18409
86e60666
AO
184102014-01-29 Alexandre Oliva <aoliva@redhat.com>
18411
18412 * manual/charset.texi: Document MTASC-safety properties.
18413
76167637
AO
18414 * manual/crypt.texi: Document MTASC-safety properties.
18415
e567f2a0
AO
18416 * manual/conf.texi: Document MTASC-safety properties.
18417
b719dafd
AO
18418 * manual/arith.texi: Document MTASC-safety properties.
18419
4a16c662
AO
18420 * manual/argp.texi: Document MTASC-safety properties.
18421
0a57b83e
AO
18422 * manual/macros.texi: Introduce macros to document multi
18423 thread, asynchronous signal and asynchronous cancellation
18424 safety properties.
18425 * manual/intro.texi: Introduce the properties themselves.
18426
feab2397
KK
184272014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18428
18429 * sysdeps/sh/sh4/Makefile: New file.
18430
1c0d11bc
AS
184312014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18432
18433 * math/gen-libm-test.pl ($srcdir): New variable.
18434 ($auto_input): Use it.
18435
af37a8a3
SP
184362014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18437
d7b00f98
SP
18438 [BZ #16506]
18439 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18440 access beyond array bounds when parsing netgroups file.
18441
af37a8a3
SP
18442 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18443 the old buffer before realloc.
18444
0c00f062
AM
184452014-01-27 Allan McRae <allan@archlinux.org>
18446
18447 * po/fr.po: Update French translation from translation project.
18448
7d69a1b0
KK
184492014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18450
18451 * sysdeps/sh/libm-test-ulps: Regenerate.
18452
6e697ff7
DM
184532014-01-24 David S. Miller <davem@davemloft.net>
18454
18455 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18456
9cadb35c
KK
184572014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18458
18459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18460 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18461
5d41dadf
SP
184622013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18463
18464 [BZ #16474]
18465 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18466 string pointers after reallocation.
18467
0bad441c
KK
184682014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18469
18470 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18471 __SH4A__ instead of __SH_FPU_ANY__.
18472
7007c661
KK
184732014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18474
18475 * sysdeps/sh/fpu_control.h: New file.
18476 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18477 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18478 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18479 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18480 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18481 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18482 * sysdeps/sh/sys/ucontext.h: Remove.
18483 * sysdeps/sh/sys: Remove directory.
18484
0f0c35e4
AK
184852014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18486
18487 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18488 s390/sys/ucontext.h.
18489 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18490 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18491
4959e284
L
184922014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18493
18494 [BZ #15605]
18495 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18496
d98720e0
AZ
184972014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18498
18499 [BZ#16431]
18500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18501 Adjust the vDSO correctly for internal calls.
18502 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18503
91cbd0bc
AM
185042014-01-20 Allan McRae <allan@archlinux.org>
18505
18506 * po/ca.po: Update Catalan translation from translation project.
18507
7a02cfad
MF
185082014-01-16 Mike Frysinger <vapier@gentoo.org>
18509
18510 * sysdeps/s390/sotruss-lib.c: New file.
18511
736c304a
AZ
185122014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513
18514 [BZ#16430]
6e077ee5 18515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18516 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18517 local calls issues by not having a PLT stub required for IFUNC calls.
18518 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18519
94d0cea0
JM
185202014-01-16 Joseph Myers <joseph@codesourcery.com>
18521
18522 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18523 * math/test-fpucw-static.c: Likewise.
18524
980cb518
SP
185252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18526
18527 [BZ #16453]
18528 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18529
2393fc01
AZ
185302014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18531
18532 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18533 implementation for powerpc.
18534
d359bcc2
OB
185352014-01-15 Ondřej Bílka <neleai@seznam.cz>
18536
18537 [BZ #14782]
18538 * sysdeps/posix/system.c (__libc_system): Do not enable
18539 asynchronous cancellation.
18540
7beb48cb
AK
185412014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18542
18543 [BZ #16427]
18544 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18545 handling only for numbers special also in the IEEE case.
18546
c20d5bf5
AK
185472014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18548
18549 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18550
e83bd4ee
AM
185512014-01-11 Allan McRae <allan@archlinux.org>
18552
76d0ea69
AM
18553 * po/bg.po: Update Bulgarian translation from translation project.
18554
e83bd4ee
AM
18555 * po/de.po: Update German translation from translation project.
18556
bc2ba20a
RM
185572014-01-10 Roland McGrath <roland@hack.frob.com>
18558
18559 * sysdeps/generic/gcc-compat.h: New file.
18560
649ecea2
SP
185612014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18562
18563 * benchtests/asin-inputs: Correct slow inputs.
18564 * benchtests/acos-inputs: Likewise.
18565
1b19c006
AM
185662014-01-10 Allan McRae <allan@archlinux.org>
18567
a46dab08
AM
18568 * po:sv.po: Update Swedish translation from translation project.
18569
421df74a
AM
18570 * po/vi.po: Update Vietnamese translation from translation project.
18571
d61c51a7
AM
18572 * po/eo.po: Update Esperanto translation from translation project.
18573
0339a319
AM
18574 * po/cs.po: Update Czech translation from translation project.
18575
94ad3e99
AM
18576 * po/nl.po: Update Dutch translation from translation project.
18577
e349ca71
AM
18578 * po/pl.po: Update Polish translation from translation project.
18579
ddf930c1
AM
18580 * po/ru.po: Update Russian translation from translation project.
18581
1b19c006
AM
18582 * po/uk.po: Update Ukrainian translation from translation project.
18583
9f236c49
BM
185842014-01-08 Brooks Moses <bmoses@google.com>
18585
18586 * elf/dl-load.c: Fix comment typo.
18587
cd6701cf
CD
185882014-01-08 Carlos O'Donell <carlos@redhat.com>
18589
18590 * po/header.pot: Rename to...
18591 * po/pot.header: ... this.
18592 * po/Makefile: Use pot.header.
18593
66671c84
YK
185942014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18595 Maxim Kuvyrkov <maxim@kugelworks.com>
18596
18597 [BZ #16394]
cd6701cf
CD
18598 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18599 SRC and DEST against LEN.
66671c84 18600
38f34581
AZ
186012014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18602
18603 [BZ #16414]
18604 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18605 implementation.
18606 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18607
186082014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18609
18610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18611
4c327f2a
JM
186122014-01-08 Joseph Myers <joseph@codesourcery.com>
18613
18614 [BZ #16408]
18615 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18616 for large positive arguments.
18617
b821f414
JM
186182014-01-07 Joseph Myers <joseph@codesourcery.com>
18619
1f0f2067
JM
18620 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18621
a5a326f6
JM
18622 * math/auto-libm-test-in: Mark various tests with
18623 xfail-rounding:ldbl-128ibm.
18624 * math/auto-libm-test-out: Regenerated.
18625
b821f414
JM
18626 [BZ #16407]
18627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18628 Increase overflow threshold.
18629
94c8a4bc
OB
186302014-01-07 Ondřej Bílka <neleai@seznam.cz>
18631
18632 [BZ #14286]
18633 * stdio-common/vfprintf.c: Check for integer overflow.
18634
87ded0c3
AK
186352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18636
18637 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18638 the first argument and return value of __tls_get_addr_internal.
18639
c5eebdd0
AK
186402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18641
18642 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18643 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18644
05d138ef
AK
186452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18646
18647 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18648 * sysdeps/s390/rtld-global-offsets.sym: New file.
18649 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18650 GLIBC_2.19 symbol.
18651 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18652 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18653 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18654 ... this.
18655 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18656 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18657 ... this.
18658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18659 Regenerate.
18660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18661 Regenerate.
18662 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18663 halfs of GPRs for high_gprs contexts.
18664 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18665 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18666 field.
18667 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18668 uc_flags field.
18669 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18670 64 bit versions:
18671 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18672 for high GPRs (uc_high_gprs) and for future extensions
18673 (__reserved).
18674 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18675 for future extensions (__reserved).
18676 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18677 64 bit versions:
18678 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18679 SC_HIGHGPRS offset definition.
18680 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18681 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18682
93a45ff1
AK
18683 * Versions.def: Add GLIBC_2.19 for libpthread.
18684 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18685 siglongjmp for libpthread with GLIBC_2.19 symver.
18686 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18687 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18688 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18689 * sysdeps/s390/__longjmp.c: New file.
18690 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18691 * sysdeps/s390/longjmp.c: New file.
18692 * sysdeps/s390/setjmp.S: New file.
18693 * sysdeps/s390/sigjmp.S: New file.
18694 * sysdeps/s390/v1-longjmp.c: New file.
18695 * sysdeps/s390/v1-setjmp.h: New file.
18696 * sysdeps/s390/v1-sigjmp.c: New file.
18697 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18698 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18699 GLIBC_2.19 version.
18700 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18701 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18702 versioned symbols for ____longjmp_chk.
18703 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18704 Likewise.
18705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18706 Regenerate.
18707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18708 Regenerate.
18709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18710 Regenerate.
18711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18712 Regenerate.
18713 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18714 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18715 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18716 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18717 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18718 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18719 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18720 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18721 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18722 * sysdeps/s390/rtld-__longjmp.c: New file.
18723 * sysdeps/s390/rtld-setjmp.S: New file.
18724
eb3fc44b
JM
187252014-01-06 Joseph Myers <joseph@codesourcery.com>
18726
18727 [BZ #16400]
18728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18729 Return -__logl (x) for small positive arguments without evaluating
18730 a polynomial.
18731
9341dde4
MF
187322014-01-06 Mike Frysinger <vapier@gentoo.org>
18733
18734 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18735 Rename to ...
18736 (__ptrace_peeksiginfo_args): ... this.
18737 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18738 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18740
4cff0293
AM
187412014-01-06 Allan McRae <allan@archlinux.org>
18742
18743 * inet/netinet/in.h: Fix typo in comment.
18744
75595dcf
AJ
187452014-01-05 Andreas Jaeger <aj@suse.de>
18746
18747 * sysdeps/i386/fpu/libm-test-ulps: Update.
18748
79c1e109
AM
187492014-01-05 Allan McRae <allan@archlinux.org>
18750
dd804818
AM
18751 * po/libc.pot: Regenerated.
18752
79c1e109
AM
18753 * malloc/memusagestat.c: Fix gettext call formatting.
18754
0c813d1f
SK
187552014-01-04 Sami Kerola <kerolasa@iki.fi>
18756
18757 * nscd/nscd.c: Improve usage() output.
18758
20f4a8d9
MF
187592014-01-04 Mike Frysinger <vapier@gentoo.org>
18760
18761 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18762 * sysdeps/unix/sysv/linux/configure: Regenerated.
18763 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18764 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18765
22562bb2
JM
187662014-01-03 Joseph Myers <joseph@codesourcery.com>
18767
18768 [BZ #16390]
18769 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18770 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18771
d7ad2d9b
AZ
187722014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18773
18774 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18775 extra tokens at end of #undef directive.
18776 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18777 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18779
7dd009d8
JM
187802014-01-03 Joseph Myers <joseph@codesourcery.com>
18781
24db925a
JM
18782 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18783
7dd009d8
JM
18784 * math/auto-libm-test-in: Mark various tests with
18785 xfail-rounding:ldbl-128ibm.
18786 * math/auto-libm-test-out: Regenerated.
18787
396e3ecf
JM
187882014-01-02 Joseph Myers <joseph@codesourcery.com>
18789
819e5d50
JM
18790 [BZ #16386]
18791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18792 numbers with subnormal high part when calculating exponent.
18793
90b6a1e5
JM
18794 [BZ #16385]
18795 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18796 fabs.
18797
396e3ecf
JM
18798 [BZ #16384]
18799 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18800 M_LN2l.
18801 (__ieee754_acoshl): Use __log1pl not __log1p.
18802
6c8dbf00
OB
188032013-01-02 Ondřej Bílka <neleai@seznam.cz>
18804
57f41c40
AS
18805 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18806 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18807 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18808 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18809 (reused_arena, arena_get2): Convert to GNU style.
18810 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18811 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18812 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18813 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18814 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18815 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18816 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18817 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18818 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18819 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18820 * malloc/malloc.h: Likewise.
57f41c40
AS
18821 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18822 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18823 * malloc/mcheck.h: Likewise.
57f41c40
AS
18824 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18825 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18826 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18827 * malloc/morecore.c (__default_morecore): Likewise.
18828 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18829 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18830 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18831 (print_and_abort): Likewise.
6c8dbf00
OB
18832 * malloc/obstack.h: Likewise.
18833 * malloc/set-freeres.c (__libc_freeres): Likewise.
18834 * malloc/tst-mallocstate.c (main): Likewise.
18835 * malloc/tst-mtrace.c (main): Likewise.
18836 * malloc/tst-realloc.c (do_test): Likewise.
18837
d4124212
SP
188382013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18839
9a3c6a6f
SP
18840 [BZ #16366]
18841 * nscd/netgroupcache.c (do_notfound): New function.
18842 (addgetnetgrentX): Use it.
18843
d4124212
SP
18844 [BZ # 16365]
18845 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18846 NSS_STATUS_NOTFOUND.
18847
97b9a009
JM
188482014-01-01 Joseph Myers <joseph@codesourcery.com>
18849
18850 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18852
d4697bc9
AM
188532014-01-01 Allan McRae <allan@archlinux.org>
18854
ddb3687f
AM
18855 * scripts/update-copyrights: Update configure input file suffix.
18856
88726d48
AM
18857 * NEWS: Update copyright year.
18858 * catgets/gencat.c: Likewise.
18859 * csu/version.c: Likewise.
18860 * debug/catchsegv.sh: Likewise.
18861 * debug/pcprofiledump.c: Likewise.
18862 * debug/xtrace.sh: Likewise.
18863 * elf/ldconfig.c: Likewise.
18864 * elf/ldd.bash.in: Likewise.
18865 * elf/pldd.c: Likewise.
18866 * elf/sotruss.ksh: Likewise.
18867 * elf/sprof.c: Likewise.
18868 * iconv/iconv_prog.c: Likewise.
18869 * iconv/iconvconfig.c: Likewise.
18870 * locale/programs/locale.c: Likewise.
18871 * locale/programs/localedef.c: Likewise.
18872 * login/programs/pt_chown.c: Likewise.
18873 * malloc/memusage.sh: Likewise.
18874 * malloc/memusagestat.c: Likewise.
18875 * malloc/mtrace.pl: Likewise.
18876 * manual/libc.texinfo: Likewise.
18877 * nscd/nscd.c: Likewise.
18878 * nss/getent.c: Likewise.
18879 * nss/makedb.c: Likewise.
18880 * posix/getconf.c: Likewise.
18881 * scripts/test-installation.pl: Likewise.
18882
d4697bc9
AM
18883 * All files with FSF copyright notices: Update copyright dates
18884 using scripts/update-copyrights.
18885 * intl/plural.c: Regenerated.
18886 * locale/programs/charmap-kw.h: Likewise.
18887 * locale/programs/locfile-kw.h: Likewise.
18888
c8590f9d
MF
188892013-12-31 Mike Frysinger <vapier@gentoo.org>
18890
18891 * sysdeps/unix/sysv/linux/configure: Regenerated.
18892 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18893 the linux/fanotify.h header.
18894 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18895 HAVE_LINUX_FANOTIFY_H is defined.
18896
b19221b9
SP
188972013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18898
dd1d85e5
SP
18899 * benchtests/cos-inputs: New inputs.
18900 * benchtests/sin-inputs: Likewise.
18901
1acbb90f
SP
18902 * benchtests/atan-inputs: New inputs. Fix name of multiple
18903 precision fallback inputs.
18904
4c012ed3
SP
18905 * benchtests/atanh-inputs: New inputs.
18906 * benchtests/tanh-inputs: Likewise.
18907
eff98324
SP
18908 * benchtests/acosh-inputs: New inputs.
18909 * benchtests/asinh-inputs: Likewise.
18910
ce641152
SP
18911 * benchtests/cosh-inputs: New inputs.
18912 * benchtests/sinh-inputs: Likewise.
18913
b19221b9
SP
18914 * benchtests/acos-inputs: Add more inputs.
18915 * benchtests/asin-inputs: Likewise.
18916
030a4976 189172013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18918
030a4976 18919 [BZ #16375]
9dcc8f11
VS
18920 * manual/arith.texi: Fix spelling.
18921 * manual/charset.texi: Likewise.
18922 * manual/errno.texi: Likewise.
18923 * manual/filesys.texi: Likewise.
18924 * manual/lang.texi: Likewise.
18925 * manual/llio.texi: Likewise.
18926 * manual/locale.texi: Likewise.
18927 * manual/message.texi: Likewise.
18928 * manual/resource.texi: Likewise.
18929 * manual/search.texi: Likewise.
18930 * manual/setjmp.texi: Likewise.
18931 * manual/stdio.texi: Likewise.
18932 * manual/string.texi: Likewise.
18933 * manual/sysinfo.texi: Likewise.
18934 * manual/time.texi: Likewise.
18935
11520a57
CD
189362013-12-27 Carlos O'Donell <carlos@redhat.com>
18937
18938 * po/sl.po: New file.
18939
471103ae
MF
189402013-12-27 Mike Frysinger <vapier@gentoo.org>
18941
18942 * .gitignore: Add core/.gdbinit/.gdb_history.
18943
6c9642ed
AM
189442013-12-27 Allan McRae <allan@archlinux.org>
18945
18946 [BZ #16369]
18947 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18948 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18949
3f637079
BM
189502013-12-24 Brooks Moses <bmoses@google.com>
18951
18952 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18953 all compilers that claim C++98 compliance, not just GCC.
18954 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18955 Likewise.
18956
abc26e99
MK
189572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18958
18959 * NEWS: Restore accidentally deleted bug-fix entries.
18960
362b47fe
MK
189612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18962 Ondřej Bílka <neleai@seznam.cz>
18963
18964 [BZ #15073]
18965 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18966 have_lock.
362b47fe 18967
b9bcbbcb
OB
189682013-12-23 Ondřej Bílka <neleai@seznam.cz>
18969
18970 [BZ #12986]
18971 * manual/stdio.texi (String Input Conversions): Clarify that character
18972 classes are not supported.
18973
fb55fcd2
AZ
189742013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18975
18976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18977
ef7344f0
JM
189782013-12-22 Joseph Myers <joseph@codesourcery.com>
18979
4f40e4b3
JM
18980 [BZ #16337]
18981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18982 Calculate results for small negative arguments directly rather
18983 than using reflection formula with special underflow handling.
18984
ef7344f0
JM
18985 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18986 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18987 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18988 (fchflags): Likewise.
18989 (revoke): Likewise.
18990 (setlogin): Likewise.
18991 (sigaltstack): Likewise.
18992 (wait4): Likewise.
18993 (sigblock): Remove.
18994 (sigsetmask): Likewise.
18995 (wait3): Likewise.
18996 (waitpid): Likewise.
18997 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18998 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18999 file.
19000 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19001 * sysdeps/unix/bsd/Makefile: ... here.
19002 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19003 * sysdeps/unix/bsd/Versions: ... here.
19004 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19005 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19006 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19007 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19008 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19009 * sysdeps/unix/bsd/sigblock.c: ... here.
19010 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19011 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19012 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19013 * sysdeps/unix/bsd/sigvec.c: ... here.
19014 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19015 * sysdeps/unix/bsd/tcdrain.c: ... here.
19016 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19017 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19018 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19019 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19020 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19021 * sysdeps/unix/bsd/wait.c: ... here.
19022 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19023 * sysdeps/unix/bsd/wait3.c: ... here.
19024 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19025 * sysdeps/unix/bsd/waitpid.c: ... here.
19026
5b0626b9
JM
190272013-12-21 Joseph Myers <joseph@codesourcery.com>
19028
19029 [BZ #16356]
19030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19031 round-to-nearest for [!USE_AS_EXPM1L].
19032 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19033 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19034 more tests of exp and exp10. Expect some exp10 tests to miss
19035 exceptions or fail in directed rounding modes.
19036 * math/auto-libm-test-out: Regenerated.
19037 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19038 (exp10_test_tonearest): New function.
19039 (exp10_towardzero_test_data): New array.
19040 (exp10_test_towardzero): New function.
19041 (exp10_downward_test_data): New array.
19042 (exp10_test_downward): New function.
19043 (exp10_upward_test_data): New array.
19044 (exp10_test_upward): New function.
19045 (main): Call the new functions.
19046 * sysdeps/i386/fpu/libm-test-ulps: Update.
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19048
7fda5682
JM
190492013-12-20 Joseph Myers <joseph@codesourcery.com>
19050
31e3a405
JM
19051 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19052 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19053 * math/auto-libm-test-out: Regenerated.
19054 * math/libm-test.inc (acosh_test_data): Add more tests.
19055 (atanh_test_data): Likewise.
19056 (ceil_test_data): Likewise.
19057 (copysign_test_data): Likewise.
19058 * sysdeps/i386/fpu/libm-test-ulps: Update.
19059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19060
85bff96a
JM
19061 * timezone/checktab.awk: Update from tzcode 2013i.
19062 * timezone/private.h: Likewise.
19063 * timezone/scheck.c: Likewise.
19064 * timezone/tzfile.h: Likewise.
19065 * timezone/tzselect.ksh: Likewise.
19066 * timezone/zdump.c: Likewise.
19067 * timezone/zic.c: Likewise.
19068
b7867a3b
JM
19069 * math/auto-libm-test-in: Add tests of cpow.
19070 * math/auto-libm-test-out: Regenerated.
19071 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19073 mpc_cc_c.
19074 (func_calc_desc): Add mpc_cc_c union field.
19075 (test_functions): Add cpow.
19076 (special_fill_2pi): New function.
19077 (special_real_inputs): Add 2pi.
19078 (calc_generic_results): Handle mpc_cc_c.
19079 * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19081
7fda5682
JM
19082 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19083 csqrt, ctan and ctanh.
19084 * math/auto-libm-test-out: Regenerated.
19085 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19086 (TEST_COND_x86): Likewise.
19087 (ccos_test_data): Use AUTO_TESTS_c_c.
19088 (ccosh_test_data): Likewise.
19089 (cexp_test_data): Likewise.
19090 (clog_test_data): Likewise.
19091 (csqrt_test_data): Likewise.
19092 (ctan_test_data): Likewise.
19093 (ctan_tonearest_test_data): Likewise.
19094 (ctan_towardzero_test_data): Likewise.
19095 (ctan_downward_test_data): Likewise.
19096 (ctan_upward_test_data): Likewise.
19097 (ctanh_test_data): Likewise.
19098 (ctanh_tonearest_test_data): Likewise.
19099 (ctanh_towardzero_test_data): Likewise.
19100 (ctanh_downward_test_data): Likewise.
19101 (ctanh_upward_test_data): Likewise.
19102 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19103 mpc_c_c.
19104 (func_calc_desc): Add mpc_c_c union field.
19105 (FUNC_mpc_c_c): New macro.
19106 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19107 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19108 ctanh.
19109 (special_fill_min_subnorm_p120): New function.
19110 (special_real_inputs): Add min_subnorm_p120.
19111 (calc_generic_results): Handle mpc_c_c.
19112 * sysdeps/i386/fpu/libm-test-ulps: Update.
19113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19114
5ff8d60e
SP
191152013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19116
57f41c40
AS
19117 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19118 (do_sin_slow): New functions.
19119 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19120 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19121
84ba214c
SP
19122 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19123 Use M to change sign of result instead of X. Assume X is
19124 positive.
19125 (csloww1): Likewise.
19126 (__sin): Adjust.
19127 (__cos): Adjust.
19128
975195e4
SP
19129 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19130 arguments A and DA.
19131 (__sin): Adjust.
19132 (__cos): Likewise.
19133
5ff8d60e
SP
19134 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19135 (__cos): Likewise.
19136 (sloww1): Don't adjust sign of DX.
19137 (csloww1): Likewise.
19138 (sloww2): Use X directly and don't adjust sign of DX.
19139 (csloww2): Likewise.
19140
eb983568
JM
191412013-12-19 Joseph Myers <joseph@codesourcery.com>
19142
64a17f1a
JM
19143 * math/auto-libm-test-in: Add tests of cabs and carg.
19144 * math/auto-libm-test-out: Regenerated.
19145 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19146 (carg_test_data): Likewise.
19147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19148 mpc_c_f.
19149 (func_calc_desc): Add mpc_c_f union field.
19150 (test_functions): Add cabs and carg.
19151 (calc_generic_results): Handle mpc_c_f.
19152
eb983568
JM
19153 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19154 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19155 as a macro and a compat symbol.
19156 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19157 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19158 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19159 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19160 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19161 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19162 not use .hidden.
19163 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19164 Likewise.
19165 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19166 Likewise.
19167 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19168 Likewise.
19169 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19170 Likewise.
19171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19172 Likewise.
19173 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19174 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19175 from GLIBC_2.3.2.
19176
6eeb678a
AZ
191772013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19178
19179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19180
6f6fc482
JM
191812013-12-19 Joseph Myers <joseph@codesourcery.com>
19182
21fea2e2
JM
19183 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19184 trailing whitespace removed.
19185 * scripts/config.guess: Update to version 2013-11-29.
19186 * scripts/config.sub: Update to version 2013-10-01.
19187
6f6fc482
JM
19188 * math/auto-libm-test-in: Add tests of sincos.
19189 * math/auto-libm-test-out: Regenerated.
19190 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19191 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19192 mpfr_f_11.
19193 (func_calc_desc): Add mpfr_f_11 union field.
19194 (test_functions): Add sincos.
19195 (calc_generic_results): Handle mpfr_f_11.
19196 * sysdeps/i386/fpu/libm-test-ulps: Update.
19197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19198
83f5c32d
AS
191992013-12-19 Andreas Schwab <schwab@suse.de>
19200
19201 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19202 CALL_MCOUNT.
19203 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19205 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19206
c688b419
JM
192072013-12-19 Joseph Myers <joseph@codesourcery.com>
19208
335ee092
JM
19209 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19210 * sysdeps/i386/fpu/libm-test-ulps: Update.
19211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19212
f88acd39
JM
19213 [BZ #16293]
19214 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19215 round-to-nearest mode when using frndint.
19216 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19217 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19218 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19219 Likewise.
19220 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19221 sinh test to fail.
19222 * math/auto-libm-test-out: Regenerated.
19223 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19224 (TEST_COND_x86): Likewise.
19225 (expm1_tonearest_test_data): New array.
19226 (expm1_test_tonearest): New function.
19227 (expm1_towardzero_test_data): New array.
19228 (expm1_test_towardzero): New function.
19229 (expm1_downward_test_data): New array.
19230 (expm1_test_downward): New function.
19231 (expm1_upward_test_data): New array.
19232 (expm1_test_upward): New function.
19233 (main): Run the new test functions.
19234 * sysdeps/i386/fpu/libm-test-ulps: Update.
19235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19236
c688b419
JM
19237 * include/features.h: Update comment documenting feature test
19238 macros. Mention _DEFAULT_SOURCE in comment.
19239 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19240 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19241 _BSD_SOURCE and _SVID_SOURCE.
19242 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19243 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19244 !_SVID_SOURCE]: Likewise.
19245 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19246 (__USE_POSIX_IMPLICITLY): Define.
19247 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19248 (_POSIX_SOURCE): Undefine and redefine.
19249 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19250 (_POSIX_C_SOURCE): Likewise.
19251 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19252 (Feature Test Macros): Update documentation of default features.
19253
9f6e964c
RS
192542013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19255
19256 * benchtests/Makefile: Add bench-strtok.
19257 * benchtests/bench-strtok.c: New file: strtok benchtest.
19258
ee0a148a
AM
192592013-12-19 Allan McRae <allan@archlinux.org>
19260
19261 * manual/install.texi: Suppress menu for plain text output.
19262 * INSTALL: Regenerated.
19263
b9ab448f
BM
192642013-12-18 Brooks Moses <bmoses@google.com>
19265
19266 [BZ #15846]
19267 * misc/getauxval.c: Include errno.h.
19268 (__getauxval): Set errno to ENOENT if the requested type is not
19269 found.
19270 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19271 don't declare with __attribute_const__.
19272 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19273 * manual/startup.texi: Document that getauxval sets errno.
19274
23776487
JM
192752013-12-18 Joseph Myers <joseph@codesourcery.com>
19276
f889953b
JM
19277 * math/auto-libm-test-in: Add tests of jn and yn.
19278 * math/auto-libm-test-out: Regenerated.
19279 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19280 (yn_test_data): Likewise.
19281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19282 mpfr_if_f.
19283 (func_calc_desc): Add mpfr_if_f union field.
19284 (FUNC_mpfr_if_f): New macro.
19285 (test_functions): Add jn and yn.
19286 (calc_generic_results): Assert type of second input for
19287 mpfr_ff_f. Handle mpfr_if_f.
19288 (output_for_one_input_case): Disable all checking for arguments
19289 fitting floating-point types in case of an integer argument.
19290 * sysdeps/i386/fpu/libm-test-ulps: Update.
19291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19292
23776487
JM
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19294 Don't expect fegetround reference in libm.so.
19295
cb756c6d
MS
192962013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19297
19298 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19299 $(config-cflags-nofma).
19300
2dec468f
JM
193012013-12-18 Joseph Myers <joseph@codesourcery.com>
19302
5953eb3a
JM
19303 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19304 * math/auto-libm-test-out: Regenerated.
19305
2dec468f
JM
19306 [BZ #16338]
19307 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19308 to determine exponent and adjust argument to have exponent of -1.
19309 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19310 log2.
19311 * math/auto-libm-test-out: Regenerated.
19312 * sysdeps/i386/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19314
4d84e6ad
OB
193152013-12-18 Ondřej Bílka <neleai@seznam.cz>
19316
19317 * manual/probes.texi: Remove cases when per-thread arenas are
19318 disabled.
19319
1818483b
AS
193202013-12-18 Andreas Schwab <schwab@suse.de>
19321
19322 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19323 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19324 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19325 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19326 * sysdeps/i386/i686/multiarch/Makefile: Update.
19327 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19328
25de95bf
JM
193292013-12-17 Joseph Myers <joseph@codesourcery.com>
19330
19331 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19332 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19333
674762d9
PE
193342013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19335
ed27ed83 19336 [BZ #15968]
0748546f
PE
19337 Support TZ transition times < 00:00:00.
19338 This is needed for version-3 tz-format files; it supports time
19339 stamps past 2037 for America/Godthab (the only entry in the tz
19340 database for which this change is relevant).
19341 * manual/time.texi (TZ Variable): Document transition times
19342 from -167:59:59 through -00:00:01.
19343 * time/tzset.c (tz_rule): Time of day is now signed.
19344 (__tzset_parse_tz): Parse negative time of day.
19345
4480e934
PE
19346 Document TZ transition times >= 25:00:00.
19347 * manual/time.texi (TZ Variable): Document transition times from
19348 25:00:00 through 167:59:59. These are already supported, and this
19349 support will help with version-3 tz-format files.
19350
69947401
PE
19351 * manual/time.texi (TZ Variable): Modernize North America example
19352 to reflect current (i.e., 2007-and-later) daylight saving rules.
19353
674762d9
PE
19354 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19355
7011c262
JM
193562013-12-17 Joseph Myers <joseph@codesourcery.com>
19357
2fc6557e
JM
19358 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19359 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19362 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19363 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19364 * sysdeps/unix/bsd/clock.c: Likewise.
19365 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19366 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19367 * sysdeps/unix/bsd/init-posix.c: Likewise.
19368 * sysdeps/unix/bsd/poll.c: Likewise.
19369 * sysdeps/unix/bsd/ptsname.c: Likewise.
19370 * sysdeps/unix/bsd/seekdir.c: Likewise.
19371 * sysdeps/unix/bsd/setegid.c: Likewise.
19372 * sysdeps/unix/bsd/seteuid.c: Likewise.
19373 * sysdeps/unix/bsd/setgid.c: Likewise.
19374 * sysdeps/unix/bsd/setrgid.c: Likewise.
19375 * sysdeps/unix/bsd/setruid.c: Likewise.
19376 * sysdeps/unix/bsd/setsid.c: Likewise.
19377 * sysdeps/unix/bsd/setuid.c: Likewise.
19378 * sysdeps/unix/bsd/sigaction.c: Likewise.
19379 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19380 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19381 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19382 * sysdeps/unix/bsd/telldir.c: Likewise.
19383 * sysdeps/unix/bsd/times.c: Likewise.
19384 * sysdeps/unix/bsd/usleep.c: Likewise.
19385
029c7b25
JM
19386 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19387 ($(objpfx)libbsd-compat.a): Remove rule.
19388
7011c262
JM
19389 * include/features.h (__FAVOR_BSD): Do not define.
19390 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19391 features conflicting with POSIX.
19392 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19393 (_BSD_SOURCE): Remove description of not being a subset of other
19394 feature test macros.
19395 * manual/job.texi (getpgrp): Do not document BSD version.
19396 (getpgid): Do not document by reference to BSD getpgrp.
19397 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19398 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19399 * signal/signal.h [__FAVOR_BSD]: Likewise.
19400 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19401 instead of making contents conditional on [__FAVOR_BSD].
19402 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19403
affb6f78
AZ
194042013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19405
19406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19407
c88769dd
JM
194082013-12-17 Joseph Myers <joseph@codesourcery.com>
19409
6432a540
JM
19410 [BZ #16314]
19411 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19412 values below 2**-450, not 2**-500.
19413 * math/auto-libm-test-in: Don't allow spurious underflow from
19414 hypot.
19415 * math/auto-libm-test-out: Regenerated.
19416
c88769dd
JM
19417 [BZ #16316]
19418 [BZ #16330]
19419 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19420 values of ha and hb and sort them after adjusting subnormal
19421 arguments.
19422 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19423 Likewise.
19424 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19425 values of ea and eb and sort them after adjusting subnormal
19426 arguments.
19427 * math/auto-libm-test-in: Do not expect some hypot tests of
19428 subnormals to fail. Add more hypot tests.
19429 * math/auto-libm-test-out: Regenerated.
19430
29618f6b
KK
194312013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19432
19433 [BZ #13304]
19434 * sysdeps/sh/s_fma.c: New file.
19435 * sysdeps/sh/s_fmaf.c: New file.
19436 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19437 version.
19438 * sysdeps/sh/Implies: Add sh/soft-fp.
19439
eacfdfbf
RM
194402013-12-16 Roland McGrath <roland@hack.frob.com>
19441
19442 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19443 level of indirection to members `objname', `errstring', `malloced'.
19444 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19445 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19446 it as the __longjmp argument (just pass 1 instead).
19447 (_dl_catch_error): Initialize C with argument pointers and address of
19448 volatile local ERRCODE rather than copying values out of C at return.
19449
ff362e5b
JM
194502013-12-16 Joseph Myers <joseph@codesourcery.com>
19451
19452 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19453 * math/auto-libm-test-out: Regenerated.
19454 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19455 (hypot_test_data): Likewise.
19456 (pow_test_data): Likewise.
19457 (pow_tonearest_test_data): Likewise.
19458 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19459 mpfr_ff_f.
19460 (func_calc_desc): Add mpfr_ff_f union field.
19461 (FUNC_mpfr_ff_f): New macro.
19462 (test_functions): Add atan2, hypot and pow.
19463 (special_fill_min): New function.
19464 (special_fill_minus_min): Likewise.
19465 (special_fill_min_subnorm): Likewise.
19466 (special_fill_minus_min_subnorm): Likewise.
19467 (special_real_inputs): Add min, -min, min_subnorm and
19468 -min_subnorm.
19469 (calc_generic_results): Handle mpfr_ff_f.
19470 * sysdeps/i386/fpu/libm-test-ulps: Update.
19471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19472
5764c27f
WN
194732013-12-16 Will Newton <will.newton@linaro.org>
19474
19475 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19476 (Aligned Memory Blocks): Add documentation for aligned_alloc
19477 and suggest it as an alternative to posix_memalign.
19478 (Hooks for Malloc): Document __memalign_hook is also called
19479 for aligned_alloc. (Summary of Malloc): Add summary for
19480 aligned alloc. Document __memalign_hook is also called
19481 for aligned_alloc.
19482
0a096e44
WN
194832013-12-16 Will Newton <will.newton@linaro.org>
19484
19485 * manual/memory.texi (Malloc Examples): Clarify default
19486 alignment documentation. Suggest posix_memalign rather
19487 than memalign or valloc.
19488 (Aligned Memory Blocks): Remove suggestion to use memalign
19489 or valloc. Remove obsolete comment about BSD.
19490 Document memalign errno values and mark the function obsolete.
19491 Document posix_memalign returned error codes. Mark valloc
19492 as obsolete. (Hooks for Malloc): __memalign_hook is also
19493 called for posix_memalign and valloc.
19494 (Summary of Malloc): Add posix_memalign to function summary.
19495 __memalign_hook is also called for posix_memalign and valloc.
19496
8d561986
SP
194972013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19498
19499 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19500 TAYLOR_SIN.
19501 (__sin): Adjust.
19502 (__cos): Likewise.
19503 (sloww): Use mynumber union. Expand ternary operator into
19504 if-else statements.
19505 (cslow): use mynumber union.
19506
73616a74
AM
195072013-12-16 Allan McRae <allan@archlinux.org>
19508
9e8ac24b
AM
19509 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19510 * configure: Regenerated.
19511
6f8e37eb
AM
19512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19513
8894bad3
AM
19514 [BZ #14120]
19515 * configure.ac: Added --enable-maintainer-mode. Check for
19516 autoconf when enabled.
19517 * configure: Regenerated.
19518
73616a74
AM
19519 * nscd/nscd.service: New file.
19520 * nscd/nscd.tmpfiles: New file.
19521
584b18eb
OB
195222013-12-14 Ondřej Bílka <neleai@seznam.cz>
19523
19524 [BZ #12100]
19525 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19526 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19527 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19528 (strstr): Add __strstr_sse2_unaligned ifunc.
19529 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19530 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19531 (strcasestr): Remove __strcasestr_sse42 ifunc.
19532 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19535
8a5c7897
KK
195362013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19537
19538 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19539 * sysdeps/sh/bits/fenv.h: ... here.
19540 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19541
fd712ef3
AZ
195422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19543
19544 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19545
42fcb46c
AZ
19546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19547 hypotf multiarch implementations.
19548 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19549 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19551 multiarch hypot for PPC64.
19552 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19553 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19554 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19555 multiarch hypotf for PPC64.
19556
83efded4
AZ
19557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19558 modff multiarch implementations.
19559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19562 multiarch modf for PPC64.
19563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19566 multiarch modff for PPC64.
19567
43e246d2
AZ
19568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19569 and logl multiarch implementations.
19570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19573 multiarch logb for PPC64.
19574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19577 multiarch logb for PPC64.
19578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19581 multiarch logb for PPC64.
19582
8fdad123
AZ
19583 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19584 isinff multiarch implementation.
19585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19586 file.
19587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19589 multiarch isinf for PPC64.
19590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19591 file.
19592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19593 multiarch isinff for PPC64.
19594
1481d706
AZ
19595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19596 finitef multiarch implementation.
19597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19598 file.
19599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19601 multiarch finite for PPC64.
19602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19603 file.
19604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19605 multiarch finitef for PPC64.
19606
5ccd5fc8
AZ
19607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19608 lrint multiarch implementation.
19609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19610 file.
19611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19613 multiarch llrint for PPC64.
19614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19615 multiarch lrint for PPC64.
19616
2568f3fa
AZ
19617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19618 copysignf multiarch implementation.
19619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19620 file.
19621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19622 file.
19623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19624 multiarch copysign for PPC64.
19625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19626 multiarch copysignf for PPC64.
19627
1cb341fd
AZ
19628 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19629 multiarch implementation.
19630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19631 file.
19632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19633 file.
19634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19635 file.
19636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19637 file.
19638 multiarch llround for PPC64.
19639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19640 multiarch trunc for PPC64.
19641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19642 multiarch truncf for PPC64.
19643
59a3e194
AZ
19644 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19645 multiarch implementation.
19646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19647 file.
19648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19649 file.
19650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19651 file.
19652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19653 file.
19654 multiarch llround for PPC64.
19655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19656 multiarch round for PPC64.
19657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19658 multiarch roundf for PPC64.
19659
357fd3b4
AZ
19660 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19661 multiarch implementation.
19662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19663 file.
19664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19665 file.
19666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19667 file.
19668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19669 file.
19670 multiarch llround for PPC64.
19671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19672 multiarch floor for PPC64.
19673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19674 multiarch floorf for PPC64.
19675
96770f12
AZ
19676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19677 multiarch implementation.
19678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19679 file.
19680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19681 file.
19682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19683 file.
19684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19685 file.
19686 multiarch llround for PPC64.
19687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19688 multiarch ceil for PPC64.
19689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19690 multiarch ceilf for PPC64.
19691
c3627f6e
AZ
19692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19693 multiarch implementation.
19694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19695 file.
19696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19697 file.
19698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19699 file.
19700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19701 multiarch llround for PPC64.
19702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19703 multiarch lround for PPC64.
19704
b2284ad7
AZ
19705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19706 multiarch implementation.
19707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19710 file.
19711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19714 multiarch isnan for PPC64.
19715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19716 multiarch isnanf for PPC64.
19717
69bbc63d
AZ
19718 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19719 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19720 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19721 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19722 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19724
c24517c9
AZ
19725 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19726 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19729
a52374e8
AZ
19730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19731 multiarch implementations.
19732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19733 (__libc_ifunc_impl_list): Likewise.
19734 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19735 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19736 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19737 multiarch stpcpy for PPC64.
19738
7f5ec113
AZ
19739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19740 multiarch implementations.
19741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19742 (__libc_ifunc_impl_list): Likewise.
19743 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19744 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19745 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19746 multiarch strcpy for PPC64.
19747
e28bcd42
AZ
19748 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19749 redefine function name.
19750 (_wordcopy_fwd_dest_aligned): Likewise.
19751 (_wordcopy_bwd_aligned): Likewise.
19752 (_wordcopy_bwd_dest_aligned): Likewise.
19753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19754 multiarch implementations.
19755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19756 (__libc_ifunc_impl_list): Likewise.
19757 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19758 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19759 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19761 multiarch wcscpy for PPC64.
19762
92cacfce
AZ
19763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19764 multiarch implementations.
19765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19766 (__libc_ifunc_impl_list): Likewise.
19767 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19768 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19770 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19771 multiarch wcscpy for PPC64.
19772
7b714620
AZ
19773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19774 multiarch implementations.
19775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19776 (__libc_ifunc_impl_list): Likewise.
19777 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19778 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19779 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19780 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19781 multiarch wcsrchr for PPC64.
19782
16fd2ae3
AZ
19783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19784 multiarch implementations.
19785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19786 (__libc_ifunc_impl_list): Likewise.
19787 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19788 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19789 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19790 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19791 multiarch wcschr for PPC64.
19792
9ee2969b
AZ
19793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19794 multiarch implementations.
19795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19796 (__libc_ifunc_impl_list): Likewise.
19797 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19798 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19799 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19800 multiarch strchrnul for PPC64.
19801
372dc060
AZ
19802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19803 implementations.
19804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19805 (__libc_ifunc_impl_list): Likewise.
19806 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19807 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19808 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19809 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19810 strchr for PPC64.
19811
24c2c3b9
AZ
19812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19813 implementations.
19814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19815 (__libc_ifunc_impl_list): Likewise.
19816 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19817 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19818 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19819 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19820 strncmp for PPC64.
19821
1c92d9a0
AZ
19822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19823 multiarch implementations.
19824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19825 (__libc_ifunc_impl_list): Likewise.
19826 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19827 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19828 strncasecmp for PPC64.
19829 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19830 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19831 multiarch strncasecmp_l for PPC64.
19832
17de3ee3
AZ
19833 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19834 multiarch implementations.
19835 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19836 (__libc_ifunc_impl_list): Likewise.
19837 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19838 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19839 multiarch strcasecmp for PPC64.
19840 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19841 file.
19842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19843 multiarch strcasecmp_l for PPC64.
19844
62982bf9
AZ
19845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19846 implementations.
19847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19848 (__libc_ifunc_impl_list): Likewise.
19849 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19850 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19851 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19852 strnlen for PPC64.
19853
a65f4904
AZ
19854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19855 implementations.
19856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19857 (__libc_ifunc_impl_list): Likewise.
19858 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19859 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19860 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19861 strlen for PPC64.
19862
1fd005ad
AZ
19863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19864 implementations.
19865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19866 (__libc_ifunc_impl_list): Likewise.
19867 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19868 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19869 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19870 rawmemrchr for PPC64.
19871
cd05ba91
AZ
19872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19873 implementation.
19874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19875 (__libc_ifunc_impl_list): Likewise.
19876 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19877 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19878 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19879 memrchr for PPC64.
19880
870f8676
AZ
19881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19882 implementation.
19883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19884 (__libc_ifunc_impl_list): Likewise.
19885 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19886 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19887 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19888 memchr for PPC64.
19889
f00be62b
AZ
19890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19891 implementation.
19892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19893 (__libc_ifunc_impl_list): Likewise.
19894 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19895 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19896 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19897 mempcpy for PPC64.
19898
8a29a3d0
AZ
19899 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19900 avoid cretion of __bzero symbol.
19901 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19902 Likewise.
19903 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19904 Likewise.
19905 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19906 Likewise.
19907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19908 multiarch implementations.
19909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19910 (__libc_ifunc_impl_list): Likewise.
19911 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19912 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19914 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19915 bzero for PPC32.
19916 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19917 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19918 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19919 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19920 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19921 memset for PPC64.
19922 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19923
07253fcf
AZ
19924 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19926 implementations.
19927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19928 (__libc_ifunc_impl_list): Likewise.
19929 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19930 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19931 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19932 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19933 memcmp for PPC64.
19934
b5beafbc
AZ
19935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19936 multiarch for POWER/PPC64.
19937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19938 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19939 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19940 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19941 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19942 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19943 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19945 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19946 memcpy for PPC64.
19947
5e6a4d4b
AZ
19948 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19949 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19950 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19951 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19952 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19953 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19954 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19955 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19956 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19957 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19958 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19959 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19960 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19961 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19962 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19970
ddfab6dc
KK
199712013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19972
19973 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19974
19b5525e
SP
199752013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
19977 * benchtests/Makefile (bench): Add exp2 and log2.
19978 (LDLIBS-bench-exp2): Add -lm.
19979 (LDLIBS-bench-log2): Likewise.
19980 * benchtests/exp2-inputs: New inputs file.
19981 * benchtests/log2-inputs: New inputs file.
19982 * benchtests/log-inputs: Add new inputs.
19983 * benchtests/tan-inputs: Likewise.
19984
196f7f5d
SP
199852013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19986
7a74607f
SP
19987 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19988 definition...
57f41c40
AS
19989 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19990 (csloww2): ... from here.
7a74607f 19991
196f7f5d
SP
19992 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19993 instead of structures.
19994 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19995 (POLYNOMIAL): Likewise.
19996 (TAYLOR_SLOW): Likewise.
19997 (__sin): Likewise.
19998 (__cos): Likewise.
19999 (slow1): Likewise.
20000 (slow2): Likewise.
20001 (sloww): Likewise.
20002 (sloww1); Likewise.
20003 (sloww2): Likewise.
20004 (bsloww1): Likewise.
20005 (bsloww2): Likewise.
20006 (cslow2): Likewise.
20007 (csloww): Likewise.
20008 (csloww1): Likewise.
20009 (csloww2): Likewise.
20010
0dfa665c
OB
200112013-12-10 Ondřej Bílka <neleai@seznam.cz>
20012
20013 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20014 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20015 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20016 * malloc/hooks.c (realloc_check): Likewise.
20017
5782a80f
OB
20018 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20019 * malloc/arena.c: Remove PER_THREAD conditional.
20020 [!PER_THREAD]: Remove code.
20021 (ptmalloc_unlock_all2): Likewise.
20022 (ptmalloc_init): Likewise.
20023 (_int_new_arena): Likewise.
20024 (arena_get2): Likewise.
20025 * malloc/hooks.c (__malloc_get_state): Likewise.
20026 (__malloc_set_state): Likewise.
20027 * malloc/malloc.c: Likewise.
20028 (struct malloc_state): Likewise.
20029 (struct malloc_par): Likewise.
20030 (__libc_realloc): Likewise.
20031 (__libc_mallopt): Likewise.
20032
aeb95445
AZ
200332013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20034
20035 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20036
e8349efd
OB
200372013-12-09 Ondřej Bílka <neleai@seznam.cz>
20038
20039 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20040 macro to a function. Check for zero perturb_byte.
20041 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20042
f3eeb3fc 20043 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20044 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20045 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20046 force_reg by atomic_forced_read.
20047 * malloc/arena.c (ptmalloc_init): Likewise.
20048 * malloc/hooks.c (top_check): Likewise.
20049
be2f9009
AZ
200502013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20051
20052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20053
e7b914bd
MT
200542013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20055
20056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20057
9f0be4f8
JM
200582013-12-08 Joseph Myers <joseph@codesourcery.com>
20059
20060 * math/auto-libm-test-in: Add tests of lgamma.
20061 * math/auto-libm-test-out: Regenerated.
20062 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20063 (M_LOG_2_SQRT_PIl): Likewise.
20064 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20065 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20066 mpfr_f_f1.
20067 (func_calc_desc): Add mpfr_f_f1 union field.
20068 (ARGS1): New macro.
20069 (ARGS2): Likewise.
20070 (ARGS3): Likewise.
20071 (ARGS4): Likewise.
20072 (RET1): Likewise.
20073 (RET2): Likewise.
20074 (CALC): Likewise.
20075 (FUNC): Likewise.
20076 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20077 (test_functions): Add lgamma.
20078 (calc_generic_results): Handle mpfr_f_f1.
20079 * sysdeps/i386/fpu/libm-test-ulps: Update.
20080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20081
24eeafdb
AZ
200822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20083
20084 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20085 __mpn_add_n for PowerPC64/POWER7.
20086 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20087 __mpn_sub_n for PowerPC64/POWER7.
20088
4a2c0fd4
AZ
20089 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20090 __mpn_addmul_1 for PowerPC64.
20091 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20092 __mpn_submul_1 for PowerPC64.
20093 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20094 for PowerPC64.
20095 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20096 for PowerPC64.
20097
4b5b548c
FS
200982013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20099
20100 [BZ #15089]
20101 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20102
0a3ac0aa
AZ
201032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20104
20105 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20106
ccdc8438
AZ
20107 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20108 add multiarch folders.
20109 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20110 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20111 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20112 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20113 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20114 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20115 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20116 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20117 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20118 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20119 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20126
2e973d99
AZ
20127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20128 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20130 New file.
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20132 New file.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20134 multiarch __ieee754_hypot for PowerPC32.
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20136 New file.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20138 New file.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20140 multiarch __ieee754_hypotf for PowerPC32.
20141
2d9470b2
AZ
20142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20143 long_double_symbol only if __logbl is defined.
20144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20145 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20146 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20147 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20149 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20150 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20151 path for implementation.
20152 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20153 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20155 logb, and logbl multiarch implementations for PowerPC32.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20157 file.
20158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20159 file.
20160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20161 multiarch logb for PowerPC32.
20162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20163 file.
20164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20165 file.
20166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20167 multiarch logbf for PowerPC32.
20168 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20170 file.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20172 multiarch logbl implementation for PowerPC32.
20173
5212ffce
AZ
20174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20175 and modff multiarch implementations.
20176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20177 New file.
20178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20179 New file.
20180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20181 multiarch modf for PowerPC32.
20182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20183 New file.
20184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20185 New file.
20186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20187 multiarch modff for PowerPC32.
20188
79dccf31
AZ
20189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20190 and lrintf multiarch implementations.
20191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20192 New file.
20193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20194 New file.
20195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20196 multiarch lrint for PowerPC32.
20197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20198 file: multiarch lrintf for PowerPC32.
20199
deb66480
AZ
20200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20201 and lroundf multiarch implementations.
20202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20203 New file.
20204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20205 New file.
20206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20207 New file.
20208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20209 multiarch lround for PowerPC32.
20210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20211 file: multiarch lroundf for PowerPC32.
20212
264b036b
AZ
20213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20214 copysign and copysignf multiarch implementations.
20215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20216 New file.
20217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20218 New file.
20219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20220 file: multiarch copysign for PowerPC32.
20221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20222 file: multiarch copysignf for PowerPC32.
20223
d47db6c9
AZ
20224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20225 and truncf multiarch implementations.
20226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20227 New file.
20228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20229 file.
20230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20231 multiarch trunc for PowerPC32.
20232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20233 New file.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20235 New file.
20236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20237 multiarch truncf for PowerPC32.
20238
ddb60b5a
AZ
20239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20240 and roundf multiarch implementations.
20241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20242 New file.
20243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20244 file.
20245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20246 multiarch round for PowerPC32.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20248 New file.
20249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20250 New file.
20251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20252 multiarch roundf for PowerPC32.
20253
bedcf49b
AZ
20254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20255 and floorf multiarch implementations.
20256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20257 New file.
20258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20259 file.
20260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20261 multiarch floor for PowerPC32.
20262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20263 New file.
20264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20265 New file.
20266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20267 multiarch floorf for PowerPC32.
20268
35ae5b40
AZ
20269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20270 and ceilf multiarch implementations.
20271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20272 New file.
20273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20274 file.
20275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20276 multiarch ceil for PowerPC32.
20277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20278 New file.
20279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20280 file.
20281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20282 multiarch ceilf for PowerPC32.
20283
ae1a4cd9
AZ
20284 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20285 is defined.
20286 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20287 FINITEF is defined.
20288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20289 and finitef multiarch implementations.
20290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20291 New file.
20292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20293 file.
20294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20295 multiarch finite for PowerPC32.
20296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20297 New file.
20298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20299 file: multiarch finitef for PowerPC32.
20300
64fffd65
AZ
20301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20302 and isinff multiarch implementations.
20303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20304 file.
20305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20306 file.
20307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20308 multiarch isinf for PowerPC32.
20309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20310 New file.
20311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20312 multiarch isinff for PowerPC32.
20313
8e4e7ba2
AZ
20314 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20315 alias when __isnan is defined.
20316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20317 and isnanf multiarch implementations.
20318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20319 file.
20320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20321 file.
20322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20323 file.
20324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20325 file.
20326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20327 multiarch isnan for PowerPC32.
20328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20329 New file.
20330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20331 New file.
20332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20333 multiarch isnanf for PowerPC32.
20334
ddba588e
AZ
20335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20336 and sqrtf multiarch implementations.
20337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20338 file.
20339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20340 file.
20341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20342 multiarch sqrt for PowerPC32.
20343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20344 file.
20345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20346 file.
20347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20348 multiarch sqrtf for PowerPC32.
20349
0f96a2f0
AZ
20350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20351 and llroundf multiarch implementations.
20352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20353 New file.
20354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20355 New file.
20356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20357 New file.
20358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20359 file: multiarch llround for PowerPC32.
20360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20361 file: multiarch llroundf for PowerPC32.
20362
c9b5d79e
AZ
20363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20364 multiarch PowerPC32 fpu implementations.
20365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20366 New file.
20367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20368 New file.
20369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20370 multiarch llrint for PowerPC32.
20371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20372 New file.
20373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20374 New file.
20375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20376 file.
20377
9cbb3aab
AZ
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20379
ea5a72f8
AZ
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20381 file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20383 file.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20385 file.
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20387 multiarch wordcopy for PPC32.
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20389 wordcopy objects.
20390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20391 (__libc_ifunc_impl_list): Likewise.
20392 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20393 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20394 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20395 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20397 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20398
93be09e7
AZ
20399 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20401 file.
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20403 file.
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20405 file.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20407 multiarch wcscpy for PPC32.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20409 multiarch objects.
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20411 (__libc_ifunc_impl_list): Likewise.
20412 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20413 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20414 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20415 sysdeps/powerpc/power6/wcscpy.c.
20416
bb04e529
AZ
20417 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20419 file.
20420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20421 file.
20422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20423 file.
20424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20425 multiarch wcsrchr for PPC32.
20426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20427 multiarch objects.
20428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20429 (__libc_ifunc_impl_list): Likewise.
20430 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20431 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20432 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20433 sysdeps/powerpc/power6/wcsrchr.c.
20434
05b5cd1c
AZ
20435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20436 file.
20437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20438 file.
20439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20441 multiarch wcschr for PPc32.
20442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20443 multiarch objects.
20444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20445 (__libc_ifunc_impl_list): Likewise.
20446 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20447 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20448 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20449 sysdeps/powerpc/power6/wcschr.c.
20450
ba964147
AZ
20451 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20452 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20453 file.
20454 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20455 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20456 file: multiarch strchr for PPC32.
20457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20458 multiarch objects.
20459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20460 (__libc_ifunc_impl_list): Likewise.
20461
31c81aaa
AZ
20462 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20463 name.
20464 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20465 file.
20466 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20467 file.
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20469 multiarch strchrnul for PPC32.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20471 multiarch objects.
20472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20473 (__libc_ifunc_impl_list): Likewise.
20474
0d0607d9
AZ
20475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20476 file.
20477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20478 multiarch strncasecmp for PPC32.
20479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20480 file.
20481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20482 multiarch strncasecmp_l for PPC32.
20483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20484 strncasecmp multiarch objects.
20485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20486 (__libc_ifunc_impl_list): Likewise.
20487
4dfd5c86
AZ
20488 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20489 file.
20490 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20491 multiarch strncasecmp for PPC32.
20492 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20493 New file.
20494 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20495 multiarch strcasecmp_l for PPC32.
20496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20497 multiarch objects.
20498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20499 (__libc_ifunc_impl_list): Likewise.
20500
a19e01a3
AZ
20501 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20502 file.
20503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20504 file.
20505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20506 multiarch strncmp for PPC32.
20507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20508 multiarch objects.
20509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20510 (__libc_ifunc_impl_list): Likewise.
20511
ae9cf7a2
AZ
20512 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20513 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20514 file.
20515 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20516 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20518 multiarch objects.
20519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20520 (__libc_ifunc_impl_list): Likewise.
20521
3148bb7d
AZ
20522 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20523 file.
20524 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20525 file.
20526 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20528 multiarch objects.
20529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20530 (__libc_ifunc_impl_list): Likewise.
20531
7af8b946
AZ
20532 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20533 file.
20534 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20535 file.
20536 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20537 multiarch rawmemchr for PPC32.
20538 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20539 multiarch objects.
20540 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20541 (__libc_ifunc_impl_list): Likewise.
20542
03a6aa6a
AZ
20543 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20544 file.
20545 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20546 file.
20547 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20548 file: memrchr multiarch for PPC32.
20549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20550 multiarch objects.
20551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20552 (__libc_ifunc_impl_list): Likewise.
20553
1c62e6d9
AZ
20554 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20555 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20556 file.
20557 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20558 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20559 multiarch memchr for PPC32.
20560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20561 multiarch objects.
20562 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20563 (__libc_ifunc_impl_list): Likewise.
20564
87da8bdb
AZ
20565 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20566 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20567 file.
20568 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20569 file.
20570 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20571 file: multiarch mempcpy for PPC32.
20572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20573 multiarch objects.
20574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20575 (__libc_ifunc_impl_list): Likewise.
20576
20ed4714
AZ
20577 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20578 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20579 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20580 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20581 multiarch bzero for PPC32.
20582 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20583 file.
20584 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20585 file.
20586 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20587 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20588 file: multiarch memset for PPC32.
20589 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20591 memset multiarch objects.
20592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20593 (__libc_ifunc_impl_list): Likewise.
20594
ab3e3a46
AZ
20595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20596 file.
20597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20599 memcmp for PPC32.
20600 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20602 multiarch objects.
20603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20604 (__libc_ifunc_impl_list): Likewise.
20605
930de6f0
AZ
20606 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20609 file.
20610 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20611 file.
20612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20613 file.
20614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20615 multiarch memcpy for PPC32.
20616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20617 multiarch objects.
20618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20619 (__libc_ifunc_impl_list): Likewise.
20620
4c628e00
AZ
20621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20622 support multiarch for POWER/PPC32.
20623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20624 Likewise.
20625 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20627 Implies file to make multiarch folder appers before the fpu and
20628 default folder for power4 configuration.
20629
f4479220
SP
206302013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20631
20632 * scripts/bench.pl: Append volatile keyword to type.
20633
8517800f
KK
206342013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20635
20636 * sysdeps/sh/sotruss-lib.c: New file.
20637 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20638
180138f1
AZ
206392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20640
20641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20642
bbf37bdc
JM
206432013-12-05 Joseph Myers <joseph@codesourcery.com>
20644
e47cc4e0
JM
20645 [BZ #6810]
20646 * math/w_tgamma.c: Include <errno.h>.
20647 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20648 * math/w_tgammaf.c: Include <errno.h>.
20649 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20650 * math/w_tgammal.c: Include <errno.h>.
20651 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20652 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20653 underflow. Add more tgamma tests.
20654 * math/auto-libm-test-out: Regenerated.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657
bbf37bdc
JM
20658 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20659 sin, sinh, tan, tanh, tgamma, y0 and y1.
20660 * math/auto-libm-test-out: Regenerated.
20661 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20662 (TEST_COND_x86): Likewise.
20663 (M_E2l): Remove macro.
20664 (M_E3l): Likewise.
20665 (M_2_SQRT_PIl): Likewise.
20666 (M_SQRT_PIl): Likewise.
20667 (M_1_DIV_El): Likewise.
20668 (log_test_data): Use AUTO_TESTS_f_f.
20669 (log10_test_data): Likewise.
20670 (log1p_test_data): Likewise.
20671 (log2_test_data): Likewise.
20672 (sin_test_data): Likewise.
20673 (sin_tonearest_test_data): Likewise.
20674 (sin_towardzero_test_data): Likewise.
20675 (sin_downward_test_data): Likewise.
20676 (sin_upward_test_data): Likewise.
20677 (sinh_test_data): Likewise.
20678 (sinh_tonearest_test_data): Likewise.
20679 (sinh_towardzero_test_data): Likewise.
20680 (sinh_downward_test_data): Likewise.
20681 (sinh_upward_test_data): Likewise.
20682 (tan_test_data): Likewise.
20683 (tan_tonearest_test_data): Likewise.
20684 (tan_towardzero_test_data): Likewise.
20685 (tan_downward_test_data): Likewise.
20686 (tan_upward_test_data): Likewise.
20687 (tanh_test_data): Likewise.
20688 (tgamma_test_data): Likewise.
20689 (y0_test_data): Likewise.
20690 (y1_test_data): Likewise.
20691 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20692 (special_real_inputs): Add pi/4.
20693 * sysdeps/i386/fpu/libm-test-ulps: Update.
20694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20695
eb5ad6b9
AZ
206962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20697
20698 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20699 "longjmp_target" static probes.
20700 (__longjmp): Rename to __longjmp_symbol.
20701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20702 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20703 on which longjmp to generate.
20704 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20706 probe.
20707 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20708 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20709 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20710 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20711 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20712 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20714 __longjmp_symbol based on which __longjmp to generate.
20715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20716 probe.
20717 (setjmp): Rename to setjmp_symbol.
20718 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20719 (_setjmp): Rename to _setjmp_symbol.
20720 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20721 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20722 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20723 which setjmp to generate.
20724 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20725 "longjmp_target" static probes.
20726
d136c6dc
SP
207272013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20728
9298ecba
SP
20729 * benchtests/README: Add note about output arguments.
20730 * benchtests/bench-sincos.c: Remove file.
20731 * benchtests/sincos-inputs: New file.
20732 * scripts/bench.pl: Identify output arguments and define
20733 static variables for them.
20734
232983e9
SP
20735 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20736
d136c6dc
SP
20737 [BZ #15941]
20738 * Makefile (INSTALL): Add install-plain.texi as the primary
20739 dependency.
20740 * manual/install-plain.texi: New file.
20741 * manual/install.texi: Include node directive only for
20742 non-plaintext output.
20743
699ff837
JM
207442013-12-04 Joseph Myers <joseph@codesourcery.com>
20745
ab07cea8
JM
20746 * stdlib/longlong.h: Update from GCC.
20747
699ff837
JM
20748 [BZ #6807]
20749 [BZ #15901]
20750 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20751 * math/w_j0f.c (y0f): Likewise.
20752 * math/w_j0l.c (__y0l): Likewise.
20753 * math/w_j1.c (y1): Likewise.
20754 * math/w_j1f.c (y1f): Likewise.
20755 * math/w_j1l.c (__y1l): Likewise
20756 * math/w_jn.c (yn): Likewise.
20757 * math/w_jnf.c (ynf): Likewise.
20758 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20759 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20760 value for Bessel function domain errors outside _SVID_ mode.
20761 Adjust sign of return value for yn (negative integer, 0).
20762 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20763 by zero in return for negative x and set sign appropriately for
20764 negative n.
20765 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20766 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20767 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20768 expectations in error cases.
20769 (y1_test_data): Likewise.
20770 (yn_test_data): Likewise.
20771 * sysdeps/i386/fpu/libm-test-ulps: Update.
20772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20773
5b118558
UW
207742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20775
20776 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20777 "64" to "64-v1". Add "64-v2".
20778 (abi-64-options): Rename to ...
20779 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20780 (abi-64-condition): Rename to ...
20781 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20782 (abi-64-ld-soname): Rename to ...
20783 (abi-64-v1-ld-soname): ... this.
20784 (abi-64-v2-options): Define.
20785 (abi-64-v2-condition): Likewise.
20786 (abi-64-v2-ld-soname): Likewise.
20787 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20788 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20792
61cd8fe4
UW
207932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20794 Alan Modra <amodra@gmail.com>
20795
20796 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20797 New versions for use with the ELFv2 ABI.
20798 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20799 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20800 declaration.
20801 (struct La_ppc64v2_retval): Likewise.
20802 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20803 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20804 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20805 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20806 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20808 Do not save or restore CR.
20809 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20810 (_dl_profile_resolve): Do no save or restore CR. Support extended
20811 return values for ELFv2 ABI. Fix location of FPR return registers.
20812 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20813 updated values for _CALL_ELF == 2.
20814 (La_regs, La_retval, int_retval): Likewise.
20815
8b8a692c
UW
208162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20817
20818 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20819 (FRAME_MIN_SIZE_PARM): Likewise.
20820 (FRAME_BACKCHAIN): Likewise.
20821 (FRAME_CR_SAVE): Likewise.
20822 (FRAME_LR_SAVE): Likewise.
20823 (FRAME_TOC_SAVE): Likewise.
20824 (FRAME_PARM_SAVE): Likewise.
20825 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20826 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20827 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20828 (call_mcount_parm_offset): New macro.
20829 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20830 (PROF): Use symbolic stack frame offsets.
20831 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20832 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20833 Redefine in terms of FRAME_MIN_SIZE.
20834 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20835 (_dl_profile_resolve): Likewise. Update comment.
20836 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20837 symbols stack frame offsets.
20838 (__sigsetjmp): Likewise.
20839 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20840 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20841 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20842 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20843
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20845 (FRAME_BACKCHAIN): Remove.
20846 (FRAME_CR_SAVE): Likewise.
20847 (FRAME_LR_SAVE): Likewise.
20848 (FRAME_COMPILER_DW): Likewise.
20849 (FRAME_LINKER_DW): Likewise.
20850 (FRAME_TOC_SAVE): Likewise.
20851 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20852 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20853 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20854 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20856 (CHECK_SP): Use symbolic stack frame offsets.
20857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20858 zone" instead of caller's parameter save area for temp storage.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20860 Likewise. Also, use symbolic stack frame offsets.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20862 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20863 our own stack frame instead of the caller's.
20864 (__socket): Use symbolic stack frame offsets.
20865
122b66de
UW
208662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20867 Alan Modra <amodra@gmail.com>
20868
20869 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20870 Define.
57f41c40
AS
20871 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20872 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20873 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20874 New function.
20875 (elf_machine_fixup_plt): Call it.
20876 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20877 reloc arguments.
20878 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20879 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20880 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20881 r2 before calling target.
20882
696caf1d
UW
208832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20884 Alan Modra <amodra@gmail.com>
20885
20886 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20887 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20888 versions of macros to support ELFv2 ABI.
20889 (LOCALENTRY): New macro.
20890 (ENTRY, EALIGN): Use it.
20891 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20892 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20893 fall through into ENTRY entry point.
20894 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20895 Only define if _CALL_ELF != 2.
20896
20897 (elf_machine_matches_host): Verify ABI version matches.
20898 (RTLD_START): Use LOCALENTRY.
20899 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20900 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20901 (PLT_ENTRY_WORDS): New macro.
20902 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20903 (elf_machine_runtime_setup): Support ELFv2 ABI.
20904 (elf_machine_fixup_plt): Likewise.
20905 (elf_machine_plt_conflict): Likewise.
20906 (resolve_ifunc): Likewise.
20907 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20909 Likewise.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20911 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20913 (makecontext): Support ELFv2 ABI.
20914 * elf/elf.h (EF_PPC64_ABI): Define.
20915
d31beafa
UW
209162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20917
57f41c40
AS
20918 * sysdeps/powerpc/powerpc64/sysdep.h
20919 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20920 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20921 (ENTRY) [ASSEMBLER]: ... but instead here ...
20922 (EALIGN) [ASSEMBLER]: ... and here.
20923 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20924 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20925 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20926 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20927 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20928 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20929 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20930 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20932 Use PPC64_LOAD_FUNCPTR.
20933
b525166b
UW
20934 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20935
7ec07d9a
AM
209362013-12-04 Alan Modra <amodra@gmail.com>
20937
20938 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20939 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20940 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20941 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20942
20943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20944 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20945 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20946 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20947 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20948 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20949
5162e7dd
UW
209502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20951
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20953 (__makecontext): Fix incorrect CFI when backtracing out of
20954 context created via makecontext.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20956 (__setcontext): Fix incorrect CFI during switch to new context.
20957 (__novec_setcontext): Likewise.
20958
19e3372b
OB
209592013-12-04 Ondřej Bílka <neleai@seznam.cz>
20960
20961 [BZ #4772]
20962 * time/strptime_l.c (__strptime_internal): Allow modifiers
20963 in strptime.
20964 * time/tst-strptime.c (day_tests): Add testcase.
20965
ecaf142d
SP
209662013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20967
20968 * scripts/bench.pl: Skip over blank lines.
20969
fbf964ae
PE
209702013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20971
20972 [BZ #926]
20973 * manual/time.texi (Calendar Time): Clarify what timezone functions
20974 use.
20975
fa60a674
AZ
209762013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20977
20978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20979
d674f0ef
OB
209802013-12-04 Ondřej Bílka <neleai@seznam.cz>
20981
20982 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20983 implementation.
20984 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20985 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20986 * debug/memset_chk.c (__memset_chk): Likewise.
20987 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20988 * debug/strncpy_chk.c: Likewise.
20989
17dea188
JM
209902013-12-03 Joseph Myers <joseph@codesourcery.com>
20991
749008ff
JM
20992 [BZ #15268]
20993 [BZ #15425]
20994 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20995 (__ieee754_exp): For possibly underflowing results, check size of
20996 result and force underflow exception if required.
20997 * math/auto-libm-test-in: Add more tests of exp.
20998 * math/auto-libm-test-out: Regenerated.
20999 * sysdeps/i386/fpu/libm-test-ulps: Update.
21000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21001
17dea188
JM
21002 [BZ #16283]
21003 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21004 * math/w_exp2f.c (__exp2f): Likewise.
21005 * math/w_exp2l.c (__exp2l): Likewise.
21006 * math/auto-libm-test-in: Do not allow missing errno on exp2
21007 underflow.
21008 * math/auto-libm-test-out: Regenerated.
21009
b20de2c3
OB
210102013-12-03 Ondřej Bílka <neleai@seznam.cz>
21011
21012 [BZ #16274]
21013 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21014 handle filename validation.
21015 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21016 (do_open): Delete.
21017
d8e2dbe3
JM
210182013-12-03 Joseph Myers <joseph@codesourcery.com>
21019
34e16df5
JM
21020 [BZ #6786]
21021 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21022 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21023 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21024 <float.h>.
21025 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21026 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21027 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21028 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21029 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21030 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21031 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21032 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21033 Add more erfc tests.
21034 * math/auto-libm-test-out: Regenerated.
21035 * sysdeps/i386/fpu/libm-test-ulps: Update.
21036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21037
d8e2dbe3
JM
21038 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21039 exp2, expm1, j0 and j1.
21040 * math/auto-libm-test-out: Regenerated.
21041 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21042 (erfc_test_data): Likewise.
21043 (exp_test_data): Likewise.
21044 (exp_tonearest_test_data): Likewise.
21045 (exp_towardzero_test_data): Likewise.
21046 (exp_downward_test_data): Likewise.
21047 (exp_upward_test_data): Likewise.
21048 (exp10_test_data): Likewise.
21049 (exp2_test_data): Likewise.
21050 (expm1_test_data): Likewise.
21051 (j0_test_data): Likewise.
21052 (j1_test_data): Likewise.
21053 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21054 (input_flag_type): Add flag_xfail_rounding.
21055 (input_flags): Add xfail-rounding.
21056 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21057 (output_for_one_input_case): Handle flag_xfail_rounding.
21058 * sysdeps/i386/fpu/libm-test-ulps: Update.
21059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060
18d14251
AJ
210612013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21062
3d2e6075 21063 [BZ #16289]
18d14251
AJ
21064 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21065 division by 0.
21066
520d437b
SP
210672013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21068
21069 [BZ #16195]
21070 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21071 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21072 (STAP_PROBE0): New macro.
21073 (STAP_PROBE1): Likewise.
21074 (STAP_PROBE2): Likewise.
21075 (STAP_PROBE3): Likewise.
21076 (STAP_PROBE4): Likewise.
21077
416e0145
OB
210782013-12-02 Ondřej Bílka <neleai@seznam.cz>
21079
21080 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21081
9d17796a
SE
210822013-12-02 Steve Ellcey <sellcey@mips.com>
21083
21084 * benchtests/Makefile (bench): Add sqrt.
21085 (LDLIBS-bench-sqrt): New.
21086 * benchtests/sqrt-input: New.
21087
f524d6a8
PS
210882013-12-02 Pavel Simerda <psimerda@redhat.com>
21089
639a0ef8
PS
21090 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21091 (GAIH_EAI): Likewise.
21092 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21093 (gaih_inet): Likewise.
21094 (getaddrinfo): Don't use GAIH_EAI.
21095
f524d6a8
PS
21096 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21097 (struct gaih): Remove definition.
21098
df3aedaf
SP
210992013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21100
21101 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21102 Use HERRNOP directly.
21103
1ab19dec
AZ
211042013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21105
b42ad38d 21106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21107
176b0c79
JM
211082013-11-30 Joseph Myers <joseph@codesourcery.com>
21109
21110 * math/gen-auto-libm-tests.c (test_functions): Add more
21111 single-argument functions.
21112 (special_fill_pi_2): New function.
21113 (special_fill_minus_pi_2): Likewise.
21114 (special_fill_pi_6): Likewise.
21115 (special_fill_minus_pi_6): Likewise.
21116 (special_fill_pi_3): Likewise.
21117 (special_fill_2pi_3): Likewise.
21118 (special_fill_e): Likewise.
21119 (special_fill_1_e): Likewise.
21120 (special_fill_e_minus_1): Likewise.
21121 (special_real_inputs): Add more special inputs.
21122 (output_for_one_input_case): Do not require ERANGE on underflow to
21123 zero if round-to-nearest result does not underflow to zero, unless
21124 exact results required.
21125 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21126 atan, atanh, cbrt, cos and cosh.
21127 * math/auto-libm-test-out: Regenerated.
21128 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21129 (acos_tonearest_test_data): Likewise.
21130 (acos_towardzero_test_data): Likewise.
21131 (acos_downward_test_data): Likewise.
21132 (acos_upward_test_data): Likewise.
21133 (acosh_test_data): Likewise.
21134 (asin_test_data): Likewise.
21135 (asin_tonearest_test_data): Likewise.
21136 (asin_towardzero_test_data): Likewise.
21137 (asin_upward_test_data): Likewise.
21138 (asinh_test_data): Likewise.
21139 (atan_test_data): Likewise.
21140 (atanh_test_data): Likewise.
21141 (cbrt_test_data): Likewise.
21142 (cos_test_data): Likewise.
21143 (cos_tonearest_test_data): Likewise.
21144 (cos_towardzero_test_data): Likewise.
21145 (cos_downward_test_data): Likewise.
21146 (cos_upward_test_data): Likewise.
21147 (cosh_test_data): Likewise.
21148 (cosh_tonearest_test_data): Likewise.
21149 (cosh_towardzero_test_data): Likewise.
21150 (cosh_downward_test_data): Likewise.
21151 (cosh_upward_test_data): Likewise.
21152 * sysdeps/i386/fpu/libm-test-ulps: Update.
21153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21154
ffb536d0
JM
211552013-11-29 Joseph Myers <joseph@codesourcery.com>
21156
2a77a467
JM
21157 [BZ #6787]
21158 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21159 * math/w_exp10f.c (__exp10f): Likewise.
21160 * math/w_exp10l.c (__exp10l): Likewise.
21161 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21162 errno settings in existing tests.
21163
ea3bc4e8
JM
21164 [BZ #14032]
21165 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21166 precision control set to double precision.
21167 * sysdeps/i386/fpu/w_sqrt.c: New file.
21168 * math/auto-libm-test-in: Add more tests.
21169 * math/auto-libm-test-out: Update.
21170
0712c9d8
JM
21171 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21172 (sqrt_test_tonearest): New function.
21173 (sqrt_towardzero_test_data): New variable.
21174 (sqrt_test_towardzero): New function.
21175 (sqrt_downward_test_data): New variable.
21176 (sqrt_test_downward): New function.
21177 (sqrt_upward_test_data): New variable.
21178 (sqrt_test_upward): New function.
21179 (main): Call the new functions.
21180
ffb536d0
JM
21181 * math/gen-auto-libm-tests.c: New file.
21182 * math/auto-libm-test-in: Likewise.
21183 * math/auto-libm-test-out: New generated file.
21184 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21185 variables.
21186 (%beautify): Add generated representations of zero.
21187 (top level): Set $auto_input and call parse_auto_input.
21188 (beautify): Remove trailing "f" from hex float constants.
21189 (parse_args): Handle XFAIL_TEST.
21190 (convert_condition): New function.
21191 (or_value): Likewise.
21192 (or_cond_value): Likewise.
21193 (generate_testfile): Handle AUTO_TESTS_* lines.
21194 (parse_auto_input): New function.
21195 * math/libm-test.inc (XFAIL_TEST): New macro.
21196 (ERRNO_UNCHANGED): Update value.
21197 (ERRNO_EDOM): Likewise.
21198 (ERRNO_ERANGE): Likewise.
21199 (IGNORE_RESULT): Likewise.
21200 (TEST_COND_flt_32): New macro.
21201 (TEST_COND_dbl_64): Likewise.
21202 (TEST_COND_ldbl_96_intel): Likewise.
21203 (TEST_COND_ldbl_96_m68k): Likewise.
21204 (TEST_COND_ldbl_128): Likewise.
21205 (TEST_COND_ldbl_128ibm): Likewise.
21206 (TEST_COND_long32): Likewise.
21207 (TEST_COND_long64): Likewise.
21208 (TEST_COND_before_rounding): Likewise.
21209 (TEST_COND_after_rounding): Likewise.
21210 (enable_test): Handle XFAIL_TEST flag.
21211 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21212 with finite results.
21213 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21214 auto-libm-test-out.
21215
acd98a8e
AK
212162013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21217 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21218
21219 [BZ #16214]
21220 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21221 __tls_get_addr_internal instead of __tls_get_offset in order to
21222 avoid GOT pointer dependency. Make rtld export
21223 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21224 __tls_get_addr since we are a __tls_get_offset platform.
21225 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21226 GOT pointer being set up before.
21227 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21228
3c1c46a6
JM
212292013-11-28 Joseph Myers <joseph@codesourcery.com>
21230
7475aef5
JM
21231 * manual/math.texi (Errors in Math Functions): Document accuracy
21232 goals.
21233
8bca7cd8
JM
21234 [BZ #15004]
21235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21236 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21237 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21238 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21239 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21240 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21241 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21242 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21243 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21245 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21246 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21247 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21248 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21249 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21250 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21251
91a1f3fe
JM
21252 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21253 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21254 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21255 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21256 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21257 Likewise.
21258 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21259 Likewise.
21260 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21261 Likewise.
21262 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21263 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21264 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21265 atomic-feupdateenv and flt-rounds.
21266 * sysdeps/powerpc/nofpu/Versions (libc): Add
21267 __atomic_feholdexcept, __atomic_feclearexcept,
21268 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21269 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21270 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21271 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21272 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21273 here.
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21275 Update.
21276
c5df7609
JM
21277 * manual/arith.texi (FP Exceptions): Document that exceptions may
21278 not be raised when matherr is used.
21279 (Math Error Reporting): Document overflow in directed rounding
21280 modes. Document that errno may not be set when finite values are
21281 returned on overflow. Document intent to set errno on underflow
21282 only for underflow to zero.
21283
3c1c46a6
JM
21284 [BZ #16271]
21285 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21286 round-to-nearest then adjust result for other rounding modes.
21287 * include/fenv.h (fegetround): Use libm_hidden_proto.
21288 * math/fegetround.c (fegetround): Use libm_hidden_def.
21289 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21290 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21291 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21292 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21293 Likewise.
21294 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21295 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21296 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21297 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21298
5a4c6d53
SP
212992013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21300
21301 [BZ #16077]
21302 * nss/Versions (libnss_files): Add
21303 _nss_files_gethostbyname3_r.
21304 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21305 New function.
21306 (HOST_DB_LOOKUP): Remove macro.
21307 (_nss_files_gethostbyname_r): Implement function without the
21308 HOST_DB_LOOKUP macro.
21309 (_nss_files_gethostbyname2_r): Likewise.
21310
897b98ba
OB
213112013-11-28 Ondřej Bílka <neleai@seznam.cz>
21312
21313 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21314
6f476861
UB
213152013-11-26 Uros Bizjak <ubizjak@gmail.com>
21316
21317 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21318 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21319 warning.
21320
bd12ab55
AZ
213212013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21322
21323 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21324 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21325 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21326 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21327 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21328 __fe_nomask_env_priv and attribute_hidden.
21329 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21330 (libc_feupdateenv_test_ppc): Likewise.
21331 (libc_feresetround_ppc): Likewise.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21333 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21334 compat_symbol macro.
21335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21336 (__fe_nomask_env): Likewise.
21337 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21338
52bb6543
OB
213392013-11-26 Ondřej Bílka <neleai@seznam.cz>
21340
21341 * string/Makefile: Remove ifunc tests.
21342 * string/test-string.h: Define TEST_IFUNC.
21343 * string/test-bcopy-ifunc.c: Remove.
21344 * string/test-bzero-ifunc.c: Likewise.
21345 * string/test-memccpy-ifunc.c: Likewise.
21346 * string/test-memchr-ifunc.c: Likewise.
21347 * string/test-memcmp-ifunc.c: Likewise.
21348 * string/test-memcpy-ifunc.c: Likewise.
21349 * string/test-memmem-ifunc.c: Likewise.
21350 * string/test-memmove-ifunc.c: Likewise.
21351 * string/test-mempcpy-ifunc.c: Likewise.
21352 * string/test-memrchr-ifunc.c: Likewise.
21353 * string/test-memset-ifunc.c: Likewise.
21354 * string/test-rawmemchr-ifunc.c: Likewise.
21355 * string/test-stpcpy-ifunc.c: Likewise.
21356 * string/test-stpncpy-ifunc.c: Likewise.
21357 * string/test-strcasecmp-ifunc.c: Likewise.
21358 * string/test-strcasestr-ifunc.c: Likewise.
21359 * string/test-strcat-ifunc.c: Likewise.
21360 * string/test-strchr-ifunc.c: Likewise.
21361 * string/test-strchrnul-ifunc.c: Likewise.
21362 * string/test-strcmp-ifunc.c: Likewise.
21363 * string/test-strcpy-ifunc.c: Likewise.
21364 * string/test-strcspn-ifunc.c: Likewise.
21365 * string/test-strlen-ifunc.c: Likewise.
21366 * string/test-strncasecmp-ifunc.c: Likewise.
21367 * string/test-strncat-ifunc.c: Likewise.
21368 * string/test-strncmp-ifunc.c: Likewise.
21369 * string/test-strncpy-ifunc.c: Likewise.
21370 * string/test-strnlen-ifunc.c: Likewise.
21371 * string/test-strpbrk-ifunc.c: Likewise.
21372 * string/test-strrchr-ifunc.c: Likewise.
21373 * string/test-strspn-ifunc.c: Likewise.
21374 * string/test-strstr-ifunc.c: Likewise.
21375
ab260039 213762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21377
21378 * benchtests/Makefile: Remove ifunc tests.
21379 * benchtests/bench-string.h: Define TEST_IFUNC.
21380 * benchtests/bench-bcopy-ifunc.c: Remove.
21381 * benchtests/bench-bzero-ifunc.c: Likewise.
21382 * benchtests/bench-memccpy-ifunc.c: Likewise.
21383 * benchtests/bench-memchr-ifunc.c: Likewise.
21384 * benchtests/bench-memcmp-ifunc.c: Likewise.
21385 * benchtests/bench-memcpy-ifunc.c: Likewise.
21386 * benchtests/bench-memmem-ifunc.c: Likewise.
21387 * benchtests/bench-memmove-ifunc.c: Likewise.
21388 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21389 * benchtests/bench-memrchr-ifunc.c: Likewise.
21390 * benchtests/bench-memset-ifunc.c: Likewise.
21391 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21392 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21393 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21394 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21395 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21396 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21397 * benchtests/bench-strcat-ifunc.c: Likewise.
21398 * benchtests/bench-strchr-ifunc.c: Likewise.
21399 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21400 * benchtests/bench-strcmp-ifunc.c: Likewise.
21401 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21402 * benchtests/bench-strcpy-ifunc.c: Likewise.
21403 * benchtests/bench-strcspn-ifunc.c: Likewise.
21404 * benchtests/bench-strlen-ifunc.c: Likewise.
21405 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21406 * benchtests/bench-strncat-ifunc.c: Likewise.
21407 * benchtests/bench-strncmp-ifunc.c: Likewise.
21408 * benchtests/bench-strncpy-ifunc.c: Likewise.
21409 * benchtests/bench-strnlen-ifunc.c: Likewise.
21410 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21411 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21412 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21413 * benchtests/bench-strspn-ifunc.c: Likewise.
21414 * benchtests/bench-strstr-ifunc.c: Likewise.
21415
214162013-11-26 Ondřej Bílka <neleai@seznam.cz>
21417
ab260039
OB
21418 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21419
d1d9eaf4 214202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21421
d1d9eaf4
OB
21422 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21423 * rt/aio.h: Likewise.
21424 * sysdeps/gnu/bits/utmp.h: Likewise.
21425 * sysdeps/gnu/bits/utmpx.h: Likewise.
21426 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21427 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21428 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21429 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21430 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21431 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21432 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21433 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21434 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21435 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21436 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21437 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21438 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21440 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21441 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21442 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21443 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21444 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21445 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21446 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21447 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21448 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21449 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21450 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21452 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21453 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21454 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21455 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21456 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21457 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21458 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21459 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21460 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21461 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21462 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21463 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21464 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21465 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21466 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21467 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21468
a7624ed9
CD
214692013-11-25 Carlos O'Donell <carlos@redhat.com>
21470
21471 [BZ #16245]
21472 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21473 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21474
63cfe52b
JM
214752013-11-25 Joseph Myers <joseph@codesourcery.com>
21476
21477 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21478 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21479 Likewise.
21480
41e8926a
AZ
214812013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21482
21483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21484 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21485 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21486 (__fesetround): Remove define.
21487 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21488 rounding and exceptions handling.
21489 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21490 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21491 (__fe_nomask_env): Likewise.
21492 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21493 __fegetround instead of fegetround.
21494 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21495 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21496
6851bd4d
RM
214972013-11-21 Roland McGrath <roland@hack.frob.com>
21498
070906ff
RM
21499 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21500 it's there.
21501
6851bd4d
RM
21502 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21503
84ae135d
MI
215042013-11-21 Meador Inge <meadori@codesourcery.com>
21505
21506 [BZ #11157]
21507 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21508 (encrypt_r): Likewise.
21509 * malloc/obstack.h (obstack_free): Likewise.
21510 * posix/unistd.h (encrypt): Likewise.
21511
daf75146
GM
215122013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21513
21514 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21515 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21516 DL_CALL_DT_FINI() that call the functions directly.
21517 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21518 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21519 * elf/dl-fini.c: Likewise.
21520
10ad46bc
OB
215212013-11-20 Ondřej Bílka <neleai@seznam.cz>
21522
21523 * malloc/hooks.c (memalign_check): Add alignment rounding.
21524 * malloc/malloc.c (_mid_memalign): New function.
21525 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21526 Implement by calling _mid_memalign.
21527 * manual/probes.texi (Memory Allocation Probes): Remove
21528 memory_valloc_retry and memory_pvalloc_retry.
21529
f3fd2628
SP
215302013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21531
4712799f
SP
21532 * locale/programs/locarchive.c (open_archive): Add const
21533 qualifier to ARCHIVEFNAME and copy default fname to
21534 DEFAULT_FNAME.
21535
0417b20f
SP
21536 [BZ #15601]
21537 * libio/tst-widetext.input: Rename Oriya to Odia.
21538 * locale/iso-639.def: Likewise.
21539
f3fd2628
SP
21540 * manual/probes.texi (Mathematical Function Probes): Add
21541 documentation for sin, cos, asin and acos probes.
21542 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21543 (__sin32): Add slowasin probe.
21544 (__cos32): Add slowacos probe.
21545 (__mpsin): Add slowsin probe.
21546 (__mpcos): Add slowcos probe.
21547
73c1ce4f
JM
215482013-11-19 Joseph Myers <joseph@codesourcery.com>
21549
21550 [BZ #15483]
21551 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21552 thread-local __sim_exceptions_thread and global
21553 __sim_exceptions_global.
21554 (__sim_disabled_exceptions): Change to thread-local
21555 __sim_disabled_exceptions_thread and global
21556 __sim_disabled_exceptions_global.
21557 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21558 and global __sim_round_mode_global.
21559 (__simulate_exceptions): Use thread-local floating-point state and
21560 set global state from it as needed.
21561 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21562 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21563 __sim_round_mode_thread.
21564 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21565 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21566 and global __sim_exceptions_global.
21567 (__sim_disabled_exceptions): Change to thread-local
21568 __sim_disabled_exceptions_thread and global
21569 __sim_disabled_exceptions_global.
21570 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21571 and global __sim_round_mode_global.
21572 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21573 (SIM_SET_GLOBAL): Likewise.
21574 * sysdeps/powerpc/soft-fp/sfp-machine.h
21575 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21576 __sim_round_mode_thread.
21577 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21578 __sim_disabled_exceptions_thread.
21579 (__sim_exceptions): Change to __sim_exceptions_thread.
21580 (__sim_disabled_exceptions): Change to
21581 __sim_disabled_exceptions_thread.
21582 (__sim_round_mode): Change to __sim_round_mode_thread.
21583 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21584 thread-local floating-point state and set global state from it as
21585 needed.
21586 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21587 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21588 (__sim_disabled_exceptions): Remove extern declaration.
21589 (feenableexcept): Use thread-local floating-point state and set
21590 global state from it as needed.
21591 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21592 extern declaration.
21593 (__sim_disabled_exceptions): Likewise.
21594 (__sim_round_mode): Likewise.
21595 (__fegetenv): Use thread-local floating-point state.
21596 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21597 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21598 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21599 floating-point state and set global state from it as needed.
21600 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21601 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21602 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21603 Likewise.
21604 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21605 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21606 Likewise.
21607 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21608 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21609 Use __sim_round_mode_thread.
21610 * math/test-fenv-tls.c: New file.
21611 * math/Makefile (tests): Add test-fenv-tls.
21612 ($(objpfx)test-fenv-tls): Depend on
21613 $(common-objpfx)nptl/libpthread.so.
21614
b5449b12
AS
216152013-11-19 Andreas Schwab <schwab@suse.de>
21616
21617 * locale/programs/locale.c (show_info): Decode wordarray elements.
21618 * locale/categories.def (LC_MONETARY): Add element for
21619 _NL_MONETARY_CRNCYSTR.
21620 * locale/C-monetary.c (conversion_rate): New variable.
21621 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21622 element.
21623
e186536b
CM
216242013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21625
21626 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21627 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21628
5c349950
PP
216292013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21630
21631 * elf/Makefile (tst-auxv): New test.
21632 * elf/tst-auxv.c: New
21633 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21634
699df45b
JM
216352013-11-18 Joseph Myers <joseph@codesourcery.com>
21636
21637 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21638 (hidden_proto): Caller changed.
21639 (hidden_tls_proto): New macro.
21640 (libc_hidden_tls_proto): Likewise.
21641 (rtld_hidden_tls_proto): Likewise.
21642 (libm_hidden_tls_proto): Likewise.
21643 (libresolv_hidden_tls_proto): Likewise.
21644 (librt_hidden_tls_proto): Likewise.
21645 (libdl_hidden_tls_proto): Likewise.
21646 (libnss_files_hidden_tls_proto): Likewise.
21647 (libnsl_hidden_tls_proto): Likewise.
21648 (libnss_nisplus_hidden_tls_proto): Likewise.
21649 (libutil_hidden_tls_proto): Likewise.
21650
b7589107
OB
216512013-11-18 Ondřej Bílka <neleai@seznam.cz>
21652
21653 [BZ #10253]
21654 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21655 (decompose_rpath): Defer expansion to fillin_rpath.
21656 (_dl_init_paths): Pass linkmap to fillin_rpath.
21657
250c23bd
RS
216582013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21659
21660 * benchtests/Makefile: Add strsep.
21661 * benchtests/bench-strsep.c: New file: strsep benchtest.
21662 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21663
a7931fcf
AS
216642013-11-18 Andreas Schwab <schwab@suse.de>
21665
21666 * locale/programs/locale.c (show_info) [case byte]: Check for
21667 '\377' instead of '\177'.
21668 * locale/C-monetary.c (not_available): Always use "\377".
21669 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21670 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21671 detect unavailable sign_posn locale elements.
21672 * locale/localeconv.c (__localeconv): For grouping and
21673 mon_grouping handle "\177" and "\377" like no grouping.
21674 (INT_ELEM): New macro. Use it to set all numeric members.
21675 * locale/programs/ld-monetary.c (monetary_read)
21676 <tok_mon_grouping>: Normalize single -1 to the empty string.
21677 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21678 Likewise.
21679
728dab0e
OB
216802013-11-07 Ondřej Bílka <neleai@seznam.cz>
21681
21682 [BZ #16055]
21683 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21684 when we match (nil).
21685 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21686
66294491
JM
216872013-11-16 Joseph Myers <joseph@codesourcery.com>
21688
ce665817
JM
21689 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21690 (NO_TEST_INLINE): Update value.
21691 (ERRNO_UNCHANGED): Likewise.
21692 (ERRNO_EDOM): Likewise.
21693 (ERRNO_ERANGE): Likewise.
21694 (IGNORE_RESULT): Likewise.
21695 (check_float_internal): Check signs of NaN results if
21696 TEST_NAN_SIGN used.
21697 (check_complex): Pass TEST_NAN_SIGN flag through to second
21698 check_float_internal call.
21699 (copysign_test_data): Add tests with quiet NaNs as second
21700 argument. Use TEST_NAN_SIGN.
21701 (fabs_test_data): Add test of negative quiet NaN argument. Use
21702 TEST_NAN_SIGN.
21703 (signbit_test_data): Add tests of quiet NaN argument.
21704 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21705
ee1466a9
JM
21706 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21707 $ignore_result.
21708 (parse_args): Handle function results specified as IGNORE.
21709 * math/libm-test.inc (IGNORE_RESULT): New macro.
21710 (check_float_internal): Do not check numerical result if flag
21711 IGNORE_RESULT set.
21712 (check_complex): Pass through IGNORE_RESULT to second
21713 check_float_internal call.
21714 (check_int): Do not check numerical result if flag IGNORE_RESULT
21715 set.
21716 (check_long): Likewise.
21717 (check_bool): Likewise.
21718 (check_longlong): Likewise.
21719 (lrint_test_data): Add tests of infinite and NaN arguments.
21720 (lrint_tonearest_test_data): Likewise.
21721 (lrint_towardzero_test_data): Likewise.
21722 (lrint_downward_test_data): Likewise.
21723 (lrint_upward_test_data): Likewise.
21724 (llrint_test_data): Likewise.
21725 (llrint_tonearest_test_data): Likewise.
21726 (llrint_towardzero_test_data): Likewise.
21727 (llrint_downward_test_data): Likewise.
21728 (llrint_upward_test_data): Likewise.
21729 (lround_test_data): Likewise.
21730 (llround_test_data): Likewise.
21731
14407b7e
JM
21732 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21733 (ERRNO_UNCHANGED): Update value.
21734 (ERRNO_EDOM): Likewise.
21735 (ERRNO_ERANGE): Likewise.
21736 (NO_TEST_INLINE_FLOAT): New macro.
21737 (NO_TEST_INLINE_DOUBLE): Likewise.
21738 (enable_test): New function.
21739 (RUN_TEST_f_f): Check enable_test before running test.
21740 (RUN_TEST_2_f): Likewise.
21741 (RUN_TEST_fff_f): Likewise.
21742 (RUN_TEST_c_f): Likewise.
21743 (RUN_TEST_f_f1): Likewise.
21744 (RUN_TEST_fF_f1): Likewise.
21745 (RUN_TEST_fI_f1): Likewise.
21746 (RUN_TEST_ffI_f1): Likewise.
21747 (RUN_TEST_c_c): Likewise.
21748 (RUN_TEST_cc_c): Likewise.
21749 (RUN_TEST_f_i): Likewise.
21750 (RUN_TEST_f_i_tg): Likewise.
21751 (RUN_TEST_ff_i_tg): Likewise.
21752 (RUN_TEST_f_b): Likewise.
21753 (RUN_TEST_f_b_tg): Likewise.
21754 (RUN_TEST_f_l): Likewise.
21755 (RUN_TEST_f_L): Likewise.
21756 (RUN_TEST_fFF_11): Likewise.
21757 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21758 conditionals.
21759 (cosh_test_data): Likewise.
21760 (exp_test_data): Likewise.
21761 (expm1_test_data): Likewise.
21762 (hypot_test_data): Likewise.
21763 (pow_test_data): Likewise.
21764 (sinh_test_data): Likewise.
21765 (tanh_test_data): Likewise.
21766 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21767 flags argument.
21768
ca07f197
JM
21769 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21770 tests with quiet NaN input and output.
21771 (acosh_test_data): Likewise.
21772 (asin_test_data): Likewise.
21773 (asinh_test_data): Likewise.
21774 (atan_test_data): Likewise.
21775 (atanh_test_data): Likewise.
21776 (atan2_test_data): Likewise.
21777 (cbrt_test_data): Likewise.
21778 (cos_test_data): Likewise.
21779 (cosh_test_data): Likewise.
21780 (erf_test_data): Likewise.
21781 (erfc_test_data): Likewise.
21782 (exp_test_data): Likewise.
21783 (exp10_test_data): Likewise.
21784 (exp2_test_data): Likewise.
21785 (expm1_test_data): Likewise.
21786 (hypot_test_data): Likewise.
21787 (j0_test_data): Likewise.
21788 (j1_test_data): Likewise.
21789 (jn_test_data): Likewise.
21790 (lgamma_test_data): Likewise.
21791 (log_test_data): Likewise.
21792 (log10_test_data): Likewise.
21793 (log1p_test_data): Likewise.
21794 (log2_test_data): Likewise.
21795 (pow_test_data): Likewise.
21796 (scalb_test_data): Likewise.
21797 (sin_test_data): Likewise.
21798 (sincos_test_data): Likewise.
21799 (sinh_test_data): Likewise.
21800 (tan_test_data): Likewise.
21801 (tanh_test_data): Likewise.
21802 (tgamma_test_data): Likewise.
21803 (y0_test_data): Likewise.
21804 (y1_test_data): Likewise.
21805 (yn_test_data): Likewise.
21806
66294491
JM
21807 [BZ #16167]
21808 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21809 argument being NaN and avoid computations with second argument in
21810 that case.
21811 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21812 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21813 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21814
1820b143
CL
218152013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21816
21817 * locale/iso-639.def: Add Chitwani Tharu (the).
21818
714bd261
AS
218192013-11-14 Andreas Schwab <schwab@suse.de>
21820
21821 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21822 word instead of empty string.
21823
7ab44563
AZ
218242013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21825
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21827 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21829 (__fe_nomask_env): Likewise.
21830
e8470ea2
SE
218312013-11-13 Steve Ellcey <sellcey@mips.com>
21832
21833 * benchtests/bench-timing.h: Include time.h.
21834
17c1d9f0
L
218352013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21836
21837 [BZ #15997]
21838 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21839 to 3.4.0 for x32.
21840 * sysdeps/unix/sysv/linux/configure: Regenerated.
21841
9310c284
JM
218422013-11-13 Joseph Myers <joseph@codesourcery.com>
21843
21844 [BZ #16151]
21845 * stdlib/strtod_l.c (round_and_return): Do not consider
21846 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21847 exponent one less than half the least subnormal exponent.
21848 * stdlib/test-strtod-round-data: Add more tests.
21849 * stdlib/tst-strtod-round.c (tests): Regenerated.
21850
7a2ad8cf
AZ
218512013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21852
21853 [BZ #14143]
21854 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21855 (__fe_mask_env): Likewise.
21856 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21857 libm_hidden_proto and add function prototype.
21858 (__fe_mask_env): Add function prototype.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21860 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21862 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21864 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21865
50727aa7
MS
218662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21867
b2f386c1 21868 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21869 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21870
a615be46
MS
218712013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21872
21873 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21874 of htab_find_slot().
21875
7ddace62
DM
218762013-11-11 David S. Miller <davem@davemloft.net>
21877
21878 [BZ #16150]
21879 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21880 symbol in the non-vis3 case in static builds.
21881 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21882 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21883 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21884 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21885
9182aa67
JK
218862013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21887
21888 [BZ #387]
21889 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21890 it is empty.
21891
450a2e2d
AZ
218922013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21893
b2f386c1
SP
21894 * benchtests/Makefile: Add bench-strtod.
21895 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21896
8ec3f656
AS
218972013-11-11 Andreas Schwab <schwab@suse.de>
21898
21899 [BZ #16153]
21900 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21901 terminating NUL in key length.
21902
76a9b998
AZ
219032013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21904
21905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21906 Add artificial ODP entry for vDSO symbol for PPC64.
21907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21908 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21909
e4368156
OB
219102013-11-07 Ondřej Bílka <neleai@seznam.cz>
21911
21912 [BZ #15374]
21913 * nss/getent.c (services_keys): Recognize services starting with digit.
21914
8d6bb57c
DM
219152013-11-06 David S. Miller <davem@davemloft.net>
21916
21917 [BZ #15985]
21918 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21919 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21920
e256c421
WN
219212013-11-06 Will Newton <will.newton@linaro.org>
21922
21923 * manual/memory.texi (Malloc Examples): Remove register
21924 keyword from examples.
21925
f6e12daa 219262013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21927
f6e12daa 21928 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21929
9d880655
AS
219302013-11-04 Joseph Myers <joseph@codesourcery.com>
21931
fd2f9486 21932 [BZ #6981]
9d880655
AS
21933 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21934 depending on [__GCC_IEC_559 > 0].
21935 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21936 depending on [__GCC_IEC_559_COMPLEX > 0].
21937
ae129d3c
CL
219382013-11-03 Chris Leonard <cjl@sugarlabs.org>
21939
21940 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21941 to iso-639.def.
21942
4a15c2a4 219432013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21944
21945 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21946
8b35e35d
OB
219472013-11-01 Ondřej Bílka <neleai@seznam.cz>
21948
21949 [BZ #16112]
21950 * malloc/malloc (malloc_info): Do not handle first bin as
21951 special case.
21952
1d70fd6c
CL
219532013-11-01 Chris Leonard <cjl@sugarlabs.org>
21954
21955 * locale/iso-639.def: Add Central Nahuatl (nhn).
21956
8c5c2600
BH
219572013-11-01 Bruno Haible <bruno@clisp.org>
21958
21959 [BZ #7003]
21960 * manual/math.texi (BSD Random): Specify range upper bound as
21961 in POSIX.
21962
da5579c2
CL
219632013-10-31 Chris Leonard <cjl@sugarlabs.org>
21964
21965 * locale/iso-639.def: Add Meadow Mari (mhr).
21966
5d30d853
OB
219672013-10-31 Ondřej Bílka <neleai@seznam.cz>
21968
21969 [BZ #14752], [BZ #15763]
21970 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21971 Validate name.
21972 * rt/tst_shm.c: Add test for escaping directory.
21973
a4966c61
AS
219742013-10-31 Andreas Schwab <schwab@suse.de>
21975
8a43e768 21976 [BZ #15917]
a4966c61
AS
21977 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21978 followed by 'x' as part of digit sequence.
21979 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21980
28d708c4
MAP
219812013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21982
21983 [BZ #16037]
21984 * configure.ac: allow GNU Make 4.0 and greater.
21985 * configure: Regenerated.
21986
a56ee40b
WN
219872013-10-30 Will Newton <will.newton@linaro.org>
21988
21989 [BZ #16038]
21990 * malloc/hooks.c (memalign_check): Limit alignment to the
21991 maximum representable power of two.
21992 * malloc/malloc.c (__libc_memalign): Likewise.
21993 * malloc/tst-memalign.c (do_test): Add test for very
21994 large alignment values.
21995 * malloc/tst-posix_memalign.c (do_test): Likewise.
21996
c6e4925d
OB
219972013-10-30 Ondřej Bílka <neleai@seznam.cz>
21998
21999 [BZ #11087]
22000 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22001 (munmap_chunk): Likewise.
22002 (mremap_chunk): Likewise.
22003
220042013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22005
8a43e768 22006 [BZ #15799]
bbea82f7
OB
22007 * stdlib/div.c (div): Remove obsolete code.
22008 * stdlib/ldiv.c (ldiv): Likewise.
22009 * stdlib/lldiv.c (lldiv): Likewise.
22010
977f4b31
SP
220112013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22012
22013 [BZ #16071]
22014 * nss/nss_files/files-XXX.c (get_contents_ret): New
22015 enumerator.
22016 (get_contents): New function.
22017 (internal_getent): Use it. Expand size of LINEBUFLEN.
22018
cb8a6dbd
MF
220192013-10-30 Mike Frysinger <vapier@gentoo.org>
22020
22021 * configure.in: Moved to ...
22022 * configure.ac: ... here. Change reference to configure.in
22023 to configure.ac.
22024 * sysdeps/arm/preconfigure.ac: ... here.
22025 configure.in to configure.ac.
22026 * sysdeps/gnu/configure.in: Moved to ...
22027 * sysdeps/gnu/configure.ac: ... here.
22028 * sysdeps/i386/configure.in: Moved to ...
22029 * sysdeps/i386/configure.ac: ... here.
22030 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22031 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22032 * sysdeps/mach/configure.in: Moved to ...
22033 * sysdeps/mach/configure.ac: ... here.
22034 * sysdeps/mach/hurd/configure.in: Moved to ...
22035 * sysdeps/mach/hurd/configure.ac: ... here.
22036 * sysdeps/powerpc/configure.in: Moved to ...
22037 * sysdeps/powerpc/configure.ac: ... here.
22038 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22039 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22040 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22041 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22042 * sysdeps/s390/s390-32/configure.in: Moved to ...
22043 * sysdeps/s390/s390-32/configure.ac: ... here.
22044 * sysdeps/s390/s390-64/configure.in: Moved to ...
22045 * sysdeps/s390/s390-64/configure.ac: ... here.
22046 * sysdeps/sh/configure.in: Moved to ...
22047 * sysdeps/sh/configure.ac: ... here.
22048 * sysdeps/sparc/configure.in: Moved to ...
22049 * sysdeps/sparc/configure.ac: ... here.
22050 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22051 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22052 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22053 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22054 * sysdeps/x86_64/configure.in: Moved to ...
22055 * sysdeps/x86_64/configure.ac: ... here.
22056 * sysdeps/x86_64/preconfigure.in: Moved to ...
22057 * sysdeps/x86_64/preconfigure.ac: ... here.
22058 * aclocal.m4: Change reference to configure.in to configure.ac.
22059 * config.h.in: Likewise.
22060 * manual/install.texi: Likewise.
22061 * manual/maint.texi: Likewise.
22062 * Makefile: Likewise.
22063 * malloc/Makefile: Likewise.
22064 * nscd/Makefile: Likewise.
22065 * Makeconfig: Change reference to configure.in and
22066 preconfigure.in to configure.ac and preconfigure.ac
22067 respectively.
22068 * INSTALL: Regenerated.
22069 * configure: Likewise.
22070 * sysdeps/gnu/configure: Likewise.
22071 * sysdeps/i386/configure: Likewise.
22072 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22073 * sysdeps/mach/configure: Likewise.
22074 * sysdeps/mach/hurd/configure: Likewise.
22075 * sysdeps/powerpc/configure: Likewise.
22076 * sysdeps/powerpc/powerpc32/configure: Likewise.
22077 * sysdeps/powerpc/powerpc64/configure: Likewise.
22078 * sysdeps/s390/s390-32/configure: Likewise.
22079 * sysdeps/s390/s390-64/configure: Likewise.
22080 * sysdeps/sh/configure: Likewise.
22081 * sysdeps/sparc/configure: Likewise.
22082 * sysdeps/unix/sysv/linux/configure: Likewise.
22083 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22084 * sysdeps/x86_64/configure: Likewise.
22085 * sysdeps/x86_64/preconfigure: Likewise.
22086
36a4953a
AS
220872013-10-29 Andreas Schwab <schwab@suse.de>
22088
22089 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22090
c79a1204
SP
220912013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22092
dfa1b402
SP
22093 * benchtests/pow-inputs: Add new inputs.
22094
54f73d9c
SP
22095 * benchtests/exp-inputs: Add new inputs.
22096
c79a1204
SP
22097 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22098 conditional check for return value.
22099 (__cos32): Likewise.
22100
67beb545 221012013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22102
22103 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22104 to provide a boost for large inputs with word alignment.
22105 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22106 implementation based on optimized PPC64 strcpy.
22107 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22108 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22109 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22110 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22111
151659f6
OB
221122013-10-25 Ondřej Bílka <neleai@seznam.cz>
22113
482a077e 22114 [BZ #2801]
151659f6
OB
22115 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22116
10b0f26b
OB
221172013-10-25 Ondřej Bílka <neleai@seznam.cz>
22118
22119 [BZ #14876]
22120 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22121 * time/tst-strptime.c (day_tests): Add testcase.
22122
ca42d35e
OB
221232013-10-25 Ondřej Bílka <neleai@seznam.cz>
22124
482a077e 22125 [BZ #14029]
ca42d35e
OB
22126 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22127
52e6d801
FB
221282013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22129
22130 [BZ #16074]
22131 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22132 MAP_FAILED on error.
22133
7cbcdb36
SP
221342013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22135
22136 [BZ #16072]
22137 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22138 heap for large requests.
22139
894f3f10
AM
221402013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22141
22142 [BZ #9954]
22143 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22144 result if the result has no associated interface.
22145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22146 interface for all 127.X.Y.Z addresses.
22147
b85545a6
CL
221482013-10-24 Chris Leonard <cjl@sugarlabs.org>
22149
22150 * locale/iso-639.def: Add Ligurian (lij)
22151
d1f23d46
OB
221522013-10-21 Ondřej Bílka <neleai@seznam.cz>
22153
22154 [BZ #15825]
22155 * sunrpc/rpc_main.c: Document rpcgen -5.
22156
4db5b08f
MS
221572013-10-19 Michael Stahl <mstahl@redhat.com>
22158
22159 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22160
a471e96a
OB
221612013-10-19 Ondřej Bílka <neleai@seznam.cz>
22162
d1f23d46 22163 [BZ #10278]
a471e96a
OB
22164 * posix/glob.c: Match only directories when trailing slash is present.
22165 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22166 (main): Add testcase.
22167
45c30c61
OB
221682013-10-19 Ondřej Bílka <neleai@seznam.cz>
22169
22170 [BZ #15670]
22171 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22172
484c12fb
CD
221732013-10-18 Carlos O'Donell <carlos@redhat.com>
22174
3d7dc513
CD
22175 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22176 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22177 AUTH_DES and cindex for FIPS 140-2.
22178 (DES Encryption): Add cindex FIPS 46-3.
22179
484c12fb
CD
22180 * locale/locarchive.h (struct locarhandle): Add fname.
22181 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22182 if an optional argument was specified to --list-archive,
22183 otherwise NULL.
22184 * locale/programs/locarchive.c (show_archive_content): Take new
22185 argument fname and pass it via ah.fname to open_archive.
22186 * locale/programs/localedef.h: Update decl.
22187 (open_archive): If AH->fname is non-null, open that file
22188 rather than the default file name, and don't ignore ENOENT.
22189 (create_archive): Set AH.fname to NULL.
22190 (delete_locales_from_archive): Likewise.
22191 (add_locales_to_archive): Likewise.
22192 * locale/programs/locfile.c (write_all_categories): Likewise.
22193
3c8325fb
JM
221942013-10-18 Joseph Myers <joseph@codesourcery.com>
22195 Aldy Hernandez <aldyh@redhat.com>
22196
22197 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22198 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22199 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22200 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22201 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22202 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22203 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22204 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22205 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22206 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22207 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22208 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22209 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22210 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22211 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22212 Likewise.
22213 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22214 Likewise.
22215 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22216 Likewise.
22217 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22218 Likewise.
22219 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22220 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22221 Likewise.
22222 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22223 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22224 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22225 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22226 Likewise.
22227 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22228 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22229 * sysdeps/powerpc/preconfigure: Likewise.
22230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22231 Likewise.
22232 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22233 Replace contents of file by #include of <fenv_libc.h>.
22234 * sysdeps/powerpc/soft-fp/sfp-machine.h
22235 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22236 and <sys/prctl.h>.
22237 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22239 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22240 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22241 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22242 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22244 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22250 Allow copysignl PLT reference to be missing.
22251
5abe0682
RS
222522013-10-18 Richard Sandiford <richard@codesourcery.com>
22253 Joseph Myers <joseph@codesourcery.com
22254
22255 [BZ #15948]
22256 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22257 single character.
22258 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22259
c7738d08
SP
222602013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22261
22262 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22263 * elf/tst-tls1.c: Likewise.
22264 * elf/tst-tls10.h: Likewise.
22265 * elf/tst-tls14.c: Likewise.
22266 * elf/tst-tls2.c: Likewise.
22267 * elf/tst-tls3.c: Likewise.
22268 * elf/tst-tls4.c: Likewise.
22269 * elf/tst-tls5.c: Likewise.
22270 * elf/tst-tls6.c: Likewise.
22271 * elf/tst-tls7.c: Likewise.
22272 * elf/tst-tls8.c: Likewise.
22273 * elf/tst-tls9.c: Likewise.
22274 * elf/tst-tlsmod1.c: Likewise.
22275 * elf/tst-tlsmod13.c: Likewise.
22276 * elf/tst-tlsmod13a.c: Likewise.
22277 * elf/tst-tlsmod14a.c: Likewise.
22278 * elf/tst-tlsmod16a.c: Likewise.
22279 * elf/tst-tlsmod16b.c: Likewise.
22280 * elf/tst-tlsmod2.c: Likewise.
22281 * elf/tst-tlsmod3.c: Likewise.
22282 * elf/tst-tlsmod4.c: Likewise.
22283 * elf/tst-tlsmod5.c: Likewise.
22284 * elf/tst-tlsmod6.c: Likewise.
22285
0bfcf2c7
OB
222862013-10-18 Ondřej Bílka <neleai@seznam.cz>
22287
22288 [BZ #12486]
22289 * malloc/malloc.c: remove checks for statistics.
22290
264aad1e
OB
222912013-10-17 Ondřej Bílka <neleai@seznam.cz>
22292
22293 [BZ #15277]
22294 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22295 * inet/tst-network.c: Add testcase.
22296
b957ced8
AS
222972013-10-17 Andreas Schwab <schwab@suse.de>
22298
22299 [BZ #15218]
22300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22301 to determine canonical name.
22302
c5d5d574
OB
223032013-10-17 Ondřej Bílka <neleai@seznam.cz>
22304
22305 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22306 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22309 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22310 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22311 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22312 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22313 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22314 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22329 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22335 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22343 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22363
e5c2c2d0
JM
223642013-10-17 Joseph Myers <joseph@codesourcery.com>
22365
22366 [BZ #16041]
22367 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22368 make result into a quiet NaN.
22369
51ca9e29
JM
223702013-10-16 Joseph Myers <joseph@codesourcery.com>
22371
22372 * soft-fp/adddf3.c: Fix horizontal whitespace.
22373 * soft-fp/addsf3.c: Likewise.
22374 * soft-fp/addtf3.c: Likewise.
22375 * soft-fp/divdf3.c: Likewise.
22376 * soft-fp/divsf3.c: Likewise.
22377 * soft-fp/divtf3.c: Likewise.
22378 * soft-fp/double.h: Likewise.
22379 * soft-fp/eqdf2.c: Likewise.
22380 * soft-fp/eqsf2.c: Likewise.
22381 * soft-fp/eqtf2.c: Likewise.
22382 * soft-fp/extenddftf2.c: Likewise.
22383 * soft-fp/extended.h: Likewise.
22384 * soft-fp/extendsfdf2.c: Likewise.
22385 * soft-fp/extendsftf2.c: Likewise.
22386 * soft-fp/extendxftf2.c: Likewise.
22387 * soft-fp/fixdfdi.c: Likewise.
22388 * soft-fp/fixdfsi.c: Likewise.
22389 * soft-fp/fixdfti.c: Likewise.
22390 * soft-fp/fixsfdi.c: Likewise.
22391 * soft-fp/fixsfsi.c: Likewise.
22392 * soft-fp/fixsfti.c: Likewise.
22393 * soft-fp/fixtfdi.c: Likewise.
22394 * soft-fp/fixtfsi.c: Likewise.
22395 * soft-fp/fixtfti.c: Likewise.
22396 * soft-fp/fixunsdfdi.c: Likewise.
22397 * soft-fp/fixunsdfsi.c: Likewise.
22398 * soft-fp/fixunsdfti.c: Likewise.
22399 * soft-fp/fixunssfdi.c: Likewise.
22400 * soft-fp/fixunssfsi.c: Likewise.
22401 * soft-fp/fixunssfti.c: Likewise.
22402 * soft-fp/fixunstfdi.c: Likewise.
22403 * soft-fp/fixunstfsi.c: Likewise.
22404 * soft-fp/fixunstfti.c: Likewise.
22405 * soft-fp/floatdidf.c: Likewise.
22406 * soft-fp/floatdisf.c: Likewise.
22407 * soft-fp/floatditf.c: Likewise.
22408 * soft-fp/floatsidf.c: Likewise.
22409 * soft-fp/floatsisf.c: Likewise.
22410 * soft-fp/floatsitf.c: Likewise.
22411 * soft-fp/floattidf.c: Likewise.
22412 * soft-fp/floattisf.c: Likewise.
22413 * soft-fp/floattitf.c: Likewise.
22414 * soft-fp/floatundidf.c: Likewise.
22415 * soft-fp/floatundisf.c: Likewise.
22416 * soft-fp/floatunditf.c: Likewise.
22417 * soft-fp/floatunsidf.c: Likewise.
22418 * soft-fp/floatunsisf.c: Likewise.
22419 * soft-fp/floatunsitf.c: Likewise.
22420 * soft-fp/floatuntidf.c: Likewise.
22421 * soft-fp/floatuntisf.c: Likewise.
22422 * soft-fp/floatuntitf.c: Likewise.
22423 * soft-fp/fmadf4.c: Likewise.
22424 * soft-fp/fmasf4.c: Likewise.
22425 * soft-fp/fmatf4.c: Likewise.
22426 * soft-fp/gedf2.c: Likewise.
22427 * soft-fp/gesf2.c: Likewise.
22428 * soft-fp/getf2.c: Likewise.
22429 * soft-fp/ledf2.c: Likewise.
22430 * soft-fp/lesf2.c: Likewise.
22431 * soft-fp/letf2.c: Likewise.
22432 * soft-fp/muldf3.c: Likewise.
22433 * soft-fp/mulsf3.c: Likewise.
22434 * soft-fp/multf3.c: Likewise.
22435 * soft-fp/negdf2.c: Likewise.
22436 * soft-fp/negsf2.c: Likewise.
22437 * soft-fp/negtf2.c: Likewise.
22438 * soft-fp/op-1.h: Likewise.
22439 * soft-fp/op-2.h: Likewise.
22440 * soft-fp/op-4.h: Likewise.
22441 * soft-fp/op-8.h: Likewise.
22442 * soft-fp/op-common.h: Likewise.
22443 * soft-fp/quad.h: Likewise.
22444 * soft-fp/single.h: Likewise.
22445 * soft-fp/soft-fp.h: Likewise.
22446 * soft-fp/sqrtdf2.c: Likewise.
22447 * soft-fp/sqrtsf2.c: Likewise.
22448 * soft-fp/sqrttf2.c: Likewise.
22449 * soft-fp/subdf3.c: Likewise.
22450 * soft-fp/subsf3.c: Likewise.
22451 * soft-fp/subtf3.c: Likewise.
22452 * soft-fp/truncdfsf2.c: Likewise.
22453 * soft-fp/trunctfdf2.c: Likewise.
22454 * soft-fp/trunctfsf2.c: Likewise.
22455 * soft-fp/trunctfxf2.c: Likewise.
22456 * soft-fp/unorddf2.c: Likewise.
22457 * soft-fp/unordsf2.c: Likewise.
22458 * soft-fp/unordtf2.c: Likewise.
22459
9ebb0332
JM
224602013-10-15 Joseph Myers <joseph@codesourcery.com>
22461
22462 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22463 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22464
4b1a6d8b
OB
224652013-10-15 Ondřej Bílka <neleai@seznam.cz>
22466
22467 * elf/dl-libc.c: Clear initfini list after freeing.
22468
1e145589
JM
224692013-10-14 Joseph Myers <joseph@codesourcery.com>
22470
22471 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22472 * soft-fp/addsf3.c: Likewise.
22473 * soft-fp/addtf3.c: Likewise.
22474 * soft-fp/divdf3.c: Likewise.
22475 * soft-fp/divsf3.c: Likewise.
22476 * soft-fp/divtf3.c: Likewise.
22477 * soft-fp/double.h: Likewise.
22478 * soft-fp/eqdf2.c: Likewise.
22479 * soft-fp/eqsf2.c: Likewise.
22480 * soft-fp/eqtf2.c: Likewise.
22481 * soft-fp/extenddftf2.c: Likewise.
22482 * soft-fp/extended.h: Likewise.
22483 * soft-fp/extendsfdf2.c: Likewise.
22484 * soft-fp/extendsftf2.c: Likewise.
22485 * soft-fp/extendxftf2.c: Likewise.
22486 * soft-fp/fixdfdi.c: Likewise.
22487 * soft-fp/fixdfsi.c: Likewise.
22488 * soft-fp/fixdfti.c: Likewise.
22489 * soft-fp/fixsfdi.c: Likewise.
22490 * soft-fp/fixsfsi.c: Likewise.
22491 * soft-fp/fixsfti.c: Likewise.
22492 * soft-fp/fixtfdi.c: Likewise.
22493 * soft-fp/fixtfsi.c: Likewise.
22494 * soft-fp/fixtfti.c: Likewise.
22495 * soft-fp/fixunsdfdi.c: Likewise.
22496 * soft-fp/fixunsdfsi.c: Likewise.
22497 * soft-fp/fixunsdfti.c: Likewise.
22498 * soft-fp/fixunssfdi.c: Likewise.
22499 * soft-fp/fixunssfsi.c: Likewise.
22500 * soft-fp/fixunssfti.c: Likewise.
22501 * soft-fp/fixunstfdi.c: Likewise.
22502 * soft-fp/fixunstfsi.c: Likewise.
22503 * soft-fp/fixunstfti.c: Likewise.
22504 * soft-fp/floatdidf.c: Likewise.
22505 * soft-fp/floatdisf.c: Likewise.
22506 * soft-fp/floatditf.c: Likewise.
22507 * soft-fp/floatsidf.c: Likewise.
22508 * soft-fp/floatsisf.c: Likewise.
22509 * soft-fp/floatsitf.c: Likewise.
22510 * soft-fp/floattidf.c: Likewise.
22511 * soft-fp/floattisf.c: Likewise.
22512 * soft-fp/floattitf.c: Likewise.
22513 * soft-fp/floatundidf.c: Likewise.
22514 * soft-fp/floatundisf.c: Likewise.
22515 * soft-fp/floatunsidf.c: Likewise.
22516 * soft-fp/floatunsisf.c: Likewise.
22517 * soft-fp/floatuntidf.c: Likewise.
22518 * soft-fp/floatuntisf.c: Likewise.
22519 * soft-fp/floatuntitf.c: Likewise.
22520 * soft-fp/fmadf4.c: Likewise.
22521 * soft-fp/fmasf4.c: Likewise.
22522 * soft-fp/fmatf4.c: Likewise.
22523 * soft-fp/gedf2.c: Likewise.
22524 * soft-fp/gesf2.c: Likewise.
22525 * soft-fp/getf2.c: Likewise.
22526 * soft-fp/ledf2.c: Likewise.
22527 * soft-fp/lesf2.c: Likewise.
22528 * soft-fp/letf2.c: Likewise.
22529 * soft-fp/muldf3.c: Likewise.
22530 * soft-fp/mulsf3.c: Likewise.
22531 * soft-fp/multf3.c: Likewise.
22532 * soft-fp/negdf2.c: Likewise.
22533 * soft-fp/negsf2.c: Likewise.
22534 * soft-fp/negtf2.c: Likewise.
22535 * soft-fp/op-1.h: Likewise.
22536 * soft-fp/op-2.h: Likewise.
22537 * soft-fp/op-4.h: Likewise.
22538 * soft-fp/op-8.h: Likewise.
22539 * soft-fp/op-common.h: Likewise.
22540 * soft-fp/quad.h: Likewise.
22541 * soft-fp/single.h: Likewise.
22542 * soft-fp/soft-fp.h: Likewise.
22543 * soft-fp/sqrtdf2.c: Likewise.
22544 * soft-fp/sqrtsf2.c: Likewise.
22545 * soft-fp/sqrttf2.c: Likewise.
22546 * soft-fp/subdf3.c: Likewise.
22547 * soft-fp/subsf3.c: Likewise.
22548 * soft-fp/subtf3.c: Likewise.
22549 * soft-fp/truncdfsf2.c: Likewise.
22550 * soft-fp/trunctfdf2.c: Likewise.
22551 * soft-fp/trunctfsf2.c: Likewise.
22552 * soft-fp/trunctfxf2.c: Likewise.
22553 * soft-fp/unorddf2.c: Likewise.
22554 * soft-fp/unordsf2.c: Likewise.
22555 * soft-fp/unordtf2.c: Likewise.
22556
17c48a60
OB
225572013-10-14 Ondřej Bílka <neleai@seznam.cz>
22558
22559 [BZ #15672]
22560 * misc/error.c (error_tail): Fix possible buffer overflow.
22561
cabba934
OB
225622013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22563
22564 [BZ #13028]
22565 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22566 address.
22567
94bf958a
PM
225682013-10-14 P. J. McDermott <pj@pehjota.net>
22569
22570 [BZ #832]
22571 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22572 testing pipefail option.
22573
71b4dea7
JM
225742013-10-12 Joseph Myers <joseph@codesourcery.com>
22575
22576 * soft-fp/double.h: Indent preprocessor directives inside #if.
22577 * soft-fp/extended.h: Likewise.
22578 * soft-fp/op-2.h: Likewise.
22579 * soft-fp/op-4.h: Likewise.
22580 * soft-fp/op-common.h: Likewise.
22581 * soft-fp/quad.h: Likewise.
22582 * soft-fp/single.h: Likewise.
22583 * soft-fp/soft-fp.h: Likewise.
22584
55602758
YC
225852013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22586
22587 * iconv/iconv_prog.c: Fix typos.
22588 * stdio-common/psiginfo-data.h: Likewise.
22589
9cd83302
RT
225902013-10-12 Reuben Thomas <rrt@sc3d.org>
22591
22592 [BZ #15764]
22593 * locale/setlocale.c: Fix typo.
22594
99fd9f47
JM
225952013-10-12 Joseph Myers <joseph@codesourcery.com>
22596
b7ea74f0
JM
22597 [BZ #16036]
22598 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22599 signaling NaN arguments.
22600 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22601 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22602
8a509447
JM
22603 [BZ #14910]
22604 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22605 unordered operands.
22606 * soft-fp/gesf2.c (__gesf2): Likewise.
22607 * soft-fp/getf2.c (__getf2): Likewise.
22608 * soft-fp/ledf2.c (__ledf2): Likewise.
22609 * soft-fp/lesf2.c (__lesf2): Likewise.
22610 * soft-fp/letf2.c (__letf2): Likewise.
22611
98998e9f
JM
22612 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22613 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22614 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22615 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22616 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22617 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22618 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22619 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22620 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22621 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22622 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22623 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22624 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22625 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22626 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22627 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22628 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22629 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22630 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22631 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22632 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22633 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22634 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22635 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22636 * soft-fp/floattidf.c (__floattidf): Likewise.
22637 * soft-fp/floattisf.c (__floattisf): Likewise.
22638 * soft-fp/floattitf.c (__floattitf): Likewise.
22639 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22640 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22641 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22642 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22643 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22644 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22645 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22646 * soft-fp/gesf2.c (__gesf2): Likewise.
22647 * soft-fp/getf2.c (__getf2): Likewise.
22648 * soft-fp/ledf2.c (__ledf2): Likewise.
22649 * soft-fp/lesf2.c (__lesf2): Likewise.
22650 * soft-fp/letf2.c (__letf2): Likewise.
22651
8edc4a11
JM
22652 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22653 Undefine and redefine.
22654 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22655 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22656 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22657 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22658 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22659 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22660 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22661 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22662 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22663 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22664 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22665 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22666 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22667 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22668 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22669
8399acaf
JM
22670 [BZ #16032]
22671 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22672 without decrementing exponent if mantissa >= that for the
22673 denominator, not >.
22674 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22675 denominator, not >. Decrement exponent in < case instead of
22676 incrementing in >= case.
22677 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22678 without decrementing exponent if mantissa >= that for the
22679 denominator, not >.
22680
99fd9f47
JM
22681 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22682 computing saturated result for unsigned overflow.
22683
10e1cf6b
SP
226842013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22685 Jeff Law <law@redhat.com>
22686
22687 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22688 (atan2Mp): Add systemtap probe marker.
22689 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22690 (__ieee754_log): Add systemtap probe marker.
22691 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22692 (atanMp): Add systemtap probe marker.
22693 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22694 (tanMp): Add systemtap probe marker.
22695 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22696 (__slowexp): Add systemtap probe marker.
22697 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22698 (__slowpow): Add systemtap probe marker.
22699 * manual/probes.texi: Document probes.
22700
3d110c7c
EB
227012013-10-11 Eric Biggers <ebiggers3@gmail.com>
22702
22703 [BZ #15362]
22704 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22705 written.
22706 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22707 written.
22708 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22709 written to buffer but not flushed.
22710 * libio/iofwrite_u.c: Likewise.
22711 * libio/iopadn.c: Return bytes returned even if EOF was
22712 encountered.
22713 * libio/iowpadn.c: Likewise.
22714 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22715 if _IO_padn does not write the whole buffer.
22716 [!COMPILE_WPRINTF] (PAD): Likewise.
22717
75b4202a
DM
227182013-10-10 David S. Miller <davem@davemloft.net>
22719
22720 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22721 directory block.
22722
6c6352e6
JM
227232013-10-10 Joseph Myers <joseph@codesourcery.com>
22724
33b853c3
JM
22725 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22726 instead of FSF address.
22727 * soft-fp/fixdfti.c: Likewise.
22728 * soft-fp/fixsfti.c: Likewise.
22729 * soft-fp/fixtfti.c: Likewise.
22730 * soft-fp/fixunsdfti.c: Likewise.
22731 * soft-fp/fixunssfti.c: Likewise.
22732 * soft-fp/fixunstfti.c: Likewise.
22733 * soft-fp/floattidf.c: Likewise.
22734 * soft-fp/floattisf.c: Likewise.
22735 * soft-fp/floattitf.c: Likewise.
22736 * soft-fp/floatuntidf.c: Likewise.
22737 * soft-fp/floatuntisf.c: Likewise.
22738 * soft-fp/floatuntitf.c: Likewise.
22739 * soft-fp/trunctfxf2.c: Likewise.
22740
6c6352e6
JM
22741 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22742 * soft-fp/fixdfti.c: Likewise.
22743 * soft-fp/fixsfti.c: Likewise.
22744 * soft-fp/fixtfti.c: Likewise.
22745 * soft-fp/fixunsdfti.c: Likewise.
22746 * soft-fp/fixunssfti.c: Likewise.
22747 * soft-fp/fixunstfti.c: Likewise.
22748 * soft-fp/floattidf.c: Likewise.
22749 * soft-fp/floattisf.c: Likewise.
22750 * soft-fp/floattitf.c: Likewise.
22751 * soft-fp/floatuntidf.c: Likewise.
22752 * soft-fp/floatuntisf.c: Likewise.
22753 * soft-fp/floatuntitf.c: Likewise.
22754 * soft-fp/trunctfxf2.c: Likewise.
22755
3bf78b71
DM
227562013-10-10 David S. Miller <davem@davemloft.net>
22757
22758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22759
6f10289e
JM
227602013-10-10 Joseph Myers <joseph@codsourcery.com>
22761
bd878fc0
JM
22762 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22763 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22764 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22765 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22766 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22767 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22768 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22769
6f10289e
JM
22770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22771 for NaNs before doing comparisons on argument.
22772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22773 Likewise.
22774
321e2684
WN
227752013-10-10 Will Newton <will.newton@linaro.org>
22776
22777 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22778 passed to _int_memalign does not overflow.
22779
40fefba1
TR
227802013-10-10 Torvald Riegel <triegel@redhat.com>
22781
22782 * scripts/bench.pl: Add include-sources directive.
22783 * benchtests/README: Update documentation.
22784
2ae21ed2
JM
227852013-10-10 Joseph Myers <joseph@codesourcery.com>
22786
dcc2dd3f
JM
22787 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22788 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22789 instead of FP_INIT_ROUNDMODE.
22790 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22791 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22792
2ae21ed2
JM
22793 [BZ #16034]
22794 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22795 copy class of input value.
22796 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22797 not handle exceptions.
22798 * soft-fp/negsf2.c (__negsf2): Likewise.
22799 * soft-fp/negtf2.c (__negtf2): Likewise.
22800 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22801
cb8f9562
JM
228022013-10-09 Joseph Myers <joseph@codesourcery.com>
22803
22804 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22805 semicolon. From Linux kernel.
22806
5b60c59d
AB
228072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22808
22809 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22810
b86835ca
YC
228112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22812
22813 [BZ #156]
22814 * manual/socket.texi: Added statement about buffer
22815 for gethostbyname2_r.
22816
e7044ea7
OB
228172013-10-08 Ondřej Bílka <neleai@seznam.cz>
22818
22819 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22820 Use .p2align directive instead, throughout.
22821 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22822 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22823 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22826 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22827 * sysdeps/x86_64/strchr.S: Likewise.
22828 * sysdeps/x86_64/strrchr.S: Likewise.
22829
09544cbc
SP
228302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22831
88576635
SP
22832 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22833
e7b2d1dd
SP
22834 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22835
09544cbc
SP
22836 * sysdeps/generic/math_private.h (__mpsin1): Remove
22837 declaration.
22838 (__mpcos1): Likewise.
22839 (__mpsin): New argument __range_reduce.
22840 (__mpcos): Likewise.
22841 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22842 (slow): Use __mpsin and __mpcos.
22843 (slow1): Likewise.
22844 (slow2): Likewise.
22845 (sloww): Likewise.
22846 (sloww1): Likewise.
22847 (sloww2): Likewise.
22848 (bsloww): Likewise.
22849 (bsloww1): Likewise.
22850 (bsloww2): Likewise.
22851 (cslow2): Likewise.
22852 (csloww): Likewise.
22853 (csloww1): Likewise.
22854 (csloww2): Likewise.
22855 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22856 range_reduce. Merge in __mpsin1.
22857 (__mpcos): Likewise.
22858 (__mpsin1): Remove.
22859 (__mpcos1): Likewise.
22860
7602d070
JM
228612013-10-07 Joseph Myers <joseph@codesourcery.com>
22862
22863 * locale/loadlocale.c (_nl_intern_locale_data): Use
22864 LOCFILE_ALIGNED_P.
22865 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22866 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22867 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22868 obstack data is appropriately aligned.
22869 (obstack_int32_grow_fast): Likewise.
22870 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22871 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22872 (add_locale_uint32_array): Likewise.
22873
a357259b
SP
228742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22875
22876 * benchtests/Makefile: Remove ARGLIST and RET variables.
22877 ($(objpfx)bench-%.c): Pass only function name to the script.
22878 * benchtests/README: Update documentation.
22879 * benchtests/acos-inputs: Add new directives.
22880 * benchtests/acosh-inputs: Likewise.
22881 * benchtests/asin-inputs: Likewise.
22882 * benchtests/asinh-inputs: Likewise.
22883 * benchtests/atan-inputs: Likewise.
22884 * benchtests/atanh-inputs: Likewise.
22885 * benchtests/cos-inputs: Likewise.
22886 * benchtests/cosh-inputs: Likewise.
22887 * benchtests/exp-inputs: Likewise.
22888 * benchtests/log-inputs: Likewise.
22889 * benchtests/pow-inputs: Likewise.
22890 * benchtests/rint-inputs: Likewise.
22891 * benchtests/sin-inputs: Likewise.
22892 * benchtests/sinh-inputs: Likewise.
22893 * benchtests/tan-inputs: Likewise.
22894 * benchtests/tanh-inputs: Likewise.
22895 * scripts/bench.pl: Add support for new directives.
22896
9ec1b13d
AM
228972013-10-07 Alan Modra <amodra@gmail.com>
22898
22899 * README: Fix careless merge.
22900
8b7d57cd
AM
229012013-10-05 Alan Modra <amodra@gmail.com>
22902
22903 * NEWS: Mention powerpc64le support and bugs fixed.
22904 * README: Both big-endian and little-endian powerpc64 supported.
22905
7b7bab13
ST
229062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22907
57f41c40
AS
22908 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22909 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22910 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22911 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22912
d39baad1
RA
229132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22914
22915 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22916 match prototype.
22917
cd78f7e7
JM
229182013-10-04 Joseph Myers <joseph@codesourcery.com>
22919
29d73d86
JM
22920 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22921 Move -mhard-float appending from
22922 ports/sysdeps/powerpc/powerpc32/Makefile.
22923 [$(with-fp) = yes] (ASFLAGS): Likewise.
22924 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22925 * sysdeps/powerpc/nofpu: Move directory from
22926 ports/sysdeps/powerpc/nofpu.
22927 * sysdeps/powerpc/soft-fp: Move directory from
22928 ports/sysdeps/powerpc/soft-fp.
22929 * sysdeps/powerpc/powerpc32/405: Move directory from
22930 ports/sysdeps/powerpc/powerpc32/405.
22931 * sysdeps/powerpc/powerpc32/440: Move directory from
22932 ports/sysdeps/powerpc/powerpc32/440.
22933 * sysdeps/powerpc/powerpc32/464: Move directory from
22934 ports/sysdeps/powerpc/powerpc32/464.
22935 * sysdeps/powerpc/powerpc32/476: Move directory from
22936 ports/sysdeps/powerpc/powerpc32/476.
22937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22938 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22940 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22942 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22944 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22946 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22947 * README: Update for powerpc-*-linux-gnu software floating point
22948 support in libc.
22949
e246b347
JM
22950 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22951 case to powerpc/powerpc32*.
22952 * sysdeps/unix/sysv/linux/configure: Regenerated.
22953
89c2003e
JM
22954 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22955 (_FPU_MASK_OM): Define as 0x04.
22956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22958 0x00c10080.
22959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22960 0x0000003c.
22961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22962
cd78f7e7
JM
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22964 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22965 getcontext_e500.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22967 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22968 setcontext_e500.
22969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22970 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22971 and setcontext_e500.
22972
c755294d
CL
229732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22974
22975 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22976
e16d221c
SP
229772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22978
22979 * manual/threads.texi (Default Thread Attributes): Fix typo.
22980
215c7d43
WN
229812013-10-04 Will Newton <will.newton@linaro.org>
22982
22983 * malloc/Makefile: Add tst-memalign.
22984 * malloc/tst-memalign.c: New file.
22985
27d0461b
WN
22986 * malloc/tst-posix_memalign.c: Add comments.
22987 (do_test): Add comments and call free on all potentially
22988 allocated pointers. Add space after cast.
22989
1bc92709
WN
22990 * malloc/tst-pvalloc.c: Add comments.
22991 (do_test): Add comments and call free on all potentially
22992 allocated pointers. Remove duplicate check for NULL pointer.
22993 Add space after cast.
22994
66a9be9d
WN
22995 * malloc/tst-valloc.c: Add comments.
22996 (do_test): Add comments and call free on all potentially
22997 allocated pointers. Remove duplicate check for NULL pointer.
22998 Add space after cast.
22999
4cb81307
AM
230002013-10-04 Alan Modra <amodra@gmail.com>
23001
23002 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23003 Use stdint types in rather than __attribute__((mode())).
23004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23005
f8e3e9f3
AM
230062013-10-04 Alan Modra <amodra@gmail.com>
23007
23008 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23009 Correct handling of unaligned relocs for little-endian.
23010 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23011
8f9ebb08
AM
230122013-10-04 Alan Modra <amodra@gmail.com>
23013
23014 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23015 * configure: Regenerate.
23016 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23017 * shlib-versions: Likewise.
23018
0edf96c2
AM
230192013-10-04 Alan Modra <amodra@gmail.com>
23020
23021 * string/tester.c (test_memrchr): Increment reported test cycle.
23022
e0f7a380
AM
230232013-10-04 Alan Modra <amodra@gmail.com>
23024
23025 * string/test-memcpy.c (do_one_test): When reporting errors, print
23026 string address and don't overrun end of string.
23027
466b0393
AM
230282013-10-04 Alan Modra <amodra@gmail.com>
23029
23030 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23031 insrdi. Make better use of reg selection to speed exit slightly.
23032 Schedule entry path a little better. Remove useless "are we done"
23033 checks on entry to main loop. Handle wrapping around zero address.
23034 Correct main loop count. Handle single left-over word from main
23035 loop inline rather than by using loop_small. Remove extra word
23036 case in loop_small caused by wrong loop count. Add little-endian
23037 support.
23038 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23040 cache hint.
23041 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23042 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23043 support. Avoid rlwimi.
23044 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23045
3be87c77
AM
230462013-10-04 Alan Modra <amodra@gmail.com>
23047
23048 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23049 insrdi. Formatting.
3be87c77
AM
23050 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23051 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23052 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23053 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23054 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23055 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23056
759cfef3
AM
230572013-10-04 Alan Modra <amodra@gmail.com>
23058
23059 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23060 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23061 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23062 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23063 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23064 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23066 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23068 use of regs. Use power7 mtocrf. Tidy function tails.
23069
fe6e95d7
AM
230702013-10-04 Alan Modra <amodra@gmail.com>
23071
23072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23073 Formatting. Consistently use rXXX register defines or rN defines.
23074 Use early exit labels that avoid restoring unused non-volatile regs.
23075 Make cr field use more consistent with rWORDn compares. Rename
23076 regs used as shift registers for unaligned loop, using rN defines
23077 for short lifetime/multiple use regs.
23078 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23080 addi 1,1,64 to pop stack frame. Simplify return value code.
23081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23082
664318c3
AM
230832013-10-04 Alan Modra <amodra@gmail.com>
23084
23085 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23086 support. Correct typos, formatting. Optimize tail. Use insrdi
23087 rather than rlwimi.
23088 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23089 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23090 little-endian support. Correct typos.
23091 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23092 rather than rlwimi.
23093 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23094 in loop and entry code to keep "and." results.
23095 (strchr): Add little-endian support. Comment. Move cntlzd
23096 earlier in tail.
23097 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23098
43b84013
AM
230992013-10-04 Alan Modra <amodra@gmail.com>
23100
23101 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23102 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23103 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23104 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23105
8a7413f9
AM
231062013-10-04 Alan Modra <amodra@gmail.com>
23107
23108 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23109 (rTMP): Define as r11.
23110 (strcmp): Add little-endian support. Optimise tail.
23111 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23112 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23113 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23114 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23115 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23116 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23118
33ee81de
AM
231192013-10-04 Alan Modra <amodra@gmail.com>
23120
23121 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23122 little-endian support. Remove unnecessary "are we done" tests.
23123 Handle "s" wrapping around zero and extremely large "size".
23124 Correct main loop count. Handle single left-over word from main
23125 loop inline rather than by using small_loop. Correct comments.
23126 Delete "zero" tail, use "end_max" instead.
23127 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23128
db9b4570
AM
231292013-10-04 Alan Modra <amodra@gmail.com>
23130
23131 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23132 support. Don't branch over align.
23133 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23134 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23135 support. Rearrange tmp reg use to suit. Comment.
23136 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23137
f7c399cf
AM
231382013-10-04 Alan Modra <amodra@gmail.com>
23139
23140 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23141
0b2c2ace
AM
231422013-10-04 Alan Modra <amodra@gmail.com>
23143
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23145 conditional form of branch and link when obtaining pc.
23146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23147
02f04a6c
AM
231482013-10-04 Alan Modra <amodra@gmail.com>
23149
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23151 HIWORD/LOWORD.
23152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23154
9b874b2f
AM
231552013-10-04 Alan Modra <amodra@gmail.com>
23156
23157 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23158 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23159 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23160 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23161 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23162 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23163 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23164 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23165 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23166 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23167
be1e5d31
AB
231682013-10-04 Anton Blanchard <anton@au1.ibm.com>
23169 Alistair Popple <alistair@ozlabs.au.ibm.com>
23170 Alan Modra <amodra@gmail.com>
23171
23172 [BZ #15723]
23173 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23175 _dl_hwcap access for little-endian.
23176 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23177 destroy vmx regs when saving unaligned.
23178 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23179 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23180 destroy vmx regs when saving unaligned.
23181
fef13a78
AM
231822013-10-04 Alan Modra <amodra@gmail.com>
23183
23184 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23185 Don't use a union to pack hi/low value.
23186
76a66d51
AB
231872013-10-04 Anton Blanchard <anton@au1.ibm.com>
23188
23189 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23190 for little-endian.
23191 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23192 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23193 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23194 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23195 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23196
6a31fe7f
AM
231972013-10-04 Alan Modra <amodra@gmail.com>
23198
23199 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23200 constants to usual value for .cst8 section, and remove redundant
23201 high address load.
23202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23203 constant for 0x1p52. Load little-endian words of double from
23204 correct stack offsets.
23205
7b88401f
AM
232062013-10-04 Alan Modra <amodra@gmail.com>
23207
23208 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23209 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23210 words of double from correct stack offsets.
23211 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23212 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23213 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23214 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23215 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23216 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23217 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23218 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23219 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23220 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23221 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23222 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23223 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23224 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23225 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23226 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23227 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23228
9c008155
AM
232292013-10-04 Alan Modra <amodra@gmail.com>
23230
23231 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23232 64-bit int/double union.
23233 (_FPU_SETCW): Likewise.
23234 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23235 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23236
da13146d
AM
232372013-10-04 Alan Modra <amodra@gmail.com>
23238
23239 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23240 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23241
603e8410
AM
232422013-10-04 Alan Modra <amodra@gmail.com>
23243
23244 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23245 use vector int constants.
23246 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23247
4a28b3ca
AB
232482013-10-04 Anton Blanchard <anton@au1.ibm.com>
23249
23250 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23251 array with long long.
23252 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23253 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23254 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23255 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23256 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23257 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23258 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23259 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23260 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23261 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23262 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23263 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23264 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23265
2ca85d2b
AB
232662013-10-04 Anton Blanchard <anton@au1.ibm.com>
23267
23268 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23269 (__signbit): Likewise. Correct for little-endian.
23270 (__signbitl): Call __signbit.
23271 (lrint): Correct for little-endian.
23272 (lrintf): Call lrint.
23273
62a728ae
AM
232742013-10-04 Alan Modra <amodra@gmail.com>
23275
23276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23277 union 32-bit int array member with 64-bit int array.
23278 (t515, tm256): Double rather than long double.
23279 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23280
32c301df
AM
232812013-10-04 Alan Modra <amodra@gmail.com>
23282
23283 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23284 Delete.
23285 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23287 version of math_ldbl.h.
23288
650ef4bd
AM
232892013-10-04 Alan Modra <amodra@gmail.com>
23290
23291 [BZ #15734], [BZ #15735]
23292 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23293 all uses of ieee875 long double macros and unions. Simplify test
23294 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23295 ldbl_extract_mantissa value for ix,iy exponents. Properly
23296 normalize after ldbl_extract_mantissa, and don't add hidden bit
23297 already handled. Don't treat low word of ieee854 mantissa like
23298 low word of IBM long double and mask off bit when testing for
23299 zero.
23300 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23301 all uses of ieee875 long double macros and unions. Simplify tests
23302 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23303 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23304 two1022, instead use their values. Recognise that tests for large
23305 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23306 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23307 Rewrite all uses of ieee875 long double macros and unions. Simplify
23308 test for 0.0L and nan. Correct negation.
23309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23310 ieee875 long double macros and unions. Correct output for large
23311 magnitude x. Correct absolute value calculation.
23312 (__erfcl): Likewise.
23313 * math/libm-test.inc: Add tests for errors discovered in IBM long
23314 double versions of fmodl, remainderl, erfl and erfcl.
23315
765714ca
AM
233162013-10-04 Alan Modra <amodra@gmail.com>
23317
23318 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23319 all uses of ieee854 long double macros and unions. Simplify tests
23320 for long doubles that are fully specified by the high double.
23321 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23322 Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23324 Remove dead code too.
23325 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23326 (__ieee754_ynl): Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23330 Remove dead code too.
23331 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23334 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23335 Simplify.
23336 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23337 Simplify.
23338 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23341 Comment on variable precision.
23342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23343 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23344 Likewise.
23345 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23346 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23347 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23348 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23349 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23350
4ebd120c
AM
233512013-10-04 Alan Modra <amodra@gmail.com>
23352
23353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23354 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23355 all uses of ieee854 long double macros and unions.
23356 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23357 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23359 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23360 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23361 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23362 Likewise.
23363 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23365 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23366 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23369 Simplify sign and nan test too.
23370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23371 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23372 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23373 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23374 Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23377 Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23384
1b6adf88
AM
233852013-10-04 Alan Modra <amodra@gmail.com>
23386
23387 * stdio-common/printf_size.c (__printf_size): Don't use
23388 union ieee854_long_double in fpnum union.
23389 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23390 signbit macro to retrieve sign from long double.
23391 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23392 retrieve sign from long double.
23393 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23394 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23395 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23396 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23397 * math/test-misc.c (main): Don't use union ieee854_long_double.
23398
4cf69995
AM
233992013-10-04 Alan Modra <amodra@gmail.com>
23400
23401 [BZ #15680]
23402 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23404 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23405 calculation. Remove unnecessary test for denormal exponent.
23406 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23407 Correct handling of denormals. Avoid undefined shift behaviour.
23408 Correct normalisation of low mantissa when low double is denormal.
23409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23410 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23411 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23412 Correct normalisation of low mantissa. Test for overflow of high
23413 mantissa and normalise.
23414 (ldbl_nearbyint): Use more readable constant for two52.
23415 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23416 (__mpn_construct_long_double): Fix test for overflow of high
23417 mantissa and correct normalisation. Avoid undefined shift.
23418
9605ca6c
AM
234192013-10-04 Alan Modra <amodra@gmail.com>
23420
23421 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23422 (union ibm_extended_long_double): Define as an array of ieee754_double.
23423 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23424 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23425 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23426 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23434
975569d0
JM
234352013-10-03 Joseph Myers <joseph@codesourcery.com>
23436
d3d23756
JM
23437 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23438 page size instead of calling getpagesize.
23439
975569d0
JM
23440 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23441 (LOCFILE_ALIGN_MASK): Likewise.
23442 (LOCFILE_ALIGN_UP): Likewise.
23443 (LOCFILE_ALIGNED_P): Likewise.
23444 * locale/programs/ld-collate.c (collate_output): Use the new
23445 macros instead of __alignof__ (int32_t).
23446 * locale/weight.h (findidx): Likewise.
23447
b1fe1f2b
OB
234482013-10-03 Ondřej Bílka <neleai@seznam.cz>
23449
23450 [BZ #431]
23451 * manual/string.texi: Fix strncat and wcsncat.
23452
5f855e35
BM
234532013-10-03 Brooks Moses <bmoses@google.com>
23454
23455 [BZ #15915]
23456 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23457 * Makerules: ...here, and adjust associated comments.
23458
3cef6009
WN
234592013-10-02 Will Newton <will.newton@linaro.org>
23460
23461 * malloc/Makefile: Add tst-pvalloc.
23462 * malloc/tst-pvalloc.c: New file.
23463
7815420b
WN
234642013-10-02 Will Newton <will.newton@linaro.org>
23465
23466 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23467 improve test coverage.
23468
4868b204
WN
234692013-10-02 Will Newton <will.newton@linaro.org>
23470
23471 * malloc/Makefile: Add tst-posix_memalign.
23472 * malloc/tst-posix_memalign.c: New file.
23473
29c793b3
EB
234742013-10-01 Eric Blake <eblake@redhat.com>
23475
23476 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23477 Use __THROWNL rather than __THROW on static functions.
23478
fd967522
PM
234792013-09-30 Petr Machata <pmachata@redhat.com>
23480
23481 * elf/elf.h (R_AARCH64_ABS16): New macro.
23482 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23483 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23484 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23485 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23486 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23487 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23488 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23489 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23490 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23491 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23492 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23493 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23494 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23495 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23496 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23497 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23498 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23499 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23500 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23501 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23502 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23503 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23504 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23505 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23506 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23507 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23508 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23509 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23510 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23511 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23512 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23513 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23514 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23515 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23516 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23517 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23518 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23519 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23520 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23521 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23522 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23523 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23524 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23525 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23526 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23527 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23528 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23529 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23530 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23531 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23532 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23533 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23534 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23535 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23536 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23537 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23538 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23539 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23540 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23541 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23542 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23543 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23544 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23545 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23546 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23547 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23548 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23549 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23550 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23551 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23552 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23553 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23554 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23555 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23556 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23557 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23558 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23559 (R_AARCH64_TLSDESC_LDR): Likewise.
23560 (R_AARCH64_TLSDESC_ADD): Likewise.
23561 (R_AARCH64_TLSDESC_CALL): Likewise.
23562
b2179107
AS
235632013-09-30 Andreas Schwab <schwab@suse.de>
23564
23565 [BZ #15048]
23566 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23567 the nss database lookup.
23568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23570
47f28d0a
MF
235712013-09-28 Mike Frysinger <vapier@gentoo.org>
23572
23573 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23574
235752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23576
23577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23578 ${Bash-specific parameter/pattern/string} parameter expansion.
23579 * sysdeps/unix/make-syscalls.sh: Likewise.
23580
f4518a17
KK
235812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23582
23583 * sysdeps/sh/stackguard-macros.h: New file.
23584
dc1a95c7
OB
235852013-09-26 Ondřej Bílka <neleai@seznam.cz>
23586
23587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23589 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23590 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23592 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23593
5ebbff8f
AZ
235942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23595
23596 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23597 Fix thread ID register.
23598
4fd2cf9f
JM
235992013-09-25 Joseph Myers <joseph@codesourcery.com>
23600
23601 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23602 [POSIX || UNIX98]: Require rather than permitting all symbols from
23603 <time.h>.
23604 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23605 element of struct sched_param.
23606 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23607 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23608 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23609 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23610 constant.
23611
12c22bc4
OL
236122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23613
23614 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23615 argument calculation.
23616
a03d8ea7
JM
236172013-09-24 Joseph Myers <joseph@codesourcery.com>
23618
23619 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23620 Expect macro.
23621 [POSIX] (pthread_attr_t): Do not require type.
23622 [POSIX] (pthread_cond_t): Likewise.
23623 [POSIX] (pthread_condattr_t): Likewise.
23624 [POSIX] (pthread_key_t): Likewise.
23625 [POSIX] (pthread_mutex_t): Likewise.
23626 [POSIX] (pthread_mutexattr_t): Likewise.
23627 [POSIX] (pthread_once_t): Likewise.
23628 [POSIX] (pthread_t): Likewise.
23629 [POSIX-based standards] (pthread_atfork): Expect function.
23630
6055173a
JM
236312013-09-24 Joseph Myers <joseph@codesourcery.com>
23632 Richard Sandiford <richard@codesourcery.com>
23633
23634 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23635 (swap_endianness_p): New extern variable.
23636 (set_big_endian): New inline function.
23637 (maybe_swap_uint32): Likewise.
23638 (maybe_swap_uint32_array): Likewise.
23639 (maybe_swap_uint32_obstack): Likewise.
23640 * locale/programs/locfile.c: Include <stdbool.h>.
23641 (swap_endianness_p): New variable.
23642 (add_locale_uint32): Call maybe_swap_uint32.
23643 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23644 (write_locale_data): Call maybe_swap_uint32_array.
23645 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23646 maybe_swap_uint32.
23647 (obstack_int32_grow_fast): Likewise.
23648 (output_weightwc): Call maybe_swap_uint32_obstack.
23649 (collate_output): Likewise.
23650 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23651 (OPT_LITTLE_ENDIAN): Likewise.
23652 (options): Add --little-endian and --big-endian options.
23653 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23654 * locale/programs/locarchive.c: Include "locfile.h".
23655 (GET): New macro.
23656 (SET): Likewise.
23657 (INC): Likewise.
23658 (create_archive): Use the new macros to access fields of
23659 structures directly mapped from or written to locale archives.
23660 (oldlocrecentcmp): Likewise.
23661 (enlarge_archive): Likewise.
23662 (insert_name): Likewise.
23663 (add_alias): Likewise.
23664 (add_locale): Likewise.
23665 (delete_locales_from_archive): Likewise.
23666 (show_archive_content): Likewise.
23667 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23668 locale data.
23669
39bf0bb4
RM
236702013-09-24 Roland McGrath <roland@hack.frob.com>
23671
23672 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23673 http://www.gnu.org/doc/freemanuals.texi.
23674 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23675
f02eed10
WN
236762013-09-24 Will Newton <will.newton@linaro.org>
23677
23678 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23679 macro.
23680
a3a6c312
JM
236812013-09-23 Joseph Myers <joseph@codesourcery.com>
23682
23683 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23684 unsigned char.
23685
107375ac
MR
236862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23687
23688 * manual/threads.texi (POSIX Threads): Fix a typo.
23689
141f3a77
SP
236902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23691
303e567a
SP
23692 [BZ #14547]
23693 * string/tst-strcoll-overflow.c: New test case.
23694 * string/Makefile (xtests): Add tst-strcoll-overflow.
23695 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23696 cache if string sizes may cause integer overflow.
23697
141f3a77
SP
23698 [BZ #14547]
23699 * string/strcoll_l.c (coll_seq): New members rule, idx,
23700 save_idx and back_us.
23701 (get_next_seq_nocache): New function.
23702 (do_compare_nocache): New function.
23703 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23704 when malloc fails.
23705
c61b4d41
CD
237062013-09-23 Carlos O'Donell <carlos@redhat.com>
23707
0b1f8e35
CD
23708 [BZ #15754]
23709 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23710 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23711 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23712
c61b4d41
CD
23713 [BZ #15754]
23714 * elf/Makefile (tests): Add tst-ptrguard1.
23715 (tests-static): Add tst-ptrguard1-static.
23716 (tst-ptrguard1-ARGS): Define.
23717 (tst-ptrguard1-static-ARGS): Define.
23718 * elf/tst-ptrguard1.c: New file.
23719 * elf/tst-ptrguard1-static.c: New file.
23720 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23721 * sysdeps/i386/stackguard-macros.h: Likewise.
23722 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23723 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23724 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23725 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23726 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23727 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23728
237292013-09-23 Hector Marco <hecmargi@upv.es>
23730 Ismael Ripoll <iripoll@disca.upv.es>
23731 Carlos O'Donell <carlos@redhat.com>
23732
23733 [BZ #15754]
23734 * sysdeps/generic/stackguard-macros.h: Define
23735 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23736 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23737 Define __pointer_chk_guard_local.
23738 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23739 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23740
f5f4e7b4
VV
237412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23742
23743 [BZ #15859]
23744 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23745
5bb43a43
AS
237462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23747
23748 * include/string.h (__ffs): Declare as hidden.
23749 * string/ffs.c (__ffs): Define as hidden.
23750 * sysdeps/i386/ffs.c (__ffs): Likewise.
23751 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23752 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23753 * sysdeps/s390/ffs.c (__ffs): Likewise.
23754 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23755
3ea5be54
AO
237562013-09-20 Alexandre Oliva <aoliva@redhat.com>
23757
ffb89e53
AO
23758 * NEWS: Mention malloc probes.
23759
322dea08
AO
23760 * malloc/arena.c (new_heap): New memory_heap_new probe.
23761 (grow_heap): New memory_heap_more probe.
23762 (shrink_heap): New memory_heap_less probe.
23763 (heap_trim): New memory_heap_free probe.
23764 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23765 (systrim): New memory_sbrk_less probe.
23766 * manual/probes.texi: Document them.
23767
655673f3
AO
23768 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23769 * manual/probes.texi: Document it.
23770
35fed6f1
AO
23771 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23772 (__libc_realloc): Add memory_realloc_retry probe.
23773 (__libc_memalign): Add memory_memalign_retry probe.
23774 (__libc_valloc): Add memory_valloc_retry probe.
23775 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23776 (__libc_calloc): Add memory_calloc_retry probe.
23777 * manual/probes.texi: Document them.
23778
6999d38c
AO
23779 * malloc/arena.c (get_free_list): Add probe
23780 memory_arena_reuse_free_list.
23781 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23782 and memory_arena_reuse.
23783 (arena_get2) [!PER_THREAD]: Likewise.
23784 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23785 memory_arena_reuse_realloc.
23786 * manual/probes.texi: Document them.
23787
0653427f
AO
23788 * malloc/malloc.c (__libc_free): Add
23789 memory_mallopt_free_dyn_thresholds probe.
23790 (__libc_mallopt): Add multiple memory_mallopt probes.
23791 * manual/probes.texi: Document them.
23792
3ea5be54
AO
23793 * malloc/malloc.c: Include stap-probe.h.
23794 (__libc_mallopt): Add memory_mallopt probe.
23795 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23796 * manual/probes.texi: New.
23797 * manual/Makefile (chapters): Add probes.
23798 * manual/threads.texi: Set next node.
23799
e35696c3 238002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23801
e35696c3
CL
23802 [BZ #15963, #13985]
23803 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23804 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23805 Add `Chinese' to `nan' entry name.
23806
4aafb73c
SP
238072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23808
23809 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23810 (POLYNOMIAL): Likewise.
23811 (TAYLOR_SINCOS): Likewise.
23812 (TAYLOR_SLOW): Likewise.
23813 (__sin): Use TAYLOR_SINCOS.
23814 (__cos): Likewise.
23815 (slow): Use TAYLOR_SLOW.
23816 (sloww): Likewise.
23817 (bsloww): Likewise.
23818 (csloww): Likewise.
23819
d84f25c7
LD
238202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23821
23822 * stdlib/strtod_l.c: Fix buffer overrun.
23823
5eea0404
SP
238242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23825
7849ff93
SP
23826 * benchtests/Makefile (bench): Add sincos.
23827 * benchtests/bench-sincos.c: New file.
23828
cfa3c886
SP
23829 * math/libm-test.inc (cos_test_data): New test inputs.
23830 (sin_test_data): Likewise.
23831
b348e1e3
SP
23832 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23833 macro.
23834 (__sin): Use it.
23835 (__cos): Likewise.
23836 (slow1): Likewise.
23837 (slow2): Likewise.
23838 (sloww1): Likewise.
23839 (sloww2): Likewise.
23840 (bsloww1): Likewise.
23841 (bsloww2): Likewise.
23842 (cslow2): Likewise.
23843 (csloww1): Likewise.
23844 (csloww2): Likewise.
23845
6cce25f8
SP
23846 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23847 function.
23848 (__sin): Use it.
23849 (__cos): Likewise.
23850
5eea0404
SP
23851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23852 gotos.
23853 (__cos): Likewise.
23854
9c21573c
MR
238552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23856
23857 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23858 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23859 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23860 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23861 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23862 * elf/cache.c (print_entry): Handle the new cache flags.
23863
24d22e65
JM
238642013-09-18 Joseph Myers <joseph@codesourcery.com>
23865 Aldy Hernandez <aldyh@redhat.com>
23866
23867 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23868 Change condition to [_SOFT_FLOAT].
23869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23875 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23881 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23884 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23885 declaration.
23886
d13ef066
JM
238872013-09-18 Joseph Myers <joseph@codesourcery.com>
23888
2e071de0
JM
23889 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23890 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23891 (__longjmp): Use LOAD_GP to load saved GPRs.
23892 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23893 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23894 (__sigsetjmp): Use SAVE_GP to save GPRs.
23895
d13ef066
JM
23896 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23897 Do not append -msoft-float.
23898 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23899
97a0650b
SP
239002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23901
23902 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23903
11ca09e9
JM
239042013-09-17 Joseph Myers <joseph@codesourcery.com>
23905
23906 [BZ #15966]
23907 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23908 (_FPU_GETCW): Use initial "__" on variable and field names but not
23909 on macro parameter name.
23910 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23911 parentheses around reference to macro parameter.
23912
08ffcf34
RS
239132013-09-13 Richard Sandiford <richard@codesourcery.com>
23914
23915 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23916 prototype.
23917 (ctype_startup): Use uint32_t in cast and sizeof for
23918 ctype->charnames.
23919
ae7080d3
JL
239202013-09-11 Jia Liu <proljc@gmail.com>
23921
23922 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23923 __daddr_t_defined.
23924 [__FreeBSD__]: Likewise.
23925
5905e7b3
OB
239262013-09-11 Ondřej Bílka <neleai@seznam.cz>
23927
23928 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23929 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23930 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23931 (strchr): Remove __strchr_sse42 ifunc selection.
23932 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23933 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23934
b987c776
WN
239352013-09-11 Will Newton <will.newton@linaro.org>
23936
23937 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23938 parameter to RES. Remove hardcoded 1000 value.
23939 * benchtests/bench-skeleton.c (main): Pass RES parameter
23940 to TIMING_INIT and multiply result by 1000.
23941
ddf985af
AZ
239422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23943
23944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23945
ffdd3181
AS
239462013-09-11 Andreas Schwab <schwab@suse.de>
23947
23948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23949 if not defined.
23950 (O_TMPFILE) [__USE_GNU]: Define.
23951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23952 Define.
23953
b73ed247
WN
239542013-09-11 Will Newton <will.newton@linaro.org>
23955
23956 [BZ #15857]
23957 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23958 does not overflow.
23959
55e17aad
WN
239602013-09-11 Will Newton <will.newton@linaro.org>
23961
23962 [BZ #15856]
23963 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23964 does not overflow.
23965
1159a193
WN
239662013-09-11 Will Newton <will.newton@linaro.org>
23967
23968 [BZ #15855]
23969 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23970 does not overflow.
23971
5905e7b3 239722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23973
23974 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23975 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23979
cdfc721b
AM
239802013-09-10 Allan McRae <allan@archlinux.org>
23981
aa04af00
AM
23982 [BZ #15748]
23983 * manual/arith.texi (Parsing of Floats): Clarify
23984 cross-reference.
23985
cdfc721b
AM
23986 [BZ #15849]
23987 * manual/install.texi (Running make install): Mention
23988 --enable-pt-chown.
23989 * INSTALL: Regenerated.
23990
95e7cf29
MR
239912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23992
23993 * csu/init-first.c (_init): Remove the !SHARED condition around
23994 FPU control word initialization.
23995 * elf/dl-support.c (_dl_fpu_control): New variable.
23996 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23997 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23998 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23999 * math/test-fpucw-static.c: New file.
24000 * math/test-fpucw-ieee.c: New file.
24001 * math/test-fpucw-ieee-static.c: New file.
24002 * math/Makefile (tests): Add `test-fpucw-ieee' and
24003 `$(tests-static)'.
24004 (tests-static): New variable.
24005 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24006 dependency to...
24007 [($(build-shared),yes)]
24008 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24009 ... this.
24010 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24011 New dependency.
24012
83e43bf0
AM
240132013-09-09 Allan McRae <allan@archlinux.org>
24014
a9f5ce09
AM
24015 [BZ #15939]
24016 * manual/string.texi (Collation Functions): Fix typo in
24017 strcoll example.
24018 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24019
34829bc2
AM
24020 [BZ #15893]
24021 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24022
3932737d
AM
24023 [BZ #15892]
24024 * libio/memstream.c (open_memstream): Fix memory leak.
24025 * libio/wmemstream.c (open_wmemstream): Likewise.
24026
83e43bf0
AM
24027 [BZ #15895]
24028 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24029
0c66b8e9
WN
240302013-09-09 Will Newton <will.newton@linaro.org>
24031
24032 * malloc/Makefile: Add tst-realloc to tests.
24033 * malloc/tst-realloc.c: New file.
24034
f6b00fd1
AM
240352013-09-09 Allan McRae <allan@archlinux.org>
24036
24037 [BZ #15844]
24038 * COPYING: Update from GNU website to fix FSF address.
24039 * COPYING.LIB: Likewise.
24040
eec55e16
DM
240412013-09-06 David S. Miller <davem@davemloft.net>
24042
24043 * po/zh_TW.po: Update Chinese (traditional) translation from
24044 translation project.
24045
1ecbb381
RS
240462013-09-06 Richard Sandiford <richard@codesourcery.com>
24047 Joseph Myers <joseph@codesourcery.com>
24048
24049 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24050 "localeinfo.h".
24051 (obstack_chunk_alloc): New macro.
24052 (obstack_chunk_free): Likewise.
24053 (record_offset): New function.
24054 (init_locale_data): Likewise.
24055 (align_locale_data): Likewise.
24056 (add_locale_empty): Likewise.
24057 (add_locale_raw_data): Likewise.
24058 (add_locale_raw_obstack): Likewise.
24059 (add_locale_string): Likewise.
24060 (add_locale_wstring): Likewise.
24061 (add_locale_uint32): Likewise.
24062 (add_locale_uint32_array): Likewise.
24063 (add_locale_char): Likewise.
24064 (start_locale_structure): Likewise.
24065 (end_locale_structure): Likewise.
24066 (start_locale_prelude): Likewise.
24067 (end_locale_prelude): Likewise.
24068 (write_locale_data): Take locale_file structure rather than an
24069 iovec.
24070 * locale/programs/locfile.h: Include "obstack.h".
24071 (struct locale_file): Change to store locale file contents instead
24072 of header.
24073 (init_locale_data): New prototype.
24074 (align_locale_data): Likewise.
24075 (add_locale_empty): Likewise.
24076 (add_locale_raw_data): Likewise.
24077 (add_locale_raw_obstack): Likewise.
24078 (add_locale_string): Likewise.
24079 (add_locale_wstring): Likewise.
24080 (add_locale_uint32): Likewise.
24081 (add_locale_uint32_array): Likewise.
24082 (add_locale_char): Likewise.
24083 (start_locale_structure): Likewise.
24084 (end_locale_structure): Likewise.
24085 (start_locale_prelude): Likewise.
24086 (end_locale_prelude): Likewise.
24087 (write_locale_data): Update prototype.
24088 * locale/programs/3level.h (struct TABLE): Remove result field.
24089 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24090 Use new locale_file interface.
24091 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24092 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24093 * locale/programs/ld-address.c (address_output): Use new
24094 locale_file interface.
24095 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24096 NO_ADD_LOCALE.
24097 (collate_finish): Don't call collseq_table_finalize.
24098 (collate_output): Use new locale_file interface.
24099 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24100 in file.
24101 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24102 (TABLE): Move defines earlier in file.
24103 (ELEMENT): Likewise.
24104 (DEFAULT): Likewise.
24105 (wctrans_table_add): Move macro and inline function earlier in
24106 file.
24107 (struct wctype_table): Move type earlier in file.
24108 (add_locale_wctype_table): New static prototype.
24109 (struct locale_ctype_t): Use logical types instead of struct iovec
24110 pointers for members.
24111 (ctype_output): Use new locale_file interface.
24112 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24113 new locale_file interface.
24114 (allocate_arrays): Update for use of new locale_file interface.
24115 * locale/programs/ld-identification.c (identification_output): Use
24116 new locale_file interface.
24117 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24118 * locale/programs/ld-messages.c (messages_output): Likewise.
24119 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24120 * locale/programs/ld-name.c (name_output): Likewise.
24121 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24122 * locale/programs/ld-paper.c (paper_output): Likewise.
24123 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24124 * locale/programs/ld-time.c (time_output): Likewise.
24125
e029e2e5
AZ
241262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24127
24128 * benchtests/Makefile: Add memrchr benchmark.
24129 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24130 benchmark as memrchr.
24131 * benchtests/bench-memrchr-ifunc.c: New file.
24132 * benchtests/bench-memrchr.c: New file.
24133
bbf6e8e4
WN
241342013-09-06 Will Newton <will.newton@linaro.org>
24135
24136 * benchtests/Makefile (string-bench): Add memcpy.
24137
6c82a2f8
CD
241382013-09-05 Carlos O'Donell <carlos@redhat.com>
24139 Cong Wang <amwang@redhat.com>
24140
e732c5f0 24141 [BZ #15850]
6c82a2f8
CD
24142 * sysdeps/unix/sysv/linux/bits/in.h
24143 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24144 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24145 before __USE_KERNEL_IPV6_DEFS uses.
24146 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24147 IPPROTO_BEETPH.
24148 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24149 sockaddr_in6, or ipv6_mreq.
24150
5430fc65
AZ
241512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24152
24153 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24154 memory access for final bytes in some large inputs.
24155 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24156
4660856c
AZ
241572013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24158
24159 * string/test-memrchr.c: New file.
24160 * string/test-memrchr-ifunc.c: New file.
24161 * string/Makefile: Add new memrchr testcase.
24162
bb8ea713
MF
241632013-09-05 Mike Frysinger <vapier@gentoo.org>
24164
24165 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24166 fanotify_init returns EPERM.
24167
b92a20b5
JM
241682013-09-04 Joseph Myers <joseph@codesourcery.com>
24169
24170 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24171 errors.
24172 (top level): Treat second token from macro or constant entries for
24173 allowed headers as allowed.
24174 * include/complex.h: Condition internal declarations on
24175 [!_ISOMAC].
24176 * include/fenv.h: Condition include of <stdbool.h> and internal
24177 declarations on [!_ISOMAC].
7447ccd9
CL
24178
241792013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24180
3e181dda 24181 [BZ #15923]
7447ccd9
CL
24182 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24183
3f2e46a4
JM
241842013-09-04 Joseph Myers <joseph@codesourcery.com>
24185
24186 * configure.in (--enable-versioning): Remove configure option.
24187 (libc_cv_asm_symver_directive): Remove configure test.
24188 (libc_cv_ld_version_script_option): Likewise.
24189 (VERSIONING): Remove variable and AC_SUBST.
24190 (DO_VERSIONING): Remove AC_DEFINE.
24191 * configure: Regenerated.
24192 * config.h.in (DO_VERSIONING): Remove macro.
24193 * Makerules [$(versioning) = yes]: Change conditionals to
24194 [$(build-shared) = yes].
24195 * config.make.in (versioning): Remove variable.
24196 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24197 [$(build-shared) = yes].
24198 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24199 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24200 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24201 [$(build-shared) = yes].
24202 * extra-lib.mk [$(versioning) = yes]: Likewise.
24203 * hurd/Makefile [$(versioning) = yes]: Likewise.
24204 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24205 [SHARED].
24206 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24207 [SHARED].
24208 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24209 [SHARED && !NO_HIDDEN].
24210 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24211 [SHARED].
24212 [SHARED && DO_VERSIONING]: Likewise..
24213 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24214 [$(build-shared) = yes].
24215 * manual/install.texi (--disable-versioning): Remove
24216 documentation.
24217 * INSTALL: Regenerated.
24218 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24219 to [SHARED].
24220 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24221 [$(build-shared) = yes].
24222 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24223 * sysdeps/i386/i686/multiarch/strstr-c.c
24224 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24225 [SHARED && !NO_HIDDEN].
24226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24227 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24228 * sysdeps/powerpc/powerpc32/dl-machine.c
24229 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24230 * sysdeps/powerpc/powerpc32/sysdep.h
24231 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24232 to [SHARED && PIC && !NO_HIDDEN].
24233 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24234 conditional to [SHARED].
24235
44558701
WN
242362013-09-04 Will Newton <will.newton@linaro.org>
24237
24238 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24239 * benchtests/bench-string.h: Include bench-timing.h instead
24240 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24241 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24242 call to HP_TIMING_DIFF_INIT.
24243 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24244 instead of hp-timing.h macros.
24245 * benchtests/bench-memchr.c: Likewise.
24246 * benchtests/bench-memcmp.c: Likewise.
24247 * benchtests/bench-memcpy.c: Likewise.
24248 * benchtests/bench-memmem.c: Likewise.
24249 * benchtests/bench-memmove.c: Likewise.
24250 * benchtests/bench-memset.c: Likewise.
24251 * benchtests/bench-rawmemchr.c: Likewise.
24252 * benchtests/bench-strcasecmp.c: Likewise.
24253 * benchtests/bench-strcasestr.c: Likewise.
24254 * benchtests/bench-strcat.c: Likewise.
24255 * benchtests/bench-strchr.c: Likewise.
24256 * benchtests/bench-strcmp.c: Likewise.
24257 * benchtests/bench-strcpy.c: Likewise.
24258 * benchtests/bench-strcpy_chk.c: Likewise.
24259 * benchtests/bench-strlen.c: Likewise.
24260 * benchtests/bench-strncasecmp.c: Likewise.
24261 * benchtests/bench-strncat.c: Likewise.
24262 * benchtests/bench-strncmp.c: Likewise.
24263 * benchtests/bench-strncpy.c: Likewise.
24264 * benchtests/bench-strnlen.c: Likewise.
24265 * benchtests/bench-strpbrk.c: Likewise.
24266 * benchtests/bench-strrchr.c: Likewise.
24267 * benchtests/bench-strspn.c: Likewise.
24268 * benchtests/bench-strstr.c: Likewise.
24269
cae16d66
WN
242702013-09-04 Will Newton <will.newton@linaro.org>
24271
24272 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24273
ffa3cd7f
JM
242742013-09-03 Joseph Myers <joseph@codesourcery.com>
24275
24276 [BZ #15427]
24277 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24278 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24279 * math/libm-test.inc (lgamma_test_data): Add more tests.
24280 * sysdeps/i386/fpu/libm-test-ulps: Update.
24281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24282
8f02859f
OB
242832013-09-03 Ondřej Bílka <neleai@seznam.cz>
24284
24285 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24287 Add ifunc.
24288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24289 Add strcmp-sse2-unaligned
24290 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24291
18d43716
MF
242922013-09-02 Mike Frysinger <vapier@gentoo.org>
24293
24294 * Versions.def (libc): Add GLIBC_2.19.
24295
ac444012
MF
242962013-09-02 Mike Frysinger <vapier@gentoo.org>
24297
24298 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24299 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24300
b7835e32
JM
243012013-09-02 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #14155]
24304 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24305 intermediate calculations in recurrence.
24306 (__ieee754_ynf): Likewise.
24307 * math/libm-test.inc (jn_test_data): Do not allow spurious
24308 underflow exception. Add more tests.
24309 (yn_test_data): Add more tests.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24312
8220f4f0
OB
243132013-09-02 Ondřej Bílka <neleai@seznam.cz>
24314
24315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24316
f24a6d08
OB
243172013-08-30 Ondřej Bílka <neleai@seznam.cz>
24318
24319 * csu/init-first.c: Fix then/than typos.
24320 * locale/programs/ld-collate.c: Likewise.
24321 * locale/programs/linereader.h: Likewise.
24322 * manual/charset.texi: Likewise.
24323 * manual/filesys.texi: Likewise.
24324 * manual/stdio.texi: Likewise.
24325 * manual/string.texi: Likewise.
24326 * stdlib/fmtmsg.c: Likewise.
24327 * sysdeps/i386/stpncpy.S: Likewise.
24328 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24329 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24330 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24331 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24332
382466e0
OB
243332013-08-30 Ondřej Bílka <neleai@seznam.cz>
24334
24335 * elf/dl-open.c: Fix typos.
24336 * iconvdata/gbbig5.c: Likewise.
24337 * iconvdata/iso-2022-jp.c: Likewise.
24338 * iconv/gconv_int.h: Likewise.
24339 * iconv/loop.c: Likewise.
24340 * nis/rpcsvc/nis.h: Likewise.
24341 * resolv/ns_name.c: Likewise.
24342 * stdio-common/vfscanf.c: Likewise.
24343 * streams/stropts.h: Likewise.
24344 * sunrpc/rpc_thread.c: Likewise.
24345 * sysdeps/i386/strpbrk.S: Likewise.
24346 * sysdeps/ieee754/k_standard.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24349 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24350 * sysdeps/mach/hurd/profil.c: Likewise.
24351 * sysdeps/s390/dl-procinfo.h: Likewise.
24352 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24353 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24354 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24355 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24357
0186c6e9
OB
243582013-08-30 Ondřej Bílka <neleai@seznam.cz>
24359
24360 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24362
d4e16af1
OB
243632013-08-29 Ondřej Bílka <neleai@seznam.cz>
24364
24365 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24366 aix specific files.
24367 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24368 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24369 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24372 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24373 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24374 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24375
88335980
TS
243762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24377 Roland McGrath <roland@hack.frob.com>
24378
24379 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24380 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24381
ed479b02
ST
243822013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24383
24384 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24385 __executable_start symbol instead of _start.
24386
f1cc4c86
TS
243872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24388
d821f07c
TS
24389 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24390 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24391 Move macros to...
24392 * sysdeps/gnu/ldsodefs.h: ... this new file.
24393
c54290cf
TS
24394 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24395 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24396 instead of ELFOSABI_LINUX.
24397
0007fc9b 24398 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24399 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24400 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24401 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24402 Likewise.
24403 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24404 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24405 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24406 Likewise.
24407 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24408 (ibm_extended_long_double): Add ieee_nan member.
24409 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24410 (do_test): New function.
24411
f1cc4c86
TS
24412 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24413 TEST_TRUNC.
24414 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24415 functions, renamed from truncdfsf_test, trunctfsf_test,
24416 trunctfdf_test.
24417 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24418 functions.
24419 (do_test): Run all these.
24420
6f65e668
OB
244212013-08-29 Ondřej Bílka <neleai@seznam.cz>
24422
24423 * argp/argp-help.c: Fix typos.
24424 * argp/argp-parse.c: Likewise.
24425 * debug/backtracesyms.c: Likewise.
24426 * elf/elf.h: Likewise.
24427 * malloc/malloc.c: Likewise.
24428 * nis/nis_print.c: Likewise.
24429 * resolv/res_comp.c: Likewise.
24430 * stdlib/stdlib.h: Likewise.
24431 * sunrpc/clnt_tcp.c: Likewise.
24432 * sunrpc/clnt_udp.c: Likewise.
24433 * sunrpc/clnt_unix.c: Likewise.
24434 * sysdeps/unix/bsd/ptsname.c: Likewise.
24435 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24436 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24438 Likewise.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24440 Likewise.
24441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24442 Likewise.
6f65e668
OB
24443 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24444
3a309239
SP
244452013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24446
24447 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24449
3b813b29
MF
244502013-08-27 Mike Frysinger <vapier@gentoo.org>
24451
24452 [BZ #15897]
24453 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24454 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24455 ($(objpfx)bug-dl-leaf): New rule.
24456 ($(objpfx)bug-dl-leaf.so): Likewise.
24457 ($(objpfx)bug-dl-leaf.out): Likewise.
24458 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24459 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24460 * dlfcn/bug-dl-leaf.c: New test.
24461 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24462 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24463 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24464 (dlclose): Likewise.
24465 (dlmopen): Likewise.
24466
8cc3269f
RM
244672013-08-27 Roland McGrath <roland@hack.frob.com>
24468
7f9d0034
RM
24469 * include/netdb.h [!_ISOMAC]:
24470 Don't include <tls.h>.
24471 (h_errno, __libc_h_errno): Move declaration and macros out of
24472 [_LIBC_REENTRANT].
24473
fb431262
RM
24474 * include/resolv.h [_RESOLV_H_]:
24475 Don't include <tls.h>.
24476 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24477 * resolv/res_libc.c: Don't include <tls.h>.
24478 (_res): Use __attribute__ ((nocommon)) in place of
24479 __attribute__ ((section (".bss"))).
24480
bd81123a
RM
24481 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24482 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24483
c4e42566
RM
24484 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24485
f890a59b
RM
24486 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24487 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24488
24489 * resolv/res_mkquery.c: Include <sys/time.h>.
24490
5d1f0a09
RM
24491 * inet/ifreq.c: Moved to ...
24492 * sysdeps/unix/ifreq.c: ... here.
24493 * inet/ifreq.c: New file, true stub version.
24494
6fcf28b3
RM
24495 * socket/sa_len.c: New file.
24496 * socket/Makefile (aux): Add it.
24497 * sysdeps/unix/sysv/linux/Makefile
24498 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24499 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24500 and #include <socket/sa_len.c>.
24501 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24502 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24503
e041fb8b
RM
24504 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24505 * bits/socket.h: ... here.
24506
8cc3269f
RM
24507 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24508 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24509 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24510
5d228a43
AS
245112013-08-27 Andreas Schwab <schwab@suse.de>
24512
45b8accc
AS
24513 [BZ #15736]
24514 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24515 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24516 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24517 * string/test-strcasecmp.c (test_main): Run tests in several
24518 locales.
24519 * string/test-strncasecmp.c (test_main): Likewise.
24520
5d228a43
AS
24521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24522 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24523 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24525 (__strncasecmp_ssse3) [PIC]: Likewise.
24526
59d112a4
RM
245272013-08-26 Roland McGrath <roland@hack.frob.com>
24528
53234cc3
RM
24529 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24530
59d112a4
RM
24531 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24532 instead of explicitly declaring xdecrypt.
24533 * nis/nss_nis/nis-publickey.c: Likewise.
24534
595aba70
SP
245352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24536
24537 [BZ #15890]
24538 * nscd/aicache.c: Include res_hconf.h.
24539 (addhstaiX): Initialize res_hconf.
24540
ffabd393
AS
245412013-08-26 Andreas Schwab <schwab@suse.de>
24542
24543 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24544 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24545
e0a69f5c
SP
245462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24547
24548 * nscd/aicache.c (addhstaiX): Fix indentation.
24549
8c12f01d
MF
245502013-08-25 Mike Frysinger <vapier@gentoo.org>
24551
24552 * configure.ac: Quote $build_pt_chown test.
24553 * configure: Regenerated.
24554
8fe89494
JM
245552013-08-23 Joseph Myers <joseph@codesourcery.com>
24556
24557 [BZ #15532]
24558 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24559 * math/s_cexpf.c (__cexpf): Likewise.
24560 * math/s_cexpl.c (__cexpl): Likewise.
24561 * math/libm-test.inc (cexp_test_data): Correct expected return
24562 value for NaN + i0. Add another test.
24563
75b181d6
DM
245642013-08-22 David S. Miller <davem@davemloft.net>
24565
24566 * po/ca.po: Update Catalan translation from translation project.
936241e4 24567 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24568
acd06bb1
JM
245692013-08-21 Joseph Myers <joseph@codesourcery.com>
24570
24571 [BZ #15797]
24572 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24573 is infinite, not alongside NaN test.
24574 * math/s_fdimf.c (__fdimf): Likewise.
24575 * math/s_fdiml.c (__fdiml): Likewise.
24576 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24577 errno is unchanged.
24578
c0c3f78a
OB
245792013-08-21 Ondřej Bílka <neleai@seznam.cz>
24580
24581 * argp/argp-help.c: Fix typos.
24582 * crypt/speeds.c: Likewise.
24583 * csu/check_fds.c: Likewise.
24584 * elf/dl-load.c: Likewise.
24585 * elf/dl-open.c: Likewise.
24586 * elf/reldep3.c: Likewise.
24587 * elf/reldep.c: Likewise.
24588 * elf/sprof.c: Likewise.
24589 * iconv/iconv_charmap.c: Likewise.
24590 * iconv/skeleton.c: Likewise.
24591 * iconv/strtab.c: Likewise.
24592 * io/lockf64.c: Likewise.
24593 * libio/libioP.h: Likewise.
24594 * resolv/gai_notify.c: Likewise.
24595 * resolv/ns_name.c: Likewise.
24596 * resolv/ns_samedomain.c: Likewise.
24597 * resolv/res_send.c: Likewise.
24598 * stdlib/random.c: Likewise.
24599 * sunrpc/rpc/xdr.h: Likewise.
24600 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24601 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24604 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24605 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24607 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24608 * sysdeps/mach/hurd/check_fds.c: Likewise.
24609 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24610 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24611 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24613 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24614 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24615 * sysdeps/pthread/aio_notify.c: Likewise.
24616 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24617 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24618 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24619 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24620 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24621
46ed1038
LD
246222013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24623
24624 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24625 version if bit_Slow_SSE4_2 is set.
24626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24627 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24628
d400dcac
AZ
246292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24630
24631 [BZ #15867]
24632 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24633 trampoline stack frame information.
24634 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24636 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24637 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24638 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24639 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24640 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24641 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24642 sa_flags value.
24643 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24644 interrupting a syscall and set with option SA_SIGINFO.
24645
42c8fdd8
JM
246462013-08-20 Joseph Myers <joseph@codesourcery.com>
24647
c980f2f4
JM
24648 [BZ #15531]
24649 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24650 argument is infinite.
24651 * math/s_cprojf.c (__cprojf): Likewise.
24652 * math/s_cprojl.c (__cprojl): Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24654 * math/libm-test.inc (cproj_test_data): Add more tests.
24655
0716c4fc
JM
24656 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24657
42c8fdd8
JM
24658 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24659 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24660 size. Use __ffs to determine corresponding shift.
24661
b31469d0
JM
246622013-08-20 Joseph Myers <joseph@codesourcery.com>
24663 Roland McGrath <roland@hack.frob.com>
24664
24665 * Makefile (INSTALL): Remove trailing blank lines from output of
24666 makeinfo.
24667
4e39af6e
AK
246682013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24669
24670 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24671 Align 32 bit compat elf_greg to 8 bytes.
24672
f315524e
AA
246732013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24674
24675 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24676
1326ba1a
SP
246772013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24678
24679 * string/strcoll_l.c (coll_seq): New structure.
24680 (get_next_seq_cached): New function.
24681 (get_next_seq): New function.
24682 (do_compare): New function.
24683 (STRCOLL): Use GNU style definition. Simplify implementation
24684 by using get_next_seq, get_next_seq_cached and do_compare.
24685
91ce4085
FW
246862013-08-16 Florian Weimer <fweimer@redhat.com>
24687
24688 [BZ #14699]
24689 CVE-2013-4237
24690 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24691 member.
24692 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24693 member.
24694 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24695 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24696 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24697 conditional.
24698 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24699 GETDENTS_64BIT_ALIGNED.
24700 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24701 * manual/filesys.texi (Reading/Closing Directory): Document
24702 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24703 strongly.
24704 * manual/conf.texi (Limits for Files): Add portability note to
24705 NAME_MAX, PATH_MAX.
24706 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24707
ca0a6bc4
AS
247082013-08-13 Andreas Schwab <schwab@suse.de>
24709
24710 [BZ #15749]
24711 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24712 of fabs.
24713 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24714 LDBL_MAX_EXP >= 16384]: Add tests for it.
24715
6c1fd795
DM
247162013-08-12 David S. Miller <davem@davemloft.net>
24717
24718 * version.h (RELEASE): Set to "development".
24719 (VERSION): Set to "2.18.90".
24720 * NEWS: Add 2.19 section.
24721
31ad488d
DM
247222013-08-03 David S. Miller <davem@davemloft.net>
24723
24724 * po/ko.po: Update Korean translation from translation project.
24725
db24e684
DM
247262013-08-01 David S. Miller <davem@davemloft.net>
24727
24728 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24729 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24730 Bilka.
24731
f723285b
DM
247322013-07-30 David S. Miller <davem@davemloft.net>
24733
24734 * po/fr.po: Update French translation from translation project.
24735
3cbc52db
DM
247362013-07-28 David S. Miller <davem@davemloft.net>
24737
30bbc0cc
DM
24738 * po/cs.po: Update Czech translation from translation project.
24739
3cbc52db
DM
24740 * po/sv.po: Update Swedish translation from translation project.
24741
d492e6d0
DM
247422013-07-27 David S. Miller <davem@davemloft.net>
24743
f1a7f492
DM
24744 * po/eo.po: Update Esperanto translation from translation project.
24745
90e62a4a
DM
24746 * po/vi.po: Update Vietnamese translation from translation project.
24747
d492e6d0
DM
24748 * po/de.po: Update German translation from translation project.
24749
d4baa62d
DM
247502013-07-26 David S. Miller <davem@davemloft.net>
24751
641aa7b4
DM
24752 * po/bg.po: Update Bulgarian translation from translation project.
24753
d4baa62d
DM
24754 * po/nl.po: Update Dutch translation from translation project.
24755 * po/pl.po: Update Polish translation from translation project.
24756 * po/ru.po: Update Russian translation from translation project.
24757
61a9dcb9
DM
247582013-07-24 David S. Miller <davem@davemloft.net>
24759
24760 * po/libc.pot: Update.
24761
7b1f8b58
AZ
247622013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24763
24764 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24765 variable page size.
24766 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24767 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24768 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24769
a8fc7a03
AK
247702013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24771
24772 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24773
e4608715
CD
247742013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24775 Andreas Schwab <schwab@suse.de>
24776 Roland McGrath <roland@hack.frob.com>
24777 Joseph Myers <joseph@codesourcery.com>
24778 Carlos O'Donell <carlos@redhat.com>
24779
24780 [BZ #15755]
24781 * config.h.in: Define HAVE_PT_CHOWN.
24782 * config.make.in (build-pt-chown): New variable.
24783 * configure.in (--enable-pt_chown): New configure option.
24784 * configure: Regenerate.
24785 * login/Makefile: Include Makeconfig. Build pt_chown only if
24786 build-pt-chown is enabled.
24787 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24788 pt_chown to fix pty ownership.
24789 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24790 CLOSE_ALL_FDS.
24791 * manual/install.texi (Configuring and compiling): Mention
24792 --enable-pt_chown. Add @findex for grantpt.
24793 * INSTALL: Regenerate.
24794
da2d62df
DM
247952013-07-20 David S. Miller <davem@davemloft.net>
24796
24797 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24798 difference between 32-bit and 64-bit.
24799
d7e06450
CD
248002013-07-15 Carlos O'Donell <carlos@redhat.com>
24801
24802 [BZ #15711]
24803 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24804 Avoid system header dependency with -ffreestanding.
24805 ($(objpfx)bits/syscall%d): Likewise.
24806
f959cfd7
DM
248072013-07-13 David S. Miller <davem@davemloft.net>
24808
24809 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24810 underflows from atanl/atan2l due to bug 15319.
24811 (casinh_test_data): Likewise.
24812
c61f8513
DM
248132013-07-07 David S. Miller <davem@davemloft.net>
24814
24815 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24816
72c90ed0
JA
248172013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24818
24819 * sysdeps/i386/fpu/libm-test-ulps: Update.
24820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24821
52dfbe13
SP
248222013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24823
24824 * configure.in (--enable-lock-elision): Fix message text.
24825 * INSTALL: Regenerate.
24826 * configure: Regenerate.
24827
3f169543
AZ
248282013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24829
24830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24831
521c6785
AJ
248322013-07-03 Andreas Jaeger <aj@suse.de>
24833
24834 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24835 define.
24836 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24837 (ptrace_peeksiginfo_args): Add.
24838 (__ptrace_peeksiginfo_flags): Add.
24839 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24841 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24842
d2cc15cb
AM
248432013-07-03 Allan McRae <allan@archlinux.org>
24844
24845 * sysdeps/i386/fpu/libm-test-ulps: Update.
24846
3aaeeca7
DM
248472013-07-02 David S. Miller <davem@davemloft.net>
24848
24849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24850
5314ed1a
MT
248512013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24852
24853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24854
67338156
JM
248552013-07-02 Joseph Myers <joseph@codesourcery.com>
24856
24857 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859
1717da59
AK
248602013-07-02 Andi Kleen <ak@linux.intel.com>
24861
24862 * config.h.in (ENABLE_LOCK_ELISION): Add.
24863 * configure.in (--enable-lock-elision): Add option.
24864 * manual/install.texi: Document --enable lock elision.
24865 * configure: Regenerate
24866 * INSTALL: Regenerate.
24867
1c81621c
L
248682013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24869
24870 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24871 SSE4.2 strcasecmp for libc.a.
24872 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24873
77f01ab5
JM
248742013-07-02 Joseph Myers <joseph@codesourcery.com>
24875
24876 [BZ #13304]
24877 * soft-fp/op-common.h (_FP_FMA): New macro.
24878 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24879 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24880 (_FP_MUL_MEAT_1_imm): ... here.
24881 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24882 (_FP_MUL_MEAT_1_wide): ... here.
24883 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24884 (_FP_MUL_MEAT_1_hard): ... here.
24885 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24886 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24887 (_FP_MUL_MEAT_2_wide): ... here.
24888 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24889 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24890 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24891 (_FP_MUL_MEAT_2_gmp): ... here.
24892 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24893 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24894 (_FP_MUL_MEAT_4_wide): ... here.
24895 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24896 (_FP_MUL_MEAT_4_gmp): ... here.
24897 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24898 (_FP_WFRACBITS_DW_S): Likewise.
24899 (_FP_WFRACXBITS_DW_S): Likewise.
24900 (_FP_HIGHBIT_DW_S): Likewise.
24901 (FP_FMA_S): Likewise.
24902 (_FP_FRAC_HIGH_DW_S): Likewise.
24903 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24904 (_FP_WFRACBITS_DW_D): Likewise.
24905 (_FP_WFRACXBITS_DW_D): Likewise.
24906 (_FP_HIGHBIT_DW_D): Likewise.
24907 (FP_FMA_D): Likewise.
24908 (_FP_FRAC_HIGH_DW_D): Likewise.
24909 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24910 (_FP_WFRACBITS_DW_E): Likewise.
24911 (_FP_WFRACXBITS_DW_E): Likewise.
24912 (_FP_HIGHBIT_DW_E): Likewise.
24913 (FP_FMA_E): Likewise.
24914 (_FP_FRAC_HIGH_DW_E): Likewise.
24915 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24916 (_FP_WFRACBITS_DW_Q): Likewise.
24917 (_FP_WFRACXBITS_DW_Q): Likewise.
24918 (_FP_HIGHBIT_DW_Q): Likewise.
24919 (FP_FMA_Q): Likewise.
24920 (_FP_FRAC_HIGH_DW_Q): Likewise.
24921 * soft-fp/fmasf4.c: New file.
24922 * soft-fp/fmadf4.c: Likewise.
24923 * soft-fp/fmatf4.c: Likewise.
24924
6308fd9a
LD
249252013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24926
24927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24928 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24929 Silvermont.
24930 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24931 macro.
24932 (index_Slow_SSE4_2): Likewise.
24933 (index_Prefer_PMINUB_for_stringop): Likewise.
24934 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24935 bit_Slow_SSE4_2 is set.
24936 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24938
89cd9569
RA
249392013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24940
24941 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24942 rtld_global._dl_hwcap2.
24943 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24944 POWER8.
24945 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24946 POWER8 feature descriptions defined in _dl_hwcap2.
24947 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24948 string handling for POWER8 feature bits.
24949 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24950 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24951 _dl_powerpc_cap_flags.
24952 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24953 * sysdeps/powerpc/rtld-global-offsets.sym
24954 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24955 _dl_hwcap2 in the rtld_global_ro structure.
24956
1ae8bfe0
RA
249572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24958
24959 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24960 hardware capabilities in support of AT_HWCAP2.
24961 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24962 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24963 GLRO(dl_hwcap2).
24964 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24965 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24966 explicitly the unknown a_type display mechanism is used.
24967 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24968 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24969 struct member.
24970 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24971 to macro prototype for AT_HWCAP2 support.
24972 * sysdeps/i386/dl-procinfo.h: Likewise.
24973 * sysdeps/s390/dl-procinfo.h: Likewise.
24974 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24975 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24976 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24977 return -1 for unknown a_type display fallback.
24978 * sysdeps/sparc/dl-procinfo.h: Likewise.
24979 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24980 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24981
8fbec010
JM
249822013-06-28 Joseph Myers <joseph@codesourcery.com>
24983
24984 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24985 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24986
0432680e
PY
249872013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24988
24989 [BZ #12492]
24990 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24991 mprotect making __stack_prot writable.
24992
ce61a2ad
NF
249932013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24994 Joseph Myers <joseph@codesourcery.com>
24995
24996 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24997 as being properly aligned.
24998
f91f1c0f
MR
249992013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25000
3d0f5d0c
MR
25001 * dlfcn/modstatic5.c: New file.
25002 * dlfcn/tststatic5.c: New file.
25003 * dlfcn/Makefile (tests): Add tststatic5.
25004 (tests-static): Likewise.
25005 (modules-names): Add modstatic5.
25006 (tststatic5-ENV): New variable.
25007 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25008
f91f1c0f
MR
25009 [BZ #15022]
25010 * elf/dl-support.c (_dl_main_map): New variable.
25011 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25012 (_dl_nns, _dl_load_adds): Set to 1.
25013 (_dl_initial_searchlist): Refer to _dl_main_map.
25014 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25015 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25016 call to _dl_get_origin.
25017 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25018 around call_map.
25019 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25020 * dlfcn/modstatic3.c: New file.
25021 * dlfcn/tststatic3.c: New file.
25022 * dlfcn/tststatic4.c: New file.
25023 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25024 (tests-static): Likewise.
25025 (modules-names): Add modstatic3.
25026 (tststatic3-ENV, tststatic4-ENV): New variables.
25027 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25028 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25029
cbe7d24b
JM
250302013-06-26 Joseph Myers <joseph@codesourcery.com>
25031
25032 * configure.in (CC): Require GCC version 4.4 or later.
25033 * configure: Regenerated.
25034 * manual/install.texi (Tools for Compilation): Update GCC version
25035 requirement.
25036 * INSTALL: Regenerated.
25037
11b8a0e1
LD
250382013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25039
25040 [BZ #15674]
bb5bb87c
L
25041 * string/test-memcmp.c (check2): New.
25042 (main): Call check2.
25043
11b8a0e1
LD
25044 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25045
b0037103
MR
250462013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25047
25048 [BZ #15022]
25049 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25050 over to...
25051 (dl_open_worker) [!SHARED]: ... here.
25052
c18c701d
RA
250532013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25054
25055 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25056
1d17fa5f
RH
250572013-06-25 Richard Henderson <rth@redhat.com>
25058
25059 * locale/programs/locarchive.c: Include <libc-internal.h>
25060
8fcb833a
JM
250612013-06-25 Joseph Myers <joseph@codesourcery.com>
25062
25063 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25064 trailing whitespace removed.
25065
17db6e8d
MF
250662013-06-24 Mike Frysinger <vapier@gentoo.org>
25067
25068 [BZ #10283]
17db6e8d
MF
25069 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25070 * locale/programs/locarchive.c: Include libc-mmap.h.
25071 (prepare_address_space): Take two new outputs (the mmap base and len).
25072 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25073 values.
25074 (create_archive): Declare new mmap base and len values for
25075 prepare_address_space, and store the result in ah.
25076 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25077 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25078 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25079 Declare new mmap base and len values for
25080 prepare_address_space, and store the result in new_ah.
25081 (open_archive): Declare new mmap base and len values for
25082 prepare_address_space, and store the result in ah.
25083 (close_archive): If ah->mmap_base is not NULL, use that and
25084 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25085 * sysdeps/generic/libc-mmap.h: New file.
25086
d605071e
MF
250872013-06-24 Mike Frysinger <vapier@gentoo.org>
25088
25089 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25090 (ALIGN_UP): Likewise.
25091 (PTR_ALIGN_DOWN): Likewise.
25092 (PTR_ALIGN_UP): Likewise.
25093
2f063a6e
RA
250942013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25095
25096 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25097 entry mapped to PPC_PLATFORM_POWER8.
25098 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25099 POWER8.
25100 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25101 (_dl_string_platform): Add case for exporting platform position for
25102 POWER8.
25103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25104 search path to sysdeps/powerpc/powerpc32/power8 directory.
25105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25106 search path to sysdeps/powerpc/powerpc64/power8 directory.
25107 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25108 power7 directories.
25109 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25110 power7 directories.
25111
a31ee4b3
SP
251122013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25113
a74ca98f
SP
25114 * INSTALL: Regenerate.
25115
a31ee4b3
SP
25116 * nscd/connections.c (nscd_init): Fix comment.
25117
695c378f
JM
251182013-06-22 Joseph Myers <joseph@codesourcery.com>
25119
d8412221
JM
25120 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25121
695c378f
JM
25122 [BZ #15667]
25123 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25124 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25125
d1d54715
MR
251262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25127
25128 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25129 DL_DST_REQ_STATIC.
25130 (DL_DST_REQ_STATIC): Remove macro.
25131
8fdda7af
JM
251322013-06-21 Joseph Myers <joseph@codesourcery.com>
25133
25134 [BZ #7006]
25135 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25136 with a shift of 0 bits.
25137
f3bc5e5a
MR
251382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25139
25140 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25141 $(tststatic-ENV).
25142
be09e8c9
KK
251432013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25144
25145 [BZ #15655]
25146 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25147
85c2e611
AZ
251482013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25149
25150 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25151 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25152 accepts -fno-tree-loop-distribute-patterns.
25153 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25154 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25155 recursive call.
25156 * string/memset.c (memset): Likewise.
25157 * string/test-memmove.c (simple_memmove): Disable loop transformation
25158 to library calls.
25159 * string/test-memset.c (simple_memset): Likewise.
25160 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25161 * benchtests/bench-memset.c (simple_memset): Likewise.
25162 * configure: Regenerated.
25163
c91e0825
JM
251642013-06-20 Joseph Myers <joseph@codesourcery.com>
25165
b8c792af
JM
25166 * math/test-misc.c (main): Ignore fesetround failure when failures
25167 of subsequent rounding tests would be ignored.
25168
c91e0825
JM
25169 [BZ #15654]
25170 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25171 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25172 * math/fegetenv.c (__fegetenv): Return 0.
25173 * math/fegetexcept.c (fegetexcept): Return 0.
25174 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25175 FE_TONEAREST.
25176 * math/feholdexcpt.c (feholdexcept): Return 0.
25177 * math/fesetenv.c (__fesetenv): Return 0.
25178 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25179 argument FE_TONEAREST.
25180 * math/feupdateenv.c (__feupdateenv): Return 0.
25181 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25182
bfcacbde
RM
251832013-06-18 Roland McGrath <roland@hack.frob.com>
25184
25185 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25186 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25187 ($(objpfx)rtld-%.os rules): Use them.
25188
e55a9b25
AZ
251892013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25190
25191 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25192 fields.
25193
346d65b3
RM
251942013-06-17 Roland McGrath <roland@hack.frob.com>
25195
12086fb4
RM
25196 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25197 length of target pattern, then descending length of dependency pattern.
25198 * configure.in (AWK): Require gawk 3.1.2 or newer.
25199 * manual/install.texi (Tools for Compilation): Say that we do.
25200 * configure: Regenerated.
25201
346d65b3
RM
25202 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25203 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25204 * scripts/sysd-rules.awk: ... this new script.
25205 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25206 than a glob-style pattern.
25207
1a846317
JM
252082013-06-17 Joseph Myers <joseph@codesourcery.com>
25209
25210 * math/test-misc.c (main): Do not treat incorrectly rounded
25211 conversions as failure unless ROUNDING_TESTS passes.
25212
8fc75e6f
JM
252132013-06-15 Joseph Myers <joseph@codesourcery.com>
25214
3711a167
JM
25215 [BZ #15631]
25216 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25217 restore exception state around main square root computation, then
25218 check for inexactness explicitly.
25219
8fc75e6f
JM
25220 * math/libm-test.inc (fma_test_data): Add another test.
25221
61dd6208
SP
252222013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25223
adf23d2c
SP
25224 * manual/threads.texi (Non-POSIX Extensions): New document
25225 node. Document pthread_getattr_default_np and
25226 pthread_setattr_default_np.
25227
61dd6208
SP
25228 * Versions.def (libpthread): Add GLIBC_2.18.
25229 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25231 Likewise.
25232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25233 Likewise.
25234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25235 Likewise.
25236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25237 Likewise.
25238 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25239 Likewise.
25240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25241 Likewise.
25242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25243 Likewise.
25244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25245 Likewise.
25246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25247 Likewise.
25248
d086fc7b
LD
252492013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25250
25251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25252 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25253
747ef469
SP
252542013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25255 H.J. Lu <hjl.tools@gmail.com>
25256
25257 [BZ #15627]
25258 * sysdeps/x86_64/rtld-memset.c: Remove file.
25259 * sysdeps/x86_64/rtld-memset.S: New file.
25260
1b2feed2
JM
252612013-06-14 Joseph Myers <joseph@codesourcery.com>
25262
25263 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25264 (test_in_one_mode): Take arguments for whether the rounding mode
25265 is supported for each floating-point type.
25266 (do_test): Pass new arguments to test_in_one_mode using
25267 ROUNDING_TESTS.
25268
a58ad3f8
RM
252692013-06-13 Roland McGrath <roland@hack.frob.com>
25270
25271 * posix/tst-waitid.c (do_test): Distinguish different instances of
25272 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25273 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25274 before entering the kernel for waitpid.
25275
c204ab28
SP
252762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25277
25278 * NEWS: Fix note on clock function precision. Text by Roland
25279 McGrath.
25280
f4a29fba
RM
252812013-06-13 Roland McGrath <roland@hack.frob.com>
25282
25283 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25284 it into place only when and if the sanity check passes.
25285
1f24b9ad
JM
252862013-06-13 Joseph Myers <joseph@codesourcery.com>
25287
25288 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25289 output for whether conversion result is exact. Take argument
25290 indicating whether type is IBM long double.
25291 (round_for_all): Change need_exact field to ibm_ld.
25292 * stdlib/tst-strtod-round.c (struct exactness): New type.
25293 (struct test): Change bool ld_ok field to struct exactness exact.
25294 (TEST): Update all definitions for change to field.
25295 (tests): Regenerate array contents.
25296 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25297 field value. Check for IBM long double here.
25298 (do_test): Update calls to test_in_one_mode.
25299
58206c68
SP
253002013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25301
25302 [BZ #12515]
25303 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25304 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25305
2d6f4c5b 253062013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25307
25308 [BZ #15605]
25309 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25310 generated by the compiler on loop optimizations.
25311 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25312 general definitions.
25313
94f2c076
JM
253142013-06-12 Joseph Myers <joseph@codesourcery.com>
25315
25316 * math/bug-nextafter.c: Include <math-tests.h>.
25317 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25318 the relevant type.
25319 * math/bug-nexttoward.c: Include <math-tests.h>.
25320 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25321 the relevant type.
25322 * math/test-misc.c: Include <math-tests.h>.
25323 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25324 the relevant type.
25325
e0e50a0a
AJ
253262013-06-12 Andreas Jaeger <aj@suse.de>
25327
25328 * po/ia.po: Update Interlingua translation from translation
25329 project.
25330
25061094
SP
253312013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25332
25333 * include/fenv.h: Include stdbool.h.
25334 (struct rm_ctx): New structure.
25335 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25336 Define macro.
25337 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25338 (SET_RESTORE_ROUNDF): Likewise.
25339 (SET_RESTORE_ROUNDL): Likewise.
25340 (SET_RESTORE_ROUND_NOEX): Likewise.
25341 (SET_RESTORE_ROUND_NOEXF): Likewise.
25342 (SET_RESTORE_ROUND_NOEXL): Likewise.
25343 (SET_RESTORE_ROUND_53BIT): Likewise.
25344 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25345 (libc_feresetround_noexf_ctx): Likewise.
25346 (libc_feresetround_noexl_ctx): Likewise.
25347 (libc_feholdsetround_53bit_ctx): Likewise.
25348 (libc_feresetround_53bit_ctx): Likewise.
25349 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25350 (libc_feholdexcept_setround_sse_ctx): New function.
25351 (libc_fesetenv_sse_ctx): Likewise.
25352 (libc_feupdateenv_sse_ctx): Likewise.
25353 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25354 (libc_feholdexcept_setround_387_ctx): Likewise.
25355 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25356 (libc_feholdsetround_387_prec_ctx): Likewise.
25357 (libc_feholdsetround_387_ctx): Likewise.
25358 (libc_feholdsetround_387_53bit_ctx): Likewise.
25359 (libc_feholdsetround_sse_ctx): Likewise.
25360 (libc_feresetround_sse_ctx): Likewise.
25361 (libc_feresetround_387_ctx): Likewise.
25362 (libc_feupdateenv_387_ctx): Likewise.
25363 (libc_feholdexcept_setroundf_ctx): Define macro.
25364 (libc_fesetenvf_ctx): Likewise.
25365 (libc_feupdateenvf_ctx): Likewise.
25366 (libc_feholdsetroundf_ctx): Likewise.
25367 (libc_feresetroundf_ctx): Likewise.
25368 (libc_feholdexcept_setround_ctx): Likewise.
25369 (libc_fesetenv_ctx): Likewise.
25370 (libc_feupdateenv_ctx): Likewise.
25371 (libc_feholdsetround_ctx): Likewise.
25372 (libc_feresetround_ctx): Likewise.
25373 (libc_feholdexcept_setroundl_ctx): Likewise.
25374 (libc_feupdateenvl_ctx): Likewise.
25375 (libc_feholdsetroundl_ctx): Likewise.
25376 (libc_feresetroundl_ctx): Likewise.
25377 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25378 (libc_feresetround_53bit_ctx): Likewise.
25379
59b30555
SP
253802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25381
25382 * locale/iso-639.def: Convert to UTF-8.
25383
f1d73d30
JM
253842013-06-11 Joseph Myers <joseph@codesourcery.com>
25385
25386 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25387 (EXCEPTION_TESTS_double): Likewise.
25388 (EXCEPTION_TESTS_long_double): Likewise.
25389 (EXCEPTION_TESTS): Likewise.
25390 * math/libm-test.inc (test_exceptions): Only test exceptions if
25391 EXCEPTION_TESTS (FLOAT).
25392
94aca5e7
SP
253932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25394
25395 * benchtests/Makefile (string-bench): Add strcpy_chk and
25396 stpcpy_chk.
25397 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25398 * benchtests/bench-stpcpy_chk.c: New file.
25399 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25400 * benchtests/bench-strcpy_chk.c: New file.
25401 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25402 code.
25403 (do_test): Likewise.
25404
fac0c5f2
RA
254052013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25406
25407 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25408 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25409 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25410 with tabs where appropriate.
25411 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25412 dl-procinfo.h.
25413 [PPC_PLATFORM_PPC440]: Likewise.
25414 [PPC_PLATFORM_PPC464]: Likewise.
25415 [PPC_PLATFORM_PPC476]: Likewise.
25416 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25417 ppc464, and ppc476 platform strings merging from ports/
25418 dl-procinfo.h.
25419
f22bc486
AS
254202013-06-11 Andreas Schwab <schwab@suse.de>
25421
25422 [BZ #14991]
25423 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25424 (from_ucs4_idx): Regenerate.
25425 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25426 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25427 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25428 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25429 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25430 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25431 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25432 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25433 from FROM_LOOP and TO_LOOP specific macros.
25434 (BODY): Handle combining characters.
25435 * iconvdata/BIG5HKSCS.irreversible: Update.
25436 * iconvdata/BIG5HKSCS.precomposed: New file.
25437 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25438 characters.
25439 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25440
c1f75dc3
SP
254412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25442
4eacded2
SP
25443 * include/sys/time.h: Fix indentation and add copyright header.
25444
fec799f8
SP
25445 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25446 (do_test): Likewise.
25447 * string/test-memchr.c (do_one_test): Likewise.
25448 (do_test): Likewise.
25449 * string/test-memcmp.c (do_one_test): Likewise.
25450 (do_test): Likewise.
25451 * string/test-memcpy.c (do_one_test): Likewise.
25452 (do_test): Likewise.
25453 * string/test-memmem.c (do_one_test): Likewise.
25454 (do_test): Likewise.
25455 (do_random_tests): Likewise.
25456 * string/test-memmove.c (do_one_test): Likewise.
25457 (do_test): Likewise.
25458 * string/test-memset.c (do_one_test): Likewise.
25459 (do_test): Likewise.
25460 * string/test-rawmemchr.c (do_one_test): Likewise.
25461 (do_test): Likewise.
25462 * string/test-strcasecmp.c (do_one_test): Likewise.
25463 (do_test): Likewise.
25464 * string/test-strcasestr.c (do_one_test): Likewise.
25465 (do_test): Likewise.
25466 * string/test-strcat.c (do_one_test): Likewise.
25467 (do_test): Likewise.
25468 * string/test-strchr.c (do_one_test): Likewise.
25469 (do_test): Likewise.
25470 * string/test-strcmp.c (do_one_test): Likewise.
25471 (do_test): Likewise.
25472 * string/test-strcpy.c (do_one_test): Likewise.
25473 (do_test): Likewise.
25474 * string/test-string.h: Likewise.
25475 (test_init): Likewise.
25476 * string/test-strlen.c (do_one_test): Likewise.
25477 (do_test): Likewise.
25478 * string/test-strncasecmp.c (do_one_test): Likewise.
25479 (do_test): Likewise.
25480 * string/test-strncat.c (do_one_test): Likewise.
25481 (do_test): Likewise.
25482 * string/test-strncmp.c (do_one_test): Likewise.
25483 (do_test_limit): Likewise.
25484 (do_test): Likewise.
25485 * string/test-strncpy.c (do_one_test): Likewise.
25486 (do_test): Likewise.
25487 * string/test-strnlen.c (do_one_test): Likewise.
25488 (do_test): Likewise.
25489 * string/test-strpbrk.c (do_one_test): Likewise.
25490 (do_test): Likewise.
25491 * string/test-strrchr.c (do_one_test): Likewise.
25492 (do_test): Likewise.
25493 * string/test-strspn.c (do_one_test): Likewise.
25494 (do_test): Likewise.
25495 * string/test-strstr.c (do_one_test): Likewise.
25496 (do_test): Likewise.
25497
97020474
SP
25498 * benchtests/Makefile (string-bench): Add string benchmarks.
25499 * benchtests/bench-bcopy-ifunc.c: New file.
25500 * benchtests/bench-bcopy.c: New file.
25501 * benchtests/bench-bzero-ifunc.c: New file.
25502 * benchtests/bench-bzero.c: New file.
25503 * benchtests/bench-memccpy-ifunc.c: New file.
25504 * benchtests/bench-memccpy.c: New file.
25505 * benchtests/bench-memchr-ifunc.c: New file.
25506 * benchtests/bench-memchr.c: New file.
25507 * benchtests/bench-memcmp-ifunc.c: New file.
25508 * benchtests/bench-memcmp.c: New file.
25509 * benchtests/bench-memmem-ifunc.c: New file.
25510 * benchtests/bench-memmem.c: New file.
25511 * benchtests/bench-memmove-ifunc.c: New file.
25512 * benchtests/bench-memmove.c: New file.
25513 * benchtests/bench-mempcpy-ifunc.c: New file.
25514 * benchtests/bench-mempcpy.c: New file.
25515 * benchtests/bench-memset-ifunc.c: New file.
25516 * benchtests/bench-memset.c: New file.
25517 * benchtests/bench-rawmemchr-ifunc.c: New file.
25518 * benchtests/bench-rawmemchr.c: New file.
25519 * benchtests/bench-stpcpy-ifunc.c: New file.
25520 * benchtests/bench-stpcpy.c: New file.
25521 * benchtests/bench-stpncpy-ifunc.c: New file.
25522 * benchtests/bench-stpncpy.c: New file.
25523 * benchtests/bench-strcasecmp-ifunc.c: New file.
25524 * benchtests/bench-strcasecmp.c: New file.
25525 * benchtests/bench-strcasestr-ifunc.c: New file.
25526 * benchtests/bench-strcasestr.c: New file.
25527 * benchtests/bench-strcat-ifunc.c: New file.
25528 * benchtests/bench-strcat.c: New file.
25529 * benchtests/bench-strchr-ifunc.c: New file.
25530 * benchtests/bench-strchr.c: New file.
25531 * benchtests/bench-strchrnul-ifunc.c: New file.
25532 * benchtests/bench-strchrnul.c: New file.
25533 * benchtests/bench-strcmp-ifunc.c: New file.
25534 * benchtests/bench-strcmp.c: New file.
25535 * benchtests/bench-strcpy-ifunc.c: New file.
25536 * benchtests/bench-strcpy.c: New file.
25537 * benchtests/bench-strcspn-ifunc.c: New file.
25538 * benchtests/bench-strcspn.c: New file.
25539 * benchtests/bench-strlen-ifunc.c: New file.
25540 * benchtests/bench-strlen.c: New file.
25541 * benchtests/bench-strncasecmp-ifunc.c: New file.
25542 * benchtests/bench-strncasecmp.c: New file.
25543 * benchtests/bench-strncat-ifunc.c: New file.
25544 * benchtests/bench-strncat.c: New file.
25545 * benchtests/bench-strncmp-ifunc.c: New file.
25546 * benchtests/bench-strncmp.c: New file.
25547 * benchtests/bench-strncpy-ifunc.c: New file.
25548 * benchtests/bench-strncpy.c: New file.
25549 * benchtests/bench-strnlen-ifunc.c: New file.
25550 * benchtests/bench-strnlen.c: New file.
25551 * benchtests/bench-strpbrk-ifunc.c: New file.
25552 * benchtests/bench-strpbrk.c: New file.
25553 * benchtests/bench-strrchr-ifunc.c: New file.
25554 * benchtests/bench-strrchr.c: New file.
25555 * benchtests/bench-strspn-ifunc.c: New file.
25556 * benchtests/bench-strspn.c: New file.
25557 * benchtests/bench-strstr-ifunc.c: New file.
25558 * benchtests/bench-strstr.c: New file.
25559
c1f75dc3
SP
25560 * benchtests/Makefile: Disable parallel execution of targets.
25561 (string-bench): Add memcpy.
25562 (benchset): New variable to store a list of benchmark sets.
25563 (bench-func): Renamed from bench.
25564 (bench-set): New target.
25565 (bench): Depend on bench-func and bench-set.
25566 * benchtests/README: Add section on benchmark sets.
25567 * benchtests/bench-memcpy-ifunc.c: New file.
25568 * benchtests/bench-memcpy.c: New file.
25569 * benchtests/bench-string.h: New file.
25570
50fd745b
AS
255712013-06-11 Andreas Schwab <schwab@suse.de>
25572
25573 [BZ #15577]
25574 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25575 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25576 values in the triple.
25577 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25578 terminator in the group key.
25579
3ee7e9fe
AJ
255802013-06-11 Andreas Jaeger <aj@suse.de>
25581
25582 * po/zh_TW.po: Update Chinese (traditional) translation from
25583 translation project.
25584
89fb6835
SP
255852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25586
25587 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25588 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25589 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25590 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25591 (clock_getcpuclockid): Likewise.
25592 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25593 Add weak_alias and libc_hidden_def.
25594 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25595 * rt/clock_gettime.c (clock_gettime): Rename to
25596 __clock_gettime. Add weak_alias and libc_hidden_def.
25597 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25598 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25599 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25600 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25601 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25602 Likewise.
25603 * rt/clock_settime.c (clock_settime): Rename to
25604 __clock_settime. Add weak_alias and libc_hidden_def.
25605 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25606
0efa6f8b
JM
256072013-06-10 Joseph Myers <joseph@codesourcery.com>
25608
b8c61b4b
JM
25609 * mach/err_boot.sub: Remove trailing whitespace.
25610 * mach/err_ipc.sub: Likewise.
25611 * mach/err_mach.sub: Likewise.
25612
0efa6f8b
JM
25613 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25614 (ROUNDING_TESTS_double): Likewise.
25615 (ROUNDING_TESTS_long_double): Likewise.
25616 (ROUNDING_TESTS): Likewise.
25617 * math/libm-test.inc: Include <math-tests.h>.
25618 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25619 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25620 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25621 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25622
50b818bf
SP
256232013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25624
25625 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25626 of assigning.
25627
60d2f8f3
JM
256282013-06-08 Joseph Myers <joseph@codesourcery.com>
25629
4902d2c3
JM
25630 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25631 otherwise empty TRANS lines.
25632 * sysdeps/gnu/errlist.c: Regenerated.
25633
60d2f8f3
JM
25634 * catgets/gencat.c (error_print): Use (void) in function
25635 definition.
25636 * crypt/crypt_util.c (__init_des): Likewise.
25637 * crypt/speeds.c (Stop): Likewise.
25638 (main): Likewise.
25639 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25640 * inet/ruserpass.c (token): Likewise.
25641 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25642 * intl/localealias.c (extend_alias_table): Likewise.
25643 * intl/plural-exp.c (init_germanic_plural): Likewise.
25644 * libio/fcloseall.c (__fcloseall): Likewise.
25645 * libio/genops.c (_IO_flush_all): Likewise.
25646 (_IO_flush_all_linebuffered): Likewise.
25647 (_IO_cleanup): Likewise.
25648 (_IO_iter_begin): Likewise.
25649 (_IO_iter_end): Likewise.
25650 (_IO_list_lock): Likewise.
25651 (_IO_list_unlock): Likewise.
25652 (_IO_list_resetlock): Likewise.
25653 * libio/getchar.c (getchar): Likewise.
25654 * libio/getchar_u.c (getchar_unlocked): Likewise.
25655 * libio/getwchar.c (getwchar): Likewise.
25656 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25657 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25658 * login/getpt.c (__getpt): Likewise.
25659 * login/tst-utmp.c (main): Likewise.
25660 * malloc/hooks.c (__malloc_check_init): Likewise.
25661 * malloc/malloc.c (__malloc_stats): Likewise.
25662 * malloc/mtrace.c (tr_break): Likewise.
25663 (mtrace): Likewise.
25664 (muntrace): Likewise.
25665 * misc/fstab.c (endfsent): Likewise.
25666 * misc/getclktck.c (__getclktck): Likewise.
25667 * misc/getdtsz.c (__getdtablesize): Likewise.
25668 * misc/gethostid.c (gethostid): Likewise.
25669 * misc/getpagesize.c (__getpagesize): Likewise.
25670 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25671 (__get_nprocs): Likewise.
25672 (__get_phys_pages): Likewise.
25673 (__get_avphys_pages): Likewise.
25674 * misc/getttyent.c (getttyent): Likewise.
25675 (setttyent): Likewise.
25676 (endttyent): Likewise.
25677 * misc/getusershell.c (getusershell): Likewise.
25678 (endusershell): Likewise.
25679 (setusershell): Likewise.
25680 (initshells): Likewise.
25681 * misc/hsearch.c (__hdestroy): Likewise.
25682 * misc/sync.c (sync): Likewise.
25683 * misc/syslog.c (closelog_internal): Likewise.
25684 (closelog): Likewise.
25685 * misc/ttyslot.c (ttyslot): Likewise.
25686 * misc/vhangup.c (vhangup): Likewise.
25687 * posix/fork.c (__fork): Likewise.
25688 * posix/getegid.c (__getegid): Likewise.
25689 * posix/geteuid.c (__geteuid): Likewise.
25690 * posix/getgid.c (__getgid): Likewise.
25691 * posix/getpid.c (__getpid): Likewise.
25692 * posix/getppid.c (__getppid): Likewise.
25693 * posix/getuid.c (__getuid): Likewise.
25694 * posix/pause.c (pause): Likewise.
25695 * posix/setpgrp.c (setpgrp): Likewise.
25696 * posix/setsid.c (__setsid): Likewise.
25697 * posix/test-vfork.c (noop): Likewise.
25698 * resolv/gethnamaddr.c (_endhtent): Likewise.
25699 (_gethtent): Likewise.
25700 (ht_endhostent): Likewise.
25701 (gethostent): Likewise.
25702 (dns_service): Likewise.
25703 * stdlib/drand48.c (drand48): Likewise.
25704 * stdlib/lrand48.c (lrand48): Likewise.
25705 * stdlib/mrand48.c (mrand48): Likewise.
25706 * stdlib/rand.c (rand): Likewise.
25707 * stdlib/random.c (__random): Likewise.
25708 * stdlib/setenv.c (clearenv): Likewise.
25709 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25710 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25711 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25712 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25713 (__get_nprocs): Likewise.
25714 (__get_phys_pages): Likewise.
25715 (__get_avphys_pages): Likewise.
25716 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25717 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25718 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25719 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25720 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25721 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25722 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25723 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25724 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25725 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25726 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25727 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25728 * sysdeps/posix/clock.c (clock): Likewise.
25729 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25730 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25731 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25732 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25733 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25735 (__get_nprocs_conf): Likewise.
25736 (__get_phys_pages): Likewise.
25737 (__get_avphys_pages): Likewise.
25738 * time/clock.c (clock): Likewise.
25739 * time/tzset.c (__tzname_max): Likewise.
25740
2e09a79a
JM
257412013-06-07 Joseph Myers <joseph@codesourcery.com>
25742
25743 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25744 (__bswap_32): Do not use "register".
25745 * crypt/crypt.c (_ufc_doit_r): Likewise.
25746 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25747 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25748 * gmon/gmon.c (__monstartup): Likewise.
25749 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25750 * hurd/hurdmalloc.c (more_memory): Likewise.
25751 (malloc): Likewise.
25752 (free): Likewise.
25753 (realloc): Likewise.
25754 (malloc_fork_prepare): Likewise.
25755 (malloc_fork_parent): Likewise.
25756 (malloc_fork_child): Likewise.
25757 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25758 (_svcauth_des): Likewise.
25759 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25760 * inet/inet_net.c (inet_network): Likewise.
25761 * inet/inet_netof.c (inet_netof): Likewise.
25762 * inet/rcmd.c (__validuser2_sa): Likewise.
25763 * io/fts.c (fts_open): Likewise.
25764 (fts_load): Likewise.
25765 (fts_close): Likewise.
25766 (fts_read): Likewise.
25767 (fts_children): Likewise.
25768 (fts_build): Likewise.
25769 (fts_stat): Likewise.
25770 (fts_sort): Likewise.
25771 (fts_alloc): Likewise.
25772 (fts_lfree): Likewise.
25773 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25774 (_IO_file_xsgetn): Likewise.
25775 (_IO_file_xsgetn_mmap): Likewise.
25776 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25777 (_IO_cookie_write): Likewise.
25778 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25779 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25780 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25781 * malloc/obstack.c (_obstack_begin): Likewise.
25782 (_obstack_begin_1): Likewise.
25783 (_obstack_newchunk): Likewise.
25784 (_obstack_allocated_p): Likewise.
25785 (obstack_free): Likewise.
25786 (_obstack_memory_used): Likewise.
25787 * misc/getttyent.c (getttynam): Likewise.
25788 (getttyent): Likewise.
25789 (skip): Likewise.
25790 (value): Likewise.
25791 * misc/getusershell.c (initshells): Likewise.
25792 * misc/syslog.c (__vsyslog_chk): Likewise.
25793 * misc/ttyslot.c (ttyslot): Likewise.
25794 * nis/nis_hash.c (__nis_hash): Likewise.
25795 * posix/fnmatch_loop.c (FCT): Likewise.
25796 * posix/getconf.c (print_all): Likewise.
25797 (main): Likewise.
25798 * posix/getopt.c (exchange): Likewise.
25799 * posix/glob.c (globfree): Likewise.
25800 (prefix_array): Likewise.
25801 (__glob_pattern_type): Likewise.
25802 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25803 (NS_GET32): Likewise.
25804 (NS_PUT16): Likewise.
25805 (NS_PUT32): Likewise.
25806 * resolv/gethnamaddr.c (getanswer): Likewise.
25807 (gethostbyname2): Likewise.
25808 (gethostbyaddr): Likewise.
25809 (_gethtent): Likewise.
25810 (_gethtbyname2): Likewise.
25811 (_gethtbyaddr): Likewise.
25812 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25813 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25814 * resolv/res_init.c (__res_vinit): Likewise.
25815 (net_mask): Likewise.
25816 * resolv/res_mkquery.c (outchar): Likewise.
25817 (PRINT): Likewise.
25818 * stdio-common/printf_fp.c (outchar): Likewise.
25819 (PRINT): Likewise.
25820 * stdio-common/printf_fphex.c (outchar): Likewise.
25821 (PRINT): Likewise.
25822 * stdio-common/printf_size.c (outchar): Likewise.
25823 (PRINT): Likewise.
25824 * stdio-common/test_rdwr.c (main): Likewise.
25825 * stdio-common/tfformat.c (matches): Likewise.
25826 * stdio-common/vfprintf.c (outchar): Likewise.
25827 (printf_unknown): Likewise.
25828 (buffered_vfprintf): Likewise.
25829 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25830 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25831 (ReadFile): Likewise.
25832 * stdlib/qsort.c (SWAP): Likewise.
25833 (_quicksort): Likewise.
25834 * stdlib/setenv.c (__add_to_environ): Likewise.
25835 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25836 * stdlib/strtol_l.c (__strtol_l): Likewise.
25837 * stdlib/tst-strtod.c (main): Likewise.
25838 * stdlib/tst-strtol.c (main): Likewise.
25839 * stdlib/tst-strtoll.c (main): Likewise.
25840 * string/bits/string2.h (__strcmp_cc): Likewise.
25841 (__strcmp_cg): Likewise.
25842 (__strcspn_c1): Likewise.
25843 (__strcspn_c2): Likewise.
25844 (__strcspn_c3): Likewise.
25845 (__strspn_c1): Likewise.
25846 (__strspn_c2): Likewise.
25847 (__strspn_c3): Likewise.
25848 (__strsep_1c): Likewise.
25849 (__strsep_2c): Likewise.
25850 (__strsep_3c): Likewise.
25851 * string/memccpy.c (__memccpy): Likewise.
25852 * string/stpcpy.c (__stpcpy): Likewise.
25853 * string/strcmp.c (strcmp): Likewise.
25854 * string/strrchr.c (strrchr): Likewise.
25855 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25856 Likewise.
25857 * sysdeps/mach/hurd/getcwd.c
25858 (_hurd_canonicalize_directory_name_internal): Likewise.
25859 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25860 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25861 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25862 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25863 Likewise, in both definitions.
25864 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25865 definitions.
25866 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25867 64] (__bswap_64): Likewise.
25868 * time/test_time.c (main): Likewise.
25869 * time/tzfile.c (__tzfile_read): Likewise.
25870 (__tzfile_compute): Likewise.
25871 * time/tzset.c (__tzset_parse_tz): Likewise.
25872 (tzset_internal): Likewise.
25873 (compute_change): Likewise.
25874 * wcsmbs/wcscat.c (__wcscat): Likewise.
25875 * wcsmbs/wcschr.c (wcschr): Likewise.
25876 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25877 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25878 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25879 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25880 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25881 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25882 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25883 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25884 * wcsmbs/wmemset.c (wmemset): Likewise.
25885
9e54314b
JM
258862013-06-06 Joseph Myers <joseph@codesourcery.com>
25887
25888 * scripts/config.guess: Update to version 2013-05-16.
25889 * scripts/config.sub: Update to version 2013-04-24.
25890 * scripts/install-sh: Update to version 2011-11-20.07.
25891 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25892 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25893
350635a5
OB
258942013-06-06 Ondřej Bílka <neleai@seznam.cz>
25895
25896 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25897 * elf/sln.c: Likewise.
25898 * hurd/hurd/ioctl.h: Likewise.
25899 * hurd/hurdmalloc.c: Likewise.
25900 * hurd/xattr.c: Likewise.
25901 * include/shlib-compat.h: Likewise.
25902 * inet/ruserpass.c: Likewise.
25903 * libio/iofgets_u.c: Likewise.
25904 * libio/iofgetws_u.c: Likewise.
25905 * locale/programs/ld-identification.c: Likewise.
25906 * locale/programs/ld-time.c: Likewise.
25907 * mach/msg-destroy.c: Likewise.
25908 * nss/nss_files/files-netgrp.c: Likewise.
25909 * resolv/res_data.c: Likewise.
25910 * soft-fp/op-1.h: Likewise.
25911 * soft-fp/op-2.h: Likewise.
25912 * soft-fp/op-4.h: Likewise.
25913 * soft-fp/op-common.h: Likewise.
25914 * stdio-common/printf_fphex.c: Likewise.
25915 * stdlib/strtod_l.c: Likewise.
25916 * sunrpc/rpc/clnt.h: Likewise.
25917 * sysdeps/generic/framestate.c: Likewise.
25918 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25919 * sysdeps/i386/bsd-setjmp.S: Likewise.
25920 * sysdeps/i386/__longjmp.S: Likewise.
25921 * sysdeps/i386/setjmp.S: Likewise.
25922 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25939 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25940 * sysdeps/ieee754/support.c: Likewise.
25941 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25942 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25943 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25944 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25945 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25946 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25947 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25948 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25949 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25950 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25951 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25952 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25953 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25954 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25955 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25956 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25957 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25959
44a988af
OB
259602013-06-05 Ondřej Bílka <neleai@seznam.cz>
25961
25506f09 25962 * posix/transbug.c: Remove executable mode.
44a988af 25963
9c84384c
JM
259642013-06-05 Joseph Myers <joseph@codesourcery.com>
25965
25966 * crypt/speeds.c: Remove trailing whitespace.
25967 * dlfcn/default.c: Likewise.
25968 * elf/ifuncdep2.c: Likewise.
25969 * elf/ifuncmain1.c: Likewise.
25970 * elf/ifuncmain1vis.c: Likewise.
25971 * elf/testobj.h: Likewise.
25972 * elf/tst-stackguard1.c: Likewise.
25973 * gmon/sys/gmon.h: Likewise.
25974 * hurd/hurdmsg.c: Likewise.
25975 * hurd/new-fd.c: Likewise.
25976 * hurd/ports-get.c: Likewise.
25977 * iconvdata/ibm1008_420.c: Likewise.
25978 * inet/tst-getni1.c: Likewise.
25979 * inet/tst-getni2.c: Likewise.
25980 * libio/ioungetc.c: Likewise.
25981 * libio/wfiledoalloc.c: Likewise.
25982 * manual/libm-err-tab.pl: Likewise.
25983 * math/w_dremf.c: Likewise.
25984 * misc/ftruncate.c: Likewise.
25985 * posix/bug-glob2.c: Likewise.
25986 * posix/tst-pcre.c: Likewise.
25987 * posix/wait4.c: Likewise.
25988 * resolv/README: Likewise.
25989 * resolv/res_debug.h: Likewise.
25990 * resolv/tst-inet_ntop.c: Likewise.
25991 * setjmp/bug269-setjmp.c: Likewise.
25992 * soft-fp/extended.h: Likewise.
25993 * soft-fp/op-1.h: Likewise.
25994 * soft-fp/op-2.h: Likewise.
25995 * soft-fp/op-4.h: Likewise.
25996 * soft-fp/op-8.h: Likewise.
25997 * soft-fp/testit.c: Likewise.
25998 * stdio-common/bug16.c: Likewise.
25999 * stdlib/random.c: Likewise.
26000 * sunrpc/rpcsvc/rquota.x: Likewise.
26001 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26002 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26003 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26004 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26005 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26006 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26007 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26008 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26009 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26010 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26011 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26012 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26028 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26030 * sysdeps/ieee754/s_lib_version.c: Likewise.
26031 * sysdeps/mach/hurd/check_fds.c: Likewise.
26032 * sysdeps/mach/hurd/getsockname.c: Likewise.
26033 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26034 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26035 * sysdeps/powerpc/bits/link.h: Likewise.
26036 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26037 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26038 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26039 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26040 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26041 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26042 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26043 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26044 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26045 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26046 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26047 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26048 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26050 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26051 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26053 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26055 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26056 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26057 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26059 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26060 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26063 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26064 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26068 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26069 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26070 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26071 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26072 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26073 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26074 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26075 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26077 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26078 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26079 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26082 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26083 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26084 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26085 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26089 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26091 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26092 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26094 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26095 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26096 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26097 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26098 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26099 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26100 * sysdeps/powerpc/sysdep.h: Likewise.
26101 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26102 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26103 * sysdeps/sh/dl-trampoline.S: Likewise.
26104 * sysdeps/sh/memset.S: Likewise.
26105 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26106 * sysdeps/sh/strlen.S: Likewise.
26107 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26108 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26109 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26110 * sysdeps/sparc/sparc32/rem.S: Likewise.
26111 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26112 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26113 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26114 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26115 * sysdeps/sparc/sparc32/urem.S: Likewise.
26116 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26118 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26119 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26121 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26122 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26123 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26124 * sysdeps/unix/bsd/times.c: Likewise.
26125 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26126 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26130 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26131 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26132 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26133 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26134 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26135 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26136 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26137 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26138 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26139 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26140 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26142 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26143 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26144 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26145 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26146 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26147 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26148 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26149 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26150 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26152 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26153 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26154 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26155 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26156 * sysdeps/x86_64/strcspn.S: Likewise.
26157
869378a5
RA
261582013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26159
26160 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26161 generated file. Regenerate properly from gen-translit.pl.
26162 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26163 locale/C-translit.h.
26164
840e2943
AS
261652013-06-05 Andreas Schwab <schwab@suse.de>
26166
26167 [BZ #15100]
26168 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26169 week as 6 instead of -1.
26170 * time/tst-strptime.c (day_tests): Add test case.
26171
4c60cb0c
SP
261722013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26173
26174 * sysdeps/generic/math_private.h
26175 (libc_feholdexcept_setround_53bit): Replace with
26176 libc_feholdsetround_53bit.
26177 (libc_feupdateenv_53bit): Replace with
26178 libc_feresetround_53bit.
26179 (SET_RESTORE_ROUND_53BIT): Adjust.
26180
d180203e
SP
261812013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26182
96df079a
SP
26183 * string/test-strchrnul.c: Add copyright header.
26184
d180203e
SP
26185 * posix/tst-getaddrinfo4.c: Increase test timeout.
26186
8b0ccb2d
CD
261872013-06-03 Carlos O'Donell <carlos@redhat.com>
26188
26189 [BZ #15536]
26190 * math/libm-test.inc (MAX_EXP): Remove
26191 (MIN_EXP): Define.
26192 (ulp): Use MIN_EXP - MANT_DIG.
26193 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26194
3b3c4d40
CD
261952013-05-31 Carlos O'Donell <carlos@redhat.com>
26196
26197 * po/be.po: Revert last change.
26198 * po/zh_CN.po: Likewise.
26199 * po/header.pot: Likewise.
26200
fab7ce3f
JM
262012013-05-31 Joseph Myers <joseph@codesourcery.com>
26202
26203 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26204 link-libc-deps to empty as target-specific variable.
26205 * Makerules (link-libc-args): New variable.
26206 (libc-for-link): Likewise.
26207 (link-libc-deps): Likewise.
26208 (lib%.so): Depend on $(link-libc-deps). Link with
26209 $(link-libc-args).
26210 (build-module): Link with $(link-libc-args).
26211 (build-module-asneeded): Likewise.
26212 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26213 list of objects.
26214 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26215 target-specific variable.
26216 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26217 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26218 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26219 libc.
26220 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26221 libc and ld.so.
26222 ($(objpfx)libpcprofile.so): Likewise.
26223 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26224 libc_nonshared.a.
26225 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26226 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26227 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26228 $(link-libc-deps).
26229 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26230 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26231 * login/Makefile ($(objpfx)libutil.so): Likewise.
26232 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26233 * math/Makefile ($(objpfx)libm.so): Likewise.
26234 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26235 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26236 variable instead of depending directly on libc.
26237 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26238 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26239 $(link-libc-deps).
26240 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26241 libc.
26242 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26243 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26244 ($(objpfx)libanl.so): Likewise.
26245 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26246 ld.so.
26247 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26248 $(link-libc-deps).
26249 * sysdeps/i386/fpu/Makefile: Remove file.
26250 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26251 ($(objpfx)libm.so): Remove dependency on ld.so.
26252
eca5920c
PF
262532013-05-30 Patsy Franklin <pfrankli@redhat.com>
26254
26255 [BZ # 15553]
26256 * nis/yp_xdr.c (XDRMAXNAME): Define.
26257 (XDRMAXRECORD): Define.
26258 (xdr_domainname): Use XDRMAXNAME.
26259 (xdr_mapname): Likewise.
26260 (xdr_peername): Likewise.
26261 (xdr_keydat): Use XDRMAXRECORD.
26262 (xdr_valdat): Likewise.
26263
262642013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26265
26266 [BZ #14256]
26267 * manual/errno.texi (ESTALE): Update to account for more than
26268 just NFS file systems.
26269 * sysdeps/gnu/errlist.c: Regenerated.
26270
b9375348
SP
262712013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26272
26273 [BZ #15465]
26274 * elf/Makefile (tests): Add tst-null-argv.
26275 (modules-names): Add tst-null-argv-lib.
26276 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26277 (tst-null-argv-ENV): Set environment for tst-null-argv.
26278 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26279 (RTLD_PROGNAME): New macro.
26280 * elf/tst-null-argv.c: New test case.
26281 * elf/tst-null-argv-lib.c: Library for test case.
26282 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26283 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26284 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26285 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26286 * elf/dl-init.c (call_init): Likewise.
26287 (_dl_init): Likewise.
26288 * elf/dl-load.c (print_search_path): Likewise.
26289 (_dl_map_object): Likewise.
26290 * elf/dl-lookup.c (do_lookup_x): Likewise.
26291 (add_dependency): Likewise.
26292 (_dl_lookup_symbol_x): Likewise.
26293 (_dl_debug_bindings): Likewise.
26294 * elf/dl-open.c (_dl_show_scope): Likewise.
26295 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26296 * elf/dl-version.c (match_symbol): Likewise.
26297 (_dl_check_map_versions): Likewise.
26298 * elf/rtld.c (dl_main): Likewise.
26299 (print_unresolved): Use RTLD_PROGNAME.
26300 (print_missing_version): Likewise.
26301 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26302 (elf_machine_rela): Likewise.
26303 * sysdeps/powerpc/powerpc32/dl-machine.c
26304 (__process_machine_rela): Likewise.
26305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26306 Likewise.
26307 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26308 Likewise.
26309 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26310 Likewise.
26311 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26312 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26313 Likewise.
26314 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26315 Likewise.
26316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26317
8a9f20c8
CD
263182013-05-28 Carlos O'Donell <carlos@redhat.com>
26319
26320 * po/be.po: Add descriptive title.
26321 * po/zh_CN.po: Likewise.
26322 * po/header.pot: Likewise.
26323
0e60d68e
MF
263242013-05-28 Mike Frysinger <vapier@gentoo.org>
26325
26326 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26327 error message.
26328 (enlarge_archive): Likewise.
26329
56b672e9
BN
263302013-05-28 Ben North <ben@redfrontdoor.org>
26331
26332 * manual/arith.texi (frexp): It is the magnitude of the return
26333 value which lies in [0.5, 1), not the return value itself.
26334
5e056687
AZ
263352013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26336
26337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26338
2b66ef5d
TS
263392013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26340
528c2405
TS
26341 * stdio-common/bug26.c (main): Correct fscanf template.
26342
07b4c13d
TS
26343 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26344 declare _dl_skip_args.
26345
ec9dd97c
TS
26346 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26347 Don't declare.
26348
2b66ef5d
TS
26349 * manual/platform.texi: Add missing @end deftypefun.
26350
4f8dfe27
JM
263512013-05-24 Joseph Myers <joseph@codesourcery.com>
26352
0323d086
JM
26353 [BZ #15529]
26354 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26355 bit of mantissa of 2^16382.
26356 * math/libm-test.inc (hypot_test_data): Add more tests.
26357
dd4259b9
JM
26358 * math/libm-test.inc: Add drem and pow10 to list of tested
26359 functions.
26360 (pow10_test): New function.
26361 (drem_test): Likewise.
26362 (drem_test_tonearest): Likewise.
26363 (drem_test_towardzero): Likewise.
26364 (drem_test_downward): Likewise.
26365 (drem_test_upward): Likewise.
26366 (main): Call the new functions.
26367
4f8dfe27
JM
26368 * math/libm-test.inc (finite_test_data): Remove.
26369 (finite_test): Run tests from isfinite_test_data.
26370 (gamma_test_data): Remove.
26371 (gamma_test): Run tests from lgamma_test_data.
26372 * sysdeps/i386/fpu/libm-test-ulps: Update.
26373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26374
d116b7c4
AZ
263752013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26376
26377 * manual/platform.texi: Add PowerPC PPR function set documentation.
26378 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26379 implementation.
26380
e96e3767
CD
263812013-05-24 Carlos O'Donell <carlos@redhat.com>
26382
26383 * math/libm-test.inc (MAX_EXP): Define.
26384 (ULPDIFF): Define.
26385 (ulp): New function.
26386 (check_float_internal): Use ULPDIFF.
26387 (cpow_test): Disable failing test.
26388 (check_ulp): Test ulp() implemetnation.
26389 (main): Call check_ulp before starting tests.
26390
b679a606
JM
263912013-05-24 Joseph Myers <joseph@codesourcery.com>
26392
e8bdba36
JM
26393 * math/gen-libm-test.pl (generate_testfile): Do not handle
26394 START_DATA and END_DATA.
26395 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26396 END_DATA.
26397 (acos_tonearest_test_data): Likewise.
26398 (acos_towardzero_test_data): Likewise.
26399 (acos_downward_test_data): Likewise.
26400 (acos_upward_test_data): Likewise.
26401 (acosh_test_data): Likewise.
26402 (asin_test_data): Likewise.
26403 (asin_tonearest_test_data): Likewise.
26404 (asin_towardzero_test_data): Likewise.
26405 (asin_downward_test_data): Likewise.
26406 (asin_upward_test_data): Likewise.
26407 (asinh_test_data): Likewise.
26408 (atan_test_data): Likewise.
26409 (atanh_test_data): Likewise.
26410 (atan2_test_data): Likewise.
26411 (cabs_test_data): Likewise.
26412 (cacos_test_data): Likewise.
26413 (cacosh_test_data): Likewise.
26414 (carg_test_data): Likewise.
26415 (casin_test_data): Likewise.
26416 (casinh_test_data): Likewise.
26417 (catan_test_data): Likewise.
26418 (catanh_test_data): Likewise.
26419 (cbrt_test_data): Likewise.
26420 (ccos_test_data): Likewise.
26421 (ccosh_test_data): Likewise.
26422 (ceil_test_data): Likewise.
26423 (cexp_test_data): Likewise.
26424 (cimag_test_data): Likewise.
26425 (clog_test_data): Likewise.
26426 (clog10_test_data): Likewise.
26427 (conj_test_data): Likewise.
26428 (copysign_test_data): Likewise.
26429 (cos_test_data): Likewise.
26430 (cos_tonearest_test_data): Likewise.
26431 (cos_towardzero_test_data): Likewise.
26432 (cos_downward_test_data): Likewise.
26433 (cos_upward_test_data): Likewise.
26434 (cosh_test_data): Likewise.
26435 (cosh_tonearest_test_data): Likewise.
26436 (cosh_towardzero_test_data): Likewise.
26437 (cosh_downward_test_data): Likewise.
26438 (cosh_upward_test_data): Likewise.
26439 (cpow_test_data): Likewise.
26440 (cproj_test_data): Likewise.
26441 (creal_test_data): Likewise.
26442 (csin_test_data): Likewise.
26443 (csinh_test_data): Likewise.
26444 (csqrt_test_data): Likewise.
26445 (ctan_test_data): Likewise.
26446 (ctan_tonearest_test_data): Likewise.
26447 (ctan_towardzero_test_data): Likewise.
26448 (ctan_downward_test_data): Likewise.
26449 (ctan_upward_test_data): Likewise.
26450 (ctanh_test_data): Likewise.
26451 (ctanh_tonearest_test_data): Likewise.
26452 (ctanh_towardzero_test_data): Likewise.
26453 (ctanh_downward_test_data): Likewise.
26454 (ctanh_upward_test_data): Likewise.
26455 (erf_test_data): Likewise.
26456 (erfc_test_data): Likewise.
26457 (exp_test_data): Likewise.
26458 (exp_tonearest_test_data): Likewise.
26459 (exp_towardzero_test_data): Likewise.
26460 (exp_downward_test_data): Likewise.
26461 (exp_upward_test_data): Likewise.
26462 (exp10_test_data): Likewise.
26463 (exp2_test_data): Likewise.
26464 (expm1_test_data): Likewise.
26465 (fabs_test_data): Likewise.
26466 (fdim_test_data): Likewise.
26467 (finite_test_data): Likewise.
26468 (floor_test_data): Likewise.
26469 (fma_test_data): Likewise.
26470 (fma_towardzero_test_data): Likewise.
26471 (fma_downward_test_data): Likewise.
26472 (fma_upward_test_data): Likewise.
26473 (fmax_test_data): Likewise.
26474 (fmin_test_data): Likewise.
26475 (fmod_test_data): Likewise.
26476 (fpclassify_test_data): Likewise.
26477 (frexp_test_data): Likewise.
26478 (gamma_test_data): Likewise.
26479 (hypot_test_data): Likewise.
26480 (ilogb_test_data): Likewise.
26481 (isfinite_test_data): Likewise.
26482 (isgreater_test_data): Likewise.
26483 (isgreaterequal_test_data): Likewise.
26484 (isinf_test_data): Likewise.
26485 (isless_test_data): Likewise.
26486 (islessequal_test_data): Likewise.
26487 (islessgreater_test_data): Likewise.
26488 (isnan_test_data): Likewise.
26489 (isnormal_test_data): Likewise.
26490 (issignaling_test_data): Likewise.
26491 (isunordered_test_data): Likewise.
26492 (j0_test_data): Likewise.
26493 (j1_test_data): Likewise.
26494 (jn_test_data): Likewise.
26495 (ldexp_test_data): Likewise.
26496 (lgamma_test_data): Likewise.
26497 (lrint_test_data): Likewise.
26498 (lrint_tonearest_test_data): Likewise.
26499 (lrint_towardzero_test_data): Likewise.
26500 (lrint_downward_test_data): Likewise.
26501 (lrint_upward_test_data): Likewise.
26502 (llrint_test_data): Likewise.
26503 (llrint_tonearest_test_data): Likewise.
26504 (llrint_towardzero_test_data): Likewise.
26505 (llrint_downward_test_data): Likewise.
26506 (llrint_upward_test_data): Likewise.
26507 (log_test_data): Likewise.
26508 (log10_test_data): Likewise.
26509 (log1p_test_data): Likewise.
26510 (log2_test_data): Likewise.
26511 (logb_test_data): Likewise.
26512 (logb_downward_test_data): Likewise.
26513 (lround_test_data): Likewise.
26514 (llround_test_data): Likewise.
26515 (modf_test_data): Likewise.
26516 (nearbyint_test_data): Likewise.
26517 (nextafter_test_data): Likewise.
26518 (nexttoward_test_data): Likewise.
26519 (pow_test_data): Likewise.
26520 (pow_tonearest_test_data): Likewise.
26521 (pow_towardzero_test_data): Likewise.
26522 (pow_downward_test_data): Likewise.
26523 (pow_upward_test_data): Likewise.
26524 (remainder_test_data): Likewise.
26525 (remainder_tonearest_test_data): Likewise.
26526 (remainder_towardzero_test_data): Likewise.
26527 (remainder_downward_test_data): Likewise.
26528 (remainder_upward_test_data): Likewise.
26529 (remquo_test_data): Likewise.
26530 (rint_test_data): Likewise.
26531 (rint_tonearest_test_data): Likewise.
26532 (rint_towardzero_test_data): Likewise.
26533 (rint_downward_test_data): Likewise.
26534 (rint_upward_test_data): Likewise.
26535 (round_test_data): Likewise.
26536 (scalb_test_data): Likewise.
26537 (scalbn_test_data): Likewise.
26538 (scalbln_test_data): Likewise.
26539 (signbit_test_data): Likewise.
26540 (sin_test_data): Likewise.
26541 (sin_tonearest_test_data): Likewise.
26542 (sin_towardzero_test_data): Likewise.
26543 (sin_downward_test_data): Likewise.
26544 (sin_upward_test_data): Likewise.
26545 (sincos_test_data): Likewise.
26546 (sinh_test_data): Likewise.
26547 (sinh_tonearest_test_data): Likewise.
26548 (sinh_towardzero_test_data): Likewise.
26549 (sinh_downward_test_data): Likewise.
26550 (sinh_upward_test_data): Likewise.
26551 (sqrt_test_data): Likewise.
26552 (tan_test_data): Likewise.
26553 (tan_tonearest_test_data): Likewise.
26554 (tan_towardzero_test_data): Likewise.
26555 (tan_downward_test_data): Likewise.
26556 (tan_upward_test_data): Likewise.
26557 (tanh_test_data): Likewise.
26558 (tgamma_test_data): Likewise.
26559 (trunc_test_data): Likewise.
26560 (y0_test_data): Likewise.
26561 (y1_test_data): Likewise.
26562 (yn_test_data): Likewise.
26563 (significand_test_data): Likewise.
26564
b679a606
JM
26565 * math/gen-libm-test.pl (@functions): Remove variable.
26566 (generate_testfile): Don't handle START and END lines.
26567 * math/libm-test.inc (START): New macro.
26568 (END): Likewise.
26569 (END_COMPLEX): Likewise.
26570 (acos_test): Use END macro without arguments.
26571 (acos_test_tonearest): Likewise.
26572 (acos_test_towardzero): Likewise.
26573 (acos_test_downward): Likewise.
26574 (acos_test_upward): Likewise.
26575 (acosh_test): Likewise.
26576 (asin_test): Likewise.
26577 (asin_test_tonearest): Likewise.
26578 (asin_test_towardzero): Likewise.
26579 (asin_test_downward): Likewise.
26580 (asin_test_upward): Likewise.
26581 (asinh_test): Likewise.
26582 (atan_test): Likewise.
26583 (atanh_test): Likewise.
26584 (atan2_test): Likewise.
26585 (cabs_test): Likewise.
26586 (cacos_test): Use END_COMPLEX macro without arguments.
26587 (cacosh_test): Likewise.
26588 (carg_test): Use END macro without arguments.
26589 (casin_test): Use END_COMPLEX macro without arguments.
26590 (casinh_test): Likewise.
26591 (catan_test): Likewise.
26592 (catanh_test): Likewise.
26593 (cbrt_test): Use END macro without arguments.
26594 (ccos_test): Use END_COMPLEX macro without arguments.
26595 (ccosh_test): Likewise.
26596 (ceil_test): Use END macro without arguments.
26597 (cexp_test): Use END_COMPLEX macro without arguments.
26598 (cimag_test): Use END macro without arguments.
26599 (clog_test): Use END_COMPLEX macro without arguments.
26600 (clog10_test): Likewise.
26601 (conj_test): Likewise.
26602 (copysign_test): Use END macro without arguments.
26603 (cos_test): Likewise.
26604 (cos_test_tonearest): Likewise.
26605 (cos_test_towardzero): Likewise.
26606 (cos_test_downward): Likewise.
26607 (cos_test_upward): Likewise.
26608 (cosh_test): Likewise.
26609 (cosh_test_tonearest): Likewise.
26610 (cosh_test_towardzero): Likewise.
26611 (cosh_test_downward): Likewise.
26612 (cosh_test_upward): Likewise.
26613 (cpow_test): Use END_COMPLEX macro without arguments.
26614 (cproj_test): Likewise.
26615 (creal_test): Use END macro without arguments.
26616 (csin_test): Use END_COMPLEX macro without arguments.
26617 (csinh_test): Likewise.
26618 (csqrt_test): Likewise.
26619 (ctan_test): Likewise.
26620 (ctan_test_tonearest): Likewise.
26621 (ctan_test_towardzero): Likewise.
26622 (ctan_test_downward): Likewise.
26623 (ctan_test_upward): Likewise.
26624 (ctanh_test): Likewise.
26625 (ctanh_test_tonearest): Likewise.
26626 (ctanh_test_towardzero): Likewise.
26627 (ctanh_test_downward): Likewise.
26628 (ctanh_test_upward): Likewise.
26629 (erf_test): Use END macro without arguments.
26630 (erfc_test): Likewise.
26631 (exp_test): Likewise.
26632 (exp_test_tonearest): Likewise.
26633 (exp_test_towardzero): Likewise.
26634 (exp_test_downward): Likewise.
26635 (exp_test_upward): Likewise.
26636 (exp10_test): Likewise.
26637 (exp2_test): Likewise.
26638 (expm1_test): Likewise.
26639 (fabs_test): Likewise.
26640 (fdim_test): Likewise.
26641 (finite_test): Likewise.
26642 (floor_test): Likewise.
26643 (fma_test): Likewise.
26644 (fma_test_towardzero): Likewise.
26645 (fma_test_downward): Likewise.
26646 (fma_test_upward): Likewise.
26647 (fmax_test): Likewise.
26648 (fmin_test): Likewise.
26649 (fmod_test): Likewise.
26650 (fpclassify_test): Likewise.
26651 (frexp_test): Likewise.
26652 (gamma_test): Likewise.
26653 (hypot_test): Likewise.
26654 (ilogb_test): Likewise.
26655 (isfinite_test): Likewise.
26656 (isgreater_test): Likewise.
26657 (isgreaterequal_test): Likewise.
26658 (isinf_test): Likewise.
26659 (isless_test): Likewise.
26660 (islessequal_test): Likewise.
26661 (islessgreater_test): Likewise.
26662 (isnan_test): Likewise.
26663 (isnormal_test): Likewise.
26664 (issignaling_test): Likewise.
26665 (isunordered_test): Likewise.
26666 (j0_test): Likewise.
26667 (j1_test): Likewise.
26668 (jn_test): Likewise.
26669 (ldexp_test): Likewise.
26670 (lgamma_test): Likewise.
26671 (lrint_test): Likewise.
26672 (lrint_test_tonearest): Likewise.
26673 (lrint_test_towardzero): Likewise.
26674 (lrint_test_downward): Likewise.
26675 (lrint_test_upward): Likewise.
26676 (llrint_test): Likewise.
26677 (llrint_test_tonearest): Likewise.
26678 (llrint_test_towardzero): Likewise.
26679 (llrint_test_downward): Likewise.
26680 (llrint_test_upward): Likewise.
26681 (log_test): Likewise.
26682 (log10_test): Likewise.
26683 (log1p_test): Likewise.
26684 (log2_test): Likewise.
26685 (logb_test): Likewise.
26686 (logb_test_downward): Likewise.
26687 (lround_test): Likewise.
26688 (llround_test): Likewise.
26689 (modf_test): Likewise.
26690 (nearbyint_test): Likewise.
26691 (nextafter_test): Likewise.
26692 (nexttoward_test): Likewise.
26693 (pow_test): Likewise.
26694 (pow_test_tonearest): Likewise.
26695 (pow_test_towardzero): Likewise.
26696 (pow_test_downward): Likewise.
26697 (pow_test_upward): Likewise.
26698 (remainder_test): Likewise.
26699 (remainder_test_tonearest): Likewise.
26700 (remainder_test_towardzero): Likewise.
26701 (remainder_test_downward): Likewise.
26702 (remainder_test_upward): Likewise.
26703 (remquo_test): Likewise.
26704 (rint_test): Likewise.
26705 (rint_test_tonearest): Likewise.
26706 (rint_test_towardzero): Likewise.
26707 (rint_test_downward): Likewise.
26708 (rint_test_upward): Likewise.
26709 (round_test): Likewise.
26710 (scalb_test): Likewise.
26711 (scalbn_test): Likewise.
26712 (scalbln_test): Likewise.
26713 (signbit_test): Likewise.
26714 (sin_test): Likewise.
26715 (sin_test_tonearest): Likewise.
26716 (sin_test_towardzero): Likewise.
26717 (sin_test_downward): Likewise.
26718 (sin_test_upward): Likewise.
26719 (sincos_test): Likewise.
26720 (sinh_test): Likewise.
26721 (sinh_test_tonearest): Likewise.
26722 (sinh_test_towardzero): Likewise.
26723 (sinh_test_downward): Likewise.
26724 (sinh_test_upward): Likewise.
26725 (sqrt_test): Likewise.
26726 (tan_test): Likewise.
26727 (tan_test_tonearest): Likewise.
26728 (tan_test_towardzero): Likewise.
26729 (tan_test_downward): Likewise.
26730 (tan_test_upward): Likewise.
26731 (tanh_test): Likewise.
26732 (tgamma_test): Likewise.
26733 (trunc_test): Likewise.
26734 (y0_test): Likewise.
26735 (y1_test): Likewise.
26736 (yn_test): Likewise.
26737 (significand_test): Likewise.
26738
bae143d2
OB
267392013-05-24 Ondřej Bílka <neleai@seznam.cz>
26740
26741 [BZ #15381]
26742 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26743
9323d39b
EM
267442013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26745
d4ea44a0 26746 [BZ #14894]
9323d39b
EM
26747 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26748 __ppc_mdoio and __ppc_mdoom.
26749 * manual/platform.texi: Document new functions __ppc_yield,
26750 __ppc_mdoio and __ppc_mdoom.
26751
13e23af7
CD
267522013-05-22 Carlos O'Donell <carlos@redhat.com>
26753
26754 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26755 (main): Mention "tls" pseudo-hwcap is legacy.
26756 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26757
351fe550
JM
267582013-05-22 Joseph Myers <joseph@codesourcery.com>
26759
26760 * math/gen-libm-test.pl (parse_args): Output only string of
26761 arguments as text for test name, not full call or descriptions of
26762 tests for extra outputs.
26763 (generate_testfile): Do not pass function name to parse_args.
26764 Generate this_func variable from START.
26765 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26766 field to arg_str.
26767 (struct test_ff_f_data): Likewise.
26768 (test_ff_f_data_nexttoward): Likewise.
26769 (struct test_fi_f_data): Likewise.
26770 (struct test_fl_f_data): Likewise.
26771 (struct test_if_f_data): Likewise.
26772 (struct test_fff_f_data): Likewise.
26773 (struct test_c_f_data): Likewise.
26774 (struct test_f_f1_data): Likewise. Remove field extra_name.
26775 (struct test_fF_f1_data): Likewise.
26776 (struct test_ffI_f1_data): Likewise.
26777 (struct test_c_c_data): Rename test_name field to arg_str.
26778 (struct test_cc_c_data): Likewise.
26779 (struct test_f_i_data): Likewise.
26780 (struct test_ff_i_data): Likewise.
26781 (struct test_f_l_data): Likewise.
26782 (struct test_f_L_data): Likewise.
26783 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26784 and extra2_name.
26785 (COMMON_TEST_SETUP): New macro.
26786 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26787 (COMMON_TEST_CLEANUP): Likewise.
26788 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26789 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26790 macros.
26791 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26792 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26793 macros.
26794 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26795 (RUN_TEST_fff_f): Take argument string. Call new setup and
26796 cleanup macros.
26797 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26798 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26799 macros.
26800 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26801 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26802 macros.
26803 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26804 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26805 cleanup macros.
26806 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26807 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26808 cleanup macros.
26809 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26810 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26811 cleanup macros.
26812 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26813 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26814 macros.
26815 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26816 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26817 macros.
26818 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26819 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26820 macros.
26821 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26822 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26823 cleanup macros.
26824 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26825 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26826 cleanup macros.
26827 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26828 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26829 macros.
26830 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26831 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26832 cleanup macros.
26833 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26834 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26835 macros.
26836 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26837 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26838 macros.
26839 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26840 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26841 cleanup macros.
26842 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26843
85118d4d
EBM
268442013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26845
26846 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26847 to _sifields.sigfault.
26848 (si_addr_lsb): Define new macro.
26849 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26850 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26851 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26852
7a44c18f
CD
268532013-05-03 Carlos O'Donell <carlos at redhat.com>
26854
26855 [BZ #15441]
26856 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26857 returns -1.
26858 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26859 null return -1.
26860 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26861 loading the domain.
26862
b50a7181
JM
268632013-05-22 Joseph Myers <joseph@codesourcery.com>
26864
26865 * math/gen-libm-test.pl (parse_args): Do not include expected
26866 result in test name.
26867 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26868 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26869 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26870 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26871 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26873
051063c8
SP
268742013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26875
3ce9e010
SP
26876 * benchtests/Makefile: Sort function entries.
26877
051063c8
SP
26878 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26879 tanh, asinh, acosh, atanh.
26880 * benchtests/acos-inputs: New file.
26881 * benchtests/acosh-inputs: New file.
26882 * benchtests/asin-inputs: New file.
26883 * benchtests/asinh-inputs: New file.
26884 * benchtests/atanh-inputs: New file.
26885 * benchtests/cosh-inputs: New file.
26886 * benchtests/log-inputs: New file.
26887 * benchtests/sinh-inputs: New file.
26888 * benchtests/tanh-inputs: New file.
26889
47c22455
DL
268902013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26891
26892 [BZ #15339]
26893 * posix/tst-getaddrinfo4.c: New test.
26894 * posix/Makefile (tests): Add it.
26895
3d04f5db
SP
268962013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26897
26898 [BZ #15339]
26899 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26900 when no services were used.
26901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26902 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26903
d5dd6189
AS
269042013-05-21 Andreas Schwab <schwab@suse.de>
26905
26906 [BZ #15014]
26907 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26908 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26909 successful.
26910 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26911 redundant variable declarations and reallocation of buffer when
26912 parsing as IPv6 address. Always set NSS status when called from
26913 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26914 buffer too small. Correct computation of needed size.
26915 * nss/Makefile (tests): Add test-digits-dots.
26916 * nss/test-digits-dots.c: New test.
26917
fef94eab
SP
269182013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26919
26920 * benchtests/Makefile: Remove instructions for adding
26921 benchmark tests.
26922 * benchtests/README: New file to explain how to execute and
26923 enhance the benchmark tests.
26924
e39adf43
AS
269252013-05-21 Andreas Schwab <schwab@suse.de>
26926
26927 [BZ #15493]
26928 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26929 * setjmp/tst-sigsetjmp.c: New test.
26930
b2b671b6
OB
269312013-05-20 Ondřej Bílka <neleai@seznam.cz>
26932
26933 * sysdeps/x86_64/memset.S (memset): New implementation.
26934 (__bzero): Likewise.
26935 (__memset_tail): New function.
26936
2d48b41c
OB
269372013-05-20 Ondřej Bílka <neleai@seznam.cz>
26938
26939 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26940 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26941 __memcpy_sse2_unaligned ifunc selection.
26942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26943 Add memcpy-sse2-unaligned.S.
26944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26945 Add: __memcpy_sse2_unaligned.
26946
f16cc3eb
JM
269472013-05-19 Joseph Myers <joseph@codesourcery.com>
26948
3e694268
JM
26949 [BZ #15490]
26950 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26951 math_force_eval before restoring floating-point envrionment.
26952 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26954 Likewise.
26955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26956 <math_private.h>.
26957 (__nearbyintl): Use math_force_eval before restoring
26958 floating-point environment.
26959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26960
db62a907
JM
26961 * math/gen-libm-test.pl (special_functions): Remove.
26962 (parse_args): Don't handle TEST_extra. Handle functions with no
26963 return value.
26964 * math/libm-test.inc (struct test_sincos_data): Replace with
26965 struct test_fFF_11_data.
26966 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26967 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26968 (sincos_test_data): Change element type to struct
26969 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26970 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26971 RUN_TEST_LOOP_sincos.
26972 * math/README.libm-test: Don't mention special handling of
26973 individual functions.
26974 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26978 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980
f16cc3eb
JM
26981 * math/gen-libm-test.pl (get_variable): Remove function.
26982 (parse_args): Don't show pointer parameters to call in test
26983 names. Use "extra output N" in test names for extra outputs
26984 rather than naming variables.
26985
3779b5b6
JM
269862013-05-18 Joseph Myers <joseph@codesourcery.com>
26987
2ee094ff
JM
26988 [BZ #15488]
26989 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26990 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26991 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26992 double tests.
26993 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26994 disable.
26995 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26996 check_long_double.
26997
3779b5b6
JM
26998 * math/gen-libm-test.pl (@tests): Remove variable.
26999 ($count): Likewise.
27000 (new_test): Remove function.
27001 (show_exceptions): New function.
27002 (special_functions): Use show_exceptions instead of new_test.
27003 (parse_args): Likewise.
27004 (generate_testfile): Pass only function name in generated call to
27005 print_max_error or print_complex_max_error.
27006 (get_ulps): Do not handle complex tests specially.
27007 (output_test): Rename to ...
27008 (get_all_ulps_for_test): ... this. Return a string rather than
27009 printing to a file. Require ulps to be present.
27010 (output_ulps): Generate arrays rather than #defines.
27011 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27012 (struct ulp_data): New type.
27013 (BUILD_COMPLEX_ULP): Remove macro.
27014 (compare_ulp_data): New function.
27015 (find_ulps): Likewise.
27016 (find_test_ulps): Likewise.
27017 (find_function_ulps): Likewise.
27018 (find_complex_function_ulps): Likewise.
27019 (print_max_error): Determine allowed ulps using
27020 find_function_ulps.
27021 (print_complex_max_error): Determine allowed ulps using
27022 find_complex_function_ulps.
27023 (check_float_internal): Determine max ulps using find_test_ulps.
27024 (check_float): Do not take max_ulp parameter. Update call to
27025 check_float_internal.
27026 (check_complex): Likewise.
27027 (check_int): Do not take max_ulp parameter.
27028 (check_long): Likewise.
27029 (check_bool): Likewise.
27030 (check_longlong): Likewise.
27031 (struct test_f_f_data): Remove max_ulp field.
27032 (struct test_ff_f_data): Likewise.
27033 (struct test_ff_f_data_nexttoward): Likewise.
27034 (struct test_fi_f_data): Likewise.
27035 (struct test_fl_f_data): Likewise.
27036 (struct test_if_f_data): Likewise.
27037 (struct test_fff_f_data): Likewise.
27038 (struct test_c_f_data): Likewise.
27039 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27040 (struct test_fF_f1_data): Likewise.
27041 (struct test_ffI_f1_data): Likewise.
27042 (struct test_c_c_data): Remove max_ulp field.
27043 (struct test_cc_c_data): Likewise.
27044 (struct test_f_i_data): Likewise.
27045 (struct test_ff_i_data): Likewise.
27046 (struct test_f_l_data): Likewise.
27047 (struct test_f_L_data): Likewise.
27048 (struct test_sincos_data): Likewise.
27049 (RUN_TEST_f_f): Do not handle ulps.
27050 (RUN_TEST_LOOP_f_f): Likewise.
27051 (RUN_TEST_2_f): Likewise.
27052 (RUN_TEST_LOOP_2_f): Likewise.
27053 (RUN_TEST_fff_f): Likewise.
27054 (RUN_TEST_LOOP_fff_f): Likewise.
27055 (RUN_TEST_c_f): Likewise.
27056 (RUN_TEST_LOOP_c_f): Likewise.
27057 (RUN_TEST_f_f1): Likewise.
27058 (RUN_TEST_LOOP_f_f1): Likewise.
27059 (RUN_TEST_fF_f1): Likewise.
27060 (RUN_TEST_LOOP_fF_f1): Likewise.
27061 (RUN_TEST_fI_f1): Likewise.
27062 (RUN_TEST_LOOP_fI_f1): Likewise.
27063 (RUN_TEST_ffI_f1): Likewise.
27064 (RUN_TEST_LOOP_ffI_f1): Likewise.
27065 (RUN_TEST_c_c): Likewise.
27066 (RUN_TEST_LOOP_c_c): Likewise.
27067 (RUN_TEST_cc_c): Likewise.
27068 (RUN_TEST_LOOP_cc_c): Likewise.
27069 (RUN_TEST_f_i): Likewise.
27070 (RUN_TEST_LOOP_f_i): Likewise.
27071 (RUN_TEST_f_i_tg): Likewise.
27072 (RUN_TEST_LOOP_f_i_tg): Likewise.
27073 (RUN_TEST_ff_i_tg): Likewise.
27074 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27075 (RUN_TEST_f_b): Likewise.
27076 (RUN_TEST_LOOP_f_b): Likewise.
27077 (RUN_TEST_f_b_tg): Likewise.
27078 (RUN_TEST_LOOP_f_b_tg): Likewise.
27079 (RUN_TEST_f_l): Likewise.
27080 (RUN_TEST_LOOP_f_l): Likewise.
27081 (RUN_TEST_f_L): Likewise.
27082 (RUN_TEST_LOOP_f_L): Likewise.
27083 (RUN_TEST_sincos): Likewise.
27084 (RUN_TEST_LOOP_sincos): Likewise.
27085
8269107f
JM
270862013-05-17 Joseph Myers <joseph@codesourcery.com>
27087
bb38759d
JM
27088 [BZ #15480]
27089 [BZ #15485]
27090 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27091 main case of finite arguments, set rounding mode to FE_TONEAREST
27092 and discard exceptions.
27093 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27094 exceptions.
27095 (remainder_tonearest_test_data): New variable.
27096 (remainder_test_tonearest): New function.
27097 (remainder_towardzero_test_data): New variable.
27098 (remainder_test_towardzero): New function.
27099 (remainder_downward_test_data): New variable.
27100 (remainder_test_downward): New function.
27101 (remainder_upward_test_data): New variable.
27102 (remainder_test_upward): New function.
27103 (main): Call the new test functions.
27104
a00bdcf0
JM
27105 * math/libm-test.inc (struct test_f_f1_data): Remove field
27106 extra_init.
27107 (struct test_fF_f1_data): Likewise.
27108 (struct test_ffI_f1_data): Likewise.
27109 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27110 based on value of EXTRA_EXPECTED.
27111 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27112 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27113 EXTRA_VAR based on value of EXTRA_EXPECTED.
27114 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27115 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27116 EXTRA_VAR based on value of EXTRA_EXPECTED.
27117 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27118 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27119 EXTRA_VAR based on value of EXTRA_EXPECTED.
27120 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27121 * math/gen-libm-test.pl (parse_args): Don't output initializers
27122 for extra output values.
27123
de407f79
JM
27124 * math/libm-test.inc (check_int): Expect result to be exactly
27125 equal to expected value and do not handle ulps.
27126 (check_long): Likewise.
27127 (check_longlong): Likewise.
27128
8269107f
JM
27129 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27130 exceptions.
27131 (cimag_test_data): Likewise.
27132 (conj_test_data): Likewise.
27133 (copysign_test_data): Likewise.
27134 (cproj_test_data): Likewise.
27135 (creal_test_data): Likewise.
27136 (fabs_test_data): Likewise.
27137 (fdim_test_data): Likewise.
27138 (finite_test_data): Likewise.
27139 (floor_test_data): Likewise.
27140 (fmax_test_data): Likewise.
27141 (fmin_test_data): Likewise.
27142 (fmod_test_data): Likewise.
27143 (fpclassify_test_data): Likewise.
27144 (frexp_test_data): Likewise.
27145 (ilogb_test_data): Likewise.
27146 (isfinite_test_data): Likewise.
27147 (isgreater_test_data): Likewise.
27148 (isgreaterequal_test_data): Likewise.
27149 (isinf_test_data): Likewise.
27150 (isless_test_data): Likewise.
27151 (islessequal_test_data): Likewise.
27152 (islessgreater_test_data): Likewise.
27153 (isnan_test_data): Likewise.
27154 (isnormal_test_data): Likewise.
27155 (issignaling_test_data): Likewise.
27156 (isunordered_test_data): Likewise.
27157 (ldexp_test_data): Likewise.
27158 (lrint_test_data): Likewise.
27159 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27160 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27161 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27162 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27163 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27164 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27165 test input.
27166 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27167 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27168 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27169 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27170 that test input.
27171 (lrint_downward_test_data): Test for "inexact" exceptions.
27172 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27173 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27174 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27175 test input.
27176 (lrint_upward_test_data): Test for "inexact" exceptions.
27177 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27178 test input.
27179 (llrint_test_data): Test for "inexact" exceptions.
27180 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27181 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27182 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27183 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27184 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27185 (llrint_downward_test_data): Test for "inexact" exceptions.
27186 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27187 (llrint_upward_test_data): Test for "inexact" exceptions.
27188 (logb_test_data): Likewise.
27189 (logb_downward_test_data): Likewise.
27190 (nextafter_test_data): Likewise.
27191 (nexttoward_test_data): Likewise.
27192 (remainder_test_data): Likewise.
27193 (remquo_test_data): Likewise.
27194 (scalbn_test_data): Likewise.
27195 (scalbln_test_data): Likewise.
27196 (signbit_test_data): Likewise.
27197 (sqrt_test_data): Likewise.
27198 (significand_test_data): Likewise.
27199
48a18de1
SP
272002013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27201
27202 [BZ #15424]
27203 * benchtests/bench-modf.c (struct args): Mark arg0 as
27204 volatile.
27205 * scripts/bench.pl: Mark members of struct args as volatile.
27206
13d3b41a
AZ
272072013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27208
68191c1d 27209 [BZ # 15497]
13d3b41a
AZ
27210 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27211 negative infinity on POWER6 or lower.
27212 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27213
2848b105
MR
272142013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27215
27216 [BZ #15442]
27217 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27218 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27219 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27220 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27221 (_FP_SETQNAN): New macro.
27222 (_FP_SETQNAN_SEMIRAW): Likewise.
27223 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27224 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27225 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27226 (FP_EXTEND): Use _FP_FRAC_SNANP.
27227 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27228 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27229 into account.
27230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27231 New macro.
27232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27233 Likewise.
27234
323e5cb7
JM
272352013-05-16 Joseph Myers <joseph@codesourcery.com>
27236
c58b274f
JM
27237 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27238 with DIVIDE_BY_ZERO_EXCEPTION.
27239 (gamma_test_data): Likewise.
27240 (lgamma_test_data): Likewise.
27241 (log_test_data): Likewise.
27242 (log10_test_data): Likewise.
27243 (log2_test_data): Likewise.
27244 (tgamma_test_data): Likewise.
27245
0ab34904
JM
27246 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27247 (acos_test_tonearest): Likewise.
27248 (acos_test_towardzero): Likewise.
27249 (acos_test_downward): Likewise.
27250 (acos_test_upward): Likewise.
27251 (acosh_test): Likewise.
27252 (asin_test): Likewise.
27253 (asin_test_tonearest): Likewise.
27254 (asin_test_towardzero): Likewise.
27255 (asin_test_downward): Likewise.
27256 (asin_test_upward): Likewise.
27257 (asinh_test): Likewise.
27258 (atan_test): Likewise.
27259 (atanh_test): Likewise.
27260 (atan2_test): Likewise.
27261 (cabs_test): Likewise.
27262 (cacos_test): Likewise.
27263 (cacosh_test): Likewise.
27264 (casin_test): Likewise.
27265 (casinh_test): Likewise.
27266 (catan_test): Likewise.
27267 (catanh_test): Likewise.
27268 (cbrt_test): Likewise.
27269 (ccos_test): Likewise.
27270 (ccosh_test): Likewise.
27271 (cexp_test): Likewise.
27272 (clog_test): Likewise.
27273 (clog10_test): Likewise.
27274 (cos_test): Likewise.
27275 (cos_test_tonearest): Likewise.
27276 (cos_test_towardzero): Likewise.
27277 (cos_test_downward): Likewise.
27278 (cos_test_upward): Likewise.
27279 (cosh_test): Likewise.
27280 (cosh_test_tonearest): Likewise.
27281 (cosh_test_towardzero): Likewise.
27282 (cosh_test_downward): Likewise.
27283 (cosh_test_upward): Likewise.
27284 (cpow_test): Likewise.
27285 (csin_test): Likewise.
27286 (csinh_test): Likewise.
27287 (csqrt_test): Likewise.
27288 (ctan_test): Likewise.
27289 (ctan_test_tonearest): Likewise.
27290 (ctan_test_towardzero): Likewise.
27291 (ctan_test_downward): Likewise.
27292 (ctan_test_upward): Likewise.
27293 (ctanh_test): Likewise.
27294 (ctanh_test_tonearest): Likewise.
27295 (ctanh_test_towardzero): Likewise.
27296 (ctanh_test_downward): Likewise.
27297 (ctanh_test_upward): Likewise.
27298 (erf_test): Likewise.
27299 (erfc_test): Likewise.
27300 (exp_test): Likewise.
27301 (exp_test_tonearest): Likewise.
27302 (exp_test_towardzero): Likewise.
27303 (exp_test_downward): Likewise.
27304 (exp_test_upward): Likewise.
27305 (exp10_test): Likewise.
27306 (exp2_test): Likewise.
27307 (expm1_test): Likewise.
27308 (fmod_test): Likewise.
27309 (gamma_test): Likewise.
27310 (hypot_test): Likewise.
27311 (j0_test): Likewise.
27312 (j1_test): Likewise.
27313 (jn_test): Likewise.
27314 (lgamma_test): Likewise.
27315 (log_test): Likewise.
27316 (log10_test): Likewise.
27317 (log1p_test): Likewise.
27318 (log2_test): Likewise.
27319 (logb_test_downward): Likewise.
27320 (pow_test): Likewise.
27321 (pow_test_tonearest): Likewise.
27322 (pow_test_towardzero): Likewise.
27323 (pow_test_downward): Likewise.
27324 (pow_test_upward): Likewise.
27325 (remainder_test): Likewise.
27326 (remquo_test): Likewise.
27327 (sin_test): Likewise.
27328 (sin_test_tonearest): Likewise.
27329 (sin_test_towardzero): Likewise.
27330 (sin_test_downward): Likewise.
27331 (sin_test_upward): Likewise.
27332 (sincos_test): Likewise.
27333 (sinh_test): Likewise.
27334 (sinh_test_tonearest): Likewise.
27335 (sinh_test_towardzero): Likewise.
27336 (sinh_test_downward): Likewise.
27337 (sinh_test_upward): Likewise.
27338 (sqrt_test): Likewise.
27339 (tan_test): Likewise.
27340 (tan_test_tonearest): Likewise.
27341 (tan_test_towardzero): Likewise.
27342 (tan_test_downward): Likewise.
27343 (tan_test_upward): Likewise.
27344 (tanh_test): Likewise.
27345 (tgamma_test): Likewise.
27346 (y0_test): Likewise.
27347 (y1_test): Likewise.
27348 (yn_test): Likewise.
27349
323e5cb7
JM
27350 * math/gen-libm-test.pl (adjust_arg): Remove function.
27351 (special_function): Remove argument $in_func. Only handle
27352 generating output for tables of tests, not inside functions.
27353 (parse_args): Likewise.
27354 (generate_testfile): Remove variable $in_func. Update call to
27355 parse_args.
27356 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27357 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27358 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27359 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27360 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27361 (MAX_VALUE_INIT): Rename macro to max_value.
27362 (MIN_VALUE_INIT): Rename macro to min_value.
27363 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27364 (plus_zero): Remove variable.
27365 (minus_zero): Likewise.
27366 (plus_infty): Likewise.
27367 (minus_infty): Likewise.
27368 (qnan_value): Likewise.
27369 (max_value): Likewise.
27370 (min_value): Likewise.
27371 (min_subnorm_value): Likewise.
27372
e054f494
RA
273732013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27374
27375 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27376 uint64_t or uint32_t usage.
27377 * crypt/sha256-block.c: Likewise.
27378 * crypt/sha256-crypt.c: Likewise.
27379 * crypt/sha256.c: Likewise.
27380 * crypt/sha512-block.c: Likewise.
27381 * crypt/sha512-crypt.c: Likewise.
27382 * crypt/sha512.c: Likewise.
27383 * debug/backtrace-tst.c: Likewise.
27384 * debug/pcprofiledump.c: Likewise.
27385 * elf/cache.c: Likewise.
27386 * elf/dl-cache.c: Likewise.
27387 * elf/dl-misc.c: Likewise.
27388 * elf/dl-profile.c: Likewise.
27389 * elf/dl-support.c: Likewise.
27390 * elf/ldconfig.c: Likewise.
27391 * elf/sprof.c: Likewise.
27392 * iconv/dummy-repertoire.c: Likewise.
27393 * iconv/iconv_charmap.c: Likewise.
27394 * iconv/skeleton.c: Likewise.
27395 * iconvdata/8bit-generic.c: Likewise.
27396 * iconvdata/cp737.h: Likewise.
27397 * iconvdata/cp775.h: Likewise.
27398 * iconvdata/ibm1008.h: Likewise.
27399 * iconvdata/ibm1025.h: Likewise.
27400 * iconvdata/ibm1046.h: Likewise.
27401 * iconvdata/ibm1097.h: Likewise.
27402 * iconvdata/ibm1112.h: Likewise.
27403 * iconvdata/ibm1122.h: Likewise.
27404 * iconvdata/ibm1123.h: Likewise.
27405 * iconvdata/ibm1124.h: Likewise.
27406 * iconvdata/ibm1129.h: Likewise.
27407 * iconvdata/ibm1130.h: Likewise.
27408 * iconvdata/ibm1132.h: Likewise.
27409 * iconvdata/ibm1133.h: Likewise.
27410 * iconvdata/ibm1137.h: Likewise.
27411 * iconvdata/ibm1140.h: Likewise.
27412 * iconvdata/ibm1141.h: Likewise.
27413 * iconvdata/ibm1142.h: Likewise.
27414 * iconvdata/ibm1143.h: Likewise.
27415 * iconvdata/ibm1144.h: Likewise.
27416 * iconvdata/ibm1145.h: Likewise.
27417 * iconvdata/ibm1146.h: Likewise.
27418 * iconvdata/ibm1147.h: Likewise.
27419 * iconvdata/ibm1148.h: Likewise.
27420 * iconvdata/ibm1149.h: Likewise.
27421 * iconvdata/ibm1153.h: Likewise.
27422 * iconvdata/ibm1154.h: Likewise.
27423 * iconvdata/ibm1155.h: Likewise.
27424 * iconvdata/ibm1156.h: Likewise.
27425 * iconvdata/ibm1157.h: Likewise.
27426 * iconvdata/ibm1158.h: Likewise.
27427 * iconvdata/ibm1160.h: Likewise.
27428 * iconvdata/ibm1161.h: Likewise.
27429 * iconvdata/ibm1162.h: Likewise.
27430 * iconvdata/ibm1163.h: Likewise.
27431 * iconvdata/ibm1164.h: Likewise.
27432 * iconvdata/ibm1166.h: Likewise.
27433 * iconvdata/ibm1167.h: Likewise.
27434 * iconvdata/ibm12712.h: Likewise.
27435 * iconvdata/ibm1390.h: Likewise.
27436 * iconvdata/ibm1399.h: Likewise.
27437 * iconvdata/ibm16804.h: Likewise.
27438 * iconvdata/ibm4517.h: Likewise.
27439 * iconvdata/ibm4899.h: Likewise.
27440 * iconvdata/ibm4909.h: Likewise.
27441 * iconvdata/ibm4971.h: Likewise.
27442 * iconvdata/ibm5347.h: Likewise.
27443 * iconvdata/ibm803.h: Likewise.
27444 * iconvdata/ibm856.h: Likewise.
27445 * iconvdata/ibm901.h: Likewise.
27446 * iconvdata/ibm902.h: Likewise.
27447 * iconvdata/ibm9030.h: Likewise.
27448 * iconvdata/ibm9066.h: Likewise.
27449 * iconvdata/ibm921.h: Likewise.
27450 * iconvdata/ibm922.h: Likewise.
27451 * iconvdata/ibm9448.h: Likewise.
27452 * iconvdata/isiri-3342.h: Likewise.
27453 * iconvdata/jis0201.h: Likewise.
27454 * include/link.h: Likewise.
27455 * include/netdb.h: Likewise.
27456 * inet/check_native.c: Likewise.
27457 * inet/check_pf.c: Likewise.
27458 * inet/getipv4sourcefilter.c: Likewise.
27459 * inet/getnameinfo.c: Likewise.
27460 * inet/getsourcefilter.c: Likewise.
27461 * inet/htonl.c: Likewise.
27462 * inet/setipv4sourcefilter.c: Likewise.
27463 * inet/setsourcefilter.c: Likewise.
27464 * inet/test-inet6_opt.c: Likewise.
27465 * inet/tst-network.c: Likewise.
27466 * locale/C-collate.c: Likewise.
27467 * locale/C-ctype.c: Likewise.
27468 * locale/C-time.c: Likewise.
27469 * locale/C-translit.h: Likewise.
27470 * locale/loadarchive.c: Likewise.
27471 * locale/programs/3level.h: Likewise.
27472 * locale/programs/charmap.c: Likewise.
27473 * locale/programs/charmap.h: Likewise.
27474 * locale/programs/ld-address.c: Likewise.
27475 * locale/programs/ld-collate.c: Likewise.
27476 * locale/programs/ld-ctype.c: Likewise.
27477 * locale/programs/ld-identification.c: Likewise.
27478 * locale/programs/ld-measurement.c: Likewise.
27479 * locale/programs/ld-messages.c: Likewise.
27480 * locale/programs/ld-monetary.c: Likewise.
27481 * locale/programs/ld-name.c: Likewise.
27482 * locale/programs/ld-numeric.c: Likewise.
27483 * locale/programs/ld-paper.c: Likewise.
27484 * locale/programs/ld-telephone.c: Likewise.
27485 * locale/programs/ld-time.c: Likewise.
27486 * locale/programs/linereader.c: Likewise.
27487 * locale/programs/locale.c: Likewise.
27488 * locale/programs/locarchive.c: Likewise.
27489 * locale/programs/locfile.h: Likewise.
27490 * locale/programs/repertoire.c: Likewise.
27491 * locale/programs/simple-hash.c: Likewise.
27492 * locale/programs/simple-hash.h: Likewise.
27493 * malloc/memusage.c: Likewise.
27494 * malloc/memusagestat.c: Likewise.
27495 * nis/nis_defaults.c: Likewise.
27496 * nis/nis_hash.c: Likewise.
27497 * nis/nis_print.c: Likewise.
27498 * nis/nis_xdr.c: Likewise.
27499 * nscd/connections.c: Likewise.
27500 * nscd/hstcache.c: Likewise.
27501 * nscd/nscd_gethst_r.c: Likewise.
27502 * nscd/nscd_getserv_r.c: Likewise.
27503 * nscd/nscd_helper.c: Likewise.
27504 * nscd/servicescache.c: Likewise.
27505 * nss/makedb.c: Likewise.
27506 * nss/nss_db/db-XXX.c: Likewise.
27507 * nss/nss_db/db-initgroups.c: Likewise.
27508 * nss/nss_db/db-netgrp.c: Likewise.
27509 * nss/nss_files/files-network.c: Likewise.
27510 * nss/nss_files/files-parse.c: Likewise.
27511 * posix/bug-regex5.c: Likewise.
27512 * posix/fnmatch_loop.c: Likewise.
27513 * posix/regcomp.c: Likewise.
27514 * posix/regexec.c: Likewise.
27515 * posix/tst-rfc3484-2.c: Likewise.
27516 * posix/tst-rfc3484-3.c: Likewise.
27517 * posix/tst-rfc3484.c: Likewise.
27518 * resolv/nss_dns/dns-canon.c: Likewise.
27519 * resolv/nss_dns/dns-network.c: Likewise.
27520 * resolv/res_init.c: Likewise.
27521 * resolv/res_mkquery.c: Likewise.
27522 * resolv/tst-aton.c: Likewise.
27523 * stdlib/cxa_atexit.c: Likewise.
27524 * stdlib/cxa_finalize.c: Likewise.
27525 * stdlib/gen-fpioconst.c: Likewise.
27526 * stdlib/strtol_l.c: Likewise.
27527 * string/tst-endian.c: Likewise.
27528 * sunrpc/auth_des.c: Likewise.
27529 * sunrpc/clnt_udp.c: Likewise.
27530 * sunrpc/rtime.c: Likewise.
27531 * sunrpc/svcauth_des.c: Likewise.
27532 * sunrpc/xdr.c: Likewise.
27533 * sunrpc/xdr_intXX_t.c: Likewise.
27534 * sunrpc/xdr_rec.c: Likewise.
27535 * sysdeps/generic/ldconfig.h: Likewise.
27536 * sysdeps/generic/ldsodefs.h: Likewise.
27537 * sysdeps/generic/memusage.h: Likewise.
27538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27544 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27545 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27546 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27548 * sysdeps/posix/getaddrinfo.c: Likewise.
27549 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27550 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27551 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27553 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27554 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27555 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27556 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27557 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27558 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27559 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27560 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27561 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27562 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27563 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27564 * sysdeps/x86_64/dl-tls.h: Likewise.
27565 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27566 * time/alt_digit.c: Likewise.
27567 * time/era.c: Likewise.
27568 * wcsmbs/tst-c16c32-1.c: Likewise.
27569
8c75f674
JM
275702013-05-16 Joseph Myers <joseph@codesourcery.com>
27571
27572 * math/libm-test.inc (struct test_sincos_data): New type.
27573 (RUN_TEST_LOOP_sincos): New macro.
27574 (sincos_test_data): New variable.
27575 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27576
e6e49e59
RH
275772013-05-16 Richard Henderson <rth@redhat.com>
27578
27579 * math/atest-exp2.c (LIMB64): New macro.
27580 (CONSTSZ): New macro.
27581 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27582 (hexdig): Move ...
27583 (print_mpn_fp): ... to function scope.
27584 (read_mpn_hex): Remove.
27585 (get_log2): Remove.
27586 (exp2_mpn): Use mp_log2.
27587 (main): Use mp_exp1.
27588
15c7c18d
JM
275892013-05-16 Joseph Myers <joseph@codesourcery.com>
27590
105a07df
JM
27591 * math/libm-test.inc: Remove comment about not testing "inexact"
27592 exceptions.
27593 (INEXACT_EXCEPTION): New macro.
27594 (NO_INEXACT_EXCEPTION): Likewise.
27595 (INVALID_EXCEPTION_OK): Update value.
27596 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27597 (OVERFLOW_EXCEPTION_OK): Likewise.
27598 (UNDERFLOW_EXCEPTION_OK): Likewise.
27599 (IGNORE_ZERO_INF_SIGN): Likewise.
27600 (ERRNO_UNCHANGED): Likewise.
27601 (ERRNO_EDOM): Likewise.
27602 (ERRNO_ERANGE): Likewise.
27603 (test_exceptions): Handle testing "inexact" exceptions.
27604 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27605 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27606 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27607 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27608 INEXACT_EXCEPTION.
27609 (rint_towardzero_test_data): Likewise.
27610 (rint_downward_test_data): Likewise.
27611 (rint_upward_test_data): Likewise.
27612
e9eee333
JM
27613 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27614 with OVERFLOW_EXCEPTION.
27615 (exp10_test_data): Likewise.
27616 (exp2_test_data): Likewise.
27617 (expm1_test_data): Likewise.
27618 (lgamma_test_data): Likewise.
27619 (pow_test_data): Likewise.
27620 (tgamma_test_data): Likewise.
27621 (yn_test_data): Remove duplicate test of overflow.
27622
1c38ff73
JM
27623 * math/libm-test.inc (struct test_cc_c_data): New type.
27624 (RUN_TEST_LOOP_cc_c): New macro.
27625 (cpow_test_data): New variable.
27626 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27627
15c7c18d
JM
27628 * math/libm-test.inc (struct test_f_L_data): New type.
27629 (RUN_TEST_LOOP_f_L): New macro.
27630 (llrint_test_data): New variable.
27631 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27632 (llrint_tonearest_test_data): New variable.
27633 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27634 (llrint_towardzero_test_data): New variable.
27635 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27636 (llrint_downward_test_data): New variable.
27637 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27638 (llrint_upward_test_data): New variable.
27639 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27640 (llround_test_data): New variable.
27641 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27642
f137ff13
PC
276432013-05-13 Peter Collingbourne <pcc@google.com>
27644
27645 * math/atest-exp2.c (get_log2): Remove const attribute.
27646
3608cb24
JM
276472013-05-15 Joseph Myers <joseph@codesourcery.com>
27648
27649 * math/libm-test.inc (struct test_f_l_data): New type.
27650 (RUN_TEST_LOOP_f_l): New macro.
27651 (lrint_test_data): New variable.
27652 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27653 (lrint_tonearest_test_data): New variable.
27654 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27655 (lrint_towardzero_test_data): New variable.
27656 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27657 (lrint_downward_test_data): New variable.
27658 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27659 (lrint_upward_test_data): New variable.
27660 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27661 (lround_test_data): New variable.
27662 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27663
39b1f617
PC
276642013-05-15 Peter Collingbourne <pcc@google.com>
27665
1deff3dc
PC
27666 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27667 (EXTRACT_WORDS64) Use where appropriate.
27668 (INSERT_WORDS64) Likewise.
27669
791f3ba0
PC
27670 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27671 constraints with x constraints.
27672 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27673
39b1f617
PC
27674 * malloc/obstack.c (_obstack_compat): Add initializer.
27675
12fba011
EM
276762013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27677
27678 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27679 si_trapno and add si_addr_lsb to _sifields.sigfault.
27680 (si_trapno): Remove macro.
27681 (si_addr_lsb): Define new macro.
27682 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27683
d369f531
JM
276842013-05-15 Joseph Myers <joseph@codesourcery.com>
27685
b861c6c4
JM
27686 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27687 instead of TEST_f_l.
27688 (llrint_test_tonearest): Likewise.
27689 (llrint_test_towardzero): Likewise.
27690 (llrint_test_downward): Likewise.
27691 (llrint_test_upward): Likewise.
27692 (llround_test): Likewise.
27693
7abeee12
JM
27694 * math/libm-test.inc (struct test_f_i_data): Add comment.
27695 (RUN_TEST_LOOP_f_b): New macro.
27696 (RUN_TEST_LOOP_f_b_tg): Likewise.
27697 (finite_test_data): New variable.
27698 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27699 (isfinite_test_data): New variable.
27700 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27701 (isinf_test_data): New variable.
27702 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27703 (isnan_test_data): New variable.
27704 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27705 (isnormal_test_data): New variable.
27706 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27707 (issignaling_test_data): New variable.
27708 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27709 (signbit_test_data): New variable.
27710 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27711
cbe8c4d3
JM
27712 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27713 with INVALID_EXCEPTION.
27714 (acosh_test_data): Likewise.
27715 (asin_test_data): Likewise.
27716 (atanh_test_data): Likewise.
27717 (fmod_test_data): Likewise.
27718 (log_test_data): Likewise.
27719 (log10_test_data): Likewise.
27720 (log2_test_data): Likewise.
27721 (pow_test_data): Likewise.
27722 (sqrt_test_data): Likewise.
27723 (y0_test_data): Likewise.
27724 (y1_test_data): Likewise.
27725 (yn_test_data): Likewise.
27726
5575c0e5
JM
27727 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27728 function contents.
27729
d369f531
JM
27730 * math/libm-test.inc (struct test_ff_i_data): New type.
27731 (RUN_TEST_LOOP_ff_i_tg): New macro.
27732 (isgreater_test_data): New variable.
27733 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27734 (isgreaterequal_test_data): New variable.
27735 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27736 (isless_test_data): New variable.
27737 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27738 (islessequal_test_data): New variable.
27739 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27740 (islessgreater_test_data): New variable.
27741 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27742 (isunordered_test_data): New variable.
27743 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27744
781fd748
DM
277452013-05-14 David S. Miller <davem@davemloft.net>
27746
27747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27748
87aa21df
JM
277492013-05-14 Joseph Myers <joseph@codesourcery.com>
27750
5e908270
JM
27751 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27752
f71172e5
JM
27753 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27754 extra_test to int.
27755 (struct test_f_i_data): Change type of max_ulp to int.
27756
8cfa635a
JM
27757 * math/libm-test.inc (test_ffI_f1_data): New type.
27758 (RUN_TEST_LOOP_ffI_f1): New macro.
27759 (remquo_test_data): New variable.
27760 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27761
2bcb36b2
JM
27762 * setjmp/tst-setjmp-fp.c: New file.
27763 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27764 (link-libm): New variable.
27765 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27766
acbd839a
JM
27767 * math/libm-test.inc (struct test_f_i_data): New type.
27768 (RUN_TEST_LOOP_f_i): New macro.
27769 (RUN_TEST_LOOP_f_i_tg): Likewise.
27770 (fpclassify_test_data): New variable.
27771 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27772 (ilogb_test_data): New variable.
27773 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27774
e414d745
JM
27775 * math/libm-test.inc (scalbln_test): Correct function name in END
27776 call.
27777
d9c2a0fd
JM
27778 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27779 (RUN_TEST_LOOP_fI_f1): New macro.
27780 (frexp_test_data): New variable.
27781 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27782
9dc9095d
JM
27783 * math/libm-test.inc (struct test_fF_f1_data): New type.
27784 (RUN_TEST_LOOP_fF_f1): New macro.
27785 (modf_test_data): New variable.
27786 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27787
87aa21df
JM
27788 * math/libm-test.inc (struct test_f_f1_data): New type.
27789 (RUN_TEST_LOOP_f_f1): New macro.
27790 (gamma_test_data): New variable.
27791 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27792 (lgamma_test_data): New variable.
27793 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27794
141af660
CD
277952013-05-13 Carlos O'Donell <carlos@redhat.com>
27796
27797 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27798 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27799 (main): Comment "tls" pseudo-hwcap.
27800
6d33265c
JM
278012013-05-13 Joseph Myers <joseph@codesourcery.com>
27802
68fc074c
JM
27803 * math/libm-test.inc (struct test_fl_f_data): New type.
27804 (RUN_TEST_LOOP_fl_f): New variable.
27805 (scalbln_test_data): New variable.
27806 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27807
243216e1
JM
27808 * math/libm-test.inc (struct test_fi_f_data): New type.
27809 (RUN_TEST_LOOP_fi_f): New macro.
27810 (ldexp_test_data): New variable.
27811 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27812 (scalbn_test_data): New variable.
27813 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27814
6a1992e2
JM
27815 * math/libm-test.inc (struct test_c_f_data): New type.
27816 (RUN_TEST_LOOP_c_f): New macro.
27817 (cabs_test_data): New variable.
27818 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27819 (carg_test_data): New variable.
27820 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27821 (cimag_test_data): New variable.
27822 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27823 (creal_test_data): New variable.
27824 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27825
0e400df5
JM
27826 * math/libm-test.inc (struct test_if_f_data): New type.
27827 (RUN_TEST_LOOP_if_f): New macro.
27828 (jn_test_data): New variable.
27829 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27830 (yn_test_data): New variable.
27831 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27832
6d33265c
JM
27833 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27834
f98ece5f
AZ
278352013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27836
27837 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27838 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27839
0f7d347b
SP
278402013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27841
43fe811b
SP
27842 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27843 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27844 (bench-deps): Add bench-timing.h.
27845 * benchtests-bench-skeleton.c: Include bench-timing.h.
27846 (main): Use TIMING_* macros instead of clock_gettime.
27847 * benchtests/bench-timing.h: New file.
27848
0f7d347b
SP
27849 [BZ #14582]
27850 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27851 Renamed from _LIB_VERSION.
27852 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27853
601a3a5f
JM
278542013-05-12 Joseph Myers <joseph@codesourcery.com>
27855
4f184d30
JM
27856 * math/libm-test.inc (struct test_fff_f_data): New type.
27857 (RUN_TEST_LOOP_fff_f): New macro.
27858 (fma_test_data): New variable.
27859 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27860 (fma_towardzero_test_data): New variable.
27861 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27862 (fma_downward_test_data): New variable.
27863 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27864 (fma_upward_test_data): New variable.
27865 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27866
08198877
JM
27867 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27868 (struct test_c_c_data): New type.
27869 (RUN_TEST_LOOP_c_c): New macro.
27870 (cacos_test_data): New variable.
27871 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27872 (cacosh_test_data): New variable.
27873 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27874 (casin_test_data): New variable.
27875 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27876 (casinh_test_data): New variable.
27877 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27878 (catan_test_data): New variable.
27879 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27880 (catanh_test_data): New variable.
27881 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27882 (ccos_test_data): New variable.
27883 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27884 (ccosh_test_data): New variable.
27885 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27886 (cexp_test_data): New variable.
27887 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27888 (clog_test_data): New variable.
27889 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27890 (clog10_test_data): New variable.
27891 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27892 (conj_test_data): New variable.
27893 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27894 (cproj_test_data): New variable.
27895 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27896 (csin_test_data): New variable.
27897 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27898 (csinh_test_data): New variable.
27899 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27900 (csqrt_test_data): New variable.
27901 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27902 (ctan_test_data): New variable.
27903 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27904 (ctan_tonearest_test_data): New variable.
27905 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27906 (ctan_towardzero_test_data): New variable.
27907 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27908 (ctan_downward_test_data): New variable.
27909 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27910 (ctan_upward_test_data): New variable.
27911 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27912 (ctanh_test_data): New variable.
27913 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27914 (ctanh_tonearest_test_data): New variable.
27915 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27916 (ctanh_towardzero_test_data): New variable.
27917 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27918 (ctanh_downward_test_data): New variable.
27919 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27920 (ctanh_upward_test_data): New variable.
27921 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27922 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27923 of BUILD_COMPLEX.
27924
601a3a5f
JM
27925 * math/libm-test.inc (struct test_ff_f_data): New type.
27926 (struct test_ff_f_data_nexttoward): Likewise.
27927 (RUN_TEST_LOOP_2_f): New macro.
27928 (RUN_TEST_LOOP_ff_f): Likewise.
27929 (atan2_test_data): New variable.
27930 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27931 (copysign_test_data): New variable.
27932 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27933 (fdim_test_data): New variable.
27934 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27935 (fmax_test_data): New variable.
27936 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27937 (fmin_test_data): New variable.
27938 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27939 (fmod_test_data): New variable.
27940 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27941 (hypot_test_data): New variable.
27942 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27943 (nextafter_test_data): New variable.
27944 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27945 (nexttoward_test_data): New variable.
27946 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27947 (pow_test_data): New variable.
27948 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27949 (pow_tonearest_test_data): New variable.
27950 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27951 (pow_towardzero_test_data): New variable.
27952 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27953 (pow_downward_test_data): New variable.
27954 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27955 (pow_upward_test_data): New variable.
27956 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27957 (remainder_test_data): New variable.
27958 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27959 (scalb_test_data): New variable.
27960 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27961 * sysdeps/i386/fpu/libm-test-ulps: Update.
27962
74c57478
JM
279632013-05-11 Joseph Myers <joseph@codesourcery.com>
27964
8329e4da
JM
27965 * math/libm-test.inc (fma_test): Use max_value instead of local
27966 variable fltmax.
27967 (nextafter_test): Likewise.
27968
74c57478
JM
27969 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27970 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27971 (acos_downward_test_data): New variable.
27972 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27973 (acos_upward_test_data): New variable.
27974 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27975 (acosh_test_data): New variable.
27976 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27977 (asin_test_data): New variable.
27978 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27979 (asin_tonearest_test_data): New variable.
27980 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27981 (asin_towardzero_test_data): New variable.
27982 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27983 (asin_downward_test_data): New variable.
27984 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27985 (asin_upward_test_data): New variable.
27986 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27987 (asinh_test_data): New variable.
27988 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27989 (atan_test_data): New variable.
27990 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27991 (atanh_test_data): New variable.
27992 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27993 (cbrt_test_data): New variable.
27994 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27995 (ceil_test_data): New variable.
27996 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27997 (cos_test_data): New variable.
27998 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27999 (cos_tonearest_test_data): New variable.
28000 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28001 (cos_towardzero_test_data): New variable.
28002 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28003 (cos_downward_test_data): New variable.
28004 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28005 (cos_upward_test_data): New variable.
28006 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28007 (cosh_test_data): New variable.
28008 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28009 (cosh_tonearest_test_data): New variable.
28010 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28011 (cosh_towardzero_test_data): New variable.
28012 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28013 (cosh_downward_test_data): New variable.
28014 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28015 (cosh_upward_test_data): New variable.
28016 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28017 (erf_test_data): New variable.
28018 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28019 (erfc_test_data): New variable.
28020 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28021 (exp_test_data): New variable.
28022 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28023 (exp_tonearest_test_data): New variable.
28024 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28025 (exp_towardzero_test_data): New variable.
28026 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28027 (exp_downward_test_data): New variable.
28028 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28029 (exp_upward_test_data): New variable.
28030 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28031 (exp10_test_data): New variable.
28032 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28033 (exp2_test_data): New variable.
28034 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28035 (expm1_test_data): New variable.
28036 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28037 (fabs_test_data): New variable.
28038 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28039 (floor_test_data): New variable.
28040 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28041 (j0_test_data): New variable.
28042 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28043 (j1_test_data): New variable.
28044 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28045 (log_test_data): New variable.
28046 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28047 (log10_test_data): New variable.
28048 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28049 (log1p_test_data): New variable.
28050 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28051 (log2_test_data): New variable.
28052 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28053 (logb_test_data): New variable.
28054 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28055 (logb_downward_test_data): New variable.
28056 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28057 (nearbyint_test_data): New variable.
28058 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28059 (rint_test_data): New variable.
28060 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28061 (rint_tonearest_test_data): New variable.
28062 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28063 (rint_towardzero_test_data): New variable.
28064 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28065 (rint_downward_test_data): New variable.
28066 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28067 (rint_upward_test_data): New variable.
28068 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28069 (round_test_data): New variable.
28070 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28071 (sin_test_data): New variable.
28072 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28073 (sin_tonearest_test_data): New variable.
28074 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28075 (sin_towardzero_test_data): New variable.
28076 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28077 (sin_downward_test_data): New variable.
28078 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28079 (sin_upward_test_data): New variable.
28080 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28081 (sinh_test_data): New variable.
28082 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28083 (sinh_tonearest_test_data): New variable.
28084 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28085 (sinh_towardzero_test_data): New variable.
28086 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28087 (sinh_downward_test_data): New variable.
28088 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28089 (sinh_upward_test_data): New variable.
28090 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28091 (sqrt_test_data): New variable.
28092 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28093 (tan_test_data): New variable.
28094 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28095 (tan_tonearest_test_data): New variable.
28096 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28097 (tan_towardzero_test_data): New variable.
28098 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28099 (tan_downward_test_data): New variable.
28100 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28101 (tan_upward_test_data): New variable.
28102 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28103 (tanh_test_data): New variable.
28104 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28105 (tgamma_test_data): New variable.
28106 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28107 (trunc_test_data): New variable.
28108 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28109 (y0_test_data): New variable.
28110 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28111 (y1_test_data): New variable.
28112 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28113 (significand_test_data): New variable.
28114 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28115
7187d844
CG
281162013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28117
28118 [BZ #12387]
28119 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28120
f63fae73
PT
281212013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28122
28123 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28124
8a67a4b3
AJ
281252013-05-10 Andreas Jaeger <aj@suse.de>
28126
28127 [BZ #15448]
28128 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28129 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28130
51df539d
JM
281312013-05-10 Joseph Myers <joseph@codesourcery.com>
28132
28133 * math/gen-libm-test.pl (adjust_arg): New function.
28134 (special_functions): Handle generating output in both functions
28135 and arrays.
28136 (parse_args): Likewise.
28137 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28138 $in_func argument to parse_args.
28139 * math/libm-test.inc (struct test_f_f_data): New type.
28140 (IF_ROUND_INIT_): New macro.
28141 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28142 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28143 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28144 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28145 (ROUND_RESTORE_): Likewise.
28146 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28147 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28148 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28149 (ROUND_RESTORE_FE_UPWARD): Likewise.
28150 (RUN_TEST_LOOP_f_f): New macro.
28151 (acos_test_data): New variable.
28152 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28153 (acos_tonearest_test_data): New variable.
28154 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28155
5c637fe5
SP
281562013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28157
28158 * benchtests/bench-skeleton.c (startup): Fix coding style.
28159
ab2b9461
JM
281602013-05-10 Joseph Myers <joseph@codesourcery.com>
28161
28162 [BZ #6809]
28163 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28164 negative infinity argument.
28165 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28166 negative infinity argument.
28167 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28168 negative infinity argument.
28169 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28170 domain errors.
28171
4c0fe6fe
FW
281722013-05-10 Florian Weimer <fweimer@redhat.com>
28173
28174 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28175 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28176 * iconv/iconv_prog.c (main): Likewise.
28177 * locale/programs/charmap-dir.c (charmap_readdir)
28178 (fopen_uncompressed): Likewise.
28179 * locale/programs/locfile.c (siblings_uncached)
28180 (write_locale_data): Use lstat64 instead of lstat.
28181 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28182 stat.
28183
a3375d29
AJ
281842013-05-10 Andreas Jaeger <aj@suse.de>
28185
28186 [BZ #15395]
28187 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28188 localization.
28189 Include <locale.h>.
28190
36129722
CD
281912013-05-09 Carlos O'Donell <carlos@redhat.com>
28192
28193 * elf/dl-close.c (_dl_close_worker): Add comments.
28194
faa7f811
JM
281952013-05-09 Joseph Myers <joseph@codesourcery.com>
28196
ed41ffef
JM
28197 [BZ #15359]
28198 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28199 high part of pi/2.
28200 (__ieee754_rem_pio2l): Update comments.
28201
d0213cd0
JM
28202 [BZ #15429]
28203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28204 high part of pi/2.
28205 (__ieee754_rem_pio2l): Update comments.
28206
0d3e777a
JM
28207 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28208 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28209
24f56066
JM
28210 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28211 M_PI_4l.
28212
faa7f811
JM
28213 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28214 (M_PI_34_LOG10El): Likewise.
28215 (M_PI2_LOG10El): Likewise.
28216 (M_PI4_LOG10El): Likewise.
28217 (M_PI_LOG10El): Likewise.
28218
e9a5e0fd
AZ
282192013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28220
28221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28222
d8cd06db
JM
282232013-05-08 Joseph Myers <joseph@codesourcery.com>
28224
a0d9f9d7
JM
28225 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28226 (MINUS_ZERO_INIT): Likewise.
28227 (PLUS_INFTY_INIT): Likewise.
28228 (MINUS_INFTY_INIT): Likewise.
28229 (QNAN_VALUE_INIT): Likewise.
28230 (MAX_VALUE_INIT): Likewise.
28231 (MIN_VALUE_INIT): Likewise.
28232 (MIN_SUBNORM_VALUE_INIT): Likewise.
28233 (plus_zero): Initialize with PLUS_ZERO_INIT.
28234 (minus_zero): Initialize with MINUS_ZERO_INIT.
28235 (plus_infty): Initialize with PLUS_INFTY_INIT.
28236 (minus_infty): Initialize with MINUS_INFTY_INIT.
28237 (qnan_value): Initialize with QNAN_VALUE_INIT.
28238 (max_value): Initialize with MAX_VALUE_INIT.
28239 (min_value): Initialize with MIN_VALUE_INIT.
28240 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28241
ae08db3b
JM
28242 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28243 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28244 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28245 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28246
f44bf14a
JM
28247 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28248 (RUN_TEST_2_f): Likewise.
28249 (RUN_TEST_ff_f): Likewise.
28250 (RUN_TEST_fi_f): Likewise.
28251 (RUN_TEST_fl_f): Likewise.
28252 (RUN_TEST_fff_f): Likewise.
28253 (RUN_TEST_c_f): Likewise.
28254 (RUN_TEST_f_f1): Likewise.
28255 (RUN_TEST_fF_f1): Likewise.
28256 (RUN_TEST_fI_f1): Likewise.
28257 (RUN_TEST_ffI_f1): Likewise.
28258 (RUN_TEST_c_c): Likewise.
28259 (RUN_TEST_cc_c): Likewise.
28260 (RUN_TEST_f_i): Likewise.
28261 (RUN_TEST_f_i_tg): Likewise.
28262 (RUN_TEST_ff_i_tg): Likewise.
28263 (RUN_TEST_f_b): Likewise.
28264 (RUN_TEST_f_b_tg): Likewise.
28265 (RUN_TEST_f_l): Likewise.
28266 (RUN_TEST_f_L): Likewise.
28267 (RUN_TEST_sincos): Likewise.
28268 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28269 whether to show exceptions. Do not include ");\n" in return
28270 value.
28271 (special_functions): Output call to RUN_TEST_sincos instead of
28272 check_float calls. Update calls to new_test.
28273 (parse_args): Output call to single RUN_TEST_* macro instead of
28274 check_* calls and other assignments. Update calls to new_test.
28275
d8cd06db
JM
28276 [BZ #2546]
28277 [BZ #2560]
28278 [BZ #5159]
28279 [BZ #15426]
28280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28281 input to result for tgamma overflow.
28282 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28283 (gamma_coeff): New variable.
28284 (NCOEFF): New macro.
28285 (gamma_positive): New function.
28286 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28287 underflow here. Use gamma_positive instead of exp (lgamma) for
28288 other arguments.
28289 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28290 (gamma_coeff): New variable.
28291 (NCOEFF): New macro.
28292 (gammaf_positive): New function.
28293 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28294 underflow here. Use gamma_positive instead of exp (lgamma) for
28295 other arguments.
28296 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28297 (gamma_coeff): New variable.
28298 (NCOEFF): New macro.
28299 (gammal_positive): New function.
28300 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28301 underflow here. Use gamma_positive instead of exp (lgamma) for
28302 other arguments.
28303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28304 (gamma_coeff): New variable.
28305 (NCOEFF): New macro.
28306 (gammal_positive): New function.
28307 (__ieee754_gammal_r): Handle positive infinity, overflow and
28308 underflow here. Handle NaN the same as positive infinity. Remove
28309 check x < 0xffffffff for negative integers. Use gamma_positive
28310 instead of exp (lgamma) for other arguments.
28311 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28312 (gamma_coeff): New variable.
28313 (NCOEFF): New macro.
28314 (gammal_positive): New function.
28315 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28316 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28320 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28321 * sysdeps/generic/math_private.h (__gamma_productf): New
28322 prototype.
28323 (__gamma_product): Likewise.
28324 (__gamma_productl): Likewise.
28325 * math/Makefile (libm-calls): Add gamma_product.
28326 * math/libm-test.inc (tgamma_test): Add more tests.
28327 * sysdeps/i386/fpu/libm-test-ulps: Update.
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28329
bb7cf681
OB
283302013-05-08 Ondřej Bílka <neleai@seznam.cz>
28331
28332 * benchtests/bench-skeleton.c (main): Preheat CPU.
28333
ba853947
AJ
283342013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28335
28336 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28337
8347c74c
RM
283382013-05-07 Roland McGrath <roland@hack.frob.com>
28339
28340 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28341 and _dl_skip_args_internal.
28342
e8dd4791
CD
283432013-05-07 Carlos O'Donell <carlos@redhat.com>
28344
28345 * manual/message.texi (Message Translation): Talk about users.
28346 Message to key mapping impacts design.
28347
c7405830
RM
283482013-05-06 Roland McGrath <roland@hack.frob.com>
28349
a9173057
RM
28350 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28351
976e2f03
RM
28352 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28353
9723ffc5
RM
28354 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28355 * sysdeps/wordsize-64/glob64.c: ... here.
28356
962e6658
RM
28357 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28358 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28359 New macros.
28360
ee586a6d
RM
28361 * debug/getlogin_r_chk.c: Moved to ...
28362 * login/getlogin_r_chk.c: ... here.
28363 * debug/Makefile (routines): Move getlogin_r_chk to ...
28364 * login/Makefile (routines): ... here.
28365 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28366 * login/Versions (libc: GLIBC_2.4): ... here.
28367
355f9165
RM
28368 * io/poll.c (__poll): Renamed from poll.
28369 Add libc_hidden_def.
28370 (poll): Define as weak alias.
28371
bd9ffde6
RM
28372 * debug/ptsname_r_chk.c: Moved to ...
28373 * login/ptsname_r_chk.c: ... here.
28374 * debug/Makefile (routines): Move ptsname_r_chk to ...
28375 * login/Makefile (routines): ... here.
28376 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28377 * login/Versions (libc: GLIBC_2.4): ... here.
28378
8fb16a04
RM
28379 * posix/getlogin.c: Moved to ...
28380 * login/getlogin.c: ... here.
28381 * posix/getlogin_r.c: Moved to ...
28382 * login/getlogin_r.c: ... here.
28383 * posix/getlogin_r.c: Moved to ...
28384 * login/getlogin_r.c: ... here.
28385 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28386 * login/Makefile (routines): ... here.
28387 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28388 * login/Versions (libc: GLIBC_2.0): ... here.
28389
b99b892f
RM
28390 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28391 (setrlimit): Define as weak alias.
28392
c7405830
RM
28393 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28394 Call __ names for open, ftruncate, and close.
28395 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28396 (truncate): Define as weak alias.
28397
5bf96de5
JM
283982013-05-06 Joseph Myers <joseph@codesourcery.com>
28399
9ea3513c
JM
28400 * math/gen-libm-test.pl (parse_args): Initialize x before each
28401 test of frexp, modf and remquo.
28402
5bf96de5
JM
28403 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28404 test signgam value.
28405
16e616a7
AZ
284062013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28407
28408 [BZ #15418]
28409 [BZ #15419]
28410 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28411 internal tests.
28412 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28413
d5e82754
RM
284142013-05-06 Roland McGrath <roland@hack.frob.com>
28415
28416 * elf/dl-writev.h: New file.
28417 * elf/dl-misc.c: Include it.
28418 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28419 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28420
a7548d41
JM
284212013-05-04 Joseph Myers <joseph@codesourcery.com>
28422
b7dab1e4
JM
28423 * math/libm-test.inc (noXFails): Remove variable.
28424 (noXPasses): Likewise.
28425 (BUILD_COMPLEX_INT): Remove macro.
28426 (print_screen): Remove xfail argument.
28427 (print_screen_max_error): Likewise.
28428 (update_stats): Likewise.
28429 (print_max_error): Likewise. Update calls to other affected
28430 functions.
28431 (print_complex_max_error): Likewise.
28432 (test_single_exception): Update calls to print_screen.
28433 (test_single_errno): Likewise.
28434 (check_float_internal): Remove xfail argument. Update calls to
28435 other affected functions.
28436 (check_float): Likewise.
28437 (check_complex): Likewise.
28438 (check_int): Likewise.
28439 (check_long): Likewise.
28440 (check_bool): Likewise.
28441 (check_longlong): Likewise.
28442 (main): Don't print noXFails and noXPasses.
28443 * math/gen-libm-test.pl (top level): Don't mention expected
28444 failure handling in comment.
28445 (new_test): Don't handle expected failures.
28446 (parse_args): Don't mention expected failure handling in comment.
28447 (generate_testfile): Don't handle expected failures.
28448 (parse_ulps): Likewise.
28449 (print_ulps_file): Likewise.
28450 (get_failure): Remove function.
28451 (output_test): Don't handle expected failures.
28452 * make/README.libm-test: Don't mention expected failure handling.
28453
a7548d41
JM
28454 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28455 (minus_zero): Likewise.
28456 (plus_infty): Likewise.
28457 (minus_infty): Likewise.
28458 (qnan_value): Likewise.
28459 (max_value): Likewise.
28460 (min_value): Likewise.
28461 (min_subnorm_value): Likewise.
28462 (initialize): Do not initialize those variables dynamically.
28463
60bfd54c
RM
284642013-05-03 Roland McGrath <roland@hack.frob.com>
28465
cc0e6ed8
RM
28466 * io/open.c (__open_2): Moved to ...
28467 * io/open_2.c: ... this new file.
28468 * io/open64.c (__open64_2): Moved to ...
28469 * io/open64_2.c: ... this new file.
28470 * io/openat.c (__openat_2): Moved to ...
28471 * io/openat_2.c: ... this new file.
28472 * io/openat64.c (__openat64_2): Moved to ...
28473 * io/openat64_2.c: ... this new file.
28474 * io/Makefile (routines): Add them.
28475 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28476 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28477 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28478 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28479 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28480 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28481 (__openat64): Add hidden_ver.
28482 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28483 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28484
60bfd54c
RM
28485 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28486 Separately conditionalize setting of GLRO(dl_sysinfo) so
28487 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28488 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28489
83e7640f
AZ
284902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28491
28492 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28493 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28494 definition.
28495 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28496 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28497 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28498 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28499 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28500
d5dc2af3
JM
285012013-05-03 Joseph Myers <joseph@codesourcery.com>
28502
c31a5b1e
JM
28503 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28504 test signgam value.
28505
d5dc2af3
JM
28506 * math/libm-test.inc (hypot_test): Do not use
28507 IGNORE_ZERO_INF_SIGN.
28508
164fd39d
AJ
285092013-05-03 Andreas Jaeger <aj@suse.de>
28510
28511 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28512 Linux 3.9.
28513 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28514 (PF_MAX): Adjust for VSOCK change.
28515
8237f48c
AZ
285162013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28517
28518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28519
9df02941
CD
285202013-05-02 Carlos O'Donell <carlos@redhat.com>
28521
28522 [BZ #15264]
28523 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28524 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28525 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28526
d422395e
DM
285272013-05-02 David S. Miller <davem@davemloft.net>
28528
28529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28530
a07c5731
OB
285312013-05-01 Ondřej Bílka <neleai@seznam.cz>
28532
28533 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28534
1324e37f
RM
285352013-05-01 Roland McGrath <roland@hack.frob.com>
28536
28537 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28538
0695940b
RS
285392013-05-01 Richard Smith <richard@metafoo.co.uk>
28540
bb5f27ad 28541 [BZ #14952]
0695940b
RS
28542 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28543 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28544 Use __attribute__ ((__gnu_inline__)).
28545 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28546 Don't use __attribute__ ((__gnu_inline__)).
28547
10de07f5
JM
285482013-05-01 Joseph Myers <joseph@codesourcery.com>
28549
28550 [BZ #15423]
28551 * math/s_catan.c (__catan): Handle small real or imaginary part of
28552 input specially to avoid spurious underflow.
28553 * math/s_catanf.c (__catanf): Likewise.
28554 * math/s_catanh.c (__catanh): Likewise.
28555 * math/s_catanhf.c (__catanhf): Likewise.
28556 * math/s_catanhl.c (__catanhl): Likewise.
28557 * math/s_catanl.c (__catanl): Likewise.
28558 * math/libm-test.inc (catan_test): Add more tests.
28559 (catanh_test): Likewise.
28560 * sysdeps/i386/fpu/libm-test-ulps: Update.
28561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28562
cb4d5414
AZ
285632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28564
28565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28566
caf84319
JM
285672013-04-30 Joseph Myers <joseph@codesourcery.com>
28568
28569 [BZ #15416]
28570 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28571 accurately for denominator in atan2.
28572 * math/s_catanf.c (__catanf): Likewise.
28573 * math/s_catanh.c (__catanh): Likewise.
28574 * math/s_catanhf.c (__catanhf): Likewise.
28575 * math/s_catanhl.c (__catanhl): Likewise.
28576 * math/s_catanl.c (__catanl): Likewise.
28577 * math/libm-test.inc (catan_test): Add more tests.
28578 (catanh_test): Likewise.
28579 * sysdeps/i386/fpu/libm-test-ulps: Update.
28580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28581
d569c6ee
SP
285822013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28583
6dbe713d
SP
28584 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28585
f0ee064b
SP
28586 * benchtests/Makefile (bench): Remove slow benchmarks.
28587 * benchtests/atan-inputs: Add slow benchmark inputs.
28588 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28589 (BENCH_FUNC): Accept variant offset.
28590 (VARIANT): Define.
28591 * benchtests/bench-skeleton.c (main): Run benchmark for each
28592 variant.
28593 * benchtests/cos-inputs: Add slow benchmark inputs.
28594 * benchtests/exp-inputs: Likewise.
28595 * benchtests/pow-inputs: Likewise.
28596 * benchtests/sin-inputs: Likewise.
28597 * benchtests/slowatan-inputs: Remove.
28598 * benchtests/slowatan.c: Remove.
28599 * benchtests/slowcos-inputs: Remove.
28600 * benchtests/slowcos.c: Remove.
28601 * benchtests/slowexp-inputs: Remove.
28602 * benchtests/slowexp.c: Remove.
28603 * benchtests/slowpow-inputs: Remove.
28604 * benchtests/slowpow.c: Remove.
28605 * benchtests/slowsin-inputs: Remove.
28606 * benchtests/slowsin.c: Remove.
28607 * benchtests/slowtan-inputs: Remove.
28608 * benchtests/slowtan.c: Remove.
28609 * benchtests/tan-inputs: Add slow benchmark inputs.
28610 * scripts/bench.pl: Parse comments and directives.
28611
d569c6ee
SP
28612 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28613 in CPPFLAGS.
28614 ($(objpfx)bench-%.c): Remove *-ITER.
28615 * benchtests/bench-modf.c: Remove definition of ITER.
28616 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28617 (main): Loop for DURATION seconds instead of fixed number of
28618 iterations.
28619 * scripts/bench.pl: Don't expect iterations in parameters.
28620
a6a242fe
RM
286212013-04-29 Roland McGrath <roland@hack.frob.com>
28622
28623 * io/fchdir.c (__fchdir): Renamed from fchdir.
28624 (fchdir): Define as weak alias.
28625
f2da7793
JM
286262013-04-29 Joseph Myers <joseph@codesourcery.com>
28627
28628 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28629 (ERRNO_EDOM): Likewise.
28630 (ERRNO_ERANGE): Likewise.
28631 (noErrnoTests): New variable.
28632 (init_max_error): Set errno to 0.
28633 (test_single_errno): New function.
28634 (test_errno): Likewise.
28635 (check_float_internal): Call test_errno. Set errno to 0.
28636 (check_complex): Refer to errno tests in comment.
28637 (check_int): Call test_errno. Set errno to 0.
28638 (check_long): Likewise.
28639 (check_bool): Likewise.
28640 (check_longlong): Likewise.
28641 (cos_test): Use ERRNO_* flags for errno tests instead of
28642 check_int.
28643 (expm1_test): Likewise.
28644 (fmod_test): Likewise.
28645 (ilogb_test): Likewise.
28646 (lgamma_test): Likewise.
28647 (pow_test): Likewise.
28648 (remainder_test): Likewise.
28649 (sin_test): Likewise.
28650 (tan_test): Likewise.
28651 (yn_test): Likewise.
28652 (initialize): Set errno to 0.
28653 (main): Print number of errno tests.
28654 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28655
b1a36ceb
AJ
286562013-04-29 Andreas Jaeger <aj@suse.de>
28657
c3ed8088
AJ
28658 [BZ #15084]
28659 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28660 and RES_USEVC.
28661
f1a24198
AJ
28662 [BZ #15085]
28663 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28664 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28665 unimplemented.
28666
9ce3b2cb
AJ
28667 [BZ #15380]
28668 * stdlib/random.c (__initstate): Return NULL if
28669 __initstate fails.
28670
f1a24198 28671 [BZ #15086]
b1a36ceb
AJ
28672 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28673 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28674 RES_SNGLKUPREOP.
28675
7e7b6f36
AZ
286762013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28677
28678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28679
4d14f449
JM
286802013-04-29 Joseph Myers <joseph@codesourcery.com>
28681
28682 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28683 of individual tests.
28684 (casin_test): Likewise.
28685 (casinh_test): Likewise.
28686
5b4217d7
JM
286872013-04-27 Joseph Myers <joseph@codesourcery.com>
28688
28689 [BZ #15409]
28690 * math/s_catan.c (__catan): Handle arguments with large real or
28691 imaginary part separately without squaring.
28692 * math/s_catanf.c (__catanf): Likewise.
28693 * math/s_catanh.c (__catanh): Likewise.
28694 * math/s_catanhf.c (__catanhf): Likewise.
28695 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28696 and redefine.
28697 (__catanhl): Handle arguments with large real or imaginary part
28698 separately without squaring.
28699 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28700 and redefine.
28701 (__catanl): Handle arguments with large real or imaginary part
28702 separately without squaring.
28703 * math/libm-test.inc (catan_test): Add more tests.
28704 (catanh_test): Likewise.
28705 * sysdeps/i386/fpu/libm-test-ulps: Update.
28706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28707
4220c3ef
AJ
287082013-04-27 Andreas Jaeger <aj@suse.de>
28709
28710 [BZ #15007]
28711 * stdlib/stdlib.h: Update guards for qecvt.
28712 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28713 <stdlib.h>.
28714
4721b2d1
AM
287152013-04-27 Allan McRae <allan@archlinux.org>
28716
28717 * sysdeps/i386/fpu/libm-test-ulps: Update.
28718
f0302940
JM
287192013-04-26 Joseph Myers <joseph@codesourcery.com>
28720
9457fd95
JM
28721 [BZ #15406]
28722 * math/s_catan.c: Include <float.h>.
28723 (__catan): Ensure underflow exception occurs for underflowed
28724 result.
28725 * math/s_catanf.c: Include <float.h>.
28726 (__catanf): Ensure underflow exception occurs for underflowed
28727 result.
28728 * math/s_catanh.c: Include <float.h>.
28729 (__catanh): Ensure underflow exception occurs for underflowed
28730 result.
28731 * math/s_catanhf.c: Include <float.h>.
28732 (__catanhf): Ensure underflow exception occurs for underflowed
28733 result.
28734 * math/s_catanhl.c: Include <float.h>.
28735 (__catanhl): Ensure underflow exception occurs for underflowed
28736 result.
28737 * math/s_catanl.c: Include <float.h>.
28738 (__catanl): Ensure underflow exception occurs for underflowed
28739 result.
28740 * math/libm-test.inc (catan_test): Add more tests.
28741 (catanh_test): Likewise.
28742
f0302940
JM
28743 [BZ #15405]
28744 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28745 underflowed result.
28746 * math/s_ccoshf.c (__ccoshf): Likewise.
28747 * math/s_ccoshl.c (__ccoshl): Likewise.
28748 * math/s_csin.c (__csin): Likewise.
28749 * math/s_csinf.c (__csinf): Likewise.
28750 * math/s_csinh.c (__csinh): Likewise.
28751 * math/s_csinhf.c (__csinhf): Likewise.
28752 * math/s_csinhl.c (__csinhl): Likewise.
28753 * math/s_csinl.c (__csinl): Likewise.
28754 * math/libm-test.inc (ccos_test): Add more tests.
28755 (ccosh_test): Likewise.
28756 (csin_test): Likewise.
28757 (csinh_test): Likewise.
28758
aa630f59
AZ
287592013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28760
28761 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28762 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28763 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28764 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28765 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28766 powerpc/power5+/fpu folders.
28767 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28768
28769
1b835983
MT
287702013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28771
28772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28773
73709b26
JM
287742013-04-25 Joseph Myers <joseph@codesourcery.com>
28775
28776 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28777 additions to variable.
28778 [$(config-machine) = x86_64] (modules-names): Likewise.
28779 ($(objpfx)tst-audit3): Remove dependency.
28780 ($(objpfx)tst-audit3.out): Likewise.
28781 ($(objpfx)tst-audit4): Likewise.
28782 ($(objpfx)tst-audit4.out): Likewise.
28783 ($(objpfx)tst-audit5): Likewise.
28784 ($(objpfx)tst-audit5.out): Likewise.
28785 ($(objpfx)tst-audit6): Likewise.
28786 ($(objpfx)tst-audit6.out): Likewise.
28787 ($(objpfx)tst-audit7): Likewise.
28788 ($(objpfx)tst-audit7.out): Likewise.
28789 (tst-audit3-ENV): Remove variable.
28790 (tst-audit4-ENV): Likewise.
28791 (tst-audit5-ENV): Likewise.
28792 (tst-audit6-ENV): Likewise.
28793 (tst-audit7-ENV): Likewise.
28794 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28795 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28796 addition to variable.
28797 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28798 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28799 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28800 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28801 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28802 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28803 tst-audit3, tst-audit4 and tst-audit5.
28804 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28805 tst-audit6 and tst-audit7.
28806 [$(subdir) = elf] (modules-names): Add audit modules for those
28807 tests.
28808 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28809 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28810 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28811 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28812 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28813 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28814 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28815 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28816 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28817 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28818 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28819 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28820 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28821 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28822 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28823 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28824 Likewise.
28825 [$(subdir) = elf && $(config-cflags-avx) = yes]
28826 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28827 [$(subdir) = elf && $(config-cflags-avx) = yes]
28828 (CFLAGS-tst-auditmod4a.c): Likewise.
28829 [$(subdir) = elf && $(config-cflags-avx) = yes]
28830 (CFLAGS-tst-auditmod4b.c): Likewise.
28831 [$(subdir) = elf && $(config-cflags-avx) = yes]
28832 (CFLAGS-tst-auditmod6b.c): Likewise.
28833 [$(subdir) = elf && $(config-cflags-avx) = yes]
28834 (CFLAGS-tst-auditmod6c.c): Likewise.
28835 [$(subdir) = elf && $(config-cflags-avx) = yes]
28836 (CFLAGS-tst-auditmod7b.c): Likewise.
28837 * elf/tst-audit3.c: Move to ...
28838 * sysdeps/x86_64/tst-audit3.c: ... here.
28839 * elf/tst-audit4.c: Move to ...
28840 * sysdeps/x86_64/tst-audit4.c: ... here.
28841 * elf/tst-audit5.c: Move to ...
28842 * sysdeps/x86_64/tst-audit5.c: ... here.
28843 * elf/tst-audit6.c: Move to ...
28844 * sysdeps/x86_64/tst-audit6.c: ... here.
28845 * elf/tst-audit7.c: Move to ...
28846 * sysdeps/x86_64/tst-audit7.c: ... here.
28847 * elf/tst-auditmod3a.c: Move to ...
28848 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28849 * elf/tst-auditmod3b.c: Move to ...
28850 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28851 * elf/tst-auditmod4a.c: Move to ...
28852 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28853 * elf/tst-auditmod4b.c: Move to ...
28854 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28855 * elf/tst-auditmod5a.c: Move to ...
28856 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28857 * elf/tst-auditmod5b.c: Move to ...
28858 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28859 * elf/tst-auditmod6a.c: Move to ...
28860 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28861 * elf/tst-auditmod6b.c: Move to ...
28862 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28863 * elf/tst-auditmod6c.c: Move to ...
28864 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28865 * elf/tst-auditmod7a.c: Move to ...
28866 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28867 * elf/tst-auditmod7b.c: Move to ...
28868 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28869
1ef74943
PP
288702013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28871
28872 [BZ #15366]
28873 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28874 define unconditionally.
28875 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28876 define unconditionally.
28877 (INT8_C, INT16_C, etc.): Likewise.
28878
93fd48c5
MR
288792013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28880
ae9552cf
MR
28881 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28882 __ehdr_start with hidden visibility.
28883
93fd48c5
MR
28884 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28885
418601aa
CD
288862013-04-24 Carlos O'Donell <carlos@redhat.com>
28887
28888 * math/libm-test.inc (cos_test): Use accurate hex constants.
28889 (sincost_test): Likewise.
28890
2f38fbfe
JM
288912013-04-24 Joseph Myers <joseph@codesourcery.com>
28892
5e221800
JM
28893 * math/libm-test.inc (catan_test): Add more tests.
28894 (catanh_test): Likewise.
28895
77f143fd
JM
28896 * math/s_catanf.c (__catanf): Use suffixed floating-point
28897 constants.
28898 * math/s_catanhf.c (__catanhf): Likewise.
28899 * math/s_catanhl.c (__catanhl): Likewise.
28900 * math/s_catanl.c (__catanl): Likewise.
28901
2f38fbfe
JM
28902 [BZ #15394]
28903 * math/s_catan.c (__catan): Calculate imaginary part of result
28904 with log1p not log unless computing log of number close to 0.
28905 * math/s_catanf.c (__catanf): Likewise.
28906 * math/s_catanl.c (__catanl): Likewise.
28907 * math/s_catanh.c (__catanh): Calculate real part of result with
28908 log1p not log unless computing log of number close to 0.
28909 * math/s_catanhf.c (__catanhf): Likewise.
28910 * math/s_catanhl.c (__catanhl): Likewise.
28911 * math/libm-test.inc (catan_test): Add more tests.
28912 (catanh_test): Likewise.
28913 * sysdeps/i386/fpu/libm-test-ulps: Update.
28914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28915
45d69176
SP
289162013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28917
28918 * benchtests/Makefile: Mention files in which fast and slow
28919 paths of math functions are implemented.
28920
87f51853
RM
289212013-04-23 Roland McGrath <roland@hack.frob.com>
28922
28923 * sysdeps/posix/timespec_get.c: New file.
28924
3c026539
AZ
289252013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28926
28927 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28928 POWER.
28929 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28930 for POWER.
28931 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28932 powerpc/power5/fpu folders.
28933 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28934 * benchtests/Makefile: Add modf testcase.
28935 * benchtests/bench-modf.c: New file: Benchmark test for mo
28936
ff491d14
SP
289372013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28938
28939 [BZ #14888]
28940 * time/Makefile (tests): Add tst-strptime-whitespace.
28941 * time/strptime_l.c (get_number): Use ISSPACE.
28942 (__strptime_internal): Likewise.
28943 * time/tst-strptime-whitespace.c: New test case.
28944
7ed3f4e8
AS
289452013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28946
28947 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28948 member.
28949 (_nss_files_init): Set it here.
28950
5c95f7b6
HC
289512013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28952
28953 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28954 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28955 unsigned.
28956
d34c9158
JBG
289572013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28958
28959 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28960
2169712d
SP
289612013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28962
28963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28964 size just once.
28965
29c5de99
DM
289662013-04-21 David S. Miller <davem@davemloft.net>
28967
28968 * po/ru.po: Update Russion translation from translation project.
28969
ccdad15d
AC
289702013-04-17 Adam Conrad <adconrad@0c3.net>
28971
28972 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28973 and setfsgid.
28974
0f122b8d
CD
289752013-04-17 Carlos O'Donell <carlos@redhat.com>
28976
5c5b07da 28977 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28978 * configure: Regenerate.
5c5b07da 28979 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28980 Add example to error message.
28981 * sysdeps/i386/configure: Regenerate.
28982
037714dd
SP
289832013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28984
28985 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28986 slowtan.
28987 * benchtests/cos-inputs: New file.
28988 * benchtests/slowcos-inputs: New file.
28989 * benchtests/slowcos.c: New file.
28990 * benchtests/slowtan-inputs: New file.
28991 * benchtests/slowtan.c: New file.
28992 * benchtests/tan-inputs: New file.
28993
e913141d
RM
289942013-04-16 Roland McGrath <roland@hack.frob.com>
28995
28996 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28997 considered kosher.
28998
a2964074
SP
289992013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29000
4856bcd2
SP
29001 * benchtests/Makefile: Include cppflags-iterator.mk to add
29002 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29003
a2964074
SP
29004 * Makefile.in (bench-clean): New target.
29005 * benchtests/Makefile (bench-clean): Likewise.
29006
9fbf9aca
DH
290072013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29008
29009 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29010
207d1e2a
TS
290112013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29012
29013 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29014
306dfba9
AS
290152013-04-15 Andreas Schwab <schwab@suse.de>
29016
29017 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29019 * nscd/pwdcache.c (cache_addpw): Likewise.
29020 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29021 more than recsize.
29022
206a6699
SP
290232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29024
29025 * benchtests/Makefile (bench): Write all output to
29026 bench-out.tmp together.
29027
0582f6b3
AS
290282013-04-15 Andreas Schwab <schwab@suse.de>
29029
29030 * nscd/nscd.c (main): Don't fork again after closing files.
29031
acb4325f
SP
290322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29033
5cb26d0a
SP
29034 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29035
acb4325f
SP
29036 * benchtests/Rules (bench-deps): Collect dependencies into a
29037 single variable. Add Makefile to dependencies.
29038 ($(objpfx)bench-%.c): Depend on bench-deps.
29039
47792506
RM
290402013-04-12 Roland McGrath <roland@hack.frob.com>
29041 Xavier Roche <roche+kml2@exalead.com>
29042
29043 [BZ #15361]
29044 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29045 just that it's a file descriptor.
29046 * manual/llio.texi (Synchronizing AIO Operations): Update description
29047 for EBADF error from aio_fsync.
29048
8fc1bee5
SP
290492013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29050
29051 * Rules (bench): Move target definition...
29052 * benchtests/Makefile: ... here.
29053
aba5e333
CD
290542013-04-11 Carlos O'Donell <carlos@redhat.com>
29055
29056 * math/libm-test.inc (cos_test): Fix PI/2 test.
29057 (sincos_test): Likewise.
29058 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29059 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29060
273cdee8
AS
290612013-04-11 Andreas Schwab <schwab@suse.de>
29062
6ecec3b6
AS
29063 [BZ #13988]
29064 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29065 accept exponent character only when digits were seen.
29066 * stdio-common/Makefile (tests): Add bug26.
29067 * stdio-common/bug26.c: New file.
29068
273cdee8
AS
29069 [BZ #14293]
29070 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29071 non-freeable.
29072
8da491f5
SP
290732013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29074
01dc6df9
SP
29075 * Makeconfig (rtld-prefix): Define built linker prefix.
29076 * Rules (run-bench): Use it.
29077 * math/Makefile (run-regen-ulps): Likewise.
29078
8da491f5
SP
29079 * Rules (bench): Remove eval.
29080
abe7f530
SP
290812013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29082 Roland McGrath <roland@hack.frob.com>
29083 Ondrej Bilka <neleai@seznam.cz>
29084
29085 [BZ #15346]
29086 * time/getdate.c: Include ctype.h and alloca.h.
29087 (__getdate_r): Trim leading and trailing spaces of input.
29088 * time/tst-getdate.c (tests): Add tests with leading and
29089 trailing spaces.
29090
61c23e62
RM
290912013-04-08 Roland McGrath <roland@hack.frob.com>
29092
29093 [BZ #14280]
29094 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29095 when computing value.
29096
7208a313
CD
290972013-04-06 Carlos O'Donell <carlos@redhat.com>
29098
085b2d41
CD
29099 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29100 Use testrun.sh to run libm tests.
29101
7208a313
CD
29102 [BZ #15309]
29103 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29104
872c0acd
MM
291052013-04-06 Marko Myllynen <myllynen@redhat.com>
29106
29107 [BZ #15264]
29108 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29109
26510bdd
CD
291102013-04-06 Carlos O'Donell <carlos@redhat.com>
29111
29112 * Makefile.in (regen-ulps): New target.
29113 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29114 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29115 [ifneq (no,$(PERL)] (regen-ulps): New target.
29116 [ifeq (no,$(PERL)] (regen-ulps): New target.
29117 * math/libm-test.inc (ulps_file_name): Define.
29118 (output_dir): New variable.
29119 (options): Add "output-dir" option.
29120 (parse_opt): Handle 'o' case.
29121 (main): If output_dir is non-NULL use it as a prefix
29122 otherwise use "".
29123 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29124
a01f19c8
CD
291252013-04-06 Carlos O'Donell <carlos@redhat.com>
29126
29127 [BZ #10060, #10062]
29128 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29129 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29130 fail configure if __sync_val_compare_and_swap is not inlined.
29131 * sysdeps/i386/configure: Regenerate.
29132 * configure.in: Build for i686 when configured for i386.
29133 * configure: Regenerate.
29134 * README: Remove i386 reference.
29135
b7a329a5
CD
291362013-04-06 Carlos O'Donell <carlos@redhat.com>
29137
29138 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29140
bf0f50df
TS
291412013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29142
ee091edf
TS
29143 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29144 (lmsnanval): New variables.
29145 (F): Add conversion tests.
29146 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29147 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29148
a8b792d6
TS
29149 * stdio-common/tstdiomisc.c (F): Properly collect individual
29150 tests' results.
29151
a1cbf437
TS
29152 [BZ #14686, #15336]
29153 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29154 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29155 Instead, use input NaN values or generate a qNaN by arithmetic
29156 operation. Also fix bugs to comply with the standard.
29157 * math/libm-test.inc (remainder_test): Add more tests.
29158
8b43a0c9
TS
29159 [BZ #15335, #15342]
29160 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29162 input NaN values or generate a qNaN by arithmetic operation.
29163
d91da4ce
TS
29164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29165 unreachable code.
29166
bf0f50df
TS
29167 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29168 definitions.
29169
05e166c8
JM
291702013-04-03 Joseph Myers <joseph@codesourcery.com>
29171
29172 [BZ #14478]
29173 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29174 underflowed result.
29175 * math/s_cexpf.c (__cexpf): Likewise.
29176 * math/s_cexpl.c (__cexpl): Likewise.
29177 * math/libm-test.inc (cexp_test): Add more tests.
29178
1cef1b19
AS
291792013-04-03 Andreas Schwab <schwab@suse.de>
29180
29181 [BZ #15330]
29182 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29183 order arrays from heap if bigger than alloca cutoff.
29184
74d87055
TS
291852013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29186
29187 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29188 (SNAN_TESTS_double): Refer to GCC PR56831.
29189 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29190 GCC PR56828.
29191
d755bba4
SP
291922013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29193
90d5d5bb
SP
29194 * Rules (bench): Move bench.out after the run is complete.
29195
73e0cd5d
SP
29196 * Rules (bench): Echo currently running benchmark.
29197
64aabd4b
SP
29198 * benchtests/Makefile (bench): Add atan and slowatan.
29199 * benchtests/atan-inputs: New file.
29200 * benchtests/slowatan-inputs: New file.
29201 * benchtests/slowatan.c: New file.
29202
c871eccd
SP
29203 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29205 its value.
29206
d755bba4
SP
29207 [BZ #15305]
29208 * sysdeps/unix/sysv/linux/kernel-features.h
29209 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29210 __ASSUME_XFS_RESTRICTED_CHOWN.
29211 * sysdeps/unix/sysv/linux/pathconf.c
29212 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29213 Save and restore errno.
29214
52ce4860
JM
292152013-04-02 Joseph Myers <joseph@codesourcery.com>
29216
29217 [BZ #15327]
29218 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29219 arguments using __kernel_casinh.
29220 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29221 arguments using __kernel_casinhf.
29222 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29223 arguments using __kernel_casinhl.
29224 * math/libm-test.inc (cacosh_test): Add more tests.
29225 * sysdeps/i386/fpu/libm-test-ulps: Update.
29226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29227
81f311c2
SP
292282013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29229
e7906a47
SP
29230 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29232
92e3664b
SP
29233 * bench/Makefile (bench): Add sin and slowsin.
29234 * benchtests/sin-inputs: New file.
29235 * benchtests/slowsin-inputs: New file.
29236 * benchtests/slowsin.c: New file.
29237
81f311c2
SP
29238 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29239 (bench): Add slowexp and slowpow.
29240 (exp-ITER): Increase iterations.
29241 (pow-ITER): Likewise.
29242 * benchtests/exp-inputs: Change input.
29243 * benchtests/pow-inputs: Likewise.
29244 * benchtests/slowexp-inputs: New file.
29245 * benchtests/slowexp.c: New file.
29246 * benchtests/slowpow-inputs: New file.
29247 * benchtests/slowpow.c: New file.
29248
ab0f1aa9
AZ
292492013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29250
29251 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29252 instructions.
29253 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29254 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29255 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29256 * benchtests/Makefile: Add rint benchtest.
29257 * benchtests/rint-inputs: Input for rint benchtest.
29258
57267616
TS
292592013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29260
29261 * Versions.def (libm): Add GLIBC_2.18.
29262 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29263 hidden libm prototypes.
29264 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29265 * math/Makefile (libm-calls): Add s_issignaling.
29266 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29267 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29268 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29269 declaration.
29270 * math/math.h [__USE_GNU] (issignaling): New macro.
29271 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29272 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29277 * manual/arith.texi (issignaling): New section.
29278 * manual/libm-err-tab.pl (@all_functions): Update comment.
29279 * math/gen-libm-test.pl (parse_args): Apply special handling for
29280 issignaling.
29281 * math/libm-test.inc (print_float, issignaling_test): New
29282 functions.
29283 (check_float_internal): Add issignaling checks.
29284 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29285 default definition.
29286 * sysdeps/powerpc/math-tests.h: New file.
29287 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29288 tests.
29289 * math/test-snan.c (TEST_FUNC): Likewise.
29290
6142896d
DM
292912013-03-30 David S. Miller <davem@davemloft.net>
29292
29293 * po/de.po: Update from translation team.
29294
ccc8cadf
JM
292952013-03-30 Joseph Myers <joseph@codesourcery.com>
29296
29297 [BZ #10357]
29298 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29299 imaginary part less than 1.0 and real part less than 0.5
29300 specially.
29301 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29302 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29303 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29304 (cacos_test): Add more tests.
29305 (casin_test): Likewise.
29306 (casinh_test): Likewise.
29307 * sysdeps/i386/fpu/libm-test-ulps: Update.
29308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29309
0f6a8d4b
SP
293102013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29311
0d1029de
SP
29312 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29313 ONE with its value.
29314
c2d94018
SP
29315 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29316 (__pow_mp): Replace ONE and MONE with their values.
29317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29318 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29319 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29320 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29321 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29323
27ec37f1
SP
29324 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29325
a64d7e0e
SP
29326 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29327 (__pow_mp): Replace ZERO and MZERO with their values.
29328 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29330 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29332 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29333 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29334 (__sqr): Likewise.
29335
d26dd3eb
SP
29336 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29337
0f6a8d4b
SP
29338 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29339
e57b0c61
RM
293402013-03-28 Roland McGrath <roland@hack.frob.com>
29341
29342 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29343 Declare with __attribute__ ((weak)).
29344 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29345 Call __call_tls_dtors only if it's not NULL.
29346
356b3480
RM
293472013-03-28 Roland McGrath <roland@hack.frob.com>
29348
288f7d79
RM
29349 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29350 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29351 magic __ehdr_start linker symbol if it's defined.
29352 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29353 them up here if it was already done.
29354
dc0a0263
RM
29355 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29356 (_dl_aux_init): Use const in cast when setting it.
29357 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29358 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29359 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29360
3d3436ae
RM
29361 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29362 Declare them here.
29363 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29364 * csu/libc-tls.c: Nor here.
29365 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29366
356b3480
RM
29367 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29368 (__libc_message): Never call vsyslog.
29369
b0f1246a
AM
293702013-03-28 Alan Modra <amodra@gmail.com>
29371
29372 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29373 Define as empty.
29374 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29375 Likewise.
29376
fbbe2b9a
AZ
293772013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29378
29379 [BZ #15214]
29380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29381 underflow.
29382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29383
1728ab37
SP
293842013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29385
7a86be6e
SP
29386 [BZ #15304]
29387 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29388 Don't add gid passed as argument.
29389
1728ab37
SP
29390 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29391
3a7182a1
JM
293922013-03-27 Joseph Myers <joseph@codesourcery.com>
29393
29394 [BZ #15307]
29395 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29396 imaginary part between 1.0 and 1.5 and real part less than 0.5
29397 specially.
29398 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29399 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29400 * math/libm-test.inc (cacos_test): Add more tests.
29401 (casin_test): Likewise.
29402 (casinh_test): Likewise.
29403 * sysdeps/i386/fpu/libm-test-ulps: Update.
29404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29405
6f2e90e7
SP
294062013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29407
5739f705
SP
29408 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29409 constants.
29410 (norm): Likewise.
29411 (denorm): Likewise.
29412 (__dbl_mp): Likewise.
29413 (add_magnitudes): Likewise.
29414 (sub_magnitudes): Likewise.
29415 (__add): Likewise.
29416 (__sub): Likewise.
29417 (__mul): Likewise.
29418 (__sqr): Likewise.
29419 (__inv): Likewise.
29420 (__dvd): Likewise.
29421
e375e83d
SP
29422 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29423 commented code.
29424 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29425 (__dubcos): Likewise.
29426 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29427 (__ieee754_acos): Likewise.
29428 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29429 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29430 (__exp1): Likewise.
29431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29432 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29433 (log1): Likewise.
29434 (my_log2): Likewise.
29435 (checkint): Likewise.
29436 * sysdeps/ieee754/dbl-64/e_remainder.c
29437 (__ieee754_remainder): Likewise.
29438 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29439 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29440 (bsloww): Likewise.
29441 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29442
6f2e90e7
SP
29443 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29444 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29445 MANTISSA_STORE_T to store computations on mantissa. Use
29446 macros for rounding and division.
29447 (denorm): Likewise.
29448 (__dbl_mp): Likewise.
29449 (add_magnitudes): Likewise.
29450 (sub_magnitudes): Likewise.
29451 (__mul): Likewise.
29452 (__sqr): Likewise.
29453 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29454 powers of two in terms of TWOPOW macro.
29455 (mp_no): Make type of mantissa as MANTISSA_T.
29456 [!RADIXI]: Define RADIXI.
29457 [!TWO52]: Define TWO52.
29458 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29459
fce14d4e
AZ
294602013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29461
29462 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29463 llroundl symbol when building for PPC32.
29464
9ad027fb
MW
294652013-03-24 Mark H Weaver <mhw@netris.org>
29466
29467 * manual/arith.texi (Normalization Functions): Fix prototypes for
29468 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29469
e42a38dd
AZ
294702013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29471
29472 [BZ #13889]
29473 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29474 high value to check if expl overflow.
29475 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29476 to check for underflow and overflow.
29477 * math/libm-test.inc: Add exp test.
29478
2e0fb521
DL
294792013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29480
29481 [BZ #11120]
29482 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29483 with NOT_IN_libc.
29484
b5784d95
AZ
294852013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29486
29487 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29488 symbol.
29489
5aa4a1a1
TS
294902013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29491
bdef0be7
TS
29492 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29493 wrap blocks consisting of several statements.
29494
5aa4a1a1
TS
29495 * sysdeps/generic/math-tests.h: New file.
29496 * sysdeps/i386/fpu/math-tests.h: Likewise.
29497 * math/test-snan.c: Include it.
29498 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29499
98c48fe5
JM
295002013-03-21 Joseph Myers <joseph@codesourcery.com>
29501
29502 [BZ #15285]
29503 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29504 (__ieee754_j0l): Do not improve calculations using cos of twice
29505 input for inputs above LDBL_MAX / 2.0L.
29506 (__ieee754_y0l): Likewise.
29507 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29508 (__ieee754_j1l): Do not improve calculations using cos of twice
29509 input for inputs above LDBL_MAX / 2.0L.
29510 (__ieee754_y1l): Likewise.
29511 * math/libm-test.inc (j0_test): Add another test.
29512 (j1_test): Likewise.
29513 (y0_test): Likewise.
29514 (y1_test): Likewise.
29515 * sysdeps/i386/fpu/libm-test-ulps: Update.
29516
3775a8bc
SP
295172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29518
29519 * Rules ($(objpfx)bench-%.c): Include code from a C source
29520 file.
29521
0a1b2ae6
JM
295222013-03-21 Joseph Myers <joseph@codesourcery.com>
29523
29524 [BZ #15287]
29525 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29526 imaginary part 1.0 and real part less than 0.5 specially.
29527 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29528 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29529 * math/libm-test.inc (cacos_test): Add more tests.
29530 (casin_test): Likewise.
29531 (casinh_test): Likewise.
29532 * sysdeps/i386/fpu/libm-test-ulps: Update.
29533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29534
b33d4ce4
SP
295352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29536
29537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29538 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29539
bef0b507
JM
295402013-03-20 Joseph Myers <joseph@codesourcery.com>
29541
29542 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29543 * config.make.in (config-cflags-sse4): Remove variable.
29544 (config-cflags-avx): Likewise.
29545 (config-cflags-sse2avx): Likewise.
29546 (config-cflags-novzeroupper): Likewise.
29547 (config-asflags-i686): Likewise.
29548 (have-mfma4): Likewise.
29549 (have-as-vis3): Likewise.
29550 (MIG): Likewise.
29551 * configure.in (MIG): Do not AC_SUBST.
29552 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29553 (libc_cv_cc_sse4): Do not AC_SUBST.
29554 (libc_cv_cc_avx): Likewise.
29555 (libc_cv_cc_sse2avx): Likewise.
29556 (libc_cv_cc_novzeroupper): Likewise.
29557 (libc_cv_cc_fma4): Likewise.
29558 (libc_cv_as_i686): Likewise.
29559 (libc_cv_sparc_as_vis3): Likewise.
29560 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29561 LIBC_CONFIG_VAR.
29562 (config-asflags-i686): Likewise.
29563 (config-cflags-avx): Likewise.
29564 (config-cflags-sse2avx): Likewise.
29565 (have-mfma4): Likewise.
29566 (config-cflags-novzeroupper): Likewise.
29567 * sysdeps/mach/configure.in (MIG): Likewise.
29568 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29569 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29570 LIBC_CONFIG_VAR.
29571 (config-cflags-avx): Likewise.
29572 (config-cflags-sse2avx): Likewise.
29573 (have-mfma4): Likewise.
29574 (config-cflags-novzeroupper): Likewise.
29575 * configure: Regenerated.
29576 * sysdeps/i386/configure: Likewise.
29577 * sysdeps/mach/configure: Likewise.
29578 * sysdeps/sparc/configure: Likewise.
29579 * sysdeps/x86_64/configure: Likewise.
29580
912cc4b3
RM
295812013-03-20 Roland McGrath <roland@hack.frob.com>
29582
29583 [BZ #14812]
29584 * locale/programs/localedef.c (options): Put N_ translation marker
29585 on argument names, not just descriptions.
29586
04eed2b0
MS
295872013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29588
29589 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29590
a065ceff
OB
295912013-03-20 Ondřej Bílka <neleai@seznam.cz>
29592
9bb2a810 29593 [BZ #14176]
a065ceff
OB
29594 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29595
a600e5ce
RM
295962013-03-19 Roland McGrath <roland@hack.frob.com>
29597
29598 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29599 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29600 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29601 [!BEFORE_ABORT] (before_abort): New function.
29602 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29603 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29604 (writev_for_fatal): New function.
29605 (WRITEV_FOR_FATAL): New macro; call that.
29606 (backtrace_and_maps): New function.
29607 (BEFORE_ABORT): New macro; call that.
29608 (struct str_list): Type removed.
29609 (__libc_message, __libc_fatal): Functions removed.
29610 Include <sysdeps/posix/libc_fatal.c> instead.
29611
6b18bea6
JM
296122013-03-19 Joseph Myers <joseph@codesourcery.com>
29613
29614 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29615 constants.
29616 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29617 double constants.
29618
aaa8cb4b
AS
296192013-03-19 Andreas Schwab <schwab@suse.de>
29620
44673770
AS
29621 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29622 * sysdeps/gnu/configure: Regenerate.
29623
aaa8cb4b
AS
29624 * configure.in: Substitute libc_cv_rtlddir.
29625 * configure: Regenerate.
29626 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29627 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29628 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29629 * elf/Makefile (install-others, CFLAGS-interp.c)
29630 (ldso_install, common-ldd-rewrite): Likewise.
29631 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29632 $(inst_slibdir)/$(rtld-installed-name).
29633 * scripts/rellns-sh: Add -p option.
29634 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29635 for source.
29636
d3cfc668
SP
296372013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29638
29639 * manual/nptl.texi: Renamed to ...
29640 * manual/threads.texi: ... this.
29641 * manual/Makefile (chapters): Update.
29642
0e2b9cdd
RM
296432013-03-18 Roland McGrath <roland@hack.frob.com>
29644
29645 [BZ #14812]
29646 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29647 on argument names, not just descriptions.
0e2b9cdd
RM
29648 * malloc/memusagestat.c (options): Likewise.
29649 * nss/getent.c (options): Likewise.
63270c24
RM
29650
296512013-03-18 Benno Schulenberg <bensberg@justemail.net>
29652
29653 [BZ #14812]
29654 * iconv/iconv_prog.c (options): Put N_ translation marker
29655 on argument names, not just descriptions.
29656 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29657
b2e1393c
OB
296582013-03-18 Ondrej Bilka <neleai@seznam.cz>
29659
29660 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29661 implementation which is faster on all x86_64 architectures.
29662 Tested on AMD, Intel Nehalem, SNB, IVB.
29663 * sysdeps/x86_64/strnlen.S: Likewise.
29664
29665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29666 Remove all multiarch strlen and strnlen versions.
29667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29668 Remove strlen and strnlen related parts.
29669
29670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29671 Inline strlen part.
29672 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29673
29674 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29676 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29677 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29678 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29679 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29680
ec4ff04d
CD
296812013-03-17 Carlos O'Donell <carlos@redhat.com>
29682
29683 * manual/memory.texi (Malloc Tunable Parameters):
29684 Sort parameters alphabetically. Add comments for missing entries.
29685
cd18e90a
DM
296862013-03-17 David S. Miller <davem@davemloft.net>
29687
29688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29689
2a185d32
JM
296902013-03-16 Joseph Myers <joseph@codesourcery.com>
29691
d2f9799e
JM
29692 [BZ #15283]
29693 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29694 for arguments at most half maximum finite value.
29695 * math/libm-test.inc (j0_test): Add more tests.
29696 (j1_test): Likewise.
29697 (y0_test): Likewise.
29698 (y1_test): Likewise.
29699 * sysdeps/i386/fpu/libm-test-ulps: Update.
29700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29701
2a185d32
JM
29702 [BZ #14155]
29703 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29704 1 / x and functions P and Q for arguments above 0x1p256L.
29705 (__ieee754_y0l): Likewise.
29706 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29707 (__ieee754_y1l): Likewise.
29708 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29709 (j1_test): Likewise.
29710 (y0_test): Likewise.
29711 (y1_test): Likewise.
29712
6cbec759
TS
297132013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29714
29715 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29716 variable.
29717
bc16e260
RM
297182013-03-15 Roland McGrath <roland@hack.frob.com>
29719
aefc9b8c
RM
29720 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29721 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29722 zero since it's initialized to EXEC_PAGESIZE.
29723
bc16e260
RM
29724 * sysdeps/unix/sysv/linux/ldsodefs.h
29725 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29726 * sysdeps/generic/ldsodefs.h: ... here.
29727
a57da955
TS
297282013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29729
af00a34d
TS
29730 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29731
495ded2c
TS
29732 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29733 math/test-snan.c.
29734 * math/test-snan.c: Renamed from
29735 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29736 * math/Makefile (tests): Add test-snan.
29737 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29738 test-powerpc-snan.
29739
777b0332
TS
29740 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29741 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29742 functions.
29743 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29744 __builtin_nan family of functions.
29745 * math/libm-test.inc (initialize): Initialize qnan_value with
29746 __builtin_nan family of functions.
29747 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29748 Remove variables.
29749 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29750 Remove functions.
29751 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29752 storage class. Initialize qNaN_var and sNaN_var with
29753 __builtin_nan and __builtin_nans families of functions,
29754 respectively.
29755
64d063b8
TS
29756 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29757 (sqrt_test): Remove duplicate test with qNaN input.
29758 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29759 (round_test, signbit_test, significand_test): Note missing +/-Inf
29760 as well as qNaN tests.
29761
67e971f1
TS
29762 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29763 qNaN_var. Fix a few strings, too.
29764 * math/libm-test.inc (nan_value): Rename to qnan_value.
29765 * math/gen-libm-test.pl (%beautify): Adjust to that.
29766 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29767 * math/test-misc.c (main): Likewise.
29768 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29769 to __qnan_bytes, and __qnan_union, respectively.
29770 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29771 Likewise.
29772 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29773 and lqnanval, respectively.
29774 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29775 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29776 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29777 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29778
64487e12
TS
29779 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29780 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29781 doubles.
29782
e015e27b
TS
29783 * math/test-misc.c (main): Fix copy'n'pastos.
29784 * misc/tst-efgcvt.c (special): Likewise.
29785
a57da955
TS
29786 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29787 Remove declarations.
29788
1e380345
SP
297892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29790
29791 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29792 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29793 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29794 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29795
ef26eece
AZ
297962013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29797
29798 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29799 macro to return vdso values correctly in IFUNC implementations.
29800 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29801 Optimization by using IFUNC.
29802
8cfdb7e0
SP
298032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29804 Richard Henderson <rth@redhat.com>
29805 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29806
29807 * Makefile.in (bench): New target.
29808 * NEWS: Mention the benchmark framework.
29809 * Rules (bench): Likewise.
29810 (binaries-bench): Generate binaries for functions to
29811 benchmark.
29812 * benchtests/Makefile: New makefile for benchmark tests.
29813 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29814 programs.
29815 * benchtests/exp-inputs: New input file for EXP function.
29816 * benchtests/pow-inputs: New input file for POW function.
29817 * scripts/bench.pl: New script to generate source files for
29818 benchmark programs.
29819
bcda9880
SP
298202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29821
d22ca8cd
SP
29822 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29823 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29824 computations on mantissa. Use macros for rounding and
29825 division.
29826 (denorm): Likewise.
29827 (__dbl_mp): Likewise.
29828 (add_magnitudes): Likewise.
29829 (sub_magnitudes): Likewise.
29830 (__mul): Likewise.
29831 (__sqr): Likewise.
29832 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29833 powers of two in terms of TWOPOW macro.
29834 (mp_no): Make type of mantissa as MANTISSA_T.
29835 [!RADIXI]: Define RADIXI.
29836 [!TWO52]: Define TWO52.
29837 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29838
bcda9880
SP
29839 * manual/nptl.texi (cindex): Modify threads to pthreads.
29840
06d5adfb
JM
298412013-03-15 Joseph Myers <joseph@codesourcery.com>
29842
29843 * sysdeps/x86_64/preconfigure: Regenerated.
29844
41c7328e
JM
298452013-03-14 Joseph Myers <joseph@codesourcery.com>
29846
29847 [BZ #14155]
29848 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29849 0x1p28 and above.
29850 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29851 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29852 0x1p28 and above.
29853 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29854 * math/libm-test.inc (j0_test): Do not allow one spurious
29855 underflow exception.
29856 (y1_test): Likewise.
29857
e25cfa60
SP
298582013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29859
0409959c
SP
29860 * manual/Makefile (chapters): Add nptl.
29861 * manual/debug.texi (Debugging Support): Add link to Threads
29862 chapter.
29863 * manual/nptl.texi: New file.
29864
e25cfa60
SP
29865 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29866
58a1335e
PB
298672013-03-14 Petr Baudis <pasky@ucw.cz>
29868
29869 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29870 for non-NULL pointer before the memory validity test. Pointed
29871 out by Holger Brunck <holger.brunck@keymile.com>.
29872
9dc7c64f
AS
298732013-03-13 Andreas Schwab <schwab@suse.de>
29874
29875 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29876 instead of .os.
29877
54206aa6
JM
298782013-03-13 Joseph Myers <joseph@codesourcery.com>
29879
29880 * timezone/zic.c: Update from tzcode 2013b.
29881
e98cdb38
CD
298822013-03-12 Carlos O'Donell <carlos@redhat.com>
29883
29884 * manual/install.texi (Configuring and compiling):
29885 Mention i686 and i586.
29886 * INSTALL: Regenerate.
29887
9967e003
RM
298882013-03-12 Roland McGrath <roland@hack.frob.com>
29889
29890 * sysdeps/init_array/elf-init.c: New file.
29891 * csu/elf-init.c
29892 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29893 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29894
29895 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29896 __gmon_start__ as global, but as static with a .preinit_array pointer.
29897 * sysdeps/init_array/gmon-start.c: New file. Use that.
29898 * sysdeps/init_array/crti.S: New file, empty except for comments.
29899 * sysdeps/init_array/crtn.S: Likewise.
29900
e6b5a293 299012013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29902
29903 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29904 definining bcopy.
80f844c9
OB
29905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29906 Remove Prefer_SSE_for_memop.
29907 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29908 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29909 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29911 memset-x86-64.
80f844c9 29912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29913 Remove bzero, memset ifunc support.
80f844c9
OB
29914 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29915 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29916 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29917 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29918
fb6b0fcb
AS
299192013-03-11 Andreas Schwab <schwab@suse.de>
29920
29921 [BZ #15234]
29922 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29923 by SHLIB_COMPAT.
29924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29925 (GLIBC_2.16): Remove pthread_atfork.
29926
3e6bd4b1
PP
299272013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29928
29929 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29930 (ptestcases.h): Likewise.
29931
222d7f00
RM
299322013-03-08 Roland McGrath <roland@hack.frob.com>
29933
29934 * Makeconfig ($(common-objpfx)config.status): Depend on
29935 sysdeps/*/preconfigure{,.in} too.
29936
1ba4f030
JM
299372013-03-08 Joseph Myers <joseph@codesourcery.com>
29938
a222d91a
JM
29939 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29940 (__free_hook): Use void * instead of __malloc_ptr_t.
29941 (__malloc_hook): Likewise.
29942 (__realloc_hook): Likewise.
29943 (__memalign_hook): Likewise.
29944 (__after_morecore_hook): Likewise.
29945 * malloc/arena.c (save_malloc_hook): Likewise.
29946 (save_free_hook): Likewise.
29947 * malloc/hooks.c (malloc_hook_ini): Likewise.
29948 (realloc_hook_ini): Likewise.
29949 (memalign_hook_ini): Likewise.
29950 * malloc/malloc.c (malloc_hook_ini): Likewise.
29951 (realloc_hook_ini): Likewise.
29952 (memalign_hook_ini): Likewise.
29953 (__free_hook): Likewise.
29954 (__malloc_hook): Likewise.
29955 (__realloc_hook): Likewise.
29956 (__memalign_hook): Likewise.
29957 (__libc_malloc): Likewise.
29958 (__libc_free): Likewise.
29959 (__libc_realloc): Likewise.
29960 (__libc_memalign): Likewise.
29961 (__libc_valloc): Likewise.
29962 (__libc_pvalloc): Likewise.
29963 (__libc_calloc): Likewise.
29964 (__posix_memalign): Likewise.
29965 * malloc/morecore.c (__sbrk): Likewise.
29966 (__default_morecore): Likewise.
29967
5cc45e10
JM
29968 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29969
dd54b864
JM
29970 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29971 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29972 __malloc_ptrdiff_t.
29973
1ba4f030
JM
29974 * malloc/malloc.h (__malloc_size_t): Remove macro.
29975 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29976 __malloc_size_t.
29977 (old_memalign_hook): Likewise.
29978 (old_realloc_hook): Likewise.
29979 (struct hdr): Likewise.
29980 (flood): Likewise.
29981 (mallochook): Likewise.
29982 (memalignhook): Likewise.
29983 (reallochook): Likewise.
29984 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29985 (tr_old_realloc_hook): Likewise.
29986 (tr_old_memalign_hook): Likewise.
29987 (tr_mallochook): Likewise.
29988 (tr_reallochook): Likewise.
29989 (tr_memalignhook): Likewise.
29990
edf66e57
AZ
299912013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29992
29993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29994 default_ldbl_pack and using as default implementation.
29995 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29996 implementation.
29997 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29998 redundant definition.
29999 (ldbl_insert_mantissa): Likewise.
30000 (ldbl_canonicalize): Likewise.
30001 (ldbl_nearbyint): Likewise.
30002 (ldbl_pack): Rename to ldbl_pack_ppc.
30003 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30004 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30005 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30006
6d9145d8
SP
300072013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30008
30009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30010 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30011 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30012 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30013 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30014 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30015 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30016 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30017
4dd4e157
AJ
300182013-03-07 Andreas Jaeger <aj@suse.de>
30019
30020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30021 bits/mman-linux.h.
30022
adbb8027
SP
300232013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30024
ce544b5b
SP
30025 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30026 Include mpa.h and declare __MPEXP.
30027 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30028 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30029 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30030 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30031 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30032 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30034
4cc149fd
SP
30035 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30036 (__slowpow): Use long double EXPL and LOGL functions to
30037 compute POW.
30038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30039 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30042 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30043 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30044
e6ebd4a7
SP
30045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30046 intermediate variable to calculate exponent.
30047 (__sqr): Likewise.
30048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30049 Likewise.
30050 (__sqr): Likewise.
30051
82a9811d
SP
30052 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30053 [!NO__SQR]: Define __sqr.
30054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30055 and NO__SQR. Remove all code except __mul and __sqr. Include
30056 sysdeps/ieee754/dbl-64/mpa.c.
30057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30058
adbb8027
SP
30059 [BZ #12723]
30060 * posix/Makefile (tests): Add tst-pathconf.
30061 * posix/tst-pathconf.c: New test case.
30062 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30063 _PC_PIPE_BUF.
30064 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30065
39120df9
PF
300662013-03-06 Patsy Franklin <pfrankli@redhat.com>
30067
30068 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30069
67525cb8
AJ
300702013-03-06 Andreas Jaeger <aj@suse.de>
30071
664a9ce4
AJ
30072 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30073 definition via __MAP_ANONYMOUS.
30074
8e39047d
AJ
30075 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30076 it's not part of Linux headers.
30077
67525cb8
AJ
30078 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30079 (MAP_HUGE_MASK): Define.
30080
30081 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30082 Define.
30083 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30084 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30085 Define.
30086 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30087 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30088 Define.
30089 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30090 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30091 Define.
30092 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30093
30094 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30095 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30096 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30097 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30098 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30099 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30100
30101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30102 Handle f2fs.
30103
30104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30105 Handle f2fs and efivarfs.
30106
30107 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30108 f2fs.
30109
30110 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30111 (EFIVARFS_MAGIC): Add.
30112 (F2FS_LINK_MAX): Add.
30113
e1b42695
PP
301142013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30115
30116 * stdio-common/vfprintf.c: Replace __builtin_expect with
30117 __glibc_unlikely.
30118
2d67d91a
JM
301192013-03-06 Joseph Myers <joseph@codesourcery.com>
30120
30121 [BZ #13550]
30122 * sysdeps/generic/bp-sym.h: Remove file.
30123 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30124 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30125 <bp-sym.h> and <bp-asm.h>.
30126 (__longjmp): Don't use BP_SYM.
30127 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30128 and <bp-asm.h>.
30129 (memcpy): Don't use BP_SYM.
30130 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30131 <bp-sym.h> and <bp-asm.h>.
30132 (memcpy): Don't use BP_SYM.
30133 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30134 <bp-asm.h>.
30135 (memcpy): Don't use BP_SYM.
30136 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30137 <bp-asm.h>.
30138 (memset): Don't use BP_SYM.
30139 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30140 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30141 (__bzero): Don't use BP_SYM.
30142 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30143 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30144 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30145 <bp-sym.h> and <bp-asm.h>.
30146 (memcmp): Don't use BP_SYM. Remove comment about bounded
30147 pointers.
30148 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30149 <bp-sym.h> and <bp-asm.h>.
30150 (memcpy): Don't use BP_SYM.
30151 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30152 <bp-sym.h> and <bp-asm.h>.
30153 (memset): Don't use BP_SYM.
30154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30156 (__bzero): Don't use BP_SYM.
30157 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30158 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30159 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30160 <bp-sym.h> and <bp-asm.h>.
30161 (strncmp): Don't use BP_SYM. Remove comment about bounded
30162 pointers.
30163 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30164 <bp-sym.h> and <bp-asm.h>.
30165 (memcpy): Don't use BP_SYM.
30166 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30167 <bp-sym.h> and <bp-asm.h>.
30168 (memset): Don't use BP_SYM.
30169 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30170 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30171 (__bzero): Don't use BP_SYM.
30172 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30173 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30174 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30175 <bp-sym.h> and <bp-asm.h>.
30176 (__memchr): Don't use BP_SYM.
30177 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30178 <bp-sym.h> and <bp-asm.h>.
30179 (memcmp): Don't use BP_SYM. Remove comment about bounded
30180 pointers.
30181 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30182 <bp-sym.h> and <bp-asm.h>.
30183 (memcpy): Don't use BP_SYM.
30184 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30185 <bp-sym.h> and <bp-asm.h>.
30186 (__mempcpy): Don't use BP_SYM.
30187 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30188 <bp-sym.h> and <bp-asm.h>.
30189 (__memrchr): Don't use BP_SYM.
30190 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30191 <bp-sym.h> and <bp-asm.h>.
30192 (memset): Don't use BP_SYM.
30193 (__bzero): Likewise.
30194 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30195 <bp-sym.h> and <bp-asm.h>.
30196 (__rawmemchr): Don't use BP_SYM.
30197 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30198 <bp-sym.h> and <bp-asm.h>.
30199 (__STRCMP): Don't use BP_SYM.
30200 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30201 <bp-sym.h> and <bp-asm.h>.
30202 (strchr): Don't use BP_SYM.
30203 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30204 <bp-sym.h> and <bp-asm.h>.
30205 (__strchrnul): Don't use BP_SYM.
30206 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30207 <bp-sym.h> and <bp-asm.h>.
30208 (strlen): Don't use BP_SYM.
30209 * sysdeps/powerpc/powerpc64/power7/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/power7/strnlen.S: Don't include
30214 <bp-sym.h> and <bp-asm.h>.
30215 (__strnlen): Don't use BP_SYM.
30216 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30217 <bp-sym.h> and <bp-asm.h>.
30218 (__GI__setjmp): Don't use BP_SYM.
30219 (_setjmp): Likewise.
30220 (__sigsetjmp): Likewise.
30221 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30222 (L(start_addresses)): Don't use BP_SYM.
30223 (_start): Likewise.
30224 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30225 <bp-asm.h>.
30226 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30227 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30228 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30229 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30230 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30231 <bp-asm.h>.
30232 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30233 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30234 about bounded pointers.
30235 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30236 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30237 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30238 <bp-asm.h>.
30239 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30240 about bounded pointers. Remove GKM FIXME comments.
30241 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30242 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30243 <bp-asm.h>.
30244 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30245 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30246 Remove GKM FIXME comments.
30247 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30248 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30249 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30250 <bp-asm.h>.
30251 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30252 about bounded pointers. Remove GKM FIXME comment.
30253 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30254 and <bp-asm.h>.
30255 (strncmp): Don't use BP_SYM. Remove comment about bounded
30256 pointers.
30257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30258 <bp-sym.h> and <bp-asm.h>.
30259 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30261 <bp-sym.h> and <bp-asm.h>.
30262 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30263 comment.
30264
cdcf361f
PP
302652013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30266
30267 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30268 call free(NULL).
30269
3c4a2b15
DM
302702013-03-05 David S. Miller <davem@davemloft.net>
30271
30272 * po/es.po: Update from translation team.
30273
cdcf361f 302742013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30275
30276 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30277 <bits/mman-linux.h>.
30278 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30279 is fine.
30280 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30281 <bits/mman-linux.h> to end of file.
30282 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30283 is fine.
30284 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30285 <bits/mman-linux.h> to end of file.
30286 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30287 is fine.
30288 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30289 <bits/mman-linux.h> to end of file.
30290
30291 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30292 (MCL_CURRENT, MCL_FUTURE): Define here.
30293
5f67c04f
AK
302942013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30295
8a4473cc 30296 [BZ #15232]
5f67c04f
AK
30297 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30298 attribute_hidden.
30299 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30300
c3e94a95
AK
303012013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30302
30303 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30304 fourth parameter needed for rt_sigprocmask syscall.
30305 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30306 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30308 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30309 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30310 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30311
cfb6382a
JM
303122013-03-04 Joseph Myers <joseph@codesourcery.com>
30313
30314 [BZ #13550]
30315 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30316 comment about bounded pointers.
30317 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30318 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30319
539d8e01
AJ
303202013-03-04 Andreas Jaeger <aj@suse.de>
30321
30322 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30323 common definitions.
30324
30325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30326 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30327 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30328 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30330 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30331
2e167a70 303322013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30333
30334 [BZ #15055]
30335 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30336 __ieee754_sqrl instead of __sqrl.
30337
68508633
JM
303382013-03-01 Joseph Myers <joseph@codesourcery.com>
30339
30340 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30341 * sysdeps/powerpc/fpu_control.h: ... here.
30342 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30343 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30344 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30345 * sysdeps/powerpc/bits/mathinline.h: ... here.
30346
7775448e
RM
303472013-03-01 Roland McGrath <roland@hack.frob.com>
30348
30349 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30350 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30351 to just [NEED_DL_SYSINFO_DSO].
30352 * elf/dl-support.c: Likewise.
30353 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30354 * elf/rtld.c (dl_main): Likewise.
30355 * elf/setup-vdso.h (setup_vdso): Likewise.
30356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30357 * sysdeps/unix/sysv/linux/dl-sysdep.c
30358 (_dl_discover_osversion): Likewise.
30359
4e9b5995
CD
303602013-03-01 Carlos O'Donell <carlos@redhat.com>
30361
30362 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30363 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30364
e23872c8
SP
303652013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30366
e5c74c63
SP
30367 * NEWS: Mention libm performance improvements and non-x86 PI
30368 futex support.
30369
e23872c8
SP
30370 * csu/libc-start.c (__pthread_initialize_minimal): Change
30371 function arguments.
30372 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30373
b5510883
JM
303742013-02-28 Joseph Myers <joseph@codesourcery.com>
30375
30376 [BZ #13550]
30377 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30378 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30379 <bp-sym.h> and <bp-asm.h>.
30380 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30381 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30382 and <bp-asm.h>.
30383 (memcpy): Don't use BP_SYM.
30384 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30385 <bp-asm.h>.
30386 (__mpn_add_n): Don't use BP_SYM.
30387 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30388 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30389 and <bp-asm.h>.
30390 (__mpn_addmul_1): Don't use BP_SYM.
30391 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30392 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30393 <bp-sym.h>.
30394 (_setjmp): Don't use BP_SYM.
30395 (__novmx_setjmp): Likewise.
30396 (__GI__setjmp): Likewise.
30397 (__vmx_setjmp): Likewise.
30398 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30399 <bp-sym.h>.
30400 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30401 (__bzero): Don't use BP_SYM.
30402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30404 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30405 <bp-sym.h> and <bp-asm.h>.
30406 (memcpy): Don't use BP_SYM.
30407 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30408 <bp-sym.h> and <bp-asm.h>.
30409 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30410 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30411 <bp-sym.h> and <bp-asm.h>.
30412 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30413 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30414 <bp-asm.h>.
30415 (__mpn_lshift): Don't use BP_SYM.
30416 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30417 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30418 <bp-asm.h>.
30419 (memset): Don't use BP_SYM.
30420 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30421 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30422 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30423 <bp-asm.h>.
30424 (__mpn_mul_1): Don't use BP_SYM.
30425 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30426 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30427 <bp-sym.h> and <bp-asm.h>.
30428 (memcmp): Don't use BP_SYM.
30429 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30430 <bp-sym.h> and <bp-asm.h>.
30431 (memcpy): Don't use BP_SYM.
30432 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30433 <bp-sym.h> and <bp-asm.h>.
30434 (memset): Don't use BP_SYM.
30435 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30436 <bp-sym.h> and <bp-asm.h>.
30437 (strncmp): Don't use BP_SYM.
30438 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30439 <bp-sym.h> and <bp-asm.h>.
30440 (memcpy): Don't use BP_SYM.
30441 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30442 <bp-sym.h> and <bp-asm.h>.
30443 (memset): Don't use BP_SYM.
30444 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30445 <bp-sym.h> and <bp-asm.h>.
30446 (__memchr): Don't use BP_SYM.
30447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30448 <bp-sym.h> and <bp-asm.h>.
30449 (memcmp): Don't use BP_SYM.
30450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30451 <bp-sym.h> and <bp-asm.h>.
30452 (memcpy): Don't use BP_SYM.
30453 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30454 <bp-sym.h> and <bp-asm.h>.
30455 (__mempcpy): Don't use BP_SYM.
30456 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30457 <bp-sym.h> and <bp-asm.h>.
30458 (__memrchr): Don't use BP_SYM.
30459 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30460 <bp-sym.h> and <bp-asm.h>.
30461 (memset): Don't use BP_SYM.
30462 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30463 <bp-sym.h> and <bp-asm.h>.
30464 (__rawmemchr): Don't use BP_SYM.
30465 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30466 <bp-sym.h> and <bp-asm.h>.
30467 (__STRCMP): Don't use BP_SYM.
30468 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30469 <bp-sym.h> and <bp-asm.h>.
30470 (strchr): Don't use BP_SYM.
30471 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30472 <bp-sym.h> and <bp-asm.h>.
30473 (__strchrnul): Don't use BP_SYM.
30474 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30475 <bp-sym.h> and <bp-asm.h>.
30476 (strlen): Don't use BP_SYM.
30477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30478 <bp-sym.h> and <bp-asm.h>.
30479 (strncmp): Don't use BP_SYM.
30480 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30481 <bp-sym.h> and <bp-asm.h>.
30482 (__strnlen): Don't use BP_SYM.
30483 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30484 <bp-asm.h>.
30485 (__mpn_rshift): Don't use BP_SYM.
30486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30487 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30488 <bp-sym.h> and <bp-asm.h>.
30489 (__sigsetjmp): Don't use BP_SYM.
30490 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30491 (L(start_addresses)): Don't use BP_SYM.
30492 (_start): Likewise.
30493 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30494 <bp-asm.h>.
30495 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30496 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30497 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30498 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30499 <bp-asm.h>.
30500 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30501 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30502 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30503 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30504 <bp-asm.h>.
30505 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30506 comments.
30507 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30508 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30509 <bp-asm.h>.
30510 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30511 FIXME comments.
30512 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30513 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30514 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30515 <bp-asm.h>.
30516 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30517 comment.
30518 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30519 and <bp-asm.h>.
30520 (strncmp): Don't use BP_SYM,
30521 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30522 <bp-asm.h>.
30523 (__mpn_sub_n): Don't use BP_SYM.
30524 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30525 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30526 and <bp-asm.h>.
30527 (__mpn_submul_1): Don't use BP_SYM.
30528 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30530 <bp-sym.h> and <bp-asm.h>.
30531 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30533 <bp-sym.h> and <bp-asm.h>.
30534 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30535 comment.
30536
8d19fe64
SP
305372013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30538
30539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30540 Use ZK to minimize writes to Z.
30541 (sub_magnitudes): Simplify code a bit.
30542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30543 Use ZK to minimize writes to Z.
30544 (sub_magnitudes): Simplify code a bit.
30545
85bd816a
RM
305462013-02-27 Roland McGrath <roland@hack.frob.com>
30547
30548 * csu/gmon-start.c: Add special exception to license text.
30549
b5977bf2
RH
305502013-02-27 Richard Henderson <rth@redhat.com>
30551
30552 * scripts/config.guess: Update from config.git.
30553 * scripts/config.sub: Likewise.
30554
11d6e2f2
SP
305552013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30556
09c14ed2
SP
30557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30558
a688864e
SP
30559 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30560
6295157a
SP
30561 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30562
b8de2202
SP
30563 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30564
11d6e2f2
SP
30565 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30566
7e80ddb8
RM
305672013-02-26 Roland McGrath <roland@hack.frob.com>
30568
30569 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30570 [$(build-shared = yes].
7e80ddb8 30571
7da6d9ed
SP
305722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30573
45f05884
SP
30574 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30575 (__mul): Reduce iterations for calculating mantissa.
30576
2236d359
SP
30577 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30578 MPTWO.
30579 (__mpranred): Likewise.
30580
7da6d9ed
SP
30581 [BZ #15160]
30582 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30583 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30584
b7688c42
PE
305852013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30586
30587 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30588 Define __attribute__.
30589
53a5c423
SP
305902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30591
30592 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30593 unused.
30594 * posix/regex_internal.h (__attribute): Remove.
30595 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30596 (re_string_context_at): Likewise.
30597 (bitset_not): Use __attribute__ and mark function as possibly
30598 unused.
30599 (bitset_merge): Likewise.
30600 (bitset_mask): Likewise.
30601 (re_string_char_size_at): Likewise.
30602 (re_string_wchar_at): Likewise.
30603 (re_string_elem_size_at): Likewise.
30604
60f5a8b5
SP
306052013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30606
2a983a2e
SP
30607 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30608 code.
30609 (cc32): Likewise.
30610
e69804d1
SP
30611 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30612 (__acr): Likewise.
30613 (__cpy): Likewise.
30614 (norm): Likewise.
30615 (denorm): Likewise.
30616 (__dbl_mp): Likewise.
30617 (add_magnitudes): Likewise.
30618 (sub_magnitudes): Likewise.
30619 (__mul): Likewise.
30620 (__inv): Likewise.
30621
2f22a1e8
SP
30622 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30623 style.
30624
8930ddc7
SP
30625 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30626 style.
30627
dc60cb11
SP
30628 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30629 code.
30630
60f5a8b5
SP
30631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30632 up changes with default code.
30633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30634 Likewise.
30635
b4d1fd33
AM
306362013-02-24 Allan McRae <allan@archlinux.org>
30637
faf6f8bc
AM
30638 * manual/socket.texi (The Internet Namespace): Order menu items
30639 to match that in the file.
30640
b4d1fd33
AM
30641 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30642 node listing of the info page menu.
30643
2366713d
JM
306442013-02-21 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #13550]
30647 * sysdeps/i386/bp-asm.h: Remove file.
30648 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30649 (PARMS): Do not use macros from bp-asm.h.
30650 (S1): Likewise.
30651 (S2): Likewise.
30652 (SIZE): Likewise.
30653 (__mpn_add_n): Do not use BP_SYM
30654 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30655 "bp-asm.h".
30656 (PARMS): Do not use macros from bp-asm.h.
30657 (S1): Likewise.
30658 (SIZE): Likewise.
30659 (__mpn_addmul_1): Do not use BP_SYM
30660 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30661 "bp-asm.h".
30662 (PARMS): Do not use macros from bp-asm.h.
30663 (SIGMSK): Likewise.
30664 (_setjmp): Likewise. Do not use BP_SYM.
30665 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30666 "bp-asm.h".
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (SIGMSK): Likewise.
30669 (setjmp): Likewise. Do not use BP_SYM.
30670 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30671 "bp-asm.h".
30672 (PARMS): Do not use macros from bp-asm.h.
30673 (__frexp): Do not use BP_SYM.
30674 (frexp): Likewise.
30675 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30676 "bp-asm.h".
30677 (PARMS): Do not use macros from bp-asm.h.
30678 (__frexpf): Do not use BP_SYM.
30679 (frexpf): Likewise.
30680 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30681 "bp-asm.h".
30682 (PARMS): Do not use macros from bp-asm.h.
30683 (__frexpl): Do not use BP_SYM.
30684 (frexpl): Likewise.
30685 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30686 "bp-asm.h".
30687 (PARMS): Do not use macros from bp-asm.h.
30688 (__remquo): Do not use BP_SYM.
30689 (remquo): Likewise.
30690 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30691 "bp-asm.h".
30692 (PARMS): Do not use macros from bp-asm.h.
30693 (__remquof): Do not use BP_SYM.
30694 (remquof): Likewise.
30695 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30696 "bp-asm.h".
30697 (PARMS): Do not use macros from bp-asm.h.
30698 (__remquol): Do not use BP_SYM.
30699 (remquol): Likewise.
30700 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30701 "bp-asm.h".
30702 (PARMS): Do not use macros from bp-asm.h.
30703 (DEST): Likewise.
30704 (SRC): Likewise.
30705 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30706 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30707 "bp-asm.h".
30708 (PARMS): Do not use macros from bp-asm.h.
30709 (strlen): Do not use BP_SYM.
30710 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30711 "bp-asm.h".
30712 (PARMS): Do not use macros from bp-asm.h.
30713 (S1): Likewise.
30714 (S2): Likewise.
30715 (SIZE): Likewise.
30716 (__mpn_add_n): Do not use BP_SYM.
30717 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30718 "bp-asm.h".
30719 (PARMS): Do not use macros from bp-asm.h.
30720 (S1): Likewise.
30721 (SIZE): Likewise.
30722 (__mpn_addmul_1): Do not use BP_SYM.
30723 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30724 weak_alias.
30725 (bzero): Likewise.
30726 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30727 "bp-asm.h".
30728 (PARMS): Do not use macros from bp-asm.h.
30729 (S): Likewise.
30730 (SIZE): Likewise.
30731 (__mpn_lshift): Do not use BP_SYM.
30732 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30733 "bp-asm.h".
30734 (PARMS): Do not use macros from bp-asm.h.
30735 (DEST): Likewise.
30736 (SRC): Likewise.
30737 (LEN): Likewise.
30738 (memcpy): Likewise. Do not use BP_SYM.
30739 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30740 libc_hidden_def and weak_alias.
30741 (mempcpy): Do not use BP_SYM in weak_alias.
30742 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30743 "bp-asm.h".
30744 (PARMS): Do not use macros from bp-asm.h.
30745 (DEST): Likewise.
30746 (LEN): Likewise.
30747 [!BZERO_P] (CHR): Likewise.
30748 (memset): Likewise. Do not use BP_SYM.
30749 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30750 "bp-asm.h".
30751 (PARMS): Do not use macros from bp-asm.h.
30752 (S1): Likewise.
30753 (SIZE): Likewise.
30754 (__mpn_mul_1): Do not use BP_SYM.
30755 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30756 "bp-asm.h".
30757 (PARMS): Do not use macros from bp-asm.h.
30758 (S): Likewise.
30759 (SIZE): Likewise.
30760 (__mpn_rshift): Do not use BP_SYM.
30761 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30762 "bp-asm.h".
30763 (PARMS): Do not use macros from bp-asm.h.
30764 (STR): Likewise.
30765 (CHR): Likewise.
30766 (strchr): Likewise. Do not use BP_SYM.
30767 (index): Do not use BP_SYM in weak_alias.
30768 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30769 "bp-asm.h".
30770 (PARMS): Do not use macros from bp-asm.h.
30771 (DEST): Likewise.
30772 (SRC): Likewise.
30773 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30774 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30775 "bp-asm.h".
30776 (PARMS): Do not use macros from bp-asm.h.
30777 (strlen): Do not use BP_SYM.
30778 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30779 "bp-asm.h".
30780 (PARMS): Do not use macros from bp-asm.h.
30781 (S1): Likewise.
30782 (S2): Likewise.
30783 (SIZE): Likewise.
30784 (__mpn_sub_n): Do not use BP_SYM.
30785 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30786 "bp-asm.h".
30787 (PARMS): Do not use macros from bp-asm.h.
30788 (S1): Likewise.
30789 (SIZE): Likewise.
30790 (__mpn_submul_1): Do not use BP_SYM.
30791 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30792 "bp-asm.h".
30793 (PARMS): Do not use macros from bp-asm.h.
30794 (S1): Likewise.
30795 (S2): Likewise.
30796 (SIZE): Likewise.
30797 (__mpn_add_n): Do not use BP_SYM.
30798 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30799 weak_alias.
30800 (bzero): Likewise.
30801 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30802 "bp-asm.h".
30803 (PARMS): Do not use macros from bp-asm.h.
30804 (BLK2): Likewise.
30805 (LEN): Likewise.
30806 (memcmp): Do not use BP_SYM.
30807 (bcmp): Do not use BP_SYM in weak_alias.
30808 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30809 "bp-asm.h".
30810 (PARMS): Do not use macros from bp-asm.h.
30811 (DEST): Likewise.
30812 (SRC): Likewise.
30813 (LEN): Likewise.
30814 (memcpy): Likewise. Do not use BP_SYM.
30815 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30816 "bp-asm.h".
30817 (PARMS): Do not use macros from bp-asm.h.
30818 (DEST): Likewise.
30819 (SRC): Likewise.
30820 (LEN): Likewise.
30821 (memmove): Likewise. Do not use BP_SYM.
30822 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30823 "bp-asm.h".
30824 (PARMS): Do not use macros from bp-asm.h.
30825 (DEST): Likewise.
30826 (SRC): Likewise.
30827 (LEN): Likewise.
30828 (__mempcpy): Likewise. Do not use BP_SYM.
30829 (mempcpy): Do not use BP_SYM in weak_alias.
30830 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30831 "bp-asm.h".
30832 (PARMS): Do not use macros from bp-asm.h.
30833 (DEST): Likewise.
30834 (LEN): Likewise.
30835 [!BZERO_P] (CHR): Likewise.
30836 (memset): Likewise. Do not use BP_SYM.
30837 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30838 "bp-asm.h".
30839 (PARMS): Do not use macros from bp-asm.h.
30840 (STR2): Likewise.
30841 (strcmp): Do not use BP_SYM.
30842 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30843 "bp-asm.h".
30844 (PARMS): Do not use macros from bp-asm.h.
30845 (STR): Likewise.
30846 (DELIM): Likewise.
30847 [USE_AS_STRTOK_R] (SAVE): Likewise.
30848 (FUNCTION): Likewise. Do not use BP_SYM.
30849 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30850 aliases.
30851 (strtok_r): Likewise.
30852 (__GI___strtok_r): Likewise.
30853 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30854 (PARMS): Do not use macros from bp-asm.h.
30855 (S): Likewise.
30856 (SIZE): Likewise.
30857 (__mpn_lshift): Do not use BP_SYM.
30858 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30859 (PARMS): Do not use macros from bp-asm.h.
30860 (STR): Likewise.
30861 (CHR): Likewise.
30862 (__memchr): Do not use BP_SYM.
30863 (memchr): Do not use BP_SYM in weak_alias.
30864 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30865 (PARMS): Do not use macros from bp-asm.h.
30866 (BLK2): Likewise.
30867 (LEN): Likewise.
30868 (memcmp): Do not use BP_SYM.
30869 (bcmp): Do not use BP_SYM in weak_alias.
30870 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30871 (PARMS): Do not use macros from bp-asm.h.
30872 (S1): Likewise.
30873 (SIZE): Likewise.
30874 (__mpn_mul_1): Do not use BP_SYM.
30875 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30876 "bp-asm.h".
30877 (PARMS): Do not use macros from bp-asm.h.
30878 (STR): Likewise.
30879 (CHR): Likewise.
30880 (__rawmemchr): Do not use BP_SYM.
30881 (rawmemchr): Do not use BP_SYM in weak_alias.
30882 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30883 (PARMS): Do not use macros from bp-asm.h.
30884 (S): Likewise.
30885 (SIZE): Likewise.
30886 (__mpn_rshift): Do not use BP_SYM.
30887 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30888 (PARMS): Do not use macros from bp-asm.h.
30889 (SIGMSK): Likewise.
30890 (__sigsetjmp): Likewise. Do not use BP_SYM.
30891 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30892 (_start): Do not use BP_SYM.
30893 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30894 (PARMS): Do not use macros from bp-asm.h.
30895 (DEST): Likewise.
30896 (SRC): Likewise.
30897 (__stpcpy): Likewise. Do not use BP_SYM.
30898 (stpcpy): Do not use BP_SYM in weak_alias.
30899 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30900 "bp-asm.h".
30901 (PARMS): Do not use macros from bp-asm.h.
30902 (DEST): Likewise.
30903 (SRC): Likewise.
30904 (LEN): Likewise.
30905 (__stpncpy): Likewise. Do not use BP_SYM.
30906 (stpncpy): Do not use BP_SYM in weak_alias.
30907 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30908 (PARMS): Do not use macros from bp-asm.h.
30909 (STR): Likewise.
30910 (CHR): Likewise.
30911 (strchr): Likewise. Do not use BP_SYM.
30912 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30913 "bp-asm.h".
30914 (PARMS): Do not use macros from bp-asm.h.
30915 (STR): Likewise.
30916 (CHR): Likewise.
30917 (__strchrnul): Likewise. Do not use BP_SYM.
30918 (strchrnul): Do not use BP_SYM in weak_alias.
30919 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30920 "bp-asm.h".
30921 (PARMS): Do not use macros from bp-asm.h.
30922 (STOP): Likewise.
30923 (strcspn): Do not use BP_SYM.
30924 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30925 "bp-asm.h".
30926 (PARMS): Do not use macros from bp-asm.h.
30927 (STR): Likewise.
30928 (STOP): Likewise.
30929 (strpbrk): Likewise. Do not use BP_SYM.
30930 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30931 "bp-asm.h".
30932 (PARMS): Do not use macros from bp-asm.h.
30933 (STR): Likewise.
30934 (CHR): Likewise.
30935 (strrchr): Likewise. Do not use BP_SYM.
30936 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30937 (PARMS): Do not use macros from bp-asm.h.
30938 (SKIP): Likewise.
30939 (strspn): Do not use BP_SYM.
30940 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30941 (PARMS): Do not use macros from bp-asm.h.
30942 (STR): Likewise.
30943 (DELIM): Likewise.
30944 (SAVE): Likewise.
30945 (FUNCTION): Likewise. Do not use BP_SYM.
30946 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30947 aliases.
30948 (strtok_r): Likewise.
30949 (__GI___strtok_r): Likewise.
30950 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30951 (PARMS): Do not use macros from bp-asm.h.
30952 (S1): Likewise.
30953 (S2): Likewise.
30954 (SIZE): Likewise.
30955 (__mpn_sub_n): Do not use BP_SYM.
30956 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30957 "bp-asm.h".
30958 (PARMS): Do not use macros from bp-asm.h.
30959 (S1): Likewise.
30960 (SIZE): Likewise.
30961 (__mpn_submul_1): Do not use BP_SYM.
30962 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30963 <bp-sym.h>.
30964 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30965 and <bp-asm.h>.
30966 (PARMS): Do not use macros from bp-asm.h.
30967 (FLAGS): Likewise.
30968 (PTID): Likewise.
30969 (TLS): Likewise.
30970 (CTID): Likewise.
30971 (__clone): Do not use BP_SYM.
30972 (clone): Do not use BP_SYM in weak_alias.
30973 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30974 and <bp-asm.h>.
30975 (PARMS): Do not use macros from bp-asm.h.
30976 (LEN): Likewise.
30977 (__mmap64): Do not use BP_SYM.
30978 (mmap64): Do not use BP_SYM in weak_alias.
30979 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30980 <bp-sym.h> and <bp-asm.h>.
30981 (PARMS): Do not use macros from bp-asm.h.
30982 (__posix_fadvise64_l64): Do not use BP_SYM.
30983 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30984 (PARMS): Do not use macros from bp-asm.h.
30985 (NSOPS): Likewise.
30986 (semtimedop): Do not use BP_SYM.
30987 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30988 and <bp-asm.h>.
30989
582a3cff
AM
309902013-02-21 Allan McRae <allan@archlinux.org>
30991
30992 * manual/message.texi (Charset conversion in gettext):
30993 Move @end statement to beginning of line.
30994
bab8a695
SP
309952013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30996
80945231
SP
30997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30998 static.
30999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31000 Likewise.
31001
bab8a695
SP
31002 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31003 (denorm): Likewise.
31004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31006
e21d7aa7
AK
310072013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31008
31009 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31010 tail-call to the resolved function if pltexit isn't needed.
31011
4c7a4263
SP
310122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31013
31014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31015 or Y being zero as being unlikely.
31016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31017 Likewise.
31018
41f49342
CD
310192013-02-20 Carlos O'Donell <carlos@redhat.com>
31020
31021 * manual/nss.texi (System Databases and Name Service Switch):
31022 Remove frobnicate @pxref.
31023
50022a93
TS
310242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31025
31026 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31027 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31028
08cbd996
PM
310292013-02-20 Petr Machata <pmachata@redhat.com>
31030
31031 * elf/elf.h (R_ARM_TARGET1): New macro.
31032 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31033 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31034 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31035 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31036 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31037 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31038 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31039 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31040 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31041 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31042 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31043 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31044 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31045 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31046 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31047 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31048 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31049 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31050 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31051 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31052 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31053 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31054 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31055 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31056 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31057 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31058 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31059 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31060 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31061 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31062 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31063 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31064 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31065 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31066 (R_ARM_THM_GOT_BREL12): Likewise.
31067 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31068 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31069 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31070 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31071 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31072 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31073 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31074 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31075 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31076
c7b275d6
TS
310772013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31078
31079 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31080 __attribute_used__ to __attribute__ ((unused)).
31081
20cd7fb3
SP
310822013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31083
31084 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31085 powerpc mpa.c.
31086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31087 comment formatting.
31088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31089
92945b52
JM
310902013-02-19 Joseph Myers <joseph@codesourcery.com>
31091
31092 [BZ #13550]
31093 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31094 Remove macro.
31095 (ENTER): Remove both macro definitions.
31096 (LEAVE): Likewise.
31097 (CHECK_BOUNDS_LOW): Likewise.
31098 (CHECK_BOUNDS_HIGH): Likewise.
31099 (CHECK_BOUNDS_BOTH): Likewise.
31100 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31101 (RETURN_BOUNDED_POINTER): Likewise.
31102 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31103 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31104 (POP_ERRNO_LOCATION_RETURN): Likewise.
31105 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31106 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31107 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31108 macros.
31109 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31110 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31111 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31112 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31113 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31114 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31115 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31116 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31117 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31118 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31119 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31120 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31121 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31122 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31123 removed macros.
31124 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31125 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31126 macros.
31127 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31128 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31129 * sysdeps/i386/i586/memset.S (memset): Likewise.
31130 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31131 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31132 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31133 macros.
31134 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31135 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31136 Change uses of L(2) to L(out).
31137 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31138 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31139 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31140 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31141 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31142 removed macros.
31143 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31144 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31145 macros.
31146 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31147 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31148 (RETURN): Do not use macro LEAVE.
31149 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31150 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31151 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31152 * sysdeps/i386/i686/memset.S (memset): Likewise.
31153 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31154 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31155 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31156 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31157 Likewise.
31158 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31159 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31160 L(1_2) and L(1_3) into L(1).
31161 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31162 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31163 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31164 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31165 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31166 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31167 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31168 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31169 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31170 macros.
31171 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31172 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31173 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31174 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31175 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31176 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31177 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31178 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31179 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31180 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31181 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31182 * sysdeps/i386/strspn.S (strspn): Likewise.
31183 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31184 conditional code.
31185 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31186 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31187 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31188 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31189 L(1_3) into L(1_1).
31190 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31191 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31192 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31193 macros.
31194 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31195
2389741a
JJ
311962013-02-19 Jakub Jelinek <jakub@redhat.com>
31197
31198 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31199 macro.
31200
2016b3cd
SP
312012013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31202
e4f22324
SP
31203 * math/atest-exp.c (exp_mpn): Remove ROUND.
31204 * math/atest-exp2.c (exp_mpn): Likewise.
31205 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31206
2016b3cd
SP
31207 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31208 * stdlib/tst-tls-atexit-lib.c: Likewise.
31209 * stdlib/tst-tls-atexit.c: Likewise.
31210
4be9b544
MF
312112013-02-18 Mike Frysinger <vapier@gentoo.org>
31212
31213 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31214 and __attribute_alloc_size__.
31215
2f62b9ee
MF
312162013-02-18 Mike Frysinger <vapier@gentoo.org>
31217
31218 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31219 __attribute_alloc_size__.
31220 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31221 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31222
6ff444c4
MF
312232013-02-18 Mike Frysinger <vapier@gentoo.org>
31224
31225 * include/programs/xmalloc.h: New file.
31226 * catgets/gencat.c: Include it.
31227 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31228 * elf/pldd.c: Likewise.
31229 * iconv/iconv_charmap.c: Likewise.
31230 * iconv/iconvconfig.c: Likewise.
31231 * iconv/strtab.c: Likewise.
31232 * locale/programs/locale.c: Likewise.
31233 * locale/programs/localedef.h: Likewise.
31234 * locale/programs/simple-hash.c: Likewise.
31235 * nscd/nscd.h: Likewise.
31236 * nss/makedb.c: Likewise.
31237 * sysdeps/generic/ldconfig.h: Likewise.
31238
be179c8a
SP
312392013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31240
ba384f6e
SP
31241 * Versions.def: Add GLIBC_2.18.
31242 * include/link.h (struct link_map): New member l_tls_dtor_count.
31243 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31244 (__call_tls_dtors): Likewise.
31245 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31246 __cxa_thread_atexit_impl.
31247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31248 Likewise.
31249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31250 Likewise.
31251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31252 Likewise.
31253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31254 Likewise.
31255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31257 Likewise.
31258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31259 Likewise.
31260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31262 Likewise.
31263 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31264 (tests): Add test case tst-tls-atexit.
31265 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31266 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31267 (GLIBC_PRIVATE): Add __call_tls_dtors.
31268 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31269 for libstdc++.
31270 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31271 * stdlib/tst-tls-atexit.c: New test case.
31272 * stdlib/tst-tls-atexit-lib.c: New test case.
31273
ffaa74cf 31274 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31275
be179c8a
SP
31276 * elf/Versions (ld): Add _dl_find_dso_for_object.
31277 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31278 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31279 (dl_open_worker): Use _dl_find_dso_for_object.
31280 * elf/dl-sym.c (do_sym): Likewise.
31281 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31282
f78b5caa
AK
312832013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31284
31285 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31286 Syntactic changes only.
31287 (_dl_runtime_profile): Do a tail-call to the resolved function.
31288
29691210
JM
312892013-02-17 Joseph Myers <joseph@codesourcery.com>
31290
31291 [BZ #13550]
31292 * sysdeps/x86_64/bp-asm.h: Remove file.
31293 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31294 <bp-sym.h> and <bp-asm.h>.
31295 (__clone): Do not use BP_SYM.
31296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31297 <bp-sym.h> and <bp-asm.h>.
31298 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31299 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31300 "bp-asm.h".
31301 (_setjmp): Do not use BP_SYM.
31302 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31303 "bp-asm.h".
31304 (setjmp): Do not use BP_SYM.
31305 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31306 libc_hidden_def.
31307 (mempcpy): Do not use BP_SYM in weak_alias.
31308 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31309 "bp-asm.h".
31310 (strchr): Do not use BP_SYM.
31311 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31312 "bp-asm.h".
31313 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31314 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31315 (_start): Do not use BP_SYM.
31316 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31317 "bp-asm.h".
31318 (strcat): Do not use BP_SYM.
31319 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31320 "bp-asm.h".
31321 (STRCMP): Do not use BP_SYM.
31322 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31323 "bp-asm.h".
31324 (STRCPY): Do not use BP_SYM.
31325 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31326 "bp-asm.h".
31327 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31328 "bp-asm.h".
31329 (FUNCTION): Do not use BP_SYM.
31330 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31331 weak_alias.
31332 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31333
f238fd19
AJ
313342013-02-17 Andreas Jaeger <aj@suse.de>
31335
31336 * time/Versions: Sort entries.
31337 * string/Versions: Likewise.
31338 * resolv/Versions: Likewise.
31339 * posix/Versions: Likewise.
31340 * iconv/Versions: Likewise.
31341 * elf/Versions: Likewise.
31342 * wcsmbs/Versions: Likewise.
31343
bd07f23c 313442013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31345
22af19f9
SP
31346 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31347 loop termination condition.
31348
4709fe76
SP
31349 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31350 variable to calculate EZ.
31351 (__sqr): Likewise.
2d0e0f29
SP
31352
31353 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31354 the lower precision input.
31355
daaa7713
JM
313562013-02-15 Joseph Myers <joseph@codesourcery.com>
31357
31358 [BZ #13550]
31359 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31360 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31361 (run-via-rtld-prefix): Do not handle %-bp tests.
31362 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31363 (all-object-suffixes): Remove .ob.
31364 (bppfx): Remove variable.
31365 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31366 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31367 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31368 [$(build-bounded) = yes] (libtype.ob): Likewise.
31369 * Makerules (elide-routines.ob): Remove variable.
31370 (do-tests-clean): Do not handle *-bp.out.
31371 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31372 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31373 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31374 (tests): Do not include $(tests-bp.out).
31375 (xtests): Do not include $(xtests-bp.out).
31376 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31377 [$(build-bounded) = yes] ($(addprefix
31378 $(objpfx),$(binaries-bounded))): Remove rule.
31379 ($(objpfx)%-bp.out): Remove rule.
31380 * config.make.in (build-bounded): Remove variable.
31381 * crypt/Makefile [$(build-bounded) = yes]
31382 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31383 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31384 append to variable.
31385 [$(build-bounded) = yes] (install-lib): Likewise.
31386 [$(build-bounded) = yes] (generated): Likewise.
31387 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31388 Remove rule.
31389 * intl/Makefile [$(build-bounded) = yes]
31390 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31391 * math/Makefile [$(build-bounded) = yes]
31392 ($(tests:%=$(objpfx)%-bp): Likewise.
31393 * misc/Makefile [$(build-bounded) = yes]
31394 ($(objpfx)tst-tsearch-bp): Likewise.
31395 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31396 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31397 Remove dependency.
31398 * string/Makefile (o-objects.ob): Remove variable.
31399 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31400 (CFLAGS-.ob): Remove variable.
31401 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31402 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31403 both definitions of variable.
31404 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31405 (ASFLAGS-.ob): Remove variable.
31406
e97ed6dd
JM
314072013-02-14 Joseph Myers <joseph@codesourcery.com>
31408
2bdd4ca6
JM
31409 [BZ #13550]
31410 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31411 Remove __BOUNDED_POINTERS__ from condition.
31412 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31413 * string/bits/string2.h [!__NO_STRING_INLINES &&
31414 !__BOUNDED_POINTERS__]: Likewise.
31415 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31416 Likewise.
31417 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31418 Remove conditional code.
31419 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31420 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31421 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31422 condition.
31423
e97ed6dd
JM
31424 [BZ #13550]
31425 * csu/libc-start.c: Do not include <bp-sym.h>.
31426 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31427 * elf/dl-open.c: Do not include <bp-sym.h>.
31428 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31429 * math/fegetenv.c: Do not include <bp-sym.h>.
31430 (fegetenv): Do not use BP_SYM in versioned symbols.
31431 * nptl/sysdeps/pthread/bits/libc-lockP.h
31432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31433 <bp-sym.h>.
31434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31435 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31437 (__pthread_mutex_destroy): Likewise.
31438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31439 (__pthread_mutex_lock): Likewise.
31440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31441 (__pthread_mutex_trylock): Likewise.
31442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31443 (__pthread_mutex_unlock): Likewise.
31444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31445 (__pthread_mutexattr_init): Likewise.
31446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31447 (__pthread_mutexattr_destroy): Likewise.
31448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31449 (__pthread_mutexattr_settype): Likewise.
31450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31451 (__pthread_rwlock_init): Likewise.
31452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31453 (__pthread_rwlock_destroy): Likewise.
31454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31455 (__pthread_rwlock_rdlock): Likewise.
31456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31457 (__pthread_rwlock_tryrdlock): Likewise.
31458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31459 (__pthread_rwlock_wrlock): Likewise.
31460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31461 (__pthread_rwlock_trywrlock): Likewise.
31462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31463 (__pthread_rwlock_unlock): Likewise.
31464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31465 (__pthread_key_create): Likewise.
31466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31467 (__pthread_setspecific): Likewise.
31468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31469 (__pthread_getspecific): Likewise.
31470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31471 Likewise.
31472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31473 (_pthread_cleanup_push_defer): Likewise.
31474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31475 (_pthread_cleanup_pop_restore): Likewise.
31476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31477 (pthread_setcancelstate): Likewise.
31478 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31479 <bp-sym.h>.
31480 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31481 (memchr): Do not use BP_SYM in weak_alias.
31482 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31483 (fegetenv): Do not use BP_SYM in versioned symbols.
31484 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31485 (fesetenv): Do not use BP_SYM in versioned symbols.
31486 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31487 (feupdateenv): Do not use BP_SYM in versioned symbols.
31488 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31489 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31490 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31491 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31492 (open64): Do not use BP_SYM in weak_alias.
31493 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31494 (fegetenv): Do not use BP_SYM in versioned symbols.
31495 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31496 (fesetenv): Do not use BP_SYM in versioned symbols.
31497 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31498 (feupdateenv): Do not use BP_SYM in versioned symbols.
31499 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31500 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31501 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31502 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31503 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31504 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31505 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31506 <bp-sym.h>.
31507 (__libc_start_main): Do not use BP_SYM.
31508
d6752ccd
SP
315092013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31510
cb57ce60
SP
31511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31512 redundant return line.
31513 (norm): Likewise.
31514 (denorm): Likewise.
31515 (dbl_mp): Likewise.
31516 (sub_magnitudes): Likewise.
31517 (__add): Likewise.
31518 (__sub): Likewise.
31519 (__mul): Likewise.
31520 (__inv): Likewise.
31521 (__dvd): Likewise.
31522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31523 (norm): Likewise.
31524 (denorm): Likewise.
31525 (dbl_mp): Likewise.
31526 (sub_magnitudes): Likewise.
31527 (__add): Likewise.
31528 (__sub): Likewise.
31529 (__mul): Likewise.
31530 (__inv): Likewise.
31531 (__dvd): Likewise.
31532
f414520d
SP
31533 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31534 instead of __mul.
31535 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31536 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31537 (cc32): Likewise.
31538
d6752ccd
SP
31539 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31540 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31542 of __mul for squares.
31543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31544 function
31545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31546 Likewise.
31547 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31548 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31549
70d9946a
JM
315502013-02-13 Joseph Myers <joseph@codesourcery.com>
31551
31552 [BZ #13550]
31553 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31554 code.
31555 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31556 prototype or function definition. Rename ubp_* variables and
31557 parameters. Remove argv definitions conditional on
31558 [__BOUNDED_POINTERS__].
31559 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31560 * elf/dl-runtime.c (_dl_fixup): Likewise.
31561 * include/set-hooks.h (RUN_HOOK): Likewise.
31562 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31563 definition.
31564 * string/strcpy.c (strcpy): Do not use __unbounded.
31565 * sysdeps/generic/frame.h (struct layout): Likewise.
31566 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31567 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31568 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31569 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31570 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31571 (__backtrace): Likewise.
31572 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31573 use __ptrvalue.
31574 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31575 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31576 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31577 Likewise.
31578 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31579 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31580 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31581 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31582 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31583 Do not use __unbounded.
31584 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31585 Rename __unboundedrlimits parameter to rlimits in prototype.
31586 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31587 Do not use __unbounded.
31588 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31589 not use __ptrvalue.
31590 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31591 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31592 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31593 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31594 __ptrvalue or __unbounded.
31595 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31596 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31597 use __unbounded.
31598 (__new_msgctl): Do not use __ptrvalue.
31599 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31600 __unbounded.
31601 (__libc_msgrcv): Do not use __ptrvalue.
31602 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31603 startup_info): Do not use __unbounded.
31604 (__libc_start_main): Likewise. Rename ubp_* variables and
31605 parameters. Remove argv definitions conditional on
31606 [__BOUNDED_POINTERS__].
31607 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31608 __ptrvalue.
31609 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31610 use __unbounded.
31611 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31612 or __ptrvalue.
31613 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31614 use __unbounded.
31615 (__new_shmctl): Do not use __ptrvalue.
31616 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31617 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31618 Likewise.
31619 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31621 (__libc_sigaction): Likewise.
31622 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31623 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31624 Likewise.
31625 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31626
cc7834d6
OB
316272013-02-13 Ondřej Bílka <neleai@seznam.cz>
31628
ffb1ec7b 31629 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31630
31631 * string/mempcpy.c: Implement by calling memcpy.
31632
bdf02814
SP
316332013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31634
c2af38aa
SP
31635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31636
4e92d59e
SP
31637 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31638 evaluation.
31639
909279a5
SP
31640 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31641 values in the mantissa.
31642
bdf02814
SP
31643 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31644 minimize writes to Z.
31645 (sub_magnitudes): Simplify code a bit.
31646
cd525923
RM
316472013-02-12 Roland McGrath <roland@hack.frob.com>
31648
31649 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31650 from the message. The linker prefixes all warnings with that already.
31651
7e2f0d2d
AS
316522013-02-12 Andreas Schwab <schwab@suse.de>
31653
a445af0b
AS
31654 [BZ #15078]
31655 * posix/regexec.c (extend_buffers): Add parameter min_len.
31656 (check_matching): Pass minimum needed length.
31657 (clean_state_log_if_needed): Likewise.
31658 (get_subexp): Likewise.
31659 * posix/Makefile (tests): Add bug-regex34.
31660 (bug-regex34-ENV): Define.
31661 * posix/bug-regex34.c: New file.
31662
7e2f0d2d
AS
31663 [BZ #11561]
31664 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31665 elements compare against the byte sequence of it, not its name.
31666 * posix/Makefile (tests): Add bug-regex35.
31667 (bug-regex35-ENV): Define.
31668 * posix/bug-regex35.c: New file.
31669
a175b684
TV
316702013-02-11 Tom de Vries <tom@codesourcery.com>
31671
31672 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31673 comment.
31674 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31675 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31676 (CHECK_EOL): Add undef.
31677
310998fe 316782013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31679
31680 * bits/stdlib-bsearch.h: New file.
31681 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31682 * stdlib/stdlib.h: Likewise.
41eda41d 31683
8ded91fb
RM
316842013-02-11 Roland McGrath <roland@hack.frob.com>
31685
31686 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31687 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31688 declaration.
31689 * manual/search.texi (Array Search Function): Add missing const in
31690 lfind prototype.
31691 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31692 declaration to use rlim_t.
31693 (Basic Scheduling Functions): Remove erroneous const from
31694 sched_getparam prototype. Remove erroneous * from
31695 sched_get_priority_max and sched_get_priority_min prototypes.
31696 (Resource Usage): Fix summary @comment on vtimes to refer to
31697 sys/vtimes.h rather than vtimes.h.
31698 Add missing *s in vtimes prototype.
31699 (Limits on Resources): Fix ulimit prototype to return long int.
31700 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31701 prototypes to use long int rather than double.
31702 (BSD Random): Fix initstate and setstate to use char *, not void *.
31703 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31704 prototype to make second argument 'struct aiocb64 *const[]'.
31705 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31706 (Status of AIO Operations): Remove erroneous const in aio_return and
31707 aio_return64 prototypes.
31708 (Synchronizing I/O): Fix sync prototype to return void.
31709 * manual/startup.texi (Suboptions): Remove an erroneous const in
31710 getsubopt prototype.
31711 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31712 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31713 use size_t rather than int.
31714 (Scanning All Users): Likewise for getpwent_r.
31715 (Setting Groups): Add missing const to setgroups prototype.
31716 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31717 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31718 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31719 'const void *' rather than 'const char *'.
31720 (Host Address Functions): Likewise for inet_ntop.
31721 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31722 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31723 ssize_t for return value.
31724 (Sending Data): Likewise for send, sendto, sendmsg.
31725 (Socket Option Functions): Add a missing const in setsockopt prototype.
31726 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31727 use wchar_t for the argument.
31728 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31729 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31730 take no arguments.
31731 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31732 double/float/long double for second argument.
31733 Fix return types of significand, significandf, significandl.
31734 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31735 argument in fchmod prototype.
31736 (File Owner): Use uid_t and gid_t in fchown prototype.
31737 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31738 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31739 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31740 use 'const struct dirent **' as argument types to CMP function pointer
31741 argument.
31742 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31743 (File Times): Fix summary magic @comment for struct utimbuf and utime
31744 to refer to utime.h, not time.h.
31745 * manual/string.texi (Argz Functions): Add missing const in
31746 argz_extract and argz_next prototypes.
31747 (Finding Tokens in a String): Likewise for basename.
31748 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31749 (Copying and Concatenation): Fix typo in wmemmove prototype.
31750 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31751 (Signal Stack): Remove erroneous const in sigstack prototype.
31752 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31753 prototype.
31754 (Simple Calendar Time): Likewise for stime.
31755 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31756 prototype.
31757 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31758 say sys/sysctl.h instead.
31759 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31760 and vsyslog prototypes.
31761
fe77fe6d
TV
317622013-02-11 Tom de Vries <tom@codesourcery.com>
31763
31764 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31765 Remove.
31766
3a09b620
RM
317672013-02-11 Roland McGrath <roland@hack.frob.com>
31768
31769 * misc/sys/mman.h: Fix typo in mremap comment.
31770
550a0b89
RM
317712013-02-08 Roland McGrath <roland@hack.frob.com>
31772
31773 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31774 the '\0' terminator.
31775
a2da1673
JM
317762013-02-08 Joseph Myers <joseph@codesourcery.com>
31777
31778 [BZ #13550]
31779 * debug/segfault.c: Don't include <bp-checks.h>.
31780 * sysdeps/generic/bp-checks.h: Remove file.
31781 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31782 (__GETDENTS): Don't use CHECK_N.
31783 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31784 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31785 (__getgroups): Don't use CHECK_N.
31786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31787 (setgroups): Don't use CHECK_N.
31788 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31789 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31790 (__libc_msgrcv): Don't use CHECK_N.
31791 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31792 (__libc_msgsnd): Don't use CHECK_N.
31793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31794 <bp-checks.h>.
31795 (__libc_pread): Don't use CHECK_N.
31796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31797 include <bp-checks.h>.
31798 (__libc_pread64): Don't use CHECK_N.
31799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31800 include <bp-checks.h>.
31801 (__libc_pwrite): Don't use CHECK_N.
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31803 include <bp-checks.h>.
31804 (__libc_pwrite64): Don't use CHECK_N.
31805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31806 <bp-checks.h>.
31807 (__libc_pread): Don't use CHECK_N.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31809 include <bp-checks.h>.
31810 (__libc_pread64): Don't use CHECK_N.
31811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31812 include <bp-checks.h>.
31813 (__libc_pwrite): Don't use CHECK_N.
31814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31815 include <bp-checks.h>.
31816 (__libc_pwrite64): Don't use CHECK_N.
31817 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31818 (do_pread): Don't use CHECK_N.
31819 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31820 (do_pread64): Don't use CHECK_N.
31821 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31822 (do_pwrite): Don't use CHECK_N.
31823 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31824 (do_pwrite64): Don't use CHECK_N.
31825 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31826 (__libc_readv): Don't use CHECK_N.
31827 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31828 (semop): Don't use CHECK_N.
31829 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31830 <bp-checks.h>.
31831 (semtimedop): Don't use CHECK_N.
31832 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31833 (__libc_pread): Don't use CHECK_N.
31834 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31835 <bp-checks.h>.
31836 (__libc_pread64): Don't use CHECK_N.
31837 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31838 <bp-checks.h>.
31839 (__libc_pwrite): Don't use CHECK_N.
31840 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31841 <bp-checks.h>.
31842 (__libc_pwrite64): Don't use CHECK_N.
31843 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31844 <bp-checks.h>.
31845 (__libc_msgrcv): Don't use CHECK_N.
31846 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31847 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31848 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31849 (__libc_writev): Don't use CHECK_N.
31850
b84660a8
RM
318512013-02-08 Roland McGrath <roland@hack.frob.com>
31852
7f3e75f8
RM
31853 * string/strcpy.c: Removed unused variable.
31854
b84660a8
RM
31855 * Makeconfig (+sysdep-includes): Define with := rather than =.
31856 Use an existing include/ subdir of each sysdeps dir before it.
31857
471514d3
CD
318582013-02-08 Carlos O'Donell <carlos@redhat.com>
31859
31860 * nscd/connection.c (register_traced_file): Comment function.
31861 [HAVE_INOTIFY] (union __inev): Define.
31862 [HAVE_INOTIFY] (inotify_check_files): New function.
31863 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31864 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31865 clear_db_cache.
31866 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31867
b2d3c3be
CD
318682013-02-08 Carlos O'Donell <carlos@redhat.com>
31869
31870 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31871 loaded if not already and that a failure is permanent.
31872
b39949d2
CD
318732013-02-08 Carlos O'Donell <carlos@redhat.com>
31874
ddacd1db 31875 [BZ #15006]
b39949d2
CD
31876 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31877 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31878
b2c9eff4
JM
318792013-02-08 Joseph Myers <joseph@codesourcery.com>
31880
f3aae3f3
JM
31881 [BZ #13550]
31882 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31883 (CHECK_1_NULL_OK): Likewise.
31884 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31885 (__fxstat): Do not use CHECK_1.
31886 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31887 <bp-checks.h>.
31888 (___fxstat64): Do not use CHECK_1.
31889 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31890 <bp-checks.h>.
31891 (__fxstatat): Do not use CHECK_1.
31892 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31893 <bp-checks.h>.
31894 (__fxstatat64): Do not use CHECK_1.
31895 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31896 <bp-checks.h>.
31897 (__fxstat): Do not use CHECK_1.
31898 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31899 <bp-checks.h>.
31900 (__fxstatat): Do not use CHECK_1.
31901 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31902 <bp-checks.h>.
31903 (__getresgid): Do not use CHECK_1.
31904 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31905 <bp-checks.h>.
31906 (__getresuid): Do not use CHECK_1.
31907 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31908 <bp-checks.h>.
31909 (__lxstat): Do not use CHECK_1.
31910 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31911 <bp-checks.h>.
31912 (__old_msgctl): Do not use CHECK_1.
31913 (__new_msgctl): Likewise.
31914 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31915 <bp-checks.h>.
31916 (__new_setrlimit): Do not use CHECK_1.
31917 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31918 <bp-checks.h>.
31919 (__old_shmctl): Do not use CHECK_1.
31920 (__new_shmctl): Likewise.
31921 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31922 <bp-checks.h>.
31923 (__xstat): Do not use CHECK_1.
31924 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31925 (__lxstat): Do not use CHECK_1.
31926 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31927 <bp-checks.h>.
31928 (___lxstat64): Do not use CHECK_1.
31929 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31930 (__old_msgctl): Do not use CHECK_1.
31931 (__new_msgctl): Likewise.
31932 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31933 <bp-checks.h>.
31934 (__gettimeofday): Do not use CHECK_1.
31935 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31936 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31937 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31938 <bp-checks.h>.
31939 (__gettimeofday): Do not use CHECK_1.
31940 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31941 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31942 (__new_shmctl): Do not use CHECK_1.
31943 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31944 <bp-checks.h>.
31945 (do_sigtimedwait): Do not use CHECK_1.
31946 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31947 <bp-checks.h>.
31948 (do_sigwaitinfo): Do not use CHECK_1.
31949 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31950 <bp-checks.h>.
31951 (msgctl): Do not use CHECK_1.
31952 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31953 <bp-checks.h>.
31954 (shmctl): Do not use CHECK_1.
31955 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31956 (ustat): Do not use CHECK_1.
31957 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31958 <bp-checks.h>.
31959 (__fxstat): Do not use CHECK_1.
31960 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31961 <bp-checks.h>.
31962 (__fxstatat): Do not use CHECK_1.
31963 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31964 <bp-checks.h>.
31965 (__lxstat): Do not use CHECK_1.
31966 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31967 <bp-checks.h>.
31968 (__xstat): Do not use CHECK_1.
31969 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31970 (__xstat): Do not use CHECK_1.
31971 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31972 (___xstat64): Do not use CHECK_1.
31973
b2c9eff4
JM
31974 [BZ #13550]
31975 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31976 definitions.
31977 (CHECK_BOUNDS_HIGH): Likewise.
31978 * string/strcpy.c: Do not include <bp-checks.h>.
31979 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31980
f1d70dad
RM
319812013-02-07 Roland McGrath <roland@hack.frob.com>
31982
31983 * nscd/nscd-client.h (__nscd_drop_map_ref):
31984 Add __attribute__ ((unused)).
31985 * nis/nss-nisplus.h (niserr2nss): Likewise.
31986
31987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31988 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31989
31990 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31991 Remove inline keyword.
31992 * include/rounding-mode.h (round_away): Likewise.
31993 * libio/wfileops.c (adjust_wide_data): Likewise.
31994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31995 (__m128i_strloadu_tolower): Likewise.
31996 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31997 (__m128i_strloadu_tolower): Likewise.
31998 * time/mktime.c (ydhms_diff): Likewise.
31999 * locale/elem-hash.h (elem_hash): Likewise.
32000 * locale/setlocale.c (setdata): Likewise.
32001 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32002 (re_string_wchar_at): Likewise.
32003 (bitset_not, bitset_merge, bitset_mask): Likewise.
32004 [!(__GNUC__ > 3)] (inline): Remove macro.
32005 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32006 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32007 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32008 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32009 * string/memcmp.c (memcmp_bytes): Likewise.
32010 * locale/programs/locarchive.c (compute_hashval): Likewise.
32011 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32012 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32013 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32014 * nss/getent.c (print_rpc, print_protocols): Likewise.
32015 (print_passwd, print_group, print_aliases): Likewise.
32016 * nis/nss-nisplus.h (niserr2nss): Likewise.
32017 * nscd/connections.c (restart_p): Likewise.
32018 Change return type to bool.
32019
eab55bfb
RM
320202013-02-05 Roland McGrath <roland@hack.frob.com>
32021
7bd642f5
RM
32022 * Makeconfig (all-Depend-files): Add existing
32023 $(sorted-subdirs:=/Depend) files.
32024 (all-subdirs): Remove nss.
32025 * sysdeps/unix/inet/Subdirs: Add it here instead.
32026 * hesiod/Depend: New file.
32027
573c29b2
RM
32028 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32029 instead of calling alloca.
32030
b2e25af0
RM
32031 * io/lseek.c (__lseek): Rename to __libc_lseek.
32032 Define __lseek as an alias.
32033
eab55bfb
RM
32034 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32035
9a0d1941
CD
320362013-02-04 Carlos O'Donell <carlos@redhat.com>
32037
32038 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32039 else clause and remove check for non-standard endianness.
32040
b83bbec4
DM
320412013-02-04 David S. Miller <davem@davemloft.net>
32042
32043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32044
6277fdab
JM
320452013-02-04 Joseph Myers <joseph@codesourcery.com>
32046
32047 [BZ #13550]
32048 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32049 (__ubp_memchr): Remove prototype.
32050 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32051 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32052 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32053 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32054 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32055 Remove alias.
32056 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32057 (__ubp_memchr): Likewise.
32058 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32059 (__ubp_memchr): Likewise.
32060 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32061 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32062 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32063 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32064 CHECK_STRING.
32065 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32066 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32067 (__getcwd): Do not use CHECK_STRING.
32068 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32069 <bp-checks.h>.
32070 (__real_chown): Do not use CHECK_STRING.
32071 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32072 <bp-checks.h>.
32073 (fchownat): Do not use CHECK_STRING.
32074 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32075 CHECK_STRING.
32076 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32077 <bp-checks.h>.
32078 (__lchown): Do not use CHECK_STRING.
32079 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32080 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32081 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32082 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32084 include <bp-checks.h>.
32085 (truncate64): Do not use CHECK_STRING.
32086 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32087 <bp-checks.h>.
32088 (__real_chown): Do not use CHECK_STRING.
32089 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32090 <bp-checks.h>.
32091 (__lchown): Do not use CHECK_STRING.
32092 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32093 <bp-checks.h>.
32094 (__chown): Do not use CHECK_STRING.
32095 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32096 <bp-checks.h>.
32097 (truncate64): Do not use CHECK_STRING.
32098 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32099 Likewise.
32100 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32101 (__xmknod): Do not use CHECK_STRING.
32102 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32103 <bp-checks.h>.
32104 (__xmknodat): Do not use CHECK_STRING.
32105 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32106 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32107
903ae060
AS
321082013-02-04 Andreas Schwab <schwab@suse.de>
32109
32110 [BZ #14142]
32111 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32112 * include/netdb.h: Likewise for h_errno.
32113 * elf/tst-stackguard1.c: Include <tls.h>.
32114
542f9466
JK
321152013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32116
32117 * elf/link.h (struct link_map): Extend the l_addr comment.
32118 * include/link.h (struct link_map): Likewise.
32119
e782a927
JM
321202013-02-01 Joseph Myers <joseph@codesourcery.com>
32121
32122 [BZ #13550]
32123 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32124 (BOUNDED_1): Remove macro.
32125 * debug/backtrace.c: Don't include <bp-checks.h>.
32126 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32127 (__backtrace): Likewise.
32128 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32129 <bp-checks.h>.
32130 (__backtrace): Don't use BOUNDED_1.
32131 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32132 <bp-checks.h>.
32133 (__backtrace): Don't use BOUNDED_1.
32134 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32135 (__backtrace): Don't use BOUNDED_1.
32136 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32137 (shmat): Don't use BOUNDED_N.
32138
8cf28c5e
JM
321392013-01-31 Joseph Myers <joseph@codesourcery.com>
32140
3a7ac8a0
JM
32141 [BZ #13550]
32142 * sysdeps/generic/bp-start.h: Remove file.
32143 * csu/libc-start.c: Don't include <bp-start.h>.
32144 (LIBC_START_MAIN): Set up __environ directly instead of using
32145 INIT_ARGV_and_ENVIRON.
32146 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32147 <bp-start.h>.
32148
f3499f95
JM
32149 [BZ #13550]
32150 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32151 definitions.
32152 (CHECK_FCNTL): Likewise.
32153 (CHECK_N_PAGES): Likewise.
32154
32a45bea
JM
32155 [BZ #13550]
32156 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32157 definitions.
32158 (CHECK_SIGSET_NULL_OK): Likewise.
32159 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32160 <bp-checks.h>.
32161 (sigpending): Don't use CHECK_SIGSET.
32162 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32163 <bp-checks.h>.
32164 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32165 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32166 <bp-checks.h>.
32167 (do_sigsuspend): Don't use CHECK_SIGSET.
32168 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32169 use CHECK_SIGSET.
32170 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32171 (do_sigwait): Don't use CHECK_SIGSET.
32172 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32173 use CHECK_SIGSET.
32174 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32175 include <bp-checks.h>.
32176 (sigpending): Don't use CHECK_SIGSET.
32177 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32178 include <bp-checks.h>.
32179 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32180 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32181 <bp-checks.h>.
32182 (sigpending): Don't use CHECK_SIGSET.
32183 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32184 <bp-checks.h>.
32185 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32186
2e8a5c8c
JM
32187 [BZ #13550]
32188 * sysdeps/generic/bp-semctl.h: Remove file.
32189 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32190 <bp-checks.h> and <bp-semctl.h>.
32191 (__old_semctl): Don't use CHECK_SEMCTL.
32192 (__new_semctl): Likewise.
32193 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32194 and <bp-semctl.h>.
32195 (__old_semctl): Don't use CHECK_SEMCTL.
32196 (__new_semctl): Likewise.
32197 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32198 <bp-checks.h> and <bp-semctl.h>.
32199 (__old_semctl): Don't use CHECK_SEMCTL.
32200 (__new_semctl): Likewise.
32201 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32202 <bp-checks.h> and <bp-semctl.h>.
32203 (semctl): Don't use CHECK_SEMCTL.
32204
c2d54929
JM
32205 [BZ #13550]
32206 * Makerules (elide-bp-thunks): Remove variable.
32207 (elide-routines.oS): Don't use $(elide-bp-thunks).
32208 (elide-routines.os): Likewise.
32209 (elide-routines.o): Likewise.
32210 (elide-routines.op): Likewise.
32211 (elide-routines.og): Likewise.
32212 (objects): Don't use $(bp-thunks).
32213 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32214 include.
32215 (common-generated): Do not add s-proto-bp.d.
32216 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32217 (int): Likewise.
32218 (typ): Likewise.
32219 Do not generate makefile rules for bounded-pointer thunks.
32220 * sysdeps/generic/bp-thunks.h: Remove file.
32221 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32222 * sysdeps/unix/s-proto-bp.S: Likewise.
32223
8cf28c5e
JM
32224 [BZ #15062]
32225 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32226 parts of result separately when argument is not close to line from
32227 -i to i and one part of argument is small.
32228 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32229 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32230 * math/libm-test.inc (cacos_test): Add more tests.
32231 (casin_test): Likewise.
32232 (casinh_test): Likewise.
32233 * sysdeps/i386/fpu/libm-test-ulps: Update.
32234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32235
c4e33b8d
DM
322362013-01-31 David S. Miller <davem@davemloft.net>
32237
32238 * po/de.po: Update from translation team.
32239
3b60b421
MK
322402013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32241
32242 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32243
bb931195
TS
322442013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32245
b5a5da23
TS
32246 * configure.in (_AC_PROG_CC_C89): New definition.
32247 * configure: Regenerate.
32248
bb931195
TS
32249 * configure.in (AC_PROG_CPP): New definition.
32250 * configure: Regenerate.
32251
8c53a12c
JM
322522013-01-23 Joseph Myers <joseph@codesourcery.com>
32253
32254 * debug/tst-backtrace.h: New file.
32255 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32256 (ret): Remove variable.
32257 (x): Likewise.
32258 (FAIL): Remove macro.
32259 (NO_INLINE): Likewise.
32260 (fn1): Use match function instead of strstr.
32261 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32262 (ret): Remove variable.
32263 (x): Likewise.
32264 (FAIL): Remove macro.
32265 (NO_INLINE): Likewise.
32266 (fn): Use match function instead of strstr.
32267 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32268 (ret): Remove variable.
32269 (x): Likewise.
32270 (FAIL): Remove macro.
32271 (NO_INLINE): Likewise.
32272 (handle_signal): Use match function instead of strstr.
32273 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32274 (ret): Remove variable.
32275 (x): Likewise.
32276 (FAIL): Remove macro.
32277 (NO_INLINE): Likewise.
32278 (handle_signal): Use match function instead of strstr.
32279
4858fa2a
RM
322802013-01-23 Roland McGrath <roland@hack.frob.com>
32281
32282 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32283
bae8e7f5
DM
322842013-01-23 David S. Miller <davem@davemloft.net>
32285
32286 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32287 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32288 argument of CAS if possible.
32289 * sysdeps/sparc/sparc64/bits/atomic.h
32290 (__arch_compare_and_exchange_val_32_acq): Likewise.
32291 (__arch_compare_and_exchange_val_64_acq): Likewise.
32292
9cbbc4ae
PT
322932013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32294
32295 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32296 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32297 Include <limits.h>.
67b3f58c 32298 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32299
5655a0b5
AC
323002013-01-23 Adam Conrad <adconrad@0c3.net>
32301
32302 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32303 (LDFLAGS-tst-array5): Likewise.
32304
052aff95
JM
323052013-01-23 Joseph Myers <joseph@codesourcery.com>
32306
32307 [BZ #15036]
32308 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32309 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32310 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32311 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32312
7c1e01aa
DM
323132013-01-21 David S. Miller <davem@davemloft.net>
32314
32315 * sysdeps/sparc/backtrace.c: New file.
32316 * sysdeps/sparc/sparc32/backtrace.h: New file.
32317 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32318 * sysdeps/sparc/sparc64/backtrace.h: New file.
32319 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32320 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32321 -funwind-tables.
32322
ab087e0a
AS
323232013-01-21 Andreas Schwab <schwab@suse.de>
32324
32325 [BZ #15020]
32326 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32327 closed its stdout.
32328
ed689c2f
AS
323292013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32330
32331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32332 "mpa2.h".
32333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32334
31d470ac
JM
323352013-01-18 Joseph Myers <joseph@codesourcery.com>
32336 Mark Mitchell <mark@codesourcery.com>
32337 Tom de Vries <tom@codesourcery.com>
32338 Paul Pluzhnikov <ppluzhnikov@google.com>
32339
32340 * debug/tst-backtrace2.c: New file.
32341 * debug/tst-backtrace3.c: Likewise.
32342 * debug/tst-backtrace4.c: Likewise.
32343 * debug/tst-backtrace5.c: Likewise.
32344 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32345 (CFLAGS-tst-backtrace3.c): Likewise.
32346 (CFLAGS-tst-backtrace4.c): Likewise.
32347 (CFLAGS-tst-backtrace5.c): Likewise.
32348 (LDFLAGS-tst-backtrace2): Likewise.
32349 (LDFLAGS-tst-backtrace3): Likewise.
32350 (LDFLAGS-tst-backtrace4): Likewise.
32351 (LDFLAGS-tst-backtrace5): Likewise.
32352 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32353 tst-backtrace4 and tst-backtrace5.
32354
90567f30 323552013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32356 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32357
32358 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32359 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32360 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32361 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32363 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32364 "+r" and remove output regs list as redundant. Add explicit inline
32365 asm to specify register of return val to work around compiler codegen
32366 bug. Remove (int) cast on return value. Add return type parameter to
32367 use in macro so that this macro does not truncate return value for
32368 64-bit values.
32369 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32370 pass to INTERNAL_VSYSCALL_NCS.
32371 (INLINE_VSYSCALL): Add 'long int' as return type to
32372 INTERNAL_VSYSCALL_NCS macro invocation.
32373 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32374 INTERNAL_VSYSCALL_NCS macro invocation.
32375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32376
d3b9ea61
SP
323772013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32378
0b57daeb
SP
32379 [BZ #14496]
32380 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32381 Fix application of SIMD FP exception mask.
32382
caa99d06
SP
32383 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32384 mp_no from a power of two.
32385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32386 __mpexp_twomm1. Use __pow_mp.
32387
d3b9ea61
SP
32388 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32389 multiplication.
32390
1dbaee3c
DM
323912013-01-17 David S. Miller <davem@davemloft.net>
32392
32393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32394
728d7b43
JM
323952013-01-17 Joseph Myers <joseph@codesourcery.com>
32396
32397 [BZ #15023]
32398 * include/complex.h: Condition contents on [!_COMPLEX_H].
32399 (__kernel_casinhf): New prototype.
32400 (__kernel_casinh): Likewise.
32401 (__kernel_casinhl): Likewise.
32402 * math/Makefile (libm_calls): Add k_casinh.
32403 * math/k_casinh.c: New file.
32404 * math/k_casinhf.c: Likewise.
32405 * math/k_casinhl.c: Likewise.
32406 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32407 finite nonzero arguments.
32408 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32409 finite nonzero arguments.
32410 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32411 finite nonzero arguments.
32412 * math/s_casinh.c: Do not include <float.h>.
32413 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32414 * math/s_casinhf.c: Do not include <float.h>.
32415 (__casinhf): Move code for finite nonzero arguments to
32416 k_casinhf.c.
32417 * math/s_casinhl.c: Do not include <float.h>.
32418 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32419 redefine.
32420 (__casinhl): Move code for finite nonzero arguments to
32421 k_casinhl.c.
32422 * math/libm-test.inc (cacos_test): Add more tests.
32423 * sysdeps/i386/fpu/libm-test-ulps: Update.
32424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32425
2a26ef3a
PT
324262013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32427
32428 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32429 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32430 [!HAVE_MREMAP]: Remove [defined linux] case.
32431 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32432
a897655d
SP
324332013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32434
32435 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32436
881ebe89 324372013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32438
32439 * elf/elf.h (R_386_SIZE32): New relocation.
32440 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32441 R_386_SIZE32.
32442 (elf_machine_rela): Likewise.
32443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32444 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32445
59981e9b
JM
324462013-01-17 Joseph Myers <joseph@codesourcery.com>
32447
32448 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32449 (FP_FAST_FMA): Do not define.
32450 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32451 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32452 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32453 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32454 !_SOFT_FLOAT]: Likewise.
32455 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32456 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32457 value.
32458 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32459 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32461 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32462 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32463 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32464 file.
32465
cfa8054f
AS
324662013-01-16 Andreas Schwab <schwab@suse.de>
32467
32468 [BZ #14327]
32469 * include/stdlib.h (__mktemp): Add declaration.
32470 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32471 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32472
dd930cc5
SP
324732013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32474
881ebe89
SP
32475 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32476 definitions.
32477 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32478 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32479 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32480 definitions here.
32481 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32482 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32483 definitions.
32484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32485 and ONE.
32486 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32487 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32488 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32489 definitions.
32490 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32491 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32492 definitions.
32493 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32494
dd930cc5
SP
32495 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32496
c19a9f89
DM
324972013-01-15 David S. Miller <davem@davemloft.net>
32498
1aa61767
DM
32499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32500 trunc{,f} to libm-sysdep_routes.
32501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32503 file.
32504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32506 file.
32507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32508 file.
32509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32511 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32512 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32513 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32514 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32515 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32516 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32517
c42d5e98
DM
32518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32519 nearbyint{,f} to libm-sysdep_routes.
32520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32522 New file.
32523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32524 file.
32525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32526 New file.
32527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32528 file.
32529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32531 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32532 file.
32533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32534 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32535 file.
32536 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32537 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32538 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32539
c19a9f89
DM
32540 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32541 libc_feholdexcept and libc_fesetenv.
32542
357679d2
MF
325432013-01-15 Mike Frysinger <vapier@gentoo.org>
32544
32545 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32546
65a82e3d
DM
325472013-01-14 David S. Miller <davem@davemloft.net>
32548
8b954ab9
DM
32549 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32550 (SPARC_ASM_VIS2_IFUNC): Likewise.
32551 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32553 use of 'siam' instruction.
32554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32555 Likewise.
32556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32557 Likewise.
32558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32559 Likewise.
32560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32565 file.
32566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32567 file.
32568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32569 file.
32570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32571 file.
32572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32577 new VIS2 routines.
32578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32581 Likewise.
32582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32587 routines to libm-sysdep_routines.
32588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32589
65a82e3d
DM
32590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32591 fdim/fdimf to libm-sysdep_routines.
32592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32593 file.
32594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32596 file.
32597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32600 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32601 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32602 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32603 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32604
e34ab705
SP
326052013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32606
2a91b573
SP
32607 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32608 to optimize copies.
32609
1066a534
SP
32610 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32612 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32613
e34ab705
SP
32614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32615 local variable MPTWO.
32616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32617 Likewise.
32618
aba5e596
MF
326192013-01-13 Mike Frysinger <vapier@gentoo.org>
32620
32621 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32622 GLOB_NOESCAPE.
32623
e557e9e5
MF
326242013-01-13 Mike Frysinger <vapier@gentoo.org>
32625
32626 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32627
0428cec9
MF
326282013-01-13 Mike Frysinger <vapier@gentoo.org>
32629
32630 * manual/pattern.texi (glob_t): Document gl_flags.
32631 (glob64_t): Likewise.
32632
8794a964
DM
326332013-01-11 David S. Miller <davem@davemloft.net>
32634
66438c3f
RM
32635 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32636 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32637 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32638 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32639 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32640 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32641 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32642 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32643 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32644 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32645 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32646 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32647 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32648
4ae4244d
DM
32649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32650 sparc V9 rather than using V8 code.
32651 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32652 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32653
8794a964
DM
32654 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32655 Move to...
32656 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32657 Here.
32658
6270516e
RM
326592013-01-11 Roland McGrath <roland@hack.frob.com>
32660
32661 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32662 not in the main loop.
32663 * configure: Regenerated.
32664
6a57d931
JM
326652013-01-11 Joseph Myers <joseph@codesourcery.com>
32666
32667 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32668 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32669 to just #else.
32670 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32671 [!__GLIBC_HAVE_LONG_LONG] case.
32672 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32673 condition to just #else.
32674 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32675 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32676 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32677 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32678 unconditional.
32679 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32680 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32681 #elif condition to just #else.
32682 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32683 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32684 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32685 #elif condition to just #else.
32686
0e8529e9
SE
326872013-01-11 Steve Ellcey <sellcey@mips.com>
32688
32689 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32690 (EF_MIPS_ARCH_64): Fix value.
32691 (EF_MIPS_ARCH_32R2): New.
32692 (EF_MIPS_ARCH_64R2): New.
32693
740b3dbe
L
326942013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32695
32696 * Makeconfig (+link-pie-before-libc): New.
32697 (+link-pie-after-libc): Likewise.
32698 (+link-pie-tests): Likewise.
32699 (+link-pie): Rewritten.
32700 (link-before-libc): Remove $(config-LDFLAGS).
32701 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32702 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32703 (config-LDFLAGS): Renamed to ...
32704 (rtld-LDFLAGS): This.
32705 (rtld-tests-LDFLAGS): New macro.
32706 (link-libc-rpath-link): Likewise.
32707 (link-libc-tests-rpath-link): Likewise.
32708 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32709 (link-libc): Prepand $(link-libc-rpath-link).
32710 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32711 (test-program-prefix): New macro.
32712 (test-via-rtld-prefix): Likewise.
32713 (test-program-cmd): Likewise.
32714 (host-test-program-cmd): Likewise.
32715 * Makefile ($(common-objpfx)testrun.sh): Replace
32716 $(run-program-prefix) with $(test-program-prefix).
32717 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32718 $(rtld-LDFLAGS).
32719 ($(common-objpfx)shlib.lds): Likewise.
32720 (build-module-helper): Likewise.
32721 ($(common-objpfx)format.lds): Likewise.
32722 * Rules (binaries-pie-tests): New.
32723 (binaries-pie-notests): Likewise.
32724 (binaries-pie): Rewritten.
32725 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32726 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32727 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32728 (make-test-out): Replace $(host-built-program-cmd) with
32729 $(host-test-program-cmd).
32730 * config.make.in (build-hardcoded-path-in-tests): New variable.
32731 * configure.in (--enable-hardcoded-path-in-tests): New configure
32732 option.
32733 (hardcoded_path_in_tests): New AC_SUBST.
32734 * configure: Regenerated.
32735 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32736 $(built-program-cmd) with $(test-program-cmd).
32737 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32738 (test_program_cmd): This.
32739 * elf/Makefile ($(objpfx)order.out): Run test with
32740 $(test-program-prefix).
32741 ($(objpfx)order2.out): Likewise.
32742 ($(objpfx)tst-initorder.out): Likewise.
32743 ($(objpfx)tst-initorder2.out): Likewise.
32744 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32745 $(test-program-cmd).
32746 ($(objpfx)tst-array1-static.out): Likewise.
32747 ($(objpfx)tst-array2.out): Likewise.
32748 ($(objpfx)tst-array3.out): Likewise.
32749 ($(objpfx)tst-array4.out): Likewise.
32750 ($(objpfx)tst-array5.out): Likewise.
32751 ($(objpfx)tst-array5-static.out): Likewise.
32752 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32753 $(test-program-cmd).
32754 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32755 $(run-program-prefix) with $(test-program-prefix).
32756 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32757 (test_program_prefix): This.
32758 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32759 $(run-program-prefix) with $(test-program-prefix).
32760 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32761 (test_program_prefix): This.
32762 * iconvdata/tst-tables.sh: Likewise.
32763 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32764 $(run-program-prefix) with $(test-program-prefix).
32765 ($(objpfx)tst-translit.out): Likewise.
32766 ($(objpfx)tst-gettext2.out): Likewise.
32767 ($(objpfx)tst-gettext4.out): Likewise.
32768 ($(objpfx)tst-gettext6.out): Likewise.
32769 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32770 (test_program_prefix): This.
32771 * intl/tst-gettext2.sh: Likewise.
32772 * intl/tst-gettext4.sh Likewise.
32773 * intl/tst-gettext6.sh: Likewise.
32774 * intl/tst-translit.sh: Likewise.
32775 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32776 with $(test-program-cmd).
32777 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32778 $(run-program-prefix) with $(test-program-prefix).
32779 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32780 (test_program_prefix): This.
32781 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32782 $(run-program-prefix) with $(test-program-prefix).
32783 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32784 (test_program_prefix): This.
32785 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32786 * posix/Makefile ($(objpfx)globtest.out): Replace
32787 $(run-via-rtld-prefix) and $(test-wrapper) with
32788 $(test-program-prefix) and $(test-via-rtld-prefix).
32789 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32790 $(test-program-prefix).
32791 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32792 $(host-test-program-cmd).
32793 (tst-spawn-ARGS): Likewise.
32794 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32795 $(test-program-prefix).
32796 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32797 (test_via_rtld_prefix): This.
32798 (test_wrapper): Renamed to ...
32799 (test_program_prefix): This.
32800 (run_program_prefix): Replaced by test_program_prefix.
32801 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32802 (test_program_prefix): This.
32803 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32804 with $(host-test-program-cmd).
32805 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32806 $(run-program-prefix) with $(test-program-prefix).
32807 ($(objpfx)tst-printf.out): Likewise.
32808 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32809 $(test-program-cmd).
32810 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32811 (test_program_prefix): This.
32812 * stdio-common/tst-unbputc.sh: Likewise.
32813 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32814 $(run-program-prefix) with $(test-program-prefix).
32815 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32816 (test_program_prefix): This.
32817 * string/Makefile ($(objpfx)tst-svc.out): Replace
32818 $(built-program-cmd) with $(test-program-cmd).
32819
c6fe55cf
AJ
328202013-01-11 Andreas Jaeger <aj@suse.de>
32821
32822 [BZ #15003]
32823 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32824 value. Sync with Linux 3.7.
32825
9e6919c8
DM
328262013-01-10 David S. Miller <davem@davemloft.net>
32827
32828 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32829 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32830 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32831
1c9f1a02
RM
328322013-01-10 Roland McGrath <roland@hack.frob.com>
32833
32834 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32835 never set.
32836 * configure: Regenerated.
32837
b9de2dde
DM
328382013-01-10 David S. Miller <davem@davemloft.net>
32839
32840 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32841 sparc V9 rather than using V8 code.
32842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32844
e7f68ef4
RM
328452013-01-10 Roland McGrath <roland@hack.frob.com>
32846
32847 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32848 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32849 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32850 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32851 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32852 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32853 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32854 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32855 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32856 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32857 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32858 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32859 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32860 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32861 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32862 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32863 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32864 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32865 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32866 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32867 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32868 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32869 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32870 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32871 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32872 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32873 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32874
5a47cc9c
DM
328752013-01-10 David S. Miller <davem@davemloft.net>
32876
32877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32878
4cf8f209
L
328792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32880
32881 * posix/Makefile (tests-static): New variable.
32882 (tests): Add $(tests-static).
32883 (tst-exec-static-ARGS): New variable.
32884 (tst-spawn-static-ARGS): Likewise.
32885 * posix/tst-exec-static.c: New file.
32886 * posix/tst-spawn-static.c: Likewise.
32887 * posix/tst-exec.c: Support run directly.
32888 * posix/tst-spawn.c: Likewise.
32889
fed0faa1
JM
328902013-01-10 Joseph Myers <joseph@codesourcery.com>
32891
828beb13
JM
32892 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32893 long.
32894 * math/bits/mathcalls.h (llrint): Likewise.
32895 (llround): Likewise.
32896 * stdlib/stdlib.h (struct drand48_data): Likewise.
32897 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32898 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32899 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32900 Likewise.
32901 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32902 Likewise.
32903 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32904 (elf_greg_t): Likewise.
32905 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32906 (__jmp_buf): Likewise.
32907 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32908 definitions.
32909 (llrint): Likewise, for all definitions.
32910 (llrintl): Likewise.
32911
fed0faa1
JM
32912 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32913 Remove [__GNUC__] condition.
32914 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32915 condition to just [__USE_ISOC99].
32916 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32917
1a20cb20
L
329182013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32919
32920 [BZ #14200]
32921 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32922 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32923 defined.
32924 (_POSIX_V6_ILP32_OFF32): Likewise.
32925 (_XBS5_ILP32_OFF32): Likewise.
32926 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32927 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32928
751b85f7
SP
329292013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32930
7490eb81
SP
32931 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32932
751b85f7
SP
32933 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32934 doubles __mpexp_twomm1. Adjust usage.
32935 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32936 Remove.
32937
988197f0
AS
329382013-01-10 Andreas Schwab <schwab@suse.de>
32939
32940 [BZ #14964]
32941 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32942 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32943
e83d7298
DM
329442013-01-09 David S. Miller <davem@davemloft.net>
32945
034ed64b 32946 [BZ #15003]
57f41c40
AS
32947 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32948 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32949 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32950 (TCP_FASTOPEN): Define.
e83d7298
DM
32951 (tcp_repair_opt): New structure.
32952 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32953 enum values.
57f41c40
AS
32954 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32955 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32956 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32957 (tcp_cookie_transactions): New structure.
32958
d5e0b9bd
AB
329592013-01-09 Anton Blanchard <anton@samba.org>
32960
32961 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32962 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32963 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32964 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32965
0c07e3ea
JM
329662013-01-09 Joseph Myers <joseph@codesourcery.com>
32967
32968 * include/features.h (__USE_ANSI): Remove.
32969
232f7002
RM
329702013-01-09 Roland McGrath <roland@hack.frob.com>
32971
ad98e30c
RM
32972 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32973
232f7002
RM
32974 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32975
950c99ca
SP
329762013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32977
b5792741
SP
32978 * sysdeps/s390/fpu/libm-test-ulps: Update.
32979
47cf2278
SP
32980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32981
950c99ca
SP
32982 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32983 (__acr): Likewise.
32984 (__cpy): Likewise.
32985 (norm): Likewise.
32986 (denorm): Likewise.
32987 (__mp_dbl): Likewise.
32988 (__dbl_mp): Likewise.
32989 (add_magnitudes): Likewise.
32990 (sub_magnitudes): Likewise.
32991 (__add): Likewise.
32992 (__sub): Likewise.
32993 (__mul): Likewise.
32994 (__inv): Likewise.
32995 (__dvd): Likewise.
32996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32997 (__acr): Likewise.
32998 (__cpy): Likewise.
32999 (norm): Likewise.
33000 (denorm): Likewise.
33001 (__mp_dbl): Likewise.
33002 (__dbl_mp): Likewise.
33003 (add_magnitudes): Likewise.
33004 (sub_magnitudes): Likewise.
33005 (__add): Likewise.
33006 (__sub): Likewise.
33007 (__mul): Likewise.
33008 (__inv): Likewise.
33009 (__dvd): Likewise.
33010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33011 (__acr): Likewise.
33012 (__cpy): Likewise.
33013 (norm): Likewise.
33014 (denorm): Likewise.
33015 (__mp_dbl): Likewise.
33016 (__dbl_mp): Likewise.
33017 (add_magnitudes): Likewise.
33018 (sub_magnitudes): Likewise.
33019 (__add): Likewise.
33020 (__sub): Likewise.
33021 (__mul): Likewise.
33022 (__inv): Likewise.
33023 (__dvd): Likewise.
33024
eede9df9
JM
330252013-01-08 Joseph Myers <joseph@codesourcery.com>
33026
33027 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33028 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33029 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33030 2 && __USE_EXTERN_INLINES]: Likewise.
33031
c40ea3d9
AJ
330322013-01-08 Andreas Jaeger <aj@suse.de>
33033
33034 [BZ# 14985]
33035 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33036 Remove.
33037 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33038 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33039
2ccdea26
AB
330402013-01-07 Anton Blanchard <anton@samba.org>
33041
33042 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33043 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33044 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33045 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33046 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33048 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33049 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33051 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33053 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33054 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33055 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33057 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33058 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33060 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33062 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33063 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33065 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33066 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33067 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33068 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33069 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33071 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33072 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33073 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33074 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33075 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33076 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33077 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33078 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33079 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33081 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33082 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33084 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33085
a9708fed
JM
330862013-01-07 Joseph Myers <joseph@codesourcery.com>
33087
375607b9
JM
33088 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33089 (__MALLOC_PMT): Likewise.
33090 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33091 [__GNUC__], only on [_LIBC].
33092 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33093 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33094 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33095 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33096 forward declaration.
33097 (realloc_hook_ini): Likewise.
33098 (memalign_hook_ini): Likewise.
33099 (__libc_memalign): Do not use __MALLOC_PMT in variable
33100 declaration.
33101 (__libc_valloc): Likewise.
33102 (__libc_pvalloc): Likewise.
33103 (__libc_calloc): Likewise.
33104 (__posix_memalign): Likewise.
33105
a9708fed
JM
33106 [BZ #14996]
33107 * math/s_casinh.c: Include <float.h>.
33108 (__casinh): Do not do computation with squaring and square root
33109 for large arguments.
33110 * math/s_casinhf.c: Include <float.h>.
33111 (__casinhf): Do not do computation with squaring and square root
33112 for large arguments.
33113 * math/s_casinhl.c: Include <float.h>.
33114 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33115 (__casinhl): Do not do computation with squaring and square root
33116 for large arguments.
33117 * math/libm-test.inc (casin_test): Add more tests.
33118 (casinh_test): Likewise.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33121
afec409a
L
331222013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33125 (__x86_64_raw_data_cache_size): Likewise.
33126 (__x86_64_data_cache_size_half): Likewise.
33127 (__x86_64_raw_data_cache_size_half): Likewise.
33128 (__x86_64_shared_cache_size): Likewise.
33129 (__x86_64_raw_shared_cache_size): Likewise.
33130 (__x86_64_shared_cache_size_half): Likewise.
33131 (__x86_64_raw_shared_cache_size_half): Likewise.
33132 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33133 to ...
33134 (__x86_data_cache_size): This.
33135 (__x86_64_raw_data_cache_size): Renamed to ...
33136 (__x86_raw_data_cache_size): This.
33137 (__x86_64_data_cache_size_half): Renamed to ...
33138 (__x86_data_cache_size_half): This.
33139 (__x86_64_raw_data_cache_size_half): Renamed to ...
33140 (__x86_raw_data_cache_size_half): This.
33141 (__x86_64_shared_cache_size): Renamed to ...
33142 (__x86_shared_cache_size): This.
33143 (__x86_64_raw_shared_cache_size): Renamed to ...
33144 (__x86_raw_shared_cache_size): This.
33145 (__x86_64_shared_cache_size_half): Renamed to ...
33146 (__x86_shared_cache_size_half): This.
33147 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33148 (__x86_raw_shared_cache_size_half): This.
33149 * sysdeps/x86_64/memcpy.S: Updated.
33150 * sysdeps/x86_64/memset.S: Likewise.
33151 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33152 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33153 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33154
0b3986d0
DM
331552013-01-04 David S. Miller <davem@davemloft.net>
33156
33157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33158
e47686e9
AS
331592013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33160
d643bac1
AS
33161 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33162 1 to avoid redefinition warning.
33163 (__USE_GNU): Don't define.
33164 (init_signaling_nan): Protoize.
33165
e47686e9
AS
33166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33167
b18decba
SP
331682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33169
fffb407f
SP
33170 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33172 (__cpymn): Likewise.
33173 (norm): Remove commented code.
33174 (denorm): Likewise.
33175 (__mp_dbl): Likewise.
33176 (__inv): Likewise.
33177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33178 (__cpymn): Likewise.
33179 (norm): Remove commented code.
33180 (denorm): Likewise.
33181 (__mp_dbl): Likewise.
33182 (__inv): Likewise.
33183
b18decba
SP
33184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33185 mp_no value for 1.0 and 2.0.
33186 (norm): Use RADIXI instead of radixi.d.
33187 (denorm): Likewise.
33188 (__mul): Use 0.0 instead of zero.d.
33189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33190 mp_no value for 1.0 and 2.0.
33191 (norm): Use RADIXI instead of radixi.d.
33192 (denorm): Likewise.
33193 (__mul): Use 0.0 instead of zero.d.
33194
cdc1c96f
JM
331952013-01-04 Joseph Myers <joseph@codesourcery.com>
33196
33197 [BZ #14994]
33198 * math/s_casinh.c (__casinh): Reduce finite argument to first
33199 quadrant then set signs of results at the end.
33200 * math/s_casinhf.c (__casinhf): Likewise.
33201 * math/s_casinhl.c (__casinhl): Likewise.
33202 * math/libm-test.inc (casin_test): Add more tests.
33203 (casinh_test): Likewise.
33204 * sysdeps/i386/fpu/libm-test-ulps: Update.
33205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33206
302913e1
SP
332072013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33208
6420d207
SP
33209 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33210
a9e48ab4
SP
33211 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33212
b7837264
SP
33213 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33214 declarations.
33215 (denorm): Likewise.
33216 (__mp_dbl): Likewise.
33217 (__inv): Likewise.
33218
f8af25d2
SP
33219 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33220 and adjust the header comment.
33221
302913e1
SP
33222 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33223 variable name from declaration.
33224
5d7dd1ca
L
332252013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33228 Initialize COMMON_CPUID_INDEX_7 element.
33229 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33230 (CPUID_RTM): Likewise.
33231 (HAS_RTM): Likewise.
33232 (COMMON_CPUID_INDEX_7): New enum.
33233
2f5f40f4
AS
332342013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33235
33236 [BZ #14981]
33237 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33238 size is zero, record memory as freed.
33239
4056f4a0
AJ
332402013-01-03 Andreas Jaeger <aj@suse.de>
33241
33242 * po/ia.po: Add new Interlingua translation.
33243
ab15736f 332442012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33245
33246 * locale/programs/localedef.c: Fix description of '--posix' flag.
33247
568035b7
JM
332482013-01-02 Joseph Myers <joseph@codesourcery.com>
33249
e6898b8d
JM
33250 * NEWS: Update dates in second copyright notice.
33251 * README: Update copyright dates in example.
33252 * manual/libc.texinfo: Update copyright dates.
33253 * scripts/test-installation.pl: Update copyright date in --version
33254 output.
33255
0e2f9562
JM
33256 * hurd/ctty-input.c: Fix copyright notice formatting.
33257 * hurd/ctty-output.c: Likewise.
33258 * hurd/dtable.c: Likewise.
33259 * hurd/hurd-raise.c: Likewise.
33260 * hurd/hurdprio.c: Likewise.
33261 * hurd/msgportdemux.c: Likewise.
33262 * misc/sys/file.h: Likewise.
33263 * misc/sys/ioctl.h: Likewise.
33264 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33265 * sysdeps/mach/hurd/chdir.c: Likewise.
33266 * sysdeps/mach/hurd/fchdir.c: Likewise.
33267 * sysdeps/mach/hurd/rename.c: Likewise.
33268 * sysdeps/mach/hurd/rmdir.c: Likewise.
33269 * sysdeps/mach/hurd/seekdir.c: Likewise.
33270 * sysdeps/mach/hurd/setsid.c: Likewise.
33271 * sysdeps/posix/wait3.c: Likewise.
33272
568035b7
JM
33273 * All files with FSF copyright notices: Update copyright dates
33274 using scripts/update-copyrights.
33275 * intl/plural.c: Regenerated.
33276 * locale/programs/charmap-kw.h: Likewise.
33277 * locale/programs/locfile-kw.h: Likewise.
33278
da08f647
SP
332792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33280
0f5477af
SP
33281 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33282 four values.
33283
44e0d4c2
SP
33284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33285 calculation loop and add branch prediction.
33286
4d55b4e5
SP
33287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33288 check access beyond bounds of m1np.
33289
da08f647
SP
33290 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33291 MPTWO.
33292 (__inv): Remove local variable MPTWO to use the global
33293 constant.
33294 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33296 variable MPTWO.
33297 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33298 MP3HALFS static const.
33299
8e051029
DM
333002013-01-01 David S. Miller <davem@davemloft.net>
33301
33302 * po/ca.po: Update from translation team.
33303
f4cf5f2d
JM
333042013-01-01 Joseph Myers <joseph@codesourcery.com>
33305
33306 * scripts/update-copyrights: New file.
33307 * Makeconfig: Reformat copyright notice.
33308 * ctype/ctype.h: Likewise.
33309 * debug/swprintf_chk.c: Likewise.
33310 * elf/dl-cache.c: Likewise.
33311 * elf/dl-debug.c: Likewise.
33312 * elf/dl-object.c: Likewise.
33313 * grp/initgroups.c: Likewise.
33314 * hurd/Makefile: Likewise.
33315 * hurd/hurd/signal.h: Likewise.
33316 * hurd/hurdfault.c: Likewise.
33317 * hurd/hurdioctl.c: Likewise.
33318 * hurd/hurdlookup.c: Likewise.
33319 * hurd/intr-msg.c: Likewise.
33320 * iconv/gconv_open.c: Likewise.
33321 * libio/swprintf.c: Likewise.
33322 * locale/lc-ctype.c: Likewise.
33323 * locale/nl_langinfo.c: Likewise.
33324 * mach/Machrules: Likewise.
33325 * mach/Makefile: Likewise.
33326 * malloc/obstack.h: Likewise.
33327 * manual/Makefile: Likewise.
33328 * manual/tsort.awk: Likewise.
33329 * misc/bits/stab.def: Likewise.
33330 * nis/nis_print_group_entry.c: Likewise.
33331 * nis/nis_table.c: Likewise.
33332 * nis/nss_compat/compat-pwd.c: Likewise.
33333 * nis/nss_compat/compat-spwd.c: Likewise.
33334 * po/Makefile: Likewise.
33335 * posix/fnmatch.c: Likewise.
33336 * posix/regex.h: Likewise.
33337 * resolv/Makefile: Likewise.
33338 * resolv/nss_dns/dns-network.c: Likewise.
33339 * resolv/res_hconf.c: Likewise.
33340 * scripts/gen-sorted.awk: Likewise.
33341 * soft-fp/soft-fp.h: Likewise.
33342 * stdio-common/printf.h: Likewise.
33343 * stdlib/monetary.h: Likewise.
33344 * stdlib/random.c: Likewise.
33345 * stdlib/random_r.c: Likewise.
33346 * sysdeps/generic/Makefile: Likewise.
33347 * sysdeps/gnu/Makefile: Likewise.
33348 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33355 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33371 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33372 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33373 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33374 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33375 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33376 * sysdeps/mach/hurd/errnos.awk: Likewise.
33377 * sysdeps/mach/hurd/fork.c: Likewise.
33378 * sysdeps/mach/hurd/getcwd.c: Likewise.
33379 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33380 * sysdeps/mach/hurd/mmap.c: Likewise.
33381 * sysdeps/mach/hurd/utimes.c: Likewise.
33382 * sysdeps/mach/hurd/xmknod.c: Likewise.
33383 * sysdeps/posix/profil.c: Likewise.
33384 * sysdeps/posix/readdir_r.c: Likewise.
33385 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33386 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33387 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33388 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33390 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33391 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33394 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33395 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33396 * sysdeps/pthread/lio_listio.c: Likewise.
33397 * sysdeps/sparc/dl-procinfo.h: Likewise.
33398 * sysdeps/unix/i386/sysdep.S: Likewise.
33399 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33400 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33401 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33402 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33404 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33405 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33406 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33407 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33408 * sysdeps/wordsize-32/divdi3.c: Likewise.
33409 * time/sys/time.h: Likewise.
33410 * wcsmbs/Makefile: Likewise.
33411
0549fbba
DM
334122013-01-01 David S. Miller <davem@davemloft.net>
33413
a141f1a7
DM
33414 * po/fr.po: Update from translation team.
33415
0549fbba
DM
33416 * catgets/gencat.c: Update copyright year.
33417 * csu/version.c: Likewise.
33418 * debug/catchsegv.sh: Likewise.
33419 * debug/pcprofiledump.c: Likewise.
33420 * debug/xtrace.sh: Likewise.
33421 * elf/ldconfig.c: Likewise.
33422 * elf/ldd.bash.in: Likewise.
33423 * elf/pldd.c: Likewise.
33424 * elf/sotruss.ksh: Likewise.
33425 * elf/sprof.c: Likewise.
33426 * iconv/iconv_prog.c: Likewise.
33427 * iconv/iconvconfig.c: Likewise.
33428 * locale/programs/locale.c: Likewise.
33429 * locale/programs/localedef.c: Likewise.
33430 * login/programs/pt_chown.c: Likewise.
33431 * malloc/memusage.sh: Likewise.
33432 * malloc/memusagestat.c: Likewise.
33433 * malloc/mtrace.pl: Likewise.
33434 * nscd/nscd.c: Likewise.
33435 * nss/getent.c: Likewise.
33436 * nss/makedb.c: Likewise.
33437 * posix/getconf.c: Likewise.
33438
18ea052c
SP
334392012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33440
33441 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33442 numbers.
33443
9c89fca6
MF
334442012-12-30 Mike Frysinger <vapier@gentoo.org>
33445
33446 * math/bits/mathcalls.h (modf): Use __nonnull.
33447
085ec079
SP
334482012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33449
33450 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33451 (split): Use macro CN instead of the bare value.
33452 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33453 could be used.
33454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33455 instead of the bare value.
33456 (power1): Likewise.
33457
6d9f97e1
SP
334582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33459
d63f73be
SP
33460 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33461 __ATAN_TWOM.
33462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33463
6d9f97e1
SP
33464 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33465 their values.
33466 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33467 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33468 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33469 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33470
4c4febf5
AJ
334712012-12-28 Andreas Jaeger <aj@suse.de>
33472
af5843ef
AJ
33473 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33474 values are from Linux 3.7.
33475
4c4febf5
AJ
33476 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33477 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33478
99136f82
SP
334792012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33480
2f216c3c 33481 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33482 TRUE case.
33483
99136f82
SP
33484 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33485 (norm): Likewise.
33486 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33487 variables with preprocessor constants.
33488 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33489 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33490 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33491
7fffbdff
BH
334922012-12-27 Bruno Haible <bruno@clisp.org>
33493
33494 [BZ #14317]
33495 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33496 only if needed.
33497
b76eb5f0
SP
334982012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33499
31a7fe5c
SP
33500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33501 and use variable directly.
33502 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33503
b76eb5f0
SP
33504 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33505 MPONE.
33506 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33508 variable MPONE.
33509 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33511 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33512 include directive. Remove local variable MPONE.
33513 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33514 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33515 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33516
2c8bfe7d
DM
335172012-12-25 David S. Miller <davem@davemloft.net>
33518
33519 * version.h (RELEASE): Set to "development".
33520 (VERSION): Set to "2.17.90".
33521 * NEWS: Add 2.18 section.
33522
147d03b0
DM
335232012-12-21 David S. Miller <davem@davemloft.net>
33524
33525 * po/hr.po: Update from translation team.
33526
a8ebb2b9
AK
335272012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33528
33529 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33530
95b4f1b6
SE
335312012-12-19 Steve Ellcey <sellcey@mips.com>
33532
b2d94007 33533 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33534
cedb2a90
MS
335352012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33536
33537 * manual/contrib.texi (Contributors): Spelling correction.
33538
bbf527d6
DM
335392012-12-15 David S. Miller <davem@davemloft.net>
33540
33541 * po/ru.po: Update from translation team.
33542
bc38c906
DM
335432012-12-13 David S. Miller <davem@davemloft.net>
33544
85429b1a
DM
33545 * NEWS: Mention IFUNC testsuite enhancements.
33546
d283e353
DM
33547 * po/pl.po: Update from translation team.
33548 * po/bg.po: Likewise.
33549
bc38c906
DM
33550 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33551 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33552
a181b0d7
DM
335532012-12-11 David S. Miller <davem@davemloft.net>
33554
4641d57e
DM
33555 * po/sv.po: Update from translation team.
33556
f7bc6495
DM
33557 * po/vi.po: Update from translation team.
33558
6fc9048f
DM
33559 * po/cs.po: Update from translation team.
33560
a181b0d7
DM
33561 * po/de.po: Update from translation team.
33562 * po/eo.po: Likewise.
33563 * po/nl.po: Likewise.
33564
f70bfe80
SP
335652012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33566
3c8b4190
SP
33567 [BZ #14246]
33568 * manual/argp.texi (Argp Helper Functions): Move node to follow
33569 Argp Parsing State.
33570
f70bfe80
SP
33571 [BZ #14872]
33572 * manual/conf.texi (Limits on File System Capacity): Mention if
33573 terminating null is included in the max size.
33574
188f0adf
AJ
335752012-12-10 Andreas Jaeger <aj@suse.de>
33576
33577 * po/cs.po: Update from translation team.
33578
56e7d3ad
SP
335792012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33580
33581 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33582 void pointer and cast to uintptr_t.
33583 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33584 path.
33585 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33586 * sysdeps/s390/s390-64/memset.S: Likewise.
33587
76f2d2ea 335882012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33589
33590 [BZ #14833]
33591 * menual/message.texi (Message Translation): Fix typos.
33592 (Helper programs for gettext): Likewise.
33593
67cbf9a2
AS
335942012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33595
33596 [BZ #14898]
33597 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33598 Change to -1.
33599
682d0e9a
DM
336002012-12-07 David S. Miller <davem@davemloft.net>
33601
33602 * po/libc.pot: Update.
33603
573cd484
RH
336042012-12-07 Richard Henderson <rth@redhat.com>
33605
7e9da188 33606 [BZ #10114]
573cd484
RH
33607 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33608 normal/normal case to before the switch.
33609 (_FP_DIV): Likewise.
33610
e933a943
MF
336112012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33612 Mike Frysinger <vapier@gentoo.org>
33613
33614 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33615 check for __NR_fadvise64_64.
33616
82123268
CM
336172012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33618
33619 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33620 0, not just to plain "0" as a statement.
33621 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33622 with cw.
33623
d9814526
JM
336242012-12-06 Joseph Myers <joseph@codesourcery.com>
33625
33626 * NEWS: Use sourceware.org in Bugzilla URL.
33627
7728c574
SP
336282012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33629
f16946dd
SP
33630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33631 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33632
5704bbcb
SP
33633 * stdio-common/tst-put-error.c (do_test): Add newline to the
33634 padded test to ensure flush.
33635
17aa0516
JL
336362012-12-05 Jeff Law <law@redhat.com>
33637
33638 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33639
363313b5
JM
336402012-12-05 Joseph Myers <joseph@codesourcery.com>
33641
effbd42a
JM
33642 * README: Don't refer to ports add-on as distributed separately.
33643 Mention AArch64 in list of systems supported in the ports add-on.
33644
87600365
JM
33645 * LICENSES: Add more non-FSF copyright and license notices.
33646
a0d7066a
JM
33647 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33648 ((unused)).
33649
66ca5a5b
JM
33650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33651
363313b5
JM
33652 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33653 10000 as width of padded output.
33654
b37984ad
JM
336552012-12-04 Joseph Myers <joseph@codesourcery.com>
33656
9003570a
JM
33657 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33658
b37984ad
JM
33659 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33660 variable LX with __attribute__ ((unused)).
33661 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33662 Likewise.
33663 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33666 with __attribute__ ((unused)).
33667
c8df52ec
DM
336682012-12-04 David S. Miller <davem@abraco.davemloft.net>
33669
33670 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33671
b3b099af
JM
336722012-12-04 Joseph Myers <joseph@codesourcery.com>
33673
c33aa6e3
JM
33674 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33675 (CFLAGS-nldbl-acos.c): New variable.
33676 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33677 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33678 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33679 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33680 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33681 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33682 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33683 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33684 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33685 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33686 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33687 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33688 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33689 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33690 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33691 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33692 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33693 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33694 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33695 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33696 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33697 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33698 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33699 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33700 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33701 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33702 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33703 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33704 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33705 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33706 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33707 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33708 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33709 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33710 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33711 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33712 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33713 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33714 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33715 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33716 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33717 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33718 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33719 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33720 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33721 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33722 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33723 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33724 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33725 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33726 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33727 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33728 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33729 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33730 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33731 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33732 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33733 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33734 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33735 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33736 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33737 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33738 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33739 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33740 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33741 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33742 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33743 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33744 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33745 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33746 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33747 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33748 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33749 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33750 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33751 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33752 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33753 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33754 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33755 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33756 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33757 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33758 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33759 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33760 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33761 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33762 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33763 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33764 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33765 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33766 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33767 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33768 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33769 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33770 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33771 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33772 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33773
20f0018d
JM
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33775 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33776
b3b099af
JM
33777 [BZ #14914]
33778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33779 whole low double instead of just low 47 bits when splitting values
33780 into two parts.
33781
029264d1
AM
337822012-12-03 Allan McRae <allan@archlinux.org>
33783
33784 * manual/stdio.texi (Predefined Printf Handlers): Remove
33785 @hsep and @vsep usage.
33786
c9d6789e
MF
337872012-12-03 Mike Frysinger <vapier@gentoo.org>
33788
33789 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33790 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33791
4b7634a5
JL
337922012-12-03 Jeff Law <law@redhat.com>
33793
33794 * time/sys/time.h (settimeofday): Do not mark TV argument
33795 as __nonnull.
33796
eb6cbd24
MF
337972012-12-01 Mike Frysinger <vapier@gentoo.org>
33798
33799 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33800 when currently writing and seek to current position when not.
33801 * libio/Makefile (tests): Remove bug-fclose1.
33802 * libio/bug-fclose1.c: Delete.
33803
f638872a
JM
338042012-12-01 Joseph Myers <joseph@codesourcery.com>
33805
33806 * manual/arith.texi (feenableexcept): Fix typo.
33807 (fedisableexcept): Likewise.
33808
48085d14
RM
338092012-11-30 Roland McGrath <roland@hack.frob.com>
33810
33811 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33812 second, differently-typed declaration, rather than a cast.
33813
1a538b9f
SP
338142012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33815
33816 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33817 * include/rpc/svc.h: ... here.
33818
d07f2ff1 338192012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33820
33821 [BZ #13013]
33822 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33823 depending n and resplen2 to catch cases where answer
33824 equals answerp2.
33825
c93ec1f0
CD
338262012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33827
33828 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33829 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33830
37db69de
MF
338312012-11-29 Mike Frysinger <vapier@gentoo.org>
33832
33833 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33834
e10c4e4f
RM
338352012-11-29 Roland McGrath <roland@hack.frob.com>
33836
33837 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33838
2af1b328
JL
338392012-11-28 Jeff Law <law@redhat.com>
33840
33841 [BZ #13761]
33842 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33843 dataset_temporary. Track alloca usage into alloca_used.
33844 If dataset is large allocate and release it via malloc/free.
33845
111db5b1
FW
338462012-06-04 Florian Weimer <fweimer@redhat.com>
33847
f06cc227 33848 [BZ #14197]
111db5b1
FW
33849 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33850
dd694abd
DM
338512012-11-28 David S. Miller <davem@davemloft.net>
33852
33853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33854
9984dd01
JM
338552012-11-28 Joseph Myers <joseph@codesourcery.com>
33856
33857 [BZ #14803]
33858 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33859 of pi/2 rounded to nearest to 64 bits.
33860 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33861 nearest to 64 bits.
33862 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33863 bits.
33864
14bc93a9
JL
338652012-11-28 Jeff Law <law@redhat.com>
33866 Martin Osvald <mosvald@redhat.com>
33867
33868 [BZ #14889]
33869 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33870 * sunrpc/svc.c: Include time.h.
33871 (__svc_accept_failed): New function.
33872 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33873 any reason other than EINTR, call __svc_accept_failed.
33874 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33875 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33876
e3c6aa3a
AS
338772012-11-28 Andreas Schwab <schwab@suse.de>
33878
33879 * scripts/abilist.awk: Also handle indirect functions in .opd
33880 section.
33881
1bead169
JM
338822012-11-28 Joseph Myers <joseph@codesourcery.com>
33883
33884 [BZ #13881]
33885 * sysdeps/x86/fpu/powl_helper.c: New file.
33886 * sysdeps/x86/fpu/Makefile: Likewise.
33887 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33888 (p3): New object.
33889 (__ieee754_powl): Use __powl_helper for finite arguments except
33890 integer exponents below 8.
33891 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33892 (p3): New object.
33893 (__ieee754_powl): Use __powl_helper for finite arguments except
33894 integer exponents below 8.
33895 * math/libm-test.inc (pow_test): Add more tests and enable some
33896 previously disabled tests.
33897 * sysdeps/i386/fpu/libm-test-ulps: Update.
33898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33899
0817d63d
SP
339002012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33901 Carlos O'Donell <carlos_odonell@mentor.com>
33902
33903 * nss/makedb.c (is_prime): Assert that input is odd and greater
33904 than 4. Note that fact in a comment too.
33905 (next_prime): Add 4 to input.
33906
de2fd463
SP
339072012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33908
33909 [BZ #11741]
33910 * libio/Makefile (tests): Add test case tst-fwrite-error.
33911 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33912 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33913 * libio/tst-fwrite-error.c: New test case.
33914
c515fb51
L
339152012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33916
33917 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33918 before casting to void *.
33919 * include/libc-internal.h (__pointer_type): New macro.
33920 (__integer_if_pointer_type_sub): Likewise.
33921 (__integer_if_pointer_type): Likewise.
33922 (cast_to_integer): Likewise.
33923 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33924 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33925 before casting to atomic64_t.
33926 (atomic_exchange_acq): Likewise.
33927 (__arch_exchange_and_add_body): Likewise.
33928 (__arch_add_body): Likewise.
33929 (atomic_add_negative): Likewise.
33930 (atomic_add_zero): Likewise.
33931
4cf77aa9
JM
339322012-11-26 Joseph Myers <joseph@codesourcery.com>
33933
33934 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33935 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33936 (add_fdes): Likewise.
33937 (linear_search_fdes): Likewise.
33938 (binary_search_unencoded_fdes): Likewise.
33939
d260b3b4
AS
339402012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33941
33942 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33943
67060746
AC
339442012-11-24 Adam Conrad <adconrad@0c3.net>
33945
33946 * configure.in: Autodetect C++ header directories.
33947 * configure: Regenerated.
33948
800938a1
MF
339492012-11-23 Mike Frysinger <vapier@gentoo.org>
33950
33951 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33952
4e6e34e6
AS
339532012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33954
33955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33956
7c7feb47
JM
339572012-11-22 Joseph Myers <joseph@codesourcery.com>
33958
7184dcdf
JM
33959 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33960 LDBL_MANT_DIG == 106]: Disable some tests.
33961 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33962 Likewise.
33963 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33964 Likewise.
33965
0a42601f
JM
33966 [BZ #14871]
33967 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33968 input for small inputs. Return +/- pi/2 for large inputs.
33969 * math/libm-test.inc (atan_test): Add more tests.
33970
79c9b9fe
JM
33971 * sysdeps/generic/unwind-dw2-fde-glibc.c
33972 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33973 __attribute__ ((unused)).
33974
c60d3bf2
JM
33975 [BZ #14645]
33976 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33977 x * y if x and y are nonzero and z is zero.
33978
ef1e0867
JM
33979 [BZ #14811]
33980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33981 nonzero exponents with absolute value below 0x1p-117 to +/-
33982 0x1p-117.
33983
1468ded3
JM
33984 [BZ #14869]
33985 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33986 up arguments below 2**-450, not just those below 2**-500.
33987 * math/libm-test.inc (hypot_test): Add another test.
33988
8e27e3cc
JM
33989 [BZ #14868]
33990 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33991 Return a+b for ratio over 2**120, not 2**60.
33992 * math/libm-test.inc (hypot_test): Add another test.
33993
c9c0279b
JM
33994 * math/libm-test.inc (clog_test): Use
33995 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33996 (clog10_test): Likewise.
33997
7c7feb47
JM
33998 [BZ #6778]
33999 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34000
fff1530e
AS
340012012-11-22 Andreas Schwab <schwab@suse.de>
34002
34003 * sysdeps/i386/fpu/libm-test-ulps: Update.
34004
94558d30
PT
340052012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34006
34007 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34008 printf output with newline.
34009
7e1be741
L
340102012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34011
6bfea974
L
34012 [BZ #14865]
34013 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34014 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34015 -z nodlopen, -z initfirst and -z execstack support.
34016 * configure: Regenerated.
34017
7e1be741
L
34018 * elf/elf.h (DF_1_NODIRECT): New macro.
34019 (DF_1_IGNMULDEF): Likewise.
34020 (DF_1_NOKSYMS): Likewise.
34021 (DF_1_NOHDR): Likewise.
34022 (DF_1_EDITED): Likewise.
34023 (DF_1_NORELOC): Likewise.
34024 (DF_1_SYMINTPOSE): Likewise.
34025 (DF_1_GLOBAUDIT): Likewise.
34026 (DF_1_SINGLETON): Likewise.
34027 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34028 DT_1_SUPPORTED_MASK bits.
34029 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34030
105ce2ce
CD
340312012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34032
34033 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34034
123be9de
TS
340352012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34036
d072f3f7
TS
34037 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34038 macro.
34039
123be9de
TS
34040 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34041 (sendmmsg): Move declarations...
34042 * socket/sys/socket.h: ... here.
34043 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34044 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34045 include it from...
34046 * socket/recvmmsg.c: ... this new file.
34047 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34048 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34049 definition of __sendmmsg hidden.
34050 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34051 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34052 Move ENOSYS stub into and include it from...
34053 * socket/sendmmsg.c: ... this new file.
34054 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34055 (sysdep_routines): Move recvmmsg and sendmmsg...
34056 * socket/Makefile (routines): ... here.
34057 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34058 (GLIBC_PRIVATE): Add __sendmmsg.
34059 * include/sys/socket.h (__sendmmsg): Add declarations.
34060 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34061 sendmmsg.
34062
cf9a5d18
JM
340632012-11-20 Joseph Myers <joseph@codesourcery.com>
34064
34065 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34066 variable I1 with __attribute__ ((unused)).
34067 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34068
ecd4caf9
JM
340692012-11-19 Joseph Myers <joseph@codesourcery.com>
34070
be14d48f
JM
34071 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34072 DUMMY variables with __attribute__ ((unused)).
34073
ecd4caf9
JM
34074 * bits/byteswap.h: Include <bits/types.h>.
34075 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34076
986cab95
PT
340772012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34078
34079 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34080 string_t. Do not manually set errno.
34081 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34082 length with __strnlen. Make sure to both set errno and return it on
34083 failure.
34084
6d33cc9d
DM
340852012-11-19 David S. Miller <davem@davemloft.net>
34086
34087 With help from Joseph Myers.
34088 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34089 very large arguments properly.
34090 * math/libm-test.inc (atan_test): New tests.
34091 (atan2_test): New tests.
34092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34094
ee663277
JM
340952012-11-19 Joseph Myers <joseph@codesourcery.com>
34096
877f2d8e
JM
34097 [BZ #14856]
34098 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34099 Define to 3.
34100
116fc08a
JM
34101 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34102 [POSIX] (EADDRNOTAVAIL): Likewise.
34103 [POSIX] (EAFNOSUPPORT): Likewise.
34104 [POSIX] (EALREADY): Likewise.
34105 [POSIX] (ECONNABORTED): Likewise.
34106 [POSIX] (ECONNREFUSED): Likewise.
34107 [POSIX] (ECONNRESET): Likewise.
34108 [POSIX] (EDESTADDRREQ): Likewise.
34109 [POSIX] (EDQUOT): Likewise.
34110 [POSIX] (EHOSTUNREACH): Likewise.
34111 [POSIX] (EIDRM): Likewise.
34112 [POSIX] (EISCONN): Likewise.
34113 [POSIX] (ELOOP): Likewise.
34114 [POSIX] (EMULTIHOP): Likewise.
34115 [POSIX] (ENETDOWN): Likewise.
34116 [POSIX] (ENETUNREACH): Likewise.
34117 [POSIX] (ENOBUFS): Likewise.
34118 [POSIX] (ENODATA): Likewise.
34119 [POSIX] (ENOLINK): Likewise.
34120 [POSIX] (ENOMSG): Likewise.
34121 [POSIX] (ENOPROTOOPT): Likewise.
34122 [POSIX] (ENOSR): Likewise.
34123 [POSIX] (ENOSTR): Likewise.
34124 [POSIX] (ENOTCONN): Likewise.
34125 [POSIX] (ENOTSOCK): Likewise.
34126 [POSIX] (EOPNOTSUPP): Likewise.
34127 [POSIX] (EOVERFLOW): Likewise.
34128 [POSIX] (EPROTO): Likewise.
34129 [POSIX] (EPROTONOSUPPORT): Likewise.
34130 [POSIX] (EPROTOTYPE): Likewise.
34131 [POSIX] (ESTALE): Likewise.
34132 [POSIX] (ETIME): Likewise.
34133 [POSIX] (ETXTBSY): Likewise.
34134 [POSIX] (EWOULDBLOCK): Likewise.
34135 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34136 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34137 [POSIX] (SEEK_CUR): Likewise.
34138 [POSIX] (SEEK_END): Likewise.
34139 [POSIX || UNIX98] (mode_t): Do not require.
34140 [POSIX] (off_t): Likewise.
34141 [POSIX] (pid_t): Likewise.
34142 [POSIX] (sys/stat.h): Do not allow header.
34143 [POSIX] (unistd.h): Likewise.
34144 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34145 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34146 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34147 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34148 require.
34149 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34150 sigevent): Specify elements.
34151 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34152 entry.
34153 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34154 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34155
a483863f
JM
34156 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34157 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34158 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34159 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34160 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34161 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34162 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34163 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34164 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34165 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34166 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34167 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34168 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34169 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34170 Likewise.
34171 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34172 Likewise.
34173 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34174 Likewise.
34175 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34176 Likewise.
34177 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34178 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34179 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34180 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34181 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34182 Specify lower bound on value.
34183 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34184 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34185 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34186 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34187 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34188 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34189 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34190 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34191 value.
34192 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34193 as optional.
34194 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34195 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34196 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34197 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34198 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34199 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34200 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34201 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34202 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34203 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34204 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34205 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34206 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34207 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34208 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34209 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34210 entry.
34211 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34212 optional.
34213 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34214 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34215 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34216 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34217 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34218 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34219 Likewise.
34220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34221 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34222 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34223 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34224 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34225 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34226 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34227 as optional.
34228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34229 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34230 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34231 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34232 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34233 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34234 specify as optional.
34235 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34236 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34237 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34238 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34239 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34240 [XPG3] (NL_LANGMAX): Likewise.
34241 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34242 [POSIX || XPG3] (NL_NMAX): Likewise.
34243 [POSIX || XPG3] (NL_SETMAX): Likewise.
34244 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34245 [XPG3] (NZERO): Likewise.
34246 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34247 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34248 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34249 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34250 (REG_ERANGE): Expect.
34251 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34252 optional-constant.
34253 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34254 Use (void) in prototype.
34255 [POSIX] (*_t): Allow.
34256 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34257 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34258 (WRDE_BADVAL): Expect.
34259
5ba924e3
JM
34260 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34261 expect.
34262 [XPG3 || XPG4] (O_RSYNC): Likewise.
34263 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34264 Likewise.
34265 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34266 [XPG3 || XPG4] (sigqueue): Likewise.
34267 [XPG3 || XPG4] (sigtimedwait): Likewise.
34268 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34269 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34270 [XPG3 || XPG4] (vsnprintf): Likewise.
34271 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34272 Likewise.
34273 [XPG3 || XPG4] (blksize_t): Likewise.
34274 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34275 Likewise.
34276 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34277 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34278 [XPG3 || XPG4] (struct itimerspec): Likewise.
34279 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34280 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34281 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34282 [XPG3 || XPG4] (clockid_t): Likewise.
34283 [XPG3 || XPG4] (timer_t): Likewise.
34284 [XPG3 || XPG4] (clock_getres): Likewise.
34285 [XPG3 || XPG4] (clock_gettime): Likewise.
34286 [XPG3 || XPG4] (clock_settime): Likewise.
34287 [XPG3 || XPG4] (nanosleep): Likewise.
34288 [XPG3 || XPG4] (timer_create): Likewise.
34289 [XPG3 || XPG4] (timer_delete): Likewise.
34290 [XPG3 || XPG4] (timer_gettime): Likewise.
34291 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34292 [XPG3 || XPG4] (timer_settime): Likewise.
34293 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34294 [XPG3 || XPG4] (getlogin_r): Likewise.
34295 [XPG3 || XPG4] (pread): Likewise.
34296 [XPG3 || XPG4] (pthread_atfork): Likewise.
34297 [XPG3 || XPG4] (pwrite): Likewise.
34298
ee663277
JM
34299 [BZ #14835]
34300 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34301 <bits/siginfo.h>.
34302
942caa16
PT
343032012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34304
e19af380
PT
34305 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34306 finalizing MALLSTREAM.
34307
942caa16
PT
34308 * sysdeps/mach/hurd/syncfs.c: New file.
34309
cfde9b46
SP
343102012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34311
34312 [BZ #14719]
34313 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34314 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34315 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34316 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34317 (_nss_dns_gethostbyname4_r): Likewise.
34318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34319 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34320
f6da27e5
PH
343212012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34322
34323 [BZ #13763]
34324 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34325
6665d4a2
SM
343262012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34327
1f51ee92
SM
34328 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34329 * elf/cache.c (print_entry): Print ",AArch64" for
34330 FLAG_AARCH64_LIB64
34331
6665d4a2
SM
34332 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34333 * elf/cache.c (print_entry): Print ",hard-float" for
34334 FLAG_ARM_LIBHF.
34335
05b227bd
DM
343362012-11-18 David S. Miller <davem@davemloft.net>
34337
34338 With help from Joseph Myers.
34339 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34340 cutoff to 2**-13.
34341 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34342 cutoff to 2**-25.
34343 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34344 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34345 small.
34346 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34347 * math/libm-test.inc (y0_test): New tests.
34348 (y1_test): New tests.
34349 * sysdeps/i386/fpu/libm-test-ulps: Update.
34350 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34352
786b0b67
AS
343532012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34354
34355 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34356 64-bit targets.
34357 * configure: Regenerated.
34358
8e18b86d
DM
343592012-11-17 David S. Miller <davem@davemloft.net>
34360
34361 [BZ #14811]
34362 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34363 nonzero exponents with absolute value below 0x1p-128 to +/-
34364 0x1p-128.
34365
531f1ae0
JM
343662012-11-17 Joseph Myers <joseph@codesourcery.com>
34367
12df29e2
JM
34368 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34369
150dc1a0
JM
34370 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34371
531f1ae0
JM
34372 * posix/getconf-speclist.c: New file.
34373 * posix/posix-envs.def: Likewise.
34374 * posix/confstr.c (START_ENV_GROUP): New macro.
34375 (END_ENV_GROUP): Likewise.
34376 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34377 (KNOWN_PRESENT_ENV_STRING): Likewise.
34378 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34379 (UNKNOWN_ENVIRONMENT): Likewise.
34380 (confstr): Include posix-envs.def instead of handling
34381 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34382 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34383 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34384 (END_ENV_GROUP): Likewise.
34385 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34386 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34387 (UNKNOWN_ENVIRONMENT): Likewise.
34388 (__sysconf): Include posix-envs.def instead of handling associated
34389 cases directly here.
34390 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34391 preprocessing getconf-speclist.c rather than running getconf or
34392 generating empty file.
34393
a93f9cbc
PT
343942012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34395
34396 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34397
d64d9f87
AL
343982012-11-16 Andrej Lajovic <natrij@gmail.com>
34399
34400 [BZ #14672]
34401 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34402
447885eb
DM
344032012-11-16 David S. Miller <davem@davemloft.net>
34404
34405 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34406 smaller than LDBL_EPSILON/2.0L, just return xm1.
34407
bcbf9830
L
344082012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34409
34410 * elf/tst-array1.c (init): Set constructor priority to 1000.
34411 (fini): Set destructor priority to 1000.
34412 * elf/tst-array2dep.c: Likewise.
34413
2b766585
SP
344142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34415
34416 [BZ #11741]
34417 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34418 (_IO_new_file_xsputn): Also return EOF if none of the input
34419 data was written when overflow failed.
34420 * libio/iopadn.c (_IO_padn): Likewise.
34421 * libio/iowpadn.c (_IO_wpadn): Likewise.
34422 * stdio-common/tst-put-error.c: Add copyright notice.
34423 (do_test): Add case for printing padded string.
34424 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34425 _IO_padn returned error.
34426 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34427 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34428 return EOF.
34429
b1848fde
SP
344302012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34431
34432 * libio/libioP.h: Add comment note that the references to C++
34433 bits are now obsolete.
34434
2fd89785
MS
344352012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34436
34437 * math/libm-test.inc (check_complex): Use asprintf.
34438
e3ea5409
JM
344392012-11-14 Joseph Myers <joseph@codesourcery.com>
34440
34441 * debug/pcprofiledump.c (print_version): Update copyright year.
34442 * malloc/memusagestat.c (print_version): Likewise.
34443
2e64d265
L
344442012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34445
34446 [BZ #14831]
34447 * elf/Makefile (tests): Add tst-audit8.
34448 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34449 ($(objpfx)tst-audit8.out): New target.
34450 (tst-audit8-ENV): New variable.
34451 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34452 audit if l_reloc_result is NULL.
34453 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34454 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34455 * elf/tst-audit8.c: New file.
34456
c485e4d2
MS
344572012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34458
34459 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34460 * misc/Makefile (CFLAGS-select.c): Define.
34461 * posix/Makefile (CFLAGS-pause.c): Define.
34462
3a0d900a
DM
344632012-11-13 David S. Miller <davem@davemloft.net>
34464
34465 * crypt/Makefile: Move test targets after toplevel Rules
34466 inclusion. Grab any necessary sysdep routines when linking.
34467 * crypt/md5.c (md5_process_block): Remove define, we will always
34468 name it __md5_process_block.
34469 (md5_finish_ctx): Update md5_process_block call.
34470 (md5_stream): Likewise.
34471 (md5_process_bytes): Likewise.
34472 (md5_process_block): Rename to __md5_process_block and move to ...
34473 * crypt/md5-block.c: ... here.
34474 * crypt/sha256.c (sha256_process_block): Move to ...
34475 * crypt/sha256-block.c: ... here.
34476 * crypt/sha512.c (sha512_process_block): Move to ...
34477 * crypt/sha512-block.c: ... here.
34478 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34479 path.
34480 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34481 * sysdeps/sparc/sparc64/multiarch/Makefile
34482 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34483 crypt subdir.
34484 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34485 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34486 multiarch changes.
34487 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34488 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34489 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34490 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34491 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34492 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34493 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34494 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34495 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34496 file.
34497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34498 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34499 file.
34500 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34501
8ca89318
JM
345022012-11-13 Joseph Myers <joseph@codesourcery.com>
34503
e27d476a
JM
34504 * timezone/tzselect.ksh: Update from tzcode git revision
34505 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34506 * timezone/zdump.c: Likewise.
34507 * timezone/zic.c: Likewise.
34508 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34509 in TZVERSION setting, not $(PKGVERSION).
34510 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34511 REPORT_BUGS_TO settings.
34512
8ca89318
JM
34513 [BZ #14838]
34514 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34515 macro.
34516
47594329
MS
345172012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34518
34519 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34520 detection to immediately after _FP_ROUND().
34521 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34522 bits are 0.
34523
640ac3f1
DM
345242012-11-11 David S. Miller <davem@davemloft.net>
34525
34526 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34527 inttypes.h
34528 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34529 __close rather than their public counterparts.
34530
3d2577bb
JM
345312012-11-10 Joseph Myers <joseph@codesourcery.com>
34532
34533 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34534 file.
34535 [UNIX98] (sem_timedwait): Do not expect.
34536 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34537 [XPG4 || UNIX98] (sockatmark): Do not expect.
34538 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34539 (clock_getcpuclockid): Do not expect.
34540 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34541 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34542 Do not expect.
34543 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34544 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34545 [UNIX98] (vwscanf): Likewise.
34546 [UNIX98] (vswscanf): Likewise.
34547
fb1ae1ee
JM
345482012-11-09 Joseph Myers <joseph@codesourcery.com>
34549
9ec6f8bd
JM
34550 * timezone/version.h: Remove file.
34551 * timezone/README: Do not refer to version.h.
34552 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34553 $(objpfx)version.h.
34554 ($(objpfx)zdump.o): Likewise.
c3f81911 34555 ($(objpfx)version.h): New target.
9ec6f8bd 34556
0aa8f8a1
JM
34557 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34558 2012i.
34559 * timezone/README: Don't mention modification to tzselect.ksh.
34560 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34561 work on unmodified tzselect.ksh. Substitute version numbers in
34562 tzselect.ksh.
34563
4e87147f
JM
34564 * Makefile (format-me): Remove.
34565 (INSTALL): Adjust indentation. Use commands directly instead of
34566 using $(format-me).
34567
8b748aed
JM
34568 * aclocal.m4 (ACX_PKGVERSION): New macro.
34569 (ACX_BUGURL): Likewise.
34570 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34571 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34572 (REPORT_BUGS_TO): Likewise.
34573 * configure: Regenerated.
34574 * config.h.in (PKGVERSION): New macro.
34575 (REPORT_BUGS_TO): Likewise.
34576 * config.make.in (PKGVERSION): New variable.
34577 (PKGVERSION_TEXI): Likewise.
34578 (REPORT_BUGS_TO): Likewise.
34579 (REPORT_BUGS_TEXI): Likewise.
34580 * Makefile (format-me): Use -I$(common-objpfx)manual.
34581 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34582 ($(common-objpfx)manual/%): New target.
34583 (manual/%): Remove target.
34584 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34585 (print_version): Use PKGVERSION.
34586 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34587 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34588 and REPORT_BUGS_TO.
34589 ($(objpfx)xtrace): Likewise.
34590 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34591 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34592 (print_version): Use PKGVERSION.
34593 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34594 (do_version): Use PKGVERSION.
34595 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34596 REPORT_BUGS_TO.
34597 (common-ldd-rewrite): Likewise.
34598 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34599 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34600 (print_version): Use PKGVERSION.
34601 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34602 * elf/pldd.c (argp_program_bug_address): Remove variable.
34603 (more_help): New function.
34604 (argp): Use more_help.
34605 (print_version): Use PKGVERSION.
34606 * elf/sln.c (main): Use PKGVERSION.
34607 (usage): Use REPORT_BUGS_TO.
34608 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34609 (top level): Use PKGVERSION.
34610 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34611 (print_version): Use PKGVERSION.
34612 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34613 (print_version): Use PKGVERSION.
34614 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34615 (print_version): Use PKGVERSION.
34616 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34617 (print_version): Use PKGVERSION.
34618 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34619 (print_version): Use PKGVERSION.
34620 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34621 (print_version): Use PKGVERSION.
34622 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34623 and BUGURL.
34624 ($(objpfx)memusage): Likewise.
34625 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34626 (do_version): Use PKGVERSION.
34627 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34628 (print_version): Use PKGVERSION.
34629 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34630 ($PKGVERSION): New variable.
34631 ($REPORT_BUGS_TO): Likewise.
34632 (usage): Use $REPORT_BUGS_TO.
34633 (top level): Use $PKGVERSION.
34634 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34635 ($(objpfx)pkgvers.texi): New rule.
34636 ($(objpfx)stamp-pkgvers): Likewise.
34637 * manual/install.texi: Include pkgvers.texi.
34638 (--with-pkgversion): Document new configure option.
34639 (--with-bugurl): Likewise.
34640 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34641 than necessarily for this particular distribution. Use
34642 REPORT_BUGS_TO for where to report bugs.
34643 * INSTALL: Regenerated.
34644 * manual/libc.texinfo: Include pkgvers.texi.
34645 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34646 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34647 (print_version): Use PKGVERSION.
34648 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34649 (print_version): Use PKGVERSION.
34650 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34651 (print_version): Use PKGVERSION.
34652 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34653 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34654 macro.
34655 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34656 (print_version): Use PKGVERSION.
34657 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34658 (print_version): Use PKGVERSION.
34659 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34660 and PKGVERSION.
34661
92e4b6a9
JM
34662 * timezone/checktab.awk: Update from tzcode 2012i.
34663 * timezone/ialloc.c: Likewise.
34664 * timezone/private.h: Likewise.
34665 * timezone/scheck.c: Likewise.
34666 * timezone/tzfile.h: Likewise.
34667 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34668 (TZVERSION): Hardcode tzcode version number.
34669 * timezone/zdump.c: Update from tzcode 2012i.
34670 * timezone/zic.c: Likewise.
34671 * timezone/version.h: New file.
34672 * timezone/README: Describe version.h. Update upstream location.
34673
9bde902c
JM
34674 [BZ #14824]
34675 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34676 (mktemp): Enable declaration.
34677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34681 Likewise.
34682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34683 Likewise.
34684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34685 Likewise.
34686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34687 Likewise.
34688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34689 Likewise.
34690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34691 Likewise.
34692
fb1ae1ee
JM
34693 [BZ #14821]
34694 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34695 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34696 for copies of such integer values.
34697 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34698 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34699
2c1adbcb
AJ
347002012-11-09 Andreas Jaeger <aj@suse.de>
34701
34702 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34703 definitions and declarations that are provided by
34704 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34705
d0f8457e
AK
347062012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34707
3a235abb 34708 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34709 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34710 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34711 definition.
34712
57241e26
MS
347132012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34714
34715 * elf/elf.h: Update comment before AArch64 relocations.
34716
60e8270d
DM
347172012-11-07 David S. Miller <davem@davemloft.net>
34718
34719 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34720 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34721 (__start_context): Declare.
34722 (__makecontext_ret): Delete.
34723 (__makecontext): Hook up __start_context instead of
34724 __makecontext_ret.
34725 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34726 (sysdep_routines): Add __start_context when in stdlib.
34727
0fbb0fbc
JM
347282012-11-07 Joseph Myers <joseph@codesourcery.com>
34729
34730 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34731 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34732 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34733 hardcoded "nm".
34734 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34735 (READELF): New variable. Use it instead of hardcoded "readelf".
34736
eb48db7e
L
347372012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34738
34739 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34740 * sysdeps/x86/Makefile: Here.
34741 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34742 * sysdeps/x86/tst-xmmymm.sh: This.
34743
05bcf62a
JM
347442012-11-07 Joseph Myers <joseph@codesourcery.com>
34745
c4b6cf53
JM
34746 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34747 expectations.
34748 [UNIX98] (pthread_barrier_t): Do not expect.
34749 [UNIX98] (pthread_barrierattr_t): Likewise.
34750 [UNIX98] (pthread_spinlock_t): Likewise.
34751 [UNIX98] (pthread_barrier_destroy): Likewise.
34752 [UNIX98] (pthread_barrier_init): Likewise.
34753 [UNIX98] (pthread_barrier_wait): Likewise.
34754 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34755 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34756 [UNIX98] (pthread_barrierattr_init): Likewise.
34757 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34758 [UNIX98] (pthread_getcpuclockid): Likewise.
34759 [UNIX98] (pthread_mutex_timedlock): Likewise.
34760 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34761 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34762 [UNIX98] (pthread_sigmask): Likewise.
34763 [UNIX98] (pthread_spin_destroy): Likewise.
34764 [UNIX98] (pthread_spin_init): Likewise.
34765 [UNIX98] (pthread_spin_lock): Likewise.
34766 [UNIX98] (pthread_spin_trylock): Likewise.
34767 [UNIX98] (pthread_spin_unlock): Likewise.
34768 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34769 Do not expect.
34770 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34772 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34773 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34774 [XPG3 || XPG4] (pthread_key_t): Likewise.
34775 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34776 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34777 [XPG3 || XPG4] (pthread_once_t): Likewise.
34778 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34779 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34781 [XPG3 || XPG4] (pthread_t): Likewise.
34782
cbe6e120
JM
34783 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34784 not expect.
34785 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34786
1b126443
JM
34787 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34788 Change function return type to int.
34789
b961a573
JM
34790 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34791 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34792 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34793 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34794 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34795 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34796 [!POSIX] (posix_madvise): Likewise.
34797 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34798 && !UNIX98].
34799 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34800 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34801 (mode_t): Likewise.
34802 (posix_mem_offset): Likewise.
34803 (posix_typed_mem_get_info): Likewise.
34804 (posix_typed_mem_open): Likewise.
34805
9e188909
JM
34806 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34807 Change condition to [XOPEN2K8].
34808
05bcf62a
JM
34809 * conform/conformtest.pl: Preprocess allow-header data with -x c
34810 instead of from stdin.
34811 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34812 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34813 [C99-based standards] (cerfc): Likewise.
34814 [C99-based standards] (cexp2): Likewise.
34815 [C99-based standards] (cexpm1): Likewise.
34816 [C99-based standards] (clog10): Likewise.
34817 [C99-based standards] (clog1p): Likewise.
34818 [C99-based standards] (clog2): Likewise.
34819 [C99-based standards] (clgamma): Likewise.
34820 [C99-based standards] (ctgamma): Likewise.
34821 [C99-based standards] (cerff): Likewise.
34822 [C99-based standards] (cerfcf): Likewise.
34823 [C99-based standards] (cexp2f): Likewise.
34824 [C99-based standards] (cexpm1f): Likewise.
34825 [C99-based standards] (clog10f): Likewise.
34826 [C99-based standards] (clog1pf): Likewise.
34827 [C99-based standards] (clog2f): Likewise.
34828 [C99-based standards] (clgammaf): Likewise.
34829 [C99-based standards] (ctgammaf): Likewise.
34830 [C99-based standards] (cerfl): Likewise.
34831 [C99-based standards] (cerfcl): Likewise.
34832 [C99-based standards] (cexp2l): Likewise.
34833 [C99-based standards] (cexpm1l): Likewise.
34834 [C99-based standards] (clog10l): Likewise.
34835 [C99-based standards] (clog1pl): Likewise.
34836 [C99-based standards] (clog2l): Likewise.
34837 [C99-based standards] (clgammal): Likewise.
34838 [C99-based standards] (ctgammal): Likewise.
34839 * conform/data/inttypes.h-data [C99-based standards]: Include
34840 stdint.h-data. Remove all expectations for stdint.h contents.
34841 [C99-based standards] (PRI*): Do not allow.
34842 [C99-based standards] (SCN*): Likewise.
34843 [C99-based standards] (*_t): Likewise.
34844 [C99-based-standards] (PRId8): Expect macro.
34845 [C99-based-standards] (PRIi8): Likewise.
34846 [C99-based-standards] (PRIo8): Likewise.
34847 [C99-based-standards] (PRIu8): Likewise.
34848 [C99-based-standards] (PRIx8): Likewise.
34849 [C99-based-standards] (PRIX8): Likewise.
34850 [C99-based-standards] (SCNd8): Likewise.
34851 [C99-based-standards] (SCNi8): Likewise.
34852 [C99-based-standards] (SCNo8): Likewise.
34853 [C99-based-standards] (SCNu8): Likewise.
34854 [C99-based-standards] (SCNx8): Likewise.
34855 [C99-based-standards] (PRIdLEAST8): Likewise.
34856 [C99-based-standards] (PRIiLEAST8): Likewise.
34857 [C99-based-standards] (PRIoLEAST8): Likewise.
34858 [C99-based-standards] (PRIuLEAST8): Likewise.
34859 [C99-based-standards] (PRIxLEAST8): Likewise.
34860 [C99-based-standards] (PRIXLEAST8): Likewise.
34861 [C99-based-standards] (SCNdLEAST8): Likewise.
34862 [C99-based-standards] (SCNiLEAST8): Likewise.
34863 [C99-based-standards] (SCNoLEAST8): Likewise.
34864 [C99-based-standards] (SCNuLEAST8): Likewise.
34865 [C99-based-standards] (SCNxLEAST8): Likewise.
34866 [C99-based-standards] (PRIdFAST8): Likewise.
34867 [C99-based-standards] (PRIiFAST8): Likewise.
34868 [C99-based-standards] (PRIoFAST8): Likewise.
34869 [C99-based-standards] (PRIuFAST8): Likewise.
34870 [C99-based-standards] (PRIxFAST8): Likewise.
34871 [C99-based-standards] (PRIXFAST8): Likewise.
34872 [C99-based-standards] (SCNdFAST8): Likewise.
34873 [C99-based-standards] (SCNiFAST8): Likewise.
34874 [C99-based-standards] (SCNoFAST8): Likewise.
34875 [C99-based-standards] (SCNuFAST8): Likewise.
34876 [C99-based-standards] (SCNxFAST8): Likewise.
34877 [C99-based-standards] (PRId16): Likewise.
34878 [C99-based-standards] (PRIi16): Likewise.
34879 [C99-based-standards] (PRIo16): Likewise.
34880 [C99-based-standards] (PRIu16): Likewise.
34881 [C99-based-standards] (PRIx16): Likewise.
34882 [C99-based-standards] (PRIX16): Likewise.
34883 [C99-based-standards] (SCNd16): Likewise.
34884 [C99-based-standards] (SCNi16): Likewise.
34885 [C99-based-standards] (SCNo16): Likewise.
34886 [C99-based-standards] (SCNu16): Likewise.
34887 [C99-based-standards] (SCNx16): Likewise.
34888 [C99-based-standards] (PRIdLEAST16): Likewise.
34889 [C99-based-standards] (PRIiLEAST16): Likewise.
34890 [C99-based-standards] (PRIoLEAST16): Likewise.
34891 [C99-based-standards] (PRIuLEAST16): Likewise.
34892 [C99-based-standards] (PRIxLEAST16): Likewise.
34893 [C99-based-standards] (PRIXLEAST16): Likewise.
34894 [C99-based-standards] (SCNdLEAST16): Likewise.
34895 [C99-based-standards] (SCNiLEAST16): Likewise.
34896 [C99-based-standards] (SCNoLEAST16): Likewise.
34897 [C99-based-standards] (SCNuLEAST16): Likewise.
34898 [C99-based-standards] (SCNxLEAST16): Likewise.
34899 [C99-based-standards] (PRIdFAST16): Likewise.
34900 [C99-based-standards] (PRIiFAST16): Likewise.
34901 [C99-based-standards] (PRIoFAST16): Likewise.
34902 [C99-based-standards] (PRIuFAST16): Likewise.
34903 [C99-based-standards] (PRIxFAST16): Likewise.
34904 [C99-based-standards] (PRIXFAST16): Likewise.
34905 [C99-based-standards] (SCNdFAST16): Likewise.
34906 [C99-based-standards] (SCNiFAST16): Likewise.
34907 [C99-based-standards] (SCNoFAST16): Likewise.
34908 [C99-based-standards] (SCNuFAST16): Likewise.
34909 [C99-based-standards] (SCNxFAST16): Likewise.
34910 [C99-based-standards] (PRId32): Likewise.
34911 [C99-based-standards] (PRIi32): Likewise.
34912 [C99-based-standards] (PRIo32): Likewise.
34913 [C99-based-standards] (PRIu32): Likewise.
34914 [C99-based-standards] (PRIx32): Likewise.
34915 [C99-based-standards] (PRIX32): Likewise.
34916 [C99-based-standards] (SCNd32): Likewise.
34917 [C99-based-standards] (SCNi32): Likewise.
34918 [C99-based-standards] (SCNo32): Likewise.
34919 [C99-based-standards] (SCNu32): Likewise.
34920 [C99-based-standards] (SCNx32): Likewise.
34921 [C99-based-standards] (PRIdLEAST32): Likewise.
34922 [C99-based-standards] (PRIiLEAST32): Likewise.
34923 [C99-based-standards] (PRIoLEAST32): Likewise.
34924 [C99-based-standards] (PRIuLEAST32): Likewise.
34925 [C99-based-standards] (PRIxLEAST32): Likewise.
34926 [C99-based-standards] (PRIXLEAST32): Likewise.
34927 [C99-based-standards] (SCNdLEAST32): Likewise.
34928 [C99-based-standards] (SCNiLEAST32): Likewise.
34929 [C99-based-standards] (SCNoLEAST32): Likewise.
34930 [C99-based-standards] (SCNuLEAST32): Likewise.
34931 [C99-based-standards] (SCNxLEAST32): Likewise.
34932 [C99-based-standards] (PRIdFAST32): Likewise.
34933 [C99-based-standards] (PRIiFAST32): Likewise.
34934 [C99-based-standards] (PRIoFAST32): Likewise.
34935 [C99-based-standards] (PRIuFAST32): Likewise.
34936 [C99-based-standards] (PRIxFAST32): Likewise.
34937 [C99-based-standards] (PRIXFAST32): Likewise.
34938 [C99-based-standards] (SCNdFAST32): Likewise.
34939 [C99-based-standards] (SCNiFAST32): Likewise.
34940 [C99-based-standards] (SCNoFAST32): Likewise.
34941 [C99-based-standards] (SCNuFAST32): Likewise.
34942 [C99-based-standards] (SCNxFAST32): Likewise.
34943 [C99-based-standards] (PRId64): Likewise.
34944 [C99-based-standards] (PRIi64): Likewise.
34945 [C99-based-standards] (PRIo64): Likewise.
34946 [C99-based-standards] (PRIu64): Likewise.
34947 [C99-based-standards] (PRIx64): Likewise.
34948 [C99-based-standards] (PRIX64): Likewise.
34949 [C99-based-standards] (SCNd64): Likewise.
34950 [C99-based-standards] (SCNi64): Likewise.
34951 [C99-based-standards] (SCNo64): Likewise.
34952 [C99-based-standards] (SCNu64): Likewise.
34953 [C99-based-standards] (SCNx64): Likewise.
34954 [C99-based-standards] (PRIdLEAST64): Likewise.
34955 [C99-based-standards] (PRIiLEAST64): Likewise.
34956 [C99-based-standards] (PRIoLEAST64): Likewise.
34957 [C99-based-standards] (PRIuLEAST64): Likewise.
34958 [C99-based-standards] (PRIxLEAST64): Likewise.
34959 [C99-based-standards] (PRIXLEAST64): Likewise.
34960 [C99-based-standards] (SCNdLEAST64): Likewise.
34961 [C99-based-standards] (SCNiLEAST64): Likewise.
34962 [C99-based-standards] (SCNoLEAST64): Likewise.
34963 [C99-based-standards] (SCNuLEAST64): Likewise.
34964 [C99-based-standards] (SCNxLEAST64): Likewise.
34965 [C99-based-standards] (PRIdFAST64): Likewise.
34966 [C99-based-standards] (PRIiFAST64): Likewise.
34967 [C99-based-standards] (PRIoFAST64): Likewise.
34968 [C99-based-standards] (PRIuFAST64): Likewise.
34969 [C99-based-standards] (PRIxFAST64): Likewise.
34970 [C99-based-standards] (PRIXFAST64): Likewise.
34971 [C99-based-standards] (SCNdFAST64): Likewise.
34972 [C99-based-standards] (SCNiFAST64): Likewise.
34973 [C99-based-standards] (SCNoFAST64): Likewise.
34974 [C99-based-standards] (SCNuFAST64): Likewise.
34975 [C99-based-standards] (SCNxFAST64): Likewise.
34976 [C99-based-standards] (PRIdMAX): Likewise.
34977 [C99-based-standards] (PRIiMAX): Likewise.
34978 [C99-based-standards] (PRIoMAX): Likewise.
34979 [C99-based-standards] (PRIuMAX): Likewise.
34980 [C99-based-standards] (PRIxMAX): Likewise.
34981 [C99-based-standards] (PRIXMAX): Likewise.
34982 [C99-based-standards] (SCNdMAX): Likewise.
34983 [C99-based-standards] (SCNiMAX): Likewise.
34984 [C99-based-standards] (SCNoMAX): Likewise.
34985 [C99-based-standards] (SCNuMAX): Likewise.
34986 [C99-based-standards] (SCNxMAX): Likewise.
34987 [C99-based-standards] (PRIdPTR): Likewise.
34988 [C99-based-standards] (PRIiPTR): Likewise.
34989 [C99-based-standards] (PRIoPTR): Likewise.
34990 [C99-based-standards] (PRIuPTR): Likewise.
34991 [C99-based-standards] (PRIxPTR): Likewise.
34992 [C99-based-standards] (PRIXPTR): Likewise.
34993 [C99-based-standards] (SCNdPTR): Likewise.
34994 [C99-based-standards] (SCNiPTR): Likewise.
34995 [C99-based-standards] (SCNoPTR): Likewise.
34996 [C99-based-standards] (SCNuPTR): Likewise.
34997 [C99-based-standards] (SCNxPTR): Likewise.
34998 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34999 allow.
35000 * conform/data/stdint.h-data: Update comments to clarify
35001 requirements.
35002 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35003 type.
35004 [C99-based standards] (INT8_MAX): Likewise.
35005 [C99-based standards] (INT16_MIN): Likewise.
35006 [C99-based standards] (INT16_MAX): Likewise.
35007 [C99-based standards] (INT32_MIN): Likewise.
35008 [C99-based standards] (INT32_MAX): Likewise.
35009 [C99-based standards] (INT64_MIN): Likewise.
35010 [C99-based standards] (INT64_MAX): Likewise.
35011 [C99-based standards] (UINT8_MAX): Likewise.
35012 [C99-based standards] (UINT16_MAX): Likewise.
35013 [C99-based standards] (UINT32_MAX): Likewise.
35014 [C99-based standards] (UINT64_MAX): Likewise.
35015 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35016 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35017 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35018 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35019 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35020 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35021 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35022 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35023 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35024 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35025 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35026 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35027 [C99-based standards] (INT_FAST8_MIN): Likewise.
35028 [C99-based standards] (INT_FAST8_MAX): Likewise.
35029 [C99-based standards] (INT_FAST16_MIN): Likewise.
35030 [C99-based standards] (INT_FAST16_MAX): Likewise.
35031 [C99-based standards] (INT_FAST32_MIN): Likewise.
35032 [C99-based standards] (INT_FAST32_MAX): Likewise.
35033 [C99-based standards] (INT_FAST64_MIN): Likewise.
35034 [C99-based standards] (INT_FAST64_MAX): Likewise.
35035 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35036 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35037 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35038 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35039 [C99-based standards] (INTPTR_MIN): Likewise.
35040 [C99-based standards] (INTPTR_MAX): Likewise.
35041 [C99-based standards] (UINTPTR_MAX): Likewise.
35042 [C99-based standards] (INTMAX_MIN): Likewise.
35043 [C99-based standards] (INTMAX_MAX): Likewise.
35044 [C99-based standards] (UINTMAX_MAX): Likewise.
35045 [C99-based standards] (PTRDIFF_MIN): Likewise.
35046 [C99-based standards] (PTRDIFF_MAX): Likewise.
35047 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35048 [C99-based standards] (SIZE_MAX): Likewise.
35049 [C99-based standards] (WCHAR_MAX): Likewise.
35050 [C99-based standards] (WINT_MAX): Likewise.
35051 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35052 constraint on value.
35053 [C99-based standards] (WCHAR_MIN): Likewise.
35054 [C99-based standards] (WINT_MIN): Likewise.
35055 [C99-based standards] (*_t): Allow.
35056 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35057 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35058 Include math.h-data and complex.h-data. Remove all expectations
35059 of math.h and complex.h contents.
35060 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35061 at end of line.
35062 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35063 (struct tm): Expect tag.
35064 [C99-based-standards] (wcstof): Expect function.
35065 [C99-based-standards] (wcstold): Likewise.
35066 [C99-based-standards] (wcstoll): Likewise.
35067 [C99-based-standards] (wcstoull): Likewise.
35068 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35069 macro-int-constant. Specify type.
35070 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35071 constraint on value.
35072 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35073 Specify type.
35074 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35075 Specify value.
35076 [ISO C standards]: Do not allow headers.
35077 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35078 wcs[abcdefghijklmnopqrstuvwxyz]*.
35079 [ISO C standards] (*_t): Do not allow.
35080 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35081 Expect function.
35082 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35083 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35084 Specify type.
35085 [ISO C standards]: Do not allow headers.
35086 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35087 is[abcdefghijklmnopqrstuvwxyz]*.
35088 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35089 to[abcdefghijklmnopqrstuvwxyz]*.
35090 [ISO C standards] (*_t): Do not allow.
35091 * conform/data/stdalign.h-data: New file.
35092 * conform/data/stdbool.h-data: Likewise.
35093 * conform/data/stdnoreturn.h-data: Likewise.
35094
7514feb8
RM
350952012-11-07 Roland McGrath <roland@hack.frob.com>
35096
35097 [BZ #14815]
35098 * manual/filesys.texi (Directory Entries): Typo fix.
35099 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35100
19b2ecfc
MS
351012012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35102
35103 * elf/elf.h (EM_AARCH64): New macro.
35104 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35105 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35106 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35107 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35108 (R_AARCH64_TLSDESC): Likewise.
35109 (NT_ARM_TLS): Likewise.
35110 (NT_ARM_HW_BREAK): Likewise.
35111 (NT_ARM_HW_WATCH): Likewise.
35112
60e235ee
JM
351132012-11-07 Joseph Myers <joseph@codesourcery.com>
35114
35115 [BZ #14811]
35116 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35117 (__ieee754_powl): Saturate nonzero exponents with absolute value
35118 below 0x1p-79 to +/- 0x1p-79.
35119 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35120 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35121 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35122 nonzero exponents with absolute value below 0x1p-32 to +/-
35123 0x1p-32.
35124 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35125 (__ieee754_powl): Saturate nonzero exponents with absolute value
35126 below 0x1p-79 to +/- 0x1p-79.
35127 * math/libm-test.inc (pow_test): Add more tests.
35128
0ab234b7
AK
351292012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35130
35131 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35132 _dl_s390_cap_flags with kernel. Increase string length.
35133 (_dl_s390_platforms): Add z196 and zEC12.
35134
45832f74
JM
351352012-11-07 Joseph Myers <joseph@codesourcery.com>
35136
35137 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35138 Change XOPEN21K to XOPEN2K.
35139
19218757
MK
351402012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35141
35142 * string/memmove.c: Use memcpy when possible.
35143
c5f45721
AJ
351442012-11-06 Andreas Jaeger <aj@suse.de>
35145
35146 * po/eo.po: Update from translation team.
35147
82477c28
JM
351482012-11-06 Joseph Myers <joseph@codesourcery.com>
35149
35150 [BZ #14793]
35151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35152 exponent and small x and y exponents, scale x or y up. Increase
35153 by 2 the exponent used in scaling up.
35154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35156 * math/libm-test.inc (fma_test): Add more tests.
35157 (fma_test_towardzero): Likewise.
35158 (fma_test_downward): Likewise.
35159 (fma_test_upward): Likewise.
35160
99252c8c
JM
351612012-11-05 Joseph Myers <joseph@codesourcery.com>
35162
acfa885f
JM
35163 [BZ #14805]
35164 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35165 fenv_t *.
35166
99252c8c
JM
35167 [BZ #14801]
35168 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35169 namespace for names of struct fields.
35170 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35171 fenv_t fields.
35172 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35173 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35174
d6d98dea
ST
351752012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35176
35177 [BZ #3665]
35178 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35179
e10bb107
TS
351802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35181
35182 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35183 PTR_DEMANGLE.
35184
35185 [BZ #5246]
35186 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35187 PTR_DEMANGLE.
35188
a0c2940d
JM
351892012-11-04 Joseph Myers <joseph@codesourcery.com>
35190
35191 [BZ #14797]
35192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35193 definitely overflow as x * y not x * y + z.
35194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35196 * math/libm-test.inc (fma_test): Add more tests.
35197 (fma_test_towardzero): Likewise.
35198 (fma_test_downward): Likewise.
35199 (fma_test_upward): Likewise.
35200
b830319d
TS
352012012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35202
35203 [BZ #157]
35204
35205 * include/stub-tag.h: Remove file.
35206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35207 '#include' of it.
35208 * manual/maint.texi (Porting): Don't reference it.
35209 * Makerules ($(objpfx)stubs): Likewise.
35210 * dirent/closedir.c: Don't include <stub-tag.h>.
35211 * dirent/dirfd.c: Likewise.
35212 * dirent/fdopendir.c: Likewise.
35213 * dirent/getdents.c: Likewise.
35214 * dirent/getdents64.c: Likewise.
35215 * dirent/opendir.c: Likewise.
35216 * dirent/readdir.c: Likewise.
35217 * dirent/readdir64.c: Likewise.
35218 * dirent/readdir64_r.c: Likewise.
35219 * dirent/readdir_r.c: Likewise.
35220 * dirent/rewinddir.c: Likewise.
35221 * dirent/seekdir.c: Likewise.
35222 * dirent/telldir.c: Likewise.
35223 * gmon/profil.c: Likewise.
35224 * grp/setgroups.c: Likewise.
35225 * inet/if_index.c: Likewise.
35226 * io/access.c: Likewise.
35227 * io/chdir.c: Likewise.
35228 * io/chmod.c: Likewise.
35229 * io/chown.c: Likewise.
35230 * io/close.c: Likewise.
35231 * io/dup.c: Likewise.
35232 * io/dup2.c: Likewise.
35233 * io/dup3.c: Likewise.
35234 * io/euidaccess.c: Likewise.
35235 * io/faccessat.c: Likewise.
35236 * io/fchdir.c: Likewise.
35237 * io/fchmod.c: Likewise.
35238 * io/fchmodat.c: Likewise.
35239 * io/fchown.c: Likewise.
35240 * io/fchownat.c: Likewise.
35241 * io/fcntl.c: Likewise.
35242 * io/flock.c: Likewise.
35243 * io/fstatfs.c: Likewise.
35244 * io/fstatfs64.c: Likewise.
35245 * io/fstatvfs.c: Likewise.
35246 * io/fstatvfs64.c: Likewise.
35247 * io/futimens.c: Likewise.
35248 * io/fxstat.c: Likewise.
35249 * io/fxstat64.c: Likewise.
35250 * io/fxstatat.c: Likewise.
35251 * io/fxstatat64.c: Likewise.
35252 * io/getcwd.c: Likewise.
35253 * io/isatty.c: Likewise.
35254 * io/lchmod.c: Likewise.
35255 * io/lchown.c: Likewise.
35256 * io/link.c: Likewise.
35257 * io/linkat.c: Likewise.
35258 * io/lseek.c: Likewise.
35259 * io/lseek64.c: Likewise.
35260 * io/lxstat64.c: Likewise.
35261 * io/mkdir.c: Likewise.
35262 * io/mkdirat.c: Likewise.
35263 * io/mkfifo.c: Likewise.
35264 * io/mkfifoat.c: Likewise.
35265 * io/open.c: Likewise.
35266 * io/open64.c: Likewise.
35267 * io/openat.c: Likewise.
35268 * io/openat64.c: Likewise.
35269 * io/pipe.c: Likewise.
35270 * io/pipe2.c: Likewise.
35271 * io/poll.c: Likewise.
35272 * io/posix_fadvise.c: Likewise.
35273 * io/posix_fadvise64.c: Likewise.
35274 * io/posix_fallocate.c: Likewise.
35275 * io/posix_fallocate64.c: Likewise.
35276 * io/read.c: Likewise.
35277 * io/readlink.c: Likewise.
35278 * io/readlinkat.c: Likewise.
35279 * io/rmdir.c: Likewise.
35280 * io/sendfile.c: Likewise.
35281 * io/sendfile64.c: Likewise.
35282 * io/statfs.c: Likewise.
35283 * io/statfs64.c: Likewise.
35284 * io/statvfs.c: Likewise.
35285 * io/statvfs64.c: Likewise.
35286 * io/symlink.c: Likewise.
35287 * io/symlinkat.c: Likewise.
35288 * io/ttyname.c: Likewise.
35289 * io/ttyname_r.c: Likewise.
35290 * io/umask.c: Likewise.
35291 * io/unlink.c: Likewise.
35292 * io/unlinkat.c: Likewise.
35293 * io/utime.c: Likewise.
35294 * io/utimensat.c: Likewise.
35295 * io/write.c: Likewise.
35296 * io/xmknod.c: Likewise.
35297 * io/xmknodat.c: Likewise.
35298 * io/xstat.c: Likewise.
35299 * io/xstat64.c: Likewise.
35300 * login/getpt.c: Likewise.
35301 * login/grantpt.c: Likewise.
35302 * login/unlockpt.c: Likewise.
35303 * math/e_acoshl.c: Likewise.
35304 * math/e_acosl.c: Likewise.
35305 * math/e_asinl.c: Likewise.
35306 * math/e_atan2l.c: Likewise.
35307 * math/e_atanhl.c: Likewise.
35308 * math/e_coshl.c: Likewise.
35309 * math/e_expl.c: Likewise.
35310 * math/e_fmodl.c: Likewise.
35311 * math/e_gammal_r.c: Likewise.
35312 * math/e_hypotl.c: Likewise.
35313 * math/e_j0l.c: Likewise.
35314 * math/e_j1l.c: Likewise.
35315 * math/e_jnl.c: Likewise.
35316 * math/e_lgammal_r.c: Likewise.
35317 * math/e_log10l.c: Likewise.
35318 * math/e_log2l.c: Likewise.
35319 * math/e_logl.c: Likewise.
35320 * math/e_powl.c: Likewise.
35321 * math/e_rem_pio2l.c: Likewise.
35322 * math/e_sinhl.c: Likewise.
35323 * math/e_sqrtl.c: Likewise.
35324 * math/fclrexcpt.c: Likewise.
35325 * math/fedisblxcpt.c: Likewise.
35326 * math/feenablxcpt.c: Likewise.
35327 * math/fegetenv.c: Likewise.
35328 * math/fegetexcept.c: Likewise.
35329 * math/fegetround.c: Likewise.
35330 * math/feholdexcpt.c: Likewise.
35331 * math/fesetenv.c: Likewise.
35332 * math/fesetround.c: Likewise.
35333 * math/feupdateenv.c: Likewise.
35334 * math/fgetexcptflg.c: Likewise.
35335 * math/fraiseexcpt.c: Likewise.
35336 * math/fsetexcptflg.c: Likewise.
35337 * math/ftestexcept.c: Likewise.
35338 * math/k_cosl.c: Likewise.
35339 * math/k_rem_pio2l.c: Likewise.
35340 * math/k_sinl.c: Likewise.
35341 * math/k_tanl.c: Likewise.
35342 * math/s_asinhl.c: Likewise.
35343 * math/s_atanl.c: Likewise.
35344 * math/s_cbrtl.c: Likewise.
35345 * math/s_erfl.c: Likewise.
35346 * math/s_expm1l.c: Likewise.
35347 * math/s_log1pl.c: Likewise.
35348 * math/s_tanhl.c: Likewise.
35349 * misc/acct.c: Likewise.
35350 * misc/brk.c: Likewise.
35351 * misc/chflags.c: Likewise.
35352 * misc/chroot.c: Likewise.
35353 * misc/fchflags.c: Likewise.
35354 * misc/fgetxattr.c: Likewise.
35355 * misc/flistxattr.c: Likewise.
35356 * misc/fremovexattr.c: Likewise.
35357 * misc/fsetxattr.c: Likewise.
35358 * misc/fsync.c: Likewise.
35359 * misc/ftruncate.c: Likewise.
35360 * misc/futimes.c: Likewise.
35361 * misc/futimesat.c: Likewise.
35362 * misc/getdomain.c: Likewise.
35363 * misc/getdtsz.c: Likewise.
35364 * misc/gethostid.c: Likewise.
35365 * misc/gethostname.c: Likewise.
35366 * misc/getloadavg.c: Likewise.
35367 * misc/getpagesize.c: Likewise.
35368 * misc/getsysstats.c: Likewise.
35369 * misc/getxattr.c: Likewise.
35370 * misc/gtty.c: Likewise.
35371 * misc/ioctl.c: Likewise.
35372 * misc/lgetxattr.c: Likewise.
35373 * misc/listxattr.c: Likewise.
35374 * misc/llistxattr.c: Likewise.
35375 * misc/lremovexattr.c: Likewise.
35376 * misc/lsetxattr.c: Likewise.
35377 * misc/lutimes.c: Likewise.
35378 * misc/madvise.c: Likewise.
35379 * misc/mincore.c: Likewise.
35380 * misc/mlock.c: Likewise.
35381 * misc/mlockall.c: Likewise.
35382 * misc/mmap.c: Likewise.
35383 * misc/mprotect.c: Likewise.
35384 * misc/msync.c: Likewise.
35385 * misc/munlock.c: Likewise.
35386 * misc/munlockall.c: Likewise.
35387 * misc/munmap.c: Likewise.
35388 * misc/preadv.c: Likewise.
35389 * misc/preadv64.c: Likewise.
35390 * misc/ptrace.c: Likewise.
35391 * misc/pwritev.c: Likewise.
35392 * misc/pwritev64.c: Likewise.
35393 * misc/readv.c: Likewise.
35394 * misc/reboot.c: Likewise.
35395 * misc/remap_file_pages.c: Likewise.
35396 * misc/removexattr.c: Likewise.
35397 * misc/revoke.c: Likewise.
35398 * misc/select.c: Likewise.
35399 * misc/setdomain.c: Likewise.
35400 * misc/setegid.c: Likewise.
35401 * misc/seteuid.c: Likewise.
35402 * misc/sethostid.c: Likewise.
35403 * misc/sethostname.c: Likewise.
35404 * misc/setregid.c: Likewise.
35405 * misc/setreuid.c: Likewise.
35406 * misc/setxattr.c: Likewise.
35407 * misc/sstk.c: Likewise.
35408 * misc/stty.c: Likewise.
35409 * misc/swapoff.c: Likewise.
35410 * misc/swapon.c: Likewise.
35411 * misc/sync.c: Likewise.
35412 * misc/syncfs.c: Likewise.
35413 * misc/syscall.c: Likewise.
35414 * misc/truncate.c: Likewise.
35415 * misc/ualarm.c: Likewise.
35416 * misc/usleep.c: Likewise.
35417 * misc/ustat.c: Likewise.
35418 * misc/utimes.c: Likewise.
35419 * misc/vhangup.c: Likewise.
35420 * misc/writev.c: Likewise.
35421 * posix/_exit.c: Likewise.
35422 * posix/alarm.c: Likewise.
35423 * posix/execve.c: Likewise.
35424 * posix/fexecve.c: Likewise.
35425 * posix/fork.c: Likewise.
35426 * posix/fpathconf.c: Likewise.
35427 * posix/getaddrinfo.c: Likewise.
35428 * posix/getegid.c: Likewise.
35429 * posix/geteuid.c: Likewise.
35430 * posix/getgid.c: Likewise.
35431 * posix/getgroups.c: Likewise.
35432 * posix/getlogin.c: Likewise.
35433 * posix/getlogin_r.c: Likewise.
35434 * posix/getpgid.c: Likewise.
35435 * posix/getpid.c: Likewise.
35436 * posix/getppid.c: Likewise.
35437 * posix/getresgid.c: Likewise.
35438 * posix/getresuid.c: Likewise.
35439 * posix/getsid.c: Likewise.
35440 * posix/getuid.c: Likewise.
35441 * posix/glob64.c: Likewise.
35442 * posix/nanosleep.c: Likewise.
35443 * posix/pathconf.c: Likewise.
35444 * posix/pause.c: Likewise.
35445 * posix/posix_madvise.c: Likewise.
35446 * posix/pread.c: Likewise.
35447 * posix/pread64.c: Likewise.
35448 * posix/pwrite.c: Likewise.
35449 * posix/pwrite64.c: Likewise.
35450 * posix/sched_getaffinity.c: Likewise.
35451 * posix/sched_getp.c: Likewise.
35452 * posix/sched_gets.c: Likewise.
35453 * posix/sched_primax.c: Likewise.
35454 * posix/sched_primin.c: Likewise.
35455 * posix/sched_rr_gi.c: Likewise.
35456 * posix/sched_setaffinity.c: Likewise.
35457 * posix/sched_setp.c: Likewise.
35458 * posix/sched_sets.c: Likewise.
35459 * posix/sched_yield.c: Likewise.
35460 * posix/setgid.c: Likewise.
35461 * posix/setlogin.c: Likewise.
35462 * posix/setpgid.c: Likewise.
35463 * posix/setresgid.c: Likewise.
35464 * posix/setresuid.c: Likewise.
35465 * posix/setsid.c: Likewise.
35466 * posix/setuid.c: Likewise.
35467 * posix/sleep.c: Likewise.
35468 * posix/spawni.c: Likewise.
35469 * posix/sysconf.c: Likewise.
35470 * posix/times.c: Likewise.
35471 * posix/wait.c: Likewise.
35472 * posix/wait3.c: Likewise.
35473 * posix/wait4.c: Likewise.
35474 * posix/waitpid.c: Likewise.
35475 * resolv/gai_sigqueue.c: Likewise.
35476 * resource/getpriority.c: Likewise.
35477 * resource/getrlimit.c: Likewise.
35478 * resource/getrusage.c: Likewise.
35479 * resource/nice.c: Likewise.
35480 * resource/setpriority.c: Likewise.
35481 * resource/setrlimit.c: Likewise.
35482 * resource/ulimit.c: Likewise.
35483 * rt/aio_cancel.c: Likewise.
35484 * rt/aio_fsync.c: Likewise.
35485 * rt/aio_read.c: Likewise.
35486 * rt/aio_sigqueue.c: Likewise.
35487 * rt/aio_suspend.c: Likewise.
35488 * rt/aio_write.c: Likewise.
35489 * rt/clock_getres.c: Likewise.
35490 * rt/clock_gettime.c: Likewise.
35491 * rt/clock_nanosleep.c: Likewise.
35492 * rt/clock_settime.c: Likewise.
35493 * rt/lio_listio.c: Likewise.
35494 * rt/mq_close.c: Likewise.
35495 * rt/mq_getattr.c: Likewise.
35496 * rt/mq_notify.c: Likewise.
35497 * rt/mq_open.c: Likewise.
35498 * rt/mq_receive.c: Likewise.
35499 * rt/mq_send.c: Likewise.
35500 * rt/mq_setattr.c: Likewise.
35501 * rt/mq_timedreceive.c: Likewise.
35502 * rt/mq_timedsend.c: Likewise.
35503 * rt/mq_unlink.c: Likewise.
35504 * rt/shm_open.c: Likewise.
35505 * rt/shm_unlink.c: Likewise.
35506 * rt/timer_create.c: Likewise.
35507 * rt/timer_delete.c: Likewise.
35508 * rt/timer_getoverr.c: Likewise.
35509 * rt/timer_gettime.c: Likewise.
35510 * rt/timer_settime.c: Likewise.
35511 * setjmp/__longjmp.c: Likewise.
35512 * setjmp/setjmp.c: Likewise.
35513 * signal/kill.c: Likewise.
35514 * signal/killpg.c: Likewise.
35515 * signal/raise.c: Likewise.
35516 * signal/sigaction.c: Likewise.
35517 * signal/sigaltstack.c: Likewise.
35518 * signal/sigblock.c: Likewise.
35519 * signal/sigignore.c: Likewise.
35520 * signal/sigintr.c: Likewise.
35521 * signal/signal.c: Likewise.
35522 * signal/sigpause.c: Likewise.
35523 * signal/sigpending.c: Likewise.
35524 * signal/sigqueue.c: Likewise.
35525 * signal/sigreturn.c: Likewise.
35526 * signal/sigset.c: Likewise.
35527 * signal/sigsetmask.c: Likewise.
35528 * signal/sigstack.c: Likewise.
35529 * signal/sigsuspend.c: Likewise.
35530 * signal/sigtimedwait.c: Likewise.
35531 * signal/sigvec.c: Likewise.
35532 * signal/sigwait.c: Likewise.
35533 * signal/sigwaitinfo.c: Likewise.
35534 * signal/sysv_signal.c: Likewise.
35535 * socket/accept.c: Likewise.
35536 * socket/accept4.c: Likewise.
35537 * socket/bind.c: Likewise.
35538 * socket/connect.c: Likewise.
35539 * socket/getpeername.c: Likewise.
35540 * socket/getsockname.c: Likewise.
35541 * socket/getsockopt.c: Likewise.
35542 * socket/isfdtype.c: Likewise.
35543 * socket/listen.c: Likewise.
35544 * socket/recv.c: Likewise.
35545 * socket/recvfrom.c: Likewise.
35546 * socket/recvmsg.c: Likewise.
35547 * socket/send.c: Likewise.
35548 * socket/sendmsg.c: Likewise.
35549 * socket/sendto.c: Likewise.
35550 * socket/setsockopt.c: Likewise.
35551 * socket/shutdown.c: Likewise.
35552 * socket/sockatmark.c: Likewise.
35553 * socket/socket.c: Likewise.
35554 * socket/socketpair.c: Likewise.
35555 * stdio-common/ctermid.c: Likewise.
35556 * stdio-common/cuserid.c: Likewise.
35557 * stdio-common/remove.c: Likewise.
35558 * stdio-common/rename.c: Likewise.
35559 * stdio-common/renameat.c: Likewise.
35560 * stdio-common/tempname.c: Likewise.
35561 * stdlib/getcontext.c: Likewise.
35562 * stdlib/makecontext.c: Likewise.
35563 * stdlib/setcontext.c: Likewise.
35564 * stdlib/swapcontext.c: Likewise.
35565 * stdlib/system.c: Likewise.
35566 * streams/fattach.c: Likewise.
35567 * streams/fdetach.c: Likewise.
35568 * streams/getmsg.c: Likewise.
35569 * streams/getpmsg.c: Likewise.
35570 * streams/putmsg.c: Likewise.
35571 * streams/putpmsg.c: Likewise.
35572 * sysdeps/unix/bsd/getpt.c: Likewise.
35573 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35574 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35575 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35577 Likewise.
35578 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35579 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35580 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35581 * sysvipc/msgctl.c: Likewise.
35582 * sysvipc/msgget.c: Likewise.
35583 * sysvipc/msgrcv.c: Likewise.
35584 * sysvipc/msgsnd.c: Likewise.
35585 * sysvipc/semctl.c: Likewise.
35586 * sysvipc/semget.c: Likewise.
35587 * sysvipc/semop.c: Likewise.
35588 * sysvipc/semtimedop.c: Likewise.
35589 * sysvipc/shmat.c: Likewise.
35590 * sysvipc/shmctl.c: Likewise.
35591 * sysvipc/shmdt.c: Likewise.
35592 * sysvipc/shmget.c: Likewise.
35593 * termios/tcdrain.c: Likewise.
35594 * termios/tcflow.c: Likewise.
35595 * termios/tcflush.c: Likewise.
35596 * termios/tcgetattr.c: Likewise.
35597 * termios/tcgetpgrp.c: Likewise.
35598 * termios/tcsendbrk.c: Likewise.
35599 * termios/tcsetattr.c: Likewise.
35600 * termios/tcsetpgrp.c: Likewise.
35601 * time/adjtime.c: Likewise.
35602 * time/clock.c: Likewise.
35603 * time/getitimer.c: Likewise.
35604 * time/gettimeofday.c: Likewise.
35605 * time/setitimer.c: Likewise.
35606 * time/settimeofday.c: Likewise.
35607 * time/stime.c: Likewise.
35608 * time/time.c: Likewise.
35609
356102012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35611
a20492cf
PT
35612 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35613 /usr/old/bin.
35614
72e182e3
PT
35615 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35616 instead of spaces.
35617 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35618
fbeafede
JM
356192012-11-03 Joseph Myers <joseph@codesourcery.com>
35620
5b5b04d6
JM
35621 [BZ #14796]
35622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35623 FE_TONEAREST before applying Dekker multiplication and Knuth
35624 addition. Clear inexact exceptions and check for exact zero
35625 results afterwards.
35626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35628 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35629 * math/libm-test.inc (fma_test): Add more tests.
35630 (fma_test_towardzero): Likewise.
35631 (fma_test_downward): Likewise.
35632 (fma_test_upward): Likewise.
35633 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35634 function.
35635 (libc_fesetround): New macro.
35636 (libc_fesetroundf): Likewise.
35637 (libc_fesetroundl): Likewise.
35638 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35639 function.
35640 (libc_fesetround_387): Likewise.
35641 (libc_fesetroundf): New macro.
35642 (libc_fesetround): Likewise.
35643 (libc_fesetroundl): Likewise.
35644 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35645 function.
35646 (libc_fesetroundf): New macro.
35647 (libc_fesetround): Likewise.
35648 (libc_fesetroundl): Likewise.
35649 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35650 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35651 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35652 libm_hidden_ver.
35653 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35654 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35655 libm_hidden_def.
35656 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35657 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35658 libm_hidden_ver.
35659 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35660 libm_hidden_def.
35661
fbeafede
JM
35662 [BZ #3439]
35663 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35664 integer constant usable in #if and use that to give value to enum
35665 constant.
35666 (FE_DIVBYZERO): Likewise.
35667 (FE_UNDERFLOW): Likewise.
35668 (FE_OVERFLOW): Likewise.
35669 (FE_INVALID): Likewise.
35670 (FE_INVALID_SNAN): Likewise.
35671 (FE_INVALID_ISI): Likewise.
35672 (FE_INVALID_IDI): Likewise.
35673 (FE_INVALID_ZDZ): Likewise.
35674 (FE_INVALID_IMZ): Likewise.
35675 (FE_INVALID_COMPARE): Likewise.
35676 (FE_INVALID_SOFTWARE): Likewise.
35677 (FE_INVALID_SQRT): Likewise.
35678 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35679 (FE_TONEAREST): Likewise.
35680 (FE_TOWARDZERO): Likewise.
35681 (FE_UPWARD): Likewise.
35682 (FE_DOWNWARD): Likewise.
35683 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35684 (FE_DIVBYZERO): Likewise.
35685 (FE_OVERFLOW): Likewise.
35686 (FE_UNDERFLOW): Likewise.
35687 (FE_INEXACT): Likewise.
35688 (FE_TONEAREST): Likewise.
35689 (FE_DOWNWARD): Likewise.
35690 (FE_UPWARD): Likewise.
35691 (FE_TOWARDZERO): Likewise.
35692 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35693 (FE_UNDERFLOW): Likewise.
35694 (FE_OVERFLOW): Likewise.
35695 (FE_DIVBYZERO): Likewise.
35696 (FE_INVALID): Likewise.
35697 (FE_TONEAREST): Likewise.
35698 (FE_TOWARDZERO): Likewise.
35699 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35700 (FE_OVERFLOW): Likewise.
35701 (FE_UNDERFLOW): Likewise.
35702 (FE_DIVBYZERO): Likewise.
35703 (FE_INEXACT): Likewise.
35704 (FE_TONEAREST): Likewise.
35705 (FE_TOWARDZERO): Likewise.
35706 (FE_UPWARD): Likewise.
35707 (FE_DOWNWARD): Likewise.
35708 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35709 (FE_DIVBYZERO): Likewise.
35710 (FE_OVERFLOW): Likewise.
35711 (FE_UNDERFLOW): Likewise.
35712 (FE_INEXACT): Likewise.
35713 (FE_TONEAREST): Likewise.
35714 (FE_DOWNWARD): Likewise.
35715 (FE_UPWARD): Likewise.
35716 (FE_TOWARDZERO): Likewise.
35717
105ca950
CM
357182012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35719
35720 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35721
a542b389
AS
357222012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35723
35724 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35725 commands. Quote $PWD.
35726 (blacklist_exports): Don't use remove_newlines. Replace "declare
35727 -x" by "export".
35728 (remove_newlines): Remove.
35729
f62c8abc
L
357302012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35731
35732 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35733 * stdlib/stdlib.h (atof): Moved to ...
35734 * include/bits/stdlib-float.h: Here. New file.
35735 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35736 * stdlib/bits/stdlib-float.h: New file.
35737 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35738 -mno-sse -mno-mmx.
35739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35740 <xmmintrin.h>.
35741
0155d5b2
JM
357422012-11-02 Joseph Myers <joseph@codesourcery.com>
35743
a68d0680
JM
35744 * conform/conformtest.pl (@headers): Add fenv.h.
35745 * conform/data/fenv.h-data: New file.
35746 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35747 include of <math/fenv.h>.
35748
caf7f573
JM
35749 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35750 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35751 && !UNIX98]. Enables tests for XOPEN2K8.
35752 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35753 POSIX2008]: Likewise.
35754
6c073ad6
JM
35755 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35756 (struct rusage): Do not expect type or its members.
35757
0155d5b2
JM
35758 [BZ #3439]
35759 * math/math.h (FP_NAN): Define macro to integer constant usable in
35760 #if and use that to give value to enum constant.
35761 (FP_INFINITE): Likewise.
35762 (FP_ZERO): Likewise.
35763 (FP_SUBNORMAL): Likewise.
35764 (FP_NORMAL): Likewise.
35765
b5dcacb4
AS
357662012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35767
35768 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35769 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35770 arguments.
35771
f7934be8
RM
357722012-11-02 Roland McGrath <roland@hack.frob.com>
35773
35774 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35775 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35776 autoconf-time if not.
35777 * configure.in: Remove AC_PREREQ.
35778
d7d08bde
TMQMF
357792012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35780
35781 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35782 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35783 of the internal implementation.
35784
dcdae19a
JM
357852012-11-02 Joseph Myers <joseph@codesourcery.com>
35786
35787 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35788 except include of <misc/sys/syslog.h>.
35789
d6cffd3e
AS
357902012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35791
35792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35793 function returns with a NULL context exit with zero.
35794
b3563932
TMQMF
357952012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35796
35797 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35798
b288a93d
L
357992012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35800
35801 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35802 (run_program_cmd): This.
35803 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35804 (tst_langinfo): New variable. Use it.
35805
a2421a68
SAS
358062012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35807
35808 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35809 floating point opcodes.
35810
6f796e1b
TS
358112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35812
7402596b
TS
35813 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35814 variable.
35815
d0d4f868
TS
35816 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35817
6f796e1b
TS
35818 * sysdeps/mach/hurd/powerpc: Remove directory.
35819 * sysdeps/mach/powerpc: Likewise.
35820
4da224a2
AS
358212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35822
35823 * scripts/check-local-headers.sh: Ignore c++ headers.
35824
341dd673
TS
358252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35826
35827 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35828 __libc_cleanup_region_start argument.
35829
473611b2
JM
358302012-11-01 Joseph Myers <joseph@codesourcery.com>
35831
35832 [BZ #14784]
35833 [BZ #14785]
35834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35835 x * y using scaling, not as x * y + z.
35836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35838 * math/libm-test.inc (fma_test): Add more tests.
35839 (fma_test_towardzero): Likewise.
35840 (fma_test_downward): Likewise.
35841 (fma_test_upward): Likewise.
35842
4078da3d
TS
358432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35844
35845 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35846
903252aa
JM
358472012-10-31 Joseph Myers <joseph@codesourcery.com>
35848
35849 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35850 New variable.
35851
cbc818d0
TS
358522012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35853
35854 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35855
5a03cb1e
AS
358562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35857
35858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35859 Fix sort order.
35860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35861 Likewise.
35862
90aff2ff
TMQMF
358632012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35864
35865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35866 Fix the order of the list for glibc 2.17.
35867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35868 Likewise.
35869
1818fcb7
AS
358702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35871
35872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35873
ef82f4da
JM
358742012-10-31 Joseph Myers <joseph@codesourcery.com>
35875
16a0e2ec
JM
35876 [BZ #14610]
35877 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35878 for low part of x being zero before using __atanl (y).
35879 * math/libm-test.inc (atan2_test): Add another test.
35880
0eb69512
JM
35881 * manual/install.texi (Configuring and compiling): Document
35882 general use of test-wrapper and test-wrapper-env.
35883 * INSTALL: Regenerated.
35884
ef82f4da
JM
35885 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35886 (__fma): Do not extract and scale down low bits on after-rounding
35887 systems when result rounded to normal precision would have normal
35888 exponent.
35889 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35890 (__fmal): Do not extract and scale down low bits on after-rounding
35891 systems when result rounded to normal precision would have normal
35892 exponent.
35893 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35894 (__fmal): Do not extract and scale down low bits on after-rounding
35895 systems when result rounded to normal precision would have normal
35896 exponent.
35897 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35898 macro.
35899 (fma_test): Add more tests.
35900 (fma_test_towardzero): Likewise.
35901 (fma_test_downward): Likewise.
35902 (fma_test_upward): Likewise.
35903
954ef0d9
L
359042012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35905
35906 * sysdeps/i386/tininess.h: Renamed to ...
35907 * sysdeps/x86/tininess.h: This.
35908 * sysdeps/x86_64/tininess.h: Removed.
35909
df61ffb2
JM
359102012-10-30 Joseph Myers <joseph@codesourcery.com>
35911
35912 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35913 input. Use $(build-program-cmd).
35914 ($(objpfx)tst-array1-static.out): Likewise.
35915 ($(objpfx)tst-array2.out): Likewise.
35916 ($(objpfx)tst-array3.out): Likewise.
35917 ($(objpfx)tst-array4.out): Likewise.
35918 ($(objpfx)tst-array5.out): Likewise.
35919 ($(objpfx)tst-array5-static.out): Likewise.
35920
01767843
CM
359212012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35922
47cc1490
CM
35923 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35924 if defined.
35925
01767843
CM
35926 * nss/nsswitch.h (nss_interface_function): Provide new
35927 macro for use with NSS functions.
35928 * grp/initgroups.c: Use new macro.
35929 * nss/getXXbyYY.c: Likewise.
35930 * nss/getXXbyYY_r.c: Likewise.
35931 * nss/getXXent.c: Likewise.
35932 * nss/getXXent_r.c: Likewise.
35933 * sysdeps/posix/getaddrinfo.c: Likewise.
35934
8321aa97
AJ
359352012-10-30 Andreas Jaeger <aj@suse.de>
35936
35937 * po/ru.po: Update Russion translation from translation project.
35938
2a27fd6d
JM
359392012-10-30 Joseph Myers <joseph@codesourcery.com>
35940
8627a232
JM
35941 [BZ #14152]
35942 [BZ #14783]
35943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35944 result and shift together with sticky bit instead of replicating
35945 round-to-nearest rounding.
35946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35948 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35949 missing underflow exceptions.
35950 (fma_test_towardzero): Add more tests.
35951 (fma_test_downward): Likewise.
35952 (fma_test_upward): Likewise.
35953
2a27fd6d
JM
35954 [BZ #14047]
35955 * sysdeps/generic/tininess.h: New file.
35956 * sysdeps/i386/tininess.h: Likewise.
35957 * sysdeps/sh/tininess.h: Likewise.
35958 * sysdeps/x86_64/tininess.h: Likewise.
35959 * stdlib/tst-strtod-underflow.c: Likewise.
35960 * stdlib/tst-tininess.c: Likewise.
35961 * stdlib/strtod_l.c: Include <tininess.h>.
35962 (round_and_return): Do not set errno for exact underflow cases.
35963 Force an underflow exception when setting errno for underflow.
35964 Determine underflow based on rounding to normal precision if
35965 TININESS_AFTER_ROUNDING.
35966 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35967 ERANGE for exact underflow cases.
35968 * stdlib/Makefile (tests): Add tst-tininess and
35969 tst-strtod-underflow.
35970 ($(objpfx)tst-tininess): Use $(link-libm).
35971 ($(objpfx)tst-strtod-underflow): Likewise.
35972
e7170363
AJ
359732012-10-30 Andreas Jaeger <aj@suse.de>
35974
e5088dc6
AJ
35975 [BZ#14767]
35976 * elf/Makefile (tests): Remove conditional for have-initfini-array
35977 since this is now always required and the variable does not exist
35978 anymore.
35979 (tests-static): Likewise.
35980 (modules-names): Likewise.
35981
e7170363 35982 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35983
35984 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35985 merged with constructor/destructor.
35986 (init_array): Likewise.
35987 * elf/tst-array2dep.c (fini_array): Likewise.
35988 (init_array): Likewise.
35989
60457d8a
MF
359902012-10-29 Mike Frysinger <vapier@gentoo.org>
35991
35992 * manual/message.texi: Delete @cartouche tags.
35993
8bece752
PT
359942012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35995
94ce799f
PT
35996 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35997 EOPNOTSUPP.
35998 * sysdeps/mach/hurd/fsync.c: Likewise.
35999
8bece752
PT
36000 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36001 [_POSIX_REALTIME_SIGNALS]: Change condition to
36002 [_POSIX_REALTIME_SIGNALS > 0].
36003
86ebe6b1
AJ
360042012-10-27 Andreas Jaeger <aj@suse.de>
36005
36006 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36007 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36009 [__WORDSIZE != 64]: Likewise.
36010
54399c08
L
360112012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * iconvdata/tst-table.sh: Remove ${SHELL}.
36014 * iconvdata/tst-tables.sh: Likewise.
36015
e2211bed
DM
360162012-10-25 David S. Miller <davem@davemloft.net>
36017
36018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36019 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36020 of strtoull.
36021
f303f97c
DM
36022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36023 ifunc-impl-list.c
36024 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36025 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36026 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36027 file.
36028
1e9d84cd
RM
360292012-10-25 Roland McGrath <roland@hack.frob.com>
36030
36031 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36032 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36033 __getdirentries.
36034
df381762
JM
360352012-10-25 Joseph Myers <joseph@codesourcery.com>
36036 Jim Blandy <jimb@codesourcery.com>
36037
36038 * scripts/cross-test-ssh.sh: New file.
36039 * manual/install.texi (Configuring and compiling): Document use of
36040 cross-test-ssh.sh.
36041 * INSTALL: Regenerated.
36042
bff64913
PT
360432012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36044
36045 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36046 EOPNOTSUPP.
36047
25fe8932
JM
360482012-10-25 Joseph Myers <joseph@codesourcery.com>
36049
36050 * Makeconfig (run-program-prefix): Fix comment.
36051
cc1290d0
JM
360522012-10-24 Joseph Myers <joseph@codesourcery.com>
36053 Jim Blandy <jimb@codesourcery.com>
36054
36055 * Makeconfig (test-wrapper): New variable,
36056 (test-wrapper-env): Likewise.
36057 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36058 (run-built-tests): Define to yes.
36059 (run-program-prefix): Use $(test-wrapper).
36060 (built-program-cmd): Likewise.
36061 * Rules (make-test-out): Use $(test-wrapper-env) and
36062 $(host-built-program-cmd).
36063 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36064 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36065 tst-pathopt.sh.
36066 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36067 $(test-wrapper-env) to tst-rtld-load-self.sh.
36068 ($(objpfx)order2.out): Use $(test-wrapper).
36069 ($(objpfx)tst-initorder.out): Likewise.
36070 ($(objpfx)tst-initorder2.out): Likewise.
36071 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36072 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36073 (test_wrapper_env): New variable. Use it to run ld.so.
36074 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36075 Use it to run ld.so.
36076 (test_wrapper_env): Likewise.
36077 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36078 $(test-wrapper) to run-iconv-test.sh.
36079 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36080 (ICONV): Use $test_wrapper.
36081 * posix/Makefile ($(objpfx)globtest.out): Pass
36082 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36083 globtest.sh, not $(run-program-prefix).
36084 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36085 (test_wrapper): Likewise.
36086 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36087 set together with run_via_rtld_prefix.
36088 (run_program_prefix): Define in terms of test_wrapper and
36089 run_via_rtld_prefix.
36090
6e6249d0
RM
360912012-10-24 Roland McGrath <roland@hack.frob.com>
36092
36093 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36094 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36095 Targets removed.
36096
36097 [BZ #14743]
36098 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36099 Declare __clock_getres, __clock_gettime, __clock_settime,
36100 __clock_nanosleep, and __clock_getcpuclockid.
36101 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36102 Remove librt_hidden_def (clock_gettime).
36103 * sysdeps/unix/clock_gettime.c: Likewise.
36104 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36105 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36106 * rt/clock_getres.c: Define __clock_getres as an alias.
36107 * sysdeps/posix/clock_getres.c: Likewise.
36108 * rt/clock_settime.c: Define __clock_settime as an alias.
36109 * sysdeps/unix/clock_settime.c: Likewise.
36110 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36111 * sysdeps/unix/clock_nanosleep.c: Likewise.
36112 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36113 * rt/clock-compat.c: New file.
36114 * rt/Makefile (librt-routines): Add clock-compat and move
36115 $(clock-routines) to ...
36116 (routines): ... here, new variable.
36117 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36118 Don't add get_clockfreq here.
36119 * rt/Versions (libc: GLIBC_2.17): New version set.
36120 Add clock_* symbols here.
36121 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36122 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36123 (GLIBC_2.17): Add clock_* symbols.
36124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36126 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36128 Likewise.
36129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36130 Likewise.
36131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36135 * NEWS: Mention the move.
36136
36137 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36138 Use __open, __read, __close rather than their public counterparts.
36139 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36140 (__get_clockfreq_via_cpuinfo): Likewise.
36141 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36142 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36143
36144 * config.h.in (HAVE_IFUNC): New #undef.
36145 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36146 was successful.
36147 * configure: Regenerated.
36148
0cae3f4b
MF
361492012-10-24 Mike Frysinger <vapier@gentoo.org>
36150
36151 * configure.in: Move READELF check to start of file.
36152 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36153 libc_cv_asm_gnu_indirect_function in the process.
36154 * configure: Regenerated.
36155
8175a253
MF
361562012-10-24 Mike Frysinger <vapier@gentoo.org>
36157
36158 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36159 send the output to /dev/null.
36160 (libc_cv_cc_with_libunwind): Likewise.
36161 (libc_cv_as_noexecstack): Likewise.
36162 * configure: Regenerate.
36163
0708a7d1
JM
361642012-10-24 Joseph Myers <joseph@codesourcery.com>
36165
10b40d85
JM
36166 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36167
0708a7d1
JM
36168 * posix/globtest.sh (TMPDIR): Do not set.
36169 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36170 (testout): Likewise.
36171
9fddec1a
AJ
361722012-10-24 Andreas Jaeger <aj@suse.de>
36173
3a8db22f
AJ
36174 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36175 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36176 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36177 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36178 posix_fadvise64, posix_fallocate64.
36179
9fddec1a
AJ
36180 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36181 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36182 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36183 Likewise.
36184 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36185 Likewise.
36186 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36187
36188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36189 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36190 <bits/fcntl-linux.h>.
36191 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36192
36193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36194 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36195 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36196 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36197 [__WORDSIZE != 64]: Likewise.
36198
ebfd1bbd
JM
361992012-10-23 Joseph Myers <joseph@codesourcery.com>
36200
03ac099f
JM
36201 * Makeconfig (run-built-tests): New variable.
36202 * Rules [$(cross-compiling) = yes]: Change condition to
36203 [$(run-built-tests) = no].
36204 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36205 to [$(run-built-tests) = yes].
36206 * elf/Makefile [$(cross-compiling) = no]: Likewise
36207 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36208 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36209 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36210 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36211 * io/Makefile [$(cross-compiling) = no]: Likewise.
36212 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36213 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36214 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36215 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36216 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36217 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36218 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36219 * string/Makefile [$(cross-compiling) = no]: Likewise.
36220
ebfd1bbd
JM
36221 * posix/Makefile ($(objpfx)globtest.out): Pass
36222 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36223 $(rtld-installed-name).
36224 * posix/globtest.sh (elf_objpfx): Remove variable.
36225 (rtld_installed_name): Likewise.
36226 (library_path): Likewise.
36227 (run_program_prefix): New variable. Use for running globtest
36228 binary.
36229
166bca24
JB
362302012-10-23 Jim Blandy <jimb@codesourcery.com>
36231 Joseph Myers <joseph@codesourcery.com>
36232
36233 * Makeconfig (host-built-program-cmd): New variable.
36234 * elf/Makefile (tst-stackguard1-ARGS): Use
36235 $(host-built-program-cmd).
36236 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36237 (tst-spawn-ARGS): Likewise.
36238 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36239
88866099
JM
362402012-10-23 Joseph Myers <joseph@codesourcery.com>
36241 Jim Blandy <jimb@codesourcery.com>
36242
36243 * Makeconfig (run-via-rtld-prefix): New variable.
36244 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36245 (built-program-cmd): Likewise.
36246
b4b4c296
AJ
362472012-10-22 Andreas Jaeger <aj@suse.de>
36248
36249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36250 __O_RSYNC if it exists, otherwise to O_SYNC.
36251
6fb54a22
JB
362522012-10-22 Jim Blandy <jimb@codesourcery.com>
36253 Joseph Myers <joseph@codesourcery.com>
36254
36255 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36256 /dev/null.
36257 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36258 from /dev/null
36259 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36260 /dev/null.
36261
481b90b9
AJ
362622012-10-22 Andreas Jaeger <aj@suse.de>
36263
2a0e2669
AJ
36264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36265 Define always.
36266 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36267
76e38f9a
AJ
36268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36269 bits/fcntl-linux.h.
36270
7cd37b43
AJ
36271 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36272 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36273
481b90b9
AJ
36274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36275 to __O_LARGEFILE.
36276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36277 to __O_LARGEFILE.
36278
aba75984
JB
362792012-10-21 Jim Blandy <jimb@codesourcery.com>
36280 Joseph Myers <joseph@codesourcery.com>
36281
36282 * config.make.in (NM): New variable.
36283
88d4247f
AJ
362842012-10-21 Andreas Jaeger <aj@suse.de>
36285
36286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36287 definitions and declarations that are provided by
36288 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36289
f2eed205
L
362902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36291
36292 [BZ #14683]
36293 * elf/Makefile (tests-static): Add tst-leaks1-static.
36294 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36295 ($(objpfx)tst-leaks1-static): New rule.
36296 ($(objpfx)tst-leaks1-static-mem): Likewise.
36297 (tst-leaks1-static-ENV): New macro.
36298 * elf/dl-open.c (dl_open_worker): Check the main application
36299 only if SHARED is defined.
36300 * elf/tst-leaks1-static.c: New file.
36301
335e6931
AJ
363022012-10-20 Andreas Jaeger <aj@suse.de>
36303
36304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36305 generic values for Linux.
36306 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36307 and declarations that are provided by <bits/fcntl-linux.h> and
36308 include <bits/fcntl-linux.h>.
36309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36311
ac5c94d3
RM
363122012-10-20 Roland McGrath <roland@hack.frob.com>
36313
36314 * io/fcntl.h: Move include of <bits/types.h> to the top and
36315 include it unconditionally.
36316
de54b33a
L
363172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36318
228cfb01
L
36319 * wcsmbs/Makefile (tests-ifunc): New variable.
36320 (tests): Add $(tests-ifunc).
36321 * wcsmbs/test-wcschr-ifunc.c: New file.
36322 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36323 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36324 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36325 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36326 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36327
69f07e5f
L
36328 * string/Makefile (tests-ifunc): New variable.
36329 (tests): Add $(tests-ifunc).
36330 * string/test-memccpy.c (TEST_NAME): New macro.
36331 * string/test-memchr.c (TEST_NAME): Likewise.
36332 * string/test-memcmp.c (TEST_NAME): Likewise.
36333 * string/test-memcpy.c (TEST_NAME): Likewise.
36334 * string/test-memmem.c (TEST_NAME): Likewise.
36335 * string/test-memmove.c (TEST_NAME): Likewise.
36336 * string/test-memset.c (TEST_NAME): Likewise.
36337 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36338 * string/test-stpcpy.c (TEST_NAME): Likewise.
36339 * string/test-stpncpy.c (TEST_NAME): Likewise.
36340 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36341 * string/test-strcasestr.c (TEST_NAME): Likewise.
36342 * string/test-strcat.c (TEST_NAME): Likewise.
36343 * string/test-strchr.c (TEST_NAME): Likewise.
36344 * string/test-strcmp.c(TEST_NAME): Likewise.
36345 * string/test-strcpy.c (TEST_NAME): Likewise.
36346 * string/test-strcspn.c (TEST_NAME): Likewise.
36347 * string/test-strlen.c (TEST_NAME): Likewise.
36348 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36349 * string/test-strncmp.c (TEST_NAME): Likewise.
36350 * string/test-strncpy.c (TEST_NAME): Likewise.
36351 * string/test-strnlen.c (TEST_NAME): Likewise.
36352 * string/test-strpbrk.c (TEST_NAME): Likewise.
36353 * string/test-strrchr.c (TEST_NAME): Likewise.
36354 * string/test-strspn.c (TEST_NAME): Likewise.
36355 * string/test-strstr.c (TEST_NAME): Likewise.
36356 * string/test-bcopy-ifunc.c: New file.
36357 * string/test-bzero-ifunc.c: Likewise.
36358 * string/test-memccpy-ifunc.c: Likewise.
36359 * string/test-memchr-ifunc.c: Likewise.
36360 * string/test-memcmp-ifunc.c: Likewise.
36361 * string/test-memcpy-ifunc.c: Likewise.
36362 * string/test-memmem-ifunc.c: Likewise.
36363 * string/test-memmove-ifunc.c: Likewise.
36364 * string/test-mempcpy-ifunc.c: Likewise.
36365 * string/test-memset-ifunc.c: Likewise.
36366 * string/test-rawmemchr-ifunc.c: Likewise.
36367 * string/test-stpcpy-ifunc.c: Likewise.
36368 * string/test-stpncpy-ifunc.c: Likewise.
36369 * string/test-strcasecmp-ifunc.c: Likewise.
36370 * string/test-strcasestr-ifunc.c: Likewise.
36371 * string/test-strcat-ifunc.c: Likewise.
36372 * string/test-strchr-ifunc.c: Likewise.
36373 * string/test-strchrnul-ifunc.c: Likewise.
36374 * string/test-strcmp-ifunc.c: Likewise.
36375 * string/test-strcpy-ifunc.c: Likewise.
36376 * string/test-strcspn-ifunc.c: Likewise.
36377 * string/test-strlen-ifunc.c: Likewise.
36378 * string/test-strncasecmp-ifunc.c: Likewise.
36379 * string/test-strncat-ifunc.c: Likewise.
36380 * string/test-strncmp-ifunc.c: Likewise.
36381 * string/test-strncpy-ifunc.c: Likewise.
36382 * string/test-strnlen-ifunc.c: Likewise.
36383 * string/test-strpbrk-ifunc.c: Likewise.
36384 * string/test-strrchr-ifunc.c: Likewise.
36385 * string/test-strspn-ifunc.c: Likewise.
36386 * string/test-strstr-ifunc.c: Likewise.
36387
de54b33a
L
36388 * debug/Makefile (tests-ifunc): New variable.
36389 (tests): Add $(tests-ifunc).
36390 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36391 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36392 * debug/test-stpcpy_chk-ifunc.c: New file.
36393 * debug/test-strcpy_chk-ifunc.c: Likewise.
36394
88481c16
SP
363952012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36396
36397 [BZ #13601]
36398 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36399 header is not read in.
36400
135948bd
JM
364012012-10-19 Joseph Myers <joseph@codesourcery.com>
36402
89f1c388
JM
36403 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36404 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36405 directly. Pass built executable to script as
36406 $(built-program-cmd).
36407 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36408 $testprogram without using LD_LIBRARY_PATH and $ldso.
36409
e40a0d21
JM
36410 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36411 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36412 $(rtld-installed-name).
36413 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36414 (rtld_installed_name): Likewise.
36415 (library_path): Likewise.
36416 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36417 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36418 $(run-program-prefix) to tst-tables.sh.
36419 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36420 it to run tst-table-from and tst-table-to.
36421 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36422 Pass it to tst-table.sh.
36423 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36424 $(run-program-prefix) to tst-gettext.sh.
36425 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36426 tst-translit.sh.
36427 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36428 tst-gettext2.sh.
36429 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36430 to run tst-gettext.
36431 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36432 to run tst-gettext2.
36433 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36434 to run tst-translit.
36435 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36436 $(run-program-prefix) to tst-mtrace.sh.
36437 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36438 to run tst-mtrace.
36439 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36440 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36441 $(rtld-installed-name).
36442 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36443 (rtld_installed_name): Likewise.
36444 (run_program_prefix): New variable. Use it to run wordexp-test.
36445
728e272a
JM
36446 * Makeconfig (ARCH): Remove all definitions.
36447 (machine): Likewise.
36448 [ARCH]: Remove conditional code.
36449 [!objdir]: Give error.
36450 [!objdir] (objpfx): Remove.
36451 [!objdir] (common-objpfx): Likewise.
36452 [!objdir] (common-objdir): Likewise.
36453 * configure.in (config_makefile): Remove. Hardcode Makefile in
36454 AC_CONFIG_FILES call.
36455 * configure: Regenerated.
36456
d528cdcf
JM
36457 [BZ #13888]
36458 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36459 or TMPDIR.
36460 (testout): Likewise.
36461
135948bd
JM
36462 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36463 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36464 $(rtld-installed-name).
36465 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36466 (rtld_installed_name): Likwise.
36467 (runit): Remove function.
36468 (run_getconf): New variable, Use it for running getconf binary.
36469
38c78296
L
364702012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36471
36472 [BZ #14716]
36473 * string/test-memmem.c (check_result): New function.
36474 (do_one_test): Use it.
36475 (check1): New function.
36476 (test_main): Use it.
36477
d077f65f
MT
364782012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36479
36480 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36481
ced52c71
JM
364822012-10-18 Joseph Myers <joseph@codesourcery.com>
36483
36484 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36485 (_G_LSEEK64): Likewise.
36486 (_G_MMAP64): Likewise.
36487 (_G_FSTAT64): Likewise.
36488 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36489 (_G_LSEEK64): Likewise.
36490 (_G_MMAP64): Likewise.
36491 (_G_FSTAT64): Likewise.
36492 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36493 unconditional. Call __mmap64 directly.
36494 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36495 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36496 __lseek64 directly.
36497 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36498 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36499 __mmap64 directly.
36500 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36501 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36502 __lseek64 directly.
36503 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36504 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36505 __lseek64 directly.
36506 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36507 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36508 __lseek64 directly.
36509 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36510 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36511 __fxstat64 directly.
36512 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36513 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36514 unconditional.
36515 (freopen64) [!_G_OPEN64]: Remove conditional code.
36516 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36517 unconditional.
36518 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36519 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36520 unconditional.
36521 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36522 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36523 unconditional.
36524 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36525 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36526 unconditional.
36527 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36528 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36529 unconditional.
36530 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36531 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36532 unconditional.
36533 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36534 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36535 unconditional.
36536 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36537
b741de23
SP
365382012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36539
36540 [BZ #12140]
36541 * manual/memory.texi (Malloc Tunable Parameters): Add note
36542 about free list pointers overwriting some perturb bytes.
36543 Wording suggested by Roland McGrath.
36544
f9b9d9c9
JM
365452012-10-17 Joseph Myers <joseph@codesourcery.com>
36546
36547 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36548 (lgamma_test): Likewise.
36549 (tgamma_test): Likewise.
36550
172a631a
FW
365512012-10-16 Florian Weimer <fweimer@redhat.com>
36552
36553 [BZ #14700]
36554 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36555 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36556
e9f37252
MK
365572012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36558
36559 * NEWS: Mention BZ #14716.
36560 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36561 when removing AVAILABLE1_USES_J macro.
36562
d394eb74
L
365632012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36564
36565 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36566 (__bswap_64): __uint64_t for unsigned 64-bit int.
36567
ca38dc17
AS
365682012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36569
36570 * include/string.h (memmem): Declare libc hidden alias.
36571 * string/memmem.c (memmem): Define libc hidden alias.
36572 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36573 __read, __close instead of open, read, close.
36574
9a387d1f
L
365752012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36576
ac49ecaf
L
36577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36578 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36579 global and hidden.
36580 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36581 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36582 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36583 Likewise.
36584 (__rawmemchr_sse2): Likewise.
36585 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36586 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36587 (__strchr_sse2): Likewise.
36588 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36589 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36590 (__strcasecmp_sse2): Likewise.
36591 (__strncasecmp_sse2): Likewise.
36592 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36593 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36594 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36595 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36596 (__strrchr_sse2): Likewise.
36597 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36598 ifunc-impl-list.c.
36599 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36600 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36601 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36602 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36603 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36604 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36605 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36606 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36607 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36608 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36609 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36610 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36611 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36612 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36613 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36614 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36615 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36616 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36617 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36618 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36619 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36620 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36621 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36622 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36623 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36625 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36626 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36627 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36628 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36629
b090e8ea
L
36630 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36631 global and hidden.
36632 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36633 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36634 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36635 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36636 Likewise.
36637 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36638 Likewise.
36639 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36640 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36641 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36642 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36643 ifunc-impl-list.c.
36644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36646 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36647 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36648 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36649 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36650 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36651 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36652 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36653 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36654 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36655 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36656 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36657 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36658 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36660 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36661 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36662 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36663 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36664 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36665 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36666 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36667 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36668 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36669 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36670 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36671 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36672 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36673 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36674 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36675 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36676 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36677 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36678 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36679 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36680 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36681 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36682 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36683 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36684 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36685
11dd4af6
L
36686 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36687 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36688 * include/ifunc-impl-list.h: New file.
36689 * misc/ifunc-impl-list.c: Likewise.
36690 * misc/Makefile (routines): Add ifunc-impl-list.
36691 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36692 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36693 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36694 TEST_NAME]: New variables.
11dd4af6
L
36695 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36696 are defined.
36697 (test_init): Call __libc_ifunc_impl_list to initialize
36698 func_list if TEST_IFUNC and TEST_NAME are defined.
36699
9a387d1f
L
36700 * string/Makefile (strop-tests): Add bcopy and bzero.
36701 * string/test-bcopy.c: New file.
36702 * string/test-bzero.c: Likewise.
36703 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36704 defined.
36705 * string/test-memset.c: Support bzero test if TEST_BZERO is
36706 defined.
36707 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36708 __libc_memmove.
36709 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36710 __libc_memset.
36711 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36712 of memset.
36713
472371b9
JM
367142012-10-10 Joseph Myers <joseph@codesourcery.com>
36715
1e4a9536
JM
36716 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36717 * configure: Regenerated.
36718
d173d12e
JM
36719 * Makeconfig (+link-static-before-libc): Don't include
36720 $(link-static-libc).
36721
472371b9
JM
36722 * libio/libio.h (_IO_pos_t): Remove.
36723
89a3ad0b
AO
367242012-10-10 Alexandre Oliva <aoliva@redhat.com>
36725
36726 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36727 McGrath.
36728
e7451425
AO
367292012-10-10 Alexandre Oliva <aoliva@redhat.com>
36730
36731 * crypt/crypt-entry.c: Include fips-private.h.
36732 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36733 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36734 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36735 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36736
4ba74a35
AO
367372012-10-10 Alexandre Oliva <aoliva@redhat.com>
36738
36739 * crypt/crypt-private.h: Include stdbool.h.
36740 (_ufc_setup_salt_r): Return bool.
36741 * crypt/crypt-entry.c: Include errno.h.
36742 (__crypt_r): Return NULL with EINVAL for bad salt.
36743 * crypt/crypt_util.c (bad_for_salt): New.
36744 (_ufc_setup_salt_r): Check that salt is long enough and within
36745 the specified alphabet.
36746 * crypt/badsalttest.c: New file.
36747 * crypt/Makefile (tests): Add it.
36748 ($(objpfx)badsalttest): New.
36749
f96f1242
MK
367502012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36751
36752 * NEWS: Add entry for BZ #14602.
36753
0e8e0c1c
JM
367542012-10-09 Joseph Myers <joseph@codesourcery.com>
36755
36756 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36757 type-generic.
36758 * math/libm-test.inc: Update comment listing what functions and
36759 macros are tested.
36760 (isgreater_test): New function.
36761 (isgreaterequal_test): Likewise.
36762 (isless_test): Likewise.
36763 (islessequal_test): Likewise.
36764 (islessgreater_test): Likewise.
36765 (isunordered_test): Likewise.
36766 (main): Call the new functions.
36767
273edc5e
RM
367682012-10-09 Roland McGrath <roland@hack.frob.com>
36769
b8493de0
RM
36770 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36771 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36772 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36773 * sysdeps/i386/configure: Regenerated.
36774 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36775 * sysdeps/mach/configure: Regenerated.
36776 * sysdeps/mach/hurd/configure: Regenerated.
36777 * sysdeps/powerpc/configure: Regenerated.
36778 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36779 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36780 * sysdeps/s390/s390-32/configure: Regenerated.
36781 * sysdeps/s390/s390-64/configure: Regenerated.
36782 * sysdeps/sh/configure: Regenerated.
36783 * sysdeps/sparc/configure: Regenerated.
36784 * sysdeps/unix/sysv/linux/configure: Regenerated.
36785 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36786 * sysdeps/x86_64/configure: Regenerated.
36787
273edc5e
RM
36788 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36789 defined. Don't check if MAP is NULL.
36790
c8450f70
JM
367912012-10-09 Joseph Myers <joseph@codesourcery.com>
36792
36793 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36794 (_G_stat64): Likewise.
36795 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36796 (_G_stat64): Likewise.
36797 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36798 instead of struct _G_stat64.
36799 * libio/fileops.c (mmap_remap_check): Likewise.
36800 (decide_maybe_mmap): Likewise.
36801 (_IO_new_file_seekoff): Likewise.
36802 (_IO_file_stat): Likewise.
36803 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36804 _G_off64_t.
36805 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36806 instead of struct _G_stat64.
36807 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36808
57e605ba
MK
368092012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36810
36811 [BZ #14602]
36812 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36813 Replace with ...
36814 (CHECK_EOL): New macro.
36815 (two_way_short_needle): Check beginning of haystack for EOL. Use
36816 CHECK_EOL.
36817 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36818 Replace with CHECK_EOL.
36819 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36820 Replace with CHECK_EOL.
36821
ef1bb361
JM
368222012-10-08 Joseph Myers <joseph@codesourcery.com>
36823
36824 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36825 type-generic.
36826 * math/libm-test.inc: Update comment listing what functions and
36827 macros are tested.
36828 (finite_test): New function.
36829 (isinf_test): Likewise.
36830 (isnan_test): Likewise.
36831 (fpclassify_test): Test subnormal input.
36832 (isfinite_test): Likewise.
36833 (isnormal_test): Likewise.
36834 (main): Call the new functions.
36835
55f11534
JN
368362012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36837
36838 [BZ #14660]
36839 * Makerules (%.dynsym): Force C locale when running
36840 $(OBJDUMP) --dynamic-syms.
36841
1ab29350
AS
368422012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36843
36844 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36845 <stdint.h>.
36846
f1ecb7ef
DM
368472012-10-06 David S. Miller <davem@davemloft.net>
36848
36849 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36850 upper 32-bits of the length value in %o2 since we use branch-on-register
36851 tests which consider the entire 64-bit register.
36852
5d41d91a
L
368532012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36854
36855 * string/test-strstr.c (check2): Add a test for page boundary.
36856
3baddb72
DM
368572012-10-05 David S. Miller <davem@davemloft.net>
36858
36859 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36860 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36861 file.
36862 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36863 sysdep_routines.
36864 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36865 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36866 and bzero when HWCAP_SPARC_CRYPTO is present.
36867
9cee5585
L
368682012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36869
d7e0dab9
L
36870 [BZ #14602]
36871 * string/test-strstr.c (check2): New function.
36872 (test_main): Call check2.
36873
03759f47
L
36874 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36875 and bug-strchr1.
36876 * string/bug-strcasestr1.c (do_test): Moved to ...
36877 * string/test-strcasestr.c (check1): Here. New function.
36878 (do_one_test): Break out result checking code into ...
36879 (check_result): This. New function.
36880 (do_one_test): Call check_result.
36881 (test_main): Call check1.
36882 * string/bug-strchr1.c (do_test): Moved to ...
36883 * string/test-strchr.c (check1): Here. New function.
36884 (do_one_test): Break out result checking code into ...
36885 (check_result): This. New function.
36886 (do_one_test): Call check_result.
36887 (test_main): Call check1.
36888 * string/bug-strstr1.c (main): Moved to ...
046f153e 36889 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36890 (do_one_test): Break out result checking code into ...
36891 (check_result): This. New function.
36892 (do_one_test): Call check_result.
36893 (test_main): Call check1.
36894 * string/bug-strcasestr1.c: Removed.
36895 * string/bug-strchr1.c: Likewise.
36896 * string/bug-strstr1.c: Likewise.
36897
53cea63e
L
36898 * elf/Makefile (dl-routines): Add hwcaps.
36899 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36900 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36901 (_dl_important_hwcaps): Moved to ...
36902 * elf/dl-hwcaps.c: Here. New file.
36903 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36904
9cee5585 36905 [BZ #14557]
bb859b06
L
36906 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36907 if IS_IN_rtld isn't defined.
36908
9cee5585
L
36909 * elf/dl-support.c (_dl_sysinfo_map): New.
36910 Include "get-dynamic-info.h" and "setup-vdso.h".
36911 (_dl_non_dynamic_init): Call setup_vdso.
36912 * elf/dynamic-link.h: Don't include <assert.h>.
36913 (elf_get_dynamic_info): Moved to ...
36914 * elf/get-dynamic-info.h: Here. New file.
36915 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36916 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36917 * elf/setup-vdso.h: Here. New file.
36918 * elf/rtld.c: Include "setup-vdso.h".
36919 (dl_main): Call setup_vdso.
36920
23c31b76
JM
369212012-10-05 Joseph Myers <joseph@codesourcery.com>
36922
28234b07
JM
36923 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36924 creal in comment listing functions tested. List finite, isinf,
36925 isnan, isless, islessequal, isgreater, isgreaterequal,
36926 islessgreater, isunordered, lgamma_r and pow10 as functions and
36927 macros not tested. Mention which functions not tested are aliases
36928 for other functions. Fix typo. Note that signs of NaNs are not
36929 tested.
36930
23c31b76
JM
36931 * scripts/config.guess: Update from config.git.
36932 * scripts/config.sub: Likewise.
36933
9043e228
RM
369342012-10-04 Roland McGrath <roland@hack.frob.com>
36935
36936 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36937 * misc/madvise.c (madvise): Renamed to __madvise.
36938 Make madvise a weak alias.
36939 * include/sys/mman.h: Declare __madvise.
36940 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36941 * sysdeps/unix/syscalls.list
36942 (madvise): Make __madvise the strong name, and madvise a weak alias.
36943 * sysdeps/unix/sysv/linux/syscalls.list
36944 (madvise, mmap): Remove redundant entries.
36945 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36946 * malloc/malloc.c (mtrim): Likewise.
36947 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36948
f57f8055
RM
369492012-10-03 Roland McGrath <roland@hack.frob.com>
36950
36951 * sysdeps/mach/hurd/dl-cache.c: File removed.
36952 * config.h.in (USE_LDCONFIG): New #undef.
36953 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36954 * configure: Regenerated.
36955 * elf/Makefile (dl-routines): Add dl-cache only under
36956 [$(use-ldconfig) = yes].
36957 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36958 cache on [USE_LDCONFIG].
36959 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36960 [USE_LDCONFIG].
36961 * elf/rtld.c (dl_main): Likewise.
36962
5bb0c10a
PT
369632012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36964
36965 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36966 _SC_LEVEL4_CACHE_LINESIZE.
36967
010188c6
RM
369682012-10-03 Roland McGrath <roland@hack.frob.com>
36969
36970 * sysdeps/unix/bsd/confstr.h: File removed.
36971
b6c5ec07
AO
369722012-10-02 Alexandre Oliva <aoliva@redhat.com>
36973
36974 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36975 sys/sdt-config.h.
36976
408223d4
RM
369772012-10-02 Roland McGrath <roland@hack.frob.com>
36978
36979 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36980 Make 'mapoff' field ElfW(Off) rather than off_t.
36981
bb9510dc
DL
369822012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36983
fc997c6e
DL
36984 * nscd/Makefile: Remove nscd-cflags and all its users.
36985 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36986 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36987
bb9510dc
DL
36988 [BZ #10631]
36989 * malloc.c (malloc_printerr): Clarify error message.
36990
05699367
L
369912012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36992
36993 [BZ #14648]
36994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36995 Set bit_FMA_Usable if FMA is supported.
36996 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36997 macro.
36998 (bit_FMA4_Usable): Updated.
36999 (index_FMA_Usable): New macro.
37000 (CPUID_FMA): Likewise
37001 (HAS_FMA): Defined with bit_FMA_Usable.
37002
51367701
RM
370032012-10-01 Roland McGrath <roland@hack.frob.com>
37004
37005 * bits/types.h (__swblk_t): Type removed.
37006 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37007 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37009 (__SWBLK_T_TYPE): Likewise.
37010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37011 (__SWBLK_T_TYPE): Likewise.
37012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37013 (__SWBLK_T_TYPE): Likewise.
37014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37015 (__SWBLK_T_TYPE): Likewise.
37016
4d57bf63 370172012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37018 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37019
37020 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37021 (xdr_mapname): Use YPMAXMAP as maxsize.
37022 (xdr_peername): Use YPMAXPEER as maxsize.
37023 (xdr_keydat): Use YPAXRECORD as maxsize.
37024 (xdr_valdat): Use YPMAXRECORD as maxsize.
37025
93c65d43
RM
370262012-10-01 Roland McGrath <roland@hack.frob.com>
37027
497a03d6
RM
37028 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37029
93c65d43
RM
37030 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37031 * csu/init-first.c: ... here.
37032 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37033 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37034 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37035 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37036 * sysdeps/i386/init-first.c: File removed.
37037 * sysdeps/sh/init-first.c: File removed.
37038
bec749fd
JM
370392012-10-01 Joseph Myers <joseph@codesourcery.com>
37040
37041 [BZ #14645]
37042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37043 if x * y might underflow to zero and z is zero.
37044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37046 * math/libm-test.inc (min_subnorm_value): New variable.
37047 (fma_test): Add more tests.
37048 (fma_test_towardzero): Likewise.
37049 (fma_test_downward): Likewise
37050 (fma_test_upward): Likewise.
37051 (initialize): Set min_subnorm_value.
37052
8ec5b013
JM
370532012-09-29 Joseph Myers <joseph@codesourcery.com>
37054
37055 [BZ #14638]
37056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37057 0 + 0.
37058 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37059 mode for addition resulting in exact zero.
37060 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37061 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37062 exact 0 + 0.
37063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37065 * math/libm-test.inc (fma_test): Add more tests.
37066 (fma_test_towardzero): New function.
37067 (fma_test_downward): Likewise.
37068 (fma_test_upward): Likewise.
37069 (main): Call the new functions.
37070
b1fa802e
DM
370712012-09-28 David S. Miller <davem@davemloft.net>
37072
37073 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37074
d3b9fd9e
RM
370752012-09-28 Roland McGrath <roland@hack.frob.com>
37076
ea4d37b3
RM
37077 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37078 instead of SIGALRM.
37079
ac51c949
RM
37080 * sysdeps/gnu/_G_config.h: Moved to ...
37081 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37082 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37083 * sysdeps/generic/_G_config.h: ... here.
37084
28c195f7
RM
37085 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37086
848917f9
RM
37087 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37088
6bacf05b
RM
37089 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37090 Conditionalize target on [libnss_test1.so-version].
37091
91363dbb
RM
37092 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37093
cc87f7d8
RM
37094 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37095 (elfobjdir): Move out of conditionals.
37096
b1c608fe
RM
37097 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37098 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37099 (__nss_lookup_function): Conditionalize label remove_from_tree on
37100 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37101
1d9a6d96
DM
371022012-09-28 David S. Miller <davem@davemloft.net>
37103
37104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37105 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37106 file.
37107 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37108 sysdep_routines.
37109 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37111 when HWCAP_SPARC_CRYPTO is present.
37112
72581615
PT
371132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37114
37115 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37116
715a900c
JL
371172012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37118
37119 [BZ #6530]
37120 * stdio-common/vfprintf.c (process_string_arg): Revert
37121 2000-07-22 change.
37122
371232011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37124
37125 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37126 for testcase.
37127 * stdio-common/tst-sprintf.c: Include <locale.h>
37128 (main): Test sprintf's handling of incomplete multibyte
37129 characters.
37130
9bac1d86
L
371312012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37132
37133 * elf/dl-runtime.c (VERSYMIDX): Removed.
37134 * elf/dl-version.c (VERSYMIDX): Likewise.
37135 * elf/do-rel.h (VERSYMIDX): Likewise.
37136 (VALIDX): Likewise.
37137 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37138 * elf/rtld.c (VALIDX): Likewise.
37139 (ADDRIDX): Likewise.
9bac1d86
L
37140 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37141 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37142 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37143 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37144 (VALIDX): Likewise.
37145 (ADDRIDX): Likewise.
9bac1d86 37146
b31606c0
PT
371472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37148
37149 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37150
11541177
JL
371512012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37152
37153 [BZ #11438]
37154 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37155 to global scope.
37156 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37157 addresses are in the same scope as 192.0.2/24.
37158 * posix/gai.conf: Document new scope table defaults.
37159
adb26fae
SP
371602012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37161
37162 [BZ #5298]
37163 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37164 for ftell. Compute offsets from write pointers instead.
37165 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37166
4573c6b0
SP
371672012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37168
37169 [BZ #14543]
37170 * libio/Makefile (tests): New test case tst-fseek.
37171 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37172 combination works in wide mode.
37173 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37174 state when the external buffer state changes.
37175
aa9bbfe6
DM
371762012-09-27 David S. Miller <davem@davemloft.net>
37177
37178 [BZ #14376]
37179 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37180 pass reloc->r_addend in as the 'high' argument to
37181 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37182
784421e7
DM
37183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37184
c39bc8b8
PT
371852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37186
37187 * rt/tst-aio2.c: Include <pthread.h>.
37188 * rt/tst-aio3.c: Likewise.
37189
1ccc2399
SE
371902012-09-27 Steve Ellcey <sellcey@mips.com>
37191
37192 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37193
31ed4153
L
371942012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37195
25f5f885
L
37196 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37197 contents on [SHARED].
31ed4153 37198
b7bfe116
MP
371992012-09-26 Marek Polacek <polacek@redhat.com>
37200
37201 [BZ #14530]
37202 [BZ #13741]
37203 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37204 for C++ and GCC <4.3 as well as for non GCC compilers.
37205
43c4edba
MT
372062012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37207
37208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37209
6a1bf82f
RM
372102012-09-25 Roland McGrath <roland@hack.frob.com>
37211
37212 * Makefile.in (all, install): Declare with .PHONY.
37213 Reported by Michael Hope <michael.hope@linaro.org>.
37214
8ad11b9a
TMQMF
372152012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37216
37217 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37218 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37219 system header.
37220 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37221 Likewise.
37222 (sydep_routines): Add the new and the internal functions.
37223 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37224 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37226 (GLIBC_2.17): Add the new function.
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37228 (GLIBC_2.17): Likewise.
37229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37230 (GLIBC_2.17): Likewise.
37231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37232 (GLIBC_2.17): Likewise.
37233 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37234
7e2fca8d
AM
372352012-09-25 Alan Modra <amodra@gmail.com>
37236
37237 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37238 Add release barrier before setting once_control to say
37239 initialisation is done. Add hints on lwarx. Use macro in
37240 place of isync.
37241 (clear_once_control): Add release barrier.
37242
b87c4b24
JM
372432012-09-25 Joseph Myers <joseph@codesourcery.com>
37244
d032e0d2
JM
37245 [BZ #13629]
37246 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37247 specially.
37248 * math/s_clog10.c (__clog10): Likewise.
37249 * math/s_clog10f.c (__clog10f): Likewise.
37250 * math/s_clog10l.c (__clog10l): Likewise.
37251 * math/s_clogf.c (__clogf): Likewise.
37252 * math/s_clogl.c (__clogl): Likewise.
37253 * math/Makefile (libm-calls): Add x2y2m1.
37254 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37255 (__x2y2m1): Likewise.
37256 (__x2y2m1l): Likewise.
37257 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37258 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37259 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37260 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37261 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37262 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37263 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37264 * sysdeps/i386/fpu/libm-test-ulps: Update.
37265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37266
b87c4b24
JM
37267 [BZ #14621]
37268 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37269 int as type of variable DEPTH.
37270 (glob): Use size_t instead of int as type of variables NEWCOUNT
37271 and OLD_PATHC.
37272
6d3bf199
LD
372732012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37274
22bf5c17
LD
37275 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37276 Add s_sincosf-sse2.
37277 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37278 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37279 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37280 macros for using routine as __sincosf_ia32.
37281 Use macro for function declaration and weak_alias.
37282 * sysdeps/i386/fpu/libm-test-ulps: Update.
37283
37284 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37286
37287 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37288 subnormal argument.
37289 * math/s_cexpf.c (__cexpf): Likewise.
37290 * math/s_csinf.c (__csinf): Likewise.
37291 * math/s_csinhf.c (__csinhf): Likewise.
37292 * math/s_ctanf.c (__ctanf): Likewise.
37293 * math/s_ctanhf.c (__ctanhf): Likewise.
37294 * math/s_ccosh.c (__ccoshf): Likewise.
37295 * math/s_cexp.c (__cexpl): Likewise.
37296 * math/s_csin.c (__csin): Likewise.
37297 * math/s_csinh.c (__csinh): Likewise.
37298 * math/s_ctan.c (__ctan): Likewise.
37299 * math/s_ctanh.c (ctanh): Likewise.
37300 * math/s_ccoshl.c (__ccoshl): Likewise.
37301 * math/s_cexpl.c (__cexpl): Likewise.
37302 * math/s_csinl.c (__csinl): Likewise.
37303 * math/s_csinhl.c (__csinhl): Likewise.
37304 * math/s_ctanl.c (__ctanl): Likewise.
37305 * math/s_ctanhl.c (__ctanhl): Likewise.
37306
203e5603
JM
373072012-09-25 Joseph Myers <joseph@codesourcery.com>
37308
37309 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37310 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37311 (_IO_off_t): Define to __off_t, not _G_off_t.
37312 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37313 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37314 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37315 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37316 type of __dummy and __dummy2 fields.
37317 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37318 (_G_ssize_t): Likewise.
37319 (_G_off_t): Likewise.
37320 (_G_pid_t): Likewise.
37321 (_G_uid_t): Likewise.
37322 (_G_wchar_t): Likewise.
37323 (_G_wint_t): Likewise.
37324 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37325 (_G_ssize_t): Likewise.
37326 (_G_off_t): Likewise.
37327 (_G_pid_t): Likewise.
37328 (_G_uid_t): Likewise.
37329 (_G_wchar_t): Likewise.
37330 (_G_wint_t): Likewise.
37331 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37332 (_G_ssize_t): Likewise.
37333 (_G_off_t): Likewise.
37334 (_G_pid_t): Likewise.
37335 (_G_uid_t): Likewise.
37336 (_G_wchar_t): Likewise.
37337 (_G_wint_t): Likewise.
37338
9fab36eb
SP
373392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37340
37341 * malloc/arena.c: Include malloc-sysdep.h.
37342 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37343 is sufficient to shrink the heap or an unmap is needed.
37344 * sysdeps/generic/malloc-sysdep.h: New file. Define
37345 new function check_may_shrink_heap.
37346 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37347 new function check_may_shrink_heap.
37348
2b4f00d1
SP
373492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37350
37351 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37352 comments.
37353
9a9028b1
DL
373542012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37355
57c69bef
DL
37356 * catgets/test-gencat.sh: Add "set -e".
37357 * elf/tst-pathopt.sh: Likewise.
37358 * grp/tst_fgetgrent.sh: Likewise.
37359 * iconvdata/run-iconv-test.sh: Likewise.
37360 * intl/tst-gettext.sh: Likewise.
37361 * intl/tst-gettext2.sh: Likewise.
37362 * intl/tst-gettext4.sh: Likewise.
37363 * intl/tst-gettext6.sh: Likewise.
37364 * intl/tst-translit.sh: Likewise.
37365 * io/ftwtest-sh: Likewise.
37366 * libio/test-freopen.sh: Likewise.
37367 * malloc/tst-mtrace.sh: Likewise.
37368 * posix/globtest.sh: Likewise.
37369 * posix/tst-getconf.sh: Likewise.
37370 * posix/wordexp-tst.sh: Likewise.
37371 * stdio-common/tst-printf.sh: Likewise.
37372 * stdio-common/tst-unbputc.sh: Likewise.
37373 * stdlib/tst-fmtmsg.sh: Likewise.
37374 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37375 * catgets/Makefile: Do not specify -e option when running
37376 testsuite shell scripts.
37377 * elf/Makefile: Likewise.
37378 * grp/Makefile: Likewise.
37379 * iconvdata/Makefile: Likewise.
37380 * intl/Makefile: Likewise.
37381 * io/Makefile: Likewise.
37382 * libio/Makefile: Likewise.
37383 * malloc/Makefile: Likewise.
37384 * posix/Makefile: Likewise.
37385 * stdio-common/Makefile: Likewise.
37386 * stdlib/Makefile: Likewise.
37387 * sysdeps/x86_64/Makefile: Likewise.
37388
9a9028b1
DL
37389 * io/ftwtest-sh: Add copyright header.
37390 * posix/globtest.sh: Likewise.
37391 * posix/tst-getconf.sh: Likewise.
37392 * posix/wordexp-tst.sh: Likewise.
37393 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37394
ced6f16e
L
373952012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37396
94b32c39
L
37397 [BZ #13679]
37398 * Makeconfig (+link): Defined as $(+link-static) if
37399 $(build-shared) isn't yes.
37400 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37401 isn't yes.
37402 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37403
189e935b
L
37404 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37405
ced6f16e
L
37406 [BZ #14562]
37407 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37408 new chunk size with MALLOC_ALIGN_MASK.
37409
a9f8e53a
JM
374102012-09-24 Joseph Myers <joseph@codesourcery.com>
37411
37412 [BZ #5044]
37413 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37414 <rounding-mode.h>.
37415 (__printf_fphex): Determine rounding using get_rounding_mode and
37416 round_away.
37417 * stdio-common/tst-printf-round.c (struct hex_test): New
37418 structure.
37419 (hex_tests): New variable.
37420 (test_hex_in_one_mode): New function.
37421 (do_test): Also run tests for hex float output.
37422
43153109
JM
374232012-09-21 Joseph Myers <joseph@codesourcery.com>
37424
37425 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37426 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37427 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37428 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37429 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37430 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37431 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37432 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37433
8a26625d
JM
374342012-09-20 Joseph Myers <joseph@codesourcery.com>
37435
37436 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37437 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37438 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37439 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37440
f3fd569c
DL
374412012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37442
37443 [BZ #14579]
37444 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37445 mode only.
37446 * elf/tst-rtld-load-self.sh: New test.
37447 * elf/Makefile: Run it.
37448
63bbedd4
JM
374492012-09-18 Joseph Myers <joseph@codesourcery.com>
37450
37451 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37452 (tst-writev-ENV): Remove.
37453 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37454
626f8b6a
CM
374552012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37456
37457 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37458
b7aaa4d6
JM
374592012-09-17 Joseph Myers <joseph@codesourcery.com>
37460
37461 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37462 unconditional.
37463 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37464 Likewise.
37465 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37466 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37467 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37468 Likewise.
37469
65513990
L
374702012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37471
37472 [BZ #14587]
37473 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37474 * config.make.in (have-cpp-asm-debuginfo): Removed.
37475 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37476 * configure: Regenerated.
37477
784761be
JM
374782012-09-14 Joseph Myers <joseph@codesourcery.com>
37479
37480 [BZ #5044]
37481 * stdio-common/printf_fp.c: Include <stdbool.h> and
37482 <rounding-mode.h>.
37483 (___printf_fp): Determine rounding using get_rounding_mode and
37484 round_away.
37485 * stdio-common/tst-printf-round.c: New file.
37486 * stdio-common/Makefile (tests): Add tst-printf-round.
37487 (link-libm): New variable.
37488 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37489
9503345f
L
374902012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37491
37492 [BZ #14576]
37493 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37494 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37495 Likewise.
37496 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37497 Likewise.
37498
ad35fc00
JM
374992012-09-13 Joseph Myers <joseph@codesourcery.com>
37500
37501 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37502 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37503 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37504 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37505
6c9b0f68
JM
375062012-09-12 Joseph Myers <joseph@codesourcery.com>
37507
37508 [BZ #14518]
37509 * include/rounding-mode.h: New file.
37510 * sysdeps/generic/get-rounding-mode.h: Likewise.
37511 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37512 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37513 (MAX_VALUE): New macro.
37514 (MIN_VALUE): Likewise.
37515 (overflow_value): New function.
37516 (underflow_value): Likewise.
37517 (round_and_return): Use overflow_value and underflow_value to
37518 determine return values in overflow and underflow cases. Use
37519 round_away to determine rounding depending on rounding mode.
37520 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37521 determine return values in overflow and underflow cases.
37522 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37523 (struct test_results): New structure.
37524 (struct test): Use struct test_results to store expected results
37525 for all rounding modes.
37526 (TEST): Include expected results for all rounding modes.
37527 (test_in_one_mode): New function.
37528 (do_test): Use test_in_one_mode to compute and check results.
37529 Check results for all rounding modes.
37530 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37531 $(link-libm).
37532
19fcedd5
AM
375332012-12-09 Allan McRae <allan@archlinux.org>
37534
1e9d84cd 37535 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37536
8bbfd2f1
JM
375372012-09-11 Joseph Myers <joseph@codesourcery.com>
37538
37539 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37540 (_G_int32_t): Likewise.
37541 (_G_uint16_t): Likewise.
37542 (_G_uint32_t): Likewise.
37543 (_G_HAVE_BOOL): Likewise.
37544 (_G_HAVE_ATEXIT): Likewise.
37545 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37546 (_G_HAVE_IO_FILE_OPEN): Likewise.
37547 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37548 (_G_int32_t): Likewise.
37549 (_G_uint16_t): Likewise.
37550 (_G_uint32_t): Likewise.
37551 (_G_HAVE_BOOL): Likewise.
37552 (_G_HAVE_ATEXIT): Likewise.
37553 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37554 (_G_HAVE_IO_FILE_OPEN): Likewise.
37555 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37556 (_G_int32_t): Likewise.
37557 (_G_uint16_t): Likewise.
37558 (_G_uint32_t): Likewise.
37559 (_G_HAVE_BOOL): Likewise.
37560 (_G_HAVE_ATEXIT): Likewise.
37561 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37562 (_G_HAVE_IO_FILE_OPEN): Likewise.
37563
b1dc5912
L
375642012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37565
37566 * csu/libc-tls.c: Update copyright years.
37567
0e886ef9
JM
375682012-09-10 Joseph Myers <joseph@codesourcery.com>
37569
28361c5e
JM
37570 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37571 [!_G_USING_THUNKS]: Remove conditional code.
37572 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37573 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37574
0e886ef9
JM
37575 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37576 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37577 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37578 (_G_VTABLE_LABEL_PREFIX): Likewise.
37579 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37580 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37581 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37582 (_G_VTABLE_LABEL_PREFIX): Likewise.
37583 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37584 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37585 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37586 (_G_VTABLE_LABEL_PREFIX): Likewise.
37587 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37588
bcba7aa2
L
375892012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37590
37591 * libio/Makefile: Include ../Makeconfig before tests.
37592 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37593 only if $(build-shared) is yes.
37594
06585ee8
L
37595 * iconv/gconv_db.c: Update copyright years.
37596
80ccd52c
LD
375972012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37598
37599 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37600 unwind info if defined PIC. Fix special cases description.
37601 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37602
37603 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37604 DP_HI_MASK entry.
37605 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37606
691bc9c1
L
376072012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37608
3d9b46b3
L
37609 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37610
de2139a9
L
37611 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37612 is NULL.
37613
5ca78dd0
L
37614 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37615 (LDLIBS-tst-chk4): This.
37616 (LDFLAGS-tst-chk5): Renamed to ...
37617 (LDLIBS-tst-chk5): This.
37618 (LDFLAGS-tst-chk6): Renamed to ...
37619 (LDLIBS-tst-chk6): This.
37620 (LDFLAGS-tst-lfschk4): Renamed to ...
37621 (LDLIBS-tst-lfschk4): This.
37622 (LDFLAGS-tst-lfschk5): Renamed to ...
37623 (LDLIBS-tst-lfschk5): This.
37624 (LDFLAGS-tst-lfschk6): Renamed to ...
37625 (LDLIBS-tst-lfschk6): This.
37626
691bc9c1
L
37627 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37628 on $(common-objpfx)soversions.mk.
37629
65cafb1c
JM
376302012-09-07 Joseph Myers <joseph@codesourcery.com>
37631
37632 [BZ #10014]
37633 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37634 example host name.
37635
c78ab094
SP
376362012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37637
37638 * malloc/arena.c (arena_get_retry): New function that gets
37639 another arena for the caller to try its request on.
37640 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37641 current arena cannot fulfill the request.
37642 (__libc_memalign): Likewise.
37643 (__libc_memalign): Likewise.
37644 (__libc_pvalloc): Likewise.
37645 (__libc_calloc): Likewise.
37646
01f49f59
JT
376472012-09-05 John Tobey <john.tobey@gmail.com>
37648
37649 [BZ #13542]
37650 * manual/arith.texi (Operations on Complex): Fix description
37651 of carg branch cut.
37652
4c23fed5
JM
376532012-09-06 Joseph Myers <joseph@codesourcery.com>
37654
1d3c8572
JM
37655 [BZ #10014]
37656 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37657 host name.
37658
4c23fed5
JM
37659 [BZ #10038]
37660 * manual/memory.texi (Memory): Make order of menu items match
37661 order of sections.
37662
04570aaa
L
376632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37664
37665 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37666 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37667 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37668
b80af2f4
L
376692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37670
37671 * csu/libc-tls.c (static_dtv): Renamed to ...
37672 (_dl_static_dtv): This. Make it global.
37673 (_dl_initial_dtv): Removed.
37674 (__libc_setup_tls): Updated.
37675 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37676 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37677 DL_INITIAL_DTV.
37678
2abe9f15
PM
376792012-09-06 Petr Machata <pmachata@redhat.com>
37680
37681 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37682 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37683 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37684 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37685
0948c3af
L
376862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37687
37688 [BZ #14545]
37689 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37690 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37691 freeing dtv[-1].
37692
a5055ad1
L
376932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37694
37695 [BZ #14544]
37696 * Makeconfig (link-static-before-libc): Replace $(+prector)
37697 with $(+prectorT).
37698 (link-static-after-libc): Replace $(+postctor) with
37699 $(+postctorT).
37700 (link-bounded): Replace $(+prector)/$(+postctor) with
37701 $(+prectorT)/$(+postctorT).
37702 (+prectorT): New macro.
37703 (+postctorT): Likewise.
37704
ed8c2ecd
JM
377052012-09-06 Joseph Myers <joseph@codesourcery.com>
37706
37707 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37708 (round_str): Handle values above the maximum for IBM long double
37709 as inexact.
37710 * stdlib/tst-strtod-round.c (tests): Regenerated.
37711
14c996c8
AK
377122012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37713
37714 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37715 assembler flag.
37716 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37717 zarch_nohighgprs around the zarch optimized routines.
37718 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37719 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37720 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37721 for zarch.
37722
430d6ce6
DM
377232012-09-05 David S. Miller <davem@davemloft.net>
37724
37725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37726
57f41c40
AS
37727 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37728 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37729 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37730 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37731 entries.
37732
24d4e01b
AO
377332012-09-05 Alexandre Oliva <aoliva@redhat.com>
37734
37735 * malloc/arena.c: Fold copyright years.
37736 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37737
61d58174
AO
377382012-09-05 Alexandre Oliva <aoliva@redhat.com>
37739
37740 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37741
20196a5e
AO
377422012-09-05 Alexandre Oliva <aoliva@redhat.com>
37743
37744 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37745
5c447383
AO
377462012-09-05 Alexandre Oliva <aoliva@redhat.com>
37747
37748 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37749 change internal state upon failure.
37750
fad64255
AO
377512012-09-05 Alexandre Oliva <aoliva@redhat.com>
37752
37753 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37754 * malloc/memusage.c (mmap): Likewise.
37755 (mmap64, mremap): Likewise. Adjust name in comment.
37756
1ffb8c90
SP
377572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37758
37759 * libio/fileops.c: Fix typos in comments.
37760 * libio/oldfileops.c: Likewise.
37761 * libio/wfileops.c: Likewise.
37762
6ef9cc37
SP
377632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37764
37765 [BZ #1349]
37766 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37767 (tst-malloc-usable-ENV): Set environment for test case.
37768 * malloc/hooks.c (malloc_check_get_size): New function to get
37769 requested size.
37770 * malloc/malloc.c (musable): Use malloc_check_get_size.
37771 * malloc/tst-malloc-usable.c: New test case.
37772
4d038ae3
AS
377732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37774
37775 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37776
c4e85184
AM
377772012-09-05 Allan McRae <allan@archlinux.org>
37778
b9dafc56 37779 [BZ #13966]
c4e85184
AM
37780 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37781 determine header location.
37782 * configure: Regenerated.
37783
e1343020
AS
377842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37785
37786 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37787 float format.
37788 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37789 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37790 format.
e1343020
AS
37791 (test): Regenerate.
37792
0a9f1987
DM
377932012-09-04 David S. Miller <davem@davemloft.net>
37794
37795 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37796 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37797 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37798
29237804
FW
377992012-09-04 Florian Weimer <fweimer@redhat.com>
37800
37801 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37802 failures.
37803
edb3cb88
FW
37804 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37805
60160d83
JM
378062012-09-04 Joseph Myers <joseph@codesourcery.com>
37807
37808 [BZ #9914]
37809 * libio/iogetdelim.c: Include <limits.h>.
37810 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37811 + len + 1 would overflow.
37812
bcd6c8dc
AJ
378132012-09-03 Andreas Jaeger <aj@suse.de>
37814
37815 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37816 * sysdeps/i386/fpu/libm-test-ulps: Update.
37817
4ffffbd2
LD
378182012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37819
37820 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37821 Add s_sinf-sse2, s_conf-sse2.
37822
37823 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37824 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37825 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37826 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37827
37828 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37829 for using routine as __sinf_ia32.
37830 Use macro for function declaration and weak_alias.
37831 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37832 for using routine as __cosf_ia32.
37833 Use macro for function declaration and weak_alias.
37834
37835 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37836 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37837
37838 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37839 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37841
37842 * math/libm-test.inc (cos_test): Add more test cases.
37843 (sin_test): Likewise.
37844 (sincos_test): Likewise.
37845
511fa286
AK
378462012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37847
37848 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37849 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37850 hidden.
37851 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37852
5f30cfec
L
378532012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37854
37855 [BZ #14538]
37856 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37857 first element of the GOT.
37858 (elf_machine_load_address): Return the difference between
37859 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37860
0786794f
AM
378612012-09-01 Allan McRae <allan@archlinux.org>
37862
5f30cfec
L
37863 [BZ #13412]
37864 * configure.in (AWK): Require gawk version 3.0 or later.
37865 * configure: Regenerated.
0786794f 37866
26889eac
JM
378672012-09-01 Joseph Myers <joseph@codesourcery.com>
37868
37869 * sysdeps/unix/sysv/linux/kernel-features.h
37870 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37871 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37872 [__NR_clock_getres]: Make code unconditional.
37873 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37874 (clock_getcpuclockid): Remove code left unreachable by removal of
37875 conditionals.
37876 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37877 code unconditional.
37878 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37879 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37880 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37881 Make code unconditional.
37882 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37883 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37884 * sysdeps/unix/sysv/linux/clock_settime.c
37885 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37886 conditional code.
37887 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37888 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37889
d22e28b0
L
378902012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37891
37892 [BZ #14476]
37893 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37894 scripts/test-installation.pl.
37895
37896 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37897 and $ld_so_version if it is set.
37898
050af9c4
SP
378992012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37900
37901 [BZ #14516]
37902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37903 failure if reading from procfs failed.
37904 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37905
ad845c0b
JM
379062012-08-27 Joseph Myers <joseph@codesourcery.com>
37907
37908 * sysdeps/unix/sysv/linux/kernel-features.h
37909 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37910 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37911 Remove conditional code.
37912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37913 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37914 Remove conditional code.
37915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37916 * sysdeps/unix/sysv/linux/i386/fxstat.c
37917 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37919 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37920 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37922 * sysdeps/unix/sysv/linux/i386/lxstat.c
37923 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37925 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37926 Remove conditional code.
37927 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37928 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37929 Remove conditional code.
37930 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37931 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37932 <kernel-features.h>.
37933 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37934 Remove.
37935 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37936 Remove conditional code.
37937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37938 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37939 Remove conditional.
37940
5dbf56af
MF
379412012-08-27 Mike Frysinger <vapier@gentoo.org>
37942
37943 [BZ #5400]
37944 * NEWS: Add fixed bug number.
37945
d6e70f43
JM
379462012-08-27 Joseph Myers <joseph@codesourcery.com>
37947
7efb4737
JM
37948 [BZ #14519]
37949 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37950 underflowing exponent in case of negative sign.
37951 * stdlib/tst-strtod-round-data: Add more tests.
37952 * stdlib/tst-strtod-round.c (tests): Regenerated.
37953
af92131a
JM
37954 [BZ #3479]
37955 * stdlib/strtod_l.c (NDIG): Remove.
37956 (HEXNDIG): Likewise.
37957 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37958 smallest representable value.
37959 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37960 lie within an exact representation of 1/2 ulp of the result.
37961 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37962 unconditionally.
37963 (TENS_P9_IDX): Define unconditionally.
37964 (TENS_P9_SIZE): Likewise.
37965 (TENS_P10_IDX): Likewise.
37966 (TENS_P10_SIZE): Likewise.
37967 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37968 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37969 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37970 entries for 10^2^13 and 10^2^14.
37971 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37972 (TENS_P13_IDX): Define.
37973 (TENS_P13_SIZE): Likewise.
37974 (TENS_P14_IDX): Likewise.
37975 (TENS_P14_SIZE): Likewise.
37976 (_fpioconst_pow10): Change array size to
37977 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37978 unconditional.
37979 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37980 1024]: Add entries for 10^2^13 and 10^2^14.
37981 [LAST_POW10 > _LAST_POW10]: Remove #error.
37982 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37983 (_fpioconst_pow10): Change array size to
37984 FPIOCONST_POW10_ARRAY_SIZE.
37985 * stdlib/gen-fpioconst.c: New file.
37986 * stdlib/gen-tst-strtod-round.c: Likewise.
37987 * stdlib/tst-strtod-round-data: Likewise.
37988 * stdlib/tst-strtod-round.c: Likewise.
37989 * stdlib/Makefile (tests): Add tst-strtod-round.
37990
d6e70f43
JM
37991 [BZ #14459]
37992 * stdlib/strtod_l.c: Include <stdint.h>.
37993 (NDEBUG): Do not define.
37994 (round_and_return): Change EXPONENT parameter to type intmax_t.
37995 Rearrange calculations to avoid internal overflow possibilities.
37996 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37997 Rearrange calculations to avoid internal overflow possibilities.
37998 Assert that number fits inside MPNSIZE limbs.
37999 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38000 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38001 calculations and add assertions to avoid internal overflow
38002 possibilities. Add casts to avoid signed/unsigned operations.
38003 * stdlib/tst-strtod-overflow.c: New file.
38004 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38005
1f529f7d
MP
380062012-08-25 Marek Polacek <polacek@redhat.com>
38007
38008 * time/time.h: Fix some typos in comments.
38009
59a629f1
RM
380102012-08-23 Roland McGrath <roland@hack.frob.com>
38011
38012 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38013 * posix/tst-rfc3484-2.c: Likewise.
38014 * posix/tst-rfc3484-3.c: Likewise.
38015
d3bafbc9
SM
380162012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38017
38018 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38019 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38020
4efcc022
JM
380212012-08-23 Joseph Myers <joseph@codesourcery.com>
38022
38023 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38024 #include of fxstatat64.c.
38025
3cc3ef96
RM
380262012-08-22 Roland McGrath <roland@hack.frob.com>
38027
f04e2132
RM
38028 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38029 * shadow/getspent_r.c: Likewise.
38030 * shadow/getspnam.c: Likewise.
38031 * shadow/getspnam_r.c: Likewise.
38032 * gshadow/getsgent.c: Likewise.
38033 * gshadow/getsgent_r.c: Likewise.
38034 * gshadow/getsgnam.c: Likewise.
38035 * gshadow/getsgnam_r.c: Likewise.
38036 * inet/getnetbyad.c: Likewise.
38037 * inet/getnetbyad_r.c: Likewise.
38038 * inet/getnetbynm.c: Likewise.
38039 * inet/getnetbynm_r.c: Likewise.
38040 * inet/getnetent.c: Likewise.
38041 * inet/getnetent_r.c: Likewise.
38042 * inet/getproto.c: Likewise.
38043 * inet/getproto_r.c: Likewise.
38044 * inet/getprtent.c: Likewise.
38045 * inet/getprtent_r.c: Likewise.
38046 * inet/getprtname.c: Likewise.
38047 * inet/getprtname_r.c: Likewise.
38048 * inet/getrpcbyname.c: Likewise.
38049 * inet/getrpcbyname_r.c: Likewise.
38050 * inet/getrpcbynumber.c: Likewise.
38051 * inet/getrpcbynumber_r.c: Likewise.
38052 * inet/getrpcent.c: Likewise.
38053 * inet/getrpcent_r.c: Likewise.
38054 * inet/getaliasent.c: Likewise.
38055 * inet/getaliasent_r.c: Likewise.
38056 * inet/getaliasname.c: Likewise.
38057 * inet/getaliasname_r.c: Likewise.
38058 * nscd/getgrgid_r.c: Likewise.
38059 * nscd/getgrnam_r.c: Likewise.
38060 * nscd/gethstbyad_r.c: Likewise.
38061 * nscd/gethstbynm3_r.c: Likewise.
38062 * nscd/getpwnam_r.c: Likewise.
38063 * nscd/getpwuid_r.c: Likewise.
38064 * nscd/getsrvbynm_r.c: Likewise.
38065 * nscd/getsrvbypt_r.c: Likewise.
38066 * nscd/gai.c: Likewise.
38067
c53d909c
RM
38068 * configure.in (build_nscd): New substituted variable, set
38069 by --disable-build-nscd and defaults to $use_nscd.
38070 * configure: Regenerated.
38071 * config.make.in (build-nscd): New substituted variable.
38072 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38073 Change conditional to require [$(build-nscd) = yes] as well.
38074 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38075
3cc3ef96
RM
38076 [BZ# 13696]
38077 * configure.in (use_nscd): New substituted variable, set by
38078 --disable-nscd. If enabled, define USE_NSCD.
38079 * configure: Regenerated.
38080 * config.h.in: Add USE_NSCD.
38081 * config.make.in (use-nscd): New substituted variable.
38082 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38083 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38084 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38085 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38086 (CFLAGS-getgrnam_r.c): Likewise.
38087 (CFLAGS-initgroups.c): Likewise.
38088 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38089 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38090 Variables removed.
38091 * inet/getnetgrent_r.c
38092 (nscd_setnetgrent): New function, broken out of ...
38093 (setnetgrent): ... here. Call it.
38094 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38095 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38096 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38097 * nscd/Makefile (routines, aux): Move definitions after include of
38098 Makeconfig. Conditionalize on [$(use-nscd) != no].
38099 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38100 Conditionalize on [USE_NSCD].
38101 (is_nscd, nscd_init_cb): Likewise.
38102 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38103 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38104 * nss/nss_db/db-init.c: Likewise.
38105 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38106 [USE_NSCD].
38107 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38108 (make_request): Use it.
38109 (cache_valid_p): New function.
38110 (__check_pf): Use it.
38111 * NEWS: Add item for --disable-nscd.
38112
07e51550
DL
381132012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38114
38115 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38116 to support sed >= 4.2.1-20-ga9bf076.
38117 * configure: Regenerated.
38118
35a5b08b
RM
381192012-08-22 Roland McGrath <roland@hack.frob.com>
38120
38121 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38122 Conditionalize whole body on [IREL].
38123
8479f23a
JL
381242012-08-22 Jeff Law <law@redhat.com>
38125
38126 [BZ #14505]
38127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38128 if the family is PF_UNSPEC.
38129
48da0b21
MF
381302012-08-22 Mike Frysinger <vapier@gentoo.org>
38131
38132 * Makerules (lib-version): Rename from V.
38133 (install-lib-nosubdir): Change V to lib-version.
38134
15d0da8c
WS
381352012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38136
38137 [BZ #14252]
38138 * powerpc32/power6/wcschr.c: New file.
38139 * powerpc32/power6/wcscpy.c: New file.
38140 * powerpc32/power6/wcsrchr.c: New file.
38141 * powerpc64/power6/wcschr.c: New file.
38142 * powerpc64/power6/wcscpy.c: New file.
38143 * powerpc64/power6/wcsrchr.c: New file.
38144
bcca0895
MK
381452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38146
38147 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38148 (two_way_short_needle): Use it.
5a4aaa33
RM
38149 * string/strstr.c (AVAILABLE1_USES_J): Define.
38150 * string/strcasestr.c: Likewise.
99677e57
MK
38151
38152 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38153 array references.
38154 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38155
400726de
MK
38156 [BZ #11607]
38157 * NEWS: Add an entry.
38158 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38159 define their defaults.
38160 (two_way_short_needle): Detect end-of-string on-the-fly.
38161 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38162 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38163 * string/bug-strcasestr1.c: New test.
38164 * string/Makefile: Run it.
38165
20a71f2c
MK
381662012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38167
38168 [BZ #11607]
38169 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38170 the first character.
38171
21ad0558
RM
381722012-08-21 Roland McGrath <roland@hack.frob.com>
38173
38174 * csu/elf-init.c (__libc_csu_irel): Function removed.
38175 * csu/libc-start.c (apply_irel): New function.
38176 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38177
0e1d9911
JM
381782012-08-21 Joseph Myers <joseph@codesourcery.com>
38179
38180 * sysdeps/unix/sysv/linux/kernel-features.h
38181 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38182 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38183 <kernel-features.h>.
38184 [__NR_fadvise64_64]: Make code unconditional.
38185 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38186 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38187 !__NR_fadvise64_64)]: Likewise.
38188 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38189 !__NR_fadvise64_64))]: Likewise.
38190 [__NR_fadvise64]: Make code unconditional.
38191 [!__NR_fadvise64]: Remove conditional code.
38192 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38193 <kernel-features.h>.
38194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38195 unconditional.
38196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38197 conditional code.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38199 not include <kernel-features.h>.
38200 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38201 unconditional.
38202 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38203 conditional code.
38204 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38205 include <kernel-features.h>.
38206 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38207 unconditional.
38208 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38209 conditional code.
38210
14a50c9d
WS
382112012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38212
38213 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38214 slight instruction rearrangements per scrollpipe analysis.
38215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38216
c0f4faf0
RM
382172012-08-20 Roland McGrath <roland@hack.frob.com>
38218
696da859
RM
38219 * manual/syslog.texi (syslog; vsyslog, closelog):
38220 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38221 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38222
c0f4faf0
RM
38223 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38224 DSOCAPS to match condition on defining it.
38225
348363b2
JM
382262012-08-20 Joseph Myers <joseph@codesourcery.com>
38227
a35cbf28
JM
38228 * sysdeps/unix/sysv/linux/kernel-features.h
38229 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38231 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38232 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38234 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38235 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38237 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38238 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38239
445f7ecd
JM
38240 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38241 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38242
348363b2
JM
38243 * sysdeps/unix/sysv/linux/kernel-features.h
38244 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38245 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38246 unconditional.
38247 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38248 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38249 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38250 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38251 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38252 Make code unconditional.
38253 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38254 (__mmap64) [!__NR_mmap2]: Likewise.
38255 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38256 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38257 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38258 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38259 [__NR_mmap2]: Make code unconditional.
38260 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38261 (__mmap64) [!__NR_mmap2]: Likewise.
38262
bc5bc0e5
AK
382632012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38264
38265 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38266
88d506de
AJ
382672012-08-18 Andreas Jaeger <aj@suse.de>
38268
38269 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38270
493387d2
MF
382712012-08-18 Mike Frysinger <vapier@gentoo.org>
38272
38273 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38274 * include/unistd.h (__have_sock_cloexec): Likewise.
38275 (__have_pipe2): Likewise.
38276 (__have_dup3): Likewise.
38277
a277af22
MF
382782012-08-18 Mike Frysinger <vapier@gentoo.org>
38279
38280 [BZ #9685]
38281 * include/unistd.h (__have_pipe2): Change define into an extern int.
38282 (__have_dup3): Likewise.
38283 * socket/have_sock_cloexec.c: Include fcntl.h.
38284 (__have_pipe2): New variable.
38285 (__have_dup3): Likewise.
38286
fdab8fd3
MF
382872012-08-17 Mike Frysinger <vapier@gentoo.org>
38288
38289 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38290
31035e80
MP
382912012-08-17 Marek Polacek <polacek@redhat.com>
38292
38293 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38294 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38295
3bd9e993
RM
382962012-08-17 Roland McGrath <roland@hack.frob.com>
38297
c91c505f
RM
38298 * configure.in: Add AC_SUBST for sysheaders.
38299 * configure: Regenerated.
38300 * config.make.in (sysheaders): New substituted variable.
38301
7c6f9d53
RM
38302 * sysdeps/unix/mkfifo.c: Moved ...
38303 * sysdeps/posix/mkfifo.c: ... here.
38304 * sysdeps/unix/mkfifoat.c: Moved ...
38305 * sysdeps/posix/mkfifoat.c: ... here.
38306
38307 * sysdeps/unix/utime.c: Moved ...
38308 * sysdeps/posix/utime.c: ... here.
38309
38310 * sysdeps/unix/time.c: Moved ...
38311 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38312 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38313 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38314
38315 * sysdeps/unix/nice.c: Moved ...
38316 * sysdeps/posix/nice.c: ... here.
38317
38318 * sysdeps/unix/alarm.c: Moved ...
38319 * sysdeps/posix/alarm.c: ... here.
38320
3bd9e993
RM
38321 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38322
d1f09384
JL
383232012-08-17 Jeff Law <law@redhat.com>
38324
38325 * intl/Makefile (codeset_mo): New variable.
38326 ($(codeset_mo)): New target.
38327 (tst-codeset.out): Depend on that. Remove explicit rule.
38328 (tst-gettext3.out, tst-gettext5.out): Likewise.
38329 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38330 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38331 * intl/tst-codeset.sh: Remove.
38332 * intl/tst-gettext3.sh: Likewise.
38333 * intl/tst-gettext5.sh: Likewise.
38334
2ae1ae5c
RM
383352012-08-17 Roland McGrath <roland@hack.frob.com>
38336
c31fdb83
RM
38337 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38338 * sysdeps/unix/syscalls.list: ... here.
38339
a0844057
RM
38340 * sysdeps/posix/getaddrinfo.c
38341 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38342 (gaiconf_init, gaiconf_reload): Use them.
38343 [!_STATBUF_ST_NSEC]
38344 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38345 Define using time_t rather than struct timespec.
38346
750c1f2a
RM
38347 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38348 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38349 Macros removed.
38350 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38351 [!NO_THREADS].
38352 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38353 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38354 Likewise.
38355
2ae1ae5c
RM
38356 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38357 __libc_cleanup_push argument.
38358
e66a42f5
RM
38359 * bits/param.h: New file.
38360 * misc/sys/param.h: New file.
38361 * include/sys/param.h: New file.
38362 * misc/Makefile (headers): Add bits/param.h.
38363 * sysdeps/generic/sys/param.h: File removed.
38364 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38365 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38366 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38367 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38368
b7c08a66
RM
38369 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38370 last change.
38371
b2e1c562
RM
38372 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38373 [_IO_MTSAFE_IO].
38374 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38375 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38376 New macros.
38377
c75ccd4c
RM
38378 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38379 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38380 rather than -D_IO_MTSAFE_IO conditionally.
38381 * stdio-common/Makefile (CPPFLAGS): Likewise.
38382 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38383 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38384 Use $(libio-mtsafe).
38385 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38386 of -D_IO_MTSAFE_IO.
38387 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38388 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38389 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38390 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38391 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38392 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38393 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38394 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38395 (CFLAGS-fread_u_chk.c): Likewise.
38396 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38397 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38398 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38399 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38400 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38401 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38402 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38403 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38404 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38405
38406 * libio/Makefile: Test [$(libc-reentrant) = yes]
38407 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38408
38409 * Makeconfig
38410 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38411 * sysdeps/pthread/configure: File removed.
38412 * sysdeps/pthread/Makeconfig: New file.
38413 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38414 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38415
d9195db8
GB
384162012-08-16 Gary Benson <gbenson@redhat.com>
38417
38418 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38419 unmapping the first object in a namespace.
38420
86466cd9
RM
384212012-08-16 Roland McGrath <roland@hack.frob.com>
38422
38423 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38424 (__internal_setnetgrent): ... this. Add internal_function to
38425 definition. Add libc_hidden_def.
38426 (setnetgrent): Update caller.
38427 (internal_endnetgrent): Renamed to ...
38428 (__internal_endnetgrent): ... this. Add internal_function to
38429 definition. Add libc_hidden_def.
38430 (endnetgrent): Update caller.
38431 (internal_getnetgrent_r): Renamed to ...
38432 (__internal_getnetgrent_r): ... this. Add internal_function to
38433 definition. Add libc_hidden_def.
38434 (__getnetgrent_r): Update caller.
38435 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38436
c3c8283c
JM
384372012-08-16 Joseph Myers <joseph@codesourcery.com>
38438
38439 * stdlib/longlong.h: Update from GCC.
38440
db1ee0a8
RM
384412012-08-16 Roland McGrath <roland@hack.frob.com>
38442
38443 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38444 on _QL, which is set by umul_ppmm but never used.
38445 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38446 variables, which are set by GMP macros but never used.
38447 * stdio-common/_itowa.c (_itowa): Likewise.
38448 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38449 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38450
30f69637
CD
384512012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38452
38453 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38454 struct La_sh_regs is not constant.
38455 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38456 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38457 and struct La_sparc64_regs are not constant.
38458
93a78ac4
JM
384592012-08-16 Joseph Myers <joseph@codesourcery.com>
38460
38461 * sysdeps/unix/sysv/linux/kernel-features.h
38462 (__ASSUME_POSIX_TIMERS): Remove.
38463 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38465 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38466 Make code unconditional.
38467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38468 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38469 Make code unconditional.
38470 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38471 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38472 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38473 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38474 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38475 Make code unconditional.
38476 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38477 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38478 (__libc_missing_posix_timers): Remove.
38479
dd924cd7
RM
384802012-08-15 Roland McGrath <roland@hack.frob.com>
38481
4b4f2771
RM
38482 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38483 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38484
601c888b
RM
38485 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38486
176790a7
RM
38487 * elf/dl-sym.c: Include <stdlib.h>.
38488
329bc018
RM
38489 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38490 constants, which avoids warnings in 32-bit builds.
38491
e04e272d
RM
38492 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38493 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38494
952bf94a
RM
38495 * misc/lseek.c: File moved to ...
38496 * io/lseek.c: ... here.
38497
7c99b50a
RM
38498 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38499
dd924cd7
RM
38500 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38501 shifting LEN more than 31 bits at once.
38502
b3f479a8
LD
385032012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38504
38505 [BZ #14195]
8c4ae0d4
RM
38506 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38507 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38508 * string/test-strncasecmp.c (check1): Renamed to...
38509 (bz12205): ...this.
38510 (bz14195): Add new testcase for two empty input strings and N > 0.
38511 (test_main): Call new testcase, adapt for renamed function.
38512
9c55864e
AJ
385132012-08-15 Andreas Jaeger <aj@suse.de>
38514
38515 [BZ #14090]
38516 * crypt/md5test2.c: New test, based on test supplied by Serge
38517 Belyshev <belyshev@depni.sinp.msu.ru>.
38518 * crypt/Makefile (xtests): Add md5test-giant..
38519 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38520
02dcb6c5
PE
385212012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38522
38523 [BZ #14090]
38524 * crypt/md5.c (md5_process_block): Don't assume the buffer
38525 length is less than 2**32.
38526 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38527 length is less than 2**64.
38528
a3f95dcc
RM
385292012-08-15 Roland McGrath <roland@hack.frob.com>
38530
be75d758
RM
38531 * string/str-two-way.h: Include <sys/param.h>.
38532 (MAX): Macro removed.
38533
7312ca90
RM
38534 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38535 Move #define and #undef of memmove to just before and after
38536 including <string.h>.
38537
9a0a5486
RM
38538 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38539 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38540 and after including <string.h>. Move declarations of
38541 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38542 to before #include "string/memmove.c".
38543
67cc348d
RM
38544 * include/dirent.h: Declare __getdirentries.
38545
a3f95dcc
RM
38546 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38547 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38548
ca98e171
MF
385492012-08-14 Mike Frysinger <vapier@gentoo.org>
38550
38551 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38552 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38553 * sysdeps/i386/configure: Regenerated.
38554 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38555 STABS_CURRENT_FILE, and STABS_FUN.
38556 (END): Remove call to STABS_FUN_END.
38557 (STABS_CURRENT_FILE1): Delete.
38558 (STABS_CURRENT_FILE): Likewise.
38559 (STABS_FUN): Likewise.
38560 (STABS_FUN_END): Likewise.
38561 (STABS_FUN2): Likewise.
38562 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38563 * sysdeps/x86_64/configure: Regenerated.
38564
5908bf46
RM
385652012-08-14 Roland McGrath <roland@hack.frob.com>
38566
38567 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38568 * elf/dl-lookup.c: Likewise.
5908bf46 38569
f2c05b9e
JM
385702012-08-14 Joseph Myers <joseph@codesourcery.com>
38571
38572 * sysdeps/unix/sysv/linux/kernel-features.h
38573 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38574 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38575 unconditionally.
38576 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38577 unconditionally.
38578 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38579 condition on __ASSUME_CLONE_THREAD_FLAGS.
38580
e11f5155
AJ
385812012-08-14 Andreas Jaeger <aj@suse.de>
38582
38583 * sysdeps/i386/fpu/libm-test-ulps: Update.
38584
51a9ba86
MK
385852012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38586
2fdd4f78
AJ
38587 * include/atomic.h (atomic_exchange_and_add): Split into ...
38588 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38589 New atomic macros.
51a9ba86 38590
ba6cba9e
MT
385912012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38592
38593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38594
42443a47
JL
385952012-08-13 Jeff Law <law@redhat.com>
38596
38597 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38598 null byte in the output string.
38599
121dce05
JM
386002012-08-10 Joseph Myers <joseph@codesourcery.com>
38601
38602 * sysdeps/unix/sysv/linux/kernel-features.h
38603 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38604 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38605 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38606 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38607 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38608 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38609 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38610
bf51f568
JL
386112012-08-09 Jeff Law <law@redhat.com>
38612
38613 [BZ #13939]
38614 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38615 When avoid_arena is set, don't retry in the that arena. Pick the
38616 next one, whatever it might be.
38617 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38618 (arena_lock): Pass in new parameter to arena_get2.
38619 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38620 arena_get2.
38621 (__libc_malloc): Unify retrying after main arena failure with
38622 __libc_memalign version.
38623 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38624
f85fa270
L
386252012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38626
38627 [BZ #14166]
38628 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38629 to __redirect_strstr.
38630 (__strstr_sse42): Use typeof __redirect_strstr.
38631 (__strstr_ia32): Likewise.
38632 (__libc_strstr): New prototype.
38633 (strstr): Renamed to ...
38634 (__libc_strstr): This.
38635 (strstr): New strong alias of __libc_strstr.
38636 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38637 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38638 __redirect_time.
38639 Include <time.h>.
38640 (__libc_time): New prototype.
38641 (time_ifunc): Replace time with __libc_time.
38642 (time): New strong alias and hidden definition of __libc_time.
38643 (__GI_time): Remove strong alias.
38644 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38645 Include <stddef.h>.
38646 (memmove): Redefined to __redirect_memmove.
38647 (__memmove_sse2): Use typeof __redirect_memmove.
38648 (__memmove_ssse3): Likewise.
38649 (__memmove_ssse3_back): Likewise.
38650 (__libc_memmove): New prototype.
38651 (memmove): Renamed to ...
38652 (__libc_memmove): This.
38653 (memmove): New strong alias of __libc_memmove.
38654
33b4a91e
MS
386552012-08-08 Mark Salter <msalter@redhat.com>
38656
38657 * elf/elf.h
38658 (R_MN10300_TLS_GD): Define.
38659 (R_MN10300_TLS_LD): Likewise.
38660 (R_MN10300_TLS_LDO): Likewise.
38661 (R_MN10300_TLS_GOTIE): Likewise.
38662 (R_MN10300_TLS_IE): Likewise.
38663 (R_MN10300_TLS_LE): Likewise.
38664 (R_MN10300_TLS_DTPMOD): Likewise.
38665 (R_MN10300_TLS_DTPOFF): Likewise.
38666 (R_MN10300_TLS_TPOFF): Likewise.
38667 (R_MN10300_SYM_DIFF): Likewise.
38668 (R_MN10300_ALIGN): Likewise.
38669 (R_MN10300_NUM): Update.
38670
b36137f1
JM
386712012-08-08 Joseph Myers <joseph@codesourcery.com>
38672
38673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38674 Remove.
38675
cdd915fd
RM
386762012-08-08 Roland McGrath <roland@hack.frob.com>
38677
a2433aac
RM
38678 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38679
cdd915fd
RM
38680 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38681 sysdeps/unix -> sysdeps/posix move.
38682 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38683
bf9b740a
AM
386842012-08-07 Allan McRae <allan@archlinux.org>
38685
38686 [BZ #14303]
38687 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38688 (SUNOS_CPP): Likewise.
38689 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38690 not found.
38691 (open_input): Call CPP using execvp.
38692
93df14ee
JM
386932012-08-07 Joseph Myers <joseph@codesourcery.com>
38694
38695 * sysdeps/unix/sysv/linux/kernel-features.h
38696 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38697 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38698 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38699 (__ASSUME_WAITID_SYSCALL): Likewise.
38700 * sysdeps/unix/sysv/linux/dl-execstack.c
38701 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38702 code unconditional.
38703 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38704 conditional code.
38705 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38706 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38707 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38708 code.
38709 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38710 unconditional.
38711 [__ASSUME_WAITID_SYSCALL]: Likewise.
38712 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38713
d34689de
RM
387142012-08-07 Roland McGrath <roland@hack.frob.com>
38715
a281decc
RM
38716 * sysdeps/unix/closedir.c: Renamed to ...
38717 * sysdeps/posix/closedir.c: ... here.
38718 * sysdeps/unix/dirfd.c: Renamed to ...
38719 * sysdeps/posix/dirfd.c: ... here.
38720 * sysdeps/unix/dirstream.h: Renamed to ...
38721 * sysdeps/posix/dirstream.h: ... here.
38722 * sysdeps/unix/fdopendir.c: Renamed to ...
38723 * sysdeps/posix/fdopendir.c: ... here.
38724 * sysdeps/unix/opendir.c: Renamed to ...
38725 * sysdeps/posix/opendir.c: ... here.
38726 * sysdeps/unix/readdir.c: Renamed to ...
38727 * sysdeps/posix/readdir.c: ... here.
38728 * sysdeps/unix/readdir_r.c: Renamed to ...
38729 * sysdeps/posix/readdir_r.c: ... here.
38730 * sysdeps/unix/rewinddir.c: Renamed to ...
38731 * sysdeps/posix/rewinddir.c: ... here.
38732 * sysdeps/unix/seekdir.c: Renamed to ...
38733 * sysdeps/posix/seekdir.c: ... here.
38734 * sysdeps/unix/telldir.c: Renamed to ...
38735 * sysdeps/posix/telldir.c: ... here.
38736 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38737 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38738 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38739 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38740
22895b47
RM
38741 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38742 * bits/fcntl.h: ... here.
38743
707a53b6
RM
38744 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38745 not 0.
38746 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38747 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38748 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38749 (struct flock): Move l_start, l_len to the beginning.
38750 Use __pid_t for l_pid.
38751 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38752 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38753 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38754 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38755 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38756 [__USE_LARGEFILE64] (struct flock64): New type.
38757 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38758
f0bd3e25
RM
38759 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38760 * bits/dirent.h: ... here.
38761
d34689de
RM
38762 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38763 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38764
6dad2c06
JM
387652012-08-07 Joseph Myers <joseph@codesourcery.com>
38766
38767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38768 Change from 2.6.0 to 2.6.16.
38769 * sysdeps/unix/sysv/linux/configure: Regenerated.
38770 * sysdeps/unix/sysv/linux/kernel-features.h
38771 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38772 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38773 version.
38774 (__ASSUME_UTIMES): Likewise.
38775 (__ASSUME_CLONE_STOPPED): Remove.
38776 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38777 architectures, not kernel version.
38778 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38779 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38780 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38781 (__ASSUME_WAITID_SYSCALL): Likewise.
38782 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38783 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38784 * README: State 2.6.16 as minimum Linux kernel version. Do not
38785 refer to older versions.
38786
03af9520
RM
387872012-08-06 Roland McGrath <roland@hack.frob.com>
38788
8e49df1d
RM
38789 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38790 Define alphasort64 as an alias.
38791 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38792 Define versionsort64 as an alias.
38793 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38794 Define scandir64 as an alias.
38795 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38796 Define scandirat64 as an alias.
38797 * dirent/alphasort64.c (alphasort64):
38798 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38799 * dirent/versionsort64.c: Likewise.
38800 * dirent/scandir64.c: Likewise.
38801 * dirent/scandirat64.c: Likewise.
38802 * sysdeps/wordsize-64/alphasort.c: File removed.
38803 * sysdeps/wordsize-64/alphasort64.c: File removed.
38804 * sysdeps/wordsize-64/scandir.c: File removed.
38805 * sysdeps/wordsize-64/scandir64.c: File removed.
38806 * sysdeps/wordsize-64/scandirat.c: File removed.
38807 * sysdeps/wordsize-64/scandirat64.c: File removed.
38808 * sysdeps/wordsize-64/versionsort.c: File removed.
38809 * sysdeps/wordsize-64/versionsort64.c: File removed.
38810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38811 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38818
38819 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38821 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38823 [defined __arch64__ || defined __sparcv9]
38824 (__INO_T_MATCHES_INO64_T): New macro.
38825 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38826 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38827 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38828 * sysdeps/unix/sysv/linux/bits/dirent.h
38829 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38830 (_DIRENT_MATCHES_DIRENT64): New macro.
38831
03af9520
RM
38832 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38833 Define lockf64 as an alias.
38834 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38835 Define fseeko64 as an alias.
38836 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38837 Define ftello64 as an alias.
38838 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38839 Define _IO_fgetpos64 and fgetpos64 as aliases.
38840 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38841 Define _IO_fsetpos64 and fsetpos64 as aliases.
38842 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38843 Conditionalize body on this.
38844 * libio/fseeko64.c: Likewise.
38845 * libio/ftello64.c: Likewise.
38846 * libio/iofgetpos64.c: Likewise.
38847 * libio/iofsetpos64.c: Likewise.
38848 * sysdeps/wordsize-64/lockf.c: File removed.
38849 * sysdeps/wordsize-64/lockf64.c: File removed.
38850 * sysdeps/wordsize-64/fseeko.c: File removed.
38851 * sysdeps/wordsize-64/fseeko64.c: File removed.
38852 * sysdeps/wordsize-64/ftello.c: File removed.
38853 * sysdeps/wordsize-64/ftello64.c: File removed.
38854 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38855 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38856 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38857 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38858 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38859 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38860 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38861 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38862 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38863 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38867 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38868
38869 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38871 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38873 [defined __arch64__ || defined __sparcv9]
38874 (__OFF_T_MATCHES_OFF64_T): New macro.
38875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38876 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38878 (__OFF_T_MATCHES_OFF64_T): New macro.
38879
c5757acd
L
388802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38881
38882 * stdlib/secure-getenv.c (__secure_getenv): Replace
38883 GLIBC_2_16 with GLIBC_2_17.
38884
3a31811e
L
388852012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38886
38887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38889
faa2bccb
DM
388902012-08-03 David S. Miller <davem@davemloft.net>
38891
38892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38893
85fe1997
JM
388942012-08-03 Joseph Myers <joseph@codesourcery.com>
38895
38896 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38897 Remove.
38898 (__ASSUME_CORRECT_SI_PID): Likewise.
38899 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38900 (__ASSUME_TMPFS_NAME): Likewise.
38901 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38902 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38903 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38904 (HAVE_AUX_SECURE): Make definition unconditional.
38905 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38906 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38907
4f75b7a0
RM
389082012-08-03 Roland McGrath <roland@hack.frob.com>
38909
38910 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38911 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38912 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38913 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38914 __eloop_threshold instead of SYMLOOP_MAX.
38915
38916 * sysdeps/generic/eloop-threshold.h: New file.
38917 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38918 of MAXSYMLINKS.
38919 * elf/chroot_canon.c (chroot_canon): Likewise.
38920
7aab07e4
JM
389212012-08-03 Joseph Myers <joseph@codesourcery.com>
38922
38923 [BZ #13717]
38924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38925 Change to 2.6.0 everywhere.
38926 * sysdeps/unix/sysv/linux/configure: Regenerated.
38927 * sysdeps/unix/sysv/linux/kernel-features.h
38928 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38929 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38930 kernel versions.
38931 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38932 (__ASSUME_FUTEX_REQUEUE): Remove.
38933 (__ASSUME_STATFS64): Define unconditionally.
38934 (__ASSUME_AT_SECURE): Likewise.
38935 (__ASSUME_CORRECT_SI_PID): Likewise.
38936 (__ASSUME_TGKILL): Define without depending on kernel version for
38937 i386.
38938 (__ASSUME_UTIMES): Likewise.
38939 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38940 kernel version.
38941 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38942 (__ASSUME_TMPFS_NAME): Likewise.
38943 * README: Update reference to Linux kernel versions.
38944
b67e9372
MP
389452012-08-02 Marek Polacek <polacek@redhat.com>
38946
1f529f7d 38947 [BZ# 14150]
b67e9372
MP
38948 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38949 libc_cv_asm_type_prefix with %.
38950 * configure: Regenerated.
d2441631
RM
38951 * include/libc-symbols.h: Remove comment about
38952 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38953 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38954 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38955 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38956 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38957 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38958 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38959 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38960 * elf/tst-unique2mod1.c: Likewise.
38961 * elf/tst-unique1mod2.c: Likewise.
38962 * elf/tst-unique1mod1.c: Likewise.
38963 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38964 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38965 Replace ASM_TYPE_DIRECTIVE with .type.
38966 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38967 * sysdeps/i386/sysdep.h: Likewise.
38968 * sysdeps/x86_64/sysdep.h: Likewise.
38969 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38971 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38972 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38973 * sysdeps/powerpc/powerpc32/sysdep.h:
38974 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38975 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38976 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38977 * sysdeps/i386/fpu/e_powf.S: Likewise.
38978 * sysdeps/i386/fpu/e_expl.S: Likewise.
38979 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38980 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38981 * sysdeps/i386/fpu/e_pow.S: Likewise.
38982 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38983 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38984 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38985 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38986 * sysdeps/i386/fpu/e_log2.S: Likewise.
38987 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38988 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38989 * sysdeps/i386/fpu/e_powl.S: Likewise.
38990 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38991 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38992 * sysdeps/i386/fpu/e_logl.S: Likewise.
38993 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38994 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38995 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38996 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38997 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38998 * sysdeps/i386/fpu/e_log.S: Likewise.
38999 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39000 * sysdeps/i386/fpu/e_logf.S: Likewise.
39001 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39002 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39003 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39004 * sysdeps/i386/fpu/e_log10.S: Likewise.
39005 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39006 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39007 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39008 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39009 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39011 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39012 * sysdeps/i386/i686/strtok.S: Likewise.
39013 * sysdeps/i386/i386-mcount.S: Likewise.
39014 * sysdeps/i386/strtok.S: Likewise.
39015 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39016 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39017 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39018 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39019 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39020 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39021 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39022 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39023 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39024 * sysdeps/x86_64/_mcount.S: Likewise.
39025 * sysdeps/x86_64/strtok.S: Likewise.
39026 * sysdeps/sh/_mcount.S: Likewise.
39027
2747bf9a
RM
390282012-08-01 Roland McGrath <roland@hack.frob.com>
39029
39030 * libio/iofopen.c: Include <fcntl.h>.
39031 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39032 (_IO_fopen64, fopen64): Define as aliases.
39033 * libio/iofopen64.c: Include <fcntl.h>.
39034 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39035 Conditionalize body on this.
39036 * sysdeps/wordsize-64/iofopen.c: File removed.
39037 * sysdeps/wordsize-64/iofopen64.c: File removed.
39038
3fb791b8
MP
390392012-08-01 Marek Polacek <polacek@redhat.com>
39040
39041 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39042 Use dlfcn directly instead of a variable.
39043 (binfmt-subdir): Do not define.
39044 (dlfcn): Likewise.
39045
a9f1039f
JM
390462012-08-01 Joseph Myers <joseph@codesourcery.com>
39047
23bddc06
JM
39048 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39049 Remove all definitions.
39050 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39051 <kernel-features.h>.
39052 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39053 (miss_F_GETOWN_EX): Remove all definitions.
39054 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39055 macro definition.
39056 [!__ASSUME_FCNTL64]: Remove conditional code.
39057 [__ASSUME_FCNTL64]: Make code unconditional.
39058 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39059 <kernel-features.h>.
39060 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39061 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39062 (lockf64) [__NR_fcntl64]: Make code unconditional.
39063 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39064
a9f1039f
JM
39065 * sysdeps/unix/sysv/linux/kernel-features.h
39066 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39067 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39068 Make code unconditional.
39069 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39070 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39072 [__NR_vfork]: Make code unconditional.
39073 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39074 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39076 [__NR_vfork]: Make code unconditional.
39077 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39078 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39079
09c0ee5f
RM
390802012-08-01 Roland McGrath <roland@hack.frob.com>
39081
48aec5b9
RM
39082 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39083 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39084
cd97c966
RM
39085 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39086 Define mkstemp64 as an alias.
3f55550c
RM
39087 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39088 Define mkstemps64 as an alias.
cd97c966
RM
39089 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39090 Define mkostemp64 as an alias.
b8625cfc
RM
39091 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39092 Define mkostemps64 as an alias.
cd97c966
RM
39093 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39094 Conditionalize body on this.
39095 * misc/mkostemp64.c: Likewise.
b8625cfc 39096 * misc/mkostemps64.c: Likewise.
3f55550c 39097 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39098 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39099 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39100 * sysdeps/wordsize-64/mkostemp.c: File removed.
39101 * sysdeps/wordsize-64/mkstemp.c: File removed.
39102 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39104 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39105 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39106
09c0ee5f
RM
39107 [BZ #14138]
39108 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39109 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39110 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39111 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39112
39113 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39114 compat_symbol macros from <shlib-compat.h> rather than the underlying
39115 default_symbol_version and symbol_version macros, so that DEFAULT
39116 lines in shlib-versions are respected.
39117 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39118
7e66ee51
FW
391192012-08-01 Florian Weimer <fweimer@redhat.com>
39120
39121 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39122 Declare with warn_unused_result.
39123 (setgid, setregid, setegid, setresgid): Likewise.
39124 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39125 Likewise.
39126 * WUR-REPORT: Remove set*id functions.
39127
d2a54255
PT
391282012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39129
39130 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39131
7ecdb005
RM
391322012-07-31 Roland McGrath <roland@hack.frob.com>
39133
b4180a5e 39134 [BZ #10191]
789bd351
RM
39135 * include/sys/socket.h (__libc_accept, __libc_accept4):
39136 Add attribute_hidden.
39137 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39138
40ce302d
RM
39139 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39140 use of PTR_MANGLE.
39141 * inet/getnetgrent_r.c (setup): Likewise.
39142
7ecdb005
RM
39143 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39144
e2eabb2c
DM
391452012-07-31 David S. Miller <davem@davemloft.net>
39146
39147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39148
d0419dbf
JM
391492012-07-31 Joseph Myers <joseph@codesourcery.com>
39150
39151 [BZ #13629]
39152 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39153 value between 1.0 and 2.0 and smaller part has absolute value less
39154 than 1.0.
39155 * math/s_clog10.c (__clog10): Likewise.
39156 * math/s_clog10f.c (__clog10f): Likewise.
39157 * math/s_clog10l.c (__clog10l): Likewise.
39158 * math/s_clogf.c (__clogf): Likewise.
39159 * math/s_clogl.c (__clogl): Likewise.
39160 * math/libm-test.inc (clog_test): Add more tests.
39161 (clog10_test): Likewise.
39162 * sysdeps/i386/fpu/libm-test-ulps: Update.
39163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39164
2bc13872
FW
391652012-07-31 Florian Weimer <fweimer@redhat.com>
39166
39167 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39168 Exit with zero in case no suitable GID is found, and write a
39169 message to standard error.
39170
bea9b193
RM
391712012-07-30 Roland McGrath <roland@hack.frob.com>
39172
39173 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39174 rather than to 1.
39175 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39176 (MAXPATHLEN): Removed.
39177 (NOGROUP, NODEV): New macros.
39178 (setbit, clrbit, isset, isclr): New macros.
39179 (howmany, roundup, powerof2): New macros.
39180 (DEV_BSIZE): New macro.
39181
39182 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39183 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39184
39185 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39186 definition on [!__NO_LONG_DOUBLE_MATH].
39187
39188 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39189 PTR_MANGLE and PTR_DEMANGLE.
39190
39191 * socket/accept4.c (accept4): Rename to __libc_accept4.
39192 Define accept4 as a weak alias.
39193
39194 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39195 on [_DIRENT_HAVE_D_TYPE].
39196 * io/ftw.c (ftw_dir): Likewise.
39197
39198 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39199
39200 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39201
39202 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39203 Use the BSD numbers rather than the arbitrary ones we had.
39204 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39205 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39206 (SIGXCPU, SIGXFSZ): New macros.
39207 (_NSIG): Now 32.
39208
39209 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39210 initializer on [_LIBC_REENTRANT].
39211
39212 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39213 definitions inside [_POSIX_MAPPED_FILES].
39214
39215 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39216
39217 * dirent/opendir.c: Include <fcntl.h>.
39218
39219 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39220 (__libc_getspecific): Likewise.
39221 (__libc_key_create): Likewise.
39222
39223 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39224 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39225 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39226 (tmpfile64): Define as alias.
39227 * sysdeps/wordsize-64/tmpfile.c: File removed.
39228 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39229 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39230 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39231
39232 * stdio-common/vfscanf.c: Include <stdbool.h>.
39233 * nss/makedb.c: Likewise.
39234 * stdio-common/_i18n_number.h: Likewise.
39235 * argp/argp-help.c: Likewise.
39236 * posix/wordexp.c: Likewise.
39237 * sysdeps/posix/spawni.c: Likewise.
39238 * nss/nss_files/files-initgroups.c: Likewise.
39239 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39240 * nss/nss_files/files-initgroups.c: Likewise.
39241 * nss/nss_db/db-netgrp.c: Likewise.
39242 * nss/nss_db/db-initgroups.c: Likewise.
39243 * io/fchmodat.c: Include <sys/stat.h>.
39244
39245 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39246 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39247
39248 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39249 [HAVE_MMAP].
39250
39251 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39252 Add multiple inclusion protection.
39253
e5abc686
DM
392542012-07-27 David S. Miller <davem@davemloft.net>
39255
39256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39257
815e6fa3
GB
392582012-07-27 Gary Benson <gbenson@redhat.com>
39259
39260 [BZ #14298]
39261 * elf/rtld.c: Include <stap-probe.h>.
39262 (dl_main): Added static probes "init_start" and "init_complete".
39263 * elf/dl-load.c: Include <stap-probe.h>.
39264 (lose): Take new parameter "nsid".
39265 Added static probe "map_failed".
39266 (_dl_map_object_from_fd): Pass namespace id to lose.
39267 Added static probe "map_start".
39268 (open_verify): Pass namespace id to lose.
39269 * elf/dl-open.c: Include <stap-probe.h>.
39270 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39271 and "reloc_complete".
39272 * elf/dl-close.c: Include <stap-probe.h>.
39273 (_dl_close_worker): Added static probes "unmap_start" and
39274 "unmap_complete".
39275 * elf/rtld-debugger-interface.txt: New file documenting the above.
39276
9f98c16c
RM
392772012-07-26 Roland McGrath <roland@hack.frob.com>
39278
39279 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39280 rather than a string variable.
39281 * sunrpc/rpc_main.c (h_output): Likewise.
39282 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39283
f3c22df3
PT
392842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39285
39286 * inet/check_native.c: New file.
39287
3129cfc6
JM
392882012-07-26 Joseph Myers <joseph@codesourcery.com>
39289
da865e95
JM
39290 [BZ #13629]
39291 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39292 if larger part has absolute value 1.0.
39293 * math/s_clog10.c (__clog10): Likewise.
39294 * math/s_clog10f.c (__clog10f): Likewise.
39295 * math/s_clog10l.c (__clog10l): Likewise.
39296 * math/s_clogf.c (__clogf): Likewise.
39297 * math/s_clogl.c (__clogl): Likewise.
39298 * math/libm-test.inc (clog_test): Add more tests.
39299 (clog10_test): Likewise.
39300 * sysdeps/i386/fpu/libm-test-ulps: Update.
39301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39302
3129cfc6
JM
39303 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39304 (pltexit): Likewise.
39305 (La_regs): Likewise.
39306 (La_retval): Likewise.
39307 (int_retval): Likewise.
39308 Update #error for removed macros to refer only to definitions in
39309 tst-audit.h.
39310 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39311 macro.
39312 (pltexit): Likewise.
39313 (La_regs): Likewise.
39314 (La_retval): Likewise.
39315 (int_retval): Likewise.
39316 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39317 macro.
39318 (pltexit): Likewise.
39319 (La_regs): Likewise.
39320 (La_retval): Likewise.
39321 (int_retval): Likewise.
39322 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39323 macro.
39324 (pltexit): Likewise.
39325 (La_regs): Likewise.
39326 (La_retval): Likewise.
39327 (int_retval): Likewise.
39328 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39329 macro.
39330 (pltexit): Likewise.
39331 (La_regs): Likewise.
39332 (La_retval): Likewise.
39333 (int_retval): Likewise.
39334 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39335 macro.
39336 (pltexit): Likewise.
39337 (La_regs): Likewise.
39338 (La_retval): Likewise.
39339 (int_retval): Likewise.
39340 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39341 macro.
39342 (pltexit): Likewise.
39343 (La_regs): Likewise.
39344 (La_retval): Likewise.
39345 (int_retval): Likewise.
39346 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39347 macro definitions in tst-audit.h.
39348 * sysdeps/i386/tst-audit.h: New file.
39349 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39350 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39351 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39352 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39353 * sysdeps/sh/tst-audit.h: Likewise.
39354 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39355 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39356 * sysdeps/x86_64/tst-audit.h: Likewise.
39357
bfc07087
AJ
393582012-07-26 Andreas Jaeger <aj@suse.de>
39359
b1b2aaf8
AJ
39360 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39361 ptrace.
39362
39363 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39364 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39365 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39366 PTRACE_O_MASK.
39367 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39368 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39369 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39370
bfc07087
AJ
39371 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39372 value.
39373
39374 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39375 _sigsys.
39376 (si_call_addr, si_syscall, si_arch): Define new macro.
39377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39378 _sigsys.
39379 (si_call_addr, si_syscall, si_arch): Define new marcro.
39380 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39381 _sigsys.
39382 (si_call_addr, si_syscall, si_arch): Define new macro.
39383 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39384 _sigsys.
39385 (si_call_addr, si_syscall, si_arch): Define new macro.
39386
89b4b02f
JM
393872012-07-25 Joseph Myers <joseph@codesourcery.com>
39388
39389 [BZ #13717]
39390 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39391 Change to 2.4.21 where previously 2.4.1.
39392 * sysdeps/unix/sysv/linux/configure: Regenerated.
39393 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39394 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39395 Linux kernel version.
39396 (__ASSUME_STD_AUXV): Remove.
39397 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39398 kernel version.
39399 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39400 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39401 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39402 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39403 (__ASSUME_NETLINK_SUPPORT): Likewise.
39404 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39405 (__no_netlink_support): Remove conditional definition.
39406 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39407 Remove.
39408 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39409 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39410 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39411 (if_nameindex_ioctl): Remove.
39412 (if_nameindex_netlink): Do not handle __no_netlink_support.
39413 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39414 code.
39415 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39416 Remove conditional code.
39417 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39418 code.
39419 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39420 unconditional.
39421 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39422 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39423 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39424 Remove.
39425 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39426 [!__ASSUME_STD_AUXV]: Remove conditional code.
39427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39428 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39429 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39431 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39432 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39433 code.
39434 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39436 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39437 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39438 conditional code.
39439 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39441 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39442 code.
39443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39444 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39445 conditional code.
39446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39447 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39448 code unconditional.
39449 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39450 conditional code.
39451 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39452 unconditional.
39453 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39454 conditional code.
39455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39456 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39457 unconditional.
39458 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39459 conditional code.
39460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39461 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39462 code unconditional.
39463 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39464 conditional code.
39465 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39466 unconditional.
39467 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39468 conditional code.
39469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39470 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39471 code unconditional.
39472 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39473 conditional code.
39474 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39475 unconditional.
39476 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39477 conditional code.
39478
842a39cd
AS
394792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39480
39481 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39483 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39484 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39485 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39486 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39487 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39488 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39489 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39490 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39491 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39492 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39493 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39494 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39495 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39496 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39497 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39499 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39501 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39502 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39504
84b3fd84
FW
395052012-07-25 Florian Weimer <fweimer@redhat.com>
39506
39507 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39508 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39509 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39510 Introduce __libc_secure_getenv.
0c7936d5
FW
39511 * stdlib/Versions (2.17): Add secure_getenv
39512 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39513 * stdlib/secure-getenv.c: Rename __secure_getenv to
39514 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39515 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39516 * stdlib/tst-secure-getenv.c: New.
39517 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39518 * manual/startup.texi (Environment Access): Document
39519 secure_getenv.
84b3fd84
FW
39520 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39521 __libc_secure_getenv.
39522 * inet/ruserpass.c (ruserpass): Likewise.
39523 * malloc/mtrace.c (mtrace): Likewise.
39524 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39525 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39526 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39527 * sysdeps/posix/tempname.c: Likewise. Evaluate
39528 HAVE_SECURE_GETENV.
39529 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39530 __secure_getenv to __libc_secure_getenv.
84b3fd84 39531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39533 Likewise.
39534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39535 Likewise.
39536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39543
56e49b71
JM
395442012-07-25 Joseph Myers <joseph@codesourcery.com>
39545
39546 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39547 (struct La_i86_retval): Likewise.
39548 (struct La_x86_64_regs): Likewise.
39549 (struct La_x86_64_retval): Likewise.
39550 (struct La_x32_regs): Likewise.
39551 (struct La_x32_retval): Likewise.
39552 (struct La_ppc32_regs): Likewise.
39553 (struct La_ppc32_retval): Likewise.
39554 (struct La_ppc64_regs): Likewise.
39555 (struct La_ppc64_retval): Likewise.
39556 (struct La_sh_regs): Likewise.
39557 (struct La_sh_retval): Likewise.
39558 (struct La_s390_32_regs): Likewise.
39559 (struct La_s390_32_retval): Likewise.
39560 (struct La_s390_64_regs): Likewise.
39561 (struct La_s390_64_retval): Likewise.
39562 (struct La_sparc32_regs): Likewise.
39563 (struct La_sparc32_retval): Likewise.
39564 (struct La_sparc64_regs): Likewise.
39565 (struct La_sparc64_retval): Likewise.
39566 (struct audit_ifaces): Remove architecture-specific pltenter and
39567 pltexit members.
39568 * sysdeps/i386/ldsodefs.h: New file.
39569 * sysdeps/powerpc/ldsodefs.h: Likewise.
39570 * sysdeps/s390/ldsodefs.h: Likewise.
39571 * sysdeps/sh/ldsodefs.h: Likewise.
39572 * sysdeps/sparc/ldsodefs.h: Likewise.
39573 * sysdeps/x86_64/ldsodefs.h: Likewise.
39574
354691b7
MP
395752012-07-25 Marek Polacek <polacek@redhat.com>
39576
39577 [BZ #6808]
39578 * math/libm-test.inc (yn_test): Add another test.
39579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39580 to ERANGE when the result is +-Inf.
39581 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39582 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39583 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39584 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39585
bf9e2071
JM
395862012-07-24 Joseph Myers <joseph@codesourcery.com>
39587
39588 * conform/data/time.h-data (NULL): Use macro-constant. Require
39589 equal to 0.
39590 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39591 clock_t.
39592 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39593
57633811
TS
395942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39595
39596 * configure.in <sysdeps resolving>: Correct printing
39597 Implies_before.
39598 * configure: Regenerate.
39599
c23c33b0
TS
396002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39601
39602 * math/w_ilogb.c: Include <limits.h>.
39603 * math/w_ilogbl.c: Likewise.
39604
b5982523
JM
396052012-07-20 Joseph Myers <joseph@codesourcery.com>
39606
39607 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39608 va_copy. Document allowing for unavailable va_copy only as
39609 pre-C99 compatibility.
39610 * manual/string.texi (Copying and Concatenation): Use va_copy
39611 instead of __va_copy in concat example.
39612
ac4ea442
PT
396132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39614
39615 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39616 (__sendto): Use create_address_port. Initialize APORT and deallocate
39617 it if not null.
39618
f98eafbd
PT
39619 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39620 with O_NOLINK passed to __file_name_lookup.
39621
898c7aab
PT
39622 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39623 with O_NOLINK passed to __file_name_lookup.
39624
0ced335a
PT
39625 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39626 negative N or less than NGIDS.
39627
b3404dbd
PT
39628 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39629 type to string_t. Set ERANGE as errno and return it if NAME is not big
39630 enough. Use memcpy instead of strncpy.
39631
0f48659e
JM
396322012-07-20 Joseph Myers <joseph@codesourcery.com>
39633
39634 * elf/Makefile (check-data): Remove.
39635 (localplt.data): New vpath directive.
39636 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39637 instead of $(check-data).
39638 * scripts/data/localplt-generic.data: Move to ...
39639 * sysdeps/generic/localplt.data: ... here.
39640 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39641 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39642 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39644 ... here.
39645 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39647 ... here.
39648 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39650 ... here.
39651 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39653 ... here.
39654 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39656 ... here.
39657 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39659 ... here.
39660
d37cbdaa
AZ
396612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39662
39663 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39664 PPC32 and PPC64 files.
39665 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39666 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39667
46f85fc2
AK
396682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39669
39670 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39671 __makecontext_ret to ...
39672 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39673 ... here and call exit if uc_link is NULL. New file.
39674 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39675 __makecontext_ret.S.
39676 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39677 __makecontext_ret to ...
39678 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39679 ... here and call exit if uc_link is NULL. New file.
39680 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39681 __makecontext_ret.S.
39682
08f43f9b
AK
396832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39684
39685 * elf/elf.h (R_390_IRELATIVE): New definition.
39686 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39687 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39688 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39690 (elf_machine_lazy_rel): Likewise.
39691 * sysdeps/s390/dl-irel.h: New file.
39692 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39693 * sysdeps/s390/s390-64/memset.S: New asm code.
39694 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39695 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39697 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39698 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39699 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39701 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39702 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39703 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39704 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39705 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39706 * sysdeps/s390/s390-32/memset.S: New asm code.
39707 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39708
3b05db33
MP
397092012-07-17 Marek Polacek <polacek@redhat.com>
39710
39711 [BZ #14349]
39712 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39713 * sysdeps/s390/s390-64/configure.in: Likewise.
39714 * sysdeps/sparc/configure.in: Likewise.
39715 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39716 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39717 * sysdeps/i386/configure.in: Likewise.
39718 * sysdeps/x86_64/configure.in: Likewise.
39719 * sysdeps/sh/configure.in: Likewise.
39720 * sysdeps/s390/s390-32/configure: Regenerated.
39721 * sysdeps/s390/s390-64/configure: Likewise.
39722 * sysdeps/x86_64/configure: Likewise.
39723 * sysdeps/sh/configure: Likewise.
39724 * sysdeps/powerpc/powerpc64/configure: Likewise.
39725 * sysdeps/powerpc/powerpc32/configure: Likewise.
39726 * sysdeps/sparc/configure: Likwise.
39727 * sysdeps/i386/configure: Likewise.
39728
a66877c6
MP
39729 * elf/dl-open.c: Comment fixes.
39730
cfc82fd8
JM
397312012-07-17 Joseph Myers <joseph@codesourcery.com>
39732
bd29910a
JM
39733 * Makefile [CXX] (check-data): Remove.
39734 [CXX] (c++-types.data): New vpath directive.
39735 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39736 vpath. Do not allow for C++ type data being missing.
39737 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39738 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39739 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39740 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39741 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39742 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39743 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39745 ... here.
39746 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39748 ... here.
39749 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39751 ... here.
39752 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39754 ... here.
39755 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39757 ... here.
39758 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39760 ... here.
39761 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39763 ... here.
39764 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39766
cfc82fd8
JM
39767 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39768 definitions to architecture-specific files.
39769 (TLS_IE): Likewise.
39770 (TLS_LD): Likewise.
39771 (TLS_GD): Likewise.
39772 * sysdeps/i386/tls-macros.h: New file.
39773 * sysdeps/powerpc/tls-macros.h: Likewise.
39774 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39775 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39776 * sysdeps/sh/tls-macros.h: Likewise.
39777 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39778 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39779 * sysdeps/x86_64/tls-macros.h: Likewise.
39780
f7db3170
TS
397812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39782
07cbfc23
TS
39783 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39784 zero value for regular exit case.
39785
f7db3170
TS
39786 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39787 (__start_context): Preserve zero value for regular exit case.
39788
dc97c227
TS
397892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39790 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39791
39792 * manual/setjmp.texi (setcontext): Clarify normal process
39793 termination when uc_link is the null pointer.
39794 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39795 exit call.
39796
d0cd7d02
AS
397972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39798
39799 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39800 preprocessor. Test for each exception mask separately.
39801
dd318934
AJ
398022012-07-16 Andreas Jaeger <aj@suse.de>
39803
39804 * po/ru.po: Update from translation team.
39805
8048311a
JM
398062012-07-15 Joseph Myers <joseph@codesourcery.com>
39807
39808 * conform/data/string.h-data (NULL): Use macro-constant. Require
39809 equal to 0.
39810 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39811 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39812 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39813 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39814 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39815
b637d46e
AJ
398162012-07-13 Andreas Jaeger <aj@suse.de>
39817
39818 * po/fr.po: Update from translation team.
39819
541428fe
MP
398202012-07-12 Marek Polacek <polacek@redhat.com>
39821
39822 [BZ #14173]
39823 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39824 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39825 loop condition.
39826
ec332e94
JM
398272012-07-12 Joseph Myers <joseph@codesourcery.com>
39828
39829 [BZ #13717]
39830 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39831 Change to 2.4.1 where previously 2.4.0.
39832 * sysdeps/unix/sysv/linux/configure: Regenerated.
39833 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39834 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39835 version.
39836 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39837 (__ASSUME_AT_CLKTCK): Remove.
39838 (__ASSUME_AT_PAGESIZE): Likewise.
39839 (__ASSUME_AT_XID): Likewise.
39840 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39841 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39842 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39843 unconditionally.
39844 (HAVE_AUX_PAGESIZE): Likewise.
39845 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39846 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39847 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39848
7b6e99be
JB
398492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39850
39851 [BZ #14307]
39852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39853 the temporary buffer used to invoke __gethostbyname2_r,
39854 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39855 host_data / struct gaih_addrtuple.
39856 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39857 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39858 header file nss/nsswitch.h.
39859 * nss/nsswitch.h (global scope): Add definition of implementation
39860 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39861 resolv/nss_dns/dns-host.c).
39862
608404eb
AJ
398632012-07-11 Andreas Jaeger <aj@suse.de>
39864
39865 * po/fr.po: Update from translation team.
39866
71220aca
AJ
39867 * po/sv.po: Update from translation team
39868 * po/fr.po: Another update from translation team.
39869
28cfe843
AZ
398702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39871
39872 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39873 for subnormals or multiply small sinh result by itself.
39874 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39876
6b90f981
DM
398772012-07-11 David S. Miller <davem@davemloft.net>
39878
39879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39880
c6825772
AS
398812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39882
39883 [BZ #14347]
39884 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39885 (INTERNAL_MARK): Shift it here.
39886
7b8e0d49
MP
398872012-07-10 Marek Polacek <polacek@redhat.com>
39888
39889 [BZ #14151]
39890 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39891 libc_cv_asm_global_directive with .globl.
39892 * configure: Regenerated.
39893 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39894 with .globl.
39895 * sysdeps/i386/configure: Regenerated.
39896 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39897 with .globl.
39898 * sysdeps/x86_64/configure: Regenerated.
39899 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39900 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39901 * elf/tst-unique2mod2.c: Likewise.
39902 * elf/tst-unique2mod1.c: Likewise.
39903 * elf/tst-unique1mod2.c: Likewise.
39904 * elf/tst-unique1mod1.c: Likewise.
39905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39906 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39909 * sysdeps/mach/sysdep.h: Likewise.
39910 * sysdeps/i386/sysdep.h: Likewise.
39911 * sysdeps/i386/i386-mcount.S: Likewise.
39912 * sysdeps/x86_64/_mcount.S: Likewise.
39913 * sysdeps/x86_64/sysdep.h: Likewise.
39914 * sysdeps/sh/_mcount.S: Likewise.
39915 * sysdeps/sh/sysdep.h: Likewise.
39916 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39917 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39918 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39919 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39920 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39921 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39922 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39923 * locale/localeinfo.h: Likewise.
39924 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39925 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39926
6c55cda3
RM
399272012-07-09 Roland McGrath <roland@hack.frob.com>
39928
39929 [BZ #14336]
39930 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39931 system".
39932 * manual/message.texi (The Uniforum approach): Likewise.
39933 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39934 (glibc iconv Implementation): Likewise.
39935
638a572e
JM
399362012-07-09 Joseph Myers <joseph@codesourcery.com>
39937
39938 [BZ #14337]
39939 * math/s_clog.c (__clog): Avoid scaling a value down where that
39940 could result in underflow.
39941 * math/s_clog10.c (__clog10): Likewise.
39942 * math/s_clog10f.c (__clog10f): Likewise.
39943 * math/s_clog10l.c (__clog10l): Likewise.
39944 * math/s_clogf.c (__clogf): Likewise.
39945 * math/s_clogl.c (__clogl): Likewise.
39946 * math/libm-test.inc (clog_test): Add more tests.
39947 (clog10_test): Likewise.
39948 * sysdeps/i386/fpu/libm-test-ulps: Update.
39949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39950
261f4859
AS
399512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39952
0abaf3e4
AS
39953 [BZ #14283]
39954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39955 by 7 not 8 to examine high bit of fractional part.
39956
261f4859
AS
39957 [BZ #14042]
39958 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39959 for call to __mcount_internal.
39960 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39961 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39962 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39963
f17ac40d
JM
399642012-07-06 Joseph Myers <joseph@codesourcery.com>
39965
9ad63c23
JM
39966 [BZ #14154]
39967 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39968 approximation for values within 0x1p-13f of an odd multiple of
39969 pi/4.
39970 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39971 exception. Add more tests.
39972 * sysdeps/i386/fpu/libm-test-ulps: Update.
39973
f17ac40d
JM
39974 [BZ #6778]
39975 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39976 inputs and return -1 for them. Do not check for +Inf in case not
39977 reachable for +Inf.
39978 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39979 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39981 and return -1 for them. Do not check for +Inf in case not
39982 reachable for +Inf.
39983 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39984 define.
39985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39986 and return -1 for them. Do not check for +Inf in case not
39987 reachable for +Inf.
39988 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39989 spurious underflow.
39990 * sysdeps/i386/fpu/libm-test-ulps: Update.
39991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39992
fb21f89b
MF
399932012-07-06 Mike Frysinger <vapier@gentoo.org>
39994
39995 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39996
cdfe2c5e
JM
399972012-07-05 Joseph Myers <joseph@codesourcery.com>
39998
39999 [BZ #14157]
40000 [BZ #14331]
40001 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40002 could result in spurious underflow. Scale down values above
40003 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40004 * math/s_csqrtf.c (__csqrtf): Likewise.
40005 * math/s_csqrtl.c (__csqrtl): Likewise.
40006 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40007 spurious underflow.
40008 * sysdeps/i386/fpu/libm-test-ulps: Update.
40009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40010
70d35b67
AS
400112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40012
704bc459
AS
40013 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40014 xopen-msg.sed.
40015 * catgets/xopen-msg.awk: New file.
40016 * catgets/xopen-msg.sed: Removed.
40017
70d35b67
AS
40018 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40019 po2text.sed.
40020 * intl/po2test.awk: New file.
40021 * intl/po2test.sed: Removed.
40022
ca61cf32
JM
400232012-07-04 Joseph Myers <joseph@codesourcery.com>
40024
40025 [BZ #14328]
40026 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40027 or multiply small sinh result by itself.
40028 * math/s_ctanf.c (__ctanf): Likewise.
40029 * math/s_ctanh.c (__ctanh): Likewise.
40030 * math/s_ctanhf.c (__ctanhf): Likewise.
40031 * math/s_ctanhl.c (__ctanhl): Likewise.
40032 * math/s_ctanl.c (__ctanl): Likewise.
40033 * math/libm-test.inc (ctan_test_tonearest): New function.
40034 (ctan_test_towardzero): Likewise.
40035 (ctan_test_downward): Likewise.
40036 (ctan_test_upward): Likewise.
40037 (ctanh_test_tonearest): Likewise.
40038 (ctanh_test_towardzero): Likewise.
40039 (ctanh_test_downward): Likewise.
40040 (ctanh_test_upward): Likewise.
40041 (main): Call these new functions.
40042 * sysdeps/i386/fpu/libm-test-ulps: Update.
40043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40044
ca48a46a
MF
400452012-07-03 Mike Frysinger <vapier@gentoo.org>
40046
40047 * .gitignore: Delete /ports entry.
40048
9d63d37d
AJ
400492012-07-03 Andreas Jaeger <aj@suse.de>
40050
40051 * po/bg.po: Update from translation team.
40052 * po/cs.po: Likewise.
40053 * po/de.po: Likewise.
40054 * po/hr.po: Likewise.
40055 * po/nl.pl: Likewise.
40056 * po/pl.po: Likewise.
40057 * po/vi.po: Likewise.
40058
370ca3d2
JM
400592012-07-03 Joseph Myers <joseph@codesourcery.com>
40060
95f5a9a8
JM
40061 * Makeconfig [!+link] (+link-before-libc): New variable.
40062 [!+link] (+link-after-libc): Likewise.
40063 [!+link] (+link-tests): Likewise.
40064 [!+link] (+link): Define in terms of $(+link-before-libc) and
40065 $(+link-after-libc).
40066 [!+link-static] (+link-static-before-libc): New variable.
40067 [!+link-static] (+link-static-after-libc): Likewise.
40068 [!+link-static] (+link-static-tests): Likewise.
40069 [!+link-static] (+link-static): Define in terms of
40070 $(+link-static-before-libc) and $(+link-static-after-libc).
40071 [build-shared] (link-libc-before-gnulib): New variable.
40072 [build-shared] (link-libc-tests): Likewise.
40073 [build-shared] (link-libc): Define in terms of
40074 $(link-libc-before-gnulib).
40075 [!build-shared] (link-libc-tests): New variable.
40076 (link-libc-static-tests): New variable.
40077 [!gnulib] (gnulib-arch): New variable.
40078 [!gnulib] (gnulib-tests): Likewise.
40079 [!gnulib] (static-gnulib-arch): Likewise.
40080 [!gnulib] (static-gnulib-tests): Likewise.
40081 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40082 Define with "=" instead of ":=".
40083 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40084 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40085 * Rules (binaries-all-notests): New variable.
40086 (binaries-all-tests): Likewise.
40087 (binaries-static-notests): Likewise.
40088 (binaries-static-tests): Likewise.
40089 (binaries-all): Define using $(binaries-all-notests) and
40090 $(binaries-all-tests).
40091 (binaries-static): Define using $(binaries-static-notests) and
40092 $(binaries-static-tests).
40093 (binaries-shared-tests): New variable.
40094 (binaries-shared-notests): Likewise.
40095 (binaries-shared): Remove variable.
40096 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40097 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40098 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40099 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40100 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40101 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40102 * elf/Makefile (sln-modules): New variable.
40103 (extra-objs): Add $(sln-modules:=.o).
40104 (ldconfig-modules): Add static-stubs.
40105 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40106 * elf/static-stubs.c: New file.
40107
7a845b2c
JM
40108 [BZ #14283]
40109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40110 by 7 not 8 to examine high bit of fractional part. Use volatile
40111 variables when splitting into final array of floats if
40112 __FLT_EVAL_METHOD__ != 0.
40113 * math/libm-test.inc (cos_test): Add another test.
40114 (sin_test): Likewise.
40115 * sysdeps/i386/fpu/libm-test-ulps: Update.
40116
e2283f38
JM
40117 [BZ #14273]
40118 * math/libm-test.inc (cosh_test): Add more tests.
40119
370ca3d2
JM
40120 * version.h (RELEASE): Set to "development".
40121 (VERSION): Set to "2.16.90".
40122
ee9247c3
CD
401232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40124
40125 * NEWS: Update copyright. Remove last-updated date.
40126 Mention math library bug fixes and timezone data changes.
40127 * README: Mention GNU/Hurd, x32, and HPPA support status.
40128
4648c381
TS
401292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40130
40131 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40132
aac78a43
AJ
401332012-06-27 Andreas Jaeger <aj@suse.de>
40134
40135 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40136
ed3dbfad
AJ
401372012-06-25 Andreas Jaeger <aj@suse.de>
40138
40139 * sysdeps/s390/fpu/libm-test-ulps: Update.
40140
4d0ee855
AS
401412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40142 Thomas Schwinge <thomas@codesourcery.com>
40143
40144 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40145 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40147 fanotify_mark.
40148
af1bce34
TS
401492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40150
a9fa33ba
TS
40151 * sysdeps/mach/start.c: Remove file.
40152 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40153 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40154 * sysdeps/sh/init-first.c: Likewise.
40155
58f902b8
TS
40156 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40157 registers for frame unwinding purposes, add CFI directives.
40158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40159 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40160 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40161 Likewise.
40162
1518f58b
TS
40163 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40164 __fortify_fail returning.
40165 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40166
db9b5059
TS
40167 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40168 sysdeps/sh/____longjmp_chk.S.
40169 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40170 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40171 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40172 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40173
967705fe
TS
40174 * sysdeps/sh/abort-instr.h: New file.
40175 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40176 process in case exit returns.
40177
a9def8c4
TS
40178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40179 initialize the GOT register before use.
40180
2a649725
TS
40181 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40182 calculation of ARGC > 4.
40183
af1bce34
TS
40184 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40185 meaningful names to some local labels.
40186
d230f50a
KK
401872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40188 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40189
40190 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40191 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40192 (__arch_compare_and_exchange_val_16_acq): Likewise.
40193 (__arch_compare_and_exchange_val_32_acq): Likewise.
40194 (atomic_exchange_and_add): Fix gUSA sequence.
40195 (atomic_add): Likewise.
40196 (atomic_add_negative): Likewise.
40197 (atomic_add_zero): Likewise.
40198 (atomic_bit_test_set): Likewise.
40199
0479b305
AS
402002012-06-22 Andreas Schwab <schwab@redhat.com>
40201
40202 [BZ #13579]
40203 * include/link.h (struct link_map): Add l_free_initfini.
40204 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40205 l_initfini.
40206 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40207 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40208 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40209 set.
40210
0e3933b9
CD
402112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40212
40213 * configure.in: Use AC_LANG_SOURCE.
40214 * configure: Regenerate.
40215
4248b1b1
RM
402162012-06-22 Roland McGrath <roland@hack.frob.com>
40217
40218 * configure.in (libc_cv_localstatedir): New substituted variable.
40219 * configure: Regenerated.
40220 * config.make.in (localstatedir): New variable, substituted from
40221 libc_cv_localstatedir.
40222 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40223 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40224 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40225 * sysdeps/gnu/configure: Regenerated.
40226
006dd861
JL
402272012-06-21 Jeff Law <law@redhat.com>
40228
40229 [BZ #14277]
40230 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40231 free. Simplify list management for _LIBC case.
40232
79662d42
JM
402332012-06-21 Joseph Myers <joseph@codesourcery.com>
40234
b7abb4bf
JM
40235 [BZ #14273]
40236 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40237 Clear sign bit of 64-bit integer value before comparing against
40238 overflow value.
40239
79662d42
JM
40240 * sysdeps/mach/configure: Regenerated.
40241
1f150908
L
402422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40243
40244 [BZ #14278]
40245 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40246
28363bbf
JL
402472012-06-21 Jeff Law <law@redhat.com>
40248
40249 [BZ #13882]
40250 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40251 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40252 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40253 * elf/dl-open.c (dl_open_worker): Likewise.
40254
09615db4
CD
402552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40256
40257 * scripts/list-sources.sh: Scan PORTS for translations.
40258 * po/libc.pot: Regenerated.
40259
2174c6dd
AJ
402602012-06-21 Andreas Jaeger <aj@suse.de>
40261
40262 [BZ #12194]
40263 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40264 warning.
40265 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40266 * bits/byteswap-16.h (__bswap_16): Likewise.
40267 * bits/byteswap.h (__bswap_constant_16): Likewise.
40268
3ee947b1
L
402692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40270
40271 [BZ #14117]
a2f34833
L
40272 * sysdeps/i386/fpu_control.h: Removed.
40273 * sysdeps/x86_64/fpu_control.h: Moved to ...
40274 * sysdeps/x86/fpu_control.h: Here.
40275
3ee947b1
L
40276 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40277 (_FPU_SETCW): Likewise.
40278
ed1825f8
L
402792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40280
25f1282a
L
40281 [BZ #14117]
40282 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40283 * sysdeps/x86/fpu/bits/mathinline.h: This.
40284 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40285
ed1825f8
L
40286 [BZ #14050]
40287 [BZ #14117]
40288 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40289 functions if __x86_64__ is defined.
40290
36d54b74
CLT
402912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40292
40293 * string/endian.h: Add !__ASSEMBLER__ condition for including
40294 conversion interfaces.
40295
10285c21
JM
402962012-06-15 Joseph Myers <joseph@codesourcery.com>
40297
40298 [BZ #14241]
40299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40300 of ABS(x) in calculating zero to negative powers other than odd
40301 integers.
40302 * math/libm-test.inc (pow_test): Add more tests.
40303
06c5abbd
AJ
403042012-06-15 Andreas Jaeger <aj@suse.de>
40305
40306 * manual/contrib.texi (Contributors): Update entry of Liubov
40307 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40308 Machado Filho.
40309
a3aeac40
CH
403102012-06-15 Cyril Hrubis <metan@ucw.cz>
40311
40312 * string/string.h: Add __wur to GNU version of strerror_r.
40313
49bdf4c1
L
403142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40315
40316 [BZ #14229]
40317 * string/Makefile (tests): Add tst-strtok_r.
40318 * string/tst-strtok_r.c: New file.
40319 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40320 RAX_LP/RDX_LP on SAVE_PTR.
40321
834f9b8d
RM
403222012-06-14 Roland McGrath <roland@hack.frob.com>
40323
40324 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40325
75fa1921
JM
403262012-06-14 Joseph Myers <joseph@codesourcery.com>
40327
40328 * libm_test.inc (csqrt_test): Allow more spurious underflow
40329 exceptions.
40330 (j0_test): Likewise.
40331 (j1_test): Likewise.
40332 (y0_test): Likewise.
40333 (y1_test): Likewise.
40334
771766df
CD
403352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40336
40337 * po/Makefile (libc.pot): Use UTF-8 charset.
40338
ceb9e56b
PP
403392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40340
40341 [BZ #14210]
40342 Suppress sign-conversion warning from FD_SET.
40343 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40344 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40345 not unsigned long int.
40346 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40347
ddb28975
L
403482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40349
40350 [BZ #14050]
40351 [BZ #14117]
40352 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40353 __extern_always_inline instead of __extern_inline.
40354 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40355 (__signbit): Likewise.
40356 (__signbitl): Support C++ namespace.
40357 (lrintf): New inline function.
40358 (lrint): Likewise.
40359 (llrintf): Likewise.
40360 (llrint): Likewise.
40361 (fmaxf): Likewise.
40362 (fmax): Likewise.
40363 (fminf): Likewise.
40364 (fmin): Likewise.
40365 (rint): Likewise.
40366 (rintf): Likewise.
40367 (ceil): Likewise.
40368 (ceilf): Likewise.
40369 (floor): Likewise.
40370 (floorf): Likewise.
40371 (nearbyint): Likewise.
40372 (nearbyintf): Likewise.
40373
d7b4fb26
TS
403742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40375
40376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40377 non-default versions.
40378
eb55f5c2
RM
403792012-06-11 Roland McGrath <roland@hack.frob.com>
40380
40381 [BZ #14218]
40382 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40383
366af02c
TS
403842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40385
99ff6e5c
TS
40386 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40387 (FE_UPWARD, FE_DOWNWARD): Don't define.
40388 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40390
366af02c
TS
40391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40392 reading it.
40393 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40394 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40395
793ea851
KK
403962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40397
40398 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40400 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40401 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40402
a728a38f
L
404032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40404
40405 [BZ #14117]
c08010c7
L
40406 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40407 * sysdeps/i386/fpu/Implies: New file.
40408 * sysdeps/x86_64/fpu/Implies: Likewise.
40409 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40410 * sysdeps/x86/fpu/bits/fenv.h: This.
40411
a728a38f
L
40412 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40413 __SSE_MATH__.
40414
6e230d11
SP
404152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40416
40417 [BZ #14134]
40418 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40419 character 0xffff that matches the last element of the
40420 conversion table.
40421
1b671feb
AZ
404222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40423
40424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40425 fmodl commit.
40426
6043738b
AZ
404272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40428
40429 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40430 values higher than 25.6283.
40431
34ae0b32
AZ
404322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40433
40434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40435 subnormal exponent extraction and add some __builtin_expect.
40436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40437 Fix for subnormal mantissa calculation.
40438
1214ec8f
MF
404392012-06-04 Mike Frysinger <vapier@gentoo.org>
40440
40441 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40442 cpu2 is -1 and errno is not ENOSYS.
40443
f3d1f93c
L
404442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40445
40446 [BZ #14117]
0e4a3cd7
L
40447 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40448 * sysdeps/x86/bits/string.h: This.
40449 * sysdeps/x86_64/bits/string.h: Removed.
40450
6704c645
L
40451 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40452 if not compiling for x86-64, but compiling for >= i486.
40453
48495318
L
40454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40455 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40456
14adcbfc
L
40457 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40458 New macro from Linux kernel 3.4.0.
40459 (FP_XSTATE_MAGIC2): Likewise.
40460 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40461 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40462 (struct _fpx_sw_bytes): New struct.
40463 (struct _xsave_hdr): Likewise.
40464 (struct _ymmh_state): Likewise.
40465 (struct _xstate): Likewise.
40466
68e408ab
L
40467 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40468 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40470 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40471 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40472 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40473
f3d1f93c
L
40474 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40475 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40476 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40477 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40478 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40479 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40480
d9dc34cd
TMQMF
404812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40482
40483 [BZ #13743]
40484 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40485 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40486 (sysdep_headers): Include sys/platform/ppc.h.
40487 * sysdeps/powerpc/test-gettimebase.c: Test for
40488 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40489 * manual/Makefile (appendices): Include platform.texi.
40490 * manual/contrib.texi (Contributors): Update @node pointers.
40491 * manual/maint.texi (Maintenance): Likewise.
40492 (Platform): New node.
40493 * manual/platform.texi: New file. Document the new features.
40494
4af3879c
SP
404952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40496 Jakub Jelinek <jakub@redhat.com>
40497
40498 [BZ #14188]
40499 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40500 where __builtin_expect is unavailable.
40501
2fd6ff13
DM
405022012-06-03 David S. Miller <davem@davemloft.net>
40503
40504 * stdlib/longlong.h: Updated from GCC.
40505
173f7220
AS
405062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40507
40508 [BZ #14042]
40509 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40510 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40511 __mcount_internal.
40512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40513 (GLIBC_2.16): Likewise.
40514
f34a1c6f
L
405152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40516
40517 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40518
88a4576f
JM
405192012-06-01 Joseph Myers <joseph@codesourcery.com>
40520
ea32bcdd
JM
40521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40522 (default-abi): New variable.
40523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40524 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40525 variable.
40526 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40527 Likewise.
40528 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40529 Likewise.
40530 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40531 Likewise.
40532
88a4576f
JM
40533 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40534 definition. Document in comment.
40535
402fe938
DM
405362012-06-01 David S. Miller <davem@davemloft.net>
40537
40538 * stdlib/longlong.h: Updated from GCC.
40539
3553723f
L
405402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40541
40542 [BZ #14117]
3bd872c4
L
40543 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40544 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40545 sys/debugreg.h sys/io.h here.
40546 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40547 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40548 sys/io.h.
40549 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40550 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40551 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40552 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40553 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40554 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40555
3553723f
L
40556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40557 Define only if __x86_64__ is defined.
40558
4842e4fe
JM
405592012-06-01 Joseph Myers <joseph@codesourcery.com>
40560
c5bfe3d5
JM
40561 [BZ #14048]
40562 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40563 Use int64_t for variable i.
40564 * math/libm-test.inc (fmod_test): Add more tests.
40565
4842e4fe
JM
40566 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40567 z computation is not scheduled after fetestexcept.
40568 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40569 Use math_force_eval instead of asm to ensure calculation scheduled
40570 before exception test.
40571 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40572 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40573
efb73488
AJ
405742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40575
40576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40577 computation is not scheduled after fetestexcept.
40578
29bcce7c
L
405792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40580
40581 [BZ #14117]
40582 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40583 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40584
73a68f94
AZ
405852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40586
40587 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40588 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40589
67b6df78
L
405902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40591
edf2933a 40592 [BZ #14117]
ebc64a18
L
40593 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40594 <bits/wordsize.h>.
40595 (__WCHAR_MIN): Support __WORDSIZE == 64.
40596 (__WCHAR_MAX): Likewise.
40597
edf2933a
L
40598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40600
57c6cf40
L
40601 [BZ #14183]
40602 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40603 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40604
67b6df78 40605 [BZ #14117]
8eb6281e
L
40606 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40607 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40608
aac639f4
L
40609 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40610 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40611
67b6df78
L
40612 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40613 Defined to 1 if __x86_64__ isn't defined.
40614 (_STAT_VER_LINUX_OLD): New.
40615 (st_atime): Remove duplicate.
40616 (st_mtime): Likewise.
40617 (st_ctime): Likewise.
40618
1c2cfe81
DM
406192012-05-31 David S. Miller <davem@davemloft.net>
40620
40621 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40622 entries.
40623
5be8418c
AS
406242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40625
e7725326
AS
40626 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40627 gen-libm-test.pl.
40628
5be8418c
AS
40629 [BZ #14132]
40630 * elf/dl-reloc.c: Include <_itoa.h>.
40631 (_dl_reloc_bad_type): Remove use of INTUSE.
40632 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40633 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40634 * stdio-common/psiginfo.c (psiginfo): Likewise.
40635 * stdio-common/psignal.c (psignal): Likewise.
40636 * string/strsignal.c (strsignal): Likewise.
40637 * include/signal.h (_sys_siglist): Declare hidden proto.
40638 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40639 INTVARDEF with libc_hidden_data_def.
40640 * stdio-common/itoa-udigits.c: Likewise.
40641 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40642 (_itoa_lower_digits_internal): Remove declaration.
40643 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40644 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40645 (_sys_sigabbrev_internal): Remove aliases.
40646 (_sys_siglist): Define hidden alias.
40647
507352f1
MT
406482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40649
40650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40651 bits/sysctl.h.
40652
42bbb1c3
L
406532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40654
40655 [BZ #14117]
6bd784b6
L
40656 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40657 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40658
8bca20f0
L
40659 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40660 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40661 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40662 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40663 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40664 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40665
f9e890a9
L
40666 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40668 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40669
471101a1
L
40670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40671 with __addr.
40672 (insw): Likewise.
40673 (insl): Likewise.
40674 (outsb): Likewise.
40675 (outsw): Likewise.
40676 (outsl): Likewise.
40677
6451c862
L
40678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40680 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40681
a254b8c9
L
40682 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40683 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40684 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40685 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40686 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40687 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40688
b8dfdd92
L
40689 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40690 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40691
578cd270
L
40692 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40693 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40694
de662f5f
L
40695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40696 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40698
25653439
L
40699 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40700 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40701 to ...
40702 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40703
6bad24a0
L
40704 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40705 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40706 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40707
42bbb1c3
L
40708 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40709 for x86-64.
40710 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40711
2d10d547
JM
407122012-05-31 Joseph Myers <joseph@codesourcery.com>
40713
40714 * math/math.h (M_El): Use two more decimal places.
40715 (M_LOG2El): Likewise.
40716 (M_LOG10El): Likewise.
40717 (M_LN2l): Likewise.
40718 (M_LN10l): Likewise.
40719 (M_PIl): Likewise.
40720 (M_PI_2l): Likewise.
40721 (M_PI_4l): Likewise.
40722 (M_1_PIl): Likewise.
40723 (M_2_PIl): Likewise.
40724 (M_2_SQRTPIl): Likewise.
40725 (M_SQRT2l): Likewise.
40726 (M_SQRT1_2l): Likewise.
40727
f230c29b
DM
407282012-05-31 David S. Miller <davem@davemloft.net>
40729
40730 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40731 values between float registers.
40732 * sysdeps/sparc/sparc64/memset.S: Likewise.
40733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40734
fed806c3
MF
407352012-05-31 Mike Frysinger <vapier@gentoo.org>
40736
40737 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40738 -D_FORTIFY_SOURCE=1.
40739 (CPPFLAGS-tst-longjmp_chk.c): Define.
40740 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40741 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40742 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40743 CFLAGS-tst-wchar-h.c.
40744
30917259
MP
407452012-05-31 Marek Polacek <polacek@redhat.com>
40746
40747 [BZ #14132]
40748 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40749 __endmntent_internal): Remove declaration.
40750 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40751 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40752 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40753
1c58d5dc
DM
407542012-05-30 David S. Miller <davem@davemloft.net>
40755
40756 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40757 (___Q_simulate_exceptions): Use real FP ops rather than writing
40758 into the %fsr.
40759 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40760 Likewise.
40761
7dc00e0d
L
407622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40763
40764 [BZ #14117]
0bd53985
L
40765 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40766 * sysdeps/x86/bits/xtitypes.h: This.
40767
3a257e66
L
40768 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40769 * sysdeps/x86/bits/wordsize.h: This.
40770
62f62904
L
40771 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40772 * sysdeps/x86/bits/huge_vall.h: This.
40773
404fe9d9
L
40774 * sysdeps/i386/bits/select.h: Removed.
40775 * sysdeps/x86_64/bits/select.h: Renamed to ...
40776 * sysdeps/x86/bits/select.h: This.
40777
d48d0446
L
40778 * sysdeps/i386/bits/setjmp.h: Removed.
40779 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40780 * sysdeps/x86/bits/setjmp.h: This.
40781
7dc00e0d
L
40782 * sysdeps/i386/bits/mathdef.h: Removed.
40783 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40784 * sysdeps/x86/bits/mathdef.h: This.
40785
03277f8f
AS
407862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40787
40788 [BZ #14132]
40789 * include/sys/socket.h (__connect_internal)
40790 (__libc_sa_len_internal): Remove declaration.
40791 (__connect, __libc_sa_len): Declare hidden_proto.
40792 (SA_LEN): Remove use of INTUSE.
40793 * socket/connect.c: Add libc_hidden_def.
40794 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40795 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40796 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40797 alias.
40798 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40799 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40800 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40801 of adding _internal alias.
40802
13764867
L
408032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40804
40805 [BZ #14117]
6bd97696
L
40806 * sysdeps/i386/bits/link.h: Removed.
40807 * sysdeps/i386/bits/linkmap.h: Likewise.
40808 * sysdeps/x86_64/bits/link.h: Renamed to ...
40809 * sysdeps/x86/bits/link.h: This.
40810 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40811 * sysdeps/x86/bits/linkmap.h: This.
40812
f726f0bb
L
40813 * sysdeps/i386/bits/endian.h: Removed.
40814 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40815 * sysdeps/x86/bits/endian.h: This.
40816
13764867
L
40817 * sysdeps/i386/bits/byteswap.h: Removed.
40818 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40819 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40820 * sysdeps/x86/bits/byteswap.h: This.
40821 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40822 * sysdeps/x86/bits/byteswap-16.h: This.
40823 * sysdeps/i386/Implies: Add x86.
40824 * sysdeps/x86_64/Implies: Likewise.
40825
ae251b0b
DM
408262012-05-30 David S. Miller <davem@davemloft.net>
40827
40828 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40829 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40830 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40831 (FP_TRAPPING_EXCEPTIONS): Define.
40832 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40833 (FP_TRAPPING_EXCEPTIONS): Define.
40834 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40835 subnormals only when inexact has been signalled or underflow
40836 exceptions are enabled.
40837 (_FP_PACK_CANONICAL): Likewise.
40838
d5c90867
L
408392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40840
40841 [BZ #14183]
40842 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40843 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40844
63f1549e
RH
408452012-05-30 Richard Henderson <rth@twiddle.net>
40846
8d8f2279
RH
40847 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40848 with #ifndef NOT_IN_libc.
40849
63f1549e
RH
40850 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40851 marked to avoid plt entry.
40852
0ab0291b
L
408532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40854
40855 [BZ #14112]
40856 * Makeconfig (default-abi): New macro.
40857 (abi-includes): Likewise.
40858 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40859 $(abi-$(default-abi)-lib-soname) for soname if defined.
40860 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40861 abi-variants.
40862 * Makefile (installed-stubs): Likewise.
40863 * include/stubs-biarch.h: Removed.
40864 * scripts/lib-names.awk: Only handle one library at a time.
40865 * scripts/soversions.awk: Remove WORDSIZE support.
40866 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40867 entries.
40868 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40869 Removed.
40870 (syscall-list-default-condition): Likewise.
40871 (syscall-list-default-condition): Likewise.
40872 (syscall-list-includes): Likewise.
40873 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40874 syscall-list-* with abi-*. Handle undefined abi-variants.
40875 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40876 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40877 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40878 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40879 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40880 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40881 Removed.
40882 (syscall-list-32-options): Likewise.
40883 (syscall-list-32-condition): Likewise.
40884 (syscall-list-64-options): Likewise.
40885 (syscall-list-64-condition): Likewise.
40886 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40887 macro.
40888 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40889 Renamed to ...
40890 (abi-*): This.
40891 (abi-64-ld-soname): New macro.
40892 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40893 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40894 Renamed to ...
40895 (abi-*): This.
40896 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40897 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40898
4da0431d
JM
408992012-05-30 Joseph Myers <joseph@codesourcery.com>
40900
3a85279c
JM
40901 * sysdeps/unix/sysv/linux/kernel-features.h
40902 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40903 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40904 include <kernel-features.h>.
40905 [!__NR_ftruncate64]: Remove conditional code.
40906 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40907 [__NR_ftruncate64]: Make code unconditional.
40908 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40909 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40910 include <kernel-features.h>.
40911 [!__NR_ftruncate64]: Remove conditional code.
40912 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40913 [__NR_ftruncate64]: Make code unconditional.
40914 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40916 include <kernel-features.h>.
40917 [!__NR_ftruncate64]: Remove conditional code.
40918 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40919 [__NR_ftruncate64]: Make code unconditional.
40920 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40922 include <kernel-features.h>.
40923 [!__NR_ftruncate64]: Remove conditional code.
40924 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40925 [__NR_ftruncate64]: Make code unconditional.
40926 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40927
4da0431d
JM
40928 * configure.in (libc_cv_fpie): Weaken to a compile test using
40929 LIBC_TRY_CC_OPTION.
40930 * configure: Regenerated.
40931
11ef492c
AK
409322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40933
40934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40938 Refreshed.
40939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40945 Refreshed.
40946
d66ef399
DM
409472012-05-27 David S. Miller <davem@davemloft.net>
40948
40949 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40950 (___Q_zero): New.
40951 (__Q_simulate_exceptions): Return void. Change to simulate
40952 exceptions by writing into the %fsr.
40953 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40954 (__Qp_handle_exceptions): Likewise.
40955 (numbers): Delete.
40956 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40957 __Qp_handle_exceptions.
40958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40959 __Qp_handle_exceptions.
40960 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40961 as unused and give dummy FP_RND_NEAREST initializer.
40962 (FP_INHIBIT_RESULTS): Define.
40963 (___Q_simulate_exceptions): Update declaration.
40964 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40965 formatting.
40966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40967 as unused and give dummy FP_RND_NEAREST initializer.
40968 (__Qp_handle_exceptions): Update declaration.
40969 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40970 formatting.
40971
04fb54b5
TS
409722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40973
40974 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40975 the temporary FPU control word.
40976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40977 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40978 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40979 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40980 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40981 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40982 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40983 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40984 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40985 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40986 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40987
3f99608f
KK
409882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40989
40990 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40991 fields.
40992
65a4de4e
CLT
409932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40994
40995 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40996 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40997 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40998 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40999 Likewise.
41000 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41001 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41002 Likewise.
41003
15749d40
UD
410042012-05-27 Ulrich Drepper <drepper@gmail.com>
41005
41006 * po/h.po: Update from translation team.
41007
25dbcb27
AS
410082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41009
3d3f8e55
AS
41010 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41011
25dbcb27
AS
41012 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41013 handling of denormals.
41014 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41015 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41016 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41017 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41021 Likewise.
41022
7ad47a80 410232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41024
41025 [BZ #14152]
41026 * math/libm-test.inc (fma_test): Don't always expect underflow
41027 exception.
41028
9c6ea9fa
SP
410292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41030
41031 [BZ #12416]
41032 * elf/tst-execstack.c: Include stackinfo.h.
41033 (do_test): Adjust test case to ensure that pthread_getattr_np
41034 behaviour remains the same after marking stack executable.
41035
a8239222
JM
410362012-05-25 Joseph Myers <joseph@codesourcery.com>
41037
41038 * sysdeps/unix/sysv/linux/kernel-features.h
41039 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41040 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41041 kernel-features.h.
41042 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41043 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41044 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41045 kernel-features.h.
41046 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41047 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41048
918b5606
L
410492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41050
41051 * configure.in: Define the default includes to being none.
41052 * configure: Regenerated.
41053
3a097cc7
RM
410542012-05-25 Roland McGrath <roland@hack.frob.com>
41055
8422c9a5
RM
41056 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41057 * sysdeps/x86_64/setjmp.S: Likewise.
41058 * sysdeps/i386/bsd-setjmp.S: Likewise.
41059 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41060 * sysdeps/i386/setjmp.S: Likewise.
41061 * sysdeps/i386/__longjmp.S: Likewise.
41062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41063 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41064
3a097cc7
RM
41065 * include/stap-probe.h: New file.
41066 * configure.in: Handle --enable-systemtap.
41067 * configure: Regenerated.
41068 * config.h.in (USE_STAP_PROBE): New #undef.
41069 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41070 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41071 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41072
21708942
JM
410732012-05-25 Joseph Myers <joseph@codesourcery.com>
41074
41075 [BZ #13717]
41076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41077 to 2.4.0 where earlier.
41078 * sysdeps/unix/sysv/linux/configure: Regenerated.
41079 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41080 <kernel-features.h>.
41081 [__ASSUME_32BITUIDS]: Make code unconditional.
41082 [!__ASSUME_32BITUIDS]: Remove conditional code.
41083 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41084 <kernel-features.h>.
41085 [__ASSUME_32BITUIDS]: Make code unconditional.
41086 [!__ASSUME_32BITUIDS]: Remove conditional code.
41087 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41088 [__ASSUME_32BITUIDS]: Make code unconditional.
41089 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41090 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41091 <kernel-features.h>.
41092 [__ASSUME_32BITUIDS]: Make code unconditional.
41093 [!__ASSUME_32BITUIDS]: Remove conditional code.
41094 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41095 <kernel-features.h>.
41096 [__ASSUME_32BITUIDS]: Make code unconditional.
41097 [!__ASSUME_32BITUIDS]: Remove conditional code.
41098 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41099 <kernel-features.h>.
41100 [__ASSUME_32BITUIDS]: Make code unconditional.
41101 [!__ASSUME_32BITUIDS]: Remove conditional code.
41102 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41103 <kernel-features.h>.
41104 [__ASSUME_32BITUIDS]: Make code unconditional.
41105 [!__ASSUME_32BITUIDS]: Remove conditional code.
41106 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41107 <kernel-features.h>.
41108 [__ASSUME_32BITUIDS]: Make code unconditional.
41109 [!__ASSUME_32BITUIDS]: Remove conditional code.
41110 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41111 <kernel-features.h>.
41112 [__ASSUME_32BITUIDS]: Make code unconditional.
41113 [!__ASSUME_32BITUIDS]: Remove conditional code.
41114 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41115 <kernel-features.h>.
41116 [__ASSUME_32BITUIDS]: Make code unconditional.
41117 [!__ASSUME_32BITUIDS]: Remove conditional code.
41118 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41119 <kernel-features.h>.
41120 [__ASSUME_32BITUIDS]: Make code unconditional.
41121 [!__ASSUME_32BITUIDS]: Remove conditional code.
41122 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41123 <kernel-features.h>.
41124 [__ASSUME_32BITUIDS]: Make code unconditional.
41125 [!__ASSUME_32BITUIDS]: Remove conditional code.
41126 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41127 <kernel-features.h>.
41128 [__ASSUME_32BITUIDS]: Make code unconditional.
41129 [!__ASSUME_32BITUIDS]: Remove conditional code.
41130 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41131 <kernel-features.h>.
41132 [__NR_setresgid] (__setresgid): Do not declare.
41133 [__ASSUME_32BITUIDS]: Make code unconditional.
41134 [!__ASSUME_32BITUIDS]: Remove conditional code.
41135 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41136 <kernel-features.h>.
41137 [__NR_setresuid] (__setresuid): Do not declare.
41138 [__ASSUME_32BITUIDS]: Make code unconditional.
41139 [!__ASSUME_32BITUIDS]: Remove conditional code.
41140 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
41181 (__ASSUME_SETRESUID_SYSCALL): Remove.
41182 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41183 (__ASSUME_32BITUIDS): Likewise.
41184 (__ASSUME_LDT_WORKS): Likewise.
41185 (__ASSUME_O_DIRECTORY): Likewise.
41186 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41187 architecture but not kernel version.
41188 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41189 (__ASSUME_MMAP2_SYSCALL): Likewise.
41190 (__ASSUME_STAT64_SYSCALL): Likewise.
41191 (__ASSUME_IPC64): Likewise.
41192 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41193 <kernel-features.h>.
41194 [__ASSUME_32BITUIDS]: Make code unconditional.
41195 [!__ASSUME_32BITUIDS]: Remove conditional code.
41196 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41197 <kernel-features.h>.
41198 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41199 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41200 132096]: Remove conditional code.
41201 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41202 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
41211 <kernel-features.h>.
41212 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41213 unconditional.
41214 (__setresgid): Do not declare.
41215 [__ASSUME_32BITUIDS]: Make code unconditional.
41216 [!__ASSUME_32BITUIDS]: Remove conditional code.
41217 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41218 <kernel-features.h>.
41219 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41220 unconditional.
41221 (__setresuid): Do not declare.
41222 [__ASSUME_32BITUIDS]: Make code unconditional.
41223 [!__ASSUME_32BITUIDS]: Remove conditional code.
41224 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41225 <kernel-features.h>.
41226 [__ASSUME_32BITUIDS]: Make code unconditional.
41227 [!__ASSUME_32BITUIDS]: Remove conditional code.
41228 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41229 <kernel-features.h>.
41230 [__ASSUME_32BITUIDS]: Make code unconditional.
41231 [!__ASSUME_32BITUIDS]: Remove conditional code.
41232
a386f1cc
RH
412332012-05-25 Richard Henderson <rth@twiddle.net>
41234
41235 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41236 dl_hwcap to ifunc resolver.
41237 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41238 elf_ifunc_invoke.
41239 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41240 dl_hwcap to ifunc resolver.
41241 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41242
b6550497
JM
412432012-05-24 Joseph Myers <joseph@codesourcery.com>
41244
41245 [BZ #14153]
41246 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41247 for |x| <= 2**-26, not 2**-57.
41248 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41249 exception.
41250
b0bc23a1
JL
412512012-05-24 Jeff Law <law@redhat.com>
41252
41253 * stdio-common/Makefile (tests): Add bug25.
41254 * stdio-common/bug25.c: New test.
41255
347c92e9
L
412562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41257
41258 [BZ #13576]
41259 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41260 multiple of MALLOC_ALIGNMENT in size.
41261 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41262
6bcc8b3f
JM
412632012-05-24 Joseph Myers <joseph@codesourcery.com>
41264
41265 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41266 Require >= 256.
41267 (FILENAME_MAX): Use macro-int-constant.
41268 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41269 (_IOFBF): Use macro-int-constant.
41270 (_IOLBF): Likewise.
41271 (_IONBF): Likewise.
41272 (SEEK_CUR): Likewise.
41273 (SEEK_END): Likewise.
41274 (SEEK_SET): Likewise.
41275 (TMP_MAX): Likewise.
41276 (EOF): Use macro-int-constant. Require < 0.
41277 (NULL): Use macro-constant. Require == 0.
41278 (stdin): Require type to be FILE *.
41279 (stdout): Likewise.
41280 (stderr): Likewise.
41281 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41282 macro-int-constant.
41283 (EXIT_SUCCESS): Likewise.
41284 (NULL): Use macro-constant. Require == 0.
41285 (RAND_MAX): Use macro-int-constant.
41286 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41287 [C99-based standards] (strtof): Require function.
41288 [C99-based standards] (strtold): Likewise.
41289 [C99-based standards] (strtoll): Likewise.
41290 [C99-based standards] (strtoull): Likewise.
41291 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41292 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41293 [ISO || ISO99 || ISO11] (math.h): Likewise.
41294 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41295 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41297
d18ea0c5
AS
412982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41299
41300 [BZ #14132]
56d25bb8
AS
41301 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41302 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41303 * intl/dgettext.c (DCGETTEXT): Likewise.
41304 * intl/gettext.c (DCGETTEXT): Likewise.
41305 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41306 * posix/regex_internal.h (gettext): Likewise.
41307 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41308 Remove declaration.
41309 * include/argz.h (__argz_count_internal)
41310 (__argz_stringify_internal): Remove declaration.
41311 (__argz_count, __argz_stringify): Declare hidden proto.
41312 * intl/dcgettext.c: Remove use of INTDEF.
41313 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41314 * string/argz-stringify.c: Likewise.
41315 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41316 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41317 Declare hidden proto.
d18ea0c5
AS
41318 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41319 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41320 Declare hidden proto.
41321 * include/stdio.h (__asprintf_internal): Don't declare.
41322 (__asprintf): Don't define as macro. Declare hidden proto.
41323 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41324 (__fsetlocking): Declare hidden proto.
41325 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41326 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41327 hidden proto.
41328 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41329 (_IO_setlinebuf): Remove use of INTUSE.
41330 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41331 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41332 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41333 Remove declaration.
41334 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41335 (_IO_do_flush): Remove use of INTUSE.
41336 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41337 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41338 (_IO_adjust_column, _IO_least_wmarker)
41339 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41340 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41341 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41342 (_IO_default_doallocate, _IO_wdefault_doallocate)
41343 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41344 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41345 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41346 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41347 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41348 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41349 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41350 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41351 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41352 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41353 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41354 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41355 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41356 proto.
41357 (_IO_flush_all_internal, _IO_adjust_column_internal)
41358 (_IO_default_uflow_internal, _IO_default_finish_internal)
41359 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41360 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41361 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41362 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41363 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41364 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41365 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41366 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41367 (_IO_file_close_internal, _IO_file_close_it_internal)
41368 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41369 (_IO_file_init_internal, _IO_file_attach_internal)
41370 (_IO_file_fopen_internal, _IO_file_read_internal)
41371 (_IO_file_sync_internal, _IO_file_seek_internal)
41372 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41373 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41374 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41375 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41376 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41377 (_IO_list_all_internal, _IO_link_in_internal)
41378 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41379 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41380 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41381 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41382 (_IO_do_write_internal, _IO_padn_internal)
41383 (_IO_getline_info_internal, _IO_getline_internal)
41384 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41385 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41386 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41387 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41388 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41389 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41390 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41391 with libc_hidden_ver, remove use of INTUSE.
41392 * libio/genops.c: Likewise.
41393 * libio/freopen.c: Likewise.
41394 * libio/freopen64.c: Likewise.
41395 * libio/iofclose.c: Likewise.
41396 * libio/iofdopen.c: Likewise.
41397 * libio/iofflush.c: Likewise.
41398 * libio/iofflush_u.c: Likewise.
41399 * libio/iofgets.c: Likewise.
41400 * libio/iofgets_u.c: Likewise.
41401 * libio/iofopen.c: Likewise.
41402 * libio/iofopncook.c: Likewise.
41403 * libio/iofread.c: Likewise.
41404 * libio/iofread_u.c: Likewise.
41405 * libio/ioftell.c: Likewise.
41406 * libio/iofwrite.c: Likewise.
41407 * libio/iogetline.c: Likewise.
41408 * libio/iogets.c: Likewise.
41409 * libio/iogetwline.c: Likewise.
41410 * libio/iopadn.c: Likewise.
41411 * libio/iopopen.c: Likewise.
41412 * libio/ioseekoff.c: Likewise.
41413 * libio/ioseekpos.c: Likewise.
41414 * libio/iosetbuffer.c: Likewise.
41415 * libio/iosetvbuf.c: Likewise.
41416 * libio/ioungetc.c: Likewise.
41417 * libio/ioungetwc.c: Likewise.
41418 * libio/iovdprintf.c: Likewise.
41419 * libio/iovsprintf.c: Likewise.
41420 * libio/iovsscanf.c: Likewise.
41421 * libio/memstream.c: Likewise.
41422 * libio/obprintf.c: Likewise.
41423 * libio/oldfileops.c: Likewise.
41424 * libio/oldiofclose.c: Likewise.
41425 * libio/oldiofdopen.c: Likewise.
41426 * libio/oldiofopen.c: Likewise.
41427 * libio/oldiopopen.c: Likewise.
41428 * libio/oldstdfiles.c: Likewise.
41429 * libio/putc.c: Likewise.
41430 * libio/setbuf.c: Likewise.
41431 * libio/setlinebuf.c: Likewise.
41432 * libio/stdfiles.c: Likewise.
41433 * libio/strops.c: Likewise.
41434 * libio/vasprintf.c: Likewise.
41435 * libio/vscanf.c: Likewise.
41436 * libio/vsnprintf.c: Likewise.
41437 * libio/vswprintf.c: Likewise.
41438 * libio/wfiledoalloc.c: Likewise.
41439 * libio/wfileops.c: Likewise.
41440 * libio/wgenops.c: Likewise.
41441 * libio/wmemstream.c: Likewise.
41442 * libio/wstrops.c: Likewise.
41443 * libio/__fpurge.c: Likewise.
41444 * libio/__fsetlocking.c: Likewise.
41445 * assert/assert.c: Likewise.
41446 * debug/fgets_chk.c: Likewise.
41447 * debug/fgets_u_chk.c: Likewise.
41448 * debug/fread_chk.c: Likewise.
41449 * debug/fread_u_chk.c: Likewise.
41450 * debug/gets_chk.c: Likewise.
41451 * debug/obprintf_chk.c: Likewise.
41452 * debug/vasprintf_chk.c: Likewise.
41453 * debug/vdprintf_chk.c: Likewise.
41454 * debug/vsnprintf_chk.c: Likewise.
41455 * debug/vsprintf_chk.c: Likewise.
41456 * malloc/mtrace.c: Likewise.
41457 * misc/error.c: Likewise.
41458 * misc/syslog.c: Likewise.
41459 * stdio-common/asprintf.c: Likewise.
41460 * stdio-common/fxprintf.c: Likewise.
41461 * stdio-common/getw.c: Likewise.
41462 * stdio-common/isoc99_fscanf.c: Likewise.
41463 * stdio-common/isoc99_scanf.c: Likewise.
41464 * stdio-common/isoc99_vfscanf.c: Likewise.
41465 * stdio-common/isoc99_vscanf.c: Likewise.
41466 * stdio-common/isoc99_vsscanf.c: Likewise.
41467 * stdio-common/printf-prs.c: Likewise.
41468 * stdio-common/printf_fp.c: Likewise.
41469 * stdio-common/printf_fphex.c: Likewise.
41470 * stdio-common/printf_size.c: Likewise.
41471 * stdio-common/putw.c: Likewise.
41472 * stdio-common/scanf.c: Likewise.
41473 * stdio-common/sprintf.c: Likewise.
41474 * stdio-common/tmpfile.c: Likewise.
41475 * stdio-common/vfprintf.c: Likewise.
41476 * stdio-common/vfscanf.c: Likewise.
41477 * stdlib/strfmon_l.c: Likewise.
41478 * sunrpc/openchild.c: Likewise.
41479 * sunrpc/xdr_stdio.c: Likewise.
41480 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41481 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41482
d6c33fda
RM
414832012-05-24 Roland McGrath <roland@hack.frob.com>
41484
c1487492
RM
41485 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41486
41487 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41488 in the third column, to generate for the shared library an IFUNC
41489 that uses _dl_vdso_vsym.
41490 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41491 * Makeconfig (object-suffixes-noshared): New variable.
41492
41493 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41494 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41495 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41496 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41497
d6c33fda
RM
41498 [BZ #14132]
41499 * include/sys/time.h (__gettimeofday): Remove macro.
41500 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41501 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41502 Remove INTDEF.
41503 (__gettimeofday): Add libc_hidden_def.
41504 (gettimeofday): Add libc_hidden_weak.
41505 * sysdeps/mach/gettimeofday.c: Likewise.
41506 * sysdeps/posix/gettimeofday.c: Likewise.
41507 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41508 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41510 (__gettimeofday_internal): Remove strong_alias.
41511 (__gettimeofday): Add libc_hidden_def.
41512 (gettimeofday): Add libc_hidden_weak.
41513 * sysdeps/unix/syscalls.list (gettimeofday):
41514 Remove __gettimeofday_internal alias.
41515
b5a2bbe6
L
415162012-05-24 Daniel Jacobowitz <drow@false.org>
41517 H.J. Lu <hongjiu.lu@intel.com>
41518
41519 [BZ #12495]
41520 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41521 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41522 (largebin_index_32_big): New.
41523 (largebin_index): Use it for 16-byte alignment.
41524 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41525 correction with front_misalign.
41526
cfba4fda
L
415272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41528
7f907421
L
41529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41531 Likewise.
41532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41533 Likewise.
41534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41535 Likewise.
41536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41537 Likewise.
41538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41539 Likewise.
41540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41541 Likewise.
41542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41543 Likewise.
41544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41545 Likewise.
41546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41547 Likewise.
41548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41549 Likewise.
41550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41551 Likewise.
41552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41553 Likewise.
41554
cfba4fda
L
41555 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41556 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41557
80bad0cc
JM
415582012-05-24 Joseph Myers <joseph@codesourcery.com>
41559
7a25eb06
JM
41560 [BZ #10846]
41561 [BZ #14036]
41562 * math/libm-test.inc (exp_test): Add test from bug 14036.
41563 (pow_test): Add test from bug 10846.
41564
795405f9
JM
41565 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41566 and other flags.
41567 (special_function): Do not include flags in test name.
41568 (parse_args): Likewise.
41569 * sysdeps/i386/fpu/libm-test-ulps: Update.
41570 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41571 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41572 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574
80bad0cc
JM
41575 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41576 exceptions.
41577 * math/libm-test.inc ("Philosophy"): Update comment about
41578 exception testing.
41579 (UNDERFLOW_EXCEPTION): New macro.
41580 (UNDERFLOW_EXCEPTION_OK): Likewise.
41581 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41582 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41583 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41584 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41585 (INVALID_EXCEPTION_OK): Update value.
41586 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41587 (OVERFLOW_EXCEPTION_OK): Likewise.
41588 (IGNORE_ZERO_INF_SIGN): Likewise.
41589 (test_exceptions): Handle underflow exceptions.
41590 (acos_test): Update for underflow exception expectations.
41591 (cexp_test): Likewise.
41592 (clog_test): Likewise.
41593 (clog10_test): Likewise.
41594 (csqrt_test): Likewise.
41595 (ctan_test): Likewise.
41596 (ctanh_test): Likewise.
41597 (exp_test): Likewise.
41598 (exp10_test): Likewise.
41599 (exp2_test): Likewise.
41600 (expm1_test): Likewise.
41601 (fma_test): Likewise.
41602 (j0_test): Likewise.
41603 (jn_test): Likewise.
41604 (nexttoward_test): Likewise.
41605 (pow_test): Likewise.
41606 (scalbn_test): Likewise.
41607 (scalbln_test): Likewise.
41608 (tan_test): Likewise.
41609 (y1_test): Likewise.
41610 * sysdeps/i386/fpu/libm-test-ulps: Update.
41611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41612
9e0e3d0b
DM
416132012-05-23 David S. Miller <davem@davemloft.net>
41614
41615 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41616 (__libc_sigaction): Remove unused local variables.
41617
ccd0a08f
L
416182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41619
41620 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41621
62bdf9a6
PE
416222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41623
f8591f80
PE
41624 mktime: avoid signed integer overflow
41625 * time/mktime.c (__mktime_internal): Do not mishandle the case
41626 where diff == INT_MIN.
41627
94c7d826
PE
41628 mktime: simplify computation of average
41629 * time/mktime.c (ranged_convert): Use new time_t_avg function
41630 instead of rolling our own (probably-slower) code.
41631
ce73d683
PE
41632 mktime: do not assume signed right shift propagates sign bit
41633 * time/mktime.c (isdst_differ): New static function.
41634 (__mktime_internal): No need to normalize tm_isdst now.
41635 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41636 tm_isdst values.
41637
72a22e59
PE
41638 mktime: merge another wrapv change from gnulib
41639 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41640 from some compilers.
41641
68605433
PE
41642 mktime: remove incorrect attempt at unusual arithmetics
41643 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41644 The code didn't really work on such machines anyway.
41645 (TYPE_MINIMUM): Assume two's complement.
41646 (twos_complement_arithmetic): Verify that long_int and time_t
41647 are two's complement (or unsigned, in the latter case).
41648
03cf7fe3
PE
41649 mktime: check signed shifts on long_int and time_t, too
41650 * time/mktime.c (SHR): Check that shifts work as desired
41651 on the types long_int and time_t too, as SHR is used on
41652 such types.
41653
f04dfbc2
PE
41654 mktime: do not assume 'long' is wide enough
41655 * time/mktime.c (verify): Move decl up.
41656 (long_int): New type.
41657 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41658 to remove assumption in the code that 'long' is wide enough to
41659 store year values. This assumption is not true on x32 and on
41660 some non-glibc platforms.
41661
62bdf9a6
PE
41662 mktime: merge wrapv change from gnulib
41663 * time/mktime.c (WRAPV): New macro.
41664 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41665 (guess_time_tm, __mktime_internal): Do not assume that signed
41666 integer overflow wraps around; modern compilers generate code
41667 where this assumption is no longer valid.
41668
5e292e4f
L
416692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41670
41671 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41672 Replace "jmp L(pseudo_end)" with "ret".
41673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41674 Likewise.
41675
8caf8c87
AJ
416762012-05-23 Andreas Jaeger <aj@suse.de>
41677
41678 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41679 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41680
1a09dc56
AJ
416812012-05-23 Andreas Jaeger <aj@suse.de>
41682 Maximilian Attems <max@stro.at>
41683
41684 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41685 New macros.
41686
1c87aba0
L
416872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41688
41689 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41690 code so that pseudo_end is just ret and the stack pointer is
41691 correct also for static library in error case.
41692
40e45bd5
JM
416932012-05-23 Joseph Myers <joseph@codesourcery.com>
41694
c2670533
JM
41695 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41696 move to syscalls.list.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41701
40e45bd5
JM
41702 * manual/install.texi (Running make install): Do not mention Linux
41703 kernel version for which pt_chown is not needed.
41704 (Linux): Do not mention problems with nscd with 2.0 kernels.
41705 * INSTALL: Regenerated.
41706
be08eda5
AJ
417072012-05-23 Andreas Jaeger <aj@suse.de>
41708
41709 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41710 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41711 macro.
41712 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41714 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41716 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41721 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41722 * sysdeps/unix/sysv/linux/bits/in.h
41723 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41724
a6a056bb
RM
417252012-05-22 Roland McGrath <roland@hack.frob.com>
41726
41727 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41728 (PREPARE_VERSION): Just use assert instead, it will be elided
41729 under [NDEBUG] anyway.
41730
c9009328
L
417312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41732
41733 * sysdeps/unix/sysv/linux/Makefile: Include
41734 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41735 (sysdep_routines): Remove sysctl.
c9009328
L
41736 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41737 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41738 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41739 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41740 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41741
73338355
AJ
417422012-05-22 Andreas Jaeger <aj@suse.de>
41743
41744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41745 that pseudo_end is just ret and the stack pointer is correct also
41746 for static library in error case.
41747
d44638b0
PP
417482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41749
41750 [BZ #14122]
41751 * nss/nsswitch.c (defconfig_entries): New variable.
41752 (__nss_database_lookup): Don't leak defconfig entries.
41753 (nss_parse_service_list): Don't leak on error paths.
41754 (free_database_entries): New function.
41755 (free_defconfig): New function.
41756 (free_mem): Move common code to free_database_entries.
41757
31a39bd8
L
417582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41759
da0331a8
L
41760 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41761 Add arch_prctl.
41762 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41763
31a39bd8
L
41764 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41765 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41767 New macro.
41768 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41769 (INTERNAL_SYSCALL_TYPES): Likewise.
41770 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41771 (LOAD_REGS_TYPES_[1-6]): Likewise.
41772 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41773 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41774
45470df3
AZ
417752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41776
41777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41778 copysignl for GLIBC_2_0.
41779 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41780 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41781 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41782 logbl for GLIBC_2_0.
41783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41784 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41785
98a61bcb
L
417862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41787
a4f6e481
L
41788 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41789 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41790
f63d5db6
L
41791 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41792 Use "neg %eax".
41793
98a61bcb
L
41794 * time/mktime.c: Update copyright years.
41795
95770f14
PE
417962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41797
6226efbd
PE
41798 mktime: merge comment-quoting-style change from gnulib
41799 * time/mktime.c: Quote 'like this' in comments.
41800 The GNU coding standards suggest that we no longer quote `like this',
41801 as "`" and "'" are typically rendered asymmetrically nowadays.
41802 The typical gnulib style is to quote 'like this' when quoting
41803 code, and "like this" when quoting English.
41804
b99e4f78
PE
41805 * time/mktime.c (compile-command): Add "-I.".
41806
643e01e6
PE
41807 mktime: merge mktime-internal.h change from gnulib
41808 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41809
2554247d
PE
41810 mktime: merge time_r change from gnulib
41811 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41812
826dd0ab
PE
41813 mktime: merge DEBUG change from gnulib
41814 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41815 case system <time.h> has a #define.
41816
bd83aabe
PE
41817 mktime: merge <sys/types.h> change from gnulib
41818 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41819 since <time.t> is now guaranteed to define time_t.
41820
95770f14
PE
41821 mktime: merge HAVE_CONFIG_H change from gnulib
41822 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41823
5e1a27a9
L
418242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41825
0e44a77e
L
41826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41827 Use "neg %eax".
41828
5e1a27a9
L
41829 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41830 __rlim_t cast.
41831 (struct rusage): Use anonymous union to pad each field to
41832 __syscall_slong_t.
41833
46259bec
DM
418342012-05-21 David S. Miller <davem@davemloft.net>
41835
41836 * Makefules (o-iterator): Remove .s cases.
41837 (compile-command.s): Delete.
41838 (COMPILE.s): Delete.
41839 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41840
59f0c22e
JM
418412012-05-21 Joseph Myers <joseph@codesourcery.com>
41842
41843 * configure.in (libc_cv_predef_stack_protector): Only consider
41844 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41845 * configure: Regenerated.
41846
20c07380
L
418472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41848
bbb3154b
L
41849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41850 New macro. Use R*LP on int and pointer.
41851 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41852 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41853 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41854 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41855
20c07380
L
41856 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41857 [__WORDSIZE_TIME64_COMPAT32] instead of
41858 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41859 (struct utmp): Likewise.
41860 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41861 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41862 Renamed to ...
41863 (__WORDSIZE_TIME64_COMPAT32): This.
41864 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41865 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41866 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41867 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41868 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41869 (__WORDSIZE_TIME64_COMPAT32): New macro.
41870
d8d1017e
AJ
418712012-05-21 Andreas Jaeger <aj@suse.de>
41872
41873 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41874 only if [SHARED]. Add prototype for __wcschr_ia32.
41875
6c7fb145
RM
418762012-05-21 Roland McGrath <roland@hack.frob.com>
41877
41878 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41879 of %rbp unmolested in the jmp_buf while mangling the low bits.
41880 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41881 unmolested high bits of %rbp while demangling the low bits.
41882 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41883
66274218
AJ
418842012-05-21 Andreas Jaeger <aj@suse.de>
41885
07c58f8f
AJ
41886 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41887 * sunrpc/svc_simple.c: Use it for registerrpc.
41888 * sunrpc/xcrypt.c: Use it for passwd2des.
41889
66274218
AJ
41890 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41891
61f65140
L
418922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41893
41894 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41895 Don't define if [__SYSCALL_WORDSIZE != 32].
41896 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41897 New macro.
41898
5fefb436
AJ
418992012-05-21 Bruno Haible <bruno@clisp.org>
41900 Andreas Jaeger <aj@suse.de>
41901
41902 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41903 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41904 inptr and inend for must_buffer_ch.
41905 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41906 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41907 * stdio-common/Makefile (tests): Remove bug15.
41908 (bug15-ENV): Remove macro.
41909 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41910 anymore.
41911
d8e272ab
AJ
419122012-05-19 Andreas Jaeger <aj@suse.de>
41913 Roland McGrath <roland@hack.frob.com>
41914
41915 * manual/contrib.texi: Completely rewritten. It contains now an
41916 alphabetical list of contributors and their contributions.
41917
4a56a162
RH
419182012-05-21 Richard Henderson <rth@twiddle.net>
41919
41920 * misc/getauxval.c (__getauxval): Use unsigned long int.
41921 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41922 (getauxval): Use unsigned long int.
41923
d024d23c
L
419242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41925
41926 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41927
cbc00a03
RM
419282012-05-21 Roland McGrath <roland@hack.frob.com>
41929
41930 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41931 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41932 __alignof__ (long double).
41933
478143fa
AZ
419342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41935
41936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41937
c7683a6d
RH
419382012-05-20 Richard Henderson <rth@twiddle.net>
41939
41940 * misc/getauxval.c: New file.
41941 * misc/sys/auxv.h: New file.
41942 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41943 (routines): Add getauxval.
41944 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41945 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41946 * elf/dl-sysdep.c (_dl_auxv): Remove.
41947 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41948 * elf/dl-support.c (_dl_auxv): New variable.
41949 (_dl_aux_init): Initialize it.
41950 * manual/startup.texi (Auxiliary Vector): New node.
41951 * sysdeps/generic/bits/hwcap.h: New file.
41952 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41953 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41954 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41955 * sysdeps/sparc/sysdep.h: ... here. Include it.
41956 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41957 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41959 Update.
c7683a6d
RH
41960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41968
a6f1845d
AZ
419692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41970
41971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41972
cbcbe830
DM
419732012-05-19 David S. Miller <davem@davemloft.net>
41974
41975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41976
e0b16cc2
JM
419772012-05-19 Joseph Myers <joseph@codesourcery.com>
41978
41979 [BZ #14123]
41980 * math/s_ccosh.c: Include <float.h>
41981 (__ccosh): Avoid internal overflow calculating sinh and cosh
41982 values before multiplying by sin and cos values.
41983 * math/s_ccoshf.c: Likewise.
41984 * math/s_ccoshl.c: Likewise.
41985 * math/s_csin.c: Likewise.
41986 * math/s_csinf.c: Likewise.
41987 * math/s_csinl.c: Likewise.
41988 * math/s_csinh.c: Likewise.
41989 * math/s_csinhf.c: Likewise.
41990 * math/s_csinhl.c: Likewise.
41991 * math/libm-test.inc (ccos_test): Add more tests.
41992 (ccosh_test): Likewise.
41993 (csin_test): Likewise.
41994 (csinh_test): Likewise.
41995 * sysdeps/i386/fpu/libm-test-ulps: Update.
41996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41997
6ad13e08
L
419982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41999
f66f0ce8
L
42000 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42001 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42002
6ad13e08
L
42003 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42004
b1d072a7
JM
420052012-05-19 Joseph Myers <joseph@codesourcery.com>
42006
42007 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42008 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42009 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42010 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42011 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42012 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42013 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42014 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42015 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42016 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42017 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42018 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42019 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42020 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42021 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42022 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42023 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42024 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42025 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42026 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42027 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42028 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42029 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42030 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42031 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42032 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42033 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42034 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42035 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42036 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42037 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42038
9eae47cb
AJ
420392012-05-18 Andreas Jaeger <aj@suse.de>
42040
42041 * csu/.gitignore: Delete.
42042
bb07f69f
L
420432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42044
42045 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42046 (timex): Use __syscall_slong_t.
42047
e6bdb741
AJ
420482012-05-18 Andreas Jaeger <aj@suse.de>
42049 Carlos O'Donell <carlos_odonell@mentor.com>
42050
42051 * manual/install.texi (Configuring and compiling): Update
42052 description about files modified in the source directory.
d6c33fda 42053 * INSTALL: Regenerated.
e6bdb741 42054
1b74487e
L
420552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42056
42057 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42058 value. Use "or" to set return value to -1.
42059 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42060 negate return value.
42061
a88b64b9
TMQMF
420622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42063
57f41c40
AS
42064 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42065 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42066 failure if the compiler has Graphite support disabled.
42067 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42068 Likewise.
57f41c40
AS
42069 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42070 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42071 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42072 Likewise.
42073
3707636e
L
420742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42075
610b8622
L
42076 * sysdeps/x86_64/x32/_itoa.h: New file.
42077
7cd195df
L
42078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42079 getdents system call only if kernel and user dirents have the
42080 same d_ino and d_off.
42081
94b07d20
L
42082 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42083 LLONG_MAX != LONG_MAX.
42084 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42085 (_fitoa_word): Likewise.
42086
18298070
L
42087 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42088 years.
42089 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42090 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42091 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42092
553c7ea4
L
42093 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42094 include <bits/wordsize.h>. Check __x86_64__ instead of
42095 __WORDSIZE.
42096 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42097 if __x86_64__ is defined. Use anonymous union on fpstate.
42098
3707636e
L
42099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42100 anonymous union.
42101
b53ef01a
AS
421022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42103
37fb1dc0
AS
42104 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42105 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42106 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42107 Refer to _rtld_local_ro instead of _rtld_global_ro.
42108 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42109 Likewise.
42110 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42111 Likewise.
42112 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42113 Likewise.
42114 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42115 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42116 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42117
b53ef01a
AS
42118 * sysdeps/powerpc/powerpc32/dl-machine.c
42119 (__elf_machine_runtime_setup) [PROF]: Don't reference
42120 _dl_prof_resolve.
42121
7a185db2
AJ
421222012-05-18 Andreas Jaeger <aj@suse.de>
42123
42124 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42125 function only available for GCCs before 3.4 since GCC 3.4
42126 introduced a builtin.
42127 (lrint): Likewise.
42128 (llrintf): Likewise.
42129 (llrint): Likewise.
42130 (fmaxf): Likewise.
42131 (fmax): Likewise.
42132 (fminf): Likewise.
42133 (fmin): Likewise.
42134 (rint): Likewise.
42135 (rintf): Likewise.
42136 (nearbyint): Likewise.
42137 (nearbyintf): Likewise.
42138 (ceil): Likewise.
42139 (ceilf): Likewise.
42140 (floor): Likewise.
42141 (floorf): Likewise.
42142
3e5aef87
L
421432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42144
428bd707
L
42145 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42146 on both fields and cast pointer to __syscall_ulong_t.
42147
3e5aef87
L
42148 * bits/types.h (__fsword_t): New type.
42149 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42150 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42151 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42152 (__FSWORD_T_TYPE): Likewise.
42153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42154 (__FSWORD_T_TYPE): Likewise.
42155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42156 (__FSWORD_T_TYPE): Likewise.
42157 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42158 (__FSWORD_T_TYPE): Likewise.
42159 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42160 __SWORD_TYPE with __fsword_t.
42161 (statfs64): Likewise.
42162
1ba7c3dc
DM
421632012-05-17 David S. Miller <davem@davemloft.net>
42164
42165 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42166
59910343
AJ
421672012-05-17 Andreas Jaeger <aj@suse.de>
42168
42169 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42170 warning.
42171
2e4c1e9e
L
421722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42173
42174 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42175
de7f5ce7
AJ
421762012-05-17 Andreas Jaeger <aj@suse.de>
42177
42178 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42179 when it is used.
42180
286abc3d
CM
421812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42182
42183 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42184
477cc68e
L
421852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42186
42187 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42188 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42189
1a0994f5
CD
421902012-05-17 Andreas Jaeger <aj@suse.de>
42191 Carlos O'Donell <carlos_odonell@mentor.com>
42192
42193 [BZ #14059]
42194 * sysdeps/x86_64/multiarch/init-arch.h
42195 (bit_YMM_Usable): Rename to...
42196 (bit_AVX_Usable): ... this.
42197 (bit_FMA4_Usable): New macro.
42198 (bit_XMM_state): New macro.
42199 (bit_YMM_state): New macro.
42200 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42201 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42202 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42203 (CPUID_OSXSAVE): New macro.
42204 (CPUID_AVX): New macro.
42205 (CPUID_FMA4): New macro.
42206 (index_YMM_Usable): Rename to...
42207 (index_AVX_Usable): ... this.
42208 (HAS_AVX): Use HAS_ARCH_FEATURE.
42209 (HAS_FMA4): Likewise.
42210 (HAS_YMM_USABLE): Remove.
42211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42212 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42213 are present.
42214 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42215 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42216 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42217 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42218 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42219
0af797de
CM
422202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42221
42222 * math/libm-test.c: Support platforms without multiple rounding modes.
42223 * math/bug-nextafter.c: Support platforms without FP exceptions.
42224 * math/bug-nexttoward.c: Likewise.
42225 * math/test-fenv.c: Likewise.
42226 * math/test-misc.c: Likewise.
42227 * stdlib/bug-getcontext.c: Likewise.
42228
e39745ff
AJ
422292012-05-17 Andreas Jaeger <aj@suse.de>
42230
42231 * manual/examples/search.c (critter_cmp): Change signature to
42232 avoid warnings.
42233 * manual/string.texi (Collation Functions): Likewise.
42234
48970aba
L
422352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42236
42237 * bits/types.h: Fold copyright years.
42238 * bits/typesizes.h: Likewise.
42239 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42243 * time/time.h: Likewise.
42244
bedee953
PP
422452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42246
42247 [BZ #208]
42248 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42249 in instead of returning them. Return void.
42250 (__libc_mallinfo): Accumulate over all arenas.
42251 (__malloc_stats): Adjust for change in int_mallinfo interface.
42252
61653dfb
RM
422532012-05-16 Roland McGrath <roland@hack.frob.com>
42254
30b99d79
RM
42255 [BZ #10375]
42256 * configure.in (NM): Add AC_CHECK_TOOL for it.
42257 (libc_extra_cflags): New substituted variable.
42258 Check for -fstack-protector being used implicitly.
42259 * configure: Regenerated.
42260 * config.make.in (config-extra-cflags): New variable,
42261 gets @libc_extra_cflags@.
42262 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42263
61653dfb
RM
42264 [BZ #10375]
42265 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42266 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42267 * configure: Regenerated.
42268 * config.make.in (CPPUNDEFS): New substituted variable.
42269 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42270 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42271 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42272
661768bb
L
422732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42274
42275 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42276 (mq_attr): Use __syscall_slong_t.
42277
d4261567
L
422782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42279
42280 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42281 Check __x86_64__ instead of __WORDSIZE.
42282 (_STAT_VER_LINUX): Likewise.
42283 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42284 __syscall_ulong_t and __syscall_slong_t.
42285 (stat64): Likewise.
42286
cf3ff365
L
422872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42288
42289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42290
76cf3e4d
L
422912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42294
a637753a
L
422952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42296
42297 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42298 __syscall_ulong_t.
42299
d5e05119
L
42300 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42301 include <bits/wordsize.h>. Check __x86_64__ instead of
42302 __WORDSIZE.
42303 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42304 defined.
42305 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42306
f62ee380
L
42307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42308 include <bits/wordsize.h>. Check __x86_64__ instead of
42309 __WORDSIZE.
42310 (user_regs_struct): Use "__extension__ unsigned long long"
42311 instead of "unsigned long" if __x86_64__ is defined.
42312 (user): Likewise. Pad after pointer field if __ILP32__ is
42313 defined.
42314
4e124ced
JM
423152012-05-16 Joseph Myers <joseph@codesourcery.com>
42316
6a3951a0
JM
42317 * configure.in (makeinfo): Require version 4.5 or later. Allow
42318 versions 5 to 9.
42319 * configure: Regenerated.
42320 * manual/install.texi (texinfo): Increase version requirement to
42321 4.5 or later.
42322 * INSTALL: Regenerated.
42323
4e124ced
JM
42324 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42325
953ca31a
L
423262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42327
42328 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42329
617aca05
L
42330 * sysdeps/x86_64/x32/ffs.c: New file.
42331
5762f7ae
L
42332 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42333 __syscall_ulong_t.
42334 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42335 defined. Use __syscall_ulong_t.
42336 (shminfo): Use __syscall_ulong_t.
42337 (shm_info): Likewise.
42338
a26b6856
L
42339 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42340 __syscall_ulong_t.
42341
cb2b9ef7
L
42342 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42343 <bits/wordsize.h>.
42344 (msgqnum_t): Use __syscall_ulong_t.
42345 (msglen_t): Likewise.
42346 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42347 __syscall_ulong_t.
42348
34683bb0
L
42349 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42350 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42351
84a68786
L
42352 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42353
48baa5f1
L
42354 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42355 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42356
180be88b
L
42357 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42358 __syscall_slong_t.
42359
5e90c8ad
L
42360 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42361 include <bits/wordsize.h>. Check __x86_64__ instead of
42362 __WORDSIZE.
42363
23dfb58b
L
42364 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42365 "unsigned long long int" if __x86_64__ is defined.
42366 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42367
ce5d54b0
L
42368 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42370 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42371
13dc9eac
L
42372 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42373 <stdint.h>.
42374 (GET_PC): Cast to uintptr_t first.
42375 (GET_FRAME): Likewise.
42376 (GET_STACK): Likewise.
42377
a7895d15
L
42378 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42379 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42380 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42381 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42382 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42383 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42384 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42385 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42386 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42387 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42388 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42389 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42390 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42391 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42392 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42393 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42394 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42395 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42396 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42397 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42398 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42399 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42400 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42401 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42402 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42403 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42406 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42407
656416c9
AS
424082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42409
5bd66283
AS
42410 * Makerules (+depfiles): Also collect depfiles from .oS in
42411 $(extra-objs).
42412 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42413 .oS, $(libnldbl-routines)).
42414
656416c9
AS
42415 * Makerules (native-compile-mkdep-flags): Define.
42416 * sunrpc/Makefile (extra-objs): Add $(addprefix
42417 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42418 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42419 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42420 calling $(make-target-directory).
42421
a46f2169
L
424222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42423
42424 * bits/types.h (__snseconds_t): Removed.
42425 * time/time.h (struct timespec): Replace __snseconds_t with
42426 __syscall_slong_t.
42427 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42428 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42429 Likewise.
42430 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42431 (__SNSECONDS_T_TYPE): Likewise.
42432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42433 (__SNSECONDS_T_TYPE): Likewise.
42434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42435 (__SNSECONDS_T_TYPE): Likewise.
42436
6af6528b
L
424372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * sysdeps/mach/hurd/bits/typesizes.h
42440 (__SYSCALL_SLONG_TYPE): New macro.
42441 (__SYSCALL_ULONG_TYPE): Likewise.
42442
de986b56
L
424432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42444
42445 * bits/types.h (__syscall_slong_t): New type.
42446 (__syscall_ulong_t): Likewise.
42447
42448 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42449 (__SYSCALL_ULONG_TYPE): Likewise.
42450 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42451 (__SYSCALL_SLONG_TYPE): Likewise.
42452 (__SYSCALL_ULONG_TYPE): Likewise.
42453 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42454 (__SYSCALL_SLONG_TYPE): Likewise.
42455 (__SYSCALL_ULONG_TYPE): Likewise.
42456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42457 (__SYSCALL_SLONG_TYPE): Likewise.
42458 (__SYSCALL_ULONG_TYPE): Likewise.
42459
85736dc7
L
424602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42461
42462 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42463 Add sigaltstack-offsets.sym.
42464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42465 <sigaltstack-offsets.h>.
42466 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42467 longjmp_msg pointer.
42468 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42469 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42470 signal stack.
42471 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42472
cc03b296
JM
424732012-05-15 Joseph Myers <joseph@codesourcery.com>
42474
a9538892
JM
42475 * elf/stackguard-macros.h: Remove file.
42476 * sysdeps/generic/stackguard-macros.h: New file.
42477 * sysdeps/i386/stackguard-macros.h: Likewise.
42478 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42479 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42480 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42481 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42482 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42483 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42484 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42485 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42486 <elf/stackguard-macros.h>.
42487
cc03b296
JM
42488 [BZ #14109]
42489 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42490 __aligned__ in attribute.
42491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42492 (gregset_t): Likewise.
42493
93171016
L
424942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42495
42496 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42497 * sysdeps/x86_64/64/Implies-after: Here. New file.
42498 * sysdeps/x86_64/x32/Implies-after: New file.
42499
d86813a0
L
425002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42501
42502 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42503 and access return value for _dl_profile_fixup. Use R10_LP to
42504 load frame size.
42505
2953ec75
L
425062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42507
42508 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42509
3b550e9e
L
425102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42511
42512 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42513 * sysdeps/x86_64/x32/sysdep.h: New file.
42514
eda41706
L
425152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42516
42517 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42518 * sysdeps/x86_64/setjmp.S: Likewise.
42519
9ea01d93
AZ
425202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42521
42522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42523 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42524 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42526 remove unused global constant.
42527
02a91938
CM
425282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42529
42530 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42531 include of <not-cancel.h>.
42532
6540185f
RM
425332012-05-15 Roland McGrath <roland@hack.frob.com>
42534
42535 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42536
509072a0
AJ
425372012-05-15 Jeff Law <law@redhat.com>
42538 Andreas Jaeger <aj@suse.de>
42539
42540 [BZ #13594]
42541 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42542 out from...
42543 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42544 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42545 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42546 code changing __hst_map_handle.map.
42547
ba75122d
RM
425482012-05-15 Roland McGrath <roland@hack.frob.com>
42549
42550 * configure.in (sysnames): Look for Implies-before and Implies-after
42551 files.
42552 * configure: Regenerated.
42553
890d8bd8
L
425542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42555
42556 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42557 8-byte data alignment with LP_SIZE alignment.
42558
f6ee6623
L
425592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42560
42561 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42562 into R10_LP.
42563
ea2626f6
L
425642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42565
42566 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42567
085f715e
L
425682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42569
42570 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42571 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42573 Likewise.
42574 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42575
be8498fc
L
425762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42577
42578 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42579 (stackinfo_sub_sp): Likewise.
42580
70bc83b9
L
425812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42582
42583 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42584 RAX_LP.
42585
9bc0b730
L
425862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42587
42588 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42589 into R*_LP.
42590
6d2850e7
L
425912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42592
42593 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42594 sizes into R*_LP.
42595
3cb84561
L
425962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42597
42598 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42599
54e2ed81
L
426002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42601
42602 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42603 into R11_LP and load __x86_64_shared_cache_size_half into
42604 R8_LP.
42605
8a17f349
L
426062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42607
42608 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42609 R8_LP.
42610
777b1eea
AZ
426112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42612
42613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42614 logb for POWER7.
42615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42616 logbf for POWER7.
42617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42618 logbl for POWER7.
42619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42620 powerpc32/power7/fpu/s_logb.c via #include.
42621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42622 powerpc32/power7/fpu/s_logbf.c via #include.
42623 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42624 powerpc32/power7/fpu/s_logbl.c via #include.
42625
d20d4ac2
JM
426262012-05-15 Joseph Myers <joseph@codesourcery.com>
42627
42628 * README.libm: Remove file.
42629
6cdef1ab
L
426302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42631
42632 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42633 count for x32. Use R*_LP and omit operand-size suffix.
42634
0b254d8f
L
426352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42636
42637 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42638 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42639 * sysdeps/x86_64/x32/shlib-versions: New file.
42640
ceb809dc
RM
426412012-05-14 Roland McGrath <roland@hack.frob.com>
42642
42643 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42644 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42645 Use _dl_fatal_printf instead.
42646
37f1abd4
JM
426472012-05-14 Joseph Myers <joseph@codesourcery.com>
42648
42649 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42650 set if not set by the user. Do not allow for being unset.
42651 * sysdeps/unix/sysv/linux/configure: Regenerated.
42652
11de3a33
L
426532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42654
42655 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42656 the `q' suffix from lea and replace .quad with ASM_ADDR.
42657
e02f153a
L
426582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42659
42660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42661 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42662 instead of $17.
42663 (PTR_DEMANGLE): Likewise.
42664
520ae0fd
L
426652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42668 (LP_OP): Likewise.
42669 (ASM_ADDR): Likewise.
42670 (RAX_LP): Likewise.
42671 (RBP_LP): Likewise.
42672 (RBX_LP): Likewise.
42673 (RCX_LP): Likewise.
42674 (RDI_LP): Likewise.
42675 (RSI_LP): Likewise.
42676 (RSP_LP): Likewise.
42677 (R8_LP): Likewise.
42678 (R9_LP): Likewise.
42679 (R10_LP): Likewise.
42680 (R10_LP): Likewise.
42681 (R11_LP): Likewise.
42682 (R12_LP): Likewise.
42683 (R13_LP): Likewise.
42684 (R14_LP): Likewise.
42685 (R15_LP): Likewise.
42686
b985be81
L
426872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42688
42689 * sysdeps/x86_64/x32/dl-machine.h: New file.
42690
6a4888ff
AJ
426912012-05-14 Andreas Jaeger <aj@suse.de>
42692
42693 * manual/Makefile (subdir): Remove export of subdir.
42694 (all): Remove target.
42695 (.PHONY): Remove all from list.
42696 (mkinstalldirs): Remove.
42697 (.PHONY): Remove installdirs from list.
42698 ($(inst_infodir)/libc.info): Use make-target-directory.
42699 (installdirs): Remove.
42700 (subdir_%): Remove.
42701 (glibc-targets): Remove.
42702 (lib): Remove.
42703 (stubs): Remove.
42704 ($(objpfx)stubs ../po/manual.pot): Remove.
42705 ($(objpfx)stamp%): Remove.
42706 (make-target-directory): Remove.
42707 (subdir_install): Remove.
42708 (routines): Remove.
42709 (aux): Remove.
42710 (sources): Remove.
42711 (objects): Remove.
42712 (headers): Remove.
42713
42714 [BZ #13750]
42715 * manual/.gitignore: Remove, it's not needed anymore.
42716 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42717 all files in it.
42718 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42719 directory.
42720 (texis): Renamed to $(objpfx)texis.
42721 (texis-path): New, contains path to generated files.
42722 (chapters.%): Use texis-path for complete path, add extra argument
42723 libc-texinfo.sh.
42724 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42725 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42726 (summary,texi, stamp-summary): Use complete path of
42727 files. Generate files in build dir.
42728 (dir-add.texi): Build in build dir.
42729 (libm-err.texi,stamp-libm-err): Likewise.
42730 (version.texi, stamp-version): Likewise.
42731 (.%c.texi): Likewise.
42732 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42733 (mostlyclean): Remove target.
42734 (realclean): Remove target.
42735 (generated): Add new variable with contents from mostlyclean and
42736 realclean, remove entries duplicated in common-mostlyclean, add
42737 stamp-libm-err and stamp-version.
42738 (generated-dirs): Add libc directory.
42739 ($(inst_infodir)/libc.info): Install files from build dir.
42740
42741 * manual/install.texi (Configuring and compiling): Adjust since
42742 the info files are not part of the tar ball anymore.
42743
7ac77294
AJ
427442012-05-14 Andreas Jaeger <aj@suse.de>
42745
42746 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42747 variable.
42748
ffb7875d
JM
427492012-05-14 Joseph Myers <joseph@codesourcery.com>
42750
42751 [BZ #13717]
42752 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42753 to 2.2.0 where earlier.
42754 * sysdeps/unix/sysv/linux/configure: Regenerated.
42755 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42756 Remove conditional code.
42757 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42758 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42759 Remove conditional code.
42760 [!__NR_lchown]: Likewise.
42761 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42762 [__NR_lchown]: Likewise.
42763 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42764 comment referencing __ASSUME_LCHOWN_SYSCALL.
42765 * sysdeps/unix/sysv/linux/i386/sigaction.c
42766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42768 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42769 Remove conditional code.
42770 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42771 (__protocol_available): Remove #if 0 code.
42772 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42773 conditional code.
42774 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42775 * sysdeps/unix/sysv/linux/kernel-features.h
42776 (__ASSUME_GETCWD_SYSCALL): Don't define.
42777 (__ASSUME_REALTIME_SIGNALS): Likewise.
42778 (__ASSUME_PREAD_SYSCALL): Likewise.
42779 (__ASSUME_PWRITE_SYSCALL): Likewise.
42780 (__ASSUME_POLL_SYSCALL): Likewise.
42781 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42782 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42783 non-SPARC.
42784 (__ASSUME_SIOCGIFNAME): Don't define.
42785 (__ASSUME_MSG_NOSIGNAL): Likewise.
42786 (__ASSUME_SENDFILE): Define unconditionally.
42787 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42788 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42789 conditional code.
42790 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42791 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42792 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42793 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42794 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42795 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42796 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42798 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42799 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42804 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42805 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42810 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42811 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42813 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42816 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42819 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42820 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42821 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42822 Remove conditional code.
42823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42824 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42825 Remove conditional code.
42826 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42827 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42828 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42829 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42830 Remove conditional code.
42831 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42832 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42833 Remove conditional code.
42834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42835 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42836 Remove conditional code.
42837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42838 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42839 Remove conditional code.
42840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42841 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42842 Remove conditional code.
42843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42844 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42847 * sysdeps/unix/sysv/linux/sigaction.c
42848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42850 * sysdeps/unix/sysv/linux/sigpending.c
42851 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42852 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42853 * sysdeps/unix/sysv/linux/sigprocmask.c
42854 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42855 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42856 * sysdeps/unix/sysv/linux/sigsuspend.c
42857 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42858 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42859 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42860 (__libc_missing_rt_sigs): Remove.
42861 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42862 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42863 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42864 Remove conditional code.
42865 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42866 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42867 return 1.
42868 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42869 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42870 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42871 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42872
1bfb7291
AJ
428732012-05-14 Andreas Jaeger <aj@suse.de>
42874
caae5a81
AJ
42875 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42876 it's not used in glibc.
42877 (__coshm1): Likewise.
42878 (__acosh1p): Likewise.
42879 (__sgn): Likewise.
42880
1bfb7291
AJ
42881 * manual/string.texi (Copying and Concatenation): Add missing
42882 variable in concat example.
42883 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42884
c044d724
L
428852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42886
144c5467 42887 [BZ #14103]
c044d724
L
42888 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42889 __builtin_clzl with __builtin_clzll.
42890
2523c62b
L
428912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42892
42893 [BZ #14104]
42894 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42895 libc_freeres_ptr.
42896
d7bb4c42
LD
428972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42898
42899 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42900 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42901 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42902 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42903
9dc4e1fb
MF
429042012-05-14 Mike Frysinger <vapier@gentoo.org>
42905
42906 * NEWS: Update ia64 info.
42907
c7df0112
AS
429082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42909
42910 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42911 used as bcopy.
42912
dc70356c
TS
429132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42914
42915 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42916 * sysdeps/unix/syscalls.list (dup3): Likewise.
42917 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42918 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42919
9fb1a21f
L
429202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42921
42922 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42923 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42924
4822a2a5
L
429252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42926
42927 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42928 thread pointer.
42929 (TLS_IE): Use mov/add instead of movq/addq to load thread
42930 pointer.
42931 (TLS_GD_PREFIX): New.
42932 (TLS_GD): Use it.
42933
842b81d6
DM
429342012-05-11 David S. Miller <davem@davemloft.net>
42935
42936 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42937 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42938 (_FPU_SETCW): Likewise.
42939
1cf463cd
L
429402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42941
42942 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42943 is 32-byte aligned.
42944
60cc4a18
AS
429452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42946
42947 [BZ #11837]
42948 * iconvdata/gb18030.c: Update tables.
42949 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42950 characters specially.
42951 (BODY for TO_LOOP): Add encoding of missing ranges.
42952
febb44a4
TS
429532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42954
42955 [BZ #13673]
42956 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42957 * sysdeps/mach/hurd/dup3.c: Likewise.
42958 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42959 * sysdeps/powerpc/memmove.c:: Likewise.
42960
0a10fb9e
L
429612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42962
42963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42964 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42965
df8a552f
L
429662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42967
42968 * elf/elf.h (R_X86_64_RELATIVE64): New.
42969 (R_X86_64_NUM): Updated.
42970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42971 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42972 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42973 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42974 tst-quad1pie tst-quad2pie
42975 (modules-names): Add tst-quadmod1 tst-quadmod2.
42976 ($(objpfx)tst-quad1): New dependency.
42977 ($(objpfx)tst-quad2): Likewise.
42978 ($(objpfx)tst-quad1pie): Likewise.
42979 ($(objpfx)tst-quad2pie): Likewise.
42980 * sysdeps/x86_64/tst-quad1.c: New file.
42981 * sysdeps/x86_64/tst-quad1pie.c: New file.
42982 * sysdeps/x86_64/tst-quad2.c: Likewise.
42983 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42984 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42985 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42986 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42987 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42988
f34d6f84
ST
429892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42990
f42d41d1
ST
42991 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42992 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42993 * streams/stropts.h (t_scalar_t): Define type.
42994
3c3571fc
ST
42995 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42996 (_PATH_PRESERVE): Set to "/var/lib".
42997 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42998
61f06bd3
ST
42999 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43000 instead of int.
43001
918d4d71
ST
43002 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43003 if __dir_mkfile succeeded.
43004
f34d6f84
ST
43005 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43006 checking for _hurd_dtablesize. Unlock it right after having
43007 finished _hurd_dtable allocation.
43008
10589b4a
TS
430092012-05-10 Thomas Schwinge <thomas@schwinge.name>
43010
674cdbc7
TS
43011 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43012 * sysdeps/mach/hurd/configure: Regenerated.
43013 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43014 special-casing to...
43015 * sysdeps/gnu/configure.in: ... this new file.
43016 * sysdeps/unix/sysv/linux/configure: Regenerated.
43017 * sysdeps/gnu/configure: New generated file.
43018
8e41b99f
TS
43019 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43020 for Linux: use nsec instead of usec, as well as:
43021 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43022 members of type struct timespec.
43023 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43024 New macros.
43025 (struct stat64): Likewise.
43026 (_STATBUF_ST_NSEC): New macro.
43027 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43028
10589b4a
TS
43029 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43030 __strtoul_internal rather than strtoul.
43031
63643c85
PT
430322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43033
43034 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43035 and reject them.
43036
3faebe6a
ST
430372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43038
43039 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43040 which preserves existing values.
43041 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43042
c6474b07
PT
430432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43044
43045 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43046 TIMEOUT values. Return EINVAL for NFDS values either negative or
43047 greater than FD_SETSIZE.
43048
1043890b
ST
430492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43050
43051 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43052 allocated, call __vm_protect to finish enabling the existing space, and
43053 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43054 allocate the remainder.
43055
37ed8b9b
PT
430562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43057
43058 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43059 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43060
db653660
ST
430612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43062
37ed8b9b
PT
43063 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43064 sysdeps/mach/hurd/readlink.c.
b29d4053 43065
db653660
ST
43066 * posix/tst-sysconf.c (posix_options): Only use
43067 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43068 _POSIX_SYNCHRONIZED_IO when they are defined
43069 * sysdeps/mach/hurd/bits/posix_opt.h:
43070 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43071 (_XOPEN_REALTIME): Undefine macro.
43072 (_XOPEN_REALTIME_THREADS): Undefine macro.
43073 (_XOPEN_SHM): Undefine macro.
43074 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43075 macro to -1.
43076 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43077 macro to -1.
43078 (_POSIX_ASYNC_IO): Undefine macro.
43079 (_POSIX_PRIORITIZED_IO): Undefine macro.
43080 (_POSIX_SPIN_LOCKS): Define macro to -1.
43081
ee16e894
ST
43082 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43083 SA_NODEFER, SA_RESETHAND.
43084 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43085 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43086 F_DUPFD_CLOEXEC.
43087
6103ae3b
TS
430882012-05-10 Thomas Schwinge <thomas@schwinge.name>
43089
43090 * elf/Makefile (pldd-modules): Define unconditionally.
43091
80b4e5f3
TS
430922012-05-10 Thomas Schwinge <thomas@schwinge.name>
43093
43094 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43095
edadcbd6
ST
430962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43097
43098 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43099 Return ENOENT when name is empty.
43100 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43101
80694780
TS
431022012-05-10 Thomas Schwinge <thomas@schwinge.name>
43103
1792c087
TS
43104 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43105
80694780
TS
43106 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43107
6b645f0d
ST
431082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43109
80694780
TS
43110 Fix mlock in all cases except non-readable pages.
43111 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43112 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43113
6b645f0d
ST
43114 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43115 (__mkdir): When path is `/', just fail with EEXIST.
43116 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43117
e468f8a3
TS
431182012-05-10 Thomas Schwinge <thomas@schwinge.name>
43119
43120 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43121 <sys/uio.h> (for writev).
43122 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43123 and <sys/param.h> (for MIN).
43124
a4186cff
PT
431252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43126
43127 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43128 REQUESTED_TIME. Properly set the remaining time and return EINTR
43129 if interrupted.
43130
510bbf14
TS
431312012-05-10 Thomas Schwinge <thomas@schwinge.name>
43132
43133 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43134 Depend on against $(link-rpcuserlibs).
43135
5d5722e8
ST
431362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43137
a4186cff
PT
43138 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43139 (__libc_stack_end): Do not use attribute_relro.
43140 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43141 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43142 to libthread-provided value.
a4186cff
PT
43143 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43144 attribute_relro.
5d5722e8 43145
37233df9
TS
431462012-05-10 Thomas Schwinge <thomas@schwinge.name>
43147
be971a2b
TS
43148 [BZ #3748]
43149 * bits/libc-lock.h (__libc_once_get): New macro.
43150 * sysdeps/mach/bits/libc-lock.h: Likewise.
43151 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43153 instead of using implementation details.
43154
37233df9
TS
43155 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43156 * libio/freopen.c: Likewise.
43157 * libio/freopen64.c: Likewise.
43158 * misc/syslog.c: Likewise.
43159 * nscd/connections.c: Likewise.
43160 * nscd/netgroupcache.c: Likewise.
43161 * sysdeps/posix/getcwd.c: Likewise.
43162
38de94a5
RM
431632012-05-10 Roland McGrath <roland@hack.frob.com>
43164
43165 * math/w_ilogbf.c: Add #include <limits.h>.
43166
67530489
ST
431672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43168
a4186cff 43169 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43170 path instead of returning without unlocking.
43171
67530489
ST
43172 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43173 immediate-write ioctls.
43174 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43175
5aa3a74a
TS
431762012-05-10 Thomas Schwinge <thomas@schwinge.name>
43177
18bad2ae
TS
43178 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43179 __builtin_frame_address instead of making assumptions about the
43180 location of the return address relative to DATA. Force early load of
43181 the return address.
43182 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43183 __builtin_frame_address.
43184
5aa3a74a
TS
43185 dup3 for GNU Hurd.
43186 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43187 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43188 implement dup3 and do some further code clean-ups.
43189 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43190 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43191
ecd0de9a
ST
431922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43193
cd9fa985
ST
43194 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43195
a4186cff
PT
43196 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43197 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43198 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43199 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43200 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43201 d->port.lock.
802ca5a5 43202
a4186cff
PT
43203 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43204 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43205 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43206
bcf55240
TS
432072012-05-10 Thomas Schwinge <thomas@schwinge.name>
43208
6960eb42
TS
43209 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43210 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43211 definitions.
43212
eb43375f
TS
43213 accept4 for GNU Hurd.
43214 * include/sys/socket.h (__libc_accept4): New prototype.
43215 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43216 to implement __libc_accept4.
43217 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43218 __libc_accept4.
43219 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43220
bcf55240
TS
43221 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43222 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43223 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43224 signal-defines.sym.
43225
6178c55b
ST
432262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43227
a4186cff 43228 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43229
6f080c2f
TS
432302012-05-10 Thomas Schwinge <thomas@schwinge.name>
43231
43232 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43233 assertion on O_CLOEXEC flag.
43234 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43235 * hurd/intern-fd.c: Likewise.
43236 * hurd/port2fd.c: Likewise.
43237
bcfe3a54
ST
432382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43239
43240 [BZ #3906]
43241 * bits/in.h (IPV6_PKTINFO): Define new macro.
43242 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43243
89c9aa49
AZ
432442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43245
43246 [BZ #13954]
43247 [BZ #13955]
43248 [BZ #13956]
43249 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43251 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43252 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43254 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43255 * math/libm-test.inc (logb_test) : Additional logb tests.
43256
021db4be
AJ
432572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43258 Andreas Jaeger <aj@suse.de>
43259
43260 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43261 * configure: Regenerated.
43262 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43263 * config.make.in (link-obsolete-rpc): New substituted variable.
43264 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43265 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43266 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43267 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43268 so that libc.a contains the symbols.
43269 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43270 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43271 * sunrpc/auth_none.c: Likewise.
43272 * sunrpc/auth_unix.c: Likewise.
43273 * sunrpc/authdes_prot.c: Likewise.
43274 * sunrpc/authuxprot.c: Likewise.
43275 * sunrpc/clnt_gen.c: Likewise.
43276 * sunrpc/clnt_perr.c: Likewise.
43277 * sunrpc/clnt_raw.c: Likewise.
43278 * sunrpc/clnt_simp.c: Likewise.
43279 * sunrpc/clnt_tcp.c: Likewise.
43280 * sunrpc/clnt_udp.c: Likewise.
43281 * sunrpc/clnt_unix.c: Likewise.
43282 * sunrpc/des_crypt.c: Likewise.
43283 * sunrpc/des_soft.c: Likewise.
43284 * sunrpc/get_myaddr.c: Likewise.
43285 * sunrpc/key_call.c: Likewise.
43286 * sunrpc/key_prot.c: Likewise.
43287 * sunrpc/netname.c: Likewise.
43288 * sunrpc/pm_getmaps.c: Likewise.
43289 * sunrpc/pm_getport.c: Likewise.
43290 * sunrpc/pmap_clnt.c: Likewise.
43291 * sunrpc/pmap_prot.c: Likewise.
43292 * sunrpc/pmap_prot2.c: Likewise.
43293 * sunrpc/pmap_rmt.c: Likewise.
43294 * sunrpc/publickey.c: Likewise.
43295 * sunrpc/rpc_cmsg.c: Likewise.
43296 * sunrpc/rpc_common.c: Likewise.
43297 * sunrpc/rpc_dtable.c: Likewise.
43298 * sunrpc/rpc_prot.c: Likewise.
43299 * sunrpc/rpc_thread.c: Likewise.
43300 * sunrpc/rtime.c: Likewise.
43301 * sunrpc/svc.c: Likewise.
43302 * sunrpc/svc_auth.c: Likewise.
43303 * sunrpc/svc_raw.c: Likewise.
43304 * sunrpc/svc_run.c: Likewise.
43305 * sunrpc/svc_tcp.c: Likewise.
43306 * sunrpc/svc_udp.c: Likewise.
43307 * sunrpc/svc_unix.c: Likewise.
43308 * sunrpc/svcauth_des.c: Likewise.
43309 * sunrpc/xcrypt.c: Likewise.
43310 * sunrpc/xdr.c: Likewise.
43311 * sunrpc/xdr_array.c: Likewise.
43312 * sunrpc/xdr_float.c: Likewise.
43313 * sunrpc/xdr_intXX_t.c: Likewise.
43314 * sunrpc/xdr_mem.c: Likewise.
43315 * sunrpc/xdr_rec.c: Likewise.
43316 * sunrpc/xdr_ref.c: Likewise.
43317 * sunrpc/xdr_sizeof.c: Likewise.
43318 * sunrpc/xdr_stdio.c: Likewise.
43319
b5c086a2
RM
433202012-05-10 Roland McGrath <roland@hack.frob.com>
43321
43322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43323 change. Update copyright years.
43324
6d74dd09
JM
433252012-05-10 Joseph Myers <joseph@codesourcery.com>
43326
43327 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43328
28e72501
MK
433292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43330 Joseph Myers <joseph@codesourcery.com>
43331 Paul Pluzhnikov <ppluzhnikov@google.com>
43332
43333 [BZ #14012]
43334 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43335 requiring rpcgen.
43336 [cross-compiling] (extra-libs): Likewise.
43337 [cross-compiling] (extra-libs-others): Likewise.
43338 [cross-compiling] (librpcsvc-routines): Likewise.
43339 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43340 [cross-compiling] (omit-deps): Likewise.
43341 (sunrpc-CPPFLAGS): New variable.
43342 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43343 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43344 (cross-rpcgen-objs): New variable.
43345 (extra-objs): Append $(cross-rpcgen-objs).
43346 ($(cross-rpcgen-objs)): New rule.
43347 ($(objpfx)cross-rpcgen): Likewise.
43348 (rpcgen-cmd): Define to use $(built-program-file). Expand
43349 comment.
43350 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43351 ($(objpfx)x%.stmp): Likewise.
43352 * sunrpc/proto.h [IS_IN_build] (_): Define.
43353 [IS_IN_build] (_libc_intl_domainname): Likewise.
43354
c8c59454
L
433552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43356
43357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43358 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43359 and R_X86_64_TPOFF64.
43360
6f27cd16
JM
433612012-05-10 Joseph Myers <joseph@codesourcery.com>
43362
43363 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43364 sysdeps/unix/sysv/syscalls.list.
43365 (stime): Likewise.
43366 (utime): Likewise.
43367 * sysdeps/unix/sysv/syscalls.list: Remove file.
43368
02467e1c
PE
433692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43370
43371 [BZ #3440]
43372 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43373 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43374 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43375 (__LC_IDENTIFICATION): Make these macros useful in #if
43376 expressions, as required by C99.
43377
da392631
AS
433782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43379
43380 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43381 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43382 after this.
43383
8115f29b
L
433842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43385
43386 * stdlib/longlong.h: Updated from GCC.
43387
bdd74070
AJ
433882012-05-09 Andreas Jaeger <aj@suse.de>
43389
edfe0dbe
AJ
43390 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43391 default is first entry.
43392 (run_mode): Set type.
43393 (main): Remove informal message about syslog.
43394 (options): Fix typo.
43395
bcfe3a54
ST
43396 [BZ #14053]
43397 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43398 to asm.
bcfe3a54
ST
43399 (lrint): Likewise.
43400 (llrintf): Likewise.
43401 (llrint): Likewise.
43402 (rint): Likewise.
43403 (rintf): Likewise.
43404 (nearbyint): Likewise.
43405 (nearbyintf): Likewise.
bdd74070 43406
91d8d69e
AJ
434072012-05-09 Andreas Jaeger <aj@suse.de>
43408 Pedro Alves <palves@redhat.com>
43409
43410 * nscd/nscd.c (run_mode): Use enum.
43411 (main): Cleanup coding style issue.
43412
bb90b80b
AJ
434132012-05-09 Alexandre Oliva <aoliva@redhat.com>
43414 Andreas Jaeger <aj@suse.de>
43415
bcfe3a54
ST
43416 * nscd/nscd.c (go_background): Replaced with...
43417 (run_mode): ... this.
bb90b80b 43418 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43419 (options): Add -F --foreground.
43420 (main): Implement it.
43421 (parse_opt): Parse it.
bb90b80b 43422
1a4b75a1
AJ
434232012-05-09 Andreas Jaeger <aj@suse.de>
43424
43425 [BZ #14083]
43426 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43427 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43428 -Wconversion warning.
43429 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43430 Likewise.
43431
b1cc2472
JM
434322012-05-09 Joseph Myers <joseph@codesourcery.com>
43433
43434 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43435 == 0.
43436 (LC_ALL): Use macro-int-constant.
43437 (LC_COLLATE): Likewise.
43438 (LC_CTYPE): Likewise.
43439 (LC_MESSAGES): Likewise.
43440 (LC_MONETARY): Likewise.
43441 (LC_NUMERIC): Likewise.
43442 (LC_TIME): Likewise.
43443 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43444 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43446 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43447 Specify type.
43448 [C99-based standards] (float_t): Expect type.
43449 [C99-based standards] (double_t): Expect type.
43450 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43451 type.
43452 [C99-based standards] (HUGE_VALL): Likewise.
43453 [C99-based standards] (INFINITY): Likewise.
43454 [C99-based standards] (NAN): Likewise.
43455 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43456 [C99-based standards] (FP_NAN): Likewise.
43457 [C99-based standards] (FP_NORMAL): Likewise.
43458 [C99-based standards] (FP_SUBNORMAL): Likewise.
43459 [C99-based standards] (FP_ZERO): Likewise.
43460 [C99-based standards] (FP_FAST_FMA): Use
43461 optional-macro-int-constant. Specify type. Require == 1.
43462 [C99-based standards] (FP_FAST_FMAF): Likewise.
43463 [C99-based standards] (FP_FAST_FMAL): Likewise.
43464 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43465 [C99-based standards] (FP_ILOGBNAN): Likewise.
43466 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43467 Specify type.
43468 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43469 [C99-based standards] (math_errhandling): Specify type.
43470 [ISO99 || ISO11] (signgam): Do not allow.
43471 [non-C99-based standards] (copysignf): Do not allow.
43472 [non-C99-based standards] (exp2f): Likewise.
43473 [non-C99-based standards] (log2f): Likewise.
43474 [non-C99-based standards] (modff): Allow.
43475 [non-C99-based standards] (erff): Do not allow.
43476 [non-C99-based standards] (erfcf): Likewise.
43477 [non-C99-based standards] (gammaf): Likewise.
43478 [non-C99-based standards] (hypotf): Likewise.
43479 [non-C99-based standards] (j0f): Likewise.
43480 [non-C99-based standards] (j1f): Likewise.
43481 [non-C99-based standards] (jnf): Likewise.
43482 [non-C99-based standards] (lgammaf): Likewise.
43483 [non-C99-based standards] (tgammaf): Likewise.
43484 [non-C99-based standards] (y0f): Likewise.
43485 [non-C99-based standards] (y1f): Likewise.
43486 [non-C99-based standards] (ynf): Likewise.
43487 [non-C99-based standards] (isnanf): Likewise.
43488 [non-C99-based standards] (acoshf): Likewise.
43489 [non-C99-based standards] (asinhf): Likewise.
43490 [non-C99-based standards] (atanhf): Likewise.
43491 [non-C99-based standards] (cbrtf): Likewise.
43492 [non-C99-based standards] (expm1f): Likewise.
43493 [non-C99-based standards] (ilogbf): Likewise.
43494 [non-C99-based standards] (log1pf): Likewise.
43495 [non-C99-based standards] (logbf): Likewise.
43496 [non-C99-based standards] (nextafterf): Likewise.
43497 [non-C99-based standards] (remainderf): Likewise.
43498 [non-C99-based standards] (rintf): Likewise.
43499 [non-C99-based standards] (scalbf): Likewise.
43500 [non-C99-based standards] (copysignl): Likewise.
43501 [non-C99-based standards] (exp2l): Likewise.
43502 [non-C99-based standards] (log2l): Likewise.
43503 [non-C99-based standards] (modfl): Allow.
43504 [non-C99-based standards] (erfl): Do not allow.
43505 [non-C99-based standards] (erfcl): Likewise.
43506 [non-C99-based standards] (gammal): Likewise.
43507 [non-C99-based standards] (hypotl): Likewise.
43508 [non-C99-based standards] (j0l): Likewise.
43509 [non-C99-based standards] (j1l): Likewise.
43510 [non-C99-based standards] (jnl): Likewise.
43511 [non-C99-based standards] (lgammal): Likewise.
43512 [non-C99-based standards] (tgammal): Likewise.
43513 [non-C99-based standards] (y0l): Likewise.
43514 [non-C99-based standards] (y1l): Likewise.
43515 [non-C99-based standards] (ynl): Likewise.
43516 [non-C99-based standards] (isnanl): Likewise.
43517 [non-C99-based standards] (acoshl): Likewise.
43518 [non-C99-based standards] (asinhl): Likewise.
43519 [non-C99-based standards] (atanhl): Likewise.
43520 [non-C99-based standards] (cbrtl): Likewise.
43521 [non-C99-based standards] (expm1l): Likewise.
43522 [non-C99-based standards] (ilogbl): Likewise.
43523 [non-C99-based standards] (log1pl): Likewise.
43524 [non-C99-based standards] (logbl): Likewise.
43525 [non-C99-based standards] (nextafterl): Likewise.
43526 [non-C99-based standards] (remainderl): Likewise.
43527 [non-C99-based standards] (rintl): Likewise.
43528 [non-C99-based standards] (scalbl): Likewise.
43529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43530 [non-C99-based standards] (FP_*): Do not allow.
43531 [C99-based standards] (FP_*): Change to
43532 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43533 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43534 allow.
43535 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43536 (SIG_ERR): Likewise.
43537 [X/Open-based standards] (SIG_HOLD): Likewise.
43538 (SIG_IGN): Likewise.
43539 (SIGABRT): Use macro-int-constant. Specify type. Require
43540 positive value.
43541 (SIGFPE): Likewise.
43542 (SIGILL): Likewise.
43543 (SIGINT): Likewise.
43544 (SIGSEGV): Likewise.
43545 (SIGTER): Likewise.
43546 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43547 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43548 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43549 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43550 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43551 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43552 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43553 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43554 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43555 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43556 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43557 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43558 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43559 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43560 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43561 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43562 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43563 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43564 [X/Open-based standards] (SIGTRAP): Likewise.
43565 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43566 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43567 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43568 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43569 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43570 allow.
43571
b9f1922d
IW
435722012-05-08 Ian Wienand <ianw@vmware.com>
43573
43574 [BZ #14080]
43575 * time/tzset.c (__tzset_parse_tz): Update default rules for
43576 daylight time changes in the Energy Policy Act of 2005.
43577
1db86e88
AJ
435782012-05-09 Andreas Jaeger <aj@suse.de>
43579
43580 [BZ #13983]
43581 * elf/ldconfig.c (parse_conf): Change string to make clear that
43582 ldconfig only issued a warning if ld.so.conf does not exist.
43583
dee4a4e3
DM
435842012-05-08 David S. Miller <davem@davemloft.net>
43585
ee0db190
DM
43586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43587 movxtod instead of popping the value on the stack.
43588
dee4a4e3
DM
43589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43590
6a43ec98
CD
435912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43592
43593 * config.h.in: Add HAVE_ARM_PCS_VFP.
43594
05c2c961
RMG
435952012-05-08 Roland Mc Grath <roland@hack.frob.com>
43596
bcfe3a54
ST
43597 [BZ #13979]
43598 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43599 checking but the checks are disabled for any reason.
05c2c961 43600
4b30f61a
L
436012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43602
43603 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43604 and ELF64_R_TYPE with ELFW(R_TYPE).
43605
eee2bc67
JM
436062012-05-08 Joseph Myers <joseph@codesourcery.com>
43607
7ea5391a
JM
43608 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43609 (ulimit): Likewise.
43610
eee2bc67
JM
43611 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43612 (settimeofday): Likewise.
43613
abb66a67
MF
436142012-05-08 Mike Frysinger <vapier@gentoo.org>
43615
43616 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43617 a struct th_u2 inside the union, and move tu_block/tu_code into
43618 a new th_u3 union of tu_block/tu_code inside of that. Move
43619 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43620 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43621 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43622 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43623 (th_stuff): Change to th_u1.tu_stuff.
43624 (th_data): Define.
43625 (th_msg): Change to th_u1.th_u2.tu_data.
43626
7f18b530
DM
436272012-05-07 David S. Miller <davem@davemloft.net>
43628
05760585
DM
43629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43630
7f18b530
DM
43631 [BZ #14074]
43632 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43633 (SETUP_PIC_REG): Use it.
43634 (SETUP_PIC_REG_LEAF): Use it.
43635
495fd99f
JM
436362012-05-07 Joseph Myers <joseph@codesourcery.com>
43637
43638 [BZ #13885]
43639 [BZ #13923]
43640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43641 USE_AS_EXPM1L.
43642 (EXPL_FINITE): Likewise.
43643 (FLDLOG): Likewise.
43644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43645 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43646 e_expl.S.
43647 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43648 USE_AS_EXPM1L.
43649 (EXPL_FINITE): Likewise.
43650 (FLDLOG): Likewise.
43651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43652 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43653 e_expl.S.
43654 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43655 test of -max_value argument for long double.
43656 * sysdeps/i386/fpu/libm-test-ulps: Update.
43657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658
6693d694
DM
436592012-05-06 David S. Miller <davem@davemloft.net>
43660
43661 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43662 quad soft-float symbols whose references which are compiler
43663 generated.
43664 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43665
6c23e11c
JM
436662012-05-06 Joseph Myers <joseph@codesourcery.com>
43667
d8b82cad
JM
43668 [BZ #13884]
43669 [BZ #13914]
43670 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43671 USE_AS_EXP10L.
43672 (EXPL_FINITE): Likewise.
43673 (FLDLOG): Likewise.
43674 (c0): Likewise.
43675 (c1): Likewise.
43676 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43677 Adjust comments for base varying.
43678 (__expl_finite): Change alias to EXPL_FINITE.
43679 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43680 e_expl.S.
43681 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43682 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43683 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43684 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43686 USE_AS_EXP10L.
43687 (EXPL_FINITE): Likewise.
43688 (FLDLOG): Likewise.
43689 (c0): Likewise.
43690 (c1): Likewise.
43691 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43692 Adjust comments for base varying.
43693 (__expl_finite): Change alias to EXPL_FINITE.
43694 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43695 tests for bugs.
43696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43697
6c23e11c
JM
43698 [BZ #14064]
43699 * math/libm-test.inc (check_float_internal): Correct ulp
43700 calculation for subnormal expected results.
43701
29ba805c
AJ
437022012-05-06 Andreas Jaeger <aj@suse.de>
43703
43704 * Makeconfig (+math-flags): New, set to -frounding-math.
43705 (+cflags): Add +math-flags so that all of glibc gets compiled with
43706 it.
43707
43708 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43709
7b17aeda
JM
437102012-05-05 Joseph Myers <joseph@codesourcery.com>
43711
5779f134
JM
43712 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43713 Disable one test.
43714
41498f4d
JM
43715 [BZ #13787]
43716 [BZ #13922]
43717 [BZ #14036]
43718 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43719 (__ieee754_expl): Allow for and saturate large arguments.
43720 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43721 (u_threshold): Likewise.
43722 (__exp): Call __ieee754_exp before checking for overflow and
43723 underflow.
43724 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43725 (u_threshold): Likewise.
43726 (__expf): Call __ieee754_expf before checking for overflow and
43727 underflow.
43728 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43729 (u_threshold): Likewise.
43730 (__expl): Call __ieee754_expl before checking for overflow and
43731 underflow.
43732 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43733 (__ieee754_expl): Allow for and saturate large arguments.
43734 * math/libm-test.inc (exp_test): Add another test. Do not allow
43735 missing overflow exception on overflow.
43736 (expm1_test): Do not allow missing overflow exception on overflow.
43737
6698b8bf
JM
43738 * sysdeps/i386/fpu/e_expl.c: Move to ...
43739 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43740 rather than using inline asm.
43741 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43742 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43743 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43744
7b17aeda
JM
43745 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43746 (nice): Likewise.
43747 (poll): Likewise.
43748 (signal): Likewise.
43749 (time): Likewise.
43750 (times): Likewise.
43751
f7c85819
JM
437522012-05-04 Joseph Myers <joseph@codesourcery.com>
43753
43754 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43755 sysdeps/unix/common/syscalls.list.
43756 (fchmod): Likewise.
43757 (fchown): Likewise.
43758 (ftruncate): Likewise.
43759 (getrusage): Likewise.
43760 (gettimeofday): Likewise.
43761 (setpgid): Likewise.
43762 (setregid): Likewise.
43763 (setreuid): Likewise.
43764 (sigaction): Likewise.
43765 (truncate): Likewise.
43766 (vhangup): Likewise.
43767 * sysdeps/unix/common/syscalls.list: Remove file.
43768 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43769 * sysdeps/unix/sysv/linux/Implies: Likewise.
43770
336270d0
L
437712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43772
43773 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43775 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43776 Moved to ...
43777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43778 Here.
43779 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43780 to ...
43781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43782 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43783 to ...
43784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43785 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43786 to ...
43787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43788 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43789 to ...
43790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43791 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43792 to ...
43793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43794 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43795 to ...
43796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43797 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43798 to ...
43799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43800 Here.
43801 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43802 to ...
43803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43804 Here.
43805 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43806 to ...
43807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43808 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43809 Moved to ...
43810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43811 Here.
43812 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43813 to ...
43814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43815
d128e450
JM
438162012-05-04 Joseph Myers <joseph@codesourcery.com>
43817
fa8ee516
JM
43818 * sysdeps/unix/common/bits/dirent.h: Remove file.
43819 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43820
d128e450
JM
43821 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43822 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43823 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43824 * sysdeps/unix/bsd/isatty.c: Likewise.
43825 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43826 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43827 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43828
ff8faaf0 438292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43830
62881be4 43831 [BZ #13563]
31dc8730
AZ
43832 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43833 long double comparison inaccuracies.
43834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43836
6fef930c
AS
438372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43838
43839 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43840 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43841
8f203e6c
JM
438422012-05-04 Joseph Myers <joseph@codesourcery.com>
43843
43844 [BZ #14049]
43845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43846 nonzero digits before rounding a hex value.
43847 * stdlib/tst-strtod.c (tests): Add another test.
43848
5197d9c2
AK
438492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43850
43851 * sysdeps/s390/fpu/libm-test-ulps: Update.
43852
f0c1dedf
AJ
438532012-05-03 Andreas Jaeger <aj@suse.de>
43854
43855 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43856 does not get optimized out.
43857 (malloc_opt_barrier): New.
43858
a65ef2ae 438592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43860 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43861
2b942cb7 43862 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43863 intermediate file deletion.
2b942cb7 43864 (generated): Add .symlist files.
a65ef2ae 43865
54b71e02
JM
438662012-05-03 Joseph Myers <joseph@codesourcery.com>
43867
43868 [BZ #13775]
43869 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43870 Redirect under this condition.
43871 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43872 [__USE_GNU] (__dprintf_chk): Not under this condition.
43873 [__USE_GNU] (__vdprintf_chk): Likewise.
43874 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43875 under this condition.
43876 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43877 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43878 [__USE_XOPEN2K8] (vdprintf): Likewise.
43879 [__USE_GNU] (__dprintf_chk): Not under this condition.
43880 [__USE_GNU] (__vdprintf_chk): Likewise.
43881 [__USE_GNU] (dprintf): Likewise.
43882 [__USE_GNU] (vdprintf): Likewise.
43883
d3dfcc41
RM
438842012-05-03 Roland McGrath <roland@hack.frob.com>
43885
43886 * elf/Makefile (common-generated): Set this instead of generated for
43887 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43888 $(all-built-dso)-derived lists.
43889
7ac30cc5
AJ
438902012-05-03 Andreas Jaeger <aj@suse.de>
43891
0c51e550
AJ
43892 * sysdeps/i386/fpu/libm-test-ulps: Update.
43893
7ac30cc5
AJ
43894 * FAQ: Removed.
43895 * FAQ.in: Likewise.
43896 * scripts/gen-FAQ.pl: Likewise.
43897 * manual/install.texi (Installation): Point to online location of
43898 FAQ.
43899 * Makefile (files-for-dist): Remove FAQ.
43900 (FAQ): Remove.
43901
d4c2917f
AM
439022012-05-02 Allan McRae <allan@archlinux.org>
43903
43904 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43905 (LDFLAGS-reldepmod5.so): Likewise.
43906 (LDFLAGS-reldep6mod1.so): Likewise.
43907 (LDFLAGS-reldep6mod4.so): Likewise.
43908 (LDFLAGS-reldep8mod3.so): Likewise.
43909 (LDFLAGS-unload4mod1.so): Likewise.
43910 (LDFLAGS-unload4mod2.so): Likewise.
43911 (LDFLAGS-tst-initorder): Likewise.
43912 (LDFLAGS-tst-initordera2.so): Likewise.
43913 (LDFLAGS-tst-initordera3.so): Likewise.
43914 (LDFLAGS-tst-initordera4.so): Likewise.
43915 (LDFLAGS-tst-initorderb2.so): Likewise.
43916 (LDFLAGS-noload): Likewise.
43917 (LDFLAGS-next): Likewise.
43918 (LDFLAGS-order2mod1.so): Likewise.
43919 (LDFLAGS-order2mod2.so): Likewise.
43920 (LDFLAGS-tst-initorder2): Likewise.
43921 (LDFLAGS-tst-initorder2a.so): Likewise.
43922 (LDFLAGS-tst-initorder2b.so): Likewise.
43923 (LDFLAGS-tst-initorder2c.so): Likewise.
43924 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43925
d77f993f
DM
439262012-05-02 David S. Miller <davem@davemloft.net>
43927
43928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43929
171a70b4
PP
439302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43931
43932 [BZ #14055]
43933 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43934
0be196ad
AJ
439352012-05-02 Andreas Jaeger <aj@suse.de>
43936
43937 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43938 since we manipulate rounding mode.
43939 (CPPFLAGS-test-idouble.c): Likewise.
43940 (CPPFLAGS-test-ifloat.c): Likewise.
43941 (CFLAGS-test-ldouble.c): Likewise.
43942 (CFLAGS-test-double.c): Likewise.
43943 (CFLAGS-test-float.c): Likewise.
43944 (CFLAGS-test-misc.c): Likewise.
43945 (CFLAGS-test-test-fenv.c): Likewise.
43946
4f9d04aa
AZ
439472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43948
2b942cb7
RM
43949 [BZ #2550]
43950 [BZ #2570]
43951 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43952 comparisons to determine direction to adjust input.
4f9d04aa 43953
82a79e7d
RM
439542012-05-01 Roland McGrath <roland@hack.frob.com>
43955
f5a01ca9
RM
43956 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43957 output to the target.
43958
90fe4186
RM
43959 * scripts/localplt.awk: New file.
43960 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43961 (check-localplt-CFLAGS): Variable removed.
43962 ($(all-built-dso:=.jmprel)): New static pattern rule.
43963 (generated): Add those targets.
43964 (localplt-built-dso): New variable.
43965 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43966
43967 * elf/check-localplt.c: File removed.
43968
82397ed6
RM
43969 * scripts/check-execstack.awk: New file.
43970 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43971 (check-execstack-CFLAGS): Variable removed.
43972 ($(objpfx)check-execstack.h): Target removed.
43973 ($(objpfx)execstack-default): New target.
43974 (generated): Add that instead of check-execstack.h.
43975 ($(all-built-dso:=.phdr)): New static pattern rule.
43976 (generated): Add those targets.
43977 * elf/check-execstack.c: File removed.
43978
82a79e7d
RM
43979 * scripts/check-textrel.awk: New file.
43980 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43981 (check-textrel-CFLAGS): Variable removed.
43982 (all-built-dso): Use := to define.o
43983 ($(all-built-dso:=.dyn)): New static pattern rule.
43984 (generated): Add those targets.
43985 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43986 * config.make.in (READELF): New substituted variable.
43987 * elf/check-textrel.c: File removed.
43988
62fde54f 439892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43990
615605c9
JM
43991 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43992 allow.
43993 * conform/data/ctype.h-data [C99-based standards] (isblank):
43994 Expect function.
43995 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43996 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43998 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43999 Specify type. Require positive value.
44000 (EILSEQ): Likewise.
44001 (ERANGE): Likewise.
44002 [ISO || POSIX] (EILSEQ): Do not expect.
44003 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44004 Specify type. Require positive value.
44005 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44006 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44007 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44008 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44009 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44010 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44011 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44012 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44013 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44014 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44015 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44016 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44017 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44018 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44019 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44020 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44021 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44022 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44023 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44024 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44025 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44026 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44027 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44028 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44029 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44030 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44031 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44032 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44033 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44034 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44035 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44036 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44037 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44038 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44039 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44040 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44041 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44042 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44043 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44044 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44045 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44046 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44047 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44048 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44049 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44050 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44051 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44052 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44053 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44054 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44055 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44056 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44057 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44058 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44059 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44060 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44061 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44062 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44063 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44064 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44065 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44066 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44067 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44068 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44069 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44070 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44071 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44072 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44073 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44074 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44075 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44076 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44077 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44078 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44079 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44080 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44081 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44082 Require >= 2.
44083 (FLT_ROUNDS): Expect as macro, not constant.
44084 (FLT_MANT_DIG): Use macro-int-constant.
44085 (DBL_MANT_DIG): Likewise.
44086 (LDBL_MANT_DIG): Likewise.
44087 (FLT_DIG): Likewise.
44088 (DBL_DIG): Likewise.
44089 (LDBL_DIG): Likewise.
44090 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44091 (DBL_MIN_EXP): Likewise.
44092 (LDBL_MIN_EXP): Likewise.
44093 (FLT_MAX_EXP): Use macro-int-constant.
44094 (DBL_MAX_EXP): Likewise.
44095 (LDBL_MAX_EXP): Likewise.
44096 (FLT_MAX_10_EXP): Likewise.
44097 (DBL_MAX_10_EXP): Likewise.
44098 (LDBL_MAX_10_EXP): Likewise.
44099 (FLT_MAX): Use macro-constant.
44100 (DBL_MAX): Likewise.
44101 (LDBL_MAX): Likewise.
44102 (FLT_EPSILON): Use macro-constant. Give upper bound.
44103 (DBL_EPSILON): Likewise.
44104 (LDBL_EPSILON): Likewise.
44105 (FLT_MIN): Likewise.
44106 (DBL_MIN): Likewise.
44107 (LDBL_MIN): Likewise.
44108 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44109 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44110 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44111 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44112 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44113 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44114 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44115 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44116 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44117 [ISO11] (FLT_TRUE_MIN): Likewise.
44118 [ISO11] (LDBL_TRUE_MIN): Likewise.
44119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44120 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44121 (SCHAR_MIN): Use macro-int-constant. Specify type.
44122 (SCHAR_MAX): Likewise.
44123 (UCHAR_MAX): Likewise.
44124 (CHAR_MIN): Likewise.
44125 (CHAR_MAX): Likewise.
44126 (MB_LEN_MAX): Use macro-int-constant.
44127 (SHRT_MIN): Use macro-int-constant. Specify type.
44128 (SHRT_MAX): Likewise.
44129 (USHRT_MAX): Likewise.
44130 (INT_MAX): Likewise.
44131 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44132 bound negative.
44133 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44134 bound with "U".
44135 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44136 bound with "L".
44137 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44138 bound negative. Suffix upper bound with "L".
44139 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44140 bound with "UL".
44141 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44142 Specify type.
44143 [C99-based standards] (LLONG_MAX): Likewise.
44144 [C99-based standards] (ULLONG_MAX): Likewise.
44145 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44146 == 0.
44147 [ISO11] (max_align_t): Require type.
44148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44149
c9140a62
JM
44150 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44151 from $CFLAGS, without defining away __attribute__ calls.
44152 (checknamespace): Use $CFLAGS_namespace.
44153
9af0bf29
JM
44154 * conform/conformtest.pl (@keywords): Only include C99 keywords
44155 for standards based on C99 or C11.
44156
343222a2
JM
44157 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44158 Disable tests.
44159 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44160 UNIX98]: Likewise.
44161
661f8cf0
JM
44162 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44163 usability of symbols in #if.
44164
ee74b9cb
JM
44165 * conform/conformtest.pl: If macro or constant types start
44166 "promoted:", expect the symbol to be of the following type
44167 promoted by the integer promotions.
62fde54f 44168
aafc49b3
JM
44169 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44170 in one place. Also handle "macro-constant".
44171
fefdf574
JM
44172 * conform/conformtest.pl: Only accept expected macro values with
44173 "==". Parse all "macro" lines in one place.
44174 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44175
f2d922fe
JM
44176 * conform/conformtest.pl: Handle braced types on "constant" lines
44177 instead of handling "typed-constant".
44178 * conform/data/signal.h-data: Use "constant" instead of
44179 "typed-constant".
44180
d22956c9
JM
44181 * conform/conformtest.pl: Handle "optional-" at start of lines in
44182 one place rather than duplicating several cases. Handle each
44183 format of "macro" line with initial "optional-".
44184
028e2e38
JM
44185 * conform/conformtest.pl: Only accept expected constant or
44186 optional-constant values with "==". Parse all "constant" lines in
44187 one place. Parse all "optional-constant" lines in one place.
44188 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44189 * conform/data/fmtmsg.h-data: Likewise.
44190 * conform/data/netinet/in.h-data: Likewise.
44191 * conform/data/tar.h-data: Likewise.
44192 * conform/data/limits.h-data: Use "==" form on "constant" and
44193 "optional-constant" lines.
44194
1b8f2850
JM
44195 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44196 Use -std=c99 for XOPEN2K.
44197 (@knownproblems): Remove.
44198 (newtoken): Don't check %isknown.
44199
a05a144b
JM
44200 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44201 Do not expect macro.
44202 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44203 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44204 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44205 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44206 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44207 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44208 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44209 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44210 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44211 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44212 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44213 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44214 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44215 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44216 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44217 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44218 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44219 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44220 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44221 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44222 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44223 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44224 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44225 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44226 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44227 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44228 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44229 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44230 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44231 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44232 [XPG3] (acosh): Likewise.
44233 [XPG3] (asinh): Likewise.
44234 [XPG3] (atanh): Likewise.
44235 [XPG3] (cbrt): Likewise.
44236 [XPG3] (expm1): Likewise.
44237 [XPG3] (ilogb): Likewise.
44238 [XPG3] (log1p): Likewise.
44239 [XPG3] (logb): Likewise.
44240 [XPG3] (nextafter): Likewise.
44241 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44242 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44243 [XPG3] (remainder): Likewise.
44244 [XPG3] (rint): Likewise.
44245 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44246 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44247 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44248 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44249 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44250 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44251 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44252 [UNIX98 || XOPEN2K] (scalb): Expect.
44253 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44254 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44255 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44256 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44257 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44258 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44259 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44260 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44261 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44262 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44263 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44264 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44265 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44266 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44267 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44268 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44269 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44270 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44271 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44272 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44273 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44274 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44275 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44276 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44277 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44278 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44279 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44280 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44281 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44282 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44283 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44284 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44285 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44286 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44287 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44288 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44289 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44290 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44291 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44292 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44293 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44294 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44295 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44296 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44297 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44298 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44299 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44300 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44301 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44302 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44303 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44304 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44305 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44306 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44307 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44308 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44309 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44310 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44311 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44312 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44313 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44314 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44315 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44316 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44317 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44318 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44319 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44320 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44321 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44322 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44323 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44324 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44325 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44326 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44327 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44328 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44329 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44330 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44331 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44332 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44333 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44334 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44335 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44336 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44337 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44338 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44339 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44340 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44341 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44342 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44343 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44344 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44345 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44346 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44347 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44348 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44349 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44350 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44351 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44352 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44353 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44354 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44355 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44356 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44357 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44358 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44359 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44360 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44361 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44362 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44363 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44364 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44365 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44366 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44367 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44368 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44369 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44370 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44371 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44372 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44373 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44374 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44375 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44376 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44377 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44378 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44379 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44380 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44381 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44382 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44383 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44384 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44385 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44386 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44387 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44388 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44389 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44390
73c5ebe3
JM
44391 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44392 _XOPEN_SOURCE_EXTENDED for XPG4.
44393
39c33b6c
JM
44394 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44395
62fde54f
JM
44396 * Makeconfig (localtime): Remove variable.
44397 (inst_localtime-file): Likewise.
44398
0741d64c
AS
443992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44400
44401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44402 Update.
44403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44404 Update.
44405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44406 Update.
44407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44408 Update.
44409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44410 Update.
44411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44412 Update.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44414 Update.
44415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44416 Update.
44417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44418 Update.
44419
7cb029ee
JM
444202012-05-01 Joseph Myers <joseph@codesourcery.com>
44421
44422 [BZ #2550]
44423 [BZ #2570]
44424 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44425 comparisons to determine direction to adjust input.
44426 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44427 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44428 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44429 Likewise.
44430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44431 Likewise.
44432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44433 Likewise.
44434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44435 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44436 Likewise.
44437 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44438 Likewise.
44439 * math/libm-test.inc (nexttoward_test): Add more tests.
44440
412bd966
AS
444412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44442
44443 [BZ #14040]
44444 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44445 in version GLIBC_2.1, not GLIBC_2.0.
44446 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44447 Likewise.
44448
9568c0c2
JM
444492012-04-30 Joseph Myers <joseph@codesourcery.com>
44450
adfbc8ac
JM
44451 [BZ #13942]
44452 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44453 (1 - x) * (1 + x).
44454 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44455 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44456 * math/libm-test.inc (acos_test): Add more tests.
44457 (asin_test): Likewise.
44458 * sysdeps/i386/fpu/libm-test-ulps: Update.
44459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44460
5ba3cc69
JM
44461 [BZ #14034]
44462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44463 of square root.
44464 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44465 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44466 * math/libm-test.inc (acos_test_tonearest): New function.
44467 (acos_test_towardzero): Likewise.
44468 (acos_test_downward): Likewise.
44469 (acos_test_upward): Likewise.
44470 (asin_test_tonearest): Likewise.
44471 (asin_test_towardzero): Likewise.
44472 (asin_test_downward): Likewise.
44473 (asin_test_upward): Likewise.
44474 (main): Call the new functions.
44475 * sysdeps/i386/fpu/libm-test-ulps: Update.
44476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44477
9568c0c2
JM
44478 [BZ #13884]
44479 [BZ #13924]
44480 * math/e_exp10.c: Include <float.h>.
44481 (__ieee754_exp10): Handle underflow here rather than multiplying
44482 large negative argument by M_LN10.
44483 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44484 of __ieee754_expf.
44485 * math/e_exp10l.c: Include <float.h>.
44486 (__ieee754_exp10l): Handle underflow here rather than multiplying
44487 large negative argument by M_LN10l.
44488 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44489 spurious overflow exception on underflow.
44490
5ac3ea17
MP
444912012-04-29 Marek Polacek <polacek@redhat.com>
44492
44493 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44494 (__fortify_function): New macro.
44495 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44496 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44497 __extern_always_inline.
44498 * libio/bits/stdio2.h: Likewise.
44499 * libio/bits/stdio.h: Likewise.
44500 * string/string.h: Likewise.
44501 * string/bits/string3.h: Likewise.
44502 * include/stdio.h: Likewise.
44503 * stdlib/bits/stdlib.h: Likewise.
44504 * stdlib/stdlib.h: Likewise.
44505 * rt/bits/mqueue2.h: Likewise.
44506 * rt/mqueue.h: Likewise.
44507 * posix/bits/unistd.h: Likewise.
44508 * posix/unistd.h: Likewise.
44509 * io/bits/poll2.h: Likewise.
44510 * io/bits/fcntl2.h: Likewise.
44511 * io/fcntl.h: Likewise.
44512 * io/sys/poll.h: Likewise.
44513 * misc/bits/syslog.h: Likewise.
44514 * misc/bits/syslog-ldbl.h: Likewise.
44515 * misc/sys/syslog.h: Likewise.
44516 * socket/bits/socket2.h: Likewise.
44517 * socket/sys/socket.h: Likewise.
44518 * debug/tst-chk1.c: Likewise.
44519 * wcsmbs/bits/wchar2.h: Likewise.
44520 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44521 * wcsmbs/wchar.h: Likewise.
44522
ecf0ebfb
AJ
445232012-04-29 Andreas Jaeger <aj@suse.de>
44524
44525 * Makerules (tests): Remove enable-check-abi protection.
44526 (check-abi-warn): Remove.
44527 (check-abi-%): Remove check-abi-warn usage.
44528
44529 * configure.in: Remove check-abi configure option.
44530 * configure: Regenerated.
44531 * config.make.in (enable-check-abi): Remove.
44532
6d5c57fa
AS
445332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44534
24c5d07e 44535 [BZ #14033]
ded5180a
AS
44536 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44537 double functions to double *_finite functions.
44538
7e0d315d
AS
44539 [BZ #13941]
44540 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44541 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44542 LDBL_MIN_EXP.
44543 * stdio-common/Makefile (tests): Add tst-sprintf3.
44544 * stdio-common/tst-sprintf3.c: New file.
44545
6d5c57fa
AS
44546 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44547 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44548
0749ff8b
JM
445492012-04-28 Joseph Myers <joseph@codesourcery.com>
44550
44551 * conform/conformtest.pl: Remove duplicate typed-constant
44552 handling.
44553
8dbd5d7b
DM
445542012-04-28 David S. Miller <davem@davemloft.net>
44555
44556 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44557 (check-abi-%): Remove AWK script prerequisite and explicit
44558 abilist directory.
44559 (check-abi): Rewrite to just diff the symlist with the abilist.
44560 (config-tls, config-abi-config): Delete, no longer used.
44561 (update-abi-%): Remove AWK script and explicit abilist directory.
44562 (update-abi): Rewrite to simply compare and conditionally copy the
44563 symlist and the sysdep abilist file. Remove update-abi-config
44564 checks.
44565 * abilist/ld.abilist: Remove.
44566 * abilist/libBrokenLocale.abilist: Remove.
44567 * abilist/libanl.abilist: Remove.
44568 * abilist/libcrypt.abilist: Remove.
44569 * abilist/libdl.abilist: Remove.
44570 * abilist/librt.abilist: Remove.
44571 * abilist/libthread_db.abilist: Remove.
44572 * abilist/libutil.abilist: Remove.
44573 * scripts/extract-abilist.awk: Remove.
44574 * scripts/merge-abilist.awk: Remove.
44575 * sysdeps/generic/libcidn.abilist: New file.
44576 * sysdeps/generic/libnss_compat.abilist: New file.
44577 * sysdeps/generic/libnss_db.abilist: New file.
44578 * sysdeps/generic/libnss_dns.abilist: New file.
44579 * sysdeps/generic/libnss_files.abilist: New file.
44580 * sysdeps/generic/libnss_hesiod.abilist: New file.
44581 * sysdeps/generic/libnss_nis.abilist: New file.
44582 * sysdeps/generic/libnss_nisplus.abilist: New file.
44583 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44584 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44585 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44586 file.
44587 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44588 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44589 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44590 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44591 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44592 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44593 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44594 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44595 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44596 file.
44597 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44598 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44599 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44600 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44601 file.
44602 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44603 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44604 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44605 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44606 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44607 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44608 file.
44609 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44610 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44611 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44612 file.
44613 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44615 New file.
44616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44617 New file.
44618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44619 New file.
44620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44621 New file.
44622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44623 New file.
44624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44625 New file.
44626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44627 New file.
44628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44629 New file.
44630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44631 New file.
44632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44633 New file.
44634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44635 New file.
44636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44637 New file.
44638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44639 New file.
44640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44641 file.
44642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44643 New file.
44644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44645 New file.
44646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44647 file.
44648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44649 New file.
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44651 New file.
44652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44653 file.
44654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44655 New file.
44656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44657 New file.
44658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44659 New file.
44660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44661 New file.
44662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44663 New file.
44664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44665 New file.
44666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44668 file.
44669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44670 New file.
44671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44672 file.
44673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44674 file.
44675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44676 file.
44677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44678 file.
44679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44680 file.
44681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44682 New file.
44683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44684 file.
44685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44686 file.
44687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44688 New file.
44689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44690 file.
44691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44693 file.
44694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44695 New file.
44696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44697 file.
44698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44699 file.
44700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44701 file.
44702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44703 file.
44704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44705 file.
44706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44707 New file.
44708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44709 file.
44710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44711 file.
44712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44713 New file.
44714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44715 file.
44716 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44717 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44718 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44719 file.
44720 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44721 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44722 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44723 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44724 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44725 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44726 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44727 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44728 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44729 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44732 file.
44733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44734 New file.
44735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44736 file.
44737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44738 file.
44739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44740 file.
44741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44742 file.
44743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44744 file.
44745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44746 New file.
44747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44748 New file.
44749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44750 file.
44751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44752 New file.
44753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44754 file.
44755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44757 file.
44758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44759 New file.
44760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44761 file.
44762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44763 file.
44764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44765 file.
44766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44767 file.
44768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44769 file.
44770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44771 New file.
44772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44773 New file.
44774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44775 file.
44776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44777 New file.
44778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44779 file.
44780
41d73a1b
JM
447812012-04-28 Joseph Myers <joseph@codesourcery.com>
44782
44783 * conform/conformtest.pl: Fix typo in handling typed-constant from
44784 allow-header.
44785
28aeeda4
JM
447862012-04-27 Joseph Myers <joseph@codesourcery.com>
44787
adae8f5e
JM
44788 * README: Cut down references to pre-2.6 Linux kernels and
44789 Linuxthreads. Update lists of configurations in libc and ports
44790 and sort alphabetically. Say "or newer" with Linux kernel version
44791 requirements.
44792
28aeeda4
JM
44793 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44794
a462cb63
RA
447952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44796
44797 [BZ #887]
44798 * math/libm-test.inc (logb_test_downward): New test to expose
44799 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44800 rounding mode.
44801
6ad3493e
JM
448022012-04-27 Joseph Myers <joseph@codesourcery.com>
44803
44804 [BZ #14027]
44805 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44806 to be done.
44807 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44808 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44809
2ce4f015
JM
448102012-04-26 Joseph Myers <joseph@codesourcery.com>
44811
5aeb141a
JM
44812 * sysdeps/unix/i386/brk.S: Remove file.
44813 * sysdeps/unix/i386/dl-brk.S: Likewise.
44814 * sysdeps/unix/i386/pipe.S: Likewise.
44815 * sysdeps/unix/i386/sigreturn.S: Likewise.
44816 * sysdeps/unix/i386/syscall.S: Likewise.
44817 * sysdeps/unix/i386/vfork.S: Likewise.
44818 * sysdeps/unix/i386/wait.S: Likewise.
44819
7143acae
JM
44820 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44821 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44822
2ce4f015
JM
44823 * configure.in (arm*-none*): Do not allow without
44824 --enable-hacker-mode.
44825 (netbsd*): Remove case setting base_os.
44826 (386bsd*): Likewise.
44827 (freebsd*): Likewise.
44828 (bsdi*): Likewise.
44829 (osf*): Likewise.
44830 (sunos*): Likewise.
44831 (ultrix*): Likewise.
44832 (newsos*): Likewise.
44833 (dynix*): Likewise.
44834 (*bsd*): Likewise.
44835 (sysv*): Likewise.
44836 (isc*): Likewise.
44837 (esix*): Likewise.
44838 (sco*): Likewise.
44839 (minix*): Likewise.
44840 (irix4*): Likewise.
44841 (irix6*): Likewise.
44842 (solaris[2-9]*): Likewise.
44843 (none): Likewise.
44844 * configure: Regenerated.
44845
0ac229c8
AZ
448462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44847
44848 [BZ #11521]
44849 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44850 overflow or cancellation in calculating denominator.
44851 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44853 down expression to avoid unexpected rounding in newer GCCs.
44854 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44855
33f244f4
DM
448562012-04-26 David S. Miller <davem@davemloft.net>
44857
44858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44859 long-double compat symbols.
44860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44873
cfa1f3e8
DM
448742012-04-25 David S. Miller <davem@davemloft.net>
44875
44876 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44877 HWCAP_* values only after the memory barriers have been defined.
44878 (atomic_full_barrier): Define.
44879 (atomic_read_barrier): Define.
44880 (atomic_write_barrier): Define.
44881
6e236b92
SP
448822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44883
44884 * shlib-versions: Add libgcc_s version information.
44885 * sysdeps/generic/libgcc_s.h: Remove.
44886 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44887 libgcc_s.h.
44888 * sysdeps/gnu/unwind-resume.c: Likewise.
44889 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44890
aab39a09
DM
448912012-04-25 David S. Miller <davem@davemloft.net>
44892
44893 * sysdeps/unix/sparc/brk.S: Delete.
44894 * sysdeps/unix/sparc/dl-brk.S: Delete.
44895 * sysdeps/unix/sparc/pipe.S: Delete.
44896 * sysdeps/unix/sparc/sysdep.S: Delete.
44897 * sysdeps/unix/sparc/sysdep.h: Delete.
44898 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44899 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44900 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44902 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44903 (JUMPTARGET): Remove.
44904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44905 sysdeps/unix/sparc/sysdep.h
44906 (ENTRY, END): Remove.
44907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44908
a3cc4f48
JM
449092012-04-25 Joseph Myers <joseph@codesourcery.com>
44910
2ed8cda2
JM
44911 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44912 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44913 -DIS_IN_build.
44914
35d76d59
JM
44915 * timezone/README: Update upstream location and email address for
44916 tzcode and tzdata.
44917 * timezone/zdump.c: Update from tzcode 2012b.
44918 * timezone/zic.c: Likewise.
44919
a3cc4f48
JM
44920 * configure.in (libc_cv_as_needed): Remove test.
44921 * configure: Regenerated.
44922 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44923 conditional definition.
44924 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44925 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44926 * config.make.in (have-as-needed): Remove variable.
44927
ceab42c3
SP
449282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44929 Paul Pluzhnikov <ppluzhnikov@google.com>
44930
44931 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44932 strings correctly.
44933
3ce2865f
CLT
449342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44935
44936 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44937 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44938 * sysdeps/sh/strlen.S: Likewise.
44939
f37e0d68
JM
449402012-04-24 Joseph Myers <joseph@codesourcery.com>
44941
ae186e9a
JM
44942 * sysdeps/unix/fork.S: Remove file.
44943 * sysdeps/unix/i386/fork.S: Likewise.
44944 * sysdeps/unix/sparc/fork.S: Likewise.
44945
b96914af
JM
44946 * sysdeps/unix/system.c: Remove file.
44947 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44948
f37e0d68
JM
44949 * sysdeps/unix/getegid.S: Remove file.
44950 * sysdeps/unix/geteuid.S: Likewise.
44951
87ef29ca
RM
449522012-04-24 Roland McGrath <roland@hack.frob.com>
44953
83bcd236
RM
44954 * scripts/check-localplt.awk: New file.
44955 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44956 of diff.
44957 * scripts/data/localplt-generic.data: Add a comment.
44958
87ef29ca
RM
44959 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44960 NODE when __dir_mkfile failed.
44961 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44962 Reported by Ludovic Courtès <ludo@gnu.org>.
44963
e5a6e567
AJ
449642012-04-24 Andreas Jaeger <aj@suse.de>
44965
44966 * Makerules (common-clean): Also remove gen-as-const-headers
44967 files.
44968
c1820385
JM
449692012-04-24 Joseph Myers <joseph@codesourcery.com>
44970
44971 * Makerules (native-compile): Do not change working directory for
44972 build. Use $(OUTPUT_OPTION) in command.
44973 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44974
94e02fc4
AZ
449752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44976
44977 [BZ #13886]
44978 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44979 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44980 * math/libm-test.inc (floor_test): Add more tests.
44981 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44982
3a533ca3
JM
449832012-04-24 Joseph Myers <joseph@codesourcery.com>
44984
940ab4b3
JM
44985 * sysdeps/unix/getdents.c: Remove file.
44986 * sysdeps/unix/sysv/getdents.c: Likewise.
44987 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44988
90e037bd
JM
44989 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44990 sysdeps/unix/mman/syscalls.list.
44991 (mmap): Likewise.
44992 (mprotect): Likewise.
44993 (msync): Likewise.
44994 (munmap): Likewise.
44995 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44996 * sysdeps/unix/mman/syscalls.list: Remove.
44997 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44998
3a533ca3
JM
44999 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45000 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45001 * configure: Regenerated.
45002 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45003 $(libgcc_s_suffix).
45004 * config.make.in (libgcc_s_suffix): Remove variable.
45005
1ad743de
JM
450062012-04-23 Joseph Myers <joseph@codesourcery.com>
45007
4ad451e2
JM
45008 * sysdeps/unix/sysv/gethostname.c: Move to ...
45009 * sysdeps/posix/gethostname.c: ... here.
45010
5e37ce39
JM
45011 * sysdeps/unix/execve.S: Remove file.
45012
1ad743de
JM
45013 * sysdeps/unix/_exit.S: Remove file.
45014
4e681b5b
AJ
450152012-04-23 Andreas Jaeger <aj@suse.de>
45016
45017 [BZ #13739]
45018 * manual/Makefile: Remove make dist support, there's no
45019 need for a stand-alone documentation tar ball.
45020 (TEXI2DVI): Define always, it's not in Makeconfig.
45021 (dist): Removed.
45022 (tar-it): Removed.
45023 (edition): Removed.
45024 (glibc-doc-$(edition).tar): Removed
45025 (%.Z): Removed.
45026 (%.gz): Removed.
45027 (%.uu): Removed.
45028 (ETAGS): Remove, it's in Makeconfig.
45029 (move-if-change): Remove, it's in Makeconfig.
45030
38686a03 450312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45032
45033 [BZ #13970]
45034 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45035 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45036 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45037 (strtod_l, strtof_l, strtold_l): Remove __wur.
45038 It is not necessarily an error to ignore strtol's return value.
45039 One can reliably look at the stored endptr to decide whether
45040 the number had valid syntax.
45041
7c0616fa
AJ
450422012-04-21 Andreas Jaeger <aj@suse.de>
45043
803cb6b7 45044 [BZ #13739]
7c0616fa
AJ
45045 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45046
b0fe253f
JM
450472012-04-21 Joseph Myers <joseph@codesourcery.com>
45048
45049 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45050 * sysdeps/unix/sysv/Versions: Remove file.
45051
8280f22d
MT
450522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45053
45054 [BZ #13927]
45055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45056
75ce411f 450572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45058
45059 [BZ #7064]
45060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45061 version from __vm86.
45062
097d59fa
JM
450632012-04-20 Joseph Myers <joseph@codesourcery.com>
45064
a90f3bcb
JM
45065 * sysdeps/unix/common/lxstat.c: Remove file.
45066 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45067
edc7ea78
JM
45068 * sysdeps/unix/sysv/Makefile: Remove file.
45069
cb78c221
JM
45070 * sysdeps/unix/sysv/direct.h: Remove file.
45071
efa6a45f
JM
45072 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45073 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45074 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45075 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45076 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45077 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45078 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45079
9c9f2d0c
JM
45080 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45081
4541c83b
JM
45082 * sysdeps/unix/xmknod.c: Remove file.
45083 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45084
f5d153a0
JM
45085 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45086
aa746595
JM
45087 * sysdeps/unix/sysv/i386/time.S: Remove file.
45088
cce5905e
JM
45089 * sysdeps/unix/fxstat.c: Remove file.
45090 * sysdeps/unix/xstat.c: Likewise.
45091 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45092
37fa3841
JM
45093 * sysdeps/unix/sysv/sigaction.c: Remove file.
45094
ff1962a3
JM
45095 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45096 (sysdep_headers): Remove variable.
45097 [termio.h not in sysdep_headers] (generated): Likewise.
45098 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45099 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45100 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45101 * sysdeps/unix/sysv/tcflow.c: Likewise.
45102 * sysdeps/unix/sysv/tcflush.c: Likewise.
45103 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45104 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45105 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45106 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45107 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45108
e7740d31
JM
45109 * sysdeps/unix/siglist.c: Remove file.
45110
ee06f18b
JM
45111 * sysdeps/unix/getppid.S: Remove file.
45112
097d59fa
JM
45113 * sysdeps/unix/mkdir.c: Remove file.
45114 * sysdeps/unix/rmdir.c: Likewise.
45115
ff3d51ec
AS
451162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45117
45118 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45119 ERR_MAX value.
45120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45121 errlist-compat value.
45122
50f81fd7
DM
451232012-04-18 David S. Miller <davem@davemloft.net>
45124
45125 * sysdeps/generic/memcopy.h (reg_char): Delete.
45126 * debug/strcat_chk.c: Use char, not reg_char.
45127 * debug/strcpy_chk.c: Likewise.
45128 * debug/strncat_chk.c: Likewise.
45129 * debug/strncpy_chk.c: Likewise.
45130 * string/memchr.c: Likewise.
45131 * string/memrchr.c: Likewise.
45132 * string/rawmemchr.c: Likewise.
45133 * string/strcat.c: Likewise.
45134 * string/strchr.c: Likewise.
45135 * string/strchrnul.c: Likewise.
45136 * string/strcmp.c: Likewise.
45137 * string/strcpy.c: Likewise.
45138 * string/strncat.c: Likewise.
45139 * string/strncmp.c: Likewise.
45140 * string/strncpy.c: Likewise.
45141
8ff41c46
WS
451422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45143
45144 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45145 __builtin_memcopy is called when src and dest ranges are known to not
45146 overlap.
45147
6b652f46
WS
451482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45149
45150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45151 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45152 fwd_align_merge macro call.
45153 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45154 bwd_align_merge macro call.
45155 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45156
b282631e
WS
451572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45158
45159 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45160 bwd_align_merge macros.
45161 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45162 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45163 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45164
95aa737c
DM
451652012-04-18 David S. Miller <davem@davemloft.net>
45166
45167 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45168
7a99a614
AJ
451692012-04-18 Andreas Jaeger <aj@suse.de>
45170
45171 [BZ# 6794]
45172 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45173 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45174 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45175
45176 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45177 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45178 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45179
45180 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45181 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45182 Adjust for changed ldbl-128 files.
45183
45184 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45185 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45186 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45187
e5270c23
DM
451882012-04-17 David S. Miller <davem@davemloft.net>
45189
45190 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45191
fb5e92c9
AS
451922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45193
45194 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45195 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45196 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45197 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45198 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45199 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45200
76da7265
AZ
452012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45202
45203 [BZ #6794]
45204 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45205 * math/libm-test.inc: Add ilogb errno and exception tests.
45206 * math/w_ilogb.c: New file: ilogb wrapper.
45207 * math/w_ilogbf.c: New file: ilogbf wrapper.
45208 * math/w_ilogbl.c: New file: ilogbl wrapper.
45209 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45210 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45211 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45212 exception being thrown with 0.0 as argument.
45213 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45214 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45215 exception being thrown with 0.0 as argument.
45216 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45217 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45218 exception being thrown with 0.0 as argument.
45219 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45220 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45221 exception being thrown with 0.0 as argument.
45222 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45223 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45224 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45225 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45226 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45227 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45228 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45229 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45230 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45231
0396e69d
PB
452322012-04-17 Petr Baudis <pasky@ucw.cz>
45233
45234 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45235 with altivec.
45236
750b5926
MP
452372012-04-16 Marek Polacek <polacek@redhat.com>
45238
45239 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45240
751728a1
MP
452412012-04-16 Marek Polacek <polacek@redhat.com>
45242
45243 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45244 operands of fdivp instruction.
45245
34a27407
L
452462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45247
45248 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45249 * elf/tst-auditmod3b.c: Likewise.
45250 * elf/tst-auditmod4b.c: Likewise.
45251 * elf/tst-auditmod5b.c: Likewise.
45252 * elf/tst-auditmod6b.c: Likewise.
45253 * elf/tst-auditmod6c.c: Likewise.
45254 * elf/tst-auditmod7b.c: Likewise.
45255 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45256 * sysdeps/x86_64/preconfigure.in: Likewise.
45257 * sysdeps/x86_64/preconfigure: Regenerated.
45258
7e73e17d
L
452592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45260
45261 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45262 __ILP32__.
45263
c7a6ab72
AB
452642012-04-13 Antoine Balestrat <merkil33@gmail.com>
45265
45266 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45267 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45268
a9e8e0e0
CL
452692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45270
45271 [BZ #13973]
45272 * locale/iso-639.def: Fix gl language name. Spotted by
45273 Yaron Shahrabani.
45274
ec98af7d
RM
452752012-04-12 Roland McGrath <roland@hack.frob.com>
45276
45277 [BZ #2074]
45278 * libio/libio.h (__io_write_fn): Update comment.
45279
247c3ede
PB
452802012-04-12 Petr Baudis <pasky@ucw.cz>
45281
45282 [BZ #2074]
45283 * stdio.texi (Hook Functions): The user provided writer function
45284 is not allowed to return -1.
45285
55939d6d
DM
452862012-04-11 David S. Miller <davem@davemloft.net>
45287
45288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45289
90020f5a
MF
452902012-04-11 Mike Frysinger <vapier@gentoo.org>
45291
45292 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45293 Add a leading slash to rtkaio.
45294
288f9098
JM
452952012-04-11 Jim Meyering <meyering@redhat.com>
45296
90020f5a
MF
45297 [BZ #11959]
45298 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45299 It is not necessarily an error to ignore fwrite's return
45300 value. One can reliably use ferror to test for errors after
45301 the fact.
288f9098 45302
4be2b570
L
453032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45304
45305 * bits/types.h (__snseconds_t): New type.
45306 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45307
45308 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45310 (__SNSECONDS_T_TYPE): Likewise.
45311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45312 (__SNSECONDS_T_TYPE): Likewise.
45313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45314 (__SNSECONDS_T_TYPE): Likewise.
45315
288f9098 453162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45317
45318 [BZ #2636]
45319 * manual/time.texi (Processor Time): Return type of times is
45320 elapsed real time since an arbitrary point in the past.
45321 (CPU Time): Move CLK_TCK from here...
45322 (Processor Time): ...to here. Correct description.
45323 * manual/conf.texi (Constants for Sysconf): Correct description of
45324 _SC_CLK_TCK.
45325
d7dd4413
DM
453262012-04-10 David S. Miller <davem@davemloft.net>
45327
45328 [BZ #13967]
45329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45330 where the is a gap between DT_REL(A) and DT_JMPREL.
45331
b46068fc
L
453322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45333
45334 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45335 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45336 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45337
73d65cc3
SP
453382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45339
45340 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45341 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45342 (dl_main): Handle --inhibit-cache.
45343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45344 _dl_inhibit_cache.
45345 * elf/dl-load.c (_dl_map_object): Use it.
45346 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45347
bcc8d661
JM
453482012-04-09 Joseph Myers <joseph@codesourcery.com>
45349
8f9a2fae
JM
45350 [BZ #13872]
45351 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45352 (__ieee754_powl): Saturate large exponents rather than testing for
45353 overflow of y*log2(x).
45354 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45355 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45356 exceptions.
45357
bcc8d661
JM
45358 [BZ #11521]
45359 * math/s_ctan.c: Include <float.h>.
45360 (__ctan): Avoid internal overflow or cancellation in calculating
45361 denominator.
45362 * math/s_ctanf.c: Likewise.
45363 * math/s_ctanl.c: Likewise.
45364 * math/s_ctanh.c: Likewise.
45365 * math/s_ctanhf.c: Likewise.
45366 * math/s_ctanhl.c: Likewise.
45367 * math/libm-test.inc (ctan_test): Add more tests.
45368 (ctanh_test): Likewise.
45369 * sysdeps/i386/fpu/libm-test-ulps: Update.
45370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45371
823fbbb4
AJ
453722012-04-09 Andreas Jaeger <aj@suse.de>
45373
03879793
AJ
45374 [BZ #6894]
45375 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45376 is an optional BSD extension.
45377
823fbbb4
AJ
45378 [BZ #10254]
45379 * manual/stdio.texi (Opening Streams): Document additional fopen
45380 parameters.
45381
8de131cb
RM
453822012-04-09 Roland McGrath <roland@hack.frob.com>
45383
45384 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45385 %eax without telling the compiler.
45386
c0ed9d7d
CD
453872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45388
45389 [BZ # 13963]
45390 * manual/install.texi: Use sourceware.org.
45391
c483f6b4
JM
453922012-04-09 Joseph Myers <joseph@codesourcery.com>
45393
d7dd9453
JM
45394 [BZ #13873]
45395 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45396 (__ieee754_pow): Generate overflow and underflow using huge*huge
45397 and tiny*tiny rather than just returning constant infinity or zero
45398 for large exponents.
45399 * math/libm-test.inc (pow_test): Require overflow exceptions for
45400 applicable cases of large exponents.
45401
c483f6b4
JM
45402 [BZ #706]
45403 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45404 (__ieee754_pow): Use iterative multiplication algorithm only for
45405 integer exponents with absolute value below 1024. Check for odd
45406 integer exponents when using algorithm for real exponents.
45407 * math/libm-test.inc (pow_test): Add more tests.
45408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45409
d2de7579
JM
454102012-04-08 Joseph Myers <joseph@codesourcery.com>
45411
45412 [BZ #13705]
45413 * math/libm-test.inc (exp_test): Do not allow overflow exception
45414 on underflow test.
45415
f77f1232
AJ
454162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45417
45418 [BZ #13705]
45419 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45420 instead of __kernel_standard_f.
45421
3884932b
MF
454222012-04-08 Mike Frysinger <vapier@gentoo.org>
45423
45424 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45425 * sysdeps/x86_64/memset_chk.S: Likewise.
45426
54472e9c
AJ
454272012-04-08 Andreas Jaeger <aj@suse.de>
45428
6ab0fbfc
AJ
45429 [BZ #10153]
45430 * manual/startup.texi (Environment Access): Describe return value
45431 for putenv and setenv.
45432
61efba8c
AJ
45433 [BZ #6895]
45434 * manual/filesys.texi (Directory Entries): Add description for
45435 DT_LNK.
45436
95c3f29a
AJ
45437 [BZ #6890]
45438 * manual/filesys.texi (Directory Entries): Clarify that it's file
45439 system not operating system in the description of DT_UNKNOWN.
45440
54472e9c
AJ
45441 [BZ #6578]
45442 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45443
624254b1
SC
454442012-04-08 Stephen Compall <s11@member.fsf.org>
45445
45446 [BZ #6649]
45447 * manual/llio.texi (Opening and Closing Files): Add cross
45448 reference to explain mode argument.
45449
1e4920e0
MF
454502012-04-07 Mike Frysinger <vapier@gentoo.org>
45451
45452 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45453 * sysdeps/x86_64/memset_chk.S: Likewise.
45454
5ed848f3
DM
454552012-04-07 David S. Miller <davem@davemloft.net>
45456
45457 * elf/elf.h (R_SPARC_WDISP10): Define.
45458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45459 R_SPARC_SIZE32.
45460 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45461 R_SPARC_SIZE64 and R_SPARC_H34.
45462
96154cd8
CD
454632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45464
45465 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45466 conditions and remove no longer applicable assertion.
45467
9904dc47
L
454682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45469
45470 * bits/byteswap.h: Include <features.h>.
45471 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45472 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45473
f8887d0a
L
454742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45475
45476 * bits/byteswap.h (__bswap_16): Removed.
45477 Include <bits/byteswap-16.h> to get __bswap_16.
45478 * sysdeps/i386/bits/byteswap.h: Likewise.
45479 * sysdeps/s390/bits/byteswap.h: Likewise.
45480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45481 * bits/byteswap-16.h: New file.
45482 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45483 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45484 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45485 * string/Makefile (headers): Add bits/byteswap-16.h.
45486
62470f60
PP
454872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45488
45489 [BZ #13895]
45490 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45491 extra indirection.
45492 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45493 * nss/tst-nss-static.c: New.
45494
4dad7bab
RM
454952012-04-06 Robert Millan <rmh@gnu.org>
45496
45497 [BZ #6486]
45498 * manual/llio.texi (File Position Primitive): lseek
45499 refers to WHENCE when it really means OFFSET.
45500
e9142a17
AJ
455012012-04-06 Andreas Jaeger <aj@suse.de>
45502
2c040eff
AJ
45503 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45504 strncmp declarations.
45505
e9142a17
AJ
45506 * abilist/libc.abilist: Add __poll and __ppoll.
45507
ff9f1c5f
DM
455082012-04-05 David S. Miller <davem@davemloft.net>
45509
dcd2ae90
DM
45510 * scripts/check-local-headers.sh: Accept a host triplet in the
45511 path matched by the exclude regexp.
45512
993eb054
DM
45513 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45514 definition.
45515 * sysdeps/powerpc/powerpc32/dl-machine.h
45516 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45517 * sysdeps/s390/s390-32/dl-machine.h
45518 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45519 * sysdeps/sparc/sparc32/dl-machine.h
45520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45521 * sysdeps/sparc/sparc64/dl-machine.h
45522 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45523
ff9f1c5f
DM
45524 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45525 lazy binding.
48e2e132 45526 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45527 undefined symbol errors.
45528
48e2e132 45529 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45530 DT_NEEDED entries.
45531
e80d6f94
MM
455322012-04-05 Michael Matz <matz@suse.de>
45533
45534 [BZ #13592]
45535 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45536
349fa79f
AJ
455372012-04-05 Andreas Jaeger <aj@suse.de>
45538
45539 [BZ #13908]
45540 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45541 comment.
45542
f402708f
KK
455432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45544
45545 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45546 which ROUND is no valid rounding mode.
45547
2ecccfc9
KK
455482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45549
45550 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45551 read again.
45552 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45553
8a53f50f
KK
455542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45555
45556 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45557 an exception using FPU order intentionally.
45558
455592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45560
45561 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45562 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45563 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45564 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45565
d653abb7
SJ
455662012-04-05 Simon Josefsson <simon@josefsson.org>
45567
45568 [BZ #12340]
45569 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45570 EINVAL when BUFLEN is too smal.
45571
c3b1bf7d
TS
455722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45573
45574 [BZ #13553]
45575 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45576 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45577
b1aa60f3
AJ
455782012-04-03 Andreas Jaeger <aj@suse.de>
45579
c3b1bf7d 45580 [BZ #13938]
67f60a26
AJ
45581 * manual/setjmp.texi (System V contexts): Fix sentence.
45582
b1aa60f3
AJ
45583 [BZ #13926]
45584 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45585 New macro for this case.
45586 [!__GNUC__] (__bswap_64): New inline function for this case.
45587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45588 * bits/byteswap.h: Likewise.
45589 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45590 ull, guard with __GLIBC_HAVE_LONG_LONG.
45591
45592 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45593 __GLIBC_HAVE_LONG_LONG.
45594
45595 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45596 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45597
39c59c35
TMQMF
455982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45599
45600 [BZ #13691]
45601 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45602 inptr and inend, rather than using last_ch.
45603
135ffda8
DM
456042012-04-02 David S. Miller <davem@davemloft.net>
45605
45606 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45607 * stdio-common/printf-parse.h (read_int): Change return type to
45608 'int', return -1 on INT_MAX overflow.
45609 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45610 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45611 overflows INT_MAX. Check for overflow of in-format-string precision
45612 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45613 SIZE_MAX not INT_MAX for integer overflow test.
45614 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45615 skip the construct in the format string but do not record anything.
45616 * stdio-common/bug22.c: Adjust to test both width/prevision
45617 INT_MAX overflow as well as total length INT_MAX overflow. Check
45618 explicitly for proper errno values.
45619
228c019e
TS
456202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45621
302cadd3
TS
45622 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45623 CHAR_MAX.
45624 * string/test-strcmp.c [! WIDE]: Likewise.
45625 * time/tst-mktime2.c: Likewise for INT_MAX.
45626 * string/test-string.h: #include <sys/param.h> for MIN.
45627
228c019e
TS
45628 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45629 * sysdeps/i386/init-first.c (init): Likewise.
45630 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45631 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45632 * sysdeps/sh/init-first.c (init): Likewise.
45633
cfa633f5
UD
456342012-04-01 Ulrich Drepper <drepper@gmail.com>
45635
45636 * po/ru.po: Update from translation team.
d1635ef8 45637 * po/vi.po: Likewise.
cfa633f5 45638
6cd0a5ea
SP
456392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45640
45641 * resolv/nss_dns/dns-host.c: Merge copyright years.
45642
4b43400f
LD
456432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45644
45645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45646 Optimize memcpy with prefetch if
45647 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45648 src, dst pointers have unequal 16 byte alignments.
45649
48c41d04
SP
456502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45651
45652 [BZ #13928]
45653 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45654 from a CNAME entry and return the minimum ttl for the query.
45655 (gaih_getanswer_slice): Likewise.
45656
b8dc394d
JL
456572012-03-30 Jeff Law <law@redhat.com>
45658
45659 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45660 due to long keys.
45661 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45662 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45663
2f5a5ed0
JL
45664 * resolv/nss_dns/dns-host.c: Update copyright year.
45665
1d39e359
UD
456662012-03-30 Ulrich Drepper <drepper@gmail.com>
45667
c030f70c 45668 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45669 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45670
1d39e359
UD
45671 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45672 comments for sendmmsg.
45673
456742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45675
45676 [BZ #13691]
45677 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45678 with only 1 character between 0x0041 and 0x01b0.
45679 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45680 * wcsmbs/tst-mbsnrtowcs.c: New file.
45681
20fde227
DM
456822012-03-29 David S. Miller <davem@davemloft.net>
45683
45684 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45685 small copies by hand.
45686
984a4237
JL
456872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45688
45689 [BZ #13761]
57f41c40
AS
45690 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45691 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45692 group memberships.
984a4237 45693
18c9d62b
DM
456942012-03-28 David S. Miller <davem@davemloft.net>
45695
88d85d4f
DM
45696 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45697 that branches into memcpy.
45698 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45701 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45703 bits.
45704 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45705 implementation too.
45706 * sysdeps/sparc/mempcpy.S: New file.
45707
e5aa83e1
DM
45708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45709 the IFUNC routine in the libc case.
45710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45711
88570753
DM
45712 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45713 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45714 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45715 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45716 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45717 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45718 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45719 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45720
249d7567
DM
45721 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45722 loop to 256 bytes instead of 64 bytes and fix test signedness.
45723
18c9d62b
DM
45724 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45725 * sysdeps/sparc/sparc32/Makefile: rather than here...
45726 * sysdeps/sparc/sparc64/Makefile: and here.
45727
05f3d1f6
UD
457282012-03-28 Ulrich Drepper <drepper@gmail.com>
45729
45730 * malloc/mallocbug.c: Avoid warnings about unused variables.
45731
86ae07a8
JL
457322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45733
45734 [BZ #13760]
45735 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45736 in the right place. Discard and retry query if response is
45737 larger than input buffer size.
45738
41bf21a1
JM
457392012-03-28 Joseph Myers <joseph@codesourcery.com>
45740
d6270972
JM
45741 [BZ #369]
45742 [BZ #2678]
45743 [BZ #3866]
45744 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45745 x for large integer exponent.
45746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45747 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45748 sign of result as needed afterwards.
45749 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45750 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45751 result for underflowing pow the same as for overflow.
45752 (__kernel_standard_l): Handle powl overflow and underflow here
45753 rather than calling __kernel_standard.
45754 * math/libm-test.inc (pow_test): Add more tests.
45755
414fca03 45756 [BZ #3868]
41bf21a1
JM
45757 [BZ #13879]
45758 [BZ #13910]
45759 [BZ #13911]
45760 [BZ #13912]
45761 [BZ #13913]
45762 [BZ #13915]
45763 [BZ #13916]
45764 [BZ #13917]
45765 [BZ #13918]
45766 [BZ #13919]
45767 [BZ #13920]
45768 [BZ #13921]
45769 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45770 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45771 (__kernel_standard_l): New function.
45772 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45773 __kernel_standard.
45774 * math/w_acosl.c (__acosl): Likewise.
45775 * math/w_asinl.c (__asinl): Likewise.
45776 * math/w_atan2l.c (__atan2l): Likewise.
45777 * math/w_atanhl.c (__atanhl): Likewise.
45778 * math/w_coshl.c (__coshl): Likewise.
45779 * math/w_exp10l.c (__exp10l): Likewise.
45780 * math/w_exp2l.c (__exp2l): Likewise.
45781 * math/w_fmodl.c (__fmodl): Likewise.
45782 * math/w_hypotl.c (__hypotl): Likewise.
45783 * math/w_j0l.c (__j0l, __y0l): Likewise.
45784 * math/w_j1l.c (__j1l, __y1l): Likewise.
45785 * math/w_jnl.c (__jnl, __ynl): Likewise.
45786 * math/w_lgammal.c (__lgammal): Likewise.
45787 * math/w_log10l.c (__log10l): Likewise.
45788 * math/w_log2l.c (__log2l): Likewise.
45789 * math/w_logl.c (__logl): Likewise.
45790 * math/w_powl.c (__powl): Likewise.
45791 * math/w_remainderl.c (__remainderl): Likewise.
45792 * math/w_scalbl.c (sysv_scalbl): Likewise.
45793 * math/w_sinhl.c (__sinhl): Likewise.
45794 * math/w_sqrtl.c (__sqrtl): Likewise.
45795 * math/w_tgammal.c (__tgammal): Likewise.
45796 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45797 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45798 * math/libm-test.inc (acos_test): Add more tests.
45799 (acosh_test): Likewise.
45800 (asin_test): Likewise.
45801 (atanh_test): Likewise.
45802 (exp_test): Likewise.
45803 (exp10_test): Likewise.
45804 (exp2_test): Likewise.
45805 (expm1_test): Likewise.
45806 (lgamma_test): Likewise.
45807 (log_test): Likewise.
45808 (log10_test): Likewise.
45809 (log1p_test): Likewise.
45810 (log2_test): Likewise.
45811 (pow_test): Do not allow some spurious overflow exceptions.
45812 (sqrt_test): Add more tests.
45813 (tgamma_test): Likewise.
45814 (y0_test): Likewise.
45815 (y1_test): Likewise.
45816 (yn_test): Likewise.
45817
dd62fda6
AB
458182012-03-27 Anton Blanchard <anton@samba.org>
45819
45820 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45821 MAP_HUGETLB.
45822 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45824 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45825
1e3cdfda
AJ
458262012-03-27 David S. Miller <davem@davemloft.net>
45827
b855ab85
DM
45828 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45829
1e3cdfda
AJ
45830 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45831 have-as-vis3 check.
45832
458332012-03-27 Andreas Jaeger <aj@suse.de>
45834
45835 * sysdeps/x86_64/elf/configure.in: Moved to ...
45836 * sysdeps/x86_64/configure.in: ... here.
45837 * sysdeps/x86_64/elf/start.S: Moved to ...
45838 * sysdeps/x86_64/start.S: ... here.
45839 * sysdeps/x86_64/elf/configure: Delete.
45840
45841 * sysdeps/x86_64/configure.in: Merge contents from
45842 sysdeps/i386/configure.in (without i686 check).
45843
45844 * sysdeps/i386/elf/Versions: Merge into ...
45845 * sysdeps/i386/Versions: ... this.
45846 * sysdeps/i386/elf/Versions: Delete file.
45847 * sysdeps/i386/elf/start.S: Moved to ...
45848 * sysdeps/i386/start.S: ...here.
45849 * sysdeps/i386/elf/configure.in: Merge into...
45850 * sysdeps/i386/configure.in: ...here.
45851 * sysdeps/i386/elf/configure.in: Delete file.
45852 * sysdeps/i386/elf/configure: Delete file.
45853
45854 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45855 * debug/backtracesyms.c: ... here.
45856 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45857 * debug/backtracesymsfd.c: ... here.
45858 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45859 * sysdeps/generic/ifunc-sel.h: ... here.
45860
45861 * sysdeps/unix/i386/start.c: Delete file.
45862 * sysdeps/unix/sparc/start.c: Delete file.
45863 * sysdeps/unix/start.c: Delete file.
45864
45865 * sysdeps/sh/elf/configure.in: Moved to ...
45866 * sysdeps/sh/configure.in: ... here.
45867 * sysdeps/sh/elf/start.S: Moved to ...
45868 * sysdeps/sh/start.S: ... here.
45869 * sysdeps/sh/elf/configure: Delete file.
45870
45871 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45872 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45873 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45874 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45875 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45876 * sysdeps/powerpc/powerpc64/start.S: here.
45877 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45878 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45879 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45880 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45881 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45882
45883 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45884 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45885 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45886 * sysdeps/powerpc/powerpc32/start.S: ... here.
45887 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45888 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45889 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45890
45891 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45892 * sysdeps/powerpc/ifunc-sel.h: ... here.
45893 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45894 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45895
45896 * sysdeps/sparc/elf/configure.in: Moved to ...
45897 * sysdeps/sparc/configure.in: ... here.
45898 * sysdeps/sparc/elf/configure: Delete file.
45899 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45900 * sysdeps/sparc/sparc32/start.S: ... here.
45901 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45902 * sysdeps/sparc/sparc64/start.S: ... here.
45903 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45904 * sysdeps/sparc/sparc32/Makefile: ... this.
45905 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45906 * sysdeps/sparc/sparc64/Makefile: ... this.
45907
45908 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45909 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45910 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45911 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45912 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45913 * sysdeps/s390/s390-32/setjmp.S: ... here.
45914 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45915 * sysdeps/s390/s390-32/configure.in: ... here.
45916 * sysdeps/s390/s390-32/elf/configure: Delete file.
45917 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45918 * sysdeps/s390/s390-32/start.S: ... here.
45919
45920 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45921 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45922 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45923 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45924 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45925 * sysdeps/s390/s390-64/setjmp.S: ... here.
45926 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45927 * sysdeps/s390/s390-64/configure.in: ... here
45928 * sysdeps/s390/s390-64/elf/configure: Delete file.
45929 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45930 * sysdeps/s390/s390-64/start.S: ... here.
45931 * sysdeps/s390/s390-64/elf/configure: Delete.
45932
45933 * configure.in: Remove support for elf directories in sysdeps.
45934
45935 * configure: Regenerated.
45936 * sysdeps/i386/configure: Regenerated.
45937 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45938 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45939 * sysdeps/s390/s390-32/configure: Regenerated.
45940 * sysdeps/s390/s390-64/configure: Regenerated.
45941 * sysdeps/sh/configure: Regenerated.
45942 * sysdeps/sparc/configure: Regenerated.
45943 * sysdeps/x86_64/configure: Regenerated.
45944
a3f61311
AS
459452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45946
c876e002
AS
45947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45948
a3f61311
AS
45949 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45950 denormal result into account.
45951
ac4c54f0
RM
459522012-03-25 Roland McGrath <roland@hack.frob.com>
45953
45954 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45955 Reported by Allan McRae <allan@archlinux.org>.
45956
6a9b9c02
JL
459572012-03-23 Jeff Law <law@redhat.com>
45958
45959 * nss/getnssent.c (__nss_getent): Fix typo.
45960
4c42a0c1
DM
459612012-03-23 David S. Miller <davem@davemloft.net>
45962
45963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45964
1532c7ac
L
459652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45966
45967 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45968 to pad to uint64_t for each field.
45969 (dl_tls_index): Replace unsigned long with uint64_t.
45970
3ff42526
PP
459712012-03-23 Daniel Jacobowitz <dmj@google.com>
45972 Paul Pluzhnikov <ppluzhnikov@google.com>
45973
45974 [BZ #6528]
45975 * grp/Makefile (otherlibs): Don't set it.
45976 * inet/Makefile (otherlibs): Likewise.
45977 * login/Makefile (otherlibs): Likewise.
45978 * nscd/Makefile (otherlibs): Likewise.
45979 * posix/Makefile (otherlibs): Likewise.
45980 * pwd/Makefile (otherlibs): Likewise.
45981 * rt/Makefile (otherlibs): Likewise.
45982 * sunrpc/Makefile (otherlibs): Likewise.
45983 * nss/Makefile (otherlibs): Likewise.
45984 Add libnss_files to routines and static-only-routines.
45985 ($(objpfx)getent): Remove rule.
45986 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45987 static-only-routines.
45988
7c69cd14
JM
459892012-03-22 Joseph Myers <joseph@codesourcery.com>
45990
45991 [BZ #13892]
45992 * math/s_cexp.c: Include <float.h>.
45993 (__cexp): Handle exp result overflowing not necessarily
45994 overflowing both real and imaginary parts of result.
45995 * math/s_cexpf.c: Likewise.
45996 * math/s_cexpl.c: Likewise.
45997 * math/libm-test.inc (cexp_test): Add more tests.
45998 * sysdeps/i386/fpu/libm-test-ulps: Update.
45999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46000
81b035fe
L
460012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46002
46003 * include/link.h (ELFW): New macro.
46004 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46005 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46006
1da7940c
L
460072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46008
46009 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46010 with uint64_t.
46011
b749dbb9
L
460122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46013
46014 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46015 declaration.
46016 (struct La_x32_retval): Likewise.
46017
2ff87f3f
L
460182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46019
46020 * sysdeps/x86_64/preconfigure.in: New file.
46021 * sysdeps/x86_64/preconfigure: New generated file.
46022
c0df8e69
JM
460232012-03-22 Joseph Myers <joseph@codesourcery.com>
46024
48e44791
JM
46025 [BZ #13824]
46026 * math/e_exp2l.c: Include <float.h>.
46027 (__ieee754_exp2l): Handle overflow and underflow cases
46028 separately. Only pass fractional part of argument to
46029 __ieee754_expl.
46030 * math/libm-test.inc (exp2_test): Add more tests.
46031
c0df8e69
JM
46032 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46033 negating x to take absolute value.
46034 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46035 Likewise.
46036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46038 Likewise.
46039 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46040 computing low part if x was negated.
46041 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46042
c8e43ba7
L
460432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46044
46045 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46046 la_x32_gnu_pltexit.
46047 (pltexit): Cast int_retval to ptrdiff_t.
46048 * elf/tst-auditmod3b.c: Likewise.
46049 * elf/tst-auditmod4b.c: Likewise.
46050 * elf/tst-auditmod5b.c: Likewise.
46051 * elf/tst-auditmod6b.c: Likewise.
46052 * elf/tst-auditmod6c.c: Likewise.
46053 * elf/tst-auditmod7b.c: Likewise.
46054
46055 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46056 and x32_gnu_pltexit.
46057
46058 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46059 __ELF_NATIVE_CLASS.
46060 (La_x32_regs): New macro.
46061 (La_x32_retval): Likewise.
46062 (la_x32_gnu_pltenter): New function prototype.
46063 (la_x32_gnu_pltexit): Likewise.
46064
7998fa78
AS
460652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46066
dcb33988
AS
46067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46068 exponent.
46069
233fc563
AS
46070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46071
7998fa78
AS
46072 * configure.in (libc_cv_cc_nofma): Check for option to disable
46073 generation of FMA instructions.
46074 * configure: Regenerate.
46075 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46076 * sysdeps/ieee754/dbl-64/Makefile: New file.
46077 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46078 Remove brandred-fma4.
46079 (CFLAGS-brandred-fma4.c): Remove.
46080 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46081 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46082 define.
46083 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46084 define.
46085
8e95c99a
L
460862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46087
46088 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46089 LLONG_MAX != LONG_MAX.
46090 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46091 (_fitoa_word): Likewise.
46092 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46093 LLONG_MAX != LONG_MAX.
46094 * stdio-common/_itowa.h: Include <_itoa.h>.
46095 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46096 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46097 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46098 only if not defined.
46099 (_ITOA_WORD_TYPE): Likewise.
46100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46101 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46102
6f4db457
DM
461032012-03-21 David S. Miller <davem@davemloft.net>
46104
46105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46106
7785fe5a
L
461072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46108
46109 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46110 of x86_64 when setting libc_cv_slibdir, libdir and
46111 libc_cv_localedir.
46112 * sysdeps/unix/sysv/linux/configure: Regenerated.
46113
4535cd55
JM
461142012-03-21 Joseph Myers <joseph@codesourcery.com>
46115
46116 * manual/lang.texi (Old Varargs): Remove section.
46117 (How Variadic): Update menu.
46118 (va_start): Do not mention varargs.h.
46119
17228132
TS
461202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46121 Joseph Myers <joseph@codesourcery.com>
46122
46123 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46124 link test.
46125 * configure: Regenerated.
46126
8149f976
TS
461272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46128
05f3d1f6
UD
46129 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46130 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46131 conformtest.pl
8149f976 46132
1a4ac776
JM
461332012-03-21 Joseph Myers <joseph@codesourcery.com>
46134
be22ce65
JM
46135 * NOTES: Remove.
46136 * Makefile (files-for-dist): Remove NOTES.
46137 (NOTES): Remove rule.
46138 * README: Don't refer to NOTES.
46139 * manual/creature.texi: Don't include macros.texi.
46140 * manual/intro.texi (creature.texi): Remove comment referring to
46141 NOTES.
46142
40b601fb
JM
46143 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46144 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46145 * configure: Regenerated.
46146 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46147 LIBC_TRY_CC_OPTION.
46148 (libc_cv_as_i686): Likewise.
46149 (libc_cv_cc_avx): Likewise.
46150 (libc_cv_cc_sse2avx): Likewise.
46151 (libc_cv_cc_fma4): Likewise.
46152 (libc_cv_cc_novzeroupper): Likewise.
46153 * sysdeps/i386/configure: Regenerated.
46154
1a4ac776
JM
46155 [BZ #13883]
46156 * sysdeps/i386/fpu/s_cexp.S: Remove.
46157 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46158 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46159 * math/libm-test.inc (cexp_test): Add more tests.
46160 * sysdeps/i386/fpu/libm-test-ulps: Update.
46161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46162
a458e7fe
AM
461632012-03-21 Allan McRae <allan@archlinux.org>
46164
46165 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46166
0cb7efc5
JM
461672012-03-21 Joseph Myers <joseph@codesourcery.com>
46168
46169 [BZ #13871]
46170 * math/w_exp2.c: Do not include <float.h>.
46171 (o_threshold, u_threshold): Remove.
46172 (__exp2): Calculate result before checking finiteness and calling
46173 __kernel_standard.
46174 * math/w_exp2f.c: Likewise.
46175 * math/w_exp2l.c: Likewise.
46176 * math/libm-test.inc (exp2_test): Require overflow exception for
46177 1e6 input.
2460d3aa
JM
46178
46179 [BZ #3866]
46180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46181 range of signed 64-bit integers before using fistpll. Remove
46182 checks for whether integers fit in mantissa bits.
46183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46184 the range of signed 32-bit integers before using fistpl. Remove
46185 checks for whether integers fit in mantissa bits.
46186 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46187 (__ieee754_powl): Test for y outside the range of signed 64-bit
46188 integers before using fistpll. Reduce 64-bit values to 63-bit
46189 ones as needed.
46190 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46191 divide-by-zero is raised for zero to large negative powers.
46192 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46193 (__ieee754_powl): Test for y outside the range of signed 64-bit
46194 integers before using fistpll. Reduce 64-bit values to 63-bit
46195 ones as needed.
46196 * math/libm-test.inc (pow_test): Add more tests.
46197
eb96ffb0
L
461982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46199
46200 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46201 <stdio-common/_itoa.h>.
46202 * debug/segfault.c: Likewise.
46203 * elf/dl-cache.c: Likewise.
46204 * elf/dl-minimal.c: Likewise.
46205 * elf/dl-misc.c: Likewise.
46206 * elf/dl-sysdep.c: Likewise.
46207 * elf/dl-version.c: Likewise.
46208 * elf/rtld.c: Likewise.
46209 * hurd/hurdsock.c: Likewise.
46210 * hurd/lookup-retry.c: Likewise.
46211 * malloc/malloc.c: Likewise.
46212 * malloc/mtrace.c: Likewise.
46213 * nscd/nscd_getgr_r.c: Likewise.
46214 * nscd/nscd_getpw_r.c: Likewise.
46215 * nscd/nscd_getserv_r.c: Likewise.
46216 * posix/getopt_init.c: Likewise.
46217 * posix/wordexp.c: Likewise.
46218 * stdio-common/_itoa.c: Likewise.
46219 * stdio-common/printf_fphex.c: Likewise.
46220 * stdio-common/vfprintf.c: Likewise.
46221 * string/_strerror.c: Likewise.
46222 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46223 * sysdeps/i386/i686/hp-timing.h: Likewise.
46224 * sysdeps/mach/_strerror.c: Likewise.
46225 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46226 * sysdeps/mach/hurd/sethostid.c: Likewise.
46227 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46228 * sysdeps/mach/xpg-strerror.c: Likewise.
46229 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46230 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46231 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46232 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46233 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46234 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46235 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46236 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46237 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46238 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46239 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46240 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46241 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46242 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46243 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46244 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46245 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46246 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46249 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46250
46251 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46252
46253 * stdio-common/_itoa.h: Moved to ...
46254 * sysdeps/generic/_itoa.h: Here.
46255
46256 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46257
46258 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46259 instead of "_itoa.h" and "_itowa.h".
46260 * stdio-common/vfprintf.: Likewise.
46261
d1af992d
L
462622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46263
46264 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46265 <bits/wordsize.h>.
46266 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46267 (__signbit): Likwise.
46268 (llrintf): Likwise.
46269 (llrint): Likwise.
46270
114883e0
L
462712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46272
46273 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46274 __WORDSIZE != 64.
46275
c135cc1b
JM
462762012-03-20 Joseph Myers <joseph@codesourcery.com>
46277
46278 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46279 OVERFLOW_EXCEPTION_OK.
46280 * math/libm-test.inc ("Philosophy"): Update comment about
46281 exception testing.
46282 (OVERFLOW_EXCEPTION): Define.
46283 (OVERFLOW_EXCEPTION_OK): Likewise.
46284 (INVALID_EXCEPTION_OK): Renumber.
46285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46286 (IGNORE_ZERO_INF_SIGN): Likewise.
46287 (test_exceptions): Handle FE_OVERFLOW.
46288 (exp10_test): Expect overflow exceptions.
46289 (exp2_test): Likewise.
46290 (expm1_test): Likewise.
46291 (nextafter_test): Likewise.
46292 (pow_test): Likewise.
46293 (scalbn_test): Likewise.
46294 (scalbln_test): Likewise.
46295
95443d88
L
462962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46297
46298 * sysdeps/x86_64/bits/atomic.h
46299 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46300 64bit integer.
46301 (atomic_exchange_acq): Likewise.
46302 (__arch_exchange_and_add_body): Likewise.
46303 (__arch_add_body): Likewise.
46304 (atomic_add_negative): Likewise.
46305 (atomic_add_zero): Likewise.
46306
490df6c4
L
463072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46308
c2722551 46309 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46310 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46311
5e52b189
L
463122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46313
46314 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46315 Check __x86_64__ instead of __WORDSIZE.
46316
a9879d4c
L
463172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46318
46319 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46320
5df98260
DM
463212012-03-19 David S. Miller <davem@davemloft.net>
46322
e1497744
DM
46323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46324
5df98260
DM
46325 * sysdeps/sparc/fpu/fenv_private.h: New file.
46326 * sysdeps/sparc/fpu/math_private.h: Use it.
46327 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46328 Remove.
57f41c40 46329 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46330 (libc_feholdexcept_setroundl): Remove.
46331 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46332 Remove.
46333 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46334 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46335
b4c35121
L
463362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46337
46338 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46339 int64_t instead of long int.
46340 (INSERT_WORDS64): Likwise.
46341
56965fd7
L
463422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46345 _Unwind_GetCFA return to _Unwind_Ptr first.
46346
83d1aec8
JM
463472012-03-19 Joseph Myers <joseph@codesourcery.com>
46348
1897ad44
JM
46349 [BZ #13629]
46350 * math/s_clog.c: Include <float.h>.
46351 (__clog): Scale large or subnormal inputs.
46352 * math/s_clogf.c: Likewise.
46353 * math/s_clogl.c: Likewise.
46354 * math/s_clog10.c: Include <float.h>.
46355 (M_LOG10_2): Define.
46356 (__clog10): Scale large or subnormal inputs.
46357 * math/s_clog10f.c: Likewise.
46358 * math/s_clog10l.c: Likewise.
46359 * math/libm-test.inc (clog_test): Add more tests.
46360 (clog10_test): Likewise.
46361 * sysdeps/i386/fpu/libm-test-ulps: Update.
46362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46363
7726d6a9
JM
46364 [BZ #11451]
46365 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46366 x and y.
46367 * math/libm-test.inc (atan2_test): Add another test.
46368
83d1aec8
JM
46369 * Makerules (common-objdir-compile): Remove.
46370 * sysdeps/unix/Makefile (config-generated): Do not add
46371 $(unix-generated) to variable.
46372 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46373 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46374 Remove rule.
46375 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46376 Likewise.
46377 [generic bits/local_lim.h] (before-compile): Do not append to
46378 variable.
46379 [generic bits/local_lim.h] (common-generated): Likewise.
46380 [generic sys/param.h] (before-compile): Do not append to variable.
46381 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46382 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46383 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46384 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46385 include.
46386 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46387 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46388 [generic sys/param.h] ($(addprefix
46389 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46390 [generic sys/param.h] (common-generated): Do not append to
46391 variable.
46392 [generic sys/param.h] (sysdep_headers): Likewise.
46393 [generic bits/errno.h] (before-compile): Do not append to
46394 variable.
46395 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46396 rule.
46397 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46398 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46399 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46400 [generic bits/errno.h] (common-generated): Do not append to
46401 variable.
46402 [generic bits/ioctls.h] (before-compile): Do not append to
46403 variable.
46404 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46405 rule.
46406 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46407 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46408 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46409 rule.
46410 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46411 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46412 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46413 [generic bits/ioctls.h] (common-generated): Do not append to
46414 variable.
46415 [generic sys/syscall.h] (syscall.h): Remove variable.
46416 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46417 rule.
46418 [generic sys/syscall.h] (before-compile): Do not append to
46419 variable.
46420 [generic sys/syscall.h] (common-generated): Likewise.
46421 * sysdeps/unix/errnos-tmpl.c: Remove file.
46422 * sysdeps/unix/errnos.awk: Likewise.
46423 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46424 * sysdeps/unix/ioctls.awk: Likewise.
46425 * sysdeps/unix/mk-local_lim.c: Likewise.
46426 * sysdeps/unix/snarf-ioctls: Likewise.
46427
4851a949
RH
464282012-03-19 Richard Henderson <rth@twiddle.net>
46429
bd37f2ee
RH
46430 * sysdeps/i386/fpu/fenv_private.h: New file.
46431 * sysdeps/i386/fpu/math_private.h: Use it.
46432 (math_opt_barrier, math_force_eval): Remove.
46433 (libc_feholdexcept_setround_53bit): Remove.
46434 (libc_feupdateenv_53bit): Remove.
46435 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46436 (math_opt_barrier, math_force_eval): Remove.
46437 (libc_feholdexcept): Remove.
46438 (libc_feholdexcept_setround): Remove.
46439 (libc_fetestexcept, libc_fesetenv): Remove.
46440 (libc_feupdateenv_test): Remove.
46441 (libc_feupdateenv, libc_feholdsetround): Remove.
46442 (libc_feresetround): Remove.
46443
d0adc922
RH
46444 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46445 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46446
0fe0f1f8
RH
46447 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46448 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46449 (libc_feupdateenv_testl): New.
46450 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46451 (libc_feupdateenv_testf): New.
46452 (libc_feupdateenv): Use libc_feupdateenv_test.
46453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46455
eb92c487
RH
46456 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46457 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46458 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46459 (libc_feresetround_noex): New.
46460 (libc_feresetround_noexf): New.
46461 (libc_feresetround_noexl): New.
46462 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46463 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46464 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46465 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46466 SET_RESTORE_ROUND.
46467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46469 (__cos): Likewise.
46470 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46472 SET_RESTORE_ROUND_NOEX.
46473 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46474 SET_RESTORE_ROUND_NOEXF.
46475 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46476 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46477 (libc_feholdsetroundf): New.
46478 (libc_feresetround, libc_feresetroundf): New.
46479
7d2e8012
RH
46480 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46481 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46482 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46483
b4dabbb4
RH
46484 * sysdeps/generic/math_private.h: Include <fenv.h>.
46485 (default_libc_feholdexcept): New.
46486 (default_libc_feholdexcept_setround): New.
46487 (default_libc_fesetenv, default_libc_feupdateenv): New.
46488 (libc_feholdexcept): Only define if undefined.
46489 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46490 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46491 (libc_feholdexcept_setroundl): Likewise.
46492 (libc_feholdexcept_setround_53bit): Likewise.
46493 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46494 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46495 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46496 (libc_feupdateenv_53bit): Likewise.
46497 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46498 (libc_feholdexcept): Convert from macro to inline function.
46499 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46500 (libc_fesetenv, libc_feupdateenv): Likewise.
46501
4851a949
RH
46502 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46503 not previously defined.
46504 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46505 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46506 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46507 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46508 * sysdeps/ieee754/flt-32/math_private.h: New file.
46509 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46510 math_private.h below SET_FLOAT_WORD.
46511 (__isnan, __isinf_ns, __finite): Remove.
46512 (__isnanf, __isinf_nsf, __finitef): Remove.
46513
e79d442e
AS
465142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46515
46516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46517
90b80344
DM
465182012-03-17 David S. Miller <davem@davemloft.net>
46519
46520 [BZ #6471]
46521 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46522 for 2.16.
46523
edc21804
DM
465242012-03-16 David S. Miller <davem@davemloft.net>
46525
77e927af
DM
46526 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46527 warnings.
46528
374976dd
DM
46529 [BZ #6471]
46530 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46531 properly.
46532 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46533 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46534 sysdep_routines when subdir is sysvipc.
46535 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46536 __getshmlba helper.
46537
edc21804
DM
46538 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46539
473c3ef3
L
465402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46541
46542 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46543 [__LP64__].
46544
eb0f39b6
L
465452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46546
46547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46548 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46549 (__lround): Renamed to ...
46550 (__llround): This. Replace long int with long long int.
46551 Define lround functions as aliases of llround functions.
46552 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46553
6b6cd74b
L
465542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46555
46556 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46557 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46558 adresses to uintptr_t. Replace "long int" and "unsigned long
46559 int" with "greg_t" on va_arg.
46560
f1a77b01
L
465612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46562
46563 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46564 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46565
46566 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46567 Move e_machine check before EI_CLASS check. Handle x32
46568 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46569 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46570 SKIP_EM_IA_64 and include
46571 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46572
46573 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46574 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46575 (add_system_dir): New macro.
46576
46577 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46578 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46579
11b90b9f
JM
465802012-03-16 Joseph Myers <joseph@codesourcery.com>
46581
c36e1d23
JM
46582 [BZ #2551]
46583 [BZ #2552]
46584 [BZ #2553]
46585 [BZ #2554]
46586 [BZ #2562]
46587 [BZ #2563]
46588 [BZ #2565]
46589 [BZ #2566]
46590 [BZ #2576]
46591 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46592 (y0): Likewise.
46593 * math/w_j0f.c (j0f): Likewise.
46594 (y0f): Likewise.
46595 * math/w_j0l.c (__j0l): Likewise.
46596 (__y0l): Likewise.
46597 * math/w_j1.c (j1): Likewise.
46598 (y1): Likewise.
46599 * math/w_j1f.c (j1f): Likewise.
46600 (y1f): Likewise.
46601 * math/w_j1l.c (__j1l): Likewise.
46602 (__y1l): Likewise.
46603 * math/w_jn.c (jn): Likewise.
46604 (yn): Likewise.
46605 * math/w_jnf.c (jnf): Likewise.
46606 (ynf): Likewise.
46607 * math/w_jnl.c (__jnl): Likewise.
46608 (__ynl): Likewise.
46609 * math/libm-test.inc (j0_test): Add more tests.
46610 (j1_test): Likewise.
46611 (jn_test): Likewise. Add trailing semicolon to existing test.
46612 (y0_test): Likewise.
46613 (y1_test): Likewise.
46614 * sysdeps/i386/fpu/libm-test-ulps: Update.
46615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46616
11b90b9f
JM
46617 [BZ #13851]
46618 [BZ #13854]
46619 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46620 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46621 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46623 (__tanl): Set errno for infinite argument.
46624 * sysdeps/i386/fpu/mptan.c: Remove.
46625 * sysdeps/i386/fpu/s_tan.S: Likewise.
46626 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46627 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46628 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46629 * math/libm-test.inc (tan_test): Add more tests and enable more
46630 tests for double and long double.
46631 * sysdeps/i386/fpu/libm-test-ulps: Update.
46632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46633
6a1bd2a1
JK
466342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46635
46636 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46637 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46638
10a803e0
RM
466392012-03-16 Roland McGrath <roland@hack.frob.com>
46640
46641 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46642 * configure.in: Use it for both main tree and add-ons.
46643 * configure: Regenerated.
46644
f196c7f7
L
466452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46646
46647 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46648
8848d99d
JM
466492012-03-16 Joseph Myers <joseph@codesourcery.com>
46650
96cbe7f4
JM
46651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46652 in comment.
46653
8848d99d
JM
46654 [BZ #13851]
46655 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46656 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46658 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46659 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46660 infinite argument.
46661 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46662 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46663 != 0 for prec == 2.
46664 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46665 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46666 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46667 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46668 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46669 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46670 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46671 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46672 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46673 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46674 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46675 * math/libm-test.inc (cos_test): Add more tests and enable more
46676 tests for long double.
46677 (sin_test): Likewise.
46678 (sincos_test): Likewise.
46679 * sysdeps/i386/fpu/libm-test-ulps: Update.
46680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46681
dd7f4703
DM
466822012-03-16 David S. Miller <davem@davemloft.net>
46683
46684 * sysdeps/sparc/fpu/math_private.h: New file.
46685
006f1daa
DM
466862012-03-15 David S. Miller <davem@davemloft.net>
46687
c0c83bc8
DM
46688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46689 file.
e6a62e18 46690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46692 file.
e6a62e18
DM
46693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46699 sysdep routines.
46700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46701
88cb87d9
DM
46702 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46703 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46704
006f1daa 46705 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46707 sparc-ifunc.h
006f1daa 46708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46710 Likewise.
46711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46712 Likewise.
006f1daa
DM
46713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46717 Likewise.
006f1daa
DM
46718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46723 Likewise.
46724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46725 Likewise.
006f1daa
DM
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46730 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46731 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46733 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46750
11e0098e
AS
467512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46752
46753 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46754 scaling.
46755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46756
e85b09d0
AJ
467572012-03-15 Andreas Jaeger <aj@suse.de>
46758
46759 [BZ #13852]
46760 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46761 ieee754/flt-32 implementation for sin, cos and sincos.
46762 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46763 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46764 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46765 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46766 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46767 ieee754/flt-32 implementation for tan.
46768
46769 * math/libm-test.inc (cos_test): Enable some large input tests for
46770 float as well
46771 (sin_test): Likewise.
46772 (sincos_test): Likewise.
46773 (tan_test): Add tests for large input.
46774
46775 * sysdeps/i386/fpu/libm-test-ulps: Update.
46776
81c64153
AJ
467772012-03-15 Andreas Jaeger <aj@suse.de>
46778
46779 [BZ #13658]
46780 * math/libm-test.inc (cos_test): Add more test cases.
46781 (sin_test): Likewise.
46782 (sincos_test): Likewise.
46783
7bbfa5c6
AJ
467842012-03-15 Andreas Jaeger <aj@suse.de>
46785
46786 [BZ #13837]
46787 * math/libm-test.inc (cos_test): Add a test case for large input
46788 value.
46789 (sin_test): Likewise.
46790 (sincos_test): Likewise.
46791
57f41c40
AS
467922012-03-15 Andreas Jaeger <aj@suse.de>
46793 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46794
46795 [BZ #13658]
0671f479 46796 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46797 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46798 * sysdeps/i386/fpu/branred.c: Likewise.
46799 * sysdeps/i386/fpu/dosincos.c: Likewise.
46800 * sysdeps/i386/fpu/mpa.c: Likewise.
46801 * sysdeps/i386/fpu/s_cos.S: Likewise.
46802 * sysdeps/i386/fpu/s_sin.S: Likewise.
46803 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46804 * sysdeps/i386/fpu/sincos32.c: Likewise.
46805
46806 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46807 Define.
46808 (libc_feupdateenv_53bit): Define.
46809 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46810 Define.
46811 (libc_feupdateenv_53bit): Define.
46812
46813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46814 53 bit (without extend i386 double precision).
46815
46816 * math/libm-test.inc (sincos_test): Add tests for large input.
46817 (sin): Likewise.
46818 (cos): Likewise.
46819
46820 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46821
9cad04ea
AS
468222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46823
46824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46825
f7062b9a
DM
468262012-03-15 David S. Miller <davem@davemloft.net>
46827
46828 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46829 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46830 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46831 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46841 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46842 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46844 file.
f7062b9a 46845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46847 file.
f7062b9a 46848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46850 file.
f7062b9a 46851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46853 file.
f7062b9a
DM
46854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46856 fmin/fmax sysdep routines.
46857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46858
7bd951ff
DM
468592012-03-14 David S. Miller <davem@davemloft.net>
46860
559398ab
DM
46861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46867 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46868 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46879 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46883 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46884 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46887 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46888 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46890 routines.
46891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46892 file.
559398ab 46893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46895 file.
559398ab 46896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46898 file.
559398ab 46899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46901 file.
559398ab 46902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46904 file.
559398ab 46905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46907 file.
46908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46909 file.
46910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46911 file.
46912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46913 file.
46914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46915 New file.
46916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46917 file.
46918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46919 file.
559398ab 46920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46922 file.
559398ab 46923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46925 file.
559398ab 46926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46928 file.
559398ab 46929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46931 VIS3 routines.
559398ab
DM
46932
46933 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46934 New file.
46935
5a1c1e32
DM
46936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46937
eae47a36
DM
46938 * sysdeps/sparc/configure.in: New file.
46939 * sysdeps/sparc/configure: Generate.
46940 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46941 * configure: Regenerate.
46942 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46943 * config.make.in (have-as-vis3): New.
46944 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46945 available use -Av9d instead of -Av9a.
46946 * sysdeps/sparc/sparc64/Makefile: Likewise.
46947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46949 New file.
46950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46951 file.
46952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46953 New file.
46954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46955 file.
eae47a36
DM
46956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46959 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46960 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46961
c0c83bc8
DM
46962 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46963 fzeros/fnegs to load 0x80000000 into a float register instead of
46964 using the stack.
7bd951ff
DM
46965 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46966
bd951ccb
JM
469672012-03-14 Joseph Myers <joseph@codesourcery.com>
46968
46969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46970 bits/syscall.h.
46971 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46972 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46973 ($(inst_includedir)/bits/syscall.h): Remove rule.
46974 ($(objpfx)bits/syscall.d): Include instead of
46975 $(objpfx)syscall-list.d.
46976 (generated): Change syscall-list.h and syscall-list.d to
46977 bits/syscall.h and bits/syscall.d.
46978
bb4e6db2
RM
469792012-03-14 Roland McGrath <roland@hack.frob.com>
46980
46981 [BZ #13846]
46982 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46983
aa4a2ae1
JM
469842012-03-14 Joseph Myers <joseph@codesourcery.com>
46985
e456826d
JM
46986 [BZ #13841]
46987 * math/s_csqrt.c: Include <float.h>.
46988 (__csqrt): Scale large or subnormal inputs.
46989 * math/s_csqrtf.c: Likewise.
46990 * math/s_csqrtl.c: Likewise.
46991 * math/libm-test.inc (csqrt_test): Add more tests.
46992 * sysdeps/i386/fpu/libm-test-ulps: Update.
46993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46994
aa4a2ae1
JM
46995 [BZ #13840]
46996 * math/libm-test.inc (hypot_test): Add more tests.
46997
7c10fd35
DM
469982012-03-13 David S. Miller <davem@davemloft.net>
46999
47000 [BZ #13840]
47001 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47002 double-precision for the calculation instead of scaling.
47003
f453b98b
JM
470042012-03-13 Joseph Myers <joseph@codesourcery.com>
47005
47006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47007 manipulate bits before adding and subtracting TWO52[sx].
47008 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47009 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47010 Likewise.
47011 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47012
09a3453f
DM
470132012-03-13 David S. Miller <davem@davemloft.net>
47014
8e59da90
DM
47015 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47016 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47018 rtld-global-offsets.h
47019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47020
2a8ab7f2
DM
47021 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47022 large parameters.
47023
10f62770
DM
47024 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47025
5f0bdb18
DM
47026 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47027 'err' in the ifdef scope in which it is actually used.
47028
09a3453f
DM
47029 * nss/nss_db/db-init.c: Include string.h
47030
b4b2eb5e
DM
470312012-03-12 David S. Miller <davem@davemloft.net>
47032
98bb2f1c
DM
47033 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47034 masking out of the most significant byte of random value used.
47035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47036 Fix coding style in previous change.
47037
b4b2eb5e
DM
47038 * sysdeps/unix/sysv/linux/kernel-features.h
47039 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47040 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47041 expression.
47042 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47043 later.
47044
6e226b09
DM
470452012-03-11 David S. Miller <davem@davemloft.net>
47046
a1bcbd40
DM
47047 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47048 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47050 for 'resultvar' otherwise things get truncated on 64-bit.
47051
cb9d6174
DM
47052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47053 Fix masking out of the most significant byte of random value used.
47054
6e226b09
DM
47055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47056
058c132d
AS
470572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47058
47059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47060
2d2cd515
DM
470612012-03-09 David S. Miller <davem@davemloft.net>
47062
47063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47064 variables with appropriate CPP guards.
57f41c40
AS
47065 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47066 from the frame pointer, not the stack pointer. Correct layout
47067 comments. Fix test on resulting framesize and the management of
47068 the outregs buffer for pltexit. Preserve floating point return
47069 values across _dl_call_pltexit call.
2d2cd515
DM
47070 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47071 framesize and the management of the outregs buffer for pltexit.
47072 Preserve floating point return values across _dl_call_pltexit
47073 call.
57f41c40
AS
47074 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47075 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47076 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47077 (print_exit): Fix format string for return register value.
47078
9a07f9d0
JM
470792012-03-10 Joseph Myers <joseph@codesourcery.com>
47080
47081 * sunrpc/Makefile (others): Add rpcgen.
47082 ($(objpfx)rpcgen): Remove special build rule and dependency on
47083 libc.
47084 * sunrpc/rpcgen.c: New file.
47085
547b5e30
PE
470862012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47087
c524201a
PE
47088 [BZ #13673]
47089 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47090 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47091 * sysdeps/i386/crti.S: Likewise.
47092 * sysdeps/i386/crtn.S: Likewise.
47093 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47094 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47095 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47096 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47097 * sysdeps/sh/crti.S: Likewise.
47098 * sysdeps/sh/crtn.S: Likewise.
47099 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47100
7b6235f2
PE
47101 [BZ #13673]
47102 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47103 with URL.
47104 * locale/programs/locfile-kw.gperf: Likewise.
47105 * locale/programs/charmap-kw.h: Regenerated.
47106 * locale/programs/locfile-kw.h: Likewise.
47107
547b5e30
PE
47108 [BZ #13673]
47109 * intl/plural.y: Replace FSF snail mail address with URL.
47110 * intl/plural.c: Regenerated.
47111
5f0a5dae
RH
471122012-03-09 Richard Henderson <rth@twiddle.net>
47113
47114 * include/math_private.h: Remove file.
47115 * math/math_private.h: Move file ...
47116 * sysdeps/generic/math_private.h: ... here.
47117
b8c03620
RH
47118 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47119 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47120 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47121
4e234f5d 47122 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47123 and <math_private.h>.
47124 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47125 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47126 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47127 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47128 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47139 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47140 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47141 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47142 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47143 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47145 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47146 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47147 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47153 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47154 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47156 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47157 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47158 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47159 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47160 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47161 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47162 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47164 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47165 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47166 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47167 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47168 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47169 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47170 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47171 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47172 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47173 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47175 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47176 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47177 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47178 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47190 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47191 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47193 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47194 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47195 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47196 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47197 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47198 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47201 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47203 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47204 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47206 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47208 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47209 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47211 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47212 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47213 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47214 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47215 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47217 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47219 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47221 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47222 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47223 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47224 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47225 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47226 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47227 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47228 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47229 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47230 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47231 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47232 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47233 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47234 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47235 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47236 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47237 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47238 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47239 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47240 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47241 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47242 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47243 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47244 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47245 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47246 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47247 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47248 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47249 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47250 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47251 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47252 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47253 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47254 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47255 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47256 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47257 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47258 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47259 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47260 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47261 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47262 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47263 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47264 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47265 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47266 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47267 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47268 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47269 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47270 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47271 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47272 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47273 * sysdeps/ieee754/k_standard.c: Likewise.
47274 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47275 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47276 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47378 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47379 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47380 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47383 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47388 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47389 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47391 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47393 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47395 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47396 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47397 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47398 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47399 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47400 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47401 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47402 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47403 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47404 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47405 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47406 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47407 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47408 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47410 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47411 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47412 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47413 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47414 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47415 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47416 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47417 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47420 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47423 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47424 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47425 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47426 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47427 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47428 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47429 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47430 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47431 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47432 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47433 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47434 * sysdeps/ieee754/s_lib_version.c: Likewise.
47435 * sysdeps/ieee754/s_matherr.c: Likewise.
47436 * sysdeps/ieee754/s_signgam.c: Likewise.
47437 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47438 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47439 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47440 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47441 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47442 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47443 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47444 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47445 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47446 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47447 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47448 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47449 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47451 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47452 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47454 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47455 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47456 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47457 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47458
1991fa03
JM
474592012-03-09 Joseph Myers <joseph@codesourcery.com>
47460
47461 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47462 * sunrpc/rpc_main.c: Likewise.
47463 * sunrpc/rpc_svcout.c: Likewise.
47464
60d6f5a6
DM
474652012-03-09 David S. Miller <davem@davemloft.net>
47466
47467 * include/math_private.h: New file.
47468
4962050e
JM
474692012-03-09 Joseph Myers <joseph@codesourcery.com>
47470
02a6f887
JM
47471 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47472 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47473 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47474 from <bits/socket_type.h>.
47475 (enum __socket_type): Don't define here.
47476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47478 bits/socket_type.h.
47479
c6e013c1
JM
47480 [BZ #13566]
47481 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47482 checking __USE_GNU.
47483
4962050e
JM
47484 * Makerules ($(inst_includedir)/%.h): New rule.
47485 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47486 (install-others): Remove variable setting.
47487 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47488
38842f45
RH
474892012-03-08 Richard Henderson <rth@twiddle.net>
47490
67bb6da6
RH
47491 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47492 from macro to inline function; merge with the
47493 !__LIBC_INTERNAL_MATH_INLINES version.
47494 (__ieee754_sqrtf): Likewise.
47495
15194b4b
RH
47496 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47497 to inline function.
47498 (__rintf, __floor, __floorf): Likewise.
47499
64e21ede
RH
47500 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47501 macro to inline function.
47502 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47503
38842f45
RH
47504 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47505 not <math/math_private.h>.
47506
c64bf5fe
DM
475072012-03-08 David S. Miller <davem@davemloft.net>
47508
47509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47510 copyright year.
47511 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47512
82d86f28
TS
475132012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47514
47515 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47516 normalization.
47517 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47518 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47519
aea5d727
UD
475202012-03-08 Ulrich Drepper <drepper@gmail.com>
47521
47522 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47523 be defined individually, they must be defined as a block. Define
47524 S for printing a string instead of hidint the different by using a
47525 macro for adding the 'l'.
47526 * stdio-common/tst-fphex-wide.c: Adjust.
47527
70bca0a3
MP
475282012-03-07 Marek Polacek <polacek@redhat.com>
47529
47530 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47531
65b81130
MP
475322012-03-08 Marek Polacek <polacek@redhat.com>
47533
47534 [BZ #13806]
47535 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47536 * stdio-common/tst-fphex.c: Define a few macros to make the
47537 test reusable. Use them.
47538 * stdio-common/tst-fphex-wide.c: New file.
47539
07037eeb
JM
475402012-03-08 Joseph Myers <joseph@codesourcery.com>
47541
a7a93d50
JM
47542 [BZ #6911]
47543 * manual/macros.texi (gnusystems): New macro.
47544 (nongnusystems): Likewise.
47545 (gnulinuxhurdsystems): Likewise.
47546 (gnuhurdsystems): Likewise..
47547 (gnulinuxsystems): Likewise.
47548 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47549 variants of the GNU system, not "GNU system".
47550 * manual/conf.texi: Likewise.
47551 * manual/errno.texi: Likewise. Update example of errno macro
47552 expansion.
47553 * manual/filesys.texi: Likewise.
47554 (getumask): Document as specific to GNU/Hurd.
47555 * manual/install.texi: Likewise. Reword some references to
47556 GNU/Linux.
47557 * manual/intro.texi: Likewise.
47558 * manual/io.texi: Likewise.
47559 (File Name Portability): Detail which constraints are inapplicable
47560 to all GNU systems and which are only inapplicable to GNU/Hurd.
47561 * manual/job.texi: Likewise.
47562 * manual/llio.texi: Likewise.
47563 (O_NOCTTY): Document as present on GNU/Linux.
47564 * manual/maint.texi: Likewise.
47565 * manual/memory.texi: Likewise.
47566 * manual/pattern.texi: Likewise.
47567 * manual/pipe.texi: Likewise.
47568 * manual/process.texi: Likewise.
47569 * manual/resource.texi: Likewise.
47570 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47571 child on GNU/Hurd.
47572 * manual/setjmp.texi: Likewise.
47573 * manual/signal.texi: Likewise.
47574 * manual/startup.texi: Likewise.
47575 * manual/stdio.texi: Likewise.
47576 * manual/terminal.texi: Likewise.
47577 (ONLCR): Document as POSIX.
47578 (OXTABS): Document availability on GNU/Linux as XTABS.
47579 (ONOEOT): Document availability separately from other bits.
47580 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47581 * manual/time.texi: Likewise.
47582 * manual/users.texi: Likewise.
47583 * INSTALL: Regenerated.
47584 * sysdeps/gnu/errlist.c: Regenerated.
47585
07037eeb
JM
47586 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47587 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47588 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47589 puts.
47590 * configure: Regenerated.
47591
d1d3431a
JM
475922012-03-07 Joseph Myers <joseph@codesourcery.com>
47593
af6a1e37
JM
47594 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47595 default includes instead of AC_HEADER_CHECK.
47596 * sysdeps/i386/configure: Regenerated.
47597
d1d3431a
JM
47598 [BZ #10716]
47599 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47600 * math/s_cacoshf.c (__cacoshf): Likewise.
47601 * math/s_cacoshl.c (__cacoshl): Likewise.
47602 * math/s_casinh.c (__casinh): Set signs of result from argument.
47603 * math/s_casinhf.c (__casinhf): Likewise.
47604 * math/s_casinhl.c (__casinhl): Likewise.
47605 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47606 (casinh_test): Add more tests.
47607 * sysdeps/i386/fpu/libm-test-ulps: Update.
47608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47609
482ff4da
UD
476102012-03-07 Ulrich Drepper <drepper@gmail.com>
47611
872fda05
UD
47612 * po/zh_TW.po: Update from translation team.
47613
a4300c7a
UD
47614 * login/Makefile (distribute): Remove variable.
47615 * catgets/Makefile: Likewise.
47616 * mach/Makefile: Likewise.
47617 * malloc/Makefile: Likewise.
47618 * misc/Makefile: Likewise.
47619 * iconv/Makefile: Likewise.
47620 * nscd/Makefile: Likewise.
47621 * hurd/Makefile: Likewise.
47622 * manual/Makefile: Likewise.
47623 * locale/Makefile: Likewise.
47624 * intl/Makefile: Likewise.
47625 * conform/Makefile: Likewise.
47626 * nss/Makefile: Likewise.
47627 * time/Makefile: Likewise.
47628 * soft-fp/Makefile: Likewise.
47629 * dirent/Makefile: Likewise.
47630 * gmon/Makefile: Likewise.
47631 * po/Makefile: Likewise.
47632 * rt/Makefile: Likewise.
47633 * socket/Makefile: Likewise.
47634 * math/Makefile: Likewise.
47635 * signal/Makefile: Likewise.
47636 * debug/Makefile: Likewise.
47637 * elf/Makefile: Likewise.
47638 * timezone/Makefile: Likewise.
47639 * stdlib/Makefile: Likewise.
47640 * iconvdata/Makefile: Likewise.
47641 * sunrpc/Makefile: Likewise.
47642 * io/Makefile: Likewise.
47643 * argp/Makefile: Likewise.
47644 * inet/Makefile: Likewise.
47645 * hesiod/Makefile: Likewise.
47646 * grp/Makefile: Likewise.
47647 * csu/Makefile: Likewise.
47648 * wctype/Makefile: Likewise.
47649 * crypt/Makefile: Likewise.
47650 * libio/Makefile: Likewise.
47651 * string/Makefile: Likewise.
47652 * nis/Makefile: Likewise.
47653 * resolv/Makefile: Likewise.
47654 * stdio-common/Makefile: Likewise.
47655 * wcsmbs/Makefile: Likewise.
47656 * dlfcn/Makefile: Likewise.
47657 * posix/Makefile: Likewise.
47658
3b7c4e74 47659 [BZ #6959]
482ff4da
UD
47660 * timezone/Makefile: Don't install timezone files, just the programs
47661 and scripts.
47662
f72ed77d
UD
476632012-03-06 Ulrich Drepper <drepper@gmail.com>
47664
a000466f
UD
47665 * nss/databases.def: Add missing gshadow entry.
47666
f72ed77d
UD
47667 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47668
a53b7a4e
MP
476692012-03-06 Marek Polacek <polacek@redhat.com>
47670
47671 [BZ #13726]
47672 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47673 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47674 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47675 * stdio-common/tst-long-dbl-fphex.c: New file.
47676
e9258400
DM
476772012-03-06 David S. Miller <davem@davemloft.net>
47678
47679 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47680 (set_obp_int): New function.
47681 (get_obp_int): New function.
47682 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47684 Avoid unused variable warnings on 'val' and use builtin_expect.
47685 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47686 __builtin_expect.
e9258400
DM
47687 (INLINE_CLONE_SYSCALL): Likewise.
47688
3bd2c723
DM
476892012-03-05 David S. Miller <davem@davemloft.net>
47690
47691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47692
bbb78d03
AS
476932012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47694
884c5db4
AS
47695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47696
bbb78d03
AS
47697 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47698 only for |x| >= 40.
47699 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47700
1c9f702a 477012012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47702
47703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47704 Replace gettimeofday with __vdso_gettimeofday.
47705
7be16f82
RM
47706 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47707 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47708 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47709
47710 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47711 time with __vdso_time.
47712
ed58a00f
JM
477132012-03-05 Joseph Myers <joseph@codesourcery.com>
47714
47715 * manual/lang.texi (size_t): Note types to which size_t may be
47716 equivalent with the GNU C Library, but do not describe when
47717 differences between them are significant.
47718
30ee4ced
AJ
477192012-03-05 Andreas Jaeger <aj@suse.de>
47720
47721 * sysdeps/i386/fpu/libm-test-ulps: Update.
47722
b7cd39e8
JM
477232012-03-05 Joseph Myers <joseph@codesourcery.com>
47724
47725 [BZ #3976]
47726 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47727 (__ieee754_pow): Save and restore rounding mode and use
47728 round-to-nearest for main computations.
47729 * math/libm-test.inc (pow_test_tonearest): New function.
47730 (pow_test_towardzero): Likewise.
47731 (pow_test_downward): Likewise.
47732 (pow_test_upward): Likewise.
47733 (main): Call the new functions.
47734 * sysdeps/i386/fpu/libm-test-ulps: Update.
47735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47736
47737 [BZ #3976]
47738 * math/libm-test.inc (cosh_test_tonearest): New function.
47739 (cosh_test_towardzero): Likewise.
47740 (cosh_test_downward): Likewise.
47741 (cosh_test_upward): Likewise.
47742 (sinh_test_tonearest): Likewise.
47743 (sinh_test_towardzero): Likewise.
47744 (sinh_test_downward): Likewise.
47745 (sinh_test_upward): Likewise.
47746 (main): Call the new functions.
47747 * sysdeps/i386/fpu/libm-test-ulps: Update.
47748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47749
6c6a98c9
TV
477502012-03-05 Tom de Vries <tom@codesourcery.com>
47751
47752 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47753 default stack guard is set in last bytes.
47754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47755
21bb2d2e 477562012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47757
21bb2d2e 47758 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47759
21bb2d2e
AJ
47760 [BZ #13656]
47761 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47762 possibly allocate from heap instead of stack.
47763 * stdio-common/bug-vfprintf-nargs.c: New file.
47764 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47765
c6922934
AS
477662012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47767
47768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47769
bc957d53
MP
477702012-03-03 Marek Polacek <polacek@redhat.com>
47771
47772 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47773 * math/math_private.h: Likewise.
47774 * stdlib/tst-strtod.c: Likewise.
47775 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47776 * sysdeps/x86_64/bits/atomic.h: Likewise.
47777
6358490d
DM
477782012-03-02 David S. Miller <davem@davemloft.net>
47779
47780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47784 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47785 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47786 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47787 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47788
01ae168d
RM
477892012-03-02 Roland McGrath <roland@hack.frob.com>
47790
d9a17c07
RM
47791 [BZ #13792]
47792 * manual/examples/README: New file, says the example source files
47793 can be used under GPL>=2.
47794 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47795 line containing just "*/".
47796 * manual/examples/add.c: Add copyright header (GPL>=2).
47797 * manual/examples/argp-ex1.c: Likewise.
47798 * manual/examples/argp-ex2.c: Likewise.
47799 * manual/examples/argp-ex3.c: Likewise.
47800 * manual/examples/argp-ex4.c: Likewise.
47801 * manual/examples/atexit.c: Likewise.
47802 * manual/examples/db.c: Likewise.
47803 * manual/examples/dir.c: Likewise.
47804 * manual/examples/dir2.c: Likewise.
47805 * manual/examples/execinfo.c: Likewise.
47806 * manual/examples/filecli.c: Likewise.
47807 * manual/examples/filesrv.c: Likewise.
47808 * manual/examples/fmtmsgexpl.c: Likewise.
47809 * manual/examples/genpass.c: Likewise.
47810 * manual/examples/inetcli.c: Likewise.
47811 * manual/examples/inetsrv.c: Likewise.
47812 * manual/examples/isockad.c: Likewise.
47813 * manual/examples/longopt.c: Likewise.
47814 * manual/examples/memopen.c: Likewise.
47815 * manual/examples/memstrm.c: Likewise.
47816 * manual/examples/mkfsock.c: Likewise.
47817 * manual/examples/mkisock.c: Likewise.
47818 * manual/examples/mygetpass.c: Likewise.
47819 * manual/examples/pipe.c: Likewise.
47820 * manual/examples/popen.c: Likewise.
47821 * manual/examples/rprintf.c: Likewise.
47822 * manual/examples/search.c: Likewise.
47823 * manual/examples/select.c: Likewise.
47824 * manual/examples/setjmp.c: Likewise.
47825 * manual/examples/sigh1.c: Likewise.
47826 * manual/examples/sigusr.c: Likewise.
47827 * manual/examples/stpcpy.c: Likewise.
47828 * manual/examples/strdupa.c: Likewise.
47829 * manual/examples/strftim.c: Likewise.
47830 * manual/examples/strncat.c: Likewise.
47831 * manual/examples/subopt.c: Likewise.
47832 * manual/examples/swapcontext.c: Likewise.
47833 * manual/examples/termios.c: Likewise.
47834 * manual/examples/testopt.c: Likewise.
47835 * manual/examples/testpass.c: Likewise.
47836 * manual/examples/timeval_subtract.c: Likewise.
47837
01ae168d
RM
47838 [BZ #13792]
47839 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47840 function to ...
47841 * manual/timeval_subtract.c.texi: ... here, new file.
47842
49efa33d
DM
478432012-03-02 David S. Miller <davem@davemloft.net>
47844
47845 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47846
28afd92d
JM
478472012-03-02 Joseph Myers <joseph@codesourcery.com>
47848
804360ed
JM
47849 [BZ #3976]
47850 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47851 (__sin): Save and restore rounding mode and use round-to-nearest
47852 for all computations.
47853 (__cos): Save and restore rounding mode and use round-to-nearest
47854 for all computations.
47855 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47856 <fenv.h>.
47857 (tan): Save and restore rounding mode and use round-to-nearest for
47858 all computations.
47859 * math/libm-test.inc (cos_test_tonearest): New function.
47860 (cos_test_towardzero): Likewise.
47861 (cos_test_downward): Likewise.
47862 (cos_test_upward): Likewise.
47863 (sin_test_tonearest): Likewise.
47864 (sin_test_towardzero): Likewise.
47865 (sin_test_downward): Likewise.
47866 (sin_test_upward): Likewise.
47867 (tan_test_tonearest): Likewise.
47868 (tan_test_towardzero): Likewise.
47869 (tan_test_downward): Likewise.
47870 (tan_test_upward): Likewise.
47871 (main): Call the new functions.
47872 * sysdeps/i386/fpu/libm-test-ulps: Update.
47873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47874
a6d06d7b
JM
47875 [BZ #10135]
47876 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47877 small n, then large n, before computing and testing k+n.
47878 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47880 Likewise.
47881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47882 Likewise.
47883 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47884 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47887 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47888 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47889 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47891 * math/libm-test.inc (scalbn_test): Add more tests.
47892 (scalbln_test): Likewise.
47893
07e12bb3
JM
47894 * manual/filesys.texi (mode_t): Describe constraints on size and
47895 signedness, not exact equivalence to a particular type.
47896 (ino_t): Likewise.
47897 (ino64_t): Likewise.
47898 (dev_t): Likewise.
47899 (nlink_t): Likewise.
47900 (blkcnt_t): Likewise.
47901 (blkcnt64_t): Likewise.
47902 * manual/llio.texi (off_t): Likewise.
47903
28afd92d
JM
47904 [BZ #3976]
47905 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47906 (__ieee754_exp): Save and restore rounding mode and use
47907 round-to-nearest for all computations.
47908 * math/libm-test.inc (exp_test_tonearest): New function.
47909 (exp_test_towardzero): Likewise.
47910 (exp_test_downward): Likewise.
47911 (exp_test_upward): Likewise.
47912 (main): Call the new functions.
47913 * sysdeps/i386/fpu/libm-test-ulps: Update.
47914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47915
b1eeb65d
CD
479162012-03-01 Chris Demetriou <cgd@google.com>
47917
47918 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47919 have predictable order.
47920
53362a4b
DM
479212012-03-01 David S. Miller <davem@davemloft.net>
47922
3c969083
DM
47923 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47924
759707de
DM
47925 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47926 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47927 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47928 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47929
dfdb8ff2
DM
47930 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47931 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47932 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47934 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47935 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47936 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47937 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47938 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47939
ead89f96
DM
47940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47941
7f66bd07
DM
47942 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47943 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47944 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47945
53362a4b
DM
47946 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47947 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47948 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47949 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47950 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47951 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47952 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47954 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47955 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47956 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47959 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47960 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47962 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47963 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47964 * sysdeps/sparc/elf/configure: Regenerated.
47965
7b1902cb
JM
479662012-03-01 Joseph Myers <joseph@codesourcery.com>
47967
bec039bc
JM
47968 * configure.in (AS, LD): Require binutils 2.20 or later.
47969 * configure: Regenerated.
47970 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47971 as required minimum version.
47972 * INSTALL: Regenerated.
47973
7b1902cb
JM
47974 [BZ #2541]
47975 [BZ #4108]
47976 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47977 before squaring exponent.
47978 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47979 bottom long double and 27 bits of top long double before squaring
47980 exponent.
47981 * math/libm-test.inc (erfc_test): Add more tests.
47982 * sysdeps/i386/fpu/libm-test-ulps: Update.
47983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47985
f775c276
KT
479862012-03-01 Kai Tietz <ktietz@redhat.com>
47987
47988 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47989 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47990 containing bit-fields.
47991 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47992 * soft-fp/single.h (_FP_UNION_S): Likewise.
47993 * soft-fp/double.h (_FP_UNION_D): Likewise.
47994
5b8a4d4a
JM
479952012-02-29 Joseph Myers <joseph@codesourcery.com>
47996
0bab47b6
JM
47997 [BZ #13786]
47998 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47999 not include ../strcmp.S.
48000 [USE_AS_STRNCASECMP_L]: Likewise.
48001 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48002 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48003 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48004 (__strncasecmp_l_ia32): Define as alias to
48005 __strncasecmp_l_nonascii.
48006
0fcad3e2
JM
48007 [BZ #5794]
48008 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48009 * sysdeps/i386/fpu/libm-test-ulps: Update.
48010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48011
5b8a4d4a
JM
48012 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48014
8fdceb2e
JL
480152012-02-29 Jeff Law <law@redhat.com>
48016
48017 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48018 out of bounds read.
48019
1f393a11
MP
480202012-02-29 Marek Polacek <polacek@redhat.com>
48021
48022 [BZ #13706]
48023 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48024 * elf/Makefile: Add rules to run tst-unused-dep.out.
48025
8847f037
DM
480262012-02-28 David S. Miller <davem@davemloft.net>
48027
48028 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48029 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48030 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48032 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48033 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48034
169d7f11
JM
480352012-02-29 Joseph Myers <joseph@codesourcery.com>
48036
48037 * math/libm-test.inc (llround_test): Move one test from
48038 lround_test. Use TEST_f_L in moved test.
48039 (lround_test): Move misplaced test to llround_test. Add testcase
48040 from bug 2561.
48041
39adf059
UD
480422012-02-28 Ulrich Drepper <drepper@gmail.com>
48043
48044 * sysdeps/x86_64/fpu/e_expf.S: New file.
48045 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48046
71b5d1c5
SB
480472012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48048
48049 [BZ #13637]
48050 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48051 of remain_len that may cause incomplete multi-byte character and
48052 false match.
48053 * posix/bug-regex33.c: New file.
48054 * posix/Makefile (tests): Add bug-regex33.
48055
1f77f049
JM
480562012-02-28 Joseph Myers <joseph@codesourcery.com>
48057
48058 * manual/macros.texi: New file.
48059 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48060 * manual/libc.texinfo: Include macros.texi.
48061 * manual/creatute.texi: Likewise.
48062 * manual/install.texi: Likewise.
48063 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48064 @glibcadj{} in references to the GNU C Library.
48065 * manual/charset.texi: Likewise.
48066 * manual/conf.texi: Likewise.
48067 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48068 when not using those macros.
48069 * manual/creature.texi: Likewise.
48070 * manual/crypt.texi: Likewise.
48071 * manual/errno.texi: Likewise.
48072 * manual/filesys.texi: Likewise.
48073 * manual/header.texi: Likewise.
48074 * manual/install.texi: Likewise.
48075 * manual/intro.texi: Likewise.
48076 * manual/io.texi: Likewise.
48077 * manual/job.texi: Likewise.
48078 * manual/lang.texi: Likewise.
48079 * manual/libc.texiinfo: Likewise.
48080 * manual/llio.texi: Likewise.
48081 * manual/locale.texi: Likewise.
48082 * manual/maint.texi: Likewise.
48083 * manual/math.texi: Likewise.
48084 * manual/memory.texi: Likewise.
48085 * manual/message.texi: Likewise.
48086 * manual/nss.texi: Likewise.
48087 * manual/pattern.texi: Likewise.
48088 * manual/process.texi: Likewise.
48089 * manual/resource.texi: Likewise.
48090 * manual/search.texi: Likewise.
48091 * manual/setjmp.texi: Likewise.
48092 * manual/signal.texi: Likewise.
48093 * manual/socket.texi: Likewise.
48094 * manual/startup.texi: Likewise.
48095 * manual/stdio.texi: Likewise.
48096 * manual/string.texi: Likewise.
48097 * manual/sysinfo.texi: Likewise.
48098 * manual/syslog.texi: Likewise.
48099 * manual/terminal.texi: Likewise.
48100 * manual/time.texi: Likewise.
48101 * manual/users.texi: Likewise.
48102 * INSTALL: Regenerated.
48103 * NOTES: Regenerated.
d40c5d54 48104 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48105
450bf206
AS
481062012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48107
48108 * include/dirent.h: Include <dirstream.h> before
48109 <dirent/dirent.h>.
48110
741a235b
DM
481112012-02-28 David S. Miller <davem@davemloft.net>
48112
48113 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48114 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48115 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48117
d6b5aa58
DM
481182012-02-27 David S. Miller <davem@davemloft.net>
48119
1aff59a3
DM
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48122 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48123 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48124
d6b5aa58
DM
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48126 frame pointer instead of stack pointer relative arg slot.
48127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48128 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48129 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48130
433f48bf
CD
481312012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48132
48133 [BZ #3992]
48134 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48135
d674b76d
DM
481362012-02-27 David S. Miller <davem@davemloft.net>
48137
48138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48142 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48143 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48144 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48145 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48146
0e7727f7
JM
481472012-02-27 Joseph Myers <joseph@codesourcery.com>
48148
48149 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48150 later. Allow versions 5-9.
43be4ca2 48151 * configure: Regenerated.
0e7727f7
JM
48152 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48153 required minimum version and 4.6 as recommended version. Do not
48154 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48155 * INSTALL: Regenerated.
0e7727f7 48156
a78bc654
DM
481572012-02-27 David S. Miller <davem@davemloft.net>
48158
428d5830
DM
48159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48163 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48164 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48165 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48166 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48167
a78bc654
DM
48168 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48169 manipulate bits before adding and subtracting TWO112[sx].
48170 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48171
4579f81c
RM
481722012-02-27 Roland McGrath <roland@hack.frob.com>
48173
36c8acb4
RM
48174 [BZ #13775]
48175 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48176 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48177 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48178 being in POSIX, because they are in 1003.1-2008.
48179
84ad622b
RM
48180 * rt/tst-aio.c: Include <fcntl.h>.
48181 * rt/tst-aio7.c: Likewise.
48182 * rt/tst-aio64.c: Likewise.
48183
4579f81c
RM
48184 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48185
abd923db
JM
481862012-02-27 Joseph Myers <joseph@codesourcery.com>
48187
48188 * manual/install.texi (--with-headers): Describe headers as
48189 interface headers, not private headers.
48190 (Specific advice for GNU/Linux systems): Describe use of headers
48191 from "make headers_install", not private headers from older
48192 kernels.
43be4ca2 48193 * INSTALL: Regenerated.
abd923db
JM
48194 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48195 Change to 2.6.19.
48196 * sysdeps/unix/sysv/linux/configure: Regenerated.
48197
6664049b
JM
48198 * manual/llio.texi (fclean): Remove documentation.
48199
bb8b6697
JM
48200 * manual/Makefile (libc-texi-generated): New variable. Include
48201 version.texi.
48202 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48203 $(libc-texi-generated), not duplicated list of files.
48204 (version.texi, stamp-version): New rules.
48205 (realclean): Remove $(libc-texi-generated), not individual files
48206 from that list. Do not remove dir-add.texinfo.
48207 * manual/libc.texinfo: Comment out uses of edition numbers and
48208 references to printed manual. Remove last-updated dates.
48209 (EDITION): Comment out.
48210 (ISBN): Likewise.
48211 (VERSION, UPDATED): Remove.
48212 (version.texi): Include.
48213
12e5c3b9
AS
482142012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48215
48216 * sysdeps/posix/spawni.c: Include <signal.h>.
48217 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48218 * sysdeps/pthread/aio_fsync.c: Likewise.
48219
4efeffc1 482202012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48221
ba63ba08
UD
48222 * conform/Makefile (tests): Run only when not cross-compiling and
48223 when fast-check is not defined.
48224
d94a4670
UD
48225 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48226 * conform/data/limits.h-data: Fixes for POSIX2008.
48227 * conform/run-conformtest.sh: Run all tests.
48228 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48229 headers.
48230 * include/bits/dlfcn.h: Likewise.
48231 * include/langinfo.h: Likewise.
48232 * include/monetary.h: Likewise.
48233 * include/sys/poll.h: Likewise.
48234
48235 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48236 for __USE_GNU.
48237 * posix/spawn.h: Define __need_sigset_t.
48238 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48239 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48240 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48241 to get sigevent_t only.
48242 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48243 only for __USE_GNU.
48244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48245 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48246 process_vm_writev only for __USE_GNU.
48247 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48248
48249 * conform/Makefile: For now ignore errors from run-conformtest.
48250 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48251 POSIX to avoid namespace pollution. Don't prepend headers.
48252 * conform/data/aio.h-data: Fixes for POSIX testing.
48253 * conform/data/fcntl.h-data: Likewise.
48254 * conform/data/glob.h-data: Likewise.
48255 * conform/data/grp.h-data: Likewise.
48256 * conform/data/pthread.h-data: Likewise.
48257 * conform/data/pwd.h-data: Likewise.
48258 * conform/data/signal.h-data: Likewise.
48259 * conform/data/spawn.h-data: Likewise.
48260 * conform/data/stdio.h-data: Likewise.
48261 * conform/data/stdlib.h-data: Likewise.
48262 * conform/data/stropts.h-data: Likewise.
48263 * conform/data/sys/mman.h-data: Likewise.
48264 * conform/data/sys/stat.h-data: Likewise.
48265 * conform/data/sys/types.h-data: Likewise.
48266 * conform/data/sys/wait.h-data: Likewise.
48267 * conform/data/time.h-data: Likewise.
48268 * conform/data/unistd.h-data: Likewise.
48269 * conform/data/utime.h-data: Likewise.
48270
48271 * io/sys/stat.h: fchmod was always in POSIX.
48272 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48273 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48274 * rt/aio.h: Define __need_timespec before including <time.h>.
48275 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48276 struct. Add forward declaration of pthread_attr_t and use it in
48277 sigevent.
48278 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48279 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48280 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48281 always remove CLK_TCK definition.
48282
c20105c3
AS
482832012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48284
48285 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48286
7a270350
UD
482872012-02-25 Ulrich Drepper <drepper@gmail.com>
48288
31341567
UD
48289 * conform/run-conformtest.sh: New file.
48290 * conform/Makefile: Run run-conformtest for tests.
48291 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48292 support.
48293
48294 * conform/data/uchar.h-data: New file.
48295 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48296 * conform/data/arpa/inet.h-data: Likewise.
48297 * conform/data/assert.h-data: Likewise.
48298 * conform/data/complex.h-data: Likewise.
48299 * conform/data/cpio.h-data: Likewise.
48300 * conform/data/ctype.h-data: Likewise.
48301 * conform/data/dirent.h-data: Likewise.
48302 * conform/data/dlfcn.h-data: Likewise.
48303 * conform/data/errno.h-data: Likewise.
48304 * conform/data/fcntl.h-data: Likewise.
48305 * conform/data/float.h-data: Likewise.
48306 * conform/data/fmtmsg.h-data: Likewise.
48307 * conform/data/fnmatch.h-data: Likewise.
48308 * conform/data/ftw.h-data: Likewise.
48309 * conform/data/glob.h-data: Likewise.
48310 * conform/data/grp.h-data: Likewise.
48311 * conform/data/iconv.h-data: Likewise.
48312 * conform/data/inttypes.h-data: Likewise.
48313 * conform/data/langinfo.h-data: Likewise.
48314 * conform/data/libgen.h-data: Likewise.
48315 * conform/data/limits.h-data: Likewise.
48316 * conform/data/locale.h-data: Likewise.
48317 * conform/data/math.h-data: Likewise.
48318 * conform/data/monetary.h-data: Likewise.
48319 * conform/data/mqueue.h-data: Likewise.
48320 * conform/data/ndbm.h-data: Likewise.
48321 * conform/data/net/if.h-data: Likewise.
48322 * conform/data/netdb.h-data: Likewise.
48323 * conform/data/netinet/in.h-data: Likewise.
48324 * conform/data/nl_types.h-data: Likewise.
48325 * conform/data/poll.h-data: Likewise.
48326 * conform/data/pthread.h-data: Likewise.
48327 * conform/data/pwd.h-data: Likewise.
48328 * conform/data/regex.h-data: Likewise.
48329 * conform/data/sched.h-data: Likewise.
48330 * conform/data/search.h-data: Likewise.
48331 * conform/data/semaphore.h-data: Likewise.
48332 * conform/data/setjmp.h-data: Likewise.
48333 * conform/data/signal.h-data: Likewise.
48334 * conform/data/spawn.h-data: Likewise.
48335 * conform/data/stdarg.h-data: Likewise.
48336 * conform/data/stdio.h-data: Likewise.
48337 * conform/data/stdlib.h-data: Likewise.
48338 * conform/data/string.h-data: Likewise.
48339 * conform/data/strings.h-data: Likewise.
48340 * conform/data/stropts.h-data: Likewise.
48341 * conform/data/sys/ipc.h-data: Likewise.
48342 * conform/data/sys/mman.h-data: Likewise.
48343 * conform/data/sys/msg.h-data: Likewise.
48344 * conform/data/sys/resource.h-data: Likewise.
48345 * conform/data/sys/select.h-data: Likewise.
48346 * conform/data/sys/sem.h-data: Likewise.
48347 * conform/data/sys/shm.h-data: Likewise.
48348 * conform/data/sys/socket.h-data: Likewise.
48349 * conform/data/sys/stat.h-data: Likewise.
48350 * conform/data/sys/statvfs.h-data: Likewise.
48351 * conform/data/sys/time.h-data: Likewise.
48352 * conform/data/sys/timeb.h-data: Likewise.
48353 * conform/data/sys/times.h-data: Likewise.
48354 * conform/data/sys/types.h-data: Likewise.
48355 * conform/data/sys/uio.h-data: Likewise.
48356 * conform/data/sys/un.h-data: Likewise.
48357 * conform/data/sys/utsname.h-data: Likewise.
48358 * conform/data/sys/wait.h-data: Likewise.
48359 * conform/data/syslog.h-data: Likewise.
48360 * conform/data/tar.h-data: Likewise.
48361 * conform/data/termios.h-data: Likewise.
48362 * conform/data/utime.h-data: Likewise.
48363 * conform/data/utmpx.h-data: Likewise.
48364 * conform/data/varargs.h-data: Likewise.
48365 * conform/data/wchar.h-data: Likewise.
48366 * conform/data/wctype.h-data: Likewise.
48367 * conform/data/wordexp.h-data: Likewise.
48368
48369 * include/stropts.h: New file.
48370 * include/uchar.h: New file.
48371 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48372 * include/assert.h: Likewise.
48373 * include/ctype.h: Likewise.
48374 * include/dirent.h: Likewise.
48375 * include/dlfcn.h: Likewise.
48376 * include/fcntl.h: Likewise.
48377 * include/fnmatch.h: Likewise.
48378 * include/glob.h: Likewise.
48379 * include/grp.h: Likewise.
48380 * include/libio.h: Likewise.
48381 * include/locale.h: Likewise.
48382 * include/math.h: Likewise.
48383 * include/net/if.h: Likewise.
48384 * include/netdb.h: Likewise.
48385 * include/netinet/in.h: Likewise.
48386 * include/pthread.h: Likewise.
48387 * include/pwd.h: Likewise.
48388 * include/regex.h: Likewise.
48389 * include/sched.h: Likewise.
48390 * include/search.h: Likewise.
48391 * include/setjmp.h: Likewise.
48392 * include/signal.h: Likewise.
48393 * include/stdio.h: Likewise.
48394 * include/stdlib.h: Likewise.
48395 * include/string.h: Likewise.
48396 * include/sys/cdefs.h: Likewise.
48397 * include/sys/mman.h: Likewise.
48398 * include/sys/msg.h: Likewise.
48399 * include/sys/resource.h: Likewise.
48400 * include/sys/select.h: Likewise.
48401 * include/sys/socket.h: Likewise.
48402 * include/sys/stat.h: Likewise.
48403 * include/sys/statvfs.h: Likewise.
48404 * include/sys/time.h: Likewise.
48405 * include/sys/times.h: Likewise.
48406 * include/sys/uio.h: Likewise.
48407 * include/sys/utsname.h: Likewise.
48408 * include/sys/wait.h: Likewise.
48409 * include/termios.h: Likewise.
48410 * include/time.h: Likewise.
48411 * include/ulimit.h: Likewise.
48412 * include/unistd.h: Likewise.
48413 * include/utime.h: Likewise.
48414 * include/wchar.h: Likewise.
48415 * include/wctype.h: Likewise.
48416 * include/wordexp.h: Likewise.
48417
48418 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48419
7a270350
UD
48420 * time/time.h: TIME_UTC must be a macro.
48421 Make timespec_get available for ISO C11 only as well.
48422
7724defc
UD
484232012-02-24 Ulrich Drepper <drepper@gmail.com>
48424
48425 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48426 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48427
6b1d1d46
JM
484282012-02-24 Joseph Myers <joseph@codesourcery.com>
48429
48430 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48431
0f8bbd69
JM
484322012-02-24 Joseph Myers <joseph@codesourcery.com>
48433
48434 * manual/texinfo.tex: Update to version 2012-01-19.16.
48435
66ab80bc
JM
484362012-02-24 Joseph Myers <joseph@codesourcery.com>
48437
48438 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48439
74981cc5
RM
484402012-02-24 Roland McGrath <roland@hack.frob.com>
48441
ee968201
RM
48442 [BZ #13738]
48443 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48444 * manual/fdl-1.3.texi: New file.
48445 * manual/fdl-1.1.texi: File removed.
48446
74981cc5
RM
48447 [BZ #13738]
48448 * manual/libc.texinfo (FDL_VERSION): New @set.
48449 Use it for mention of FDL in cover text.
48450 (Documentation License): Use it in @include file name.
48451
7bb764bc
JM
484522012-02-22 Joseph Myers <joseph@codesourcery.com>
48453 Roland McGrath <roland@hack.frob.com>
48454
48455 [BZ #5461]
57f41c40
AS
48456 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48457 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48458 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48459 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48460 name.
48461 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48462
6cbeae47
JM
484632012-02-22 Joseph Myers <joseph@codesourcery.com>
48464
48465 [BZ #2547]
48466 [BZ #11365]
48467 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48468 manipulate bits before adding and subtracting TWO23[sx].
48469 * math/libm-test.inc (nearbyint_test): Add more tests.
48470
fe45ce09
JM
484712012-02-22 Joseph Myers <joseph@codesourcery.com>
48472
48473 [BZ #2548]
48474 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48475 bits before adding and subtracting TWO23[sx].
48476 * math/libm-test.inc (rint_test): Add more tests.
48477 (rint_test_tonearest): Likewise.
48478 (rint_test_towardzero): Likewise.
48479 (rint_test_downward): Likewise.
48480 (rint_test_upward: Likewise.
48481
ff3b3d82
JM
484822012-02-22 Joseph Myers <joseph@codesourcery.com>
48483
48484 [BZ #10110]
48485 * include/stdc-predef.h: New file. Extracted from features.h.
48486 * include/features.h: Include stdc-predef.h.
48487 * Makefile (headers): Add stdc-predef.h.
48488 * CONFORMANCE (Compiler limitations): Update.
48489
ef0aab35
JM
484902012-02-22 Joseph Myers <joseph@codesourcery.com>
48491
48492 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48493
58639409
DM
484942012-02-21 David S. Miller <davem@davemloft.net>
48495
48496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48498
c0e70b25
DM
484992012-02-20 David S. Miller <davem@davemloft.net>
48500
48501 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48502 using a normal save/restore sequence, rather than allocating a
48503 dummy stack frame just to store a frame pointer and restore.
48504 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48505
fb06851d
JM
485062012-02-21 Joseph Myers <joseph@codesourcery.com>
48507
48508 * manual/install.texi: Fix stray word in line-wrapped comment.
48509
7a8b71c3
DM
485102012-02-20 David S. Miller <davem@davemloft.net>
48511
d510c123
DM
48512 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48513 both binutils and gcc support GOTDATA.
48514
0722d7c2
DM
48515 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48516 "rd %pc" in the PIC register setup sequences.
48517
3d2b3019
DM
48518 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48519 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48520 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48521 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48522 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48525 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48527 (SYSCALL_ERROR_HANDLER): Likewise.
48528 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48529 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48531 (SYSCALL_ERROR_HANDLER): Likewise.
48532
c80098a9
DM
48533 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48534 (HAVE_GCC_GOTDATA): New.
48535 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48536 relocation support in both binutils and gcc.
48537 * sysdeps/sparc/elf/configure: Regenerate.
48538
3a2545a0
DM
48539 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48540 * sysdeps/sparc/sparc32/elf/configure: Delete.
48541 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48542 * sysdeps/sparc/sparc64/elf/configure: Delete.
48543 * sysdeps/sparc/elf/configure.in: New file.
48544 * sysdeps/sparc/elf/configure: Generate.
48545
7a8b71c3
DM
48546 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48547 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48548 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48549 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48550 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48551
f1e86fca
JM
485522012-02-21 Joseph Myers <joseph@codesourcery.com>
48553
48554 * manual/install.texi: Do not mention specific glibc version
48555 numbers.
48556 * manual/libc.texinfo (VERSION, UPDATED): Update.
48557 (@copying): Use @copyright{} and range of years.
48558
0e7dfaef
JM
485592012-02-21 Joseph Myers <joseph@codesourcery.com>
48560
48561 [BZ #13695]
48562 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48563 [crti.S not in sysdirs] (generated): Do not append.
48564 [crti.S not in sysdirs] (omit-deps): Likewise.
48565 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48566 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48567 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48568 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48569 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48570 Likewise.
48571 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48572 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48573 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48574 * csu/defs.awk: Remove file.
48575 * sysdeps/generic/initfini.c: Likewise.
48576 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48577 variable.
48578 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48579 Likewise.
48580
599af3ca
JM
485812012-02-20 Joseph Myers <joseph@codesourcery.com>
48582
48583 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48584 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48585 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48588 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48589 <bits/epoll.h>.
48590 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48591 (__EPOLL_PACKED): Define to empty if not defined by
48592 <bits/epoll.h>.
48593 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48595 bits/epoll.h.
48596
0e499750
JM
485972012-02-20 Joseph Myers <joseph@codesourcery.com>
48598
48599 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48600 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48601 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48602 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48603 <bits/timerfd.h>.
48604 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48606 bits/timerfd.h.
48607
5ad91f6e
JM
486082012-02-20 Joseph Myers <joseph@codesourcery.com>
48609
48610 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48611 in C locale.
48612 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48613 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48616
06b99b02
AJ
486172012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48618
48619 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48620 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48621
7638c0fd
AS
486222012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48623
48624 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48625 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48626 defined.
48627 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48628 Likewise.
48629 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48630 entry for 2.16.
48631
92221550
AJ
486322012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48633
48634 * math/w_acos.c: Use non-signaling floating-point comparisons.
48635 * math/w_acosf.c: Likewise.
48636 * math/w_acosh.c: Likewise.
48637 * math/w_acoshf.c: Likewise.
48638 * math/w_acoshl.c: Likewise.
48639 * math/w_acosl.c: Likewise.
48640 * math/w_asin.c: Likewise.
48641 * math/w_asinf.c: Likewise.
48642 * math/w_asinl.c: Likewise.
48643 * math/w_atanh.c: Likewise.
48644 * math/w_atanhf.c: Likewise.
48645 * math/w_atanhl.c: Likewise.
48646 * math/w_exp2.c: Likewise.
48647 * math/w_exp2f.c: Likewise.
48648 * math/w_exp2l.c: Likewise.
48649 * math/w_j0.c: Likewise.
48650 * math/w_j0f.c: Likewise.
48651 * math/w_j0l.c: Likewise.
48652 * math/w_j1.c: Likewise.
48653 * math/w_j1f.c: Likewise.
48654 * math/w_j1l.c: Likewise.
48655 * math/w_jn.c: Likewise.
48656 * math/w_jnf.c: Likewise.
48657 * math/w_log.c: Likewise.
48658 * math/w_log10.c: Likewise.
48659 * math/w_log10f.c: Likewise.
48660 * math/w_log10l.c: Likewise.
48661 * math/w_log2.c: Likewise.
48662 * math/w_log2f.c: Likewise.
48663 * math/w_log2l.c: Likewise.
48664 * math/w_logf.c: Likewise.
48665 * math/w_logl.c: Likewise.
48666 * math/w_sqrt.c: Likewise.
48667 * math/w_sqrtf.c: Likewise.
48668 * math/w_sqrtl.c: Likewise.
48669 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48670 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48671 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48672 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48674
ebaf36eb
JM
486752012-02-19 Joseph Myers <joseph@codesourcery.com>
48676
48677 [BZ #9739]
48678 * manual/string.texi (strnlen): Use correct parameter name in
48679 equivalent expression.
48680
71c254a6
JM
486812012-02-19 Joseph Myers <joseph@codesourcery.com>
48682
48683 [BZ #11174]
48684 * manual/users.texi (seteuid): Consistently use neweuid for
48685 argument name.
48686
16d2c631
JM
486872012-02-19 Joseph Myers <joseph@codesourcery.com>
48688
48689 [BZ #13704]
48690 * manual/nss.texi (Services in the NSS configuration): Correct
48691 list of services in example configuration file.
48692
cd837b09
NB
486932012-02-19 Nick Bowler <nbowler@draconx.ca>
48694
48695 [BZ #11322]
48696 * manual/arith.texi: Remove statements about negative zero
48697 behaving identically to zero.
48698
02c4bbad
JM
486992012-02-18 Joseph Myers <joseph@codesourcery.com>
48700
48701 [BZ #5993]
48702 * manual/install.texi: Do not document upgrading from libc5.
48703
366842e7
JM
487042012-02-18 Joseph Myers <joseph@codesourcery.com>
48705
48706 [BZ #4596]
48707 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48708
dd54084d
DM
487092012-02-18 David S. Miller <davem@davemloft.net>
48710
48711 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48712 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48713 %o7 across the call.
48714 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48715 instead.
48716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48717 SETUP_PIC_REG_LEAF.
48718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48719 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48720 * sysdeps/sparc/crtn.S: Likewise.
48721
2bcc53a3
UD
487222012-02-17 Ulrich Drepper <drepper@gmail.com>
48723
48724 * aout/Makefile: Remove.
48725
09c093b5
RK
487262012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48727
48728 [BZ #13058]
48729 * manual/examples/argp-ex1.c (main): Format definition in GNU
48730 style.
48731 * manual/examples/argp-ex2.c (main): Likewise.
48732 * manual/examples/argp-ex3.c (main): Likewise.
48733 * manual/examples/argp-ex4.c (main): Likewise.
48734 * manual/examples/longopt.c (main): Use new-style prototype
48735 definition.
48736 * manual/examples/strncat.c (main): Specify return type and use
48737 (void) for arguments.
48738 * manual/examples/subopt.c (main): Use char **argv argument.
48739
2ee633a2
JM
487402012-02-17 Joseph Myers <joseph@codesourcery.com>
48741
48742 [BZ #5077]
48743 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48744 rounding modes.
48745
0520adde
FB
487462012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48747
48748 [BZ #6907]
48749 * manual/string.texi (strchr): Change when strchrnul is
48750 recommended.
48751
3f4081cd
DGM
487522012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48753
48754 [BZ #174]
48755 * manual/locale.texi (setlocale): Document LOCPATH.
48756
d1b10e78
JM
487572012-02-17 Joseph Myers <joseph@codesourcery.com>
48758
48759 [BZ #10210]
48760 * manual/process.texi (execle): Move @dots{} before last argument.
48761
79c6869c
PB
487622012-02-17 Paul Bolle <pebolle@tiscali.nl>
48763
48764 [BZ #12047]
48765 * manual/charset.texi (Generic Charset Conversion): Fix typo
48766 (LC_TYPE -> LC_CTYPE).
48767
cc6e48bc
NB
487682012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48769
48770 [BZ #5805]
48771 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48772 (scalbnf): Likewise.
48773 (scalbnl): Likewise.
48774 (scalbln): Likewise.
48775 (scalblnf): Likewise.
48776 (scalblnl): Likewise.
48777 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48778 (vwarnx): Likewise.
48779 (verr): Likewise.
48780 (verrx): Likewise.
48781 * manual/filesys.texi (telldir): Use braces around return type.
48782 * manual/llio.texi (mmap): Add space after comma.
48783 (mmap64): Likewise.
48784 * manual/math.texi (jn): Use @var{} on parameter names.
48785 (jnf): Likewise.
48786 (jnl): Likewise.
48787 (yn): Likewise.
48788 (ynf): Likewise.
48789 (ynl): Likewise.
48790 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48791 line.
48792 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48793 "...".
48794 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48795 (sched_get_priority_max): Likewise.
48796 * manual/signal.texi (sigvec): Add space after comma.
48797 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48798 names.
48799 (if_indextoname): Likewise.
48800 (if_freenameindex): Likewise.
48801 (sendto): Use ',' instead of '.' in prototype.
48802 * manual/startup.texi (syscall): Use @dots{} instead of literal
48803 "...".
48804 * manual/stdio.texi (__fpending): Separate initial words of
48805 paragraph from @deftypefun line.
48806 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48807 "...".
48808 (vsyslog): Use @var{} on parameter names.
48809 * manual/terminal.texi (stty): Use @var{} on parameter names.
48810 * manual/users.texi (getutmp): Use @var{} on parameter names.
48811 (getutmpx): Likewise.
48812
5b23062f
JM
488132012-02-17 Joseph Myers <joseph@codesourcery.com>
48814
48815 [BZ #6884]
48816 * manual/stdio.texi (fopen): Fix typos in description of
48817 ",ccs=STRING".
48818
8dee4833
AJ
488192012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48820
48821 [BZ #4026]
48822 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48823 get clock_id definition.
48824
9078ce93
TS
488252012-02-17 Thomas Schwinge <thomas@schwinge.name>
48826
48827 [BZ #4822]
48828 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48829 (madvise): Cast every argument to void on its own.
48830
3835c55f
JM
488312012-02-17 Joseph Myers <joseph@codesourcery.com>
48832
48833 [BZ #9902]
48834 * manual/startup.texi (Exit Status): Fix typo.
48835
35c47e37
JM
488362012-02-17 Joseph Myers <joseph@codesourcery.com>
48837
48838 [BZ #10140]
48839 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48840 * manual/examples/argp-ex2.c: Likewise.
48841 * manual/examples/argp-ex3.c: Likewise.
48842
e3b69ca7
RH
488432012-02-16 Richard Henderson <rth@redhat.com>
48844
48845 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48846 * sysdeps/s390/s390-32/initfini.c: Remove.
48847 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48848 * sysdeps/s390/s390-64/initfini.c: Remove.
48849
df83af67
KK
488502012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48851
48852 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48853 compiler output for sysdeps/generic/initfini.c.
48854 * sysdeps/sh/elf/initfini.c: Remove file.
48855
f63f3380
DM
488562012-02-16 David S. Miller <davem@davemloft.net>
48857
fb59b3a4
DM
48858 [BZ #11494]
48859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48860
f63f3380
DM
48861 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48862 * sysdeps/sparc/crti.S: New file.
48863 * sysdeps/sparc/crtn.S: New file.
48864 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48865 * sysdeps/sparc/sparc64/Makefile: Likewise.
48866
df6a4a4a
MF
488672012-02-15 Mike Frysinger <vapier@gentoo.org>
48868
6dd8f3dc 48869 [BZ #3335]
df6a4a4a
MF
48870 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48871
1cac7236
RM
488722012-02-15 Roland McGrath <roland@hack.frob.com>
48873
d2c736f8
RM
48874 [BZ #4822]
48875 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48876
1cac7236
RM
48877 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48878 (write, read, close): Likewise.
48879 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48880
8e475601
JM
488812012-02-15 Joseph Myers <joseph@codesourcery.com>
48882
48883 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48884 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48885 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48886 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48887 <bits/signalfd.h>.
48888 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48890 bits/signalfd.h.
48891
ed656b40
MP
488922012-02-14 Marek Polacek <polacek@redhat.com>
48893
48894 * sysdeps/x86_64/crti.S: New file.
48895 * sysdeps/x86_64/crtn.S: New file.
48896 * sysdeps/x86_64/elf/initfini.c: Remove file.
48897
2a979d3a
JM
488982012-02-13 Joseph Myers <joseph@codesourcery.com>
48899
48900 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48901 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48902 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48903 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48904 <bits/inotify.h>.
48905 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48907 bits/inotify.h.
48908
2a418ac3
JM
489092012-02-13 Joseph Myers <joseph@codesourcery.com>
48910
48911 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48912 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48913 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48914 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48915 <bits/eventfd.h>.
48916 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48918 bits/eventfd.h.
48919
fb779be7
TS
489202012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48921
e19e83c5
RM
48922 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48923 __feraiseexcept instead of feraiseexcept.
7c35ffed 48924
fb779be7
TS
48925 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48926 nanosleep invocations.
48927 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48928 strings, and add error checking for a nanosleep invocations.
48929
59ba27a6
PE
489302012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48931
48932 Replace FSF snail mail address with URLs, as per GNU coding standards.
48933 Most of the snail mail addresses were wrong anyway, and omitting
48934 them makes the source code easier to maintain. Almost all of the
48935 changes are to license notices and to locale LC_IDENTIFICATION
48936 addresses, except for this one:
48937 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48938 not its snail mail address.
48939
57b957eb
RH
489402012-02-09 Richard Henderson <rth@twiddle.net>
48941
af850b1c
RH
48942 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48943 of kernel-features.h.
48944
57b957eb
RH
48945 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48946
6b73181a
MP
489472012-02-08 Marek Polacek <polacek@redhat.com>
48948
48949 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48950 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48951 * sysdeps/gnu/_G_config.h: Likewise.
48952 * sysdeps/generic/_G_config.h: Likewise.
48953
26ecc33a
AS
489542012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48955
6c6dbc63
AS
48956 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48957 tests.
48958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48959
e216c012
AS
48960 * sysdeps/powerpc/powerpc32/crti.S: New file.
48961 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48962 * sysdeps/powerpc/powerpc64/crti.S: New file.
48963 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48964
26ecc33a
AS
48965 * Makeconfig (have-initfini): Don't set.
48966 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48967 * configure.in (nopic_initfini): Don't substitute.
48968 * config.h.in (HAVE_INITFINI): Don't #undef.
48969 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48970 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48971
3add8e13
JM
489722012-02-08 Joseph Myers <joseph@codesourcery.com>
48973
48974 Support crti.S and crtn.S provided directly by architectures.
48975 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48976 [crti.S in sysdirs] (omit-deps): Likewise.
48977 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48978 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48979 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48980 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48981 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48982 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48983 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48984 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48985 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48986 compiler output for sysdeps/generic/initfini.c.
48987 * sysdeps/i386/elf/Makefile: Remove file.
48988 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48989
a22f12b4
MP
489902012-02-07 Marek Polacek <polacek@redhat.com>
48991
48992 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48993 * sysdeps/gnu/_G_config.h: Likewise.
48994 * sysdeps/mach/hurd/_G_config.h: Likewise.
48995
148cf100
MP
489962012-02-07 Marek Polacek <polacek@redhat.com>
48997
48998 * math/Makefile (tests): Add tst-CMPLX2.
48999 * math/tst-CMPLX2.c: New file.
49000
cfdc0dd7
AS
490012012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49002
84ba42c4
AS
49003 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49004
cfdc0dd7
AS
49005 * math/libm-test.inc (jn_test): Add missing L suffix.
49006
622c86f4
MP
490072012-02-06 Marek Polacek <polacek@redhat.com>
49008
49009 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49010 * sysdeps/i386/fpu/e_powf.S: Likewise.
49011 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49012 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49014 * sysdeps/i386/fpu/e_pow.S: Likewise.
49015 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49016 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49017 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49018 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49019 * sysdeps/i386/fpu/e_log2.S: Likewise.
49020 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49021 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49022 * sysdeps/i386/fpu/e_powl.S: Likewise.
49023 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49025 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49026 * sysdeps/i386/fpu/e_logl.S: Likewise.
49027 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49028 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49029 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49030 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49031 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49033 * sysdeps/i386/fpu/e_log.S: Likewise.
49034 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49036 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49037 * sysdeps/i386/fpu/e_logf.S: Likewise.
49038 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49039 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49040 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49041 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49042 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49043 * sysdeps/i386/fpu/e_log10.S: Likewise.
49044 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49045 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49046 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49047 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49048 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49049 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49050 * sysdeps/i386/asm-syntax.h: Likewise.
49051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49054 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49055 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49056 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49057 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49058 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49059 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49060 * sysdeps/powerpc/sysdep.h: Likewise.
49061 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49062 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49063
d4a54ac6
JM
490642012-02-06 Joseph Myers <joseph@codesourcery.com>
49065
49066 [BZ #411]
49067 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49068
314054ea
JM
490692012-02-06 Joseph Myers <joseph@codesourcery.com>
49070
49071 * sysdeps/i386/sysdep.h: Include <features.h>.
49072 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49073 version.
49074
d8e0ca50
JM
490752012-02-05 Joseph Myers <joseph@codesourcery.com>
49076
49077 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49078 Define.
49079 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49080 LOAD_PIC_REG_STR.
49081
b1da7dd9
JM
490822012-02-03 Joseph Myers <joseph@codesourcery.com>
49083
49084 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49085 (SETUP_PIC_REG): Use GET_PC_THUNK.
49086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49087 macro.
49088
9a1d9254
JM
490892012-02-03 Joseph Myers <joseph@codesourcery.com>
49090
49091 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49092 for non-PIC compilation.
49093 (SETUP_PIC_REG): Add .p2align directive.
49094 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49095 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49096 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49097 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49098 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49099 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49100 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49102 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49103 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49104 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49105 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49106 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49107 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49108 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49109 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49110 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49111 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49112 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49113 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49114 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49115 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49116 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49117 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49118 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49120 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49121 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49122 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49123 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49124 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49126 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49127 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49128 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49129 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49130 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49131 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49132 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49133 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49134 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49135
65dc3b75
JM
491362012-02-03 Joseph Myers <joseph@codesourcery.com>
49137
49138 * math/tst-CMPLX.c: Include <stdio.h>.
49139
d55bf177
JM
491402012-01-31 Joseph Myers <joseph@codesourcery.com>
49141
49142 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49143 float.
49144 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49145 * sysdeps/sparc/bits/mathdef.h: Likewise.
49146
69db4f8f
MP
491472012-01-31 Marek Polacek <polacek@redhat.com>
49148
49149 * libio/libio.h: Don't define _PARAMS.
49150 * locale/programs/config.h: Don't define PARAMS.
49151 * stdlib/strtol_l.c: Likewise.
49152 (__strtol_l): Remove PARAMS from the prototype.
49153
41b81892
UD
491542012-01-31 Ulrich Drepper <drepper@gmail.com>
49155
3b49edc0
UD
49156 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49157 names. Just use the correct names. Remove unnecessary wrapper
49158 functions.
49159 * malloc/arena.c: Likewise.
49160 * malloc/hooks.c: Likewise.
49161
41b81892
UD
49162 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49163 ARENA_TEST says not to. Simplify test for creation of a new arena.
49164 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49165
27a25b6e
UD
491662012-01-30 Ulrich Drepper <drepper@gmail.com>
49167
49168 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49169 into tail calls.
49170 (update_get_addr): New function.
49171 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49172 GET_ADDR_MODULE parameter.
49173
c8a89e7d
JM
491742012-01-30 Joseph Myers <joseph@codesourcery.com>
49175
49176 * crypt/cert.c: Remove __STDC__ conditionals.
49177 * crypt/crypt-entry.c: Likewise.
49178 * crypt/crypt_util.c: Likewise.
49179 * libio/filedoalloc.c: Likewise.
49180 * libio/fileops.c: Likewise.
49181 * libio/genops.c: Likewise.
49182 * libio/iofclose.c: Likewise.
49183 * libio/iofdopen.c: Likewise.
49184 * libio/iofopen.c: Likewise.
49185 * libio/iofopen64.c: Likewise.
49186 * libio/iogetdelim.c: Likewise.
49187 * libio/iopopen.c: Likewise.
49188 * libio/obprintf.c: Likewise.
49189 * libio/oldfileops.c: Likewise.
49190 * libio/oldiofclose.c: Likewise.
49191 * libio/oldiofdopen.c: Likewise.
49192 * libio/oldiofopen.c: Likewise.
49193 * libio/oldiopopen.c: Likewise.
49194 * libio/wfiledoalloc.c: Likewise.
49195 * libio/wgenops.c: Likewise.
49196 * locale/programs/xmalloc.c: Likewise.
49197 * misc/syslog.c: Likewise.
49198 * stdio-common/xbug.c: Likewise.
49199 * string/memchr.c: Likewise.
49200 * string/memcmp.c: Likewise.
49201 * string/memrchr.c: Likewise.
49202 * string/rawmemchr.c: Likewise.
49203 * sysdeps/posix/getcwd.c: Likewise.
49204 * time/strftime_l.c: Likewise.
49205
3b100462
JM
492062012-01-30 Joseph Myers <joseph@codesourcery.com>
49207
49208 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49209 * config.make.in (config-cflags-sse2avx): Define.
49210 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49211 Fix typo.
49212
607998af
CM
492132012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49214
49215 * scripts/config.guess: Update from upstream config git repository.
49216 * scripts/config.sub: Likewise.
49217
3601428f
CM
492182012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49219
3ac8b282
CM
49220 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49221 (EM_NUM): Update.
49222 (R_TILEPRO_*, R_TILEGX_*): New macros.
49223
e034841e
CM
49224 * scripts/firstversions.awk: Fix bug in version range handling.
49225
540d7568
CM
49226 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49227
3601428f
CM
49228 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49229
463de862
CM
49230 * include/sys/epoll.h: New file.
49231 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49232 libc_hidden_def.
49233
73139a76
UD
492342012-01-28 Ulrich Drepper <drepper@gmail.com>
49235
96bc5b45
UD
49236 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49237 Avoid unnecessary __WORDSIZE == 64 test.
49238 (fmaxf): Use VEX format if possible.
49239 (fmax): Likewise.
49240 (fminf): Likewise.
49241 (fmin): Likewise.
49242
56f6f6a2
UD
49243 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49244 * math/math_private.h: Remove libc_fegetround* and
49245 libc_fesetround*.
49246 * sysdeps/i386/configure.in: Check for -msse2avx.
49247 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49248 also if SSE2AVX is defined.
49249 Remove libc_fegetround* and libc_fesetround*.
49250 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49251 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49253 of HAS_YMM_USABLE.
49254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49255 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49256 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49257 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49258 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49259
73139a76
UD
49260 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49261
d73f93a4
AZ
492622012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49263
49264 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49265 size is not set.
49266 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49267
6ee65ed6
UD
492682012-01-27 Ulrich Drepper <drepper@gmail.com>
49269
49270 [BZ #13618]
49271 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49272 relocation.
49273 * Makeconfig (libm): Define.
49274 * elf/Makefile: Add rules to build and run tst-relsort1.
49275 * elf/tst-relsort1.c: New file.
49276 * elf/tst-relsort1mod1.c: New file.
49277 * elf/tst-relsort1mod2.c: New file.
49278
8db21882
JM
492792012-01-27 Joseph Myers <joseph@codesourcery.com>
49280
49281 * math/s_ldexp.c: Remove __STDC__ conditionals.
49282 * math/s_ldexpf.c: Likewise.
49283 * math/s_ldexpl.c: Likewise.
49284 * math/s_nextafter.c: Likewise.
49285 * math/s_nexttowardf.c: Likewise.
49286 * math/s_significand.c: Likewise.
49287 * math/s_significandf.c: Likewise.
49288 * math/s_significandl.c: Likewise.
49289 * math/w_jnl.c: Likewise.
49290 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49291 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49292 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49293 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49294 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49295 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49296 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49297 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49298 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49299 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49300 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49301 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49302 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49303 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49304 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49305 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49306 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49307 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49309 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49310 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49311 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49312 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49314 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49315 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49316 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49317 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49318 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49319 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49320 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49321 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49323 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49324 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49325 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49326 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49327 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49328 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49329 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49330 * sysdeps/ieee754/k_standard.c: Likewise.
49331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49335 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49337 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49338 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49339 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49340 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49343 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49345 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49346 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49347 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49348 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49349 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49350 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49351 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49352 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49353 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49354 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49355 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49356 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49360 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49361 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49362 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49363 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49364 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49365 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49366 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49367 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49368 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49369 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49370 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49371 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49373 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49374 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49375 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49376 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49377 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49378 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49380 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49381 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49382 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49383 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49384 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49385 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49386 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49387 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49388 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49390 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49398 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49399 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49400 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49401 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49403 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49406 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49407 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49408 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49409 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49410 * sysdeps/ieee754/s_matherr.c: Likewise.
49411 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49412 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49413 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49415
965a54a4
JM
494162012-01-26 Joseph Myers <joseph@codesourcery.com>
49417
49418 * crypt/md5.h: Remove __STDC__ conditionals.
49419 * libio/libioP.h: Likewise.
49420 * locale/programs/config.h: Likewise.
49421 * sysdeps/generic/sysdep.h: Likewise.
49422 * sysdeps/i386/asm-syntax.h: Likewise.
49423 * sysdeps/s390/asm-syntax.h: Likewise.
49424 * sysdeps/unix/sysdep.h: Likewise.
49425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49427
7071ad79
JM
494282012-01-26 Joseph Myers <joseph@codesourcery.com>
49429
49430 * libio/libio.h: Remove __STDC__ conditionals.
49431 * malloc/obstack.h: Likewise.
49432 * math/complex.h: Likewise.
49433 * math/math.h: Likewise.
49434 * sysdeps/generic/_G_config.h: Likewise.
49435 * sysdeps/gnu/_G_config.h: Likewise.
49436 * sysdeps/mach/hurd/_G_config.h: Likewise.
49437 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49438 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49439 * sysdeps/sparc/bits/mathdef.h: Likewise.
49440
afc5ed09
UD
494412012-01-26 Ulrich Drepper <drepper@gmail.com>
49442
49443 [BZ #13583]
49444 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49445 Clean up HAS_* macros.
afc5ed09 49446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49447 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49448 possible.
49449 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49450 HAS_AVX.
49451 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49452 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49455 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49456
bdb6de1d
JM
494572012-01-25 Joseph Myers <joseph@codesourcery.com>
49458
49459 * elf/tst-unique3.cc (gets): Remove declaration.
49460 * elf/tst-unique3lib.cc (gets): Likewise.
49461 * elf/tst-unique3lib2.cc (gets): Likewise.
49462 * elf/tst-unique4.cc (gets): Likewise.
49463
b15549e6
UD
494642012-01-24 Ulrich Drepper <drepper@gmail.com>
49465
49466 * include/stdio.h: Add C++ protection. Add gets declarations and
49467 definitions.
49468 * debug/tst-chk1.c: Don't declare gets here.
49469 * stdio-common/tst-gets.c: Likewise.
49470
a037381f
JM
494712012-01-24 Joseph Myers <joseph@codesourcery.com>
49472
49473 * posix/glob: Remove directory.
49474
f1d4aa75
JM
494752012-01-24 Joseph Myers <joseph@codesourcery.com>
49476
49477 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49478
81c0c964
PT
494792012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49480
49481 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49482 of the non-standard EPFNOSUPPORT.
49483
0ea698ae
ST
494842011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49485
49486 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49487 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49488 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49489
d220b117
UD
494902012-01-21 Ulrich Drepper <drepper@gmail.com>
49491
49492 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49493
3e1aa84e
UD
494942012-01-20 Ulrich Drepper <drepper@gmail.com>
49495
49496 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49497 transient errors.
49498 * nscd/grpcache.c (cache_addgr): Likewise.
49499 * nscd/hstcache.c (cache_addhst): Likewise.
49500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49501 * nscd/pwdcache.c (cache_addpw): Likewise.
49502 * nscd/servicescache.c (cache_addserv): Likewise.
49503
400aa020
UD
495042012-01-16 Ulrich Drepper <drepper@gmail.com>
49505
d77e7869
UD
49506 * malloc/malloc.c: Various cleanups.
49507 * malloc/hooks.c: Likewise.
49508
400aa020
UD
49509 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49510 * stdlib/bug-fmtmsg1.c: New file.
49511
49512 * stdlib/fmtmsg.c (init): Add missing unlock.
49513 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49514
e0a309cf
MP
495152012-01-12 Marek Polacek <polacek@redhat.com>
49516
49517 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49518 and _GNU_SOURCE.
49519
929d11c7
WS
495202012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49521
49522 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49523 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49524 macro to ensure uniqueness of label name.
49525 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49526 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49527
41d0e869
UD
495282012-01-11 Ulrich Drepper <drepper@gmail.com>
49529
0cc5ed3b
UD
49530 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49531
41d0e869
UD
49532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49533 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49534 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49536
a47a831a
UD
495372012-01-10 Ulrich Drepper <drepper@gmail.com>
49538
daa891c0
UD
49539 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49540
49541 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49542 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49544
e58ef0f2
UD
49545 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49546
a47a831a 49547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49548 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49549 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49551
49552 * math/bits/math-finite.h: Add ldexp support.
49553
a0bfc9c7
MP
495542012-01-10 Marek Polacek <polacek@redhat.com>
49555
49556 * locale/programs/localedef.h (show_archive_content): Add noreturn
49557 attribute.
49558
d6e97a1d
UD
495592012-01-09 Ulrich Drepper <drepper@gmail.com>
49560
49561 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49562
d5835c26
UD
495632012-01-08 Ulrich Drepper <drepper@gmail.com>
49564
e5f484c6
UD
49565 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49566
d5835c26
UD
49567 * io/Makefile (headers): Add bits/poll2.h.
49568
d1f741e9
WS
495692011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49570
49571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49572 typo #include statement.
49573
ec09c1c4
UD
495742012-01-08 Ulrich Drepper <drepper@gmail.com>
49575
49576 * include/sys/cdefs.h: Define __attribute_alloc_size.
49577 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49578 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49579 * elf/pldd.c: Likewise.
49580 * iconv/iconv_charmap.c: Likewise.
49581 * iconv/iconvconfig.c: Likewise.
49582 * iconv/strtab.c: Likewise.
49583 * locale/programs/locale.c: Likewise.
49584 * locale/programs/localedef.h: Likewise.
49585 * locale/programs/simple-hash.c: Likewise.
49586 * nscd/nscd.h: Likewise.
49587 * nss/makedb.c: Likewise.
49588 * sysdeps/generic/ldconfig.h: Likewise.
49589 * locale/programs/localedef.c: Remove xmalloc prototype.
49590 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49591
20b38e03
PP
495922012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49593
49594 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49595 appropriate.
49596
a0da5fe1
UD
495972012-01-08 Ulrich Drepper <drepper@gmail.com>
49598
1d5a644a 49599 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49600 * math/tst-CMPLX.c: New file.
1d5a644a 49601
8784a6db
UD
49602 * math/complex.h (CMPLXL): Fix typo.
49603
d9a216c0
UD
49604 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49605 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49606 GLIBC_2.16.
49607 * debug/tst-chk1.c: Add poll and ppoll tests.
49608 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49609 * include/sys/poll.h: Add hidden proto for ppoll.
49610 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49611 * sysdeps/mach/hurd/ppoll.c: Likewise.
49612 * io/ppoll.c: Likewise.
49613 * debug/poll_chk.c: New file.
49614 * debug/ppoll_chk.c: New file.
49615 * include/bits/poll2.h: New file.
49616 * io/bits/poll2.h: New file.
49617
ac097f5c
UD
49618 [BZ #1350]
49619 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49620
2119dcfa
UD
49621 * configure.in: static is always set to yes. Remove.
49622 * config.make.in: Don't set build-static.
49623 * Makeconfig: Remove use of build-static.
49624 * dlfcn/Makefile: Likewise.
49625 * elf/Makefile: Likewise.
49626 * math/Makefile: Likewise.
49627 * misc/Makefile: Likewise.
49628 * nptl/Makefile: Likewise.
49629 * sysdeps/mach/hurd/Makefile: Likewise.
49630
121766a9
UD
49631 * configure.in: PWD_P is not used anymore.
49632 * config.make.in: Remove PWD_P entry.
49633
51a1d39c 49634 * configure.in: Remove last remnants of RANLIB.
8720d066 49635 No need to check for signed size_t anymore.
215f4bdc
UD
49636 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49637 and IA-64.
3857022a 49638 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49639 * aclocal.m4: Likewise.
49640
d3ed7225
UD
49641 * wcsmbs/mbrtoc16.c: Implement using towc function.
49642 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49643 * wcsmbs/wcsmbsload.c: Likewise.
49644 * iconv/gconv_simple.c: Likewise.
49645 * iconv/gconv_int.h: Likewise.
49646 * iconv/gconv_builtin.h: Likewise.
49647 * iconv/iconv_prog.c: Remove CHAR16 handling.
49648
49649 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49650
49651 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49652
a0da5fe1
UD
49653 * configure.in: Remove --with-elf and --enable-bounded options.
49654 Dont set base_machine for ia64. More non-ELF conditions removed.
49655 Remove testing and setting of leading underscore information.
49656 * config.make.in (build-bounded): Set to no.
49657 * config.h.in: Remove NO_UNDERSCORES entry.
49658 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49659 them.
49660 * csu/start.c: Remove !NO_UNDERSCORE code.
49661 * locale/localeinfo.h: Likewise.
49662 * sysdeps/generic/machine-gmon.h: Likewise.
49663 * sysdeps/generic/sysdep.h: Likewise.
49664 * sysdeps/i386/sysdep.h: Likewise.
49665 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49666 * sysdeps/mach/sysdep.h: Likewise.
49667 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49668 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49669 * sysdeps/sh/sysdep.h: Likewise.
49670 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49671 * sysdeps/unix/i386/sysdep.S: Likewise.
49672 * sysdeps/unix/sparc/start.c: Likewise.
49673 * sysdeps/unix/sparc/sysdep.S: Likewise.
49674 * sysdeps/unix/sparc/sysdep.h: Likewise.
49675 * sysdeps/unix/start.c: Likewise.
49676 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49677 * sysdeps/x86_64/sysdep.h: Likewise.
49678
df78418a
UD
496792012-01-07 Ulrich Drepper <drepper@gmail.com>
49680
a784e502
UD
49681 [BZ #13553]
49682 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49683 for non-gcc.
49684 * argp/argp-fmtstream.h: Use const instead __const.
49685 * argp/argp.h: Likewise.
49686 * assert/assert.h: Likewise.
49687 * bits/fenv.h: Likewise.
49688 * bits/sched.h: Likewise.
49689 * bits/sigset.h: Likewise.
49690 * bits/sigthread.h: Likewise.
49691 * catgets/nl_types.h: Likewise.
49692 * conform/data/pthread.h-data: Likewise.
49693 * crypt/crypt-private.h: Likewise.
49694 * crypt/crypt.h: Likewise.
49695 * crypt/crypt_util.c: Likewise.
49696 * ctype/ctype.h: Likewise.
49697 * debug/execinfo.h: Likewise.
49698 * debug/mbsnrtowcs_chk.c: Likewise.
49699 * debug/mbsrtowcs_chk.c: Likewise.
49700 * debug/wcsnrtombs_chk.c: Likewise.
49701 * debug/wcsrtombs_chk.c: Likewise.
49702 * debug/wcstombs_chk.c: Likewise.
49703 * dirent/dirent.h: Likewise.
49704 * dlfcn/dlfcn.h: Likewise.
49705 * elf/neededtest4.c: Likewise.
49706 * grp/grp.h: Likewise.
49707 * gshadow/gshadow.h: Likewise.
49708 * iconv/gconv.h: Likewise.
49709 * iconv/gconv_int.h: Likewise.
49710 * iconv/gconv_simple.c: Likewise.
49711 * iconv/iconv.h: Likewise.
49712 * iconv/loop.c: Likewise.
49713 * iconv/skeleton.c: Likewise.
49714 * include/aio.h: Likewise.
49715 * include/aliases.h: Likewise.
49716 * include/argz.h: Likewise.
49717 * include/arpa/inet.h: Likewise.
49718 * include/assert.h: Likewise.
49719 * include/dirent.h: Likewise.
49720 * include/dlfcn.h: Likewise.
49721 * include/execinfo.h: Likewise.
49722 * include/fcntl.h: Likewise.
49723 * include/fenv.h: Likewise.
49724 * include/glob.h: Likewise.
49725 * include/grp.h: Likewise.
49726 * include/libintl.h: Likewise.
49727 * include/mntent.h: Likewise.
49728 * include/netdb.h: Likewise.
49729 * include/pwd.h: Likewise.
49730 * include/rpc/netdb.h: Likewise.
49731 * include/sched.h: Likewise.
49732 * include/search.h: Likewise.
49733 * include/shadow.h: Likewise.
49734 * include/signal.h: Likewise.
49735 * include/stdio.h: Likewise.
49736 * include/stdlib.h: Likewise.
49737 * include/string.h: Likewise.
49738 * include/sys/socket.h: Likewise.
49739 * include/sys/stat.h: Likewise.
49740 * include/sys/statfs.h: Likewise.
49741 * include/sys/statvfs.h: Likewise.
49742 * include/sys/syslog.h: Likewise.
49743 * include/sys/time.h: Likewise.
49744 * include/sys/uio.h: Likewise.
49745 * include/time.h: Likewise.
49746 * include/unistd.h: Likewise.
49747 * include/utmp.h: Likewise.
49748 * include/wchar.h: Likewise.
49749 * include/wctype.h: Likewise.
49750 * inet/aliases.h: Likewise.
49751 * inet/arpa/inet.h: Likewise.
49752 * inet/netinet/ether.h: Likewise.
49753 * inet/netinet/in.h: Likewise.
49754 * intl/libintl.h: Likewise.
49755 * io/bits/fcntl2.h: Likewise.
49756 * io/fcntl.h: Likewise.
49757 * io/ftw.h: Likewise.
49758 * io/sys/poll.h: Likewise.
49759 * io/sys/stat.h: Likewise.
49760 * io/sys/statfs.h: Likewise.
49761 * io/sys/statvfs.h: Likewise.
49762 * io/utime.h: Likewise.
49763 * libio/bits/stdio.h: Likewise.
49764 * libio/bits/stdio2.h: Likewise.
49765 * libio/libio.h: Likewise.
49766 * libio/libioP.h: Likewise.
49767 * libio/stdio.h: Likewise.
49768 * locale/lc-ctype.c: Likewise.
49769 * locale/locale.h: Likewise.
49770 * login/utmp.h: Likewise.
49771 * malloc/arena.c: Likewise.
49772 * malloc/malloc.c: Likewise.
49773 * malloc/malloc.h: Likewise.
49774 * malloc/mcheck.c: Likewise.
49775 * malloc/mtrace.c: Likewise.
49776 * math/bits/mathcalls.h: Likewise.
49777 * math/fenv.h: Likewise.
49778 * math/math_private.h: Likewise.
49779 * misc/bits/error.h: Likewise.
49780 * misc/bits/syslog.h: Likewise.
49781 * misc/err.h: Likewise.
49782 * misc/error.h: Likewise.
49783 * misc/fstab.h: Likewise.
49784 * misc/mntent.h: Likewise.
49785 * misc/regexp.h: Likewise.
49786 * misc/search.h: Likewise.
49787 * misc/sgtty.h: Likewise.
49788 * misc/sys/mman.h: Likewise.
49789 * misc/sys/syslog.h: Likewise.
49790 * misc/sys/uio.h: Likewise.
49791 * misc/sys/xattr.h: Likewise.
49792 * misc/ttyent.h: Likewise.
49793 * nis/rpcsvc/ypclnt.h: Likewise.
49794 * nss/nss.h: Likewise.
49795 * posix/bits/unistd.h: Likewise.
49796 * posix/fnmatch.h: Likewise.
49797 * posix/glob.h: Likewise.
49798 * posix/sched.h: Likewise.
49799 * posix/spawn.h: Likewise.
49800 * posix/sys/wait.h: Likewise.
49801 * posix/unistd.h: Likewise.
49802 * posix/wordexp.h: Likewise.
49803 * pwd/pwd.h: Likewise.
49804 * resolv/netdb.h: Likewise.
49805 * resource/sys/resource.h: Likewise.
49806 * rt/aio.h: Likewise.
49807 * rt/bits/mqueue2.h: Likewise.
49808 * rt/mqueue.h: Likewise.
49809 * shadow/shadow.h: Likewise.
49810 * signal/signal.h: Likewise.
49811 * socket/send.c: Likewise.
49812 * socket/sendto.c: Likewise.
49813 * socket/sys/socket.h: Likewise.
49814 * stdio-common/printf.h: Likewise.
49815 * stdlib/bits/stdlib.h: Likewise.
49816 * stdlib/fmtmsg.h: Likewise.
49817 * stdlib/monetary.h: Likewise.
49818 * stdlib/stdlib.h: Likewise.
49819 * stdlib/ucontext.h: Likewise.
49820 * streams/stropts.h: Likewise.
49821 * string/argz.h: Likewise.
49822 * string/bits/string2.h: Likewise.
49823 * string/string.h: Likewise.
49824 * string/strings.h: Likewise.
49825 * sunrpc/rpc/auth.h: Likewise.
49826 * sunrpc/rpc/auth_des.h: Likewise.
49827 * sunrpc/rpc/clnt.h: Likewise.
49828 * sunrpc/rpc/netdb.h: Likewise.
49829 * sunrpc/rpc/pmap_clnt.h: Likewise.
49830 * sunrpc/rpc/xdr.h: Likewise.
49831 * sysdeps/generic/inttypes.h: Likewise.
49832 * sysdeps/generic/net/if.h: Likewise.
49833 * sysdeps/generic/sys/swap.h: Likewise.
49834 * sysdeps/gnu/net/if.h: Likewise.
49835 * sysdeps/gnu/utmpx.h: Likewise.
49836 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49837 * sysdeps/i386/i486/bits/string.h: Likewise.
49838 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49839 * sysdeps/s390/bits/string.h: Likewise.
49840 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49841 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49842 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49843 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49844 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49845 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49846 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49847 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49848 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49849 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49850 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49851 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49852 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49853 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49854 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49855 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49856 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49858 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49859 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49861 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49862 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49863 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49864 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49865 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49866 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49867 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49868 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49869 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49870 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49871 * sysvipc/sys/ipc.h: Likewise.
49872 * sysvipc/sys/msg.h: Likewise.
49873 * sysvipc/sys/sem.h: Likewise.
49874 * sysvipc/sys/shm.h: Likewise.
49875 * termios/termios.h: Likewise.
49876 * time/sys/time.h: Likewise.
49877 * time/time.h: Likewise.
49878 * wcsmbs/bits/wchar2.h: Likewise.
49879 * wcsmbs/uchar.h: Likewise.
49880 * wcsmbs/wchar.h: Likewise.
49881 * wctype/wctype.h: Likewise.
49882
0269750c
UD
49883 [BZ #13551]
49884 * Makeconfig: Remove all but ELF support including AIX support.
49885 * Makerules: Likewise.
49886 * config.h.in: Likewise.
49887 * config.make.in: Likewise.
49888 * configure: Likewise.
49889 * configure.in: Likewise.
49890 * csu/Makefile: Likewise.
49891 * csu/version.c: Likewise.
49892 * debug/Makefile: Likewise.
49893 * dlfcn/Makefile: Likewise.
49894 * elf/Makefile: Likewise.
49895 * extra-lib.mk: Likewise.
49896 * iconv/Makefile: Likewise.
49897 * include/libc-symbols.h: Likewise.
49898 * include/shlib-compat.h: Likewise.
49899 * resolv/Makefile: Likewise.
49900 * resolv/res_libc.c: Likewise.
49901 * rt/Makefile: Likewise.
49902 * sysdeps/i386/asm-syntax.h: Likewise.
49903 * sysdeps/i386/sysdep.h: Likewise.
49904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49905 * sysdeps/mach/sysdep.h: Likewise.
49906 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49907 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49908 * sysdeps/s390/asm-syntax.h: Likewise.
49909 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49910 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49911 * sysdeps/sh/sysdep.h: Likewise.
49912 * sysdeps/unix/sparc/sysdep.h: Likewise.
49913 * sysdeps/wordsize-32/divdi3.c: Likewise.
49914 * sysdeps/x86_64/sysdep.h: Likewise.
49915
00bbd29b
UD
49916 * argp/Versions: Remove _argp_unlock_xxx.
49917
49918 [BZ #13559]
49919 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49920 * abilist/libBrokenLocale.abilist: Likewise.
49921 * abilist/libanl.abilist: Likewise.
49922 * abilist/libc.abilist: Likewise.
49923 * abilist/libcrypt.abilist: Likewise.
49924 * abilist/libdl.abilist: Likewise.
49925 * abilist/libm.abilist: Likewise.
49926 * abilist/libnsl.abilist: Likewise.
49927 * abilist/libpthread.abilist: Likewise.
49928 * abilist/libresolv.abilist: Likewise.
49929 * abilist/librt.abilist: Likewise.
49930 * abilist/libthread_db.abilist: Likewise.
49931 * abilist/libutil.abilist: Likewise.
49932 * abilist/libnss_db.abilist: New file.
49933
49934 * scripts/abilist.awk: Add support for indirect functions.
49935
a2693a0e
UD
49936 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49937
3f05895f
UD
49938 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49939
ecb6fb48
UD
49940 * shlib-versions: Remove entries for ports architectures.
49941
664f8cb9
UD
49942 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49943 files in ports.
49944 * elf/stackguard-macros.h: Remove support for IA-64.
49945 * elf/tst-auditmod1.c: Likewise.
49946 * sysdeps/generic/ldsodefs.h: Likewise.
49947
7ae81d88
UD
49948 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49949 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49950 configure files.
49951
bdeba135
UD
49952 [BZ #13552]
49953 * configure.in: Remove --enable-omitfp support.
49954 * FAQ.in: Adjust.
49955 * config.make.in: Likewise.
49956 * Makeconfig: Likewise.
49957 * manual/install.texi: Likewise.
49958
d75a0a62
UD
49959 In case anyone cares, the IA-64 architecture could move to ports.
49960 * sysdeps/ia64/*: Removed.
49961 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49962 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49963
dcc9756b
UD
49964 [BZ #13555]
49965 * configure.in: Remove entries for unsupported architectures.
49966
d3761ebc 49967 [BZ #13533]
9954432e
UD
49968 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49969 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49970 routines.
49971 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49972 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49973 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49974 fall back to using wcrtomb.
49975 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49976 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49977 renaming.
49978 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49979 * wcsmbs/tst-c16c32-1.c: New file.
49980
49981 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49982 local variable.
49983
c3a87236
UD
49984 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49985
28926a1b
UD
49986 * elf/tst-unique3.cc: Add explicit declaration of gets.
49987 * elf/tst-unique3lib.cc: Likewise.
49988 * elf/tst-unique3lib2.cc: Likewise.
49989 * elf/tst-unique4.cc: Likewise.
49990
df78418a
UD
49991 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49992
8ecd6b2a
JM
499932012-01-06 Joseph Myers <joseph@codesourcery.com>
49994
49995 [BZ #13566]
49996 * assert/assert.h (static_assert): Don't define for C++.
49997 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49998 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49999
9f115170
UD
500002012-01-03 Ulrich Drepper <drepper@gmail.com>
50001
5e0d0300
UD
50002 * iconv/loop.c (single loop): Fix assertion in storing of
50003 remaining bytes.
50004
9f115170
UD
50005 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50006
81fb02b0
UD
500072012-01-01 Ulrich Drepper <drepper@gmail.com>
50008
50009 * posix/getconf.c: Update copyright year.
50010 * nss/getent.c: Likewise.
a316c1f6 50011 * nss/makedb.c: Likewise.
81fb02b0
UD
50012 * iconv/iconvconfig.c: Likewise.
50013 * iconv/iconv_prog.c: Likewise.
50014 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50015 * elf/pldd.c: Likewise.
50016 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50017 * catgets/gencat.c: Likewise.
50018 * csu/version.c: Likewise.
50019 * elf/ldd.bash.in: Likewise.
50020 * elf/sprof.c (print_version): Likewise.
50021 * locale/programs/locale.c: Likewise.
50022 * locale/programs/localedef.c: Likewise.
a316c1f6 50023 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50024 * nscd/nscd.c (print_version): Likewise.
50025 * debug/xtrace.sh: Likewise.
50026 * malloc/memusage.sh: Likewise.
50027 * malloc/mtrace.pl: Likewise.
50028 * debug/catchsegv.sh: Likewise.
50029
2ba92745
JJ
500302011-12-30 Jakub Jelinek <jakub@redhat.com>
50031
50032 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50033 pure attribute.
50034
dadebdae
UD
500352011-12-24 Ulrich Drepper <drepper@gmail.com>
50036
d3761ebc 50037 [BZ #13533]
db6af3eb
UD
50038 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50039 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50040 transformations.
50041 * iconv/gconv_int.h: Likewise.
50042 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50043 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50044 from libc for GLIBC_2.16.
50045 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50046 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50047 * wcsmbs/uchar.h: Really define mbstate_t.
50048 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50049 * wcsmbs/c16rtomb.c: New file.
50050 * wcsmbs/mbrtoc16.c: New file.
50051 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50052 for C/POSIX locale.
50053 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50054 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50055
dadebdae
UD
50056 * wcsmbs/wchar.h: Add missing __restrict.
50057
67371b56
UD
500582011-12-23 Ulrich Drepper <drepper@gmail.com>
50059
74033a25
UD
50060 [BZ #13532]
50061 * time/Makefile (routines): Add timespec_get.
50062 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50063 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50064 timespec for ISO C11.
50065 * time/timespec_get.c: New file.
50066 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50067 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50068
380d7e87
UD
50069 [BZ #13531]
50070 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50071 * stdlib/stdlib.h: Declare aligned_alloc.
50072 * Versions.def: Add GLIBC_2.16 for libc.
50073 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50074
4e9e7a35
UD
50075 [BZ 13527]
50076 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50077 ISO C11.
50078
380d7e87 50079 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50080 code.
50081
03a71829
UD
50082 [BZ #13528]
50083 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50084
839e283e
UD
50085 [BZ #13529]
50086 * assert/assert.h (static_assert): Define.
50087
ce5294e2 50088 * version.h: Update for 2.16 development version.
90fa7312 50089
8d44e150 50090 [BZ #13526]
d7809905
UD
50091 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50092 _ISOC11_SOURCE.
50093
c0da14cd
UD
50094 * version.h (RELEASE): Bump for 2.15 release.
50095 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50096
530a3249
MP
50097 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50098 Patch by Marek Polacek <mpolacek@redhat.com>.
50099
67371b56
UD
50100 * bits/byteswap.h: Protect long long constants with __extension__.
50101 * sysdeps/i386/bits/byteswap.h: Likewise.
50102 * sysdeps/ia64/bits/byteswap.h: Likewise.
50103 * sysdeps/s390/bits/byteswap.h: Likewise.
50104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50105
15db4de1
LD
501062011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50107
50108 [BZ #13540]
bbe315ea
LD
50109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50110 destination buffer.
15db4de1
LD
50111 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50112
2b2596b1
MP
501132011-12-23 Marek Polacek <polacek@redhat.com>
50114
50115 * elf/dl-addr.c (determine_info): Add inline keyword.
50116 * elf/tst-auditmod4b.c (check_avx): Likewise.
50117 * elf/tst-auditmod6b.c (check_avx): Likewise.
50118 * elf/tst-auditmod6c.c (check_avx): Likewise.
50119 * elf/tst-auditmod7b.c (check_avx): Likewise.
50120
70c6c246
UD
501212011-12-23 Ulrich Drepper <drepper@gmail.com>
50122
50123 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50124 !__SSE_MATH__.
50125
c044cf14
LD
501262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50127
15db4de1 50128 [BZ #13540]
c044cf14
LD
50129 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50130 processing for last bytes.
50131
6b13d9d9
BH
501322011-08-06 Bruno Haible <bruno@clisp.org>
50133
d455f537
BH
50134 [BZ #13061]
50135 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50136 U+0385, not to U+1FEE.
50137
6b13d9d9
BH
50138 [BZ #13062]
50139 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50140 entry for U+00A5 U+0301.
50141
db910efd
UD
501422011-12-22 Ulrich Drepper <drepper@gmail.com>
50143
27deeafc
UD
50144 [BZ #13166]
50145 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50146 buffer for the output is too small.
50147
aed9d171
UD
50148 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50149 optimization.
50150
db910efd
UD
50151 [BZ #13185]
50152 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50153 SSE flags if possible.
50154
2bd779ae
LD
501552011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50156
e7f9dac3 50157 [BZ #13540]
2bd779ae
LD
50158 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50159 processing for last bytes.
50160
154bfc16
JM
501612011-12-22 Joseph Myers <joseph@codesourcery.com>
50162
50163 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50164 (syscall-list-default-options, syscall-list-default-condition)
50165 (syscall-list-includes): Define.
50166 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50167 list of ABIs and options and #if conditions for each ABI. Do not
50168 handle common syscalls between ABIs specially.
50169 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50170 Remove.
50171 (syscall-list-variants, syscall-list-32bit-options)
50172 (syscall-list-32bit-condition, syscall-list-64bit-options)
50173 (syscall-list-64bit-condition): Define.
50174 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50175 (syscall-list-variants, syscall-list-32bit-options)
50176 (syscall-list-32bit-condition, syscall-list-64bit-options)
50177 (syscall-list-64bit-condition): Define.
50178 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50179 Remove.
50180 (syscall-list-variants, syscall-list-32bit-options)
50181 (syscall-list-32bit-condition, syscall-list-64bit-options)
50182 (syscall-list-64bit-condition): Define.
50183 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50184 Remove.
50185 (syscall-list-variants, syscall-list-32bit-options)
50186 (syscall-list-32bit-condition, syscall-list-64bit-options)
50187 (syscall-list-64bit-condition): Define.
50188
21eaf3a5
UD
501892011-12-22 Ulrich Drepper <drepper@gmail.com>
50190
16c6f992
UD
50191 * locale/iso-639.def: Add brx entry.
50192
41043168
UD
50193 [BZ #13328]
50194 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50195 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50196
21eaf3a5
UD
50197 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50198 __feraiseexcept_renamed.
50199
e3a851a2
UD
502002011-12-21 Ulrich Drepper <drepper@gmail.com>
50201
4920765e
UD
50202 [BZ #13538]
50203 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50204 EPOLLET with unsigned values.
50205 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50207
e3a851a2
UD
50208 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50209 to large cancellation.
50210 * math/s_cacoshf.c: Likewise.
50211 * math/s_cacoshl.c: Likewise.
50212
b27e24b8
RK
502132011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50214
50215 [BZ #13305]
aebefeee 50216 [BZ #12786]
b27e24b8
RK
50217 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50218 * math/s_cacoshf.c: Likewise.
50219 * math/s_cacoshl.c: Likewise.
50220
ee190f67
UD
502212011-12-21 Ulrich Drepper <drepper@gmail.com>
50222
50223 [BZ #13439]
50224 * iconv/gconv.h: Define __GCONV_SWAP.
50225 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50226 * iconvdata/utf-16.c: Likewise.
50227 * iconvdata/utf-32.c: Likewise.
50228
707f25df
AS
502292011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50230
50231 [BZ #13524]
50232 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50233 numerator after shifting it by one limb.
50234
d2daaa1e
RÁE
502352011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50236
50237 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50238 under [__USE_EXTERN_INLINES].
50239
a4647e72
UD
502402011-12-17 Ulrich Drepper <drepper@gmail.com>
50241
50242 [BZ #13446]
50243 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50244
f0b264f1
AZ
502452011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50246
50247 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50248 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50249 optimized code.
50250 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50251 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50252 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50253 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50254 for strncasecmp/strncasecmp_l compilation.
50255 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50256 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50257
8ef4f244
MP
502582011-12-08 Marek Polacek <mpolacek@redhat.com>
50259
50260 [BZ #13484]
50261 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50262 of __asm__.
50263
97ac2654
UD
502642011-12-17 Ulrich Drepper <drepper@gmail.com>
50265
50266 [BZ #13506]
50267 * time/tzfile.c (__tzfile_read): Check values from file header.
50268
91d2a845
WS
502692011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50270
50271 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50272 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50273 * powerpc/powerpc32/dl-start.S: Likewise.
50274 * powerpc/powerpc32/elf/start.S: Likewise.
50275 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50276 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50277 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50278 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50279 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50280 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50281 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50282 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50283 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50284 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50285 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50286 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50287 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50288 * powerpc/powerpc32/memset.S: Likewise.
50289 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50290 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50291 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50292 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50293 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50294 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50295 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50296 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50297 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50298 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50299 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50300 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50301 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50302
a1267ba1
AZ
503032011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50304
50305 * math/libm-test.inc: Added more nearbyint tests.
50306 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50307 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50308 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50309 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50310
ad8ac1bd
RL
503112011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50312
50313 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50314 FD_CLOEXEC.
50315
1d3e4b61
UD
503162011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50317
50318 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50319 Add wcscpy-ssse3 wcscpy-c.
50320 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50321 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50322 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50323 * sysdeps/x86_64/wcschr.S: New file.
50324 * sysdeps/x86_64/wcsrchr.S: New file.
50325 * string/test-strcmp.c: Remove checking of wcscmp function for
50326 wrong alignments.
50327 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50328 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50329 wcsrchr-sse2 wcsrchr-c.
50330 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50331 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50332 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50333 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50334 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50335 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50336 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50337 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50338 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50339 * wcsmbc/wcschr.c (WCSCHR): New macro.
50340
5b330a2d
UD
503412011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50342
50343 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50344 * wcsmbs/test-wcsrchr.c: New file.
50345 * string/test-strrchr.c: Add wcsrchr support.
50346 (WIDE): New macro.
50347 * wcsmbs/test-wcscpy.c: New file.
50348 * string/test-strcpy.c: Add wcscpy support.
50349 (WIDE): New macro.
26428b7c 50350
f039c043
UD
503512011-12-10 Ulrich Drepper <drepper@gmail.com>
50352
50353 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50354 the inner loop.
50355
850fb039
AS
503562011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50357
50358 [BZ #13472]
50359 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50360
4efbd5cb
UD
503612011-12-04 Ulrich Drepper <drepper@gmail.com>
50362
52ff5dd0 50363 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50364 Minor optimizations.
52ff5dd0 50365
4efbd5cb
UD
50366 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50367 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50368 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50369
8a426e12
UD
503702011-12-03 Ulrich Drepper <drepper@gmail.com>
50371
aff2453d
UD
50372 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50373 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50374 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50375 for gcc to avoid warnings.
50376 * inet/Makefile (tests): Add tst-checks.
50377 * inet/tst-checks.c: New file.
50378
50379 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50380 warning.
50381
50382 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50383 __wmemcmp_sse2.
50384
50385 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50386 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50387
8a426e12
UD
50388 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50389
9bea3473
UD
503902011-12-02 Ulrich Drepper <drepper@gmail.com>
50391
3a965496
UD
50392 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50393 problem.
50394
9bea3473
UD
50395 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50396
f101631b
UD
503972011-11-29 Joseph Myers <joseph@codesourcery.com>
50398
50399 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50400 conditional on GCC version.
50401 (__arch_compare_and_exchange_val_8_acq)
50402 (__arch_compare_and_exchange_val_16_acq)
50403 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50404 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50405 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50406
a98275aa
UD
504072011-12-02 Joseph Myers <joseph@codesourcery.com>
50408
50409 * sysdeps/sh/backtrace.c: New file.
50410
d4cc29a2
AS
504112011-12-02 Andreas Schwab <schwab@redhat.com>
50412
50413 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50414 parenthesis.
50415
6257af2d
AS
504162011-12-01 Andreas Schwab <schwab@redhat.com>
50417
50418 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50419 falling back to utime.
50420
b5f44c1a
AS
504212011-11-30 Andreas Schwab <schwab@redhat.com>
50422
50423 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50424 expectations for float.
50425
f3a6cc0a
AS
504262011-11-29 Andreas Schwab <schwab@redhat.com>
50427
50428 * locale/weight.h (findidx): Add parameter len.
50429 * locale/weightwc.h (findidx): Likewise.
50430 * posix/fnmatch_loop.c (FCT): Adjust caller.
50431 * posix/regcomp.c (build_equiv_class): Likewise.
50432 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50433 * posix/regexec.c (check_node_accept_bytes): Likewise.
50434 * string/strcoll_l.c (STRCOLL): Likewise.
50435 * string/strxfrm_l.c (STRXFRM): Likewise.
50436
9d65ea3a
UD
504372011-11-17 Ulrich Drepper <drepper@gmail.com>
50438
50439 * Makefile.in: Remove CVSOPT handling.
50440 * configure.in: Remove use of AC_REVISION.
50441 * iconvdata/Makefile (distribute): No need to filter out CVS.
50442 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50443 handling.
50444
5583a086
AS
504452011-11-16 Andreas Schwab <schwab@redhat.com>
50446
50447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50448 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50449 [USE_AS_STRNCASECMP_L]: Likewise.
50450 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50451 NO_TLS_DIRECT_SEG_REFS.
50452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50453 Fix argument offsets for non-PIC.
50454 [USE_AS_STRNCASECMP_L]: Likewise.
50455 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50456 NO_TLS_DIRECT_SEG_REFS.
50457
d62a8200
UD
504582011-11-15 Ulrich Drepper <drepper@gmail.com>
50459
9d65ea3a 50460 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50461 O_CLOEXEC.
50462 * locale/loadlocale.c (_nl_load_locale): Likewise.
50463
09f93bd3
AS
504642011-11-15 Andreas Schwab <schwab@redhat.com>
50465
446514f9
AS
50466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50467 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50468 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50469 (SYSCALL_GETTIME): Set errno on error.
50470
09f93bd3
AS
50471 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50472 count references to noai6ai_cached.
50473
312be3f9
UD
504742011-11-15 Ulrich Drepper <drepper@gmail.com>
50475
50476 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50477
50478 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50479 FD_CLOEXEC for /proc/self/maps.
50480
50481 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50482 FD_CLOEXEC for /proc/meminfo.
50483
50484 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50485 gai.conf.
50486
50487 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50488 FD_CLOEXEC for given file.
50489
50490 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50491
50492 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50493 FD_CLOEXEC for /etc/hosts.
50494 (_gethtent): Likewise.
50495
50496 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50497
50498 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50499 cancellation and set FD_CLOEXEC for /etc/netgroup.
50500
50501 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50502 reading /etc/publickey.
50503
50504 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50505 allow cancellation when reading /etc/group.
50506
50507 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50508 cancellation.
50509 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50510
50511 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50512 when using data file.
50513
50514 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50515
50516 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50517 (write_nis_obj): Use "c" and "e" in fopen.
50518
50519 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50520
50521 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50522
50523 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50524
50525 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50526
50527 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50528 locale.alias.
50529
50530 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50531
50532 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50533
50534 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50535
50536 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50537 file parsing and set FD_CLOEXEC.
50538
82af0fa8
UD
505392011-11-14 Ulrich Drepper <drepper@gmail.com>
50540
50541 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50542
a5fb313c
AS
505432011-11-14 Andreas Schwab <schwab@redhat.com>
50544
50545 * malloc/arena.c (arena_get2): Don't call reused_arena when
50546 _int_new_arena failed.
50547
6abf3465
UD
505482011-11-14 Ulrich Drepper <drepper@gmail.com>
50549
50550 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50551 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50552 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50553 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50555 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50556 to compile strcasecmp and strncasecmp.
50557 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50558 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50559
50560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50561
76e3966e
UD
505622011-11-13 Ulrich Drepper <drepper@gmail.com>
50563
50564 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50565 locale-defines.sym to gen-as-const-headers.
50566 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50567 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50569 to compile strcasecmp and strncasecmp.
50570 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50571 strcasecmp_l and strncasecmp_l.
50572 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50573 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50574 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50575 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50576 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50578 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50579 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50580 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50581 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50582 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50583
ab26144e
UD
505842011-11-12 Ulrich Drepper <drepper@gmail.com>
50585
7edb22ef
UD
50586 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50587 result of SYSDEP_GETTIME_CPU to retval.
50588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50589 parameter list to macro. Remove trailing semicolon. Adjust users.
50590
9694fc44
UD
50591 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50592 variable.
50593
8ad89ef8
UD
50594 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50595 mantissa words.
50596 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50597
0c822ef9
UD
50598 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50599 from unused variable.
50600
874e0564
UD
50601 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50602 DWARF definitions.
50603 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50604 for assembling.
50605
3a2edc79
UD
50606 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50607 over namespaces.
50608
f3c2577f
UD
50609 * sunrpc/rpc_prot.c (rejected): Fix case value.
50610
294ce126
UD
50611 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50612 unsigned long long int to avoid warnings in shift.
50613
5e2b63c6
UD
50614 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50615 of use of trans.
50616 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50617 variable tmp.
50618
e7f4b08e
UD
50619 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50620 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50621 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50622
ab26144e
UD
50623 * nis/nis_table.c (nis_list): Use variable of correct type for
50624 result of __follow_path call.
50625
8a6d5255
AZ
506262011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50627
50628 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50629 of math functions ceil, trunc, floor, round, and sqrt, when
50630 avaliable on the platform.
50631 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50632 name clash.
50633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50636
aaddc98c
MP
506372011-10-30 Marek Polacek <mpolacek@redhat.com>
50638
50639 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50640 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50641
95b7042b
RM
506422011-11-11 Roland McGrath <roland@hack.frob.com>
50643
50644 * include/unistd.h: Fix __readlink return type.
50645 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50646
57769839
UD
506472011-11-11 Ulrich Drepper <drepper@gmail.com>
50648
50649 * stdlib/ucontext.h: Undo last change for makecontext.
50650
edc5984d
AS
506512011-11-11 Andreas Schwab <schwab@redhat.com>
50652
98591e58
AS
50653 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50654
edc5984d
AS
50655 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50656 * setjmp/setjmp.h: Mark functions as non-leaf.
50657 * setjmp/bits/setjmp2.h: Likewise.
50658 * stdlib/ucontext.h: Likewise.
50659
77cdc054
AS
506602011-11-10 Andreas Schwab <schwab@redhat.com>
50661
50662 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50663 (reused_arena): Don't check arena limit.
50664 (arena_get2): Atomically check arena limit.
50665
fe72eebd
UD
506662011-11-08 Ulrich Drepper <drepper@gmail.com>
50667
5f078c32
UD
50668 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50669 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50670
fe72eebd
UD
50671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50672 instructions.
50673
ae1bc2fa
AS
506742011-11-07 Andreas Schwab <schwab@redhat.com>
50675
7583a88d
AS
50676 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50677 handler when locking.
50678
ae1bc2fa
AS
50679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50680 Fix size of allocated buffer.
50681
10fb0bfa
AS
506822011-11-04 Andreas Schwab <schwab@redhat.com>
50683
998832a4
AS
50684 [BZ #10103]
50685 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50686 declarations for long double functions.
50687 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50688
10fb0bfa
AS
50689 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50690
3d7ba52b
AS
506912011-11-03 Andreas Schwab <schwab@redhat.com>
50692
a9ae54a1
AS
50693 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50694 installed.
50695
3d7ba52b
AS
50696 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50697 is disabled.
50698
bc8db248
ST
506992011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50700
50701 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50702
45b96dd6
AS
507032011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50704
647776f6
AS
50705 * include/alloca.h (stackinfo_alloca_round): Define.
50706 (extend_alloca): Use it.
50707 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50708 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50709 here.
50710
d91a8b93
AS
50711 * scripts/check-local-headers.sh: Ignore libaudit.h.
50712
45b96dd6
AS
50713 * nscd/Makefile (extra-objs): Make recursively expanded.
50714
432d41ce
UD
507152011-11-01 Ulrich Drepper <drepper@gmail.com>
50716
34372fc6
UD
50717 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50719
fadb59f8
UD
50720 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50721 * posix/tst-rfc3484-2.c: Likewise.
50722 * posix/tst-rfc3484-3.c: Likewise.
50723
78239589
UD
50724 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50725 process_vm_writev.
50726 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50727 process_vm_writev.
50728 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50729 process_vm_writev from libc using GLIBC_2.15 version.
50730
432d41ce
UD
50731 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50732
02f9c6cf
PP
507332011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50734
50735 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50736 stack usage.
50737
3a2c0242
UD
507382011-10-31 Ulrich Drepper <drepper@gmail.com>
50739
f4ec4833
UD
50740 [BZ #13367]
50741 * nss/getent.c (initgroups_keys): Show error message in case no group
50742 names are given.
50743
3a2c0242
UD
50744 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50745 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50746 __bump_nl_timestamp.
50747 * nscd/connections (nscd_init): When host database is served open
50748 netlink socket and request notification about configuration changes.
50749 (main_loop_poll): Track netlink file descriptor and bump timestamp
50750 in case data becomes available.
50751 (main_loop_epoll): Likewise.
50752 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50753 (database_pers_head): Add extra_data fileds.
50754 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50755 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50756 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50757 Adjust caller.
50758 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50759 in6ai data, call __free_in6ai.
50760 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50761 Add -DHAVE_NETLINK.
50762 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50763 interface information. Reuse previous data if netlink timestamp
50764 is not changed.
50765 (__bump_nl_timestamp): New function.
50766 (__free_in6ai): New function.
50767
636064eb
UD
507682011-10-30 Ulrich Drepper <drepper@gmail.com>
50769
50770 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50771 close_not_cancel_no_status here.
50772 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50773
9beb2334
UD
507742011-10-29 Ulrich Drepper <drepper@gmail.com>
50775
6ef76f3b
UD
50776 [BZ #13276]
50777 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50778 return value.
50779
0ffc4f3e 50780 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50781 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50782 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50783
cb95113e
UD
507842011-07-03 Andreas Jaeger <aj@suse.de>
50785
50786 [BZ #10709]
50787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50788 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50789 * math/libm-test.inc (sin_test): Add test case.
50790
a1b560ff
UD
507912011-10-29 Ulrich Drepper <drepper@gmail.com>
50792
c9aaface
UD
50793 [BZ #13337]
50794 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50795 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50796
d272e7f1
UD
50797 * elf/chroot_canon.c (chroot_canon): Cleanups.
50798
1bc33071
UD
50799 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50800
1760874d
TJ
50801 [BZ #13335]
50802 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50803 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50804
51d91b18
UD
50805 * string/test-strchr.c: Make usable for strchrnul testing.
50806 * string/test-strchrnul.c: New file.
50807 * string/Makefile (strop-tests): Add strchrnul.
50808
a1b560ff 50809 * po/it.po: Update from translation team.
b611fb81 50810 * po/es.po: Likewise.
a1b560ff 50811
a5b81e1f
UD
508122011-10-28 Ulrich Drepper <drepper@gmail.com>
50813
fd52bc6d
UD
50814 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50815 the three constants needed as parameters. Drop the others.
50816 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50817 __m128i_strloadu_tolower.
52e4b9eb
UD
50818 Create and initialize variable zero and use it in all the places
50819 where _mm_setzero_si128 was used.
fd52bc6d 50820
a5b81e1f
UD
50821 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50822 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50823 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50824 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50825 anymore.
50826 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50827 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50828 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50829 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50830 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50831 __mpranred, __mptan.
50832 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50833 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50834 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50835 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50836 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50837 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50839 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50840 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50841
b4343346
AS
508422011-10-28 Andreas Schwab <schwab@redhat.com>
50843
0c92d8a8
AS
50844 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50845 redefine if SHARED.
50846 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50847
b4343346
AS
50848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50849 wide char related routines to wcsmbs subdir.
50850
3871f58f
AS
508512011-10-27 Andreas Schwab <schwab@redhat.com>
50852
50853 [BZ #13344]
50854 * misc/sys/cdefs.h (__THROWNL): Define.
50855 * posix/unistd.h: Use __THREADNL instead of __THREAD
50856 for memory synchronization functions.
50857
94d44d9f
RM
508582011-10-26 Roland McGrath <roland@hack.frob.com>
50859
21b64b15 50860 [BZ #13349]
94d44d9f
RM
50861 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50862 doesn't exist.
50863 * manual/stdio.texi (Obstack Streams): Node removed.
50864
f6ce9294
AS
508652011-10-26 Andreas Schwab <schwab@redhat.com>
50866
80479147
AS
50867 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50868 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50869 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50870
f6ce9294
AS
50871 * math/math_private.h (math_force_eval): Allow non-addressable
50872 arguments.
50873 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50874
618280a1
UD
508752011-10-25 Ulrich Drepper <drepper@gmail.com>
50876
e0016b11
UD
50877 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50878 file is not needed.
50879
50880 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50881 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50883 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50884 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50885 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50887 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50888 Add AVX variants.
50889 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50890 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50891 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50892 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50893 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50894 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50895 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50897 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50898 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50899 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50900 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50901 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50902 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50903 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50904 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50905 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50906 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50907 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50908
50909 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50910 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50911
618280a1
UD
50912 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50913 place. Use VEX encoding when compiling for AVX.
50914
37822576
AS
509152011-10-25 Andreas Schwab <schwab@redhat.com>
50916
1f1e1947
AS
50917 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50918 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50919
37822576
AS
50920 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50921
31ea014d
UD
509222011-10-25 Ulrich Drepper <drepper@gmail.com>
50923
d7826aa1 50924 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50925 useless if() expression.
d7826aa1
UD
50926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50927 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50928 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50929 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50931 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50932 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50933 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50934 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50935 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50936 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50938 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50939 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50941 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50942 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50943 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50944 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50945
31ea014d
UD
50946 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50947
16437fec
AS
509482011-10-25 Andreas Schwab <schwab@redhat.com>
50949
50950 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50951 condition.
50952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50953
31d3cc00
UD
509542011-10-25 Ulrich Drepper <drepper@gmail.com>
50955
50956 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50957 .text section. Avoid duplicate constants.
50958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50968 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50969 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50972 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50974 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50975 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50981 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50982 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50983 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50984 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50985 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50986 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50987 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50988 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50989 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50990 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50991 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50992 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50993 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50994 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50995 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50996 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50997 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50999 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51000 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51001 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51002 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51003
58985aa9
UD
510042011-10-24 Ulrich Drepper <drepper@gmail.com>
51005
202c9deb
UD
51006 * sysdeps/x86_64/dla.h: Move to ...
51007 * sysdeps/x86_64/fpu/dla.h: ...here.
51008 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51009 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51010
af968f62
UD
51011 * config.make.in: Add have-mfma4 entry.
51012 * configure.in: Substitute libc_cv_cc_fma4.
51013 * math/Makefile (dbl-only-routines): Add sincostab.
51014 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51015 Use __sincostab not sincos.
51016 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51017 name is a macro.
51018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51022 using __copysign.
51023 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51024 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51025 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51026 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51027 and __inv.
51028 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51029 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51030 __copysign.
51031 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51032 define aliases when function name is a macro.
51033 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51034 sysdeps/ieee754/dbl-64/sincos.tbl.
51035 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51036 fma4-enabled routines.
51037 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51038 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51039 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51040 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51041 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51042 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51043 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51044 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51045 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51046 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51047 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51048 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51049 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51050 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51051 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51052 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51053 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51054 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51055 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51057 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51058 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51059 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51060 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51062 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51063 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51064 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51065 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51066 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51067
58985aa9
UD
51068 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51069 rename.
51070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51071 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51074 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51078
a201fbcf
AS
510792011-10-24 Andreas Schwab <schwab@redhat.com>
51080
51081 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51082
fc2ee42a
LD
510832011-10-23 Ulrich Drepper <drepper@gmail.com>
51084
bb3129bd
UD
51085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51086
0275fff8
UD
51087 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51088 prediction.
51089 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51090
2fa2ae85
UD
51091 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51092 Remove unused variable magic_bits.
51093 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51094
fc2ee42a
LD
51095 * string/strnlen.c: Define and use STRNLEN macro.
51096 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51097 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51099 * wcsmbs/wcslen.c: Define and use WCSLEN.
51100 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51101 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51102 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51103 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51104 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51105 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51106 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51107
ce7dd29f
LD
511082011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51109
51110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51111 strnlen-sse2-no-bsf.
51112 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51114 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51115 Add strnlen support.
51116 (USE_AS_STRNLEN): New macro.
51117 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51118 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51119 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51120 * sysdeps/x86_64/wcslen.S: New file.
51121
979c70a3
MZ
511222011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51123
51124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51125 XMM-moves are used for copying on small sizes.
51126
2d09f82f
LD
511272011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51128
51129 * wcsmbs/Makefile (strop-tests): Add wcschr.
51130 * wcsmbs/test-wcschr.c: New file.
51131 * string/test-strchr.c: Update.
51132 Add wcschr support.
51133 (WIDE): New macro.
51134
619fccca
LD
511352011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51136
2d09f82f 51137 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51138 * wcsmbs/test-wcslen.c: New file.
51139 * string/test-strlen.c: Update.
51140 Add wcslen support.
51141 (WIDE): New macro.
51142
09f699ea
UD
511432011-10-23 Ulrich Drepper <drepper@gmail.com>
51144
51145 * po/it.po: Update from translation team.
51146
95584d3b
LD
511472011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51148
51149 * sysdeps/x86_64/wcscmp.S: Update.
51150 Fix wrong comparison semantics.
51151 wcscmp shall use signed comparison not unsigned.
51152 Don't use substraction to avoid overflow bug.
51153 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51154 * wcsmbc/wcscmp.c: Likewise.
51155 * string/test-strcmp.c: Likewise.
51156 Add new tests to check cases with negative values.
51157
c8b3296b
UD
511582011-10-23 Ulrich Drepper <drepper@gmail.com>
51159
51160 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51161 * sysdeps/x86_64/dla.h: ...here. New file.
51162 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51165 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51166 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51169 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51171
246ad57a
AS
511722011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51173
51174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51175 __ynl_finite aliases.
51176
a1a87169
UD
511772011-10-22 Ulrich Drepper <drepper@gmail.com>
51178
0d355eb7
UD
51179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51180
a1a87169
UD
51181 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51182 define DLA_FMA.
51183 [DLA_FMA] (EMULV): Use DLA_FMA.
51184 [DLA_FMA] (MUL12): Use EMULV.
51185 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51186 that are not needed.
51187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51190 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51192 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51194
ee2aafe0
AS
511952011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51196
51197 * math/s_nan.c: Undef __nan.
51198 * math/s_nanf.c: Undef __nanf.
51199 * math/s_nanl.c: Undef __nanl.
51200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51201 "math_private.h".
51202
bc62c2fb
UD
512032011-10-22 Ulrich Drepper <drepper@gmail.com>
51204
77425c63
UD
51205 * math/s_catan.c: Add branch predictions.
51206 * math/s_catanf.c: Likewise.
51207 * math/s_catanh.c: Likewise.
51208 * math/s_catanhf.c: Likewise.
51209 * math/s_catanhl.c: Likewise.
51210 * math/s_catanl.c: Likewise.
51211 * math/s_cexp.c: Likewise.
51212 * math/s_cexpf.c: Likewise.
51213 * math/s_cexpl.c: Likewise.
51214 * math/s_clog.c: Likewise.
51215 * math/s_clog10.c: Likewise.
51216 * math/s_clog10f.c: Likewise.
51217 * math/s_clog10l.c: Likewise.
51218 * math/s_clogf.c: Likewise.
51219 * math/s_clogl.c: Likewise.
51220 * math/s_csqrt.c: Likewise.
51221 * math/s_csqrtf.c: Likewise.
51222 * math/s_csqrtl.c: Likewise.
51223 * math/s_ctanf.c: Likewise.
51224 * math/s_ctanh.c: Likewise.
51225 * math/s_ctanhf.c: Likewise.
51226 * math/s_ctanhl.c: Likewise.
51227 * math/s_ctanl.c: Likewise.
51228
bc62c2fb
UD
51229 * math/math_private.h: Define __nan, __nanf, __nanl.
51230 * math/s_cacosh.c: Include <math_private.h>.
51231 * math/s_cacoshl.c: Likewise.
51232 * math/s_casinh.c: Likewise.
51233 * math/s_casinhf.c: Likewise.
51234 * math/s_casinhl.c: Likewise.
51235 * math/s_ccos.c: Rely entire on ccosh.
51236 * math/s_ccosf.c: Rely entire on ccoshf.
51237 * math/s_ccosl.c: Rely entirely on ccoshl.
51238 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51239 Remove tests for FE_INVALID.
51240 * math/s_ccoshf.c: Likewise.
51241 * math/s_ccoshl.c: Likewise.
51242 * math/s_csin.c: Likewise.
51243 * math/s_csinf.c: Likewise.
51244 * math/s_csinh.c Likewise.
51245 * math/s_csinhf.c: Likewise.
51246 * math/s_csinhl.c: Likewise.
51247 * math/s_csinl.c: Likewise.
51248 * math/s_ctan.c: Likewise.
51249 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51250 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51252
8ec250a4
UD
512532011-10-21 Ulrich Drepper <drepper@gmail.com>
51254
c196fed8
UD
51255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51256 compilation problems.
51257
8ec250a4
UD
51258 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51259 __builtin_expect.
51260
8d4f46c6
UD
512612011-10-20 Ulrich Drepper <drepper@gmail.com>
51262
ed72b654
UD
51263 * sysdeps/i386/configure.in: Test for -mfma4 option.
51264 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51265 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51266 COMMON_CPUID_INDEX_80000001.
51267 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51268 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51269 use it if FMA3 is not supported.
51270 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51271
8d4f46c6
UD
51272 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51273 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51274
d45c60c2
AS
512752011-10-20 Andreas Schwab <schwab@redhat.com>
51276
51277 [BZ #12892]
51278 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51279 it would create a cycle with a link time dependency.
51280
d9a4d2ab
UD
512812011-10-19 Ulrich Drepper <drepper@gmail.com>
51282
855d1560
UD
51283 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51284 instruction.
51285 * string/Makefile (strop-tests): Add rawmemchr.
51286 * string/test-rawmemchr.c: New file.
51287
d9a4d2ab
UD
51288 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51289 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51290 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51291 when compiling str{,n}casecmp and when AVX is available. Hook up
51292 new optimized code in initializers.
51293
8f3b1ffe
AS
512942011-10-19 Andreas Schwab <schwab@redhat.com>
51295
51296 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51297 __feraiseexcept instead of feraiseexcept.
51298
d38f1dba
UD
512992011-10-18 Ulrich Drepper <drepper@gmail.com>
51300
d9a8d0ab
UD
51301 * math/math_private.h: Define defaults for libc_fetestexcept and
51302 libc_feupdateenv.
51303 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51304 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51305 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51306 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51307 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51308 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51309 libc_fetestexcept and libc_feupdateenv.
51310
4855e3dd
UD
51311 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51312 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51313 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51314 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51315 libc_feholdexcept_setround.
51316
581d30e3
UD
51317 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51318 Add s_nearbyint-c and s_nearbyintf-c.
51319 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51320 nearbyintf inlines.
51321 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51322 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51323 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51324 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51325
d38f1dba
UD
51326 * math/math_private.h: Define defaults for libc_fegetround,
51327 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51328 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51329 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51331 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51332 standard functions.
51333 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51334 Remove comments and hacks for old compiler versions.
51335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51336 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51337 libc_feholdexceptl.
51338
caa6c9d8
AS
513392011-10-18 Andreas Schwab <schwab@redhat.com>
51340
51341 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51342 (__feraiseexcept_renamed): Add __NTH.
51343 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51344 namespace violations.
51345
97c066e6
UD
513462011-10-17 Ulrich Drepper <drepper@gmail.com>
51347
99ce7b04
UD
51348 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51349
1004d182
UD
51350 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51351
228a984d
UD
51352 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51353 recently added interfaces.
51354 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51355
c8553a6a
UD
51356 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51357 about macro parameter expansion.
51358
ed22dcf6
UD
51359 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51360 __NO_MATH_INLINES is defined. Cleanups.
51361
51362 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51363 and __floorf is target has SSE4.1.
51364 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51365 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51366 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51367 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51368
b171c137
UD
51369 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51370 name.
51371 (floorf): Likewise.
51372
97c066e6
UD
51373 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51374
629f62ef
AS
513752011-10-17 Andreas Schwab <schwab@redhat.com>
51376
49a43d80
AS
51377 * misc/sys/cdefs.h: Fix last change.
51378
629f62ef
AS
51379 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51380 database lookup.
51381
e453f6cd
UD
513822011-10-16 Ulrich Drepper <drepper@gmail.com>
51383
aa78043a
UD
51384 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51385
ad0f5cad
UD
51386 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51388 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51389 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51391 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51393 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51394 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51395 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51396 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51397 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51398 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51399 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51400 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51401 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51402 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51403 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51404 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51405 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51406 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51407 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51408
51409 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51410 ceil, ceilf, floor, floorf.
51411
51412 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51413 Perform IRELATIVE relocations last.
51414
e453f6cd
UD
51415 * elf/do-rel.h: Add another parameter nrelative, replacing the
51416 local variable with the same name. Change name of the function
51417 to end in Rel or Rela (uppercase).
51418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51419 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51420 elf_dynamic_do_##reloc function.
51421
fd5bdc09
UD
514222011-10-15 Ulrich Drepper <drepper@gmail.com>
51423
79b195b5
UD
51424 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51425 is sufficient, at least on modern CPUs.
51426
d4a28569
UD
51427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51428
b61099b5
UD
51429 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51430 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51431
bcf01e6d
UD
51432 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51433 __expl_finite.
51434 * math/bits/math-finite.h: Add entries for exp.
51435 * math/e_expl.c: Add __*_finite alias.
51436 * sysdeps/i386/fpu/e_exp.S: Likewise.
51437 * sysdeps/i386/fpu/e_expf.S: Likewise.
51438 * sysdeps/i386/fpu/e_expl.c: Likewise.
51439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51440 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51441 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51443 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51444 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51445 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51446
ba1a0d59
UD
51447 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51448 is sufficient, at least on modern CPUs.
51449
fd5bdc09
UD
51450 * ctype/ctype-info.c (__ctype_init): Define.
51451 * include/ctype.h (__ctype_init): Declare.
51452 (__ctype_b_loc): The variable is always initialized.
51453 (__ctype_toupper_loc): Likewise.
51454 (__ctype_tolower_loc): Likewise.
51455 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51456 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51457
7872cfb0
AS
514582011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51459
b468825a
AS
51460 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51461
7872cfb0
AS
51462 * configure.in: Also look in $cxxmachine/include for C++ system
51463 headers.
51464
be13f7bf
LD
514652011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51466
51467 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51468 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51469 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51470 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51471 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51472 (USE_AS_WMEMCMP): New macro.
51473 Fixing indents.
51474 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51475 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51476 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51477 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51478 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51479 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51480 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51481 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51482 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51483 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51484 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51485 (USE_AS_WMEMCMP): New macro.
51486 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51487 * sysdeps/string/test-memcmp.c: Update.
51488 Fix simple_wmemcmp.
51489 Add new tests.
51490 * wcsmbs/wmemcmp.c: Update.
51491 (WMEMCMP): New macro.
51492 Fix overflow bug.
51493
556a2007
AJ
514942011-10-12 Andreas Jaeger <aj@suse.de>
51495
51496 [BZ #13268]
51497 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51498
538faaa7
UD
514992011-10-15 Ulrich Drepper <drepper@gmail.com>
51500
ab6737ff
UD
51501 * libio/iofwide.c (do_length): Avoid warning.
51502
538faaa7
UD
51503 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51504
396a21b1
UD
515052011-10-14 Ulrich Drepper <drepper@gmail.com>
51506
cdf2901f
UD
51507 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51508
38ad40ce
UD
51509 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51510 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51511 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51512 * sysdeps/i386/i686/fpu/e_log.S: New file.
51513 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51514 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51515
396a21b1
UD
51516 * ctype/ctype.h: Add support for inlined isXXX functions when
51517 compiling C++ code.
51518
6b1f68c9
AS
515192011-10-14 Andreas Schwab <schwab@redhat.com>
51520
349290c0
AS
51521 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51522
6b1f68c9
AS
51523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51524
f2282d42
RM
515252011-10-13 Roland McGrath <roland@hack.frob.com>
51526
51527 [BZ #13291]
51528 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51529
5298ffa8
AS
515302011-10-13 Andreas Schwab <schwab@redhat.com>
51531
714fad23
AS
51532 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51533 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51534 feraiseexcept.
51535
81dcc7fb
AS
51536 * sysdeps/x86_64/memrchr.S: Check for zero size.
51537
5298ffa8
AS
51538 * string/stratcliff.c: Add memrchr tests.
51539
951fbcec
LD
515402011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51541
51542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51543 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51544 rawmemchr-sse2 rawmemchr-sse2-bsf.
51545 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51546 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51547 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51548 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51549 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51550 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51551 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51552 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51553 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51554 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51555 * string/memrchr.c (MEMRCHR): New macro.
51556
0ac5ae23
UD
515572011-10-12 Ulrich Drepper <drepper@gmail.com>
51558
51559 Add integration with gcc's -ffinite-math-only and optimize wrapper
51560 functions in libm.
51561 * Versions.def: Define GLIBC_2.15 version for libm.
51562 * math/Makefile (headers): Add bits/math-finite.h.
51563 * math/bits/math-finite.h: New file.
51564 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51565 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51566 * math/e_acoshl.c: Add __*_finite alias.
51567 * math/e_acosl.c: Likewise.
51568 * math/e_asinl.c: Likewise.
51569 * math/e_atan2l.c: Likewise.
51570 * math/e_atanhl.c: Likewise.
51571 * math/e_coshl.c: Likewise.
51572 * math/e_exp10.c: Likewise.
51573 * math/e_exp10f.c: Likewise.
51574 * math/e_exp10l.c: Likewise.
51575 * math/e_exp2l.c: Likewise.
51576 * math/e_fmodl.c: Likewise.
51577 * math/e_gammal_r.c: Likewise.
51578 * math/e_hypotl.c: Likewise.
51579 * math/e_j0l.c: Likewise.
51580 * math/e_j1l.c: Likewise.
51581 * math/e_jnl.c: Likewise.
51582 * math/e_lgammal_r.c: Likewise.
51583 * math/e_log10l.c: Likewise.
51584 * math/e_log2l.c: Likewise.
51585 * math/e_logl.c: Likewise.
51586 * math/e_powl.c: Likewise.
51587 * math/e_sinhl.c: Likewise.
51588 * math/e_sqrtl.c: Likewise.
51589 * math/e_scalb.c: Completely rewritten and optimized.
51590 * math/e_scalbf.c: Likewise.
51591 * math/e_scalbl.c: Likewise.
51592 * math/w_acos.c: Likewise.
51593 * math/w_acosf.c: Likewise.
51594 * math/w_acosl.c: Likewise.
51595 * math/w_acosh.c: Likewise.
51596 * math/w_acoshf.c: Likewise.
51597 * math/w_acoshl.c: Likewise.
51598 * math/w_asin.c: Likewise.
51599 * math/w_asinf.c: Likewise.
51600 * math/w_asinl.c: Likewise.
51601 * math/w_atan2.c: Likewise.
51602 * math/w_atan2f.c: Likewise.
51603 * math/w_atan2l.c: Likewise.
51604 * math/w_atanh.c: Likewise.
51605 * math/w_atanhf.c: Likewise.
51606 * math/w_atanhl.c: Likewise.
51607 * math/w_exp10.c: Likewise.
51608 * math/w_exp10f.c: Likewise.
51609 * math/w_exp10l.c: Likewise.
51610 * math/w_fmod.c: Likewise.
51611 * math/w_fmodf.c: Likewise.
51612 * math/w_fmodl.c: Likewise.
51613 * math/w_j0.c: Likewise.
51614 * math/w_j0f.c: Likewise.
51615 * math/w_j0l.c: Likewise.
51616 * math/w_j1.c: Likewise.
51617 * math/w_j1f.c: Likewise.
51618 * math/w_j1l.c: Likewise.
51619 * math/w_jn.c: Likewise.
51620 * math/w_jnf.c: Likewise.
51621 * math/w_log.c: Likewise.
51622 * math/w_logf.c: Likewise.
51623 * math/w_logl.c: Likewise.
51624 * math/w_log10.c: Likewise.
51625 * math/w_log10f.c: Likewise.
51626 * math/w_log10l.c: Likewise.
51627 * math/w_log2.c: Likewise.
51628 * math/w_log2f.c: Likewise.
51629 * math/w_log2l.c: Likewise.
51630 * math/w_pow.c: Likewise.
51631 * math/w_powf.c: Likewise.
51632 * math/w_powl.c: Likewise.
51633 * math/w_remainder.c: Likewise.
51634 * math/w_remainderf.c: Likewise.
51635 * math/w_remainderl.c: Likewise.
51636 * math/w_scalb.c: Likewise.
51637 * math/w_scalbf.c: Likewise.
51638 * math/w_scalbl.c: Likewise.
51639 * math/w_sqrt.c: Likewise.
51640 * math/w_sqrtf.c: Likewise.
51641 * math/w_sqrtl.c: Likewise.
51642 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51643 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51644 used.
51645 * math/math_private.h: Declare __kernel_standard_f.
51646 * math/w_cosh.c: Remove cruft and optimize a bit.
51647 * math/w_coshf.c: Likewise.
51648 * math/w_coshl.c: Likewise.
51649 * math/w_exp2.c: Likewise.
51650 * math/w_exp2f.c: Likewise.
51651 * math/w_exp2l.c: Likewise.
51652 * math/w_hypot.c: Likewise.
51653 * math/w_hypotf.c: Likewise.
51654 * math/w_hypotl.c: Likewise.
51655 * math/w_lgamma.c: Likewise.
51656 * math/w_lgamma_r.c: Likewise.
51657 * math/w_lgammaf.c: Likewise.
51658 * math/w_lgammaf_r.c: Likewise.
51659 * math/w_lgammal.c: Likewise.
51660 * math/w_lgammal_r.c: Likewise.
51661 * math/w_sinh.c: Likewise.
51662 * math/w_sinhf.c: Likewise.
51663 * math/w_sinhl.c: Likewise.
51664 * math/w_tgamma.c: Likewise.
51665 * math/w_tgammaf.c: Likewise.
51666 * math/w_tgammal.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51669 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51670 Minor optimizations. Pretty printing. Remove cruft.
51671 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51672 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51673 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51674 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51675 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51676 * sysdeps/i386/fpu/e_asin.S: Likewise.
51677 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51678 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51679 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51680 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51683 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51684 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51685 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51686 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51687 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51688 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51689 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51690 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51691 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51692 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51693 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51694 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51695 * sysdeps/i386/fpu/e_log.S: Likewise.
51696 * sysdeps/i386/fpu/e_log10.S: Likewise.
51697 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51699 * sysdeps/i386/fpu/e_log2.S: Likewise.
51700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51702 * sysdeps/i386/fpu/e_logf.S: Likewise.
51703 * sysdeps/i386/fpu/e_logl.S: Likewise.
51704 * sysdeps/i386/fpu/e_pow.S: Likewise.
51705 * sysdeps/i386/fpu/e_powf.S: Likewise.
51706 * sysdeps/i386/fpu/e_powl.S: Likewise.
51707 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51708 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51709 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51710 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51711 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51713 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51714 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51715 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51716 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51719 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51720 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51721 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51722 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51723 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51726 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51727 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51728 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51733 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51736 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51737 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51740 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51741 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51742 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51743 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51744 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51745 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51746 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51747 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51750 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51751 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51752 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51753 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51754 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51755 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51756 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51757 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51758 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51759 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51761 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51762 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51763 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51764 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51765 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51766 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51767 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51768 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51769 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51771 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51772 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51773 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51774 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51775 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51776 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51777 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51784 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51790 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51791 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51793 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51794 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51795 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51796 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51797 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51798 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51809 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51810 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51811 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51812 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51813 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51814 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51815 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51816 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51817 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51818 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51819 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51820 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51821 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51822 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51823 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51824 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51825 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51826 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51827 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51828 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51829 (__isnanf): Likewise.
51830 (__isinf_ns): Likewise.
51831 (__isinf_nsf): Likewise.
51832 (__finite): Likewise.
51833 (__finitef): Likewise.
51834 (__ieee754_sqrt): Define as macro.
51835 (__ieee754_sqrtf): Define as macro.
51836 (__ieee754_sqrtl): Define as macro.
51837 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51838 inlined copy.
51839 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51840 __FINITE_MATH_ONLY__ consistent.
51841 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51842
12cc2fcd
AS
518432011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51844
a843a204
AS
51845 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51846 of rawmemchr.
51847
12cc2fcd
AS
51848 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51849
c853acd5
UD
518502011-10-09 Ulrich Drepper <drepper@gmail.com>
51851
51852 * po/ja.po: Update from translation team.
51853
c658d255
RM
518542011-10-08 Roland McGrath <roland@hack.frob.com>
51855
110946e4
RM
51856 * locale/programs/locarchive.c (prepare_address_space): New function.
51857 (create_archive, enlarge_archive, open_archive): Use it.
51858
50604220
RM
51859 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51860 inside [SHARED], where it is used.
51861
c658d255
RM
51862 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51863
51864 * nss/getent.c (netgroup_keys): Remove unused variable.
51865 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51866
6a621eb7
UD
518672011-10-08 Ulrich Drepper <drepper@gmail.com>
51868
7edb55ce
UD
51869 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51870 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51872 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51873 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51874 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51875 * math/Makefile (libm-calls): Add s_isinf_ns.
51876 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51877 * math/multc3.c: Likewise.
51878 * math/s_casin.c: Likewise.
51879 * math/s_casinf.c: Likewise.
51880 * math/s_casinl.c: Likewise.
51881 * math/s_ccos.c: Likewise.
51882 * math/s_ccosf.c: Likewise.
51883 * math/s_ccosl.c: Likewise.
51884 * math/s_ctan.c: Likewise.
51885 * math/s_ctanf.c: Likewise.
51886 * math/s_ctanh.c: Likewise.
51887 * math/s_ctanhf.c: Likewise.
51888 * math/s_ctanhl.c: Likewise.
51889 * math/s_ctanl.c: Likewise.
51890 * math/w_fmod.c: Likewise.
51891 * math/w_fmodf.c: Likewise.
51892 * math/w_fmodl.c: Likewise.
51893 * math/w_remainder.c: Likewise.
51894 * math/w_remainderf.c: Likewise.
51895 * math/w_remainderl.c: Likewise.
51896 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51897 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51898 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51900 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51901 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51902 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51903 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51904
187da0ae
UD
51905 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51906 of the number.
51907 * stdio-common/printf_fphex.c: Likewise.
51908 * stdio-common/printf_size.c: Likewise.
51909
9277c064
UD
51910 * math/e_exp10.c: Include math_private.h using <...> not "...".
51911 * math/e_exp10f.c: Likewise.
51912 * math/e_exp10l.c: Likewise.
51913 * math/e_exp2l.c: Likewise.
51914 * math/e_j0l.c: Likewise.
51915 * math/e_j1l.c: Likewise.
51916 * math/e_jnl.c: Likewise.
51917 * math/e_lgammal_r.c: Likewise.
51918 * math/e_rem_pio2l.c: Likewise.
51919 * math/e_scalb.c: Likewise.
51920 * math/e_scalbf.c: Likewise.
51921 * math/e_scalbl.c: Likewise.
51922 * math/k_cosl.c: Likewise.
51923 * math/k_sinl.c: Likewise.
51924 * math/k_tanl.c: Likewise.
51925 * math/s_cacoshf.c: Likewise.
51926 * math/s_catan.c: Likewise.
51927 * math/s_catanf.c: Likewise.
51928 * math/s_catanh.c: Likewise.
51929 * math/s_catanhf.c: Likewise.
51930 * math/s_catanhl.c: Likewise.
51931 * math/s_catanl.c: Likewise.
51932 * math/s_ccosh.c: Likewise.
51933 * math/s_ccoshf.c: Likewise.
51934 * math/s_ccoshl.c: Likewise.
51935 * math/s_cexp.c: Likewise.
51936 * math/s_cexpf.c: Likewise.
51937 * math/s_cexpl.c: Likewise.
51938 * math/s_clog.c: Likewise.
51939 * math/s_clog10.c: Likewise.
51940 * math/s_clog10f.c: Likewise.
51941 * math/s_clog10l.c: Likewise.
51942 * math/s_clogf.c: Likewise.
51943 * math/s_clogl.c: Likewise.
51944 * math/s_csin.c: Likewise.
51945 * math/s_csinf.c: Likewise.
51946 * math/s_csinh.c: Likewise.
51947 * math/s_csinhf.c: Likewise.
51948 * math/s_csinhl.c: Likewise.
51949 * math/s_csinl.c: Likewise.
51950 * math/s_csqrt.c: Likewise.
51951 * math/s_csqrtf.c: Likewise.
51952 * math/s_csqrtl.c: Likewise.
51953 * math/s_ctan.c: Likewise.
51954 * math/s_ctanf.c: Likewise.
51955 * math/s_ctanh.c: Likewise.
51956 * math/s_ctanhf.c: Likewise.
51957 * math/s_ctanhl.c: Likewise.
51958 * math/s_ctanl.c: Likewise.
51959 * math/s_ldexp.c: Likewise.
51960 * math/s_ldexpf.c: Likewise.
51961 * math/s_ldexpl.c: Likewise.
51962 * math/s_significand.c: Likewise.
51963 * math/s_significandf.c: Likewise.
51964 * math/s_significandl.c: Likewise.
51965 * math/w_acos.c: Likewise.
51966 * math/w_acosf.c: Likewise.
51967 * math/w_acosh.c: Likewise.
51968 * math/w_acoshf.c: Likewise.
51969 * math/w_acoshl.c: Likewise.
51970 * math/w_acosl.c: Likewise.
51971 * math/w_asin.c: Likewise.
51972 * math/w_asinf.c: Likewise.
51973 * math/w_asinl.c: Likewise.
51974 * math/w_atan2.c: Likewise.
51975 * math/w_atan2f.c: Likewise.
51976 * math/w_atan2l.c: Likewise.
51977 * math/w_atanh.c: Likewise.
51978 * math/w_atanhf.c: Likewise.
51979 * math/w_atanhl.c: Likewise.
51980 * math/w_cosh.c: Likewise.
51981 * math/w_coshf.c: Likewise.
51982 * math/w_coshl.c: Likewise.
51983 * math/w_dremf.c: Likewise.
51984 * math/w_exp10.c: Likewise.
51985 * math/w_exp10f.c: Likewise.
51986 * math/w_exp10l.c: Likewise.
51987 * math/w_exp2.c: Likewise.
51988 * math/w_exp2f.c: Likewise.
51989 * math/w_fmod.c: Likewise.
51990 * math/w_fmodf.c: Likewise.
51991 * math/w_fmodl.c: Likewise.
51992 * math/w_hypot.c: Likewise.
51993 * math/w_hypotf.c: Likewise.
51994 * math/w_hypotl.c: Likewise.
51995 * math/w_j0.c: Likewise.
51996 * math/w_j0f.c: Likewise.
51997 * math/w_j0l.c: Likewise.
51998 * math/w_j1.c: Likewise.
51999 * math/w_j1f.c: Likewise.
52000 * math/w_j1l.c: Likewise.
52001 * math/w_jn.c: Likewise.
52002 * math/w_jnf.c: Likewise.
52003 * math/w_jnl.c: Likewise.
52004 * math/w_lgamma.c: Likewise.
52005 * math/w_lgamma_r.c: Likewise.
52006 * math/w_lgammaf.c: Likewise.
52007 * math/w_lgammaf_r.c: Likewise.
52008 * math/w_lgammal.c: Likewise.
52009 * math/w_lgammal_r.c: Likewise.
52010 * math/w_log.c: Likewise.
52011 * math/w_log10.c: Likewise.
52012 * math/w_log10f.c: Likewise.
52013 * math/w_log10l.c: Likewise.
52014 * math/w_log2.c: Likewise.
52015 * math/w_log2f.c: Likewise.
52016 * math/w_log2l.c: Likewise.
52017 * math/w_logf.c: Likewise.
52018 * math/w_logl.c: Likewise.
52019 * math/w_pow.c: Likewise.
52020 * math/w_powf.c: Likewise.
52021 * math/w_powl.c: Likewise.
52022 * math/w_remainder.c: Likewise.
52023 * math/w_remainderf.c: Likewise.
52024 * math/w_remainderl.c: Likewise.
52025 * math/w_scalb.c: Likewise.
52026 * math/w_scalbf.c: Likewise.
52027 * math/w_scalbl.c: Likewise.
52028 * math/w_sinh.c: Likewise.
52029 * math/w_sinhf.c: Likewise.
52030 * math/w_sinhl.c: Likewise.
52031 * math/w_sqrt.c: Likewise.
52032 * math/w_sqrtf.c: Likewise.
52033 * math/w_sqrtl.c: Likewise.
52034 * math/w_tgamma.c: Likewise.
52035 * math/w_tgammaf.c: Likewise.
52036 * math/w_tgammal.c: Likewise.
52037
6a621eb7
UD
52038 * po/ja.po: Update from translation team.
52039
bf582445
AJ
520402011-09-29 Andreas Jaeger <aj@suse.de>
52041
f9efbf3a
AJ
52042 [BZ #13179]
52043 * sunrpc/netname.c (netname2host): Fix logic.
52044
bf582445
AJ
52045 [BZ #6779]
52046 [BZ #6783]
52047 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52048 correctly.
52049 * math/w_remainder.c (__remainder): Likewise.
52050 * math/w_remainderf.c (__remainderf): Likewise.
52051 * math/libm-test.inc (remainder_test): Add test cases.
52052
48693bea
AK
520532011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52054
52055 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52056 sdiv_qrnnd.
52057
42622229
LD
520582011-10-07 Ulrich Drepper <drepper@gmail.com>
52059
52060 * string/test-memcmp.c: Avoid unncessary #defines.
52061 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52062
093ecf92
LD
520632011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52064
52065 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52066 Use new sse2 version for core i3 - i7 as it's faster
52067 than sse42 version.
52068 (bit_Prefer_PMINUB_for_stringop): New.
52069 * sysdeps/x86_64/rawmemchr.S: Update.
52070 Replace with faster SSE2 version.
52071 * sysdeps/x86_64/memrchr.S: New file.
52072 * sysdeps/x86_64/memchr.S: Update.
52073 Replace with faster SSE2 version.
52074
fde56e5c
MP
520752011-09-12 Marek Polacek <mpolacek@redhat.com>
52076
52077 * elf/dl-load.c (lose): Add cast to avoid warning.
52078
21fd49a9
UD
520792011-10-07 Ulrich Drepper <drepper@gmail.com>
52080
5a06e643
UD
52081 * po/ca.po: Update from translation team.
52082
684ae515
UD
52083 * inet/getnetgrent_r.c: Hook up nscd.
52084 * nscd/Makefile (routines): Add nscd_netgroup.
52085 (nscd-modules): Add netgroupcache.
52086 (CFLAGS-netgroupcache.c): Define.
52087 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52088 (cache_search): Add const to second parameter.
52089 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52090 INNETGR.
52091 (dbs): Add netgrdb entry.
52092 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52093 (verify_persistent_db): Handle netgrdb.
52094 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52095 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52096 GETFDNETGR.
52097 (netgroup_response_header): Define.
52098 (innetgroup_response_header): Define.
52099 (datahead): Add netgroup_response_header and innetgroup_response_header
52100 elements.
52101 * nscd/nscd.conf: Add entries for netgroup cache.
52102 * nscd/nscd.h (dbtype): Add netgrdb.
52103 (_PATH_NSCD_NETGROUP_DB): Define.
52104 (netgroup_iov_disabled): Declare.
52105 (xmalloc, xcalloc, xrealloc): Move declarations here.
52106 (cache_search): Adjust prototype.
52107 Add netgroup-related prototypes.
52108 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52109 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52110 (__nscd_innetgr): Declare.
52111 * nscd/selinux.c (perms): Use access_vector_t as element type and
52112 add netgroup-related initializers.
52113 * nscd/netgroupcache.c: New file.
52114 * nscd/nscd_netgroup.c: New file.
52115 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52116 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52117 For four parameters use innetgr.
52118 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52119 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52120 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52121 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52122
21fd49a9
UD
52123 * nscd/connections.c (register_traced_file): Don't register file
52124 for disabled databases.
52125
054c0457
UD
521262011-10-06 Ulrich Drepper <drepper@gmail.com>
52127
32b63198
UD
52128 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52129
054c0457
UD
52130 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52131 from tree and freeing node.
52132
64031225
JO
521332011-09-25 Jiri Olsa <jolsa@redhat.com>
52134
52135 * nss/nsswitch.c (__nss_database_lookup): Handle
52136 nss_parse_service_list out of memory case.
52137
0490345c
JO
521382011-09-15 Jiri Olsa <jolsa@redhat.com>
52139
52140 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52141 out of memory case.
52142
3a62d00d
AS
521432011-10-04 Andreas Schwab <schwab@redhat.com>
52144
52145 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52146 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52147 pass it down.
52148 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52149 elf_machine_rela, elf_machine_lazy_rel.
52150 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52151 (ELF_DYNAMIC_DO_REL): Likewise.
52152 (ELF_DYNAMIC_DO_RELA): Likewise.
52153 (ELF_DYNAMIC_RELOCATE): Likewise.
52154 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52155 to ELF_DYNAMIC_DO_REL.
52156 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52157 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52158 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52159 elf_machine_rela.
52160 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52161 skip_ifunc, don't call ifunc function if non-zero.
52162 (elf_machine_rela): Likewise.
52163 (elf_machine_lazy_rel): Likewise.
52164 (elf_machine_lazy_rela): Likewise.
52165 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52166 (elf_machine_lazy_rel): Likewise.
52167 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52168 Likewise.
52169 (elf_machine_lazy_rel): Likewise.
52170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52171 Likewise.
52172 (elf_machine_lazy_rel): Likewise.
52173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52174 (elf_machine_lazy_rel): Likewise.
52175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52176 (elf_machine_lazy_rel): Likewise.
52177 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52178 (elf_machine_lazy_rel): Likewise.
52179 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52180 (elf_machine_lazy_rel): Likewise.
52181 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52182 (elf_machine_lazy_rel): Likewise.
52183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52184 (elf_machine_lazy_rel): Likewise.
52185
68577918
UD
521862011-09-28 Ulrich Drepper <drepper@gmail.com>
52187
52188 * nss/nss_files/files-init.c (_nss_files_init): Use static
52189 initialization for all the *_traced_file variables.
52190
68822d74
AS
521912011-09-28 Andreas Schwab <schwab@redhat.com>
52192
52193 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52194
2056100b
RM
521952011-09-27 Roland McGrath <roland@hack.frob.com>
52196
52197 [BZ #13226]
52198 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52199
32c76b63
AS
522002011-09-27 Andreas Schwab <schwab@redhat.com>
52201
52202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52203 Reread the line before reparsing it.
52204
bf972c9d
AS
522052011-09-26 Andreas Schwab <schwab@redhat.com>
52206
52207 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52208
e057a1b5
JM
522092011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52210 Maxim Kuvyrkov <maxim@codesourcery.com>
52211 Joseph Myers <joseph@codesourcery.com>
52212
52213 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52214 if needed for __stack_chk_guard.
52215
bc7e1c36
RM
522162011-09-19 Roland McGrath <roland@hack.frob.com>
52217
ecb1482f
RM
52218 * sysdeps/posix/spawni.c (script_execute): Always define it.
52219 It will be optimized away if unused.
52220 (maybe_script_execute): New function.
52221 (__spawni): Call it.
52222
bc7e1c36
RM
52223 * Makerules: Don't include tls.make.
52224 (config-tls): Always set to thread.
52225 * tls.make.c: File removed.
52226
1c3b002b
MF
522272011-09-19 Mike Frysinger <vapier@gentoo.org>
52228
52229 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52230 * config.make.in (CPPFLAGS-config): New substituted variable.
52231
2840865d
UD
522322011-09-15 Ulrich Drepper <drepper@gmail.com>
52233
88738eb6
UD
52234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52235
cbf645a6 52236 [BZ #13192]
2840865d
UD
52237 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52238 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52239
b402e91a
RM
522402011-09-15 Roland McGrath <roland@hack.frob.com>
52241
52242 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52243 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52244 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52245 (CALL_FAIL): Likewise.
52246 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52247 (CALL_FAIL): Macro removed.
52248 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52249
4c1a1f71
UD
522502011-09-15 Ulrich Drepper <drepper@gmail.com>
52251
52252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52253 for __FINITE_MATH_ONLY__ == 1.
52254
edc121be
AS
522552011-09-15 Andreas Schwab <schwab@redhat.com>
52256
52257 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52258 __ieee754_sqrt instead of sqrt.
52259 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52260 __ieee754_sqrtf instead of sqrtf.
52261 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52262 __floorf instead of floorf.
52263 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52264 __floorf, __truncf instead of floorf, truncf.
52265
cd205654
UD
522662011-09-14 Ulrich Drepper <drepper@gmail.com>
52267
ee4d0315
UD
52268 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52269
cd205654
UD
52270 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52271 __extern_always_inline.
52272 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52273 32-bit.
52274
48b67d71
AS
522752011-09-14 Andreas Schwab <schwab@redhat.com>
52276
52277 * elf/rtld.c (dl_main): Also relocate in dependency order when
52278 doing symbol dependency testing.
52279
1ae12c75
AS
522802011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52281
52282 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52283 Always define `refsym'.
52284
995a80df
AS
522852011-09-13 Andreas Schwab <schwab@redhat.com>
52286
e529793b
AS
52287 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52288 (__FD_ELT): Renamed from __FDELT.
52289 * misc/bits/select2.h (__FD_ELT): Likewise.
52290 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52291 __FD_MASK instead of __FDELT, __FDMASK.
52292 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52293 Likewise.
52294 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52295 Likewise.
52296
52d4fef8
AS
52297 * elf/Makefile (gen-ldd): Fix pattern.
52298
995a80df
AS
52299 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52300 (init_tls): Likewise.
52301
8682f8b0
UD
523022011-09-12 Ulrich Drepper <drepper@gmail.com>
52303
52304 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52305
de82006d
AS
523062011-09-12 Andreas Schwab <schwab@redhat.com>
52307
a7c8e6a1
AS
52308 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52309 `struct cmsghdr *' instead of `void *'.
52310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52311 Likewise.
52312
0f31fe77
AS
523132011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52314
52315 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52316 if non-absolute.
52317 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52318 ldd_rewrite_script.
0f31fe77 52319
32b4c839
UD
523202011-09-11 Ulrich Drepper <drepper@gmail.com>
52321
83cd1420
UD
52322 * configure.in: Remove --with-tls option.
52323 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52324 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52325 out in case it is missing.
52326 * sysdeps/ia64/elf/configure.in: Likewise.
52327 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52328 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52329 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52330 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52331 * sysdeps/sh/elf/configure.in: Likewise.
52332 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52333 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52334 * sysdeps/x86_64/elf/configure.in: Likewise.
52335 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52336 * sysdeps/mach/hurd/tls.h: Likewise.
52337
633f745d
UD
52338 [BZ #13067]
52339 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52340
f318beb8
UD
52341 [BZ #13090]
52342 * configure.in: Fix use of AC_INIT.
52343
32b4c839
UD
52344 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52345
3ce1f295
UD
523462011-09-10 Ulrich Drepper <drepper@gmail.com>
52347
bb016596
UD
52348 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52349 __set_errno.
8e58439c
UD
52350 * malloc/hooks.c: Likewise.
52351
aebae053 52352 [BZ #11929]
02d46fc4
UD
52353 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52354 variables statically.
52355 (narenas): Initialize.
52356 (list_lock): Initialize.
bb016596
UD
52357 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52358 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52359 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52360 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52361 Add initializers to main_arena and mp_.
52362 (malloc_state): Remove pagesize member. Change all users to use
52363 GLRO(dl_pagesize).
52364
52365 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52366 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52367 is always initialized.
52368
22a89187
UD
52369 * malloc/malloc.c: Removed unused configurations and dead code.
52370 * malloc/arena.c: Likewise.
52371 * malloc/hooks.c: Likewise.
02d46fc4 52372 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52373
d063d164
UD
52374 * include/tls.h: Removed. USE___THREAD must always be defined.
52375 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52376 * elf/dl-libc.c: Likewise.
52377 * elf/dl-tsd.c: Likewise.
52378 * include/errno.h: Likewise.
52379 * include/netdb.h: Likewise.
52380 * include/resolv.h: Likewise.
52381 * inet/herrno-loc.c: Likewise.
52382 * inet/herrno.c: Likewise.
52383 * malloc/arena.c: Likewise.
52384 * malloc/hooks.c: Likewise.
52385 * malloc/malloc.c: Likewise.
52386 * resolv/res-state.c: Likewise.
52387 * resolv/res_libc.c: Likewise.
52388 * sysdeps/i386/dl-machine.h: Likewise.
52389 * sysdeps/ia64/dl-machine.h: Likewise.
52390 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52391 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52392 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52393 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52394 * sysdeps/sh/dl-machine.h: Likewise.
52395 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52396 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52397 * sysdeps/unix/i386/sysdep.S: Likewise.
52398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52399 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52401 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52402 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52404 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52408 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52409 * sysdeps/x86_64/dl-machine.h: Likewise.
52410 * tls.make.c: Likewise.
52411
3ce1f295
UD
52412 * configure.in: Remove --with-__thread option. Make tests for
52413 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52414 tls_model attribute fail if no support is available. Remove
52415 USE_IN_LIBIO.
52416 * Makeconfig: Adjust for dropped configure option. All features are
52417 now mandatory.
52418 * Makerules: Likewise.
52419 * Versions.def: Likewise.
52420 * argp/argp-fmtstream.c: Likewise.
52421 * argp/argp-fmtstream.h: Likewise.
52422 * argp/argp-help.c: Likewise.
52423 * assert/assert.c: Likewise.
52424 * config.h.in: Likewise.
52425 * config.make.in: Likewise.
52426 * configure: Likewise.
52427 * configure.in: Likewise.
52428 * csu/Versions: Likewise.
52429 * csu/init.c: Likewise.
52430 * elf/tst-audit2.c: Likewise.
52431 * elf/tst-tls10.c: Likewise.
52432 * elf/tst-tls10.h: Likewise.
52433 * elf/tst-tls11.c: Likewise.
52434 * elf/tst-tls12.c: Likewise.
52435 * elf/tst-tls14.c: Likewise.
52436 * elf/tst-tlsmod11.c: Likewise.
52437 * elf/tst-tlsmod12.c: Likewise.
52438 * elf/tst-tlsmod13.c: Likewise.
52439 * elf/tst-tlsmod13a.c: Likewise.
52440 * elf/tst-tlsmod14a.c: Likewise.
52441 * elf/tst-tlsmod15b.c: Likewise.
52442 * elf/tst-tlsmod16a.c: Likewise.
52443 * elf/tst-tlsmod16b.c: Likewise.
52444 * elf/tst-tlsmod7.c: Likewise.
52445 * elf/tst-tlsmod8.c: Likewise.
52446 * elf/tst-tlsmod9.c: Likewise.
52447 * gmon/gmon.c: Likewise.
52448 * grp/fgetgrent_r.c: Likewise.
52449 * grp/putgrent.c: Likewise.
52450 * hurd/fopenport.c: Likewise.
52451 * include/libc-symbols.h: Likewise.
52452 * include/tls.h: Likewise.
52453 * intl/gettextP.h: Likewise.
52454 * intl/loadinfo.h: Likewise.
52455 * locale/global-locale.c: Likewise.
52456 * locale/localeinfo.h: Likewise.
52457 * mach/devstream.c: Likewise.
52458 * malloc/arena.c: Likewise.
52459 * malloc/set-freeres.c: Likewise.
52460 * misc/err.c: Likewise.
52461 * misc/getttyent.c: Likewise.
52462 * misc/mntent_r.c: Likewise.
52463 * posix/getopt.c: Likewise.
52464 * posix/wordexp.c: Likewise.
52465 * pwd/fgetpwent_r.c: Likewise.
52466 * resolv/Versions: Likewise.
52467 * resolv/res_hconf.c: Likewise.
52468 * shadow/fgetspent_r.c: Likewise.
52469 * shadow/putspent.c: Likewise.
52470 * stdio-common/printf_fphex.c: Likewise.
52471 * stdio-common/tmpfile.c: Likewise.
52472 * stdlib/abort.c: Likewise.
52473 * stdlib/fmtmsg.c: Likewise.
52474 * sunrpc/auth_unix.c: Likewise.
52475 * sunrpc/clnt_perr.c: Likewise.
52476 * sunrpc/clnt_tcp.c: Likewise.
52477 * sunrpc/clnt_udp.c: Likewise.
52478 * sunrpc/clnt_unix.c: Likewise.
52479 * sunrpc/openchild.c: Likewise.
52480 * sunrpc/svc_simple.c: Likewise.
52481 * sunrpc/svc_tcp.c: Likewise.
52482 * sunrpc/svc_udp.c: Likewise.
52483 * sunrpc/svc_unix.c: Likewise.
52484 * sunrpc/xdr.c: Likewise.
52485 * sunrpc/xdr_array.c: Likewise.
52486 * sunrpc/xdr_rec.c: Likewise.
52487 * sunrpc/xdr_ref.c: Likewise.
52488 * sunrpc/xdr_stdio.c: Likewise.
52489
1248c1c4
PB
524902011-09-09 Ulrich Drepper <drepper@gmail.com>
52491
52492 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52493
524942011-07-03 Andreas Jaeger <aj@suse.de>
52495
52496 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52497 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52498 regenerate with gen-libm-tests.pl.
52499
525002010-05-12 Petr Baudis <pasky@suse.cz>
52501
52502 [BZ #11589]
52503 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52504 around j0() zero points by switching to j1().
52505 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52508 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52509
f22e1074
UD
525102011-09-09 Ulrich Drepper <drepper@gmail.com>
52511
f19009c1
UD
52512 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52513 instead of 0.
52514 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52515 instead of 0.
f19009c1
UD
52516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52517 Patch in part by Pavel Roskin <proski@gnu.org>.
52518
3f8cc204
UD
52519 [BZ #13138]
52520 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52521 realloc.
52522 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52523 Free memory block if necessary.
52524
f22e1074
UD
52525 [BZ #12847]
52526 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52527 be NULL. Don't lock in this case.
52528
0a2349f9
RM
525292011-09-09 Roland McGrath <roland@hack.frob.com>
52530
52531 * elf/elf.h (ELFOSABI_GNU): New macro.
52532 (ELFOSABI_LINUX): Define to that.
52533
f3cdd467
DZ
525342011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52535
52536 * string/strncat.c (strncat): Undef the symbol in case it has been
52537 defined in bits/string.h.
52538
74718d13
UD
525392011-09-09 Ulrich Drepper <drepper@gmail.com>
52540
633e9e0f
UD
52541 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52542
0a2349f9 52543 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52544 link map.
52545
f9924780
AJ
525462011-08-17 Andreas Jaeger <aj@suse.de>
52547
52548 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52549
7f5517aa
PP
525502011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52551 Ian Lance Taylor <iant@google.com>
52552
52553 * math/libm-test.inc (lround_test): New testcase.
52554 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52555
762011fe
UD
525562011-09-08 Ulrich Drepper <drepper@gmail.com>
52557
92963737
UD
52558 * Makefile: Remove support for automatic cvs check-ins.
52559 * Makerules: Likewise.
52560 * config.make.in: Likewise.
52561 * configure.in: Likewise.
52562 * intl/Makefile: Likewise.
52563 * locale/Makefile: Likewise.
52564 * po/Makefile: Likewise.
52565 * posix/Makefile: Likewise.
52566 * sysdeps/gnu/Makefile: Likewise.
52567 * sysdeps/mach/hurd/Makefile: Likewise.
52568 * sysdeps/sparc/sparc32/Makefile: Likewise.
52569
b0727fd8
JS
52570 [BZ #13118]
52571 * posix/Makefile (bug-regex32-ENV): Define.
52572 Patch by John Stanley <jpsinthemix@verizon.net>.
52573
a0f33f99
UD
52574 * misc/Makefile (headers): Add bits/select2.h.
52575 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52576 * misc/bits/select2.h: New file.
52577 * include/bits/select2.h: New file.
52578 * debug/Makefile (routines): Add fdelt_chk.
52579 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52580 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52581 FD_ISSET.
52582 * debug/fdelt_chk.c: New file.
52583
762011fe
UD
52584 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52585 * wcsmbs/test-wmemcmp.c: Likewise.
52586 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52587 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52588
525892011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52590
52591 * string/Makefile (strop-tests): Add memcmp.
52592 * string/test-wmemcmp.c: New file.
52593 * string/test-memcmp.c: Add wmemcmp support.
52594
7f513ec8
RM
525952011-09-08 Roland McGrath <roland@hack.frob.com>
52596
0442afb4
RM
52597 [BZ #13153]
52598 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52599 2011-07-19 change.
52600
7f513ec8
RM
52601 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52602 garbage value in a __mach_port_mod_refs call in the cases of the
52603 task-self and thread-self ports.
52604
a12b2239
ST
526052011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52606
52607 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52608
610f9ab4
AS
526092011-09-08 Andreas Schwab <schwab@redhat.com>
52610
7f513ec8 52611 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52612
48882a1a
LD
526132011-09-07 Ulrich Drepper <drepper@gmail.com>
52614
b49865be
UD
52615 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52616
fdc86bc9
UD
52617 * elf/dl-libc.c (dlerror_run): Pass back error code from
52618 dl_catch_error.
52619
c966526a
UD
52620 [BZ #13123]
52621 * elf/dl-load.c (lose): Free l_origin if it is valid.
52622
48882a1a
LD
52623 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52624 names.
52625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52626 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52627 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52629 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52630 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52631
77a2a8b4
AZ
526322011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52633
52634 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52635 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52636 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52637 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52638 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52639 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52640 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52641 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52642 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52643 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52644
24f579d8
AM
526452011-08-15 Alan Modra <amodra@gmail.com>
52646
52647 [BZ #13092]
52648 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52649 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52650 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52651 ppc_mcount to static-only-routines.
52652 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52653 __mcount_internal.
52654 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52655 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52656
3d4837df
UD
526572011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52658
52659 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52660 for finite and infinity parameters.
52661
22700377
WS
526622011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52663
52664 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52665 and add nop instructions for throughput optimization.
52666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52667
5025581e
WS
526682011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52669
52670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52671 aligned copy for power7 with vector-scalar instructions.
52672 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52673
08a300c9
L
526742011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52675
52676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52677 AVX check.
52678
59178ef9
AS
526792011-09-07 Andreas Schwab <schwab@redhat.com>
52680
52681 [BZ #13144]
52682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52683 last change.
52684
e38ba7ab
UD
526852011-09-07 Ulrich Drepper <drepper@gmail.com>
52686
52687 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52688 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52689 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52690 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52691 clock_gettime.
52692
d53a73ac
UD
526932011-09-06 Ulrich Drepper <drepper@gmail.com>
52694
fc8bffcc
UD
52695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52696 Forgot to demangle the pointer.
52697
ceaa0c5d
UD
52698 * sysdeps/i386/sysdep.h: Define atom_text_section.
52699 * sysdeps/x86_64/sysdep.h: Likewise.
52700 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52701 section with atom_text_section.
52702 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52703 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52704 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52706 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52707
a77d3c17
UD
52708 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52710 already be defined. Change to take two parameters and don't assign
52711 result to variable. Adjust all users.
52712 Define INTERNAL_GETTIME if not already defined.
52713 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52714 call.
52715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52716 HAVE_CLOCK_GETTIME_VSYSCALL.
52717 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52718
d53a73ac
UD
52719 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52720 gettimeofday vsyscall, just use time.
52721
a8f84144
AS
527222011-09-06 Andreas Schwab <schwab@redhat.com>
52723
52724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52725 <errno.h>.
52726
ef606249
UD
527272011-09-06 Ulrich Drepper <drepper@gmail.com>
52728
52729 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52730 syscall on x86-64.
52731 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52732 syscall.
52733 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52734 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52735 syscall if possible.
52736
6585cb60
UD
527372011-09-05 Ulrich Drepper <drepper@gmail.com>
52738
52739 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52740 e_ident. Don't pass to find_mapsXX.
52741 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52742
a5f524e4
LD
527432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52744
52745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52746 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52747 * sysdeps/x86_64/multiarch/strchr.S: Update.
52748 Check bit_slow_BSF bit.
52749 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52750 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52751 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52752
554881ef
UD
527532011-09-05 Ulrich Drepper <drepper@gmail.com>
52754
d96de963
UD
52755 [BZ #13134]
52756 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52757 before glibc 2.15.
52758 (tryshell): Define.
52759 (__spawni): Change last parameter to be flag. Test
52760 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52761 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52762 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52763 * posix/spawni.c: Likewise.
52764 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52765 * posix/spawnp.c: Likewise. Change normal version to use
52766 SPAWN_XFLAGS_USE_PATH.
52767 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52768 SPAWN_XFLAGS_TRY_SHELL.
52769
d48e5868
UD
52770 [BZ #13150]
52771 * posix/glob.h: Remove gcc 1.x support.
52772
554881ef
UD
52773 [BZ #13068]
52774 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52775
693fb948
LD
527762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52777
52778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52779 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52780 strrchr-sse2-bsf
52781 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52782 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52783 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52784 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52785 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52786 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52787
1b48c537
UD
527882011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52789
49d42c37
UD
52790 * sysdeps/x86_64/wcscmp.S: New file.
52791
1b48c537
UD
52792 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52793 wcscmp-c wcscmp-sse2
52794 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52795 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52796 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52797 * wcsmbs/wcscmp.c: Allow renaming.
52798
15c95c5d
DM
527992011-09-05 David S. Miller <davem@davemloft.net>
52800
52801 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52802 stack slot, rather than the struct return pointer slot.
52803 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52804 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52806 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52807
2f0ad8f3
UD
528082011-09-05 Ulrich Drepper <drepper@gmail.com>
52809
d88ae418
UD
52810 * po/ja.po: Update from translation team.
52811
2f0ad8f3
UD
52812 [BZ #13144]
52813 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52814 kernel in 64-bit binaries.
52815
5f4318d1
DM
528162011-09-01 David S. Miller <davem@davemloft.net>
52817
52818 * elf/elf.h (HWCAP_SPARC_*): Move to..
52819 * sysdeps/sparc/sysdep.h: this new file and add new values.
52820 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52821 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52822 _DL_HWCAP_COUNT to 24.
52823 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52824 entries.
52825 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52826 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52827 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52829 instead of magic constants.
52830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52831
3ba57516
DM
528322011-08-31 David S. Miller <davem@davemloft.net>
52833
52834 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52835 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52836 Reimplement to do errno handling inline.
52837 (SYSCALL_ERROR_HANDLER): New macro.
52838 (__SYSCALL_STRING): Do not do errno handling in asm.
52839 (__CLONE_SYSCALL_STRING): Delete.
52840 (__INTERNAL_SYSCALL_STRING): Delete.
52841 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52842 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52843 (PSEUDO): Reimplement to do errno handling inline.
52844 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52845 (SYSCALL_ERROR_HANDLER): New macro.
52846 (__SYSCALL_STRING): Do not do errno handling in asm.
52847 (__CLONE_SYSCALL_STRING): Delete.
52848 (__INTERNAL_SYSCALL_STRING): Delete.
52849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52850 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52851 i386.
52852 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52853 (inline_syscall*): Add 'err' argument.
52854 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52855 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52856 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52857 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52858
52859 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52860 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52861
2bc17433
AS
528622011-08-30 Andreas Schwab <schwab@redhat.com>
52863
52864 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52865
fbeb5f4d
JO
528662011-08-29 Jiri Olsa <jolsa@redhat.com>
52867
52868 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52869 directive.
52870
ad69cc26
DM
528712011-08-24 David S. Miller <davem@davemloft.net>
52872
52873 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52874
39dd69df
AS
528752011-08-24 Andreas Schwab <schwab@redhat.com>
52876
52877 * elf/Makefile: Add rules to build and run unload8 test.
52878 * elf/unload8.c: New file.
52879 * elf/unload8mod1.c: New file.
52880 * elf/unload8mod1x.c: New file.
52881 * elf/unload8mod2.c: New file.
52882 * elf/unload8mod3.c: New file.
52883
52884 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52885 it wasn't used.
52886
2c0b250a
DM
528872011-08-23 David S. Miller <davem@davemloft.net>
52888
52889 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52890 subtract stack bias.
52891 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52892 %sp not %fp in calculations.
52893 (_JMPBUF_UNWINDS_ADJ): Likewise.
52894
22044b48
DM
52895 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52896 (aio_suspend): Call it to force an exception region around the
52897 AIO_MISC_WAIT() invocation.
52898
2cae4995
AS
528992011-08-23 Andreas Schwab <schwab@redhat.com>
52900
52901 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52902 backslash.
52903
873a772e
AJ
529042011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52905
52906 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52907 protection macro.
52908 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52909 and <dl-machine.h>.
52910 (Elf64_FuncDesc): Remove.
52911
25ad0df1
DM
529122011-08-22 David S. Miller <davem@davemloft.net>
52913
52914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52915 sigaltstack check, add missing cfi directives.
52916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52917 missing cfi directives, and sigaltstack handling.
52918
e888bcbe
AS
529192011-08-16 Andreas Schwab <schwab@redhat.com>
52920
52921 [BZ #11724]
52922 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52923 object is seen twice.
52924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52925
52926 * elf/Makefile (distribute): Add tst-initorder2.c.
52927 (tests): Add tst-initorder2.
52928 (modules-names): Add tst-initorder2a tst-initorder2b
52929 tst-initorder2c tst-initorder2d. Add rules to build them.
52930 ($(objpfx)tst-initorder2.out): New rule.
52931 * elf/tst-initorder2.c: New file.
52932 * elf/tst-initorder2.exp: New file.
52933
87162f46
AS
529342011-08-22 Andreas Schwab <schwab@redhat.com>
52935
70538b7f
AS
52936 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52937
f55ffe58
AS
52938 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52939 dependencies back to end of function.
52940
87162f46
AS
52941 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52942 $(elfobjdir)/ld.so.
52943
91b392a4
UD
529442011-08-21 Ulrich Drepper <drepper@gmail.com>
52945
52946 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52947 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52949 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52950 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52951 of __vdso_gettimeofday.
52952 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52953 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52954 attribute_hidden.
52955 (_libc_vdso_platform_setup): Remove initialization of
52956 __vdso_gettimeofday and __vdso_time.
52957
5c43483f
UD
529582011-08-20 Ulrich Drepper <drepper@gmail.com>
52959
775a77e7
UD
52960 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52961 and fgetc_unlocked.
52962 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52963 getc_unlocked.
89f447ed 52964
49c74ba9
UD
52965 * elf/dl-open.c (add_to_global): Report additions to the global scope
52966 for LD_DEBUG=scopes.
52967 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52968 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52969
5c43483f
UD
52970 [BZ #13114]
52971 * stdio-common/Makefile (tests): Add bug24.
52972 * stdio-common/bug24.c: New file.
52973
a101b025
AJ
529742011-08-19 Andreas Jaeger <aj@suse.de>
52975
52976 [BZ #13114]
52977 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52978 non-existant file when using close-on-exec mode.
52979
c88f1766
UD
529802011-08-20 Ulrich Drepper <drepper@gmail.com>
52981
0276a718
UD
52982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52983 the very first instruction.
52984
c88f1766
UD
52985 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52986 the CFI state in the end.
52987 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52988 inclusion of dl-trampoline.h.
52989 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52990
51ccffa0
AS
529912011-08-19 Andreas Schwab <schwab@redhat.com>
52992
94d7165f
AS
52993 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52994 expectations for long double.
52995
51ccffa0
AS
52996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52997 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52998
fd708658 529992011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53000
53001 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53002 artificual limit depends upon the system page size.
53003
44f0a71e
UD
530042011-08-17 Ulrich Drepper <drepper@gmail.com>
53005
53006 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53007 * resolv/Makefile: Define CFLAGS-libresolv.
53008
8de79a24
AS
530092011-08-17 Andreas Schwab <schwab@redhat.com>
53010
53011 * nss/makedb.c (compute_tables): Make variables used in nested
53012 function static.
53013
27724598
UD
530142011-08-17 Ulrich Drepper <drepper@gmail.com>
53015
c5305d88
UD
53016 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53017 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53018 if buffer was too small.
53019
27724598
UD
53020 * elf/pldd.c (main): Attach to all threads in the process.
53021 Rewrite /proc handling to use *at functions.
53022
076fe015
UD
530232011-08-16 Ulrich Drepper <drepper@gmail.com>
53024
174baab3
UD
53025 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53026 specifies first scope to show.
53027 (dl_open_worker): Update callers. Move printing scope of new
53028 object to before the relocation.
44f0a71e 53029 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53030 * sysdeps/generic/ldsodefs.h: Update declaration.
53031
076fe015
UD
53032 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53033 string for the scope number.
53034
a60df2c3
UD
530352011-08-14 Ulrich Drepper <drepper@gmail.com>
53036
53037 * nscd/servicescache.c (cache_addserv): Make sure written is always
53038 initialized.
53039
5e4287d1
RM
530402011-08-14 Roland McGrath <roland@hack.frob.com>
53041
85ae0589
RM
53042 * sysdeps/i386/i486/bits/atomic.h
53043 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53044 statement expression, so as to suppress "set but not used" warning.
53045 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53046
69f63097
RM
53047 * string/strncat.c (STRNCAT): Use prototype definition.
53048
675456ef
RM
53049 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53050 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53051 -Iprograms here.
53052 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53053 (localedef-modules): Add localedef.
53054 (locale-modules): Add locale.
53055
5e4287d1
RM
53056 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53057 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53058 to avoid a warning.
53059
9c96ff23
DM
530602011-08-14 David S. Miller <davem@davemloft.net>
53061
53062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53063 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53064
f9ddf089
UD
530652011-08-13 Ulrich Drepper <drepper@gmail.com>
53066
44f0a71e 53067 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53068 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53069 * elf/rtld.c (dl_main): Set l_name of vDSO.
53070 Call _dl_show_scope when DL_DEBUG_SCOPES.
53071 (process_dl_debug): Recognize scopes flag and also set it for all.
53072 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53073 Declare _dl_show_scope.
53074
1dc27704
UD
53075 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53076 (do_dlopen): Pass caller_dlopen to dl_open.
53077 (__libc_dlopen_mode): Initialize caller_dlopen.
53078
f9ddf089
UD
53079 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53080 of libc. Make tolower call locale-independent. Optimize a bit by
53081 using isdigit instead of isalnum.
53082 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53083
9ac533d3
UD
530842011-08-12 Ulrich Drepper <drepper@gmail.com>
53085
53086 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53087 was a dependency or dynamically loaded.
53088
89edf2e9
UD
530892011-08-11 Ulrich Drepper <drepper@gmail.com>
53090
8e999d29
UD
53091 * intl/l10nflist.c: Allow architecture-specific pop function.
53092 * sysdeps/x86_64/l10nflist.c: New file.
53093
89edf2e9
UD
53094 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53095 classification.
53096
14d96785
AS
530972011-08-10 Andreas Schwab <schwab@redhat.com>
53098
53099 * include/dirent.h: Add libc_hidden_proto for scandirat and
53100 scandirat64. Don't declare __scandirat64.
53101 * dirent/scandirat.c: Add libc_hidden_def.
53102 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53103 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53104
6761ac04
DM
531052011-08-10 David S. Miller <davem@davemloft.net>
53106
53107 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53108 enum.
53109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53112
c55fbd1e
UD
531132011-08-09 Ulrich Drepper <drepper@gmail.com>
53114
53115 * Versions.def [libc]: Add GLIBC_2.15.
53116 * dirent/Makefile (routines): Add scandirat and scandirat64.
53117 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53118 GLIBC_2.15.
53119 * dirent/dirent.h: Declare scandirat and scandirat64.
53120 * dirent/scandirat.c: New file.
53121 * dirent/scandirat64.c: New file.
53122 * sysdeps/wordsize-64/scandirat.c: New file.
53123 * sysdeps/wordsize-64/scandirat64.c: New file.
53124 * dirent/opendir.c: Define opendirat.
53125 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53126 using scandirat.
53127 * dirent/scandir64.c: Adjust for scandir.c change.
53128 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53129 __scandirat64, and __scandir_cancel_handler.
53130 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53131 additional parameter and use openat instead of open (outside of ld.so).
53132 Add new __opendir as wrapper around __opendirat.
53133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53134 here without requiring old scandirat implementation.
53135
879165f2
UD
531362011-08-08 Ulrich Drepper <drepper@gmail.com>
53137
53138 * dirent/scandir.c (cancel_handler): Renamed to
53139 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53140 defined. Adjust users.
53141 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53142 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53143
cb7e923b
UD
531442011-08-04 Ulrich Drepper <drepper@gmail.com>
53145
16292edd
UD
53146 * string/test-string.h (IMPL): Use __STRING to expand name and then
53147 stringify it.
53148
cb7e923b
UD
53149 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53150 of cleanups.
53151
cff82933
LD
531522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53153
53154 * string/Makefile: Update.
53155 (strop-tests): Append strncat.
53156 * string/test-wcscmp.c: New file.
53157 New comprehensive test for wcscmp.
53158 * string/test-strcmp.c: Update.
53159 (WIDE): New define.
53160
9be9bfcc
AS
531612011-07-22 Andreas Schwab <schwab@redhat.com>
53162
53163 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53164 line.
53165
2e96f1c7
AS
531662011-07-26 Andreas Schwab <schwab@redhat.com>
53167
53168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53169 encoding to ACE if AI_IDN.
53170
85188888
JJ
531712011-08-01 Jakub Jelinek <jakub@redhat.com>
53172
53173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53174 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53175
5fa16e9b
LD
531762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53177
53178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53179 Fix overflow bug in strncat.
53180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53181
53182 * string/test-strncat.c: Update.
53183 Add new tests for checking overflow bugs.
53184
531852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53186
53187 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53188 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53189 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53190 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53191 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53192 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53193 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53194 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53195 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53196
53197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53198 (USE_AS_STRCAT): Define.
53199 Add strcat and strncat support.
53200 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53201
8c1a459f
AS
532022011-07-25 Andreas Schwab <schwab@redhat.com>
53203
53204 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53205 __n bigger than INT_MAX+1.
53206 (__strncmp_g): Likewise.
53207
bba33c28
UD
532082011-07-23 Ulrich Drepper <drepper@gmail.com>
53209
798be72d
UD
53210 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53211 * libio/stido.h: Likewise.
53212
8accd4dc
UD
53213 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53214 (AF_NFC): Define.
53215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53216 (AF_NFC): Define.
53217
cbff0d96
UD
53218 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53219 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53221 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53223
9191c04a
UD
53224 [BZ #13021]
53225 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53226 installed.
53227
bba33c28
UD
53228 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53229 typo.
53230 (_dl_x86_64_save_sse): Likewise.
53231
90f139dd
UD
532322011-07-22 Ulrich Drepper <drepper@gmail.com>
53233
1aae088a
UD
53234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53235 OSXSAVE.
53236 (_dl_x86_64_save_sse): Likewise.
53237
8e2045f5
UD
53238 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53239
90f139dd
UD
53240 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53241
1d002f25
AS
532422011-07-21 Andreas Schwab <schwab@redhat.com>
53243
53244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53245 change.
53246 (_dl_x86_64_save_sse): Use correct AVX check.
53247
21137f89
UD
532482011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53249
53250 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53251 bug in strncpy/strncat.
53252 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53253
a65c0b7a
UD
532542011-07-21 Ulrich Drepper <drepper@gmail.com>
53255
53256 * string/tester.c (test_strcat): Add tests for different alignments
53257 of source and destination.
53258 (test_strncat): Likewise.
53259
6986b98a
UD
532602011-07-20 Ulrich Drepper <drepper@gmail.com>
53261
90bb2039
UD
53262 [BZ #12852]
53263 * posix/glob.c (glob): Check passed in values before using them in
53264 expressions to avoid some overflows.
53265 (glob_in_dir): Likewise.
53266
5644ef54
UD
53267 [BZ #13007]
53268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53269 check for AVX enablement so that we don't crash with old kernels and
53270 new hardware.
53271 * elf/tst-audit4.c: Add same checks here.
53272 * elf/tst-audit6.c: Likewise.
53273
53274 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53275
bfc9dc9b
AS
532762011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53277
53278 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53279
702e64bb
UD
532802011-07-20 Ulrich Drepper <drepper@gmail.com>
53281
53282 * po/cs.po: Update from translation team.
53283 * po/bg.po: Likewise.
53284
295e904f
MP
532852011-07-12 Marek Polacek <mpolacek@redhat.com>
53286
53287 * misc/sys/cdefs.h: Add support for const attribute.
53288 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53289 to gnu_dev_{major,minor,makedev} functions.
53290
3ff94596
MP
532912011-07-20 Marek Polacek <mpolacek@redhat.com>
53292
53293 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53294
28b59fca
AS
532952011-07-20 Andreas Schwab <schwab@redhat.com>
53296
53297 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53298 strlen results.
53299
19df733e
AK
533002011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53301
53302 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53303 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53304 register in order to avoid conflicts with the soft frame pointer
53305 being held in r11 when necessary.
53306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53307 (INTERNAL_VSYSCALL_NCS): Likewise.
53308
c8835729
MP
533092011-07-14 Marek Polacek <mpolacek@redhat.com>
53310
53311 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53312 * elf/dl-fini.c (_dl_fini): Adjust caller.
53313 * elf/dl-close.c (_dl_close_worker): Likewise.
53314 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53315
b902330c
MP
533162011-07-15 Marek Polacek <mpolacek@redhat.com>
53317
8991e135
MP
53318 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53319 "aux_cache->nlibs < 0".
53320
b902330c
MP
53321 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53322 in the reload-count case.
53323
99710781
LD
533242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53325
53326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53327 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53328 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53329 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53330 * sysdeps/x86_64/multiarch/strcat.S: New file.
53331 * sysdeps/x86_64/multiarch/strncat.S: New file.
53332 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53333 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53334 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53335 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53336 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53337 (USE_AS_STRCAT): Define.
53338 Add strcat and strncat support.
53339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53340 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53341 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53342 * string/strncat.c: Update.
53343 (USE_AS_STRNCAT): Define.
53344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53345 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53346 and i7.
53347 * sysdeps/x86_64/multiarch/init-arch.h
53348 (bit_Prefer_PMINUB_for_stringop): New.
53349 (index_Prefer_PMINUB_for_stringop): Likewise.
53350 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53351 bit_Prefer_PMINUB_for_stringop.
53352
7dc6bd90
UD
533532011-07-19 Ulrich Drepper <drepper@gmail.com>
53354
53355 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53356 buffer64.
53357 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53358 of casting of buffer.
53359 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53360 buffer32 and buffer64.
53361 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53362 writes instead of casting of buffer.
53363 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53364 buffer32.
53365 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53366 casting of buffer.
53367
e0e72284
AS
533682011-07-19 Andreas Schwab <schwab@redhat.com>
53369
53370 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53371
feb1eb0b
UD
533722011-07-19 Ulrich Drepper <drepper@gmail.com>
53373
53374 * nscd/nscd.c (termination_handler): Don't do anything for a database
53375 if it has not yet been initialized.
53376
298711ff
UD
533772011-07-18 Ulrich Drepper <drepper@gmail.com>
53378
53379 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53380
533812011-07-15 Marek Polacek <mpolacek@redhat.com>
53382
53383 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53384
f9d68389
UD
533852011-07-18 Ulrich Drepper <drepper@gmail.com>
53386
53387 * po/nl.po: Update from translation team.
53388 * po/sv.po: Likewise.
53389
db290cf5
RM
533902011-07-16 Roland McGrath <roland@hack.frob.com>
53391
53392 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53393 now disallowed by GCC.
5c550700 53394
fd5e21c7
RM
53395 * configure.in (use-default-link): Default to yes if a test -shared
53396 link meets our qualifications.
53397 * configure: Regenerated.
53398
5c550700
RM
53399 * config.make.in (output-format): New variable.
53400 * configure.in: Check for ld --print-output-format support.
53401 * configure: Regenerated.
53402 * Makerules ($(common-objpfx)format.lds)
53403 [$(output-format) != unknown]: Just use $(output-format),
53404 instead of the linker-script munging.
53405
9fa2c032
RM
534062011-07-14 Roland McGrath <roland@hack.frob.com>
53407
a6928d51
RM
53408 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53409 of $(common-objpfx)shlib.lds.
53410 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53411
661607b3
RM
53412 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53413 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53414
9fa2c032
RM
53415 * configure.in (-z relro check): Adjust test code to add a large
53416 writable data section after it.
53417 * configure: Regenerated.
53418
defe9061
RM
534192011-07-11 Roland McGrath <roland@hack.frob.com>
53420
53421 * configure.in (-z relro check): Fix test code to make the variable
53422 truly const.
53423 * configure: Regenerated.
53424
319b9ad4
UD
534252011-07-11 Ulrich Drepper <drepper@gmail.com>
53426
53427 * nscd/nscd.h (struct traced_file): Define.
53428 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53429 elements. Add traced_files.
53430 (inotify_fd): Declare.
53431 (register_traced_file): Declare.
53432 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53433 (inotify_fd): Export.
53434 (resolv_conf_descr): Remove.
53435 (nscd_init): Move inotify descriptor creation to main.
53436 Don't register files for notification here.
53437 (register_traced_file): New function.
53438 (invalidate_cache): Don't use reset_res to determine whether to call
53439 res_init, go through the list of registered files.
53440 (main_loop_poll): The inotify descriptors are now stored in the
53441 structures for the traced files.
53442 (main_loop_epoll): Likewise
53443 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53444 to __nss_disable_nscd.
53445 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53446 for a database anymore. Check the records for all the registered
53447 files instead.
53448 * nss/Makefile (libnss_files-routines): Add files-init.
53449 (libnss_db-routines): Add db-init.
53450 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53451 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53452 * nss/nss_db/db-init.c: New file.
53453 * nss/nss_files/files-init.c: New file.
53454 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53455 __nss_lookup_function.
53456 (__nss_lookup_function): Call nss_load_library.
53457 (nss_load_all_libraries): New function.
53458 (__nss_disable_nscd): Take parameter with callback function for files
53459 to register. Set is_nscd. Load all the DSOs for the NSS modules
53460 used for the cached services.
53461 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53462 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53463 options for features to all the files in nscd.
53464
53465 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53466
23bee3e8
RM
534672011-07-10 Roland McGrath <roland@hack.frob.com>
53468
53469 * csu/elf-init.c (__libc_csu_init): Comment typo.
53470
46a5b7f0
UD
534712011-07-09 Ulrich Drepper <drepper@gmail.com>
53472
53473 * po/pl.po: Update from translation team.
53474 * po/ja.po: Likewise.
53475 * po/ru.po: Likewise.
53476 * po/ko.po: Likewise.
53477 * po/fr.po: Likewise.
53478
d30cf5bb
RM
534792011-07-09 Roland McGrath <roland@hack.frob.com>
53480
113ddea4
RM
53481 * configure.in (.ctors/.dtors header and trailer check):
53482 Use an empirical test on a built program.
53483 * configure: Regenerated.
53484
574920b4
RM
53485 * configure.in (-z relro check): Use an empirical test on a built DSO.
53486 Detect, but do not require, on ia64.
53487 * configure: Regenerated.
53488
d30cf5bb
RM
53489 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53490 Update tests that use readelf to use $READELF instead.
53491 * configure: Regenerated.
53492
8538fdb3
UD
534932011-07-08 Ulrich Drepper <drepper@gmail.com>
53494
53495 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53496 if the result is not used.
53497
04d08991
AJ
534982011-07-05 Andreas Jaeger <aj@suse.de>
53499
53500 [BZ#9696]
53501 * stdlib/tst-strtod.c: Add testcase.
53502
de283087
AD
535032011-07-07 Ulrich Drepper <drepper@gmail.com>
53504
4e5f31c8 53505 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53506 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53507 The latter has a higher limit. Take additional parameter to pass to
53508 the new function.
53509 (__pathconf): Pass file to __statfs_link_max.
53510 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53511 __statfs_link_max.
53512 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53513 __statfs_link_max.
53514
de283087
AD
53515 [BZ #12868]
53516 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53517 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53518 Handle Lustre.
53519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53520 (__statfs_filesize_max): Likewise.
53521 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53522
c75fa153
AJ
535232011-07-05 Andreas Jaeger <aj@suse.de>
53524
53525 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53526
1a544854
UD
535272011-07-06 Marek Polacek <mpolacek@redhat.com>
53528
53529 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53530 `status' variable.
53531 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53532 Likewise.
53533
6f0eec67
UD
535342011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53535
53536 * Makefile (strop-tests): Add strncat.
53537 * string/test-strncat.c: New file.
53538
aae30307
UD
535392011-06-30 Marek Polacek <mpolacek@redhat.com>
53540
53541 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53542
c0cfb5eb
UD
535432011-06-21 Andreas Jaeger <aj@suse.de>
53544
53545 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53546 Copy rule from iconvdata/Makefile.
53547
01636b21
UD
535482011-07-06 Ulrich Drepper <drepper@gmail.com>
53549
53550 [BZ #12922]
53551 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53552 but no long options are defined, just return 'W'.
53553
9895c8bc
UD
535542011-06-22 Marek Polacek <mpolacek@redhat.com>
53555
53556 [BZ #9696]
53557 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53558
5d4cf042
UD
535592011-07-06 Ulrich Drepper <drepper@gmail.com>
53560
53561 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53562 netgroups to read.
960e5535 53563 (innetgr): Likewise.
5d4cf042 53564
751eb97e
RM
535652011-07-05 Roland McGrath <roland@hack.frob.com>
53566
53567 * config.make.in (install_root): Default to $(DESTDIR).
53568
f15f1e45
UD
535692011-07-05 Ulrich Drepper <drepper@gmail.com>
53570
53571 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53572
4e34ac6a
RM
535732011-07-02 Roland McGrath <roland@hack.frob.com>
53574
5e9b6af4
RM
53575 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53576
84f9ea0f
RM
53577 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53578 containing directory rather than embedding absolute directory names.
53579
ea5ee9f7
RM
53580 * scripts/check-local-headers.sh: Rewritten using awk.
53581 Match by word, not by line. Print error messages for matches.
53582 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53583
1b74661a
RM
53584 * Makerules [shlib-lds-flags empty]:
53585 ($(common-objpfx)libc_pic.opts): New target.
53586 ($(common-objpfx)libc_pic.os.clean): New target.
53587 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53588
53589 * config.make.in (OBJCOPY): New variable.
53590 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53591 * configure: Regenerated.
53592
f781ef40
RM
53593 * config.make.in (use-default-link): New variable.
53594 * configure.in (use_default_link): Grok --with-default-link to set it.
53595 * configure: Regenerated.
53596 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53597 (shlib-lds, shlib-lds-flags): Define to empty.
53598
2d4fa81e
RM
53599 * Makerules (shlib-lds): New variable.
53600 (shlib-lds-flags): New variable.
53601 (build-shlib, build-moduile, build-module-asneeded): Use it.
53602 ($(common-objpfx)libc.so): Use $(shlib-lds).
53603 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53604 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53605
31fffa6b
RM
53606 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53607 DT_FLAGS/DT_FLAGS_1 with zero flags.
53608
4e34ac6a
RM
53609 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53610 linker script munging.
53611
fcfc776b
UD
536122011-07-02 Ulrich Drepper <drepper@gmail.com>
53613
53614 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53615 as 128-bit value.
53616 * crypt/sha512.c (sha512_process_block): Perform total addition using
53617 128-bit if possible.
53618 (__sha512_finish_ctx): Likewise.
53619 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53620 as 64-bit value.
53621 * crypt/sha256.c (SWAP64): Define.
53622 (sha256_process_block): Perform total addition using 64-bit if
53623 possible.
53624 (__sha256_finish_ctx): Likewise.
53625
99231d9a
UD
536262011-07-01 Ulrich Drepper <drepper@gmail.com>
53627
53628 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53630 * nscd/hstcache.c (cache_addhst): Likewise.
53631 * nscd/grpcache.c (cache_addgr): Likewise.
53632 * nscd/aicache.c (addhstaiX): Likewise
53633 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53634
445b4a53
TK
536352011-07-01 Thorsten Kukuk <kukuk@suse.de>
53636
53637 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53638 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53639 * nscd/hstcache.c (cache_addhst): Likewise.
53640 * nscd/grpcache.c (cache_addgr): Likewise.
53641 * nscd/aicache.c (addhstaiX): Likewise
53642
6d4d8e8e
AS
536432011-07-01 Andreas Schwab <schwab@redhat.com>
53644
53645 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53646 domain only when needed.
53647
89f654c5
AS
536482011-06-30 Andreas Schwab <schwab@redhat.com>
53649
53650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53651 is always restored.
53652
cf3b23ff
UD
536532011-06-29 Ulrich Drepper <drepper@gmail.com>
53654
53655 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53656 are re-adding the entry.
53657 * nscd/servicescache.c (cache_addserv): Likewise.
53658
751626f9
AJ
536592011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53660
53661 * sysdeps/generic/dl-irel.h: fix protection against multiple
53662 inclusions.
53663 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53664
9113ea1f
UD
536652011-06-28 Ulrich Drepper <drepper@gmail.com>
53666
5c0b8d90
UD
53667 [BZ #12935]
53668 * malloc/memusage.sh: Fix quoting in message.
53669 * debug/xtrace.sh: Likewise.
53670
9113ea1f
UD
53671 * configure.in: Remove support for --experimental-malloc option, make
53672 it the default.
53673 * config.make.in: Likewise.
53674 * malloc/Makefile: Likewise.
53675
a4172181
AS
536762011-06-27 Andreas Schwab <schwab@redhat.com>
53677
53678 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53679 two-byte characters.
53680
78a7eee7
RM
536812011-06-27 Roland McGrath <roland@hack.frob.com>
53682
62bede13
RM
53683 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53684 AC_CACHE_CHECK invocation.
53685 * configure: Regenerated.
53686
78a7eee7
RM
53687 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53688
5ce33a62
UD
536892011-06-27 Ulrich Drepper <drepper@gmail.com>
53690
034807a9
UD
53691 [BZ #12350]
53692 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53693 bit from old_res_options.
53694
4902da17
UD
53695 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53696
5ce33a62
UD
53697 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53698 value type for setfct.
53699
c2344f56
L
537002011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53701
53702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53703 __gettimeofday instead of gettimeofday.
53704
68468076
UD
537052011-06-26 Ulrich Drepper <drepper@gmail.com>
53706
53707 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53708
acb0d739
L
537092011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53710
53711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53712
53713 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53714 info.
53715
8912479f
L
537162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53717
53718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53719 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53720 strcpy-sse2-unaligned strncpy-sse2-unaligned
53721 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53722 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53723 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53724 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53725 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53727 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53728 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53729 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53730 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53731 (STRCPY): Support SSE2 and SSSE3 versions.
53732
d5495a11
UD
537332011-06-24 Ulrich Drepper <drepper@gmail.com>
53734
53735 [BZ #12874]
53736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53737 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53738 kernels which artificially limit size of requests.
53739
0b1cbaae
L
537402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53741
53742 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53743 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53744 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53745 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53746 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53747 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53748 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53749 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53750 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53752 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53753 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53754 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53755 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53756 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53758 Enable unaligned load optimization for Intel Core i3, i5 and i7
53759 processors.
53760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53761 Define.
53762 (index_Fast_Unaligned_Load): Define.
53763 (HAS_FAST_UNALIGNED_LOAD): Define.
53764
07f494a0
MP
537652011-06-23 Marek Polacek <mpolacek@redhat.com>
53766
53767 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53768
fa3fc0fe
UD
537692011-06-22 Ulrich Drepper <drepper@gmail.com>
53770
53771 [BZ #12907]
53772 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53773 until it is clear that the information is realy needed.
53774 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53775
e12df166
AS
537762011-06-22 Andreas Schwab <schwab@redhat.com>
53777
53778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53779
852eb34d
UD
537802011-06-22 Ulrich Drepper <drepper@gmail.com>
53781
84e2a551
UD
53782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53783 /sys/devices/system/cpu/online if it is usable.
53784
852eb34d
UD
53785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53786 reading the information from the /proc filesystem to once a second.
53787
6e502e19
UD
537882011-06-21 Andreas Jaeger <aj@suse.de>
53789
53790 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53791 NULL after inclusion of kernel headers.
53792
75d39ff2
UD
537932011-06-21 Ulrich Drepper <drepper@gmail.com>
53794
51f9aa6a
UD
53795 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53796 calls to internal_setent.
53797
c0244a9d
UD
53798 [BZ #12885]
53799 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53800 addresses using gethostbyname4_r ignore IPv4 addresses.
53801
c5e3c2ae
UD
53802 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53803 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53804
75d39ff2
UD
53805 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53806
42675c6f
DM
538072011-06-20 David S. Miller <davem@davemloft.net>
53808
53809 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53810 inclusions.
53811 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53812
53813 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53814 (elf_irel): Use it.
53815 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53816 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53817 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53818 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53819 * sysdeps/x86_64/dl-irel.h: Likewise.
53820
53821 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53822 * elf/dl-sym.c: Likewise.
53823
57912a71
UD
538242011-06-15 Ulrich Drepper <drepper@gmail.com>
53825
53826 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53827 need to dereference resplen2.
53828
ee22793d
AS
538292011-06-14 Andreas Schwab <schwab@redhat.com>
53830
53831 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53832
a9e836b0
UD
538332011-06-15 Ulrich Drepper <drepper@gmail.com>
53834
77fb9117
UD
53835 * Makeconfig: Define vardbdir and inst_vardbdir.
53836 * nss/Makefile: Add rules to install db-Makefile.
53837
40c1b22c
UD
53838 * nss/nss_db/db-XXX.c: Cleanup.
53839
9f2da732
UD
53840 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53841 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53842 GLIBC_PRIVATE.
53843 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53844 * nss/makedb.c: Implement -g option to specify that value strings
53845 are generated and should not be added to table iterated over for
53846 get*ent calls.
53847 * nss/nss_db/db-initgroups.c: New file.
53848
82e9a1f7
UD
53849 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53850 interface.
53851
c41af17e
UD
53852 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53853 (internal_getgrouplist): Adjust to name change.
53854 Update use_initgroups_entry if this is not the first call.
53855 * nss/databases.def: Add initgroups entry.
53856
a9e836b0
UD
53857 * nss/makedb.c (compute_tables): Check result of multiple hash table
53858 sizes to minimize maximum chain length.
53859
2666d441
UD
538602011-06-14 Ulrich Drepper <drepper@gmail.com>
53861
53862 * Versions.def: Add entry for libnss_db.
53863 * shlib-versions: Likewise.
53864 * nss/Makefile: Add rules to build libnss_db.
53865 * nss/Versions: Add libnss_db information. Organize libnss_files
53866 entries better.
53867 * nss/db-Makefile: Add gshadow support. Change rules for the new
53868 makedb progra. Some minor improvements to generate smaller files.
53869 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53870 here from...
53871 * nss/makedb.c: ...here.
53872 Improve database format to be smaller and require less memory at
53873 runtime.
53874 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53875 db anymore.
53876 * nss/nss_db/db-netgrp.c: Likewise.
53877 * nss/nss_db/db-open.c: Likewise.
53878 * nss/nss_files/flies-XXX.x: Adjust comments.
53879 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53880 * nss/nss_files/files-grp.c: Likewise.
53881 * nss/nss_files/files-hosts.c: Likewise.
53882 * nss/nss_files/files-network.c: Likewise.
53883 * nss/nss_files/files-proto.c: Likewise.
53884 * nss/nss_files/files-pwd.c: Likewise.
53885 * nss/nss_files/files-rpc.c: Likewise.
53886 * nss/nss_files/files-service.c: Likewise.
53887 * nss/nss_files/files-sgrp.c: Likewise.
53888 * nss/nss_files/files-spwd.c: Likewise.
53889 * nss/nss_db/db-alias.c: Removed.
53890 * nss/nss_db/dummy-db.h: Removed.
53891
9ee76b5a
UD
538922011-06-02 Ulrich Drepper <drepper@gmail.com>
53893
53894 * nss/makedb.c: Rewritten to not use database library.
53895 * nss/Makefile: Update to build new makedb program.
53896
c71ca1f8
AJ
538972011-06-14 Andreas Jaeger <aj@suse.de>
53898
53899 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53900 memset declaration.
53901
3154bfb8
UD
539022011-06-10 Andreas Schwab <schwab@redhat.com>
53903
53904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53905 tmpbuf.
53906
b350afab
RM
539072011-06-10 Roland McGrath <roland@hack.frob.com>
53908
decd4e50
RM
53909 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53910 * elf/Makefile ($(objpfx)ld.so): Likewise.
53911
5615eaf2
RM
53912 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53913 Don't list ld.so twice in dependencies.
53914
53915 * posix/bug-regex31.c: Include <stdlib.h>.
53916
53917 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53918
53919 * nis/nss_compat/compat-spwd.c
53920 (getspent_next_nss_netgr): Remove unused variable.
53921 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53922
53923 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53924 nonmembers" output to use the right array.
53925
53926 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53927
53928 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53929
53930 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53931 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53932 * catgets/gencat.c (read_input_file): Likewise.
53933 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53934
53935 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53936 variable definition inside #if's controlling its use.
53937
53938 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53939
53940 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53941
53942 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53943
53944 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53945 unreachable code.
53946
53947 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53948
b68e08db
RM
53949 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53950 * configure: Regenerated.
53951
b350afab
RM
53952 * Makerules: Revert last change.
53953 * elf/Makefile: Likewise.
53954
28368601
RM
539552011-06-09 Roland McGrath <roland@hack.frob.com>
53956
53957 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53958 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53959 (reloc-link): Likewise.
53960
11988f8f
UD
539612011-06-09 Ulrich Drepper <drepper@gmail.com>
53962
53963 * elf/Makefile: Add rules to build pldd.
53964 * elf/pldd.c: New file.
53965 * elf/pldd-xx.c: New file.
53966
e80fab37
UD
539672011-06-07 Ulrich Drepper <drepper@gmail.com>
53968
53969 * version.h: Update for 2.15 development version.
53970
9b849836
DM
539712011-06-07 David S. Miller <davem@davemloft.net>
53972
53973 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53974 ifuncs.
53975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53976 elf_machine_lazy_rel): Likewise.
53977 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53979 elf_machine_lazy_rel): Likewise.
53980 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53981 dl_hwcap via passed in argument.
53982 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53983 Likewise.
53984
5a31b283
AK
539852011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53986
53987 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53988
069e52f8
RM
539892011-06-06 Roland McGrath <roland@hack.frob.com>
53990
53991 [BZ #12849]
53992 * manual/fdl-1.1.texi: New file, verbatim from:
53993 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53994 * manual/lgpl-2.1.texi: New file, verbatim from:
53995 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53996 * manual/Makefile (licenses): New variable, list those new file names.
53997 (texis): Use it.
53998 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53999
54000 * manual/fdl.texi: File removed.
54001 * manual/lesser.texi: File removed.
54002 * manual/libc.texinfo (Copying, Documentation License):
54003 Use new @include file names, put @appendix directive before @include.
54004
f16846a5
JJ
540052011-06-04 Jakub Jelinek <jakub@redhat.com>
54006
54007 [BZ #12841]
54008 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54009 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54010 (mq_open): Add __NTH.
54011
3d29045b
L
540122011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54013
54014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54015 Assume Intel Core i3/i5/i7 processor if AVX is available.
54016
8c297311
UD
540172011-05-31 Ulrich Drepper <drepper@gmail.com>
54018
54019 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54020 typo.
54021
c8fc0c91
UD
540222011-05-31 Andreas Schwab <schwab@redhat.com>
54023
54024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54025 memory. Use alloca_account. Fix memory leak when retrying.
54026
5b27a807
UD
540272011-05-31 Ulrich Drepper <drepper@gmail.com>
54028
356f8bc6
UD
54029 * version.h (RELEASE): Bump for 2.14 release.
54030 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54031
5b27a807
UD
54032 * config.make.in (RANLIB): Remove entry.
54033
01f16ab0
UD
540342011-05-30 Ulrich Drepper <drepper@gmail.com>
54035
41fce8bd
UD
54036 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54037 (libc.pot): Work around missing support for .ksh extension in xgettext.
54038
4769ae77
UD
54039 [BZ #12684]
54040 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54041 if both request failed.
54042 (send_dg): In case of server errors clear resplen or *resplen2.
54043
6b1e7d19
UD
54044 [BZ #12454]
54045 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54046 when there are multiple maps.
54047 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54048 (_dl_fini): Remove test here.
54049
01f16ab0
UD
54050 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54051
b1ebd700
UD
540522011-05-29 Ulrich Drepper <drepper@gmail.com>
54053
7ae22829
UD
54054 [BZ #12350]
54055 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54056 bit from old_res_options.
54057 (gaih_inet): Likewise.
54058
553149f6 54059 [BZ #11099]
18a84741 54060 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54061 as signed.
54062
652ffab1
UD
54063 * resolv/res_init.c (res_setoptions): Make the code more compact.
54064
16985fd0
UD
54065 [BZ #11558]
54066 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54067 set RES_USEVC.
54068
0464f746
UD
54069 [BZ #11634]
54070 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54071
7d17596c
UD
54072 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54073
cf6bbbd7
UD
54074 [BZ #11781]
54075 * malloc/malloc.h: Declare malloc hook variables as volatile.
54076
13f1ab36
UD
54077 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54078 in last patch.
54079
b1ebd700
UD
54080 [BZ #11799]
54081 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54082 raise in the comment.
80e2212d
UD
54083 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54084 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54085 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54086
ce67228d
UD
540872011-05-28 Ulrich Drepper <drepper@gmail.com>
54088
8887a920
UD
54089 [BZ #12811]
54090 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54091 grow the buffers more if it already has to be sufficient.
54092 (build_wcs_upper_buffer): Likewise.
54093 * posix/regexec.c (check_matching): Likewise.
54094 (clean_state_log_if_needed): Likewise.
54095 (extend_buffers): Don't enlarge buffers beyond size of the input
54096 buffer.
54097 Patches mostly by Emil Wojak <emil@wojak.eu>.
54098 * posix/bug-regex32.c: New file.
54099 * posix/Makefile (tests): Add bug-regex32.
54100
4f031072
UD
54101 * locale/findlocale.c (_nl_find_locale): Return right away if
54102 _nl_explode_name failed.
54103 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54104
d0478f0c
UD
54105 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54106
de81b246
UD
54107 * debug/xtrace.sh: Unify messages.
54108 * malloc/memusage.sh: Likewise.
54109
c738465a
UD
54110 [BZ #12813]
54111 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54112 time symbol from vDSO. Substitute with vsyscall if not available.
54113 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54114 __vdso_time.
54115
f1f929d7
UD
54116 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54117 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54118 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54119 Add sendmmsg and internal_sendmmsg.
54120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54122 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54123
ce67228d
UD
54124 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54125 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54126 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54127
e57420c6
UD
541282011-05-27 Ulrich Drepper <drepper@gmail.com>
54129
a8509ca5
UD
54130 [BZ #12813]
54131 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54132 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54133 available.
54134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54135 __vdso_getcpu.
54136
e57420c6
UD
54137 [BZ #12814]
54138 * iconvdata/Makefile (tests): Add bug-iconv9.
54139 * iconvdata/bug-iconv9.c: New file.
54140
4d07db15
AS
541412011-05-27 Andreas Schwab <schwab@redhat.com>
54142
54143 [BZ #12814]
54144 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54145
ea486f69
JJ
541462011-05-25 Jakub Jelinek <jakub@redhat.com>
54147
54148 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54149 (struct user_regs_struct): Change intcs field back to cs.
54150
6f038433
UD
541512011-05-25 Ulrich Drepper <drepper@gmail.com>
54152
54153 * po/ja.po: Update from translation team.
54154
67f86a25
UD
541552011-05-23 Ulrich Drepper <drepper@gmail.com>
54156
54157 [BZ #12795]
54158 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54159 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54160
def7fbd6
AS
541612011-05-20 Andreas Schwab <schwab@redhat.com>
54162
54163 * stdlib/longlong.h: Update from GCC.
54164
f50ef8f1
AS
541652011-05-23 Andreas Schwab <schwab@redhat.com>
54166
54167 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54168 parameter name.
54169 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54170 Add parameter name.
54171 (__sysconf): Pass it down.
54172
de7ce8f1
UD
541732011-05-22 Ulrich Drepper <drepper@gmail.com>
54174
f2962a71
UD
54175 [BZ #12671]
54176 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54177 some situations.
54178 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54179 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54180 add in in __libc_use_alloca calls. Adjust callers.
54181 (glob): Use malloc in some situations.
54182
de7ce8f1
UD
54183 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54184 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54185 pltexit.
54186
aec84f53
UD
541872011-05-21 Ulrich Drepper <drepper@gmail.com>
54188
05bb4a68
UD
54189 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54190 and CLOCK_BOOTTIME_ALARM.
54191
7ea72f99
UD
54192 [BZ #12782]
54193 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54194 is returned.
54195
7e4afad5
UD
54196 * string/_strerror.c (__strerror_r): Print negative errors as signed
54197 numbers.
54198
8e211fec
UD
54199 [BZ #12777]
54200 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54201 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54202 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54203
f7d82dc9
UD
54204 * configure.in: Fix typo in redirection and correct removal of test
54205 files in two cases.
54206
cc9e536d
UD
54207 [BZ #12788]
54208 * locale/setlocale.c (new_composite_name): Fix test to check for
54209 identical name of all categories.
54210
aec84f53
UD
54211 [BZ #12792]
54212 * libio/filedoalloc.c (local_isatty): New function.
54213 (_IO_file_doallocate): Use local_isatty.
54214 * stdio-common/perror.c (perror): In case a new stream is used
54215 forward the stream error.
54216 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54217 error flag.
54218
78e64fdc
RT
542192011-05-20 Ulrich Drepper <drepper@gmail.com>
54220
34a9094f
UD
54221 [BZ #11869]
54222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54223 alloca.
54224 * include/alloca.h (extend_alloca_account): Define.
54225
78e64fdc
RT
54226 [BZ #11857]
54227 * posix/regex.h: Fix comments with documentation of user-accessible
54228 fields after compilation and describe correct free'ing of pattern
54229 after re_compile_pattern.
54230 Patch by Reuben Thomas <rrt@sc3d.org>.
54231
457bddfc
RA
542322011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54233
54234 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54235 and -mno-altivec to prevent the compiler from using Altivec and/or
54236 VSX instructions when the corresponding registers are not available.
54237
a4527b51
AS
542382011-05-19 Andreas Schwab <schwab@redhat.com>
54239
54240 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54241
ed690b2f
UD
542422011-05-19 Ulrich Drepper <drepper@gmail.com>
54243
54244 * libio/freopen.c (freopen): Use __dup2, not dup2.
54245 * libio/freopen64.c (freopen64): Likewise.
54246
8db73634
L
542472011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54248
54249 [BZ #12775]
54250 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54251 * math/Makefile (tests): Add test-powl.
54252 (CFLAGS-test-powl.c): Define.
54253 * math/test-powl.c: New file.
54254
0a197a9d
L
542552011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54256
54257 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54258
ee30c380
UD
542592011-05-17 Ulrich Drepper <drepper@gmail.com>
54260
54261 [BZ #11837]
54262 * iconvdata/gb18030.c: Update to GB18020-2005.
54263
6ce75379
UD
542642011-05-16 Ulrich Drepper <drepper@gmail.com>
54265
a4b89fd8
AR
54266 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54267 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54268 Patch by Aharon Robbins <arnold@skeeve.com>.
54269
ea389b12
UD
54270 [BZ #11892]
54271 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54272 on the stack.
54273
68a3f91f
UD
54274 [BZ #11895]
54275 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54276 through underflows.
54277
15cc7dd1
UD
54278 [BZ #12766]
54279 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54280 point to strings before performing equality test for error_one_per_line
54281 mode.
54282
f3799213
UD
54283 [BZ #11697]
54284 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54285
d79a9c94
UD
54286 [BZ #11820]
54287 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54288 (struct user_fpregs_struct): Avoid __uint*_t types.
54289
56e5eb46
UD
54290 [BZ #6420]
54291 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54292 symbol info. Use it instead of calling _dl_addr locally.
54293 (lock_and_info): New function.
54294 (tr_freehook): Call lock_and_info and pass symbol info as additional
54295 parameter to tr_where.
54296 (tr_mallochook): Likewise.
54297 (tr_reallochook): Likewise.
54298 (tr_memalignhook): Likewise.
54299
6ce75379
UD
54300 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54301 used and couldn't be at all thread-safe.
54302
f8a3b5bf
UD
543032011-05-15 Ulrich Drepper <drepper@gmail.com>
54304
94b7cc37
UD
54305 * libio/freopen.c (freopen): Don't close old file descriptor
54306 before the new one is opened. Instead dup the new file descriptor
54307 to the old one after the new stream is created.
54308 * libio/freopen64.c (freopen64): Likewise.
54309 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54310 * libio/fileops.c (_IO_new_file_close_it): Handle new
54311 _IO_FLAGS2_NOCLOSE flag.
54312 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54313 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54314 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54315 _IO_FLAGS2_NOCLOSE flag.
54316 * include/unistd.h: Add hidden_proto for dup3.
54317 Define __have_dup3.
54318 * io/dup3.c: Define hidden symbol.
54319 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54320
bd25564e
UD
54321 [BZ #7101]
54322 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54323 when an incomplete long option is used.
54324 * posix/tst-getopt_long1.c: New file.
54325 * posix/Makefile (tests): Add tst-getopt_long1.
54326
c84cfef4
UD
54327 [BZ #10138]
54328 * scripts/config.guess: Update from autoconf-2.68.
54329 * scripts/config.sub: Likewise.
54330
3b85df27
UD
54331 [BZ #10157]
54332 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54333 tests into ...
54334 (has_cpuclock): ...this. New function.
54335 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54336 macro here based on has_cpuclock code.
54337
15a856b1
UD
54338 [BZ #10149]
54339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54340 First byte (not low byte) is now always NUL.
54341 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54342
05f399e6
UD
54343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54344 Use non-cancelable interfaces.
54345
10a52685 54346 [BZ #9809]
94ecc67d
UD
54347 * locale/iso-639.def: Add entry for Sorani.
54348
f8a3b5bf
UD
54349 [BZ #11901]
54350 * include/stdlib.h: Move include protection to the right place.
54351 Define abort_msg_s. Declare __abort_msg with it.
54352 * stdlib/abort.c (__abort_msg): Adjust type.
54353 * assert/assert.c (__assert_fail_base): New function. Majority
54354 of code from __assert_fail. Allocate memory for __abort_msg with
54355 mmap.
54356 (__assert_fail): Now call __assert_fail_base.
54357 * assert/assert-perr.c: Remove bulk of implementation. Use
54358 __assert_fail_base.
54359 * include/assert.hL Declare __assert_fail_base.
54360 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54361 mmap.
54362 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54363
1af4e298
UD
543642011-05-14 Ulrich Drepper <drepper@gmail.com>
54365
f8a3b5bf 54366 [BZ #11952]
d26dfc60
MG
54367 [BZ #12453]
54368 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54369 until all modules are registered in the DTV.
54370 * elf/Makefile: Add rules to build and run tst-tls19.
54371 * elf/tst-tls19.c: New file.
54372 * elf/tst-tls19mod1.c: New file.
54373 * elf/tst-tls19mod2.c: New file.
54374 * elf/tst-tls19mod3.c: New file.
54375 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54376
2fc54d6f
UD
54377 [BZ #12083]
54378 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54379 correctly.
54380
98d76b46
UD
54381 [BZ #12601]
54382 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54383 two-byte sequence errors.
54384 * iconvdata/Makefile (tests): Add bug-iconv8.
54385 * iconvdata/bug-iconv8.c: New file.
54386
da3c19ef
UD
54387 [BZ #12626]
54388 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54389 buf2 definition.
54390
ca408c15
UD
54391 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54392
d6f67f7d
UD
54393 [BZ #12432]
54394 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54395 (dummy_getcfa): New function.
54396 (init): Get _Unwind_GetCFA address, use dummy if not found.
54397 (backtrace_helper): In recursion check, also check whether CFA changes.
54398 (__backtrace): Completely initialize arg.
54399
1af4e298 54400 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54401 storing incomplete byte sequence in state object. Avoid testing for
54402 guaranteed too small input if we know there is enough data available.
1af4e298 54403
da62f81b
AS
544042011-05-11 Andreas Schwab <schwab@redhat.com>
54405
54406 * Makeconfig (+link-pie): Indent.
54407 * Rules (binaries-pie): Define if $(have-fpie) and
54408 $(build-shared).
54409 (binaries-shared): Also filter out $(binaries-pie).
54410 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54411 * nscd/Makefile (others-pie): Add nscd.
54412 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54413 ($(objpfx)nscd): Remove command override.
54414 * login/Makefile (others-pie): Add pt_chown.
54415 ($(objpfx)pt_chown): Remove command override.
54416 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54417 remove command overrides.
54418
fcabc0f8
UD
544192011-05-13 Ulrich Drepper <drepper@gmail.com>
54420
20030ae6
UD
54421 * libio/tst_putwc.c: Fix error messages.
54422
fcabc0f8
UD
54423 [BZ #12724]
54424 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54425 currently writing and seek to current position when not.
54426 * libio/Makefile (tests): Add bug-fclose1.
54427 * libio/bug-fclose1.c: New file.
54428
320a5dc0
PB
544292011-05-12 Ulrich Drepper <drepper@gmail.com>
54430
54431 [BZ #12511]
54432 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54433 don't set DF_1_NODELETE here.
54434 (do_lookup_x): When entering new entry test for copy relocation
54435 and if necessary set DF_1_NODELETE flag.
54436 * elf/tst-unique4.cc: New file.
54437 * elf/tst-unique4.h: New file.
54438 * elf/tst-unique4lib.cc: New file.
54439 * elf/Makefile: Add rules to build and run tst-unique4.
54440 Patch by Piotr Bury <pbury@goahead.com>.
54441
22836f52
UD
544422011-05-11 Ulrich Drepper <drepper@gmail.com>
54443
f574184a
UD
54444 [BZ #12052]
54445 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54446
e1fb097f
UD
54447 [BZ #12625]
54448 * misc/mntent_r.c (addmntent): Flush the stream after the output
54449
22836f52
UD
54450 [BZ #12393]
54451 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54452 (is_trusted_path_normalize): Skip initial colon. Append slash
54453 to empty buffer. Duplicate is_trusted_path code but allow
54454 constructed patch to be prefix.
54455 (is_dst): Allow $ORIGIN followed by /.
54456 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54457 Correct testing of result of is_trusted_path_normalize
54458 (decompose_rpath): Fix warning.
54459
7b3b0b2a
UD
544602011-05-10 Ulrich Drepper <drepper@gmail.com>
54461
54462 [BZ #11257]
54463 * grp/initgroups.c (internal_getgrouplist): When we found the service
54464 list through the initgroups entry in nsswitch.conf do not always
54465 continue on a successful lookup. Don't always use the
eac80ce2 54466 __nss_group_database value if it is set.
7b3b0b2a
UD
54467 * nss/nsswitch.conf (initgroups): Change action for successful db
54468 lookup to continue for compatibility.
54469
2a81eaa5
UD
544702011-05-09 Ulrich Drepper <drepper@gmail.com>
54471
be97a69e
UD
54472 [BZ #11532]
54473 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54474 and CP774 modules.
54475 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54476 and CP774 modules.
54477 * iconvdata/tst-tables.sh: Likewise.
54478 * iconvdata/cp770.c: New file.
54479 * iconvdata/cp771.c: New file.
54480 * iconvdata/cp772.c: New file.
54481 * iconvdata/cp773.c: New file.
54482 * iconvdata/cp774.c: New file.
54483 * iconvdata/testdata/CP770: New file.
54484 * iconvdata/testdata/CP770..UTF8: New file.
54485 * iconvdata/testdata/CP771: New file.
54486 * iconvdata/testdata/CP771..UTF8: New file.
54487 * iconvdata/testdata/CP772: New file.
54488 * iconvdata/testdata/CP772..UTF8: New file.
54489 * iconvdata/testdata/CP773: New file.
54490 * iconvdata/testdata/CP773..UTF8: New file.
54491 * iconvdata/testdata/CP774: New file.
54492 * iconvdata/testdata/CP774..UTF8: New file.
54493
54494 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54495 END CHARMAP line.
54496 * iconvdata/gen-8bit-gap.sh: Likewise.
54497 * iconvdata/gen-8bit.sh: Likewise.
54498
c1e9e399
UD
54499 * locale/iso-639.def: Add ary entry.
54500
24c55fb3 54501 [BZ #11258]
96b4b1b0
UD
54502 * locale/C-translit.h.in: Add U20A1 transliteration.
54503
bdc2f971
KB
54504 [BZ #12178]
54505 * locale/iso-639.def: Add wae entry.
54506 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54507
2952b117
UD
54508 [BZ #12545]
54509 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54510 for n.
54511
2a81eaa5
UD
54512 [BZ #12711]
54513 * locale/C-translit.h.in: Add entry for U20B9.
54514 Patch by pravin.d.s@gmail.com.
54515
28377d1b
UD
545162011-05-08 Ulrich Drepper <drepper@gmail.com>
54517
7fb90fb8
UD
54518 [BZ #12713]
54519 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54520 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54521 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54522 in rtld. Use *stat64.
7fb90fb8 54523 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54524 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54525 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54526 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54527 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54528 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54529 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54530 __fstatat64 macros.
7fb90fb8
UD
54531 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54532 * dirent/rewinddir.c: Add libc_hidden_def.
54533 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54534 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54535
28377d1b
UD
54536 * include/dirent.h (__alloc_dir): Add flags parameter.
54537 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54538 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54539 __alloc_dir.
54540 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54541 from fdopendir if O_CLOEXEC is already set.
54542
66bdbaa4
AM
545432011-03-15 Alan Modra <amodra@gmail.com>
54544
54545 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54546 l_tls_firstbyte_offset non-zero. Save padding offset in
54547 l_tls_firstbyte_offset for later use.
54548 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54549 freeing static tls block.
54550
95721191
JN
545512011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54552
54553 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54554 where #ifdef was intended. The intent is to prevent ARG_MAX from
54555 being defined by the kernel headers.
54556
f87dfb1f
UD
545572011-05-07 Ulrich Drepper <drepper@gmail.com>
54558
54559 [BZ #12734]
54560 * resolv/resolv.h: Define RES_NOTLDQUERY.
54561 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54562 no-tld-query and set RES_NOTLDQUERY.
54563 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54564 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54565 modern BIND to search name as TLD unless forbidden.
54566
47c3cd7a
UD
545672011-05-07 Petr Baudis <pasky@suse.cz>
54568 Ulrich Drepper <drepper@gmail.com>
54569
54570 [BZ #12393]
54571 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54572 (is_trusted_path): ...to here.
c1e9ea35 54573 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54574 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54575 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54576
8a35c912
PP
545772011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54578
54579 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54580 __BEGIN/__END_DECLS.
54581
acd41f47
UD
545822011-05-06 Ulrich Drepper <drepper@gmail.com>
54583
54584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54585 NSS_STATUS_NOTFOUND if no record was found.
54586
597df647
AS
545872011-05-05 Andreas Schwab <schwab@redhat.com>
54588
54589 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54590 (headers-not-in-tirpc): Remove rpc/netdb.h
54591 * resolv/netdb.h: Revert last change.
54592
b9af1301
PP
545932011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54594
54595 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54596 circular dependency between libgcc.a and libc.a.
54597
4e34d5f5
AS
545982011-05-05 Andreas Schwab <schwab@redhat.com>
54599
54600 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54601 * nis/Makefile: Don't install rpcsvc/*.
54602 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54603 instead of <rpc/types.h>.
54604 (MAXHOSTNAMELEN): Define.
54605
00ee369c
AS
546062011-05-03 Andreas Schwab <schwab@redhat.com>
54607
54608 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54609
0b592a30
MB
546102011-04-28 Maciej Babinski <mbabinski@google.com>
54611
54612 [BZ #12714]
54613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54614 gethostbyname4_r when IPv6 results are possible.
54615
6e04cbbe
UD
546162011-05-02 Ulrich Drepper <drepper@gmail.com>
54617
54618 [BZ #12723]
54619 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54620 _PC_PIPE_BUF handling.
54621
e4ecafe0
BH
546222011-04-30 Bruno Haible <bruno@clisp.org>
54623
54624 [BZ #12717]
54625 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54626 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54627 to 'int'.
54628 * inet/getnameinfo.c (getnameinfo): Likewise.
54629
125ee683
UD
546302011-04-29 Ulrich Drepper <drepper@gmail.com>
54631
54632 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54633 to groups setting in database lookup.
54634 * nss/nsswitch.conf: Add initgroups entry.
54635
b722481a
EB
546362011-04-22 Ulrich Drepper <drepper@gmail.com>
54637
54638 [BZ #12685]
54639 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54640 mode string.
54641 Patch by Eric Blake <eblake@redhat.com>.
54642
4df46dbd
L
546432011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54644
54645 * sunrpc/Makefile (need-export-routines): Add svc_run.
54646 (routines): Remove svc_run.
54647 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54648 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54649 * sunrpc/svc_run.c (svc_run): Likewise.
54650 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54651
e84142d2
UD
546522011-04-21 Ulrich Drepper <drepper@gmail.com>
54653
54654 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54655 problem in reallocation in last patch.
54656
877175d8
UD
546572011-04-20 Ulrich Drepper <drepper@gmail.com>
54658
54659 * sunrpc/Makefile: Move inclusion of Rules.
54660
ab8eed78
UD
546612011-04-19 Ulrich Drepper <drepper@gmail.com>
54662
54663 * nss/nss_files/files-initgroups.c: New file.
54664 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54665 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54666 _nss_files_initgroups_dyn.
54667
e3d8f584
RS
546682011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54669
54670 * elf/elf.h (R_ARM_IRELATIVE): Define.
54671
af190f45
UD
546722011-04-19 Ulrich Drepper <drepper@gmail.com>
54673
54674 * po/ru.po: Update from translation team.
54675
53cf59ef
UD
546762011-04-17 Ulrich Drepper <drepper@gmail.com>
54677
54678 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54679 dependencies.
54680
4c559bcd
MF
546812011-02-06 Mike Frysinger <vapier@gentoo.org>
54682
54683 [BZ #12653]
54684 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54685 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54687 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54689
4420675c
AS
546902011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54691
54692 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54693 differing bytes.
54694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54695 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54697
75ea32ab
UD
546982011-04-17 Ulrich Drepper <drepper@gmail.com>
54699
54700 [BZ #12420]
54701 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54702 storing it.
54703 * stdlib/bug-getcontext.c: New file.
54704 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54705
27390476
AK
547062011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54707
54708 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54709 instructions into .machine "z9-109".
54710 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54711 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54712
10442705
AK
547132011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54714
54715 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54716 between environment variables and auxiliary vector.
54717
7b57bfe5
UD
547182011-04-16 Ulrich Drepper <drepper@gmail.com>
54719
54720 * Makefile: Add rules to build linkobj/libc.so.
54721 * include/libc-symbols.h: Define libc_hidden_nolink.
54722 * include/rpc/auth.h: Mark functions which are to be hidden.
54723 * include/rpc/auth_des.h: Likewise.
54724 * include/rpc/auth_unix.h: Likewise.
54725 * include/rpc/clnt.h: Likewise.
54726 * include/rpc/des_crypt.h: Likewise.
54727 * include/rpc/key_prot.h: Likewise.
54728 * include/rpc/pmap_clnt.h: Likewise.
54729 * include/rpc/pmap_prot.h: Likewise.
54730 * include/rpc/pmap_rmt.h: Likewise.
54731 * include/rpc/rpc_msg.h: Likewise.
54732 * include/rpc/svc.h: Likewise.
54733 * include/rpc/svc_auth.h: Likewise.
54734 * include/rpc/xdr.h: Likewise.
54735 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54736 * nss/Makefile: Likewise.
54737 * sunrpc/Makefile: Don't install headers. Build library with normal
54738 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54739 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54740 for the compat linking library. Remove use of INTDEF/INTUSE.
54741 * sunrpc/auth_none.c: Likewise.
54742 * sunrpc/auth_unix.c: Likewise.
54743 * sunrpc/authdes_prot.c: Likewise.
54744 * sunrpc/authuxprot.c: Likewise.
54745 * sunrpc/clnt_gen.c: Likewise.
54746 * sunrpc/clnt_perr.c: Likewise.
54747 * sunrpc/clnt_raw.c: Likewise.
54748 * sunrpc/clnt_simp.c: Likewise.
54749 * sunrpc/clnt_tcp.c: Likewise.
54750 * sunrpc/clnt_udp.c: Likewise.
54751 * sunrpc/clnt_unix.c: Likewise.
54752 * sunrpc/des_crypt.c: Likewise.
54753 * sunrpc/des_soft.c: Likewise.
54754 * sunrpc/get_myaddr.c: Likewise.
54755 * sunrpc/key_call.c: Likewise.
54756 * sunrpc/key_prot.c: Likewise.
54757 * sunrpc/netname.c: Likewise.
54758 * sunrpc/pm_getmaps.c: Likewise.
54759 * sunrpc/pm_getport.c: Likewise.
54760 * sunrpc/pmap_clnt.c: Likewise.
54761 * sunrpc/pmap_prot.c: Likewise.
54762 * sunrpc/pmap_prot2.c: Likewise.
54763 * sunrpc/pmap_rmt.c: Likewise.
54764 * sunrpc/publickey.c: Likewise.
54765 * sunrpc/rpc_cmsg.c: Likewise.
54766 * sunrpc/rpc_common.c: Likewise.
54767 * sunrpc/rpc_dtable.c: Likewise.
54768 * sunrpc/rpc_prot.c: Likewise.
54769 * sunrpc/rpc_thread.c: Likewise.
54770 * sunrpc/rtime.c: Likewise.
54771 * sunrpc/svc.c: Likewise.
54772 * sunrpc/svc_auth.c: Likewise.
54773 * sunrpc/svc_authux.c: Likewise.
54774 * sunrpc/svc_raw.c: Likewise.
54775 * sunrpc/svc_run.c: Likewise.
54776 * sunrpc/svc_simple.c: Likewise.
54777 * sunrpc/svc_tcp.c: Likewise.
54778 * sunrpc/svc_udp.c: Likewise.
54779 * sunrpc/svc_unix.c: Likewise.
54780 * sunrpc/svcauth_des.c: Likewise.
54781 * sunrpc/xcrypt.c: Likewise.
54782 * sunrpc/xdr.c: Likewise.
54783 * sunrpc/xdr_array.c: Likewise.
54784 * sunrpc/xdr_float.c: Likewise.
54785 * sunrpc/xdr_intXX_t.c: Likewise.
54786 * sunrpc/xdr_mem.c: Likewise.
54787 * sunrpc/xdr_rec.c: Likewise.
54788 * sunrpc/xdr_ref.c: Likewise.
54789 * sunrpc/xdr_sizeof.c: Likewise.
54790 * sunrpc/xdr_stdio.c: Likewise.
54791
e6c61494
UD
547922011-04-10 Ulrich Drepper <drepper@gmail.com>
54793
54794 [BZ #12650]
54795 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54796 * sysdeps/ia64/dl-tls.h: Likewise.
54797 * sysdeps/powerpc/dl-tls.h: Likewise.
54798 * sysdeps/s390/dl-tls.h: Likewise.
54799 * sysdeps/sh/dl-tls.h: Likewise.
54800 * sysdeps/sparc/dl-tls.h: Likewise.
54801 * sysdeps/x86_64/dl-tls.h: Likewise.
54802 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54803
34fe483e
AS
548042011-03-14 Andreas Schwab <schwab@redhat.com>
54805
54806 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54807 rpath element also skip the following colon.
54808 (expand_dynamic_string_token): Add is_path parameter and pass
54809 down to DL_DST_REQUIRED and _dl_dst_substitute.
54810 (decompose_rpath): Call expand_dynamic_string_token with
54811 non-zero is_path. Ignore empty rpaths.
54812 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54813 with zero is_path.
54814
f12a32e6
AS
548152011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54816
54817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54818 Make cancelable.
54819
38a7d692
UD
548202011-04-09 Ulrich Drepper <drepper@gmail.com>
54821
54822 [BZ #12655]
54823 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54824 Patch by Filipe David Manana <fdmanana@apache.org>.
54825
e451d22b
AS
548262011-04-07 Andreas Schwab <schwab@redhat.com>
54827
54828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54829 Maintain aligned stack.
54830 (CHECK_RSP): Remove unused macro.
54831
dedc7c7b
UD
548322011-04-03 Ulrich Drepper <drepper@gmail.com>
54833
54834 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54835 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54836
94521213
UD
548372011-04-02 Ulrich Drepper <drepper@gmail.com>
54838
54839 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54840
8cb700c0 54841 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54842
0354e355
L
548432011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54844
54845 [BZ #12518]
54846 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54847 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54848 * sysdeps/x86_64/memmove.c: New file.
54849 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54850 (memcpy): Renamed to ...
54851 (__new_memcpy): This.
54852 (memcpy): Provide GLIBC_2_14 memcpy.
54853 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54854 (memcpy): Provide GLIBC_2_2_5 memcpy.
54855
8593482f
UD
548562011-04-01 Ulrich Drepper <drepper@gmail.com>
54857
54858 [BZ #12631]
54859 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54860
81a5726b
AS
548612011-03-30 Andreas Schwab <schwab@redhat.com>
54862
54863 * misc/syncfs.c: New file.
54864 * misc/Makefile (routines): Add syncfs.
54865 * posix/unistd.h: Declare syncfs.
54866 * sysdeps/unix/syscalls.list: Add syncfs.
54867
00e5419f
AS
548682011-04-01 Andreas Schwab <schwab@redhat.com>
54869
54870 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54871 open_by_handle_at.
54872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54873 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54877 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54878 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54879
748876bf
UD
548802011-04-01 Ulrich Drepper <drepper@gmail.com>
54881
658e451d
UD
54882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54884 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54889
748876bf
UD
54890 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54891 sync_file_range.c with -fexceptions.
54892 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54893 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54894 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54895 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54896 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54897 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54898 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54899 sync_file_range as cancellation point
54900 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54901 now a wrapper around __call_sync_file_range with cancellation handling.
54902 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54903 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54904 function name to __call_sync_file_range.
54905 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54906 Add call_sync_file_range.
748876bf 54907
6e63d5e1
AS
549082011-04-01 Andreas Schwab <schwab@redhat.com>
54909
54910 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54911 bits/timex.h.
6e63d5e1 54912
46998f74
UD
549132011-04-01 Ulrich Drepper <drepper@gmail.com>
54914
4c1423ed
UD
54915 * iconv/iconv.h: Fix typo in comment.
54916 * io/fcntl.h: Likewise.
54917 * libio/stdio.h: Likewise.
54918 * posix/spawn.h: Likewise.
54919 * posix/unistd.h: Likewise.
54920 * stdlib/stdlib.h: Likewise.
54921 * time/time.h: Likewise.
54922 * wcsmbs/wchar.h: Likewise.
54923
158648c0
UD
54924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54925 open_by_handle): Add.
54926 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54927 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54928 Augment a few comments.
54929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54933 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54934 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54935 open_by_handle.
54936
46998f74
UD
54937 * io/fcntl.h (AT_EMPTY_PATH): Define.
54938
83fe108b
UD
549392011-03-30 Ulrich Drepper <drepper@gmail.com>
54940
54941 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54942 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54943 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54944 to...
54945 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54946 * Versions.def: Add GLIBC_2.14.
54947 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54948 Export.
83fe108b 54949
bb242059
UD
549502011-03-22 Ulrich Drepper <drepper@gmail.com>
54951
54952 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54953 round counter.
54954 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54955
c97a1282
L
549562011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54957
54958 [BZ #12597]
54959 * string/test-strncmp.c (do_page_test): New function.
54960 (check2): Likewise.
54961 (test_main): Call check2.
54962 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54963
2a115601
UD
549642011-03-20 Ulrich Drepper <drepper@gmail.com>
54965
54966 [BZ #12587]
54967 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54968 Handle cache information in CPU leaf 4.
54969 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54970
8126d904
UD
549712011-03-18 Ulrich Drepper <drepper@gmail.com>
54972
042c49c6 54973 [BZ #12583]
8126d904
UD
54974 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54975 character representation.
54976 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54977
ccfe366e
RA
549782011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54979
54980 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54981 END(__isnan) to END(__isnanf) to match function entry point/label
54982 EALIGN(__isnanf,...).
54983
c6e13027
JJ
549842011-03-10 Jakub Jelinek <jakub@redhat.com>
54985
54986 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54987
33f85a3f
UD
549882011-03-10 Ulrich Drepper <drepper@gmail.com>
54989
028478fa
UD
54990 [BZ #12510]
54991 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54992 copy from the symbol referenced in the relocation to initialize the
54993 used variable.
54994 Patch by Piotr Bury <pbury@goahead.com>.
54995 * elf/Makefile: Add rules to build and tst-unique3.
54996 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54997 * elf/tst-unique3.cc: New file.
54998 * elf/tst-unique3.h: New file.
54999 * elf/tst-unique3lib.cc: New file.
55000 * elf/tst-unique3lib2.cc: New file.
55001
33f85a3f
UD
55002 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55003
03592fc7
MF
550042011-03-10 Mike Frysinger <vapier@gentoo.org>
55005
55006 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55007 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55008 to _start.
03592fc7 55009
6a5ee102
UD
550102011-03-06 Ulrich Drepper <drepper@gmail.com>
55011
55012 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55013 to-be-loaded object along a path to loader is ld.so.
55014
7e4ba49c
HJ
550152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55016 Ulrich Drepper <drepper@gmail.com>
55017
55018 * sysdeps/x86_64/memset.S: After aligning destination, code
55019 branches to different locations depending on the value of
55020 misalignment, when multiarch is enabled. Fix this.
55021
550222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55023
55024 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55025 Set _x86_64_preferred_memory_instruction for AMD processsors.
55026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55027 Set bit_Prefer_SSE_for_memop for AMD processors.
55028
13a804de
UD
550292011-03-04 Ulrich Drepper <drepper@gmail.com>
55030
55031 * libio/fmemopen.c (fmemopen): Optimize a bit.
55032
9d25c392
AS
550332011-03-03 Andreas Schwab <schwab@redhat.com>
55034
55035 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55036
a5543c6a
RM
550372011-03-03 Roland McGrath <roland@redhat.com>
55038
55039 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55040
012d35f7
DM
550412011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55042
7e4ba49c 55043 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55044 __bzero_ultra1 instead of __memset_ultra1.
55045
4bff6e01
AS
550462011-02-23 Andreas Schwab <schwab@redhat.com>
55047 Ulrich Drepper <drepper@gmail.com>
55048
55049 [BZ #12509]
55050 * include/link.h (struct link_map): Add l_orig_initfini.
55051 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55052 returning unsuccessfully.
55053 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55054 close of a file loaded at startup, restore the original l_initfini
55055 list.
55056 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55057 list, store the pointer.
55058 * elf/Makefile ($(objpfx)noload-mem): New rule.
55059 (noload-ENV): Define.
55060 (tests): Add $(objpfx)noload-mem.
55061 * elf/noload.c: Include <memcheck.h>.
55062 (main): Call mtrace. Close all opened handles.
55063
f2092faf
AS
550642011-02-17 Andreas Schwab <schwab@redhat.com>
55065
55066 [BZ #12454]
55067 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55068 dependencies are missing.
55069
6c8a2e88
ST
550702011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55071
f2092faf 55072 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55073 Hurd needs munmap.
55074 * sysdeps/mach/hurd/ifreq.h: New file.
55075
84a42118
PB
550762011-01-27 Petr Baudis <pasky@suse.cz>
55077 Ulrich Drepper <drepper@gmail.com>
55078
071f805e 55079 [BZ 12445]#
84a42118
PB
55080 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55081 to extend_alloca().
55082 * stdio-common/bug23.c: New file.
55083 * stdio-common/Makefile (tests): Add bug23.
55084
e23fe25b
AS
550852010-09-28 Andreas Schwab <schwab@redhat.com>
55086 Ulrich Drepper <drepper@gmail.com>
55087
55088 [BZ #12489]
55089 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55090 before performing relro protection. At old place add assertion
55091 to make sure nothing changed.
55092
d3f02e10
NS
550932011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55094 Glauber de Oliveira Costa <glommer@gmail.com>
55095
55096 * elf/elf.h: Add new ARM TLS relocs.
55097
d55fd7a5
RA
550982011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55099
55100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55101 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55102 cast from r3.
55103 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55104 'tests' variable.
55105 * sysdeps/wordsize-64/tst-writev.c: New file.
55106
2206397e
RA
551072011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55108
55109 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55110 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55111 insns in _dl_start to prevent a TOC reference before relocs are
55112 resolved.
55113
e9433893
UD
551142011-02-15 Ulrich Drepper <drepper@gmail.com>
55115
55116 [BZ #12469]
55117 * Makeconfig: Remove RANLIB definition.
55118 * Makerules: Don't use RANLIB.
55119 * aclocal.m4: Remove ranlib test.
55120 * configure.in: No need to check for ranlib.
55121 * elf/rtld-Rules: Don't use RANLIB.
55122
f75286c6
ST
551232011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55124
8e31c82d
ST
55125 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55126 protection macro.
55127 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55128 inclusion protection macro.
55129
f75286c6
ST
55130 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55131 SIGRTMIN and SIGRTMAX and print information in that case only when
55132 SIGRTMIN is defined.
55133
c1d0e639
JJ
551342011-02-11 Jakub Jelinek <jakub@redhat.com>
55135
55136 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55137 arginfo fn returning -1.
55138
55139 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55140 and thousands string is zero terminated.
55141
edf9294e
AS
551422011-02-03 Andreas Schwab <schwab@redhat.com>
55143
55144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55145 sysdeps/unix/sysv/linux/bits/socket.h.
55146
2b7e92df
ST
551472011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55148
edf9294e
AS
55149 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55150 (__CPU_COUNT): Remove old macros.
55151 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55152 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55153 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55154 (__sched_cpualloc, __sched_cpufree): Add declarations.
55155
a4c7ea7b
UD
551562011-02-05 Ulrich Drepper <drepper@gmail.com>
55157
55158 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55159 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55160 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55161 (readdhstai): Return value of addhstaiX call.
55162 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55163 (addgrbyX): Return value returned by cache_addgr.
55164 (readdgrbyname): Return value returned by addgrbyX.
55165 (readdgrbygid): Likewise.
55166 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55167 (addpwbyX): Return value returned by cache_addpw.
55168 (readdpwbyname): Return value returned by addhstbyX.
55169 (readdpwbyuid): Likewise.
55170 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55171 (addservbyX): Return value returned by cache_addserv.
55172 (readdservbyname): Return value returned by addservbyX:
55173 (readdservbyport): Likewise.
55174 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55175 (addhstbyX): Return value returned by cache_addhst.
55176 (readdhstbyname): Return value returned by addhstbyX.
55177 (readdhstbyaddr): Likewise.
55178 (readdhstbynamev6): Likewise.
55179 (readdhstbyaddrv6): Likewise.
55180 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55181 (readdinitgroups): Return value returned by addinitgroupsX.
55182 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55183 (prune_cache): Keep track of timeout value of re-added entries.
55184 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55185 * nscd/nscd.h: Adjust prototypes of readd* functions.
55186
a0bf67cc
RM
551872011-02-04 Roland McGrath <roland@redhat.com>
55188
55189 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55190 (nis_stats): Likewise.
55191 * nis/nis_modify.c (nis_modify): Likewise.
55192 * nis/nis_remove.c (nis_remove): Likewise.
55193 * nis/nis_add.c (nis_add): Likewise.
55194
55195 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55196
55197 * posix/fnmatch_loop.c: Add some consts.
55198
55199 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55200
435b95eb
L
552012011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55202
55203 [BZ #12460]
55204 * config.make.in (config-cflags-novzeroupper): Define.
55205 * configure.in: Substitute libc_cv_cc_novzeroupper.
55206 * elf/Makefile (AVX-CFLAGS): Define.
55207 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55208 (CFLAGS-tst-auditmod4a.c): Likewise.
55209 (CFLAGS-tst-auditmod4b.c): Likewise.
55210 (CFLAGS-tst-auditmod6b.c): Likewise.
55211 (CFLAGS-tst-auditmod6c.c): Likewise.
55212 (CFLAGS-tst-auditmod7b.c): Likewise.
55213 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55214
8517b15e
UD
552152011-02-02 Ulrich Drepper <drepper@gmail.com>
55216
55217 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55218 function to the callback.
55219 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55220
10a656fe
AS
552212011-02-02 Andreas Schwab <schwab@redhat.com>
55222
55223 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55224 of errno.
55225
968dad0a
UD
552262011-01-19 Ulrich Drepper <drepper@gmail.com>
55227
9f94d2ea 55228 [BZ #11724]
968dad0a
UD
55229 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55230 of constructors.
55231 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55232 of destructors.
55233 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55234
55235 [BZ #11724]
55236 * elf/Makefile: Add rules to build and run new test.
55237 * elf/tst-initorder.c: New file.
55238 * elf/tst-initorder.exp: New file.
55239 * elf/tst-initordera1.c: New file.
55240 * elf/tst-initordera2.c: New file.
55241 * elf/tst-initordera3.c: New file.
55242 * elf/tst-initordera4.c: New file.
55243 * elf/tst-initorderb1.c: New file.
55244 * elf/tst-initorderb2.c: New file.
55245 * elf/tst-order-a1.c: New file.
55246 * elf/tst-order-a2.c: New file.
55247 * elf/tst-order-a3.c: New file.
55248 * elf/tst-order-a4.c: New file.
55249 * elf/tst-order-b1.c: New file.
55250 * elf/tst-order-b2.c: New file.
55251 * elf/tst-order-main.c: New file.
55252 New test case by George Gensure <werkt0@gmail.com>.
55253
86e92359
UD
552542010-10-01 Andreas Schwab <schwab@redhat.com>
55255
55256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55257 decoding ACE if AI_CANONIDN.
55258
5d5732b0
UD
552592011-01-18 Ulrich Drepper <drepper@gmail.com>
55260
55261 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55262
a77e8cbc
UD
552632011-01-17 Ulrich Drepper <drepper@gmail.com>
55264
6392473f
UD
55265 * version.h (RELEASE): Bump for 2.13 release.
55266 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55267
620a0529
UD
55268 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55269
18ba70a5
UD
55270 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55271 MADV_NOHUGEPAGE.
32465c3e
UD
55272 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55273 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55274 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55275 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55276 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55277 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55278
c0dafcf1
UD
55279 * posix/getconf.c: Update copyright year.
55280 * catgets/gencat.c: Likewise.
55281 * csu/version.c: Likewise.
55282 * debug/catchsegv.sh: Likewise.
55283 * debug/xtrace.sh: Likewise.
55284 * elf/ldconfig.c: Likewise.
55285 * elf/ldd.bash.in: Likewise.
55286 * elf/sprof.c (print_version): Likewise.
55287 * iconv/iconv_prog.c: Likewise.
55288 * iconv/iconvconfig.c: Likewise.
55289 * locale/programs/locale.c: Likewise.
55290 * locale/programs/localedef.c: Likewise.
55291 * malloc/memusage.sh: Likewise.
55292 * malloc/mtrace.pl: Likewise.
55293 * nscd/nscd.c (print_version): Likewise.
55294 * nss/getent.c: Likewise.
55295
a77e8cbc
UD
55296 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55297 PF_CAIF, and PF_ALG.
55298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55299
77e8bddf
AS
553002011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55301
1f20b93a
AS
55302 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55303 (modules-names): Use them.
55304 (ifunc-test-modules, ifunc-pie-tests): Define.
55305 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55306 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55307 (test-extras): Likewise.
55308 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55309 $(compile-command.c).
55310 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55311 (all-built-dso): Define.
55312 (check-textrel.out, check-execstack.out): Depend on it.
55313
77e8bddf
AS
55314 * configure.in: Don't override --enable-multi-arch.
55315
bc425b33
UD
553162011-01-15 Ulrich Drepper <drepper@gmail.com>
55317
55318 [BZ #6812]
55319 * nscd/hstcache.c (tryagain): Define.
55320 (cache_addhst): Return tryagain not notfound for temporary errors.
55321 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55322 failed.
55323
794c3ad3
UD
553242011-01-14 Ulrich Drepper <drepper@gmail.com>
55325
70181fdd
UD
55326 [BZ #10563]
55327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55328 to make the syscall.
55329 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55330
794c3ad3
UD
55331 [BZ #12378]
55332 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55333 and fall back to matching as normal character if the string ends before
55334 the matching ']' is found. This is what POSIX requires.
55335 * posix/testfnm.c: Adjust test result.
55336 * posix/globtest.sh: Adjust test result. Add new test.
55337 * posix/tst-fnmatch.input: Likewise.
55338 * posix/tst-fnmatch2.c: Add new test.
55339
68dc9497
AS
553402010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55341
55342 * elf/Makefile (check-execstack): Revert last change. Depend on
55343 check-execstack.h.
55344 (check-execstack.h): New target.
55345 (generated): Add check-execstack.h.
55346 * elf/check-execstack.c: Include "check-execstack.h".
55347 (main): Revert last change.
55348 (handle_file): Return zero if GNU_STACK is absent and
55349 DEFAULT_STACK_PERMS doesn't include PF_X.
55350
451f001b
UD
553512011-01-13 Ulrich Drepper <drepper@gmail.com>
55352
cfa28e56
UD
55353 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55354 in child fails because the descriptor is already closed.
8cf8ce17
UD
55355 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55356 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55357 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55358
1086d70d
UD
55359 [BZ #12397]
55360 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55361 syscall.
55362
451f001b
UD
55363 [BZ #10484]
55364 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55365 temporary buffer used to handle multi lookups locally.
a85b5cb4 55366 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55367
08769175
UD
553682011-01-12 Ulrich Drepper <drepper@gmail.com>
55369
55370 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55371 loader is ld.so.
55372
5e49c52e
UD
553732011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55374
55375 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55376 alignment for SSE2.
55377
60522a5f
UD
553782011-01-12 Ulrich Drepper <drepper@gmail.com>
55379
55380 [BZ #12394]
55381 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55382 characters. When rounding increased number of integer digits recompute
55383 number of groups.
55384 * stdio-common/tst-grouping.c: New file.
55385 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55386
f257bbd7
UD
553872011-01-09 Ulrich Drepper <drepper@gmail.com>
55388
55389 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55390 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55391
55392 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55393 void.
55394 * bits/select.h: Likewise.
55395
fa9c15cb
UD
553962011-01-08 Ulrich Drepper <drepper@gmail.com>
55397
55398 * po/ja.po: Update from translation team.
55399
16c2895f
DM
554002011-01-04 David S. Miller <davem@sunset.davemloft.net>
55401
55402 [BZ #11155]
55403 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55404 implementation just like for lxstat, fxstatat, et al.
55405
2543fef2
JM
554062010-12-27 Jim Meyering <meyering@redhat.com>
55407
55408 [BZ #12348]
55409 * posix/regexec.c (build_trtable): Return failure indication upon
55410 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55411
98727dbe
UD
554122010-12-25 Ulrich Drepper <drepper@gmail.com>
55413
5bd6dc5c
UD
55414 [BZ #12201]
55415 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55416 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55417 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55418 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55419
97983464
UD
55420 [BZ #12207]
55421 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55422
98727dbe
UD
55423 [BZ #12204]
55424 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55425 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55426
4a531bb0
L
554272010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55428
55429 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55430 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55431 script has SORT_BY_INIT_PRIORITY.
55432 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55433 NO_CTORS_DTORS_SECTIONS is defined.
55434 * elf/soinit.c: Likewise.
55435 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55436 NO_CTORS_DTORS_SECTIONS is defined.
55437 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55438 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55439 * sysdeps/sh/init-first.c: Likewise.
55440 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55441
07eb4b71
UD
554422010-12-24 Ulrich Drepper <drepper@gmail.com>
55443
55444 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55445 always use the slow path.
55446
30950a5f
RA
554472010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55448
55449 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55450 similar rule which adds the sysdep directories to the header search in
55451 order to pick up the correct platform stackinfo.h.
55452 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55453 perform test if it is, otherwise return successfully without testing.
55454 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55455 DEFAULT_STACK_PERMS define in stackinfo.h.
55456 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55457 defined in stackinfo.h.
55458 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55459 DEFAULT_STACK_PERMS defined in stackinfo.h.
55460 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55461 * sysdeps/ia64/stackinfo.h: Likewise.
55462 * sysdeps/s390/stackinfo.h: Likewise.
55463 * sysdeps/sh/stackinfo.h: Likewise.
55464 * sysdeps/sparc/stackinfo.h: Likewise.
55465 * sysdeps/x86_64/stackinfo.h: Likewise.
55466 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55467 PF_X for powerpc64. Retain PF_X for powerpc32.
55468
db753e2c
UD
554692010-12-19 Ulrich Drepper <drepper@gmail.com>
55470
14b697f7
UD
55471 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55472 accurately.
db753e2c
UD
55473 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55474 GETDENTS_64BIT_ALIGNED.
55475
28300719
UD
554762010-12-14 Ulrich Drepper <dreper@gmail.com>
55477
14b697f7 55478 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55479
4f197237
AS
554802010-12-10 Andreas Schwab <schwab@redhat.com>
55481
dbb0472f
AS
55482 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55483 _GNU_SOURCE.
55484
4f197237
AS
55485 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55486 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55487 Remove __restrict.
55488 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55489 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55490
fb88ac72
UD
554912010-12-09 Ulrich Drepper <drepper@gmail.com>
55492
55493 [BZ #11655]
55494 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55495 are initialized.
55496
42acbb92
JJ
554972010-12-09 Jakub Jelinek <jakub@redhat.com>
55498
55499 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55500
c038d98d
UD
555012010-12-03 Ulrich Drepper <drepper@gmail.com>
55502
55503 * po/it.po: Update from translation team.
55504
3a4a2499
L
555052010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55506
55507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55508 unused codes.
55509
1e24cf6e
UD
555102010-11-30 Ulrich Drepper <drepper@gmail.com>
55511
55512 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55513
a7690819
AS
555142010-11-24 Andreas Schwab <schwab@redhat.com>
55515
55516 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55517 specially.
55518 (gaih_getanswer_slice): Likewise.
55519
3bf8d1b1
JJ
555202010-10-20 Jakub Jelinek <jakub@redhat.com>
55521
55522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55523
6db52fbb
PB
555242010-05-31 Petr Baudis <pasky@suse.cz>
55525
55526 [BZ #11149]
55527 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55528 silently even in the chroot mode.
55529
eaca7569
UD
555302010-11-22 Ulrich Drepper <drepper@gmail.com>
55531
55532 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55533 last patch a bit. Pretty printing
55534
3056dcdb
UD
555352010-05-31 Petr Baudis <pasky@suse.cz>
55536
55537 [BZ #10085]
55538 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55539 initialization of skip_initgroups_dyn.
55540
cf7c9078
UD
555412010-11-19 Ulrich Drepper <drepper@gmail.com>
55542
55543 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55544 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55545
a1fb5e3e
UD
555462010-11-16 Ulrich Drepper <drepper@gmail.com>
55547
55548 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55549
3540d66b
AS
555502010-11-11 Andreas Schwab <schwab@redhat.com>
55551
55552 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55553 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55554 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55555 ($(objpfx)tst-fnmatch-mem): New rule.
55556 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55557 * posix/tst-fnmatch.c (main): Call mtrace.
55558
13b69574
L
555592010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55560
55561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55562 Support Intel processor model 6 and model 0x2c.
55563
da93d214
LM
555642010-11-10 Luis Machado <luisgpm@br.ibm.com>
55565
55566 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55567 signed comparison.
55568
8ca52c6e
L
555692010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55570
55571 [BZ #12205]
55572 * string/test-strncasecmp.c (check_result): New function.
55573 (do_one_test): Use it.
55574 (check1): New function.
55575 (test_main): Use it.
55576 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55577 Support strcasecmp and strncasecmp.
55578
69da074d
UD
555792010-11-08 Ulrich Drepper <drepper@gmail.com>
55580
55581 [BZ #12194]
55582 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55583 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55584
ff02d528
L
555852010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55586
55587 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55588 IFUNC support.
55589 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55590 memset-x86-64.
55591 * sysdeps/x86_64/multiarch/bzero.S: New file.
55592 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55593 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55594 * sysdeps/x86_64/multiarch/memset.S: New file.
55595 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55597 Set bit_Prefer_SSE_for_memop for Intel processors.
55598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55599 Define.
55600 (index_Prefer_SSE_for_memop): Define.
55601 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55602
344d0b54
LM
556032010-11-04 Luis Machado <luisgpm@br.ibm.com>
55604
55605 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55606 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55607
c0dde15b
UD
556082010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55609
55610 [BZ #12191]
55611 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55612 (__x86_64_raw_data_cache_size_half): Likewise.
55613 (__x86_64_raw_shared_cache_size): Likewise.
55614 (__x86_64_raw_shared_cache_size_half): Likewise.
55615
55616 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55617 (__x86_64_raw_data_cache_size_half): Likewise.
55618 (__x86_64_raw_shared_cache_size): Likewise.
55619 (__x86_64_raw_shared_cache_size_half): Likewise.
55620 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55621 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55622 and __x86_64_raw_shared_cache_size_half. Round
55623 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55624 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55625 to multiple of 256 bytes.
55626
0e516e0e
MS
556272010-11-03 Ulrich Drepper <drepper@gmail.com>
55628
55629 [BZ #12167]
55630 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55631 of inacessible symlinks. Verify result of symlink before returning it.
55632 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55633 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55634
0e012e87
ER
556352010-10-28 Erich Ritz <erichritz@gmail.com>
55636
55637 * math/math.h (isinf): Fix typo in comment.
55638
de0ff7bc
UD
556392010-11-01 Ulrich Drepper <drepper@gmail.com>
55640
55641 * po/da.po: Update from translation team.
55642
fa41c84d
UD
556432010-10-26 Ulrich Drepper <drepper@gmail.com>
55644
55645 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55646 is added to the list.
55647
f0967738
AK
556482010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55649 Ulrich Drepper <drepper@gmail.com>
55650
55651 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55652 the global list here. Move code to...
55653 (_dl_add_to_namespace_list): ...here. New function.
55654 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55655 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55656 * elf/dl-load.c (lose): Don't remove the element from the list.
55657 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55658 (_dl_map_object): Likewise.
55659
556602010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55661
55662 [BZ #12159]
55663 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55664 into all bytes of SSE register.
55665 Patch by Richard Li <richardpku@gmail.com>.
55666
f0967738 556672010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55668
55669 [BZ #12140]
55670 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55671 perturbing.
55672
d0b9e94f
MB
556732010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55674
55675 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55676 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55677 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55678 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55680 submachine.
55681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55682
8e9f92e9
AS
556832010-10-22 Andreas Schwab <schwab@redhat.com>
55684
55685 * include/dlfcn.h (__RTLD_SECURE): Define.
55686 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55687 mode & __RTLD_SECURE instead.
55688 (open_path): Rename preloaded parameter to secure.
55689 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55690 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55691 * elf/dl-deps.c (openaux): Likewise.
55692 * elf/rtld.c (struct map_args): Remove is_preloaded.
55693 (map_doit): Don't use it.
55694 (dl_main): Likewise.
55695 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55696 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55697
bc96fbda
AS
556982010-09-09 Andreas Schwab <schwab@redhat.com>
55699
55700 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55701 (sysd-rules-targets): Remove duplicates.
55702 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55703 rtld-%.$o dependency.
55704
22cd1c9b
AS
557052010-10-18 Andreas Schwab <schwab@redhat.com>
55706
55707 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55708 _dl_map_object do it.
55709
18edac48
UD
557102010-10-19 Ulrich Drepper <drepper@gmail.com>
55711
55712 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55713 fast fma builtins, define the macros in the C99 standard.
55714 (FP_FAST_FMAF): Likewise.
55715 (FP_FAST_FMAL): Likewise.
55716 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55717
55718 * bits/mathdef.h: Update copyright year.
55719 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55720
d2050124
MM
557212010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55722
55723 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55724 builtins, define the macros in the C99 standard.
55725 (FP_FAST_FMAF): Likewise.
55726 (FP_FAST_FMAL): Likewise.
55727 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55728 multiply/add.
55729 (FP_FAST_FMAF): Likewise.
55730
475facd1
JJ
557312010-10-15 Jakub Jelinek <jakub@redhat.com>
55732
55733 [BZ #3268]
55734 * math/libm-test.inc (fma_test): Some new testcases.
55735 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55737 y and infinite z. Do multiplication by C already in long double.
55738 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55740 y and infinite z. Do bitwise or of inexact bit into u.d.
55741 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55742 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55743 * sysdeps/i386/fpu/s_fma.S: Removed.
55744 * sysdeps/i386/fpu/s_fmal.S: Removed.
55745
7c08a05c
JJ
557462010-10-16 Jakub Jelinek <jakub@redhat.com>
55747
55748 [BZ #3268]
55749 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55751 computation is not scheduled after fetestexcept. Fix value
55752 of minimum denormal long double.
55753
f3f7372d
JJ
557542010-10-14 Jakub Jelinek <jakub@redhat.com>
55755
55756 [BZ #3268]
55757 * math/libm-test.inc (fma_test): Add some more tests.
55758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55759 correctly.
55760
14d43591
AS
557612010-10-15 Andreas Schwab <schwab@redhat.com>
55762
55763 * scripts/data/localplt-s390-linux-gnu.data: New file.
55764 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55765
5e908464
JJ
557662010-10-13 Jakub Jelinek <jakub@redhat.com>
55767
55768 [BZ #3268]
55769 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55770 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55771 instead of dbl-64.
55772 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55773 inlines.
55774 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55776 if one of x and y is very large and the other is subnormal.
55777 * sysdeps/s390/fpu/s_fmaf.c: New file.
55778 * sysdeps/s390/fpu/s_fma.c: New file.
55779 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55780 * sysdeps/powerpc/fpu/s_fma.S: New file.
55781 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55782 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55783 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55784
557852010-10-12 Jakub Jelinek <jakub@redhat.com>
55786
55787 [BZ #3268]
55788 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55789 fma tests.
55790 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55791 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55792 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55793 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55794 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55795 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55796 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55797
b833d51f
UD
557982010-10-12 Ulrich Drepper <drepper@redhat.com>
55799
55800 [BZ #12078]
55801 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55802 * posix/bug-regex31.input: Add test case.
55803
1751705d
UD
558042010-10-11 Ulrich Drepper <drepper@gmail.com>
55805
e9b9cbf5
UD
55806 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55807 * posix/bug-regex31.input: New file.
55808
55809 [BZ #12078]
55810 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55811 (parse_sub_exp): Fix last change, use postorder.
55812
ef06edbe
UD
55813 * posix/bug-regex31.c: New file.
55814 * posix/Makefile: Add rules to build and run bug-regex31.
55815
a129c80d
UD
55816 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55817
55818 [BZ #12078]
55819 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55820
b76b818e
UD
55821 [BZ #12108]
55822 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55823 to have entries in sys_siglist.
55824
1751705d
UD
55825 [BZ #12093]
55826 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55827 be NULL.
55828
9ff8d36f
JJ
558292010-10-07 Jakub Jelinek <jakub@redhat.com>
55830
55831 [BZ #3268]
55832 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55833 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55834 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55835 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55836 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55837 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55838 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55839 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55840 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55841 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55842 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55843 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55844 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55845 * math/ftestexcept.c (fetestexcept): Likewise.
55846 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55847 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55848 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55849 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55850 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55851 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55852 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55853
af325969
UD
558542010-10-11 Ulrich Drepper <drepper@gmail.com>
55855
c579b202 55856 [BZ #12107]
af325969
UD
55857 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55858 newline.
55859
67a67b95
UD
558602010-10-06 Ulrich Drepper <drepper@gmail.com>
55861
55862 * string/bug-strstr1.c: New file.
55863 * string/Makefile: Add rules to build and run bug-strstr1.
55864
5fb308bc
EB
558652010-10-05 Eric Blake <eblake@redhat.com>
55866
55867 [BZ #12092]
55868 * string/str-two-way.h (two_way_long_needle): Always clear memory
55869 when skipping input due to the shift table.
55870
45db99c7
UD
558712010-10-03 Ulrich Drepper <drepper@gmail.com>
55872
3b111893
UD
55873 [BZ #12005]
55874 * malloc/mcheck.c: Handle large requests.
55875
45db99c7
UD
55876 [BZ #12077]
55877 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55878 for strncmp and strncasecmp.
55879 * string/stratcliff.c: Add tests for strcmp and strncmp.
55880 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55881
cf7a1eb8
NI
558822010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55883
55884 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55885 __set_fpscr.
55886
6484ba5e
AJ
558872010-09-30 Andreas Jaeger <aj@suse.de>
55888
55889 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55890 (CGROUP_SUPER_MAGIC): Define.
55891 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55892 Handle btrfs and cgroup file systems.
55893 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55894 Likewise.
55895
91c42559
LM
558962010-09-27 Luis Machado <luisgpm@br.ibm.com>
55897
55898 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55899 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55900
87a97932
AK
559012010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55902
55903 [BZ #12067]
55904 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55905 trying to locate the ELF header.
55906
c21cc9bc
AS
559072010-09-27 Andreas Schwab <schwab@redhat.com>
55908
55909 [BZ #11611]
55910 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55911 Mask out sign-bit copies when constructing f_fsid.
55912
315970f6
PB
559132010-09-24 Petr Baudis <pasky@suse.cz>
55914
55915 * debug/stack_chk_fail_local.c: Add missing licence exception.
55916 * debug/warning-nop.c: Likewise.
55917
1ac7a2c7
JM
559182010-09-15 Joseph Myers <joseph@codesourcery.com>
55919
55920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55921 implementing getdents64 using getdents syscall, set d_type if
55922 __ASSUME_GETDENTS32_D_TYPE.
55923
56801c50
AS
559242010-09-16 Andreas Schwab <schwab@redhat.com>
55925
55926 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55927 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55928
dda51327
UD
559292010-09-21 Ulrich Drepper <drepper@redhat.com>
55930
55931 [BZ #12037]
55932 * posix/unistd.h: Undo change of feature selection for ftruncate from
55933 2010-01-11.
55934
8ffcee4a
UD
559352010-09-20 Ulrich Drepper <drepper@redhat.com>
55936
a545ecd9 55937 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55938 detection.
55939
e24f0a8b
AS
559402010-09-20 Andreas Schwab <schwab@redhat.com>
55941
55942 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55943 fanotify_mark.
55944 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55945
7291c56f
AS
559462010-09-14 Andreas Schwab <schwab@redhat.com>
55947
55948 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55949 variables after CHECK_SP call.
55950 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55951
bc5fb037
AS
559522010-09-13 Andreas Schwab <schwab@redhat.com>
55953 Ulrich Drepper <drepper@redhat.com>
55954
55955 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55956 re-relocationg ld.so.
55957 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55958 _dl_init_paths call.
55959 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55960 here anymore.
55961
e66e7419
UD
559622010-09-14 Ulrich Drepper <drepper@redhat.com>
55963
55964 * resolv/res_init.c (__res_vinit): Count the default server we added.
55965
c044aa75
CLT
559662010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55967 Ulrich Drepper <drepper@redhat.com>
55968
55969 [BZ #11968]
55970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55971 (____longjmp_chk): Use %ebx for saving value across system call.
55972 Add unwind info.
55973
32cf4069
AS
559742010-09-06 Andreas Schwab <schwab@redhat.com>
55975
55976 * manual/Makefile: Don't mix pattern rules with normal rules.
55977
817328ee
AS
559782010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55979
55980 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55981 operation.
55982 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55983 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55984 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55985 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55987 Likewise.
55988
29fddf61
UD
559892010-09-04 Ulrich Drepper <drepper@redhat.com>
55990
55991 [BZ #11979]
55992 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55993 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55994
0959ffc9
UD
559952010-09-02 Ulrich Drepper <drepper@redhat.com>
55996
55997 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55998 * sysdeps/x86_64/addmul_1.S: Likewise.
55999 * sysdeps/x86_64/lshift.S: Likewise.
56000 * sysdeps/x86_64/mul_1.S: Likewise.
56001 * sysdeps/x86_64/rshift.S: Likewise.
56002 * sysdeps/x86_64/sub_n.S: Likewise.
56003 * sysdeps/x86_64/submul_1.S: Likewise.
56004
ece29840
ST
560052010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56006
0959ffc9
UD
56007 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56008 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56009 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56010 * bits/sched.h [__need_schedparam]
ece29840 56011 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56012 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56013 (__defined_schedparam): Define to 1.
ece29840
ST
56014 (__sched_param): New structure, identical to sched_param.
56015 (__need_schedparam): Undefine.
56016
e53a31fe
MF
560172010-08-31 Mike Frysinger <vapier@gentoo.org>
56018
fdc0c10d
MF
56019 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56020 (epoll_create1): Declare.
56021
e53a31fe
MF
56022 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56023
a726d796
AS
560242010-08-31 Andreas Schwab <schwab@redhat.com>
56025
56026 [BZ #7066]
56027 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56028 shifting retval into place.
56029
2f3e3dc7
UD
560302010-09-01 Ulrich Drepper <drepper@redhat.com>
56031
f2933da9
UD
56032 * nis/rpcsvc/nis.h: Update copyright notice.
56033 * nis/rpcsvc/nis.x: Likewise.
56034 * nis/rpcsvc/nis_callback.h: Likewise.
56035 * nis/rpcsvc/nis_callback.x: Likewise.
56036 * nis/rpcsvc/nis_object.x: Likewise.
56037 * nis/rpcsvc/nis_tags.h: Likewise.
56038 * nis/rpcsvc/yp.h: Likewise.
56039 * nis/rpcsvc/yp.x: Likewise.
56040 * nis/rpcsvc/ypupd.h: Likewise.
56041 * nis/yp_xdr.c: Likewise.
56042 * nis/ypupdate_xdr.c: Likewise.
56043
2f3e3dc7
UD
56044 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56045 mainly the body of pmap_getport. Add parameters to specify timeouts.
56046 (pmap_getport): Use __libc_rpc_getport.
56047 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56048 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56049 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56050
f3dcc2f9
AS
560512010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56052
56053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56054 fanotify_mark.
56055
6d34eb5b
RM
560562010-08-27 Roland McGrath <roland@redhat.com>
56057
56058 * sysdeps/i386/i686/multiarch/Makefile
56059 (CFLAGS-varshift.c): New variable.
56060
9ea3de11
UD
560612010-08-27 Ulrich Drepper <drepper@redhat.com>
56062
c96d23fc
UD
56063 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56064 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56065
9ea3de11
UD
56066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56067
56068 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56069
623aac7f
L
560702010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56071
56072 * sysdeps/x86_64/strlen.S: Unroll the loop.
56073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56074 strlen-sse2 strlen-sse2-bsf.
56075 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56076 __strlen_no_bsf if bit_Slow_BSF is set.
56077 (__strlen_sse42): Removed.
56078 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56079 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56080
8b2b7715
RM
560812010-08-25 Roland McGrath <roland@redhat.com>
56082
56083 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56084 * sysdeps/x86_64/multiarch/varshift.c: New file.
56085 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56086 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56087 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56088 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56089
e73015f2
L
560902010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56091
56092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56093 strlen-sse2 strlen-sse2-bsf.
56094 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56095 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56096 (__strlen_sse2): Removed.
56097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56100 bit_Slow_BSF for Atom.
56101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56102 (index_Slow_BSF): Define.
56103 (HAS_SLOW_BSF): Define.
56104
df24a73e
UD
561052010-08-25 Ulrich Drepper <drepper@redhat.com>
56106
56107 [BZ #10851]
56108 * resolv/res_init.c (__res_vinit): When no server address at all
56109 is given default to loopback.
56110
f2ac4868
RM
561112010-08-24 Roland McGrath <roland@redhat.com>
56112
09055553
RM
56113 * configure.in: Remove config-name.h generation.
56114 * configure: Regenerated.
56115 * config-name.in: File removed.
56116 * scripts/config-uname.sh: New file.
56117 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56118 ($(objdir)config-name.h): New target.
56119
f2ac4868
RM
56120 * sunrpc/rpc_parse.h: Avoid nested comment.
56121
73f27d5e
RH
561222010-08-24 Richard Henderson <rth@redhat.com>
56123 Ulrich Drepper <drepper@redhat.com>
56124 H.J. Lu <hongjiu.lu@intel.com>
56125
56126 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56128 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56129 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56130 _mm_alignr_epi8 with _mm_loadu_si128.
56131 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56132 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56133 (__m128i_shift_right): Removed.
56134 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56135 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56136 * sysdeps/x86_64/multiarch/varshift.h: New file.
56137 * sysdeps/x86_64/multiarch/varshift.S: New file.
56138
84b9230c
MF
561392010-08-21 Mike Frysinger <vapier@gentoo.org>
56140
56141 * configure.in: Move assembler checks to before sysdep dir checking.
56142
9bbd0ddc
PB
561432010-08-20 Petr Baudis <pasky@suse.cz>
56144
56145 * LICENSES: Sync the sunrpc license.
56146
9da4bb31
UD
561472010-08-19 Ulrich Drepper <drepper@redhat.com>
56148
a7ab6ec8
UD
56149 * sunrpc/auth_des.c: Update copyright notice once again.
56150 * sunrpc/auth_none.c: Likewise.
56151 * sunrpc/auth_unix.c: Likewise.
56152 * sunrpc/authdes_prot.c: Likewise.
56153 * sunrpc/authuxprot.c: Likewise.
56154 * sunrpc/bindrsvprt.c: Likewise.
56155 * sunrpc/clnt_gen.c: Likewise.
56156 * sunrpc/clnt_perr.c: Likewise.
56157 * sunrpc/clnt_raw.c: Likewise.
56158 * sunrpc/clnt_simp.c: Likewise.
56159 * sunrpc/clnt_tcp.c: Likewise.
56160 * sunrpc/clnt_udp.c: Likewise.
56161 * sunrpc/clnt_unix.c: Likewise.
56162 * sunrpc/des_crypt.c: Likewise.
56163 * sunrpc/des_soft.c: Likewise.
56164 * sunrpc/get_myaddr.c: Likewise.
56165 * sunrpc/getrpcport.c: Likewise.
56166 * sunrpc/key_call.c: Likewise.
56167 * sunrpc/key_prot.c: Likewise.
56168 * sunrpc/openchild.c: Likewise.
56169 * sunrpc/pm_getmaps.c: Likewise.
56170 * sunrpc/pm_getport.c: Likewise.
56171 * sunrpc/pmap_clnt.c: Likewise.
56172 * sunrpc/pmap_prot.c: Likewise.
56173 * sunrpc/pmap_prot2.c: Likewise.
56174 * sunrpc/pmap_rmt.c: Likewise.
56175 * sunrpc/rpc/auth.h: Likewise.
56176 * sunrpc/rpc/auth_unix.h: Likewise.
56177 * sunrpc/rpc/clnt.h: Likewise.
56178 * sunrpc/rpc/des_crypt.h: Likewise.
56179 * sunrpc/rpc/key_prot.h: Likewise.
56180 * sunrpc/rpc/netdb.h: Likewise.
56181 * sunrpc/rpc/pmap_clnt.h: Likewise.
56182 * sunrpc/rpc/pmap_prot.h: Likewise.
56183 * sunrpc/rpc/pmap_rmt.h: Likewise.
56184 * sunrpc/rpc/rpc.h: Likewise.
56185 * sunrpc/rpc/rpc_des.h: Likewise.
56186 * sunrpc/rpc/rpc_msg.h: Likewise.
56187 * sunrpc/rpc/svc.h: Likewise.
56188 * sunrpc/rpc/svc_auth.h: Likewise.
56189 * sunrpc/rpc/types.h: Likewise.
56190 * sunrpc/rpc/xdr.h: Likewise.
56191 * sunrpc/rpc_clntout.c: Likewise.
56192 * sunrpc/rpc_cmsg.c: Likewise.
56193 * sunrpc/rpc_common.c: Likewise.
56194 * sunrpc/rpc_cout.c: Likewise.
56195 * sunrpc/rpc_dtable.c: Likewise.
56196 * sunrpc/rpc_hout.c: Likewise.
56197 * sunrpc/rpc_main.c: Likewise.
56198 * sunrpc/rpc_parse.c: Likewise.
56199 * sunrpc/rpc_parse.h: Likewise.
56200 * sunrpc/rpc_prot.c: Likewise.
56201 * sunrpc/rpc_sample.c: Likewise.
56202 * sunrpc/rpc_scan.c: Likewise.
56203 * sunrpc/rpc_scan.h: Likewise.
56204 * sunrpc/rpc_svcout.c: Likewise.
56205 * sunrpc/rpc_tblout.c: Likewise.
56206 * sunrpc/rpc_util.c: Likewise.
56207 * sunrpc/rpc_util.h: Likewise.
56208 * sunrpc/rpcinfo.c: Likewise.
56209 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56210 * sunrpc/rpcsvc/key_prot.x: Likewise.
56211 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56212 * sunrpc/rpcsvc/mount.x: Likewise.
56213 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56214 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56215 * sunrpc/rpcsvc/rex.x: Likewise.
56216 * sunrpc/rpcsvc/rstat.x: Likewise.
56217 * sunrpc/rpcsvc/rusers.x: Likewise.
56218 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56219 * sunrpc/rpcsvc/spray.x: Likewise.
56220 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56221 * sunrpc/rtime.c: Likewise.
56222 * sunrpc/svc.c: Likewise.
56223 * sunrpc/svc_auth.c: Likewise.
56224 * sunrpc/svc_authux.c: Likewise.
56225 * sunrpc/svc_raw.c: Likewise.
56226 * sunrpc/svc_run.c: Likewise.
56227 * sunrpc/svc_simple.c: Likewise.
56228 * sunrpc/svc_tcp.c: Likewise.
56229 * sunrpc/svc_udp.c: Likewise.
56230 * sunrpc/svc_unix.c: Likewise.
56231 * sunrpc/svcauth_des.c: Likewise.
56232 * sunrpc/xcrypt.c: Likewise.
56233 * sunrpc/xdr.c: Likewise.
56234 * sunrpc/xdr_array.c: Likewise.
56235 * sunrpc/xdr_float.c: Likewise.
56236 * sunrpc/xdr_mem.c: Likewise.
56237 * sunrpc/xdr_rec.c: Likewise.
56238 * sunrpc/xdr_ref.c: Likewise.
56239 * sunrpc/xdr_sizeof.c: Likewise.
56240 * sunrpc/xdr_stdio.c: Likewise.
56241
9da4bb31
UD
56242 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56243 handling.
56244
bdaa77bc
AS
562452010-08-19 Andreas Schwab <schwab@redhat.com>
56246
56247 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56248
fe2f79db
LM
562492010-08-19 Luis Machado <luisgpm@br.ibm.com>
56250
56251 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56253 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56254 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56255 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56256 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56257 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56258 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56260 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56261 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56262 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56263 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56264 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56265
b9b42ee0
AB
562662010-07-26 Anton Blanchard <anton@samba.org>
56267
56268 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56269 * malloc/arena.c (heap_trim): Likewise.
56270
1c06ba31
UD
562712010-08-16 Ulrich Drepper <drepper@redhat.com>
56272
56273 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56274 here. Not...
56275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56276 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56277
f8392f40
L
562782010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56279
56280 * sysdeps/i386/elf/Makefile: New file.
56281
3162f12e
AS
562822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56283
56284 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56285 from fanotify_init.
56286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56288
28c90b2c
UD
562892010-08-15 Ulrich Drepper <drepper@redhat.com>
56290
56291 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56292 of strncasecmp_l.
1feccb6c 56293 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56294
ca6bb004
UD
562952010-08-14 Ulrich Drepper <drepper@redhat.com>
56296
e9f82e0d
UD
56297 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56298 strncase_l-nonascii.
56299 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56300 Add strncase_l-ssse3.
56301 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56302 * sysdeps/x86_64/strcmp.S: Likewise.
56303 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56304 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56305 * sysdeps/x86_64/strncase.S: New file.
56306 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56307 * sysdeps/x86_64/strncase_l.S: New file.
56308 * string/Makefile (strop-tests): Add strncasecmp.
56309 * string/test-strncasecmp.c: New file.
56310
56311 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56312 warning.
56313
ca6bb004
UD
56314 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56315 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56316
052fa7b3
AS
563172010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56318
56319 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56320
962dba78
UD
563212010-08-12 Ulrich Drepper <drepper@redhat.com>
56322
56323 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56324 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56325 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56326
bebff237
AM
563272010-05-01 Alan Modra <amodra@gmail.com>
56328
56329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56330 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56331 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56332 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56333 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56334 tidying. Don't tail-call __sigjmp_save for static lib.
56335 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56336 save location.
56337 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56338 (CALL_MCOUNT): Add eh info, and nop after bl.
56339 (TAIL_CALL_SYSCALL_ERROR): New macro.
56340 (PSEUDO_RET): Use it.
56341 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56342 Correct save location of integer regs and cr.
56343 (_dl_profile_resolve): Correct cr save location. Delete nops
56344 after bl when SHARED. Reduce cfi size a little by better
56345 placement of cfi directives.
56346 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56347 make a stack frame. Instead use parm save area as a temp.
56348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56349 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56351 Don't make a stack frame for parent, use parm save area.
56352 Increase child stack frame to 112 bytes. Don't save unused reg,
56353 and adjust reg usage. Set up cfi on error recovery and
56354 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56356 (__makecontext): Add dummy nop after jump to exit.
56357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56358 Use correct parm save area and cr save, reduce stack frame.
56359 Correct cfi for possible PSEUDO_RET frame setup.
56360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56361 Branch to local label emitted by PSEUDO_RET rather than
56362 __syscall_error.
56363
02637374
AS
563642010-08-12 Andreas Schwab <schwab@redhat.com>
56365
56366 [BZ #11904]
56367 * locale/programs/locale.c (print_assignment): New function.
56368 (show_locale_vars): Use it.
56369
c3e2f19b
UD
563702010-08-11 Ulrich Drepper <drepper@redhat.com>
56371
3cdaa6ad
UD
56372 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56373 field.
56374 (struct statfs64): Likewise.
56375 (_STATFS_F_FLAGS): Define.
56376 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56378 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56379 (ST_VALID): Define locally.
56380 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56381 __statvfs_getflags, use the provided value.
56382 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56383 __ASSUME_STATFS_F_FLAGS.
56384
754f7da3
UD
56385 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56386
10b3bedc
UD
56387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56388 Add sys/fanotify.h.
56389 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56390 fanotify_mask for GLIBC_2.13.
56391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56392 fanotify_init and fanotify_mark.
56393 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56394 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56395
c08fb0d7
UD
56396 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56397 Add prlimit.
56398 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56399 prlimit64 for GLIBC_2.13.
56400 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56401 prlimit64.
56402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56403 syscall.
56404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56405 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56406 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56407 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56409 add prlimit alias.
56410 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56411
15bac72b
UD
56412 [BZ #11903]
56413 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56414 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56415
c3e2f19b
UD
56416 * nss/Makefile: Add rules to build and run tst-nss-test1.
56417 * shlib-versions: Add entry for libnss_test1.
56418 * nss/nss_test1.c: New file.
56419 * nss/tst-nss-test1.c: New file.
56420
56421 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56422 (__nss_configure_lookup): Set appropriate entry in
56423 __nss_configure_lookup to true.
56424 * nss/nsswitch.h: Define enum with indeces of databases in
56425 databases and __nss_database_custom arrays. Declare
56426 __nss_database_custom.
56427 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56428 to avoid using nscd when custom rules are installed.
56429 * nss/getXXbyYY_r.c: Likewise.
56430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56431
56432 * nss/nss_files/files-parse.c: Whitespace fixes.
56433
f15ce4d8
UD
564342010-08-09 Ulrich Drepper <drepper@redhat.com>
56435
56436 [BZ #11883]
56437 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56438 * posix/fnmatch_loop.c: Likewise.
56439
d22e4cc9
AK
564402010-07-17 Andi Kleen <ak@linux.intel.com>
56441
56442 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56443 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56444 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56445 * Versions.def [GLIBC_2.13]: Add.
56446
805bc17d
UD
564472010-08-06 Ulrich Drepper <drepper@redhat.com>
56448
56449 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56450 Also fail if tpwd after pwuid call is NULL.
56451
5a42321d
ST
564522010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56453
56454 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56455 when converting to ms.
56456
fd3ebeda
ST
564572010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56458
56459 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56460 EOPNOTSUPP errors with ENOTTY.
56461 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56462 EOPNOTSUPP errors with ENOTTY.
56463
73507d3a
UD
564642010-07-31 Ulrich Drepper <drepper@redhat.com>
56465
56466 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56467 Add strcasecmp_l-ssse3.
56468 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56469 strcasecmp.
56470 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56471 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56472 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56473
fe36dd02
UD
564742010-07-30 Ulrich Drepper <drepper@redhat.com>
56475
66f6765a
UD
56476 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56477
42e08a54
UD
56478 * string/Makefile (strop-tests): Add strcasecmp.
56479 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56480 strcasecmp_l-nonascii.
56481 (gen-as-const-headers): Add locale-defines.sym.
56482 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56483 * sysdeps/x86_64/strcasecmp.S: New file.
56484 * sysdeps/x86_64/strcasecmp_l.S: New file.
56485 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56486 * sysdeps/x86_64/locale-defines.sym: New file.
56487 * string/test-strcasecmp.c: New file.
56488
fe36dd02
UD
56489 * string/test-strcasestr.c: Test both ends of the range of characters.
56490 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56491
48cbc0d6
RM
564922010-07-29 Roland McGrath <roland@redhat.com>
56493
76e6d6bc 56494 [BZ #11856]
48cbc0d6
RM
56495 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56496
880113d9
UD
564972010-07-27 Ulrich Drepper <drepper@redhat.com>
56498
56499 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56500 for ld.so.
56501
deb9cabb
AS
565022010-07-27 Andreas Schwab <schwab@redhat.com>
56503
56504 * manual/memory.texi (Malloc Tunable Parameters): Document
56505 M_PERTURB.
56506
1c7570ff
RM
565072010-07-26 Roland McGrath <roland@redhat.com>
56508
56509 [BZ #11840]
56510 * configure.in (-fgnu89-inline check): Set and substitute
56511 gnu89_inline, not libc_cv_gnu89_inline.
56512 * configure: Regenerated.
56513 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56514
24fb0f88
UD
565152010-07-26 Ulrich Drepper <drepper@redhat.com>
56516
56517 * string/test-strnlen.c: New file.
56518 * string/Makefile (strop-tests): Add strnlen.
56519 * string/tester.c (test_strnlen): Add a few more test cases.
56520 * string/tst-strlen.c: Better error reporting.
56521
56522 * sysdeps/x86_64/strnlen.S: New file.
56523
8e96b93a
UD
565242010-07-24 Ulrich Drepper <drepper@redhat.com>
56525
56526 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56527 lower-latency instructions.
56528
dbc676d4
UD
565292010-07-23 Ulrich Drepper <drepper@redhat.com>
56530
56531 * string/test-strcasestr.c: New file.
56532 * string/test-strstr.c: New file.
56533 * string/Makefile (strop-tests): Add strstr and strcasestr.
56534 * string/str-two-way.h: Don't undefine MAX.
56535 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56536
f6a31e0e
AS
565372010-07-21 Andreas Schwab <schwab@redhat.com>
56538
56539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56540 strcasestr-nonascii.
56541 (CFLAGS-strcasestr-nonascii.c): Define.
56542 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56543 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56544 Remove unused attribute.
56545
5dbc3b6c
RM
565462010-07-20 Roland McGrath <roland@redhat.com>
56547
56548 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56549 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56550 ld.so.cache was broken. With it, there is no way to disable dsocaps
56551 like LD_HWCAP_MASK can disable hwcaps.
56552
23d101d8
EPM
565532010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56554
56555 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56556
cc9f2e47
UD
565572010-07-16 Ulrich Drepper <drepper@redhat.com>
56558
56559 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56560 call in strcasestr.
56561 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56562 __strcasestr_sse42_nonascii.
56563 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56564 strcasestr-nonascii.c.
56565 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56566
77c1b069
LM
565672010-06-15 Luis Machado <luisgpm@br.ibm.com>
56568
56569 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56570 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56571 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56573
440566c3
UD
565742010-07-09 Ulrich Drepper <drepper@redhat.com>
56575
56576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56577 fcntl.
56578
5be9d05d
AS
565792010-07-06 Andreas Schwab <schwab@redhat.com>
56580
c30b7ee2 56581 [BZ #11577]
5be9d05d
AS
56582 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56583 dl_signal_cerror.
56584
8a492a67
UD
565852010-07-06 Ulrich Drepper <drepper@redhat.com>
56586
56587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56588 _PC_PIPE_BUF using F_GETPIPE_SZ.
56589
713df3d5
RM
565902010-07-05 Roland McGrath <roland@redhat.com>
56591
56592 * manual/arith.texi (Rounding Functions): Fix rint description
56593 implicit in round description.
56594
702e8f14
UD
565952010-07-02 Ulrich Drepper <drepper@redhat.com>
56596
56597 * elf/Makefile: Fix linking for a few tests to make recent linker
56598 happy.
56599
52ed8be9
AS
566002010-06-30 Andreas Schwab <schwab@redhat.com>
56601
56602 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56603 $(common-objpfx)libc_nonshared.a.
56604
f47c9a11
LM
566052010-06-21 Luis Machado <luisgpm@br.ibm.com>
56606
56607 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56608 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56609 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56610 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56611 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56612 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56613 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56614 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56629 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56630 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56631 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56632 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56633 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56634 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56635 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56636 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56637 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56638 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56639 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56640 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56655
6fb8cbcb
L
566562010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56657
56658 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56659 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56660 * string/memmove.c (memmove): Renamed to ...
56661 (MEMMOVE): ...this. Default to memmove.
56662 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56663 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56664 (END_CHK): Define.
56665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56666 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56667 mempcpy-ssse3-back memmove-ssse3-back.
56668 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56671 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56672 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56673 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56674 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56675 * sysdeps/x86_64/multiarch/memmove.c: New file.
56676 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56677 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56678 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56679 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56680 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56682 Define.
56683 (index_Fast_Copy_Backward): Define.
56684 (HAS_ARCH_FEATURE): Define.
56685 (HAS_FAST_REP_STRING): Define.
56686 (HAS_FAST_COPY_BACKWARD): Define.
56687
4e733bac 566882010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56689
56690 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56691 Restore proper fallback handling.
56692
63c4ed22
UD
566932010-06-19 Ulrich Drepper <drepper@redhat.com>
56694
ac2b484c
UD
56695 [BZ #11701]
56696 * posix/group_member.c (__group_member): Correct checking loop.
56697
63c4ed22
UD
56698 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56699 OOM in getpwuid_r correctly. Return error number when the caller
56700 should return, otherwise -1.
56701 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56702 call returning > 0 value.
56703 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56704
765ade4b
AS
567052010-06-07 Andreas Schwab <schwab@redhat.com>
56706
56707 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56708 libc_nonshared.a from targets in modules-names.
56709
80da2e09
KS
567102010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56711
56712 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56713 requires it.
56714
158db122
LM
567152010-06-10 Luis Machado <luisgpm@br.ibm.com>
56716
56717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56718 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56719 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56720 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56721
caa78cf8
AS
567222010-06-02 Andreas Schwab <schwab@redhat.com>
56723
56724 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56725
b2ef2c01
UD
567262010-06-14 Ulrich Drepper <drepper@redhat.com>
56727
56728 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56729 and F_GETPIPE_SZ.
56730 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56732 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56736
fbd643b6
RM
567372010-06-14 Roland McGrath <roland@redhat.com>
56738
56739 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56740
f32f2869
JJ
567412010-06-07 Jakub Jelinek <jakub@redhat.com>
56742
56743 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56744 __REDIRECT followed by __THROW.
56745 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56746 * posix/getopt.h (getopt): Likewise.
56747
2a50c078
EPM
567482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56749
56750 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56751 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56752 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56753 in AT_FLAGS.
56754 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56755 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56756
eb5ad2eb
LM
567572010-05-28 Luis Machado <luisgpm@br.ibm.com>
56758
56759 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56760
3c88fe1e
L
567612010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56762
56763 [BZ #11640]
56764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56765 Properly check family and model.
56766
d2f73151
TY
567672010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56768
56769 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56770
ebd2e13d
LM
567712010-05-24 Luis Machado <luisgpm@br.ibm.com>
56772
56773 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56774
b32b8b45
UD
567752010-05-21 Ulrich Drepper <drepper@redhat.com>
56776
56777 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56778 symbol reference.
56779
9acbe24d
AS
567802010-05-19 Andreas Schwab <schwab@redhat.com>
56781
56782 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56783 symbol reference.
56784
f0ccf6ea
AS
567852010-05-21 Andreas Schwab <schwab@redhat.com>
56786
3d04ff3a
AS
56787 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56788 and internal_recvmmsg.
56789 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56790 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56791 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56792 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56793
f0ccf6ea
AS
56794 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56795 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56796 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56797
5b08ac57
AS
567982010-05-20 Andreas Schwab <schwab@redhat.com>
56799
56800 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56801
4828935d
LM
568022010-05-17 Luis Machado <luisgpm@br.ibm.com>
56803
56804 POWER7 optimizations.
56805 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56806 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56807
373d545e
UD
568082010-05-19 Ulrich Drepper <drepper@redhat.com>
56809
56810 * version.h: Update for 2.13 development version.
56811
21a2b1ae
AS
568122010-05-12 Andrew Stubbs <ams@codesourcery.com>
56813
56814 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56815 exceptions. Return 0.
56816
3f7dcb2b
RM
568172010-05-07 Roland McGrath <roland@redhat.com>
56818
56819 * elf/ldconfig.c (main): Add a const.
56820
5f24d53a 568212010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56822
a160f8d8
UD
56823 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56824 (args_options): Add no-idn option.
56825 (ahosts_keys_int): Add idn_flags to ai_flags.
56826 (parse_option): Handle 'i' option to clear idn_flags.
56827
5f24d53a
UD
56828 * malloc/malloc.c (_int_free): Possible race in the most recently
56829 added check. Only act on the data if no current modification
56830 happened.
265bb1ce
UD
56831
56832See ChangeLog.17 for earlier changes.